Parent Log: http://ci.aztec-labs.com/f27583dcca804169 Command: 582720422b3f4dff yarn-project/scripts/run_test.sh stdlib/src/database-version/version_manager.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/505a3c071181dbc5242dc8b655a9b2d69988c8db Env: REF_NAME=gh-readonly-queue/staging/pr-15211-e8f6c3b7e3e0e72a33e118ddf8e67d11e51464a8 CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Mon Jun 23 12:41:46 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15211_amd64_x1-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_5562d7b7c50cca17_staging 12:41:48 [12:41:48.440] WARN: foundation:version-manager Failed to read stored version information: Error: Test: file not found. Defaulting to empty version 12:41:48 [12:41:48.445] 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":"0x626526a7389a60a5cb55cbe5fcf1afc49c7d31ba"}} 12:41:48 [12:41:48.450] 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:41:48 [12:41:48.450] 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":"0xdfac69e6b9c7db648093910fed80d00a42bf1af1"}} 12:41:48 [12:41:48.453] 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:41:48 [12:41:48.454] 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":"0x79e7601a1a3a0d6a5ca28969e209e526b4a4a199"}} 12:41:48 [12:41:48.461] WARN: foundation:version-manager Failed to read stored version information: Error: Failed to deserialize version information: [ 12:41:48 { 12:41:48 "code": "invalid_type", 12:41:48 "expected": "number", 12:41:48 "received": "undefined", 12:41:48 "path": [ 12:41:48 "schemaVersion" 12:41:48 ], 12:41:48 "message": "Required" 12:41:48 }, 12:41:48 { 12:41:48 "code": "invalid_type", 12:41:48 "expected": "string", 12:41:48 "received": "undefined", 12:41:48 "path": [ 12:41:48 "rollupAddress" 12:41:48 ], 12:41:48 "message": "Required" 12:41:48 } 12:41:48 ]. Defaulting to empty version 12:41:48 [12:41:48.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":"0xd055fcb645e1cb1d86519a511021de8651d77f8b"}} 12:41:48 [12:41:48.467] INFO: foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=41,rollupAddress=0x4b5ca77127468c1a0f124d7844781cd290479d21"} to DatabaseVersion{schemaVersion=42,rollupAddress=0x4b5ca77127468c1a0f124d7844781cd290479d21"}. Resetting database at /tmp/aztec-version-test 12:41:48 [12:41:48.469] INFO: foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=43,rollupAddress=0x7b245ce8e711c06db955d51b49526761ebf9835f"} to DatabaseVersion{schemaVersion=42,rollupAddress=0x7b245ce8e711c06db955d51b49526761ebf9835f"}. Resetting database at /tmp/aztec-version-test 12:41:48 [12:41:48.473] INFO: foundation:version-manager Upgrading from version 41 to 42 12:41:48 [12:41:48.474] ERROR: foundation:version-manager Failed to upgrade: Error: Test: failed upgrade. Falling back to reset. 12:41:48 [12:41:48.477] WARN: foundation:version-manager Rollup address has changed, resetting data directory {"versionFile":"/tmp/aztec-version-test/db_version","storedVersion":{"schemaVersion":42,"rollupAddress":"0x002d582a0c88b957280918bce15964f2919f7bc4"},"currentVersion":{"schemaVersion":42,"rollupAddress":"0xd0e132ebe822bd08cb0d713bc106a15f2cec4831"}} 12:41:48 [12:41:48.481] INFO: foundation:version-manager Upgrading from version 41 to 42 12:41:48 PASS src/database-version/version_manager.test.ts 12:41:48 VersionManager 12:41:48 open 12:41:48 upgrades the db (6 ms) 12:41:48 opens the db (3 ms) 12:41:48 resets the database 12:41:48 when no version file exists (9 ms) 12:41:48 when there's an fs error (9 ms) 12:41:48 when the version file is malformed (4 ms) 12:41:48 when the version file is malformed (4 ms) 12:41:48 when the version file is malformed (8 ms) 12:41:48 when there is no way to upgrade (3 ms) 12:41:48 when it's a downgrade (3 ms) 12:41:48 when the upgrade fails (3 ms) 12:41:48 when the rollup address changes (3 ms) 12:41:48 Version 12:41:48 should create an empty version 12:41:48 should serialize correctly (1 ms) 12:41:48 establishes a partial odering (1 ms) 12:41:48 12:41:48 Test Suites: 1 passed, 1 total 12:41:48 Tests: 14 passed, 14 total 12:41:48 Snapshots: 0 total 12:41:48 Time: 0.617 s 12:41:48 Ran all test suites matching stdlib/src/database-version/version_manager.test.ts. 12:41:48 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?