Parent Log: http://ci.aztec-labs.com/1c420a977384450c Command: 426cee6a32f1da3c yarn-project/scripts/run_test.sh stdlib/src/database-version/version_manager.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/d96baf1c44329e8b2e3a432ad803f702f5184a62 Env: REF_NAME=gh-readonly-queue/next/pr-15025-26c5a39fe03723d11540f721293d7aebd1f478d9 CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Fri Jun 13 09:33:38 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15025_amd64_x3-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_5562d7b7c50cca17_next 09:33:40 [09:33:40.113] WARN: foundation:version-manager Failed to read stored version information: Error: Test: file not found. Defaulting to empty version 09:33:40 [09:33:40.116] 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":"0x24b0bc93afee36ba043801978fcef90ae926ab97"}} 09:33:40 [09:33:40.120] 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 09:33:40 [09:33:40.120] 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":"0xbc3d319cacb6b0c11cd988eaa2572c109cdac35d"}} 09:33:40 [09:33:40.123] 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 09:33:40 [09:33:40.124] 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":"0x0b44941b13fa2293c5b31d579860510dfac519e5"}} 09:33:40 [09:33:40.128] WARN: foundation:version-manager Failed to read stored version information: Error: Failed to deserialize version information: [ 09:33:40 { 09:33:40 "code": "invalid_type", 09:33:40 "expected": "number", 09:33:40 "received": "undefined", 09:33:40 "path": [ 09:33:40 "schemaVersion" 09:33:40 ], 09:33:40 "message": "Required" 09:33:40 }, 09:33:40 { 09:33:40 "code": "invalid_type", 09:33:40 "expected": "string", 09:33:40 "received": "undefined", 09:33:40 "path": [ 09:33:40 "rollupAddress" 09:33:40 ], 09:33:40 "message": "Required" 09:33:40 } 09:33:40 ]. Defaulting to empty version 09:33:40 [09:33:40.128] 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":"0x39dee62134779a15a89de1000b85645aaf543898"}} 09:33:40 [09:33:40.145] INFO: foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=41,rollupAddress=0x7d3763df17dfe98b9d831ca71f0724898acde2b5"} to DatabaseVersion{schemaVersion=42,rollupAddress=0x7d3763df17dfe98b9d831ca71f0724898acde2b5"}. Resetting database at /tmp/aztec-version-test 09:33:40 [09:33:40.154] INFO: foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=43,rollupAddress=0x0e6ad3298194bcf165975e11445d55c80cdf2ffe"} to DatabaseVersion{schemaVersion=42,rollupAddress=0x0e6ad3298194bcf165975e11445d55c80cdf2ffe"}. Resetting database at /tmp/aztec-version-test 09:33:40 [09:33:40.159] INFO: foundation:version-manager Upgrading from version 41 to 42 09:33:40 [09:33:40.160] ERROR: foundation:version-manager Failed to upgrade: Error: Test: failed upgrade. Falling back to reset. 09:33:40 [09:33:40.166] WARN: foundation:version-manager Rollup address has changed, resetting data directory {"versionFile":"/tmp/aztec-version-test/db_version","storedVersion":{"schemaVersion":42,"rollupAddress":"0x8f05ec6100658150af3efdd0af779a4243103bcd"},"currentVersion":{"schemaVersion":42,"rollupAddress":"0x4870ab4f08ac134da7960eef897a984764c6f211"}} 09:33:40 [09:33:40.172] INFO: foundation:version-manager Upgrading from version 41 to 42 09:33:40 PASS src/database-version/version_manager.test.ts 09:33:40 VersionManager 09:33:40 open 09:33:40 upgrades the db (7 ms) 09:33:40 opens the db (5 ms) 09:33:40 resets the database 09:33:40 when no version file exists (7 ms) 09:33:40 when there's an fs error (8 ms) 09:33:40 when the version file is malformed (3 ms) 09:33:40 when the version file is malformed (2 ms) 09:33:40 when the version file is malformed (4 ms) 09:33:40 when there is no way to upgrade (21 ms) 09:33:40 when it's a downgrade (6 ms) 09:33:40 when the upgrade fails (6 ms) 09:33:40 when the rollup address changes (5 ms) 09:33:40 Version 09:33:40 should create an empty version (1 ms) 09:33:40 should serialize correctly (2 ms) 09:33:40 establishes a partial odering (1 ms) 09:33:40 09:33:40 Test Suites: 1 passed, 1 total 09:33:40 Tests: 14 passed, 14 total 09:33:40 Snapshots: 0 total 09:33:40 Time: 0.638 s 09:33:40 Ran all test suites matching /stdlib\/src\/database-version\/version_manager.test.ts/i. 09:33:40 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?