Parent Log: http://ci.aztec-labs.com/5c64f73239d8b492 Command: 3b26b88555004035 yarn-project/scripts/run_test.sh stdlib/src/database-version/version_manager.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/9cf4a24266245fa3ca003adb00e8ae759880c107 Env: REF_NAME=gh-readonly-queue/next/pr-14963-eeab628a4e44477cb6796c5a461ee0c0bb332d75 CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Mon Jun 16 17:10:42 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-14963_amd64_x1-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_5562d7b7c50cca17_next 17:10:44 [17:10:44.357] WARN: foundation:version-manager Failed to read stored version information: Error: Test: file not found. Defaulting to empty version 17:10:44 [17:10:44.363] 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":"0x486ddc29d676274340d85415f4bb5f0e5b68d91e"}} 17:10:44 [17:10:44.369] 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 17:10:44 [17:10:44.370] 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":"0xeafb07c5917adec78a769cc7c521972afadd0d77"}} 17:10:44 [17:10:44.375] 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 17:10:44 [17:10:44.376] 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":"0x08ce85c6ec9c6ae9ed6417839fbe6d378832ee9f"}} 17:10:44 [17:10:44.383] WARN: foundation:version-manager Failed to read stored version information: Error: Failed to deserialize version information: [ 17:10:44 { 17:10:44 "code": "invalid_type", 17:10:44 "expected": "number", 17:10:44 "received": "undefined", 17:10:44 "path": [ 17:10:44 "schemaVersion" 17:10:44 ], 17:10:44 "message": "Required" 17:10:44 }, 17:10:44 { 17:10:44 "code": "invalid_type", 17:10:44 "expected": "string", 17:10:44 "received": "undefined", 17:10:44 "path": [ 17:10:44 "rollupAddress" 17:10:44 ], 17:10:44 "message": "Required" 17:10:44 } 17:10:44 ]. Defaulting to empty version 17:10:44 [17:10:44.383] 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":"0xf29bdedbc40e97716b0ed8d59715119f9e4d7384"}} 17:10:44 [17:10:44.386] INFO: foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=41,rollupAddress=0x73bf2c2b3bb3a2acd7b1abdf2accad8c75d4ea1a"} to DatabaseVersion{schemaVersion=42,rollupAddress=0x73bf2c2b3bb3a2acd7b1abdf2accad8c75d4ea1a"}. Resetting database at /tmp/aztec-version-test 17:10:44 [17:10:44.390] INFO: foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=43,rollupAddress=0x138be4b08ea3eacc62d0c63fae08af8550c3e2a5"} to DatabaseVersion{schemaVersion=42,rollupAddress=0x138be4b08ea3eacc62d0c63fae08af8550c3e2a5"}. Resetting database at /tmp/aztec-version-test 17:10:44 [17:10:44.395] INFO: foundation:version-manager Upgrading from version 41 to 42 17:10:44 [17:10:44.396] ERROR: foundation:version-manager Failed to upgrade: Error: Test: failed upgrade. Falling back to reset. 17:10:44 [17:10:44.401] WARN: foundation:version-manager Rollup address has changed, resetting data directory {"versionFile":"/tmp/aztec-version-test/db_version","storedVersion":{"schemaVersion":42,"rollupAddress":"0x3245cdc0a3b9a400af5456c495d743b8d25d783c"},"currentVersion":{"schemaVersion":42,"rollupAddress":"0x64fa8fede66624a09cb085e944673e85b8a9a9a4"}} 17:10:44 [17:10:44.405] INFO: foundation:version-manager Upgrading from version 41 to 42 17:10:44 PASS src/database-version/version_manager.test.ts 17:10:44 VersionManager 17:10:44 open 17:10:44 upgrades the db (3 ms) 17:10:44 opens the db (2 ms) 17:10:44 resets the database 17:10:44 when no version file exists (10 ms) 17:10:44 when there's an fs error (12 ms) 17:10:44 when the version file is malformed (6 ms) 17:10:44 when the version file is malformed (6 ms) 17:10:44 when the version file is malformed (4 ms) 17:10:44 when there is no way to upgrade (3 ms) 17:10:44 when it's a downgrade (3 ms) 17:10:44 when the upgrade fails (5 ms) 17:10:44 when the rollup address changes (4 ms) 17:10:44 Version 17:10:44 should create an empty version 17:10:44 should serialize correctly (1 ms) 17:10:44 establishes a partial odering 17:10:44 17:10:44 Test Suites: 1 passed, 1 total 17:10:44 Tests: 14 passed, 14 total 17:10:44 Snapshots: 0 total 17:10:44 Time: 0.738 s 17:10:44 Ran all test suites matching stdlib/src/database-version/version_manager.test.ts. 17:10:44 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?