Parent Log: http://ci.aztec-labs.com/cfa3a08d8c538c28 Command: 1905308686f8cbc3 yarn-project/scripts/run_test.sh stdlib/src/database-version/version_manager.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/30660269b33bab8cca354c41659533acf4d48e07 Env: REF_NAME=gh-readonly-queue/next/pr-15026-d96baf1c44329e8b2e3a432ad803f702f5184a62 CURRENT_VERSION=0.87.6 CI_FULL=0 Date: Fri Jun 13 09:37:09 UTC 2025 System: ARCH=arm64 CPUS=64 MEM=247Gi HOSTNAME=pr-15026_arm64_a1-fast Resources: CPU_LIST=0-63 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_5562d7b7c50cca17_next 09:37:10 [09:37:10.656] WARN: foundation:version-manager Failed to read stored version information: Error: Test: file not found. Defaulting to empty version 09:37:10 [09:37:10.659] 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":"0xc628fc987c89d7d90d1a3c9af5b5947d4b09f4e1"}} 09:37:10 [09:37:10.664] 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:37:10 [09:37:10.665] 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":"0xd55da2b149f40605b9433b361b64036786a252ee"}} 09:37:10 [09:37:10.668] 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:37:10 [09:37:10.669] 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":"0x724a01539dac8786ff8144dd88d6ca3658d693db"}} 09:37:10 [09:37:10.674] WARN: foundation:version-manager Failed to read stored version information: Error: Failed to deserialize version information: [ 09:37:10 { 09:37:10 "code": "invalid_type", 09:37:10 "expected": "number", 09:37:10 "received": "undefined", 09:37:10 "path": [ 09:37:10 "schemaVersion" 09:37:10 ], 09:37:10 "message": "Required" 09:37:10 }, 09:37:10 { 09:37:10 "code": "invalid_type", 09:37:10 "expected": "string", 09:37:10 "received": "undefined", 09:37:10 "path": [ 09:37:10 "rollupAddress" 09:37:10 ], 09:37:10 "message": "Required" 09:37:10 } 09:37:10 ]. Defaulting to empty version 09:37:10 [09:37:10.674] 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":"0xe1e6090feec113a28530e79461371b113e6cfdbf"}} 09:37:10 [09:37:10.678] INFO: foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=41,rollupAddress=0x40173944505bfb407606d2b28ea81c0021ed5ab4"} to DatabaseVersion{schemaVersion=42,rollupAddress=0x40173944505bfb407606d2b28ea81c0021ed5ab4"}. Resetting database at /tmp/aztec-version-test 09:37:10 [09:37:10.682] INFO: foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=43,rollupAddress=0x0d1c5f7dc5b6b26a8b65a9aa68307a26d768b5d9"} to DatabaseVersion{schemaVersion=42,rollupAddress=0x0d1c5f7dc5b6b26a8b65a9aa68307a26d768b5d9"}. Resetting database at /tmp/aztec-version-test 09:37:10 [09:37:10.685] INFO: foundation:version-manager Upgrading from version 41 to 42 09:37:10 [09:37:10.685] ERROR: foundation:version-manager Failed to upgrade: Error: Test: failed upgrade. Falling back to reset. 09:37:10 [09:37:10.688] WARN: foundation:version-manager Rollup address has changed, resetting data directory {"versionFile":"/tmp/aztec-version-test/db_version","storedVersion":{"schemaVersion":42,"rollupAddress":"0xbb95bbfbbe8bb54c7514a6a8b5c1c898e7d2f6b4"},"currentVersion":{"schemaVersion":42,"rollupAddress":"0x453969c7d83c2ba9af92b92245f8441d555a2b75"}} 09:37:10 [09:37:10.692] INFO: foundation:version-manager Upgrading from version 41 to 42 09:37:10 PASS src/database-version/version_manager.test.ts 09:37:10 VersionManager 09:37:10 open 09:37:10 upgrades the db (3 ms) 09:37:10 opens the db (3 ms) 09:37:10 resets the database 09:37:10 when no version file exists (8 ms) 09:37:10 when there's an fs error (9 ms) 09:37:10 when the version file is malformed (4 ms) 09:37:10 when the version file is malformed (3 ms) 09:37:10 when the version file is malformed (5 ms) 09:37:10 when there is no way to upgrade (4 ms) 09:37:10 when it's a downgrade (3 ms) 09:37:10 when the upgrade fails (3 ms) 09:37:10 when the rollup address changes (3 ms) 09:37:10 Version 09:37:10 should create an empty version 09:37:10 should serialize correctly (1 ms) 09:37:10 establishes a partial odering (1 ms) 09:37:10 09:37:10 Test Suites: 1 passed, 1 total 09:37:10 Tests: 14 passed, 14 total 09:37:10 Snapshots: 0 total 09:37:10 Time: 0.523 s 09:37:10 Ran all test suites matching /stdlib\/src\/database-version\/version_manager.test.ts/i. 09:37:10 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?