Parent Log: http://ci.aztec-labs.com/cc7478688846fa30 Command: c118fea9c063e772 yarn-project/scripts/run_test.sh stdlib/src/database-version/version_manager.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/12d931e5ea9343eec403068931d3121e1d10e37e Env: REF_NAME=gh-readonly-queue/next/pr-15042-254faae7d330e160b14c6eaaa099dc92d4a9cac7 CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Mon Jun 16 12:35:14 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15042_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:35:16 [12:35:16.182] WARN: foundation:version-manager Failed to read stored version information: Error: Test: file not found. Defaulting to empty version 12:35:16 [12:35:16.188] 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":"0x299f79851c6a3a99aa590147f473ec99c94529bf"}} 12:35:16 [12:35:16.194] 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:35:16 [12:35:16.194] 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":"0x1edb585c2e38beda998446c4436362510a242240"}} 12:35:16 [12:35:16.199] 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:35:16 [12:35:16.200] 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":"0x9107fd0aeed5aeeb8fbbe3e166ef49b9fac2b84f"}} 12:35:16 [12:35:16.206] WARN: foundation:version-manager Failed to read stored version information: Error: Failed to deserialize version information: [ 12:35:16 { 12:35:16 "code": "invalid_type", 12:35:16 "expected": "number", 12:35:16 "received": "undefined", 12:35:16 "path": [ 12:35:16 "schemaVersion" 12:35:16 ], 12:35:16 "message": "Required" 12:35:16 }, 12:35:16 { 12:35:16 "code": "invalid_type", 12:35:16 "expected": "string", 12:35:16 "received": "undefined", 12:35:16 "path": [ 12:35:16 "rollupAddress" 12:35:16 ], 12:35:16 "message": "Required" 12:35:16 } 12:35:16 ]. Defaulting to empty version 12:35:16 [12:35:16.207] 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":"0x822db8a546a43e8030f99fc0ef0474061837c549"}} 12:35:16 [12:35:16.224] INFO: foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=41,rollupAddress=0xc604070c047d12f305400e0bce915110f74347f0"} to DatabaseVersion{schemaVersion=42,rollupAddress=0xc604070c047d12f305400e0bce915110f74347f0"}. Resetting database at /tmp/aztec-version-test 12:35:16 [12:35:16.230] INFO: foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=43,rollupAddress=0xd7fbc2e133de78a864d07ff25e415913b5a76863"} to DatabaseVersion{schemaVersion=42,rollupAddress=0xd7fbc2e133de78a864d07ff25e415913b5a76863"}. Resetting database at /tmp/aztec-version-test 12:35:16 [12:35:16.235] INFO: foundation:version-manager Upgrading from version 41 to 42 12:35:16 [12:35:16.236] ERROR: foundation:version-manager Failed to upgrade: Error: Test: failed upgrade. Falling back to reset. 12:35:16 [12:35:16.239] WARN: foundation:version-manager Rollup address has changed, resetting data directory {"versionFile":"/tmp/aztec-version-test/db_version","storedVersion":{"schemaVersion":42,"rollupAddress":"0xe85eeb380fef1093526db2a2d7976f514bf8eec7"},"currentVersion":{"schemaVersion":42,"rollupAddress":"0xdd9cd3727e8949feff1f197c676133773365defb"}} 12:35:16 [12:35:16.242] INFO: foundation:version-manager Upgrading from version 41 to 42 12:35:16 PASS src/database-version/version_manager.test.ts 12:35:16 VersionManager 12:35:16 open 12:35:16 upgrades the db (3 ms) 12:35:16 opens the db (2 ms) 12:35:16 resets the database 12:35:16 when no version file exists (10 ms) 12:35:16 when there's an fs error (12 ms) 12:35:16 when the version file is malformed (6 ms) 12:35:16 when the version file is malformed (4 ms) 12:35:16 when the version file is malformed (6 ms) 12:35:16 when there is no way to upgrade (9 ms) 12:35:16 when it's a downgrade (5 ms) 12:35:16 when the upgrade fails (4 ms) 12:35:16 when the rollup address changes (3 ms) 12:35:16 Version 12:35:16 should create an empty version 12:35:16 should serialize correctly (1 ms) 12:35:16 establishes a partial odering (1 ms) 12:35:16 12:35:16 Test Suites: 1 passed, 1 total 12:35:16 Tests: 14 passed, 14 total 12:35:16 Snapshots: 0 total 12:35:16 Time: 0.624 s 12:35:16 Ran all test suites matching /stdlib\/src\/database-version\/version_manager.test.ts/i. 12:35:16 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?