Parent Log: http://ci.aztec-labs.com/a3bb03fa16e317bc Command: 00c2c16648004337 yarn-project/scripts/run_test.sh stdlib/src/database-version/version_manager.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/015cb0cadef6a41094c3649f32a735392e1b9693 Env: REF_NAME=gh-readonly-queue/master/pr-15027-e9a2301883801edbe36ea8bba05dcca7e714f30a CURRENT_VERSION=0.87.8 CI_FULL=0 Date: Wed Jun 18 14:28:51 UTC 2025 System: ARCH=arm64 CPUS=64 MEM=247Gi HOSTNAME=pr-15027_arm64_a1-fast Resources: CPU_LIST=0-63 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_5562d7b7c50cca17_master 14:28:52 [14:28:52.572] WARN: foundation:version-manager Failed to read stored version information: Error: Test: file not found. Defaulting to empty version 14:28:52 [14:28:52.576] 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":"0x4f418f5ecafd52b130fb0f198d3bbf1ba13b3de9"}} 14:28:52 [14:28:52.581] 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 14:28:52 [14:28:52.581] 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":"0xc139493257df8bd638978bc8001a46ce6462d4c3"}} 14:28:52 [14:28:52.585] 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 14:28:52 [14:28:52.586] 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":"0x0830eabcc406846127b60f828a67a136fdd0c7f1"}} 14:28:52 [14:28:52.590] WARN: foundation:version-manager Failed to read stored version information: Error: Failed to deserialize version information: [ 14:28:52 { 14:28:52 "code": "invalid_type", 14:28:52 "expected": "number", 14:28:52 "received": "undefined", 14:28:52 "path": [ 14:28:52 "schemaVersion" 14:28:52 ], 14:28:52 "message": "Required" 14:28:52 }, 14:28:52 { 14:28:52 "code": "invalid_type", 14:28:52 "expected": "string", 14:28:52 "received": "undefined", 14:28:52 "path": [ 14:28:52 "rollupAddress" 14:28:52 ], 14:28:52 "message": "Required" 14:28:52 } 14:28:52 ]. Defaulting to empty version 14:28:52 [14:28:52.591] 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":"0x985bd757244198ff25ea849684f8a6051ba4b02d"}} 14:28:52 [14:28:52.596] INFO: foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=41,rollupAddress=0xda8610e0eb8879fb39c603863c9fea4dde4a2fd0"} to DatabaseVersion{schemaVersion=42,rollupAddress=0xda8610e0eb8879fb39c603863c9fea4dde4a2fd0"}. Resetting database at /tmp/aztec-version-test 14:28:52 [14:28:52.600] INFO: foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=43,rollupAddress=0x40b2c087f3353154c942d40f477ee7c76c428576"} to DatabaseVersion{schemaVersion=42,rollupAddress=0x40b2c087f3353154c942d40f477ee7c76c428576"}. Resetting database at /tmp/aztec-version-test 14:28:52 [14:28:52.603] INFO: foundation:version-manager Upgrading from version 41 to 42 14:28:52 [14:28:52.604] ERROR: foundation:version-manager Failed to upgrade: Error: Test: failed upgrade. Falling back to reset. 14:28:52 [14:28:52.607] WARN: foundation:version-manager Rollup address has changed, resetting data directory {"versionFile":"/tmp/aztec-version-test/db_version","storedVersion":{"schemaVersion":42,"rollupAddress":"0xbf033e3f8452fdbede8fa87e5802c3e37987be0c"},"currentVersion":{"schemaVersion":42,"rollupAddress":"0x419f22421963de804af74e8aab3cf8aa2bfa2017"}} 14:28:52 [14:28:52.610] INFO: foundation:version-manager Upgrading from version 41 to 42 14:28:52 PASS src/database-version/version_manager.test.ts 14:28:52 VersionManager 14:28:52 open 14:28:52 upgrades the db (2 ms) 14:28:52 opens the db (2 ms) 14:28:52 resets the database 14:28:52 when no version file exists (8 ms) 14:28:52 when there's an fs error (9 ms) 14:28:52 when the version file is malformed (5 ms) 14:28:52 when the version file is malformed (4 ms) 14:28:52 when the version file is malformed (6 ms) 14:28:52 when there is no way to upgrade (4 ms) 14:28:52 when it's a downgrade (3 ms) 14:28:52 when the upgrade fails (4 ms) 14:28:52 when the rollup address changes (3 ms) 14:28:52 Version 14:28:52 should create an empty version (1 ms) 14:28:52 should serialize correctly (1 ms) 14:28:52 establishes a partial odering 14:28:52 14:28:52 Test Suites: 1 passed, 1 total 14:28:52 Tests: 14 passed, 14 total 14:28:52 Snapshots: 0 total 14:28:52 Time: 0.484 s 14:28:52 Ran all test suites matching /stdlib\/src\/database-version\/version_manager.test.ts/i. 14:28:52 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?