Parent Log: http://ci.aztec-labs.com/704f35e55ac1c274 Command: b54d5ade67e7ffc9 yarn-project/scripts/run_test.sh stdlib/src/database-version/version_manager.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/347f29fb98cc855ead57129b4d1a444d9fb16820 Env: REF_NAME=gh-readonly-queue/next/pr-15059-16fc84676c7308fa5f7ca4a54b67319803d0f5b7 CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Mon Jun 16 16:01:35 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15059_amd64_x2-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_5562d7b7c50cca17_next 16:01:37 [16:01:37.516] WARN: foundation:version-manager Failed to read stored version information: Error: Test: file not found. Defaulting to empty version 16:01:37 [16:01:37.521] 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":"0x16e39a358a7aee6f91f7a71857e57c2c7ed76400"}} 16:01:37 [16:01:37.525] 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 16:01:37 [16:01:37.525] 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":"0xb79f721e926d136248f65455b34096959facff25"}} 16:01:37 [16:01:37.528] 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 16:01:37 [16:01:37.528] 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":"0xbcdf7cb43bc737bedd0ed29259bbd154e1f34268"}} 16:01:37 [16:01:37.532] WARN: foundation:version-manager Failed to read stored version information: Error: Failed to deserialize version information: [ 16:01:37 { 16:01:37 "code": "invalid_type", 16:01:37 "expected": "number", 16:01:37 "received": "undefined", 16:01:37 "path": [ 16:01:37 "schemaVersion" 16:01:37 ], 16:01:37 "message": "Required" 16:01:37 }, 16:01:37 { 16:01:37 "code": "invalid_type", 16:01:37 "expected": "string", 16:01:37 "received": "undefined", 16:01:37 "path": [ 16:01:37 "rollupAddress" 16:01:37 ], 16:01:37 "message": "Required" 16:01:37 } 16:01:37 ]. Defaulting to empty version 16:01:37 [16:01:37.533] 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":"0x1801ffc51758359709a46f17039ba2e1bb793fea"}} 16:01:37 [16:01:37.536] INFO: foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=41,rollupAddress=0xb15799854b4d2259da6a859119ac587c1ec527b9"} to DatabaseVersion{schemaVersion=42,rollupAddress=0xb15799854b4d2259da6a859119ac587c1ec527b9"}. Resetting database at /tmp/aztec-version-test 16:01:37 [16:01:37.538] INFO: foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=43,rollupAddress=0x3c2eabd51d037084759e4a258b2b49ff7a6829b6"} to DatabaseVersion{schemaVersion=42,rollupAddress=0x3c2eabd51d037084759e4a258b2b49ff7a6829b6"}. Resetting database at /tmp/aztec-version-test 16:01:37 [16:01:37.541] INFO: foundation:version-manager Upgrading from version 41 to 42 16:01:37 [16:01:37.541] ERROR: foundation:version-manager Failed to upgrade: Error: Test: failed upgrade. Falling back to reset. 16:01:37 [16:01:37.544] WARN: foundation:version-manager Rollup address has changed, resetting data directory {"versionFile":"/tmp/aztec-version-test/db_version","storedVersion":{"schemaVersion":42,"rollupAddress":"0x8b23473284cfbac8d579f84a1fb54947727dbac0"},"currentVersion":{"schemaVersion":42,"rollupAddress":"0xf90313a57a00a18b303f907a5bee88dde26289fc"}} 16:01:37 [16:01:37.546] INFO: foundation:version-manager Upgrading from version 41 to 42 16:01:37 PASS src/database-version/version_manager.test.ts 16:01:37 VersionManager 16:01:37 open 16:01:37 upgrades the db (3 ms) 16:01:37 opens the db (2 ms) 16:01:37 resets the database 16:01:37 when no version file exists (9 ms) 16:01:37 when there's an fs error (9 ms) 16:01:37 when the version file is malformed (4 ms) 16:01:37 when the version file is malformed (3 ms) 16:01:37 when the version file is malformed (4 ms) 16:01:37 when there is no way to upgrade (3 ms) 16:01:37 when it's a downgrade (3 ms) 16:01:37 when the upgrade fails (3 ms) 16:01:37 when the rollup address changes (2 ms) 16:01:37 Version 16:01:37 should create an empty version 16:01:37 should serialize correctly (1 ms) 16:01:37 establishes a partial odering 16:01:37 16:01:37 Test Suites: 1 passed, 1 total 16:01:37 Tests: 14 passed, 14 total 16:01:37 Snapshots: 0 total 16:01:37 Time: 0.753 s 16:01:37 Ran all test suites matching stdlib/src/database-version/version_manager.test.ts. 16:01:37 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?