Parent Log: http://ci.aztec-labs.com/5640b6c43c3542d3 Command: 736bd65c2c998997 yarn-project/scripts/run_test.sh stdlib/src/database-version/version_manager.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/2b96419831503435fa46a83dc2e2b7ba19109d0f Env: REF_NAME=gh-readonly-queue/next/pr-15229-af094bce13530e078c78de9f3264280e6693d533 CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Tue Jun 24 08:40:29 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15229_amd64_x3-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_5562d7b7c50cca17_next 08:40:31 [08:40:31.299] WARN: foundation:version-manager Failed to read stored version information: Error: Test: file not found. Defaulting to empty version 08:40:31 [08:40:31.305] 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":"0x482773eae835d857923398ada7e94c10d20084e6"}} 08:40:31 [08:40:31.310] 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 08:40:31 [08:40:31.310] 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":"0x35e83a03a52cfa2e854be37b27b865d2ea2de762"}} 08:40:31 [08:40:31.313] 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 08:40:31 [08:40:31.314] 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":"0x7852aa40feb830a73bb679574945daeff0a4f558"}} 08:40:31 [08:40:31.319] WARN: foundation:version-manager Failed to read stored version information: Error: Failed to deserialize version information: [ 08:40:31 { 08:40:31 "code": "invalid_type", 08:40:31 "expected": "number", 08:40:31 "received": "undefined", 08:40:31 "path": [ 08:40:31 "schemaVersion" 08:40:31 ], 08:40:31 "message": "Required" 08:40:31 }, 08:40:31 { 08:40:31 "code": "invalid_type", 08:40:31 "expected": "string", 08:40:31 "received": "undefined", 08:40:31 "path": [ 08:40:31 "rollupAddress" 08:40:31 ], 08:40:31 "message": "Required" 08:40:31 } 08:40:31 ]. Defaulting to empty version 08:40:31 [08:40:31.320] 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":"0x19a49d1d815c903f1ca5ce47827953d6879e2321"}} 08:40:31 [08:40:31.326] INFO: foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=41,rollupAddress=0xdfb50ec25b7d5d3205a473ebb699b7ac96c13d9d"} to DatabaseVersion{schemaVersion=42,rollupAddress=0xdfb50ec25b7d5d3205a473ebb699b7ac96c13d9d"}. Resetting database at /tmp/aztec-version-test 08:40:31 [08:40:31.331] INFO: foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=43,rollupAddress=0x3202a0dd244753f913aebf3ab06adbb24b1684a6"} to DatabaseVersion{schemaVersion=42,rollupAddress=0x3202a0dd244753f913aebf3ab06adbb24b1684a6"}. Resetting database at /tmp/aztec-version-test 08:40:31 [08:40:31.334] INFO: foundation:version-manager Upgrading from version 41 to 42 08:40:31 [08:40:31.335] ERROR: foundation:version-manager Failed to upgrade: Error: Test: failed upgrade. Falling back to reset. 08:40:31 [08:40:31.338] WARN: foundation:version-manager Rollup address has changed, resetting data directory {"versionFile":"/tmp/aztec-version-test/db_version","storedVersion":{"schemaVersion":42,"rollupAddress":"0x2b44147f832189eb7f8f59d0e9b3c4e8ed162b37"},"currentVersion":{"schemaVersion":42,"rollupAddress":"0x33e87d43b9c28cd17fc4d3f8c3cac681f2c93757"}} 08:40:31 [08:40:31.341] INFO: foundation:version-manager Upgrading from version 41 to 42 08:40:31 PASS src/database-version/version_manager.test.ts 08:40:31 VersionManager 08:40:31 open 08:40:31 upgrades the db (2 ms) 08:40:31 opens the db (1 ms) 08:40:31 resets the database 08:40:31 when no version file exists (11 ms) 08:40:31 when there's an fs error (9 ms) 08:40:31 when the version file is malformed (4 ms) 08:40:31 when the version file is malformed (3 ms) 08:40:31 when the version file is malformed (7 ms) 08:40:31 when there is no way to upgrade (5 ms) 08:40:31 when it's a downgrade (3 ms) 08:40:31 when the upgrade fails (3 ms) 08:40:31 when the rollup address changes (2 ms) 08:40:31 Version 08:40:31 should create an empty version (1 ms) 08:40:31 should serialize correctly 08:40:31 establishes a partial odering 08:40:31 08:40:31 Test Suites: 1 passed, 1 total 08:40:31 Tests: 14 passed, 14 total 08:40:31 Snapshots: 0 total 08:40:31 Time: 0.613 s 08:40:31 Ran all test suites matching stdlib/src/database-version/version_manager.test.ts. 08:40:31 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?