Parent Log: http://ci.aztec-labs.com/59a7f67799d27b25 Command: 7a41fc0e1576329f yarn-project/scripts/run_test.sh stdlib/src/database-version/version_manager.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/142e6cd5fbf7371f649078f9d6d08828585c664d Env: REF_NAME=gh-readonly-queue/next/pr-14610-016def8adbfe93f34b41a41f439b146b5318c895 CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Tue Jun 24 12:57:58 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-14610_amd64_x3-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_5562d7b7c50cca17_next 12:58:00 [12:58:00.442] WARN: foundation:version-manager Failed to read stored version information: Error: Test: file not found. Defaulting to empty version 12:58:00 [12:58:00.448] 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":"0xd3b1ef41248ddf4501a01c7bef221a3b8cb65534"}} 12:58:00 [12:58:00.452] 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:58:00 [12:58:00.453] 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":"0xc685107b243e57064b2fa59da9be62b73ff7d636"}} 12:58:00 [12:58:00.456] 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:58:00 [12:58:00.457] 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":"0x768d75060d27576eb03b4a19d7ecb053fdc415b4"}} 12:58:00 [12:58:00.462] WARN: foundation:version-manager Failed to read stored version information: Error: Failed to deserialize version information: [ 12:58:00 { 12:58:00 "code": "invalid_type", 12:58:00 "expected": "number", 12:58:00 "received": "undefined", 12:58:00 "path": [ 12:58:00 "schemaVersion" 12:58:00 ], 12:58:00 "message": "Required" 12:58:00 }, 12:58:00 { 12:58:00 "code": "invalid_type", 12:58:00 "expected": "string", 12:58:00 "received": "undefined", 12:58:00 "path": [ 12:58:00 "rollupAddress" 12:58:00 ], 12:58:00 "message": "Required" 12:58:00 } 12:58:00 ]. Defaulting to empty version 12:58:00 [12:58:00.462] 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":"0x0f5a050a3eb328e1aa46ac23580aca36b7b977dd"}} 12:58:00 [12:58:00.466] INFO: foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=41,rollupAddress=0x1c2dc90b848e3692d1be0c15fdb1b91d999cbcbd"} to DatabaseVersion{schemaVersion=42,rollupAddress=0x1c2dc90b848e3692d1be0c15fdb1b91d999cbcbd"}. Resetting database at /tmp/aztec-version-test 12:58:00 [12:58:00.469] INFO: foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=43,rollupAddress=0xda5fd7e06dd6da74615760ef5745ae184d59cc38"} to DatabaseVersion{schemaVersion=42,rollupAddress=0xda5fd7e06dd6da74615760ef5745ae184d59cc38"}. Resetting database at /tmp/aztec-version-test 12:58:00 [12:58:00.473] INFO: foundation:version-manager Upgrading from version 41 to 42 12:58:00 [12:58:00.474] ERROR: foundation:version-manager Failed to upgrade: Error: Test: failed upgrade. Falling back to reset. 12:58:00 [12:58:00.477] WARN: foundation:version-manager Rollup address has changed, resetting data directory {"versionFile":"/tmp/aztec-version-test/db_version","storedVersion":{"schemaVersion":42,"rollupAddress":"0x2b58bf799651e8b166bfbc25920d90d30e95591f"},"currentVersion":{"schemaVersion":42,"rollupAddress":"0x9288e8de89972fc9a9ee355f26aa1e8ddfc8a59b"}} 12:58:00 [12:58:00.480] INFO: foundation:version-manager Upgrading from version 41 to 42 12:58:00 PASS src/database-version/version_manager.test.ts 12:58:00 VersionManager 12:58:00 open 12:58:00 upgrades the db (2 ms) 12:58:00 opens the db (2 ms) 12:58:00 resets the database 12:58:00 when no version file exists (10 ms) 12:58:00 when there's an fs error (9 ms) 12:58:00 when the version file is malformed (4 ms) 12:58:00 when the version file is malformed (4 ms) 12:58:00 when the version file is malformed (5 ms) 12:58:00 when there is no way to upgrade (4 ms) 12:58:00 when it's a downgrade (3 ms) 12:58:00 when the upgrade fails (3 ms) 12:58:00 when the rollup address changes (3 ms) 12:58:00 Version 12:58:00 should create an empty version 12:58:00 should serialize correctly (1 ms) 12:58:00 establishes a partial odering (1 ms) 12:58:00 12:58:00 Test Suites: 1 passed, 1 total 12:58:00 Tests: 14 passed, 14 total 12:58:00 Snapshots: 0 total 12:58:00 Time: 0.682 s 12:58:00 Ran all test suites matching stdlib/src/database-version/version_manager.test.ts. 12:58:00 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?