Parent Log: http://ci.aztec-labs.com/2a5202e13d8bd91e Command: 13dd8684e4e32fd7 yarn-project/scripts/run_test.sh stdlib/src/database-version/version_manager.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/1c9ca312bfdace816082212846900a49694e1e50 Env: REF_NAME=gh-readonly-queue/next/pr-15182-af094bce13530e078c78de9f3264280e6693d533 CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Tue Jun 24 08:56:16 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15182_amd64_x3-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_5562d7b7c50cca17_next 08:56:17 [08:56:17.664] WARN: foundation:version-manager Failed to read stored version information: Error: Test: file not found. Defaulting to empty version 08:56:17 [08:56:17.668] 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":"0x9047cdaaaabfc2c6ae4158a960458cb967b9705e"}} 08:56:17 [08:56:17.672] 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 08:56:17 [08:56:17.673] 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":"0x6e729f0ec02e7c8b9dd226d0e92d274128becf26"}} 08:56:17 [08:56:17.675] 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 08:56:17 [08:56:17.675] 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":"0x80da48e00e7b748bcaabc507ba7b1ed371a8346a"}} 08:56:17 [08:56:17.679] WARN: foundation:version-manager Failed to read stored version information: Error: Failed to deserialize version information: [ 08:56:17 { 08:56:17 "code": "invalid_type", 08:56:17 "expected": "number", 08:56:17 "received": "undefined", 08:56:17 "path": [ 08:56:17 "schemaVersion" 08:56:17 ], 08:56:17 "message": "Required" 08:56:17 }, 08:56:17 { 08:56:17 "code": "invalid_type", 08:56:17 "expected": "string", 08:56:17 "received": "undefined", 08:56:17 "path": [ 08:56:17 "rollupAddress" 08:56:17 ], 08:56:17 "message": "Required" 08:56:17 } 08:56:17 ]. Defaulting to empty version 08:56:17 [08:56:17.680] 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":"0x11d9df8ef6ace93e8cd4b87025e9d6e52bb53b8b"}} 08:56:17 [08:56:17.683] INFO: foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=41,rollupAddress=0xd79a55662bb4f5003043e24b56e7e9d98c37cb14"} to DatabaseVersion{schemaVersion=42,rollupAddress=0xd79a55662bb4f5003043e24b56e7e9d98c37cb14"}. Resetting database at /tmp/aztec-version-test 08:56:17 [08:56:17.687] INFO: foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=43,rollupAddress=0xa2999208876fd8617a4f2f0a698671391306e2a9"} to DatabaseVersion{schemaVersion=42,rollupAddress=0xa2999208876fd8617a4f2f0a698671391306e2a9"}. Resetting database at /tmp/aztec-version-test 08:56:17 [08:56:17.690] INFO: foundation:version-manager Upgrading from version 41 to 42 08:56:17 [08:56:17.690] ERROR: foundation:version-manager Failed to upgrade: Error: Test: failed upgrade. Falling back to reset. 08:56:17 [08:56:17.692] WARN: foundation:version-manager Rollup address has changed, resetting data directory {"versionFile":"/tmp/aztec-version-test/db_version","storedVersion":{"schemaVersion":42,"rollupAddress":"0xb8efce1dc4a2226b0fb2ed267ef85b7b1704e947"},"currentVersion":{"schemaVersion":42,"rollupAddress":"0xef47f7e1267bd6628ad787b579c313c2eae31feb"}} 08:56:17 [08:56:17.695] INFO: foundation:version-manager Upgrading from version 41 to 42 08:56:17 PASS src/database-version/version_manager.test.ts 08:56:17 VersionManager 08:56:17 open 08:56:17 upgrades the db (2 ms) 08:56:17 opens the db (1 ms) 08:56:17 resets the database 08:56:17 when no version file exists (9 ms) 08:56:17 when there's an fs error (7 ms) 08:56:17 when the version file is malformed (3 ms) 08:56:17 when the version file is malformed (3 ms) 08:56:17 when the version file is malformed (4 ms) 08:56:17 when there is no way to upgrade (3 ms) 08:56:17 when it's a downgrade (3 ms) 08:56:17 when the upgrade fails (2 ms) 08:56:17 when the rollup address changes (3 ms) 08:56:17 Version 08:56:17 should create an empty version 08:56:17 should serialize correctly (1 ms) 08:56:17 establishes a partial odering 08:56:17 08:56:17 Test Suites: 1 passed, 1 total 08:56:17 Tests: 14 passed, 14 total 08:56:17 Snapshots: 0 total 08:56:17 Time: 0.646 s 08:56:17 Ran all test suites matching stdlib/src/database-version/version_manager.test.ts. 08:56:17 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?