Parent Log: http://ci.aztec-labs.com/202b4985e033a35a Command: 2f90642d334347ff yarn-project/scripts/run_test.sh stdlib/src/database-version/version_manager.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/13c9f60af5c2ea64e96c521ff1b514d2662d819e Env: REF_NAME=gh-readonly-queue/next/pr-15254-1bb4f0588a9dc5b1df622753aab1d907b3f12c7a CURRENT_VERSION=0.87.6 CI_FULL=0 Date: Wed Jun 25 09:16:39 UTC 2025 System: ARCH=arm64 CPUS=64 MEM=247Gi HOSTNAME=pr-15254_arm64_a1-fast Resources: CPU_LIST=0-63 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_5562d7b7c50cca17_next 09:16:40 [09:16:40.323] WARN: foundation:version-manager Failed to read stored version information: Error: Test: file not found. Defaulting to empty version 09:16:40 [09:16:40.327] 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":"0x84dd4595ed52633faf66a33e9f59a48f0d040791"}} 09:16:40 [09:16:40.331] 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 09:16:40 [09:16:40.332] 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":"0x8c4b817506040441c139e6c2202a36cc7bf2c68d"}} 09:16:40 [09:16:40.335] 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 09:16:40 [09:16:40.335] 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":"0xddf239f6ecef5467b20cfcea2406aa6eb9716250"}} 09:16:40 [09:16:40.339] WARN: foundation:version-manager Failed to read stored version information: Error: Failed to deserialize version information: [ 09:16:40 { 09:16:40 "code": "invalid_type", 09:16:40 "expected": "number", 09:16:40 "received": "undefined", 09:16:40 "path": [ 09:16:40 "schemaVersion" 09:16:40 ], 09:16:40 "message": "Required" 09:16:40 }, 09:16:40 { 09:16:40 "code": "invalid_type", 09:16:40 "expected": "string", 09:16:40 "received": "undefined", 09:16:40 "path": [ 09:16:40 "rollupAddress" 09:16:40 ], 09:16:40 "message": "Required" 09:16:40 } 09:16:40 ]. Defaulting to empty version 09:16:40 [09:16:40.340] 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":"0x19cc88d406a1f69e635c599fef590e7b80d04200"}} 09:16:40 [09:16:40.343] INFO: foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=41,rollupAddress=0xe22db52ad99dcaf2226213c1f62485e0ed1b0edc"} to DatabaseVersion{schemaVersion=42,rollupAddress=0xe22db52ad99dcaf2226213c1f62485e0ed1b0edc"}. Resetting database at /tmp/aztec-version-test 09:16:40 [09:16:40.347] INFO: foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=43,rollupAddress=0x5b63663ba60d59f943549d658bc50ae18c37ad59"} to DatabaseVersion{schemaVersion=42,rollupAddress=0x5b63663ba60d59f943549d658bc50ae18c37ad59"}. Resetting database at /tmp/aztec-version-test 09:16:40 [09:16:40.350] INFO: foundation:version-manager Upgrading from version 41 to 42 09:16:40 [09:16:40.350] ERROR: foundation:version-manager Failed to upgrade: Error: Test: failed upgrade. Falling back to reset. 09:16:40 [09:16:40.353] WARN: foundation:version-manager Rollup address has changed, resetting data directory {"versionFile":"/tmp/aztec-version-test/db_version","storedVersion":{"schemaVersion":42,"rollupAddress":"0x0973e0cb86fbb65a3b0eaaccd274b844c67b05be"},"currentVersion":{"schemaVersion":42,"rollupAddress":"0x5a33677b89cbf63e6d9de3d557e7677724a10286"}} 09:16:40 [09:16:40.356] INFO: foundation:version-manager Upgrading from version 41 to 42 09:16:40 PASS src/database-version/version_manager.test.ts 09:16:40 VersionManager 09:16:40 open 09:16:40 upgrades the db (2 ms) 09:16:40 opens the db (2 ms) 09:16:40 resets the database 09:16:40 when no version file exists (7 ms) 09:16:40 when there's an fs error (8 ms) 09:16:40 when the version file is malformed (4 ms) 09:16:40 when the version file is malformed (3 ms) 09:16:40 when the version file is malformed (5 ms) 09:16:40 when there is no way to upgrade (3 ms) 09:16:40 when it's a downgrade (2 ms) 09:16:40 when the upgrade fails (3 ms) 09:16:40 when the rollup address changes (3 ms) 09:16:40 Version 09:16:40 should create an empty version 09:16:40 should serialize correctly (1 ms) 09:16:40 establishes a partial odering (1 ms) 09:16:40 09:16:40 Test Suites: 1 passed, 1 total 09:16:40 Tests: 14 passed, 14 total 09:16:40 Snapshots: 0 total 09:16:40 Time: 0.511 s 09:16:40 Ran all test suites matching stdlib/src/database-version/version_manager.test.ts. 09:16:40 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?