Parent Log: http://ci.aztec-labs.com/62cb07227cb8778b Command: 3cad4e1fd0756a5c yarn-project/scripts/run_test.sh stdlib/src/database-version/version_manager.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/e9a2301883801edbe36ea8bba05dcca7e714f30a Env: REF_NAME=gh-readonly-queue/master/pr-15131-464e1a9d9b40b5188586643b44bc52bffccbc3e6 CURRENT_VERSION=0.87.8 CI_FULL=1 Date: Wed Jun 18 12:52:16 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15131_amd64_x1-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_5562d7b7c50cca17_master 12:52:17 [12:52:17.928] WARN: foundation:version-manager Failed to read stored version information: Error: Test: file not found. Defaulting to empty version 12:52:17 [12:52:17.937] WARN: foundation:version-manager Rollup address has changed, resetting data directory {"versionFile":"/tmp/aztec-version-test/db_version","storedVersion":{"schemaVersion":0,"rollupAddress":"0x0000000000000000000000000000000000000000"},"currentVersion":{"schemaVersion":42,"rollupAddress":"0x237a6a96ab90c3458983e6a744ff7776237817be"}} 12:52:17 [12:52:17.946] WARN: foundation:version-manager Failed to read stored version information: Error: Failed to deserialize version information: SyntaxError: Unexpected end of JSON input. Defaulting to empty version 12:52:17 [12:52:17.948] WARN: foundation:version-manager Rollup address has changed, resetting data directory {"versionFile":"/tmp/aztec-version-test/db_version","storedVersion":{"schemaVersion":0,"rollupAddress":"0x0000000000000000000000000000000000000000"},"currentVersion":{"schemaVersion":42,"rollupAddress":"0x4431133142f6b1e9c32e3bf0d0edaf44d5c8ae11"}} 12:52:17 [12:52:17.956] WARN: foundation:version-manager Failed to read stored version information: Error: Failed to deserialize version information: SyntaxError: Unexpected token 'd', "definitely"... is not valid JSON. Defaulting to empty version 12:52:17 [12:52:17.957] WARN: foundation:version-manager Rollup address has changed, resetting data directory {"versionFile":"/tmp/aztec-version-test/db_version","storedVersion":{"schemaVersion":0,"rollupAddress":"0x0000000000000000000000000000000000000000"},"currentVersion":{"schemaVersion":42,"rollupAddress":"0xc43407d95dea6bea742625c88bb34590b481b868"}} 12:52:17 [12:52:17.965] WARN: foundation:version-manager Failed to read stored version information: Error: Failed to deserialize version information: [ 12:52:17 { 12:52:17 "code": "invalid_type", 12:52:17 "expected": "number", 12:52:17 "received": "undefined", 12:52:17 "path": [ 12:52:17 "schemaVersion" 12:52:17 ], 12:52:17 "message": "Required" 12:52:17 }, 12:52:17 { 12:52:17 "code": "invalid_type", 12:52:17 "expected": "string", 12:52:17 "received": "undefined", 12:52:17 "path": [ 12:52:17 "rollupAddress" 12:52:17 ], 12:52:17 "message": "Required" 12:52:17 } 12:52:17 ]. Defaulting to empty version 12:52:17 [12:52:17.965] WARN: foundation:version-manager Rollup address has changed, resetting data directory {"versionFile":"/tmp/aztec-version-test/db_version","storedVersion":{"schemaVersion":0,"rollupAddress":"0x0000000000000000000000000000000000000000"},"currentVersion":{"schemaVersion":42,"rollupAddress":"0xb0bdd2a94f6d7ed9482d2759f72023e78b0aa423"}} 12:52:17 [12:52:17.981] INFO: foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=41,rollupAddress=0xdc2f138483cdcf24b7c79b9c7e6aa25f2a47b392"} to DatabaseVersion{schemaVersion=42,rollupAddress=0xdc2f138483cdcf24b7c79b9c7e6aa25f2a47b392"}. Resetting database at /tmp/aztec-version-test 12:52:17 [12:52:17.985] INFO: foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=43,rollupAddress=0xf9d7863be06decb3514ff6d7fc09de4b79106318"} to DatabaseVersion{schemaVersion=42,rollupAddress=0xf9d7863be06decb3514ff6d7fc09de4b79106318"}. Resetting database at /tmp/aztec-version-test 12:52:17 [12:52:17.990] INFO: foundation:version-manager Upgrading from version 41 to 42 12:52:17 [12:52:17.991] ERROR: foundation:version-manager Failed to upgrade: Error: Test: failed upgrade. Falling back to reset. 12:52:17 [12:52:17.994] WARN: foundation:version-manager Rollup address has changed, resetting data directory {"versionFile":"/tmp/aztec-version-test/db_version","storedVersion":{"schemaVersion":42,"rollupAddress":"0x627bcbea58274de57065cb6f501414b6eb892089"},"currentVersion":{"schemaVersion":42,"rollupAddress":"0x3c32d0b2084ca745ce8f09a0b3e4bfdccf55cf38"}} 12:52:17 [12:52:17.998] INFO: foundation:version-manager Upgrading from version 41 to 42 12:52:18 PASS src/database-version/version_manager.test.ts 12:52:18 VersionManager 12:52:18 open 12:52:18 upgrades the db (2 ms) 12:52:18 opens the db (3 ms) 12:52:18 resets the database 12:52:18 when no version file exists (19 ms) 12:52:18 when there's an fs error (16 ms) 12:52:18 when the version file is malformed (10 ms) 12:52:18 when the version file is malformed (7 ms) 12:52:18 when the version file is malformed (16 ms) 12:52:18 when there is no way to upgrade (5 ms) 12:52:18 when it's a downgrade (5 ms) 12:52:18 when the upgrade fails (4 ms) 12:52:18 when the rollup address changes (4 ms) 12:52:18 Version 12:52:18 should create an empty version 12:52:18 should serialize correctly (2 ms) 12:52:18 establishes a partial odering (1 ms) 12:52:18 12:52:18 Test Suites: 1 passed, 1 total 12:52:18 Tests: 14 passed, 14 total 12:52:18 Snapshots: 0 total 12:52:18 Time: 0.706 s 12:52:18 Ran all test suites matching /stdlib\/src\/database-version\/version_manager.test.ts/i. 12:52:18 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?