Parent Log: http://ci.aztec-labs.com/a53311bb1142186d Command: 19ef62d9450eeb9e yarn-project/scripts/run_test.sh stdlib/src/database-version/version_manager.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/eb7990c89ac679ce7fdfc2e985670cbf85c04be2 Env: REF_NAME=gh-readonly-queue/next/pr-14918-b70544b6d50e3ecb6598361f1990bd51745c7b55 CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Tue Jun 17 09:03:28 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-14918_amd64_x2-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_5562d7b7c50cca17_next 09:03:29 [09:03:29.848] WARN: foundation:version-manager Failed to read stored version information: Error: Test: file not found. Defaulting to empty version 09:03:29 [09:03:29.852] 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":"0xc35d7f627aaa1347a3403b20895423b7ca3467f2"}} 09:03:29 [09:03:29.856] 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:03:29 [09:03:29.856] 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":"0xd4fd3f22acb4d4140b9c063b5a274415ad0e6757"}} 09:03:29 [09:03:29.859] 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:03:29 [09:03:29.860] 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":"0x0311c6f4b73d548434a2408801b9a564d95aa163"}} 09:03:29 [09:03:29.865] WARN: foundation:version-manager Failed to read stored version information: Error: Failed to deserialize version information: [ 09:03:29 { 09:03:29 "code": "invalid_type", 09:03:29 "expected": "number", 09:03:29 "received": "undefined", 09:03:29 "path": [ 09:03:29 "schemaVersion" 09:03:29 ], 09:03:29 "message": "Required" 09:03:29 }, 09:03:29 { 09:03:29 "code": "invalid_type", 09:03:29 "expected": "string", 09:03:29 "received": "undefined", 09:03:29 "path": [ 09:03:29 "rollupAddress" 09:03:29 ], 09:03:29 "message": "Required" 09:03:29 } 09:03:29 ]. Defaulting to empty version 09:03:29 [09:03:29.866] 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":"0x9171120639f3515fb24d97ed7abeb386e0c6e677"}} 09:03:29 [09:03:29.869] INFO: foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=41,rollupAddress=0xa7b293312de91d24a068dfad9c10ceb53f2dc243"} to DatabaseVersion{schemaVersion=42,rollupAddress=0xa7b293312de91d24a068dfad9c10ceb53f2dc243"}. Resetting database at /tmp/aztec-version-test 09:03:29 [09:03:29.872] INFO: foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=43,rollupAddress=0x367e530c2fca7ff99b01b46324224fd13f248976"} to DatabaseVersion{schemaVersion=42,rollupAddress=0x367e530c2fca7ff99b01b46324224fd13f248976"}. Resetting database at /tmp/aztec-version-test 09:03:29 [09:03:29.875] INFO: foundation:version-manager Upgrading from version 41 to 42 09:03:29 [09:03:29.875] ERROR: foundation:version-manager Failed to upgrade: Error: Test: failed upgrade. Falling back to reset. 09:03:29 [09:03:29.878] WARN: foundation:version-manager Rollup address has changed, resetting data directory {"versionFile":"/tmp/aztec-version-test/db_version","storedVersion":{"schemaVersion":42,"rollupAddress":"0x517a26869163f4f2eb62520025db0f1373538136"},"currentVersion":{"schemaVersion":42,"rollupAddress":"0xf2e603fd4a259e953c1ebbcc65acafb53e4fd7be"}} 09:03:29 [09:03:29.881] INFO: foundation:version-manager Upgrading from version 41 to 42 09:03:29 PASS src/database-version/version_manager.test.ts 09:03:29 VersionManager 09:03:29 open 09:03:29 upgrades the db (2 ms) 09:03:29 opens the db (1 ms) 09:03:29 resets the database 09:03:29 when no version file exists (8 ms) 09:03:29 when there's an fs error (8 ms) 09:03:29 when the version file is malformed (4 ms) 09:03:29 when the version file is malformed (4 ms) 09:03:29 when the version file is malformed (5 ms) 09:03:29 when there is no way to upgrade (3 ms) 09:03:29 when it's a downgrade (2 ms) 09:03:29 when the upgrade fails (2 ms) 09:03:29 when the rollup address changes (4 ms) 09:03:29 Version 09:03:29 should create an empty version (1 ms) 09:03:29 should serialize correctly 09:03:29 establishes a partial odering 09:03:29 09:03:29 Test Suites: 1 passed, 1 total 09:03:29 Tests: 14 passed, 14 total 09:03:29 Snapshots: 0 total 09:03:29 Time: 0.703 s 09:03:29 Ran all test suites matching stdlib/src/database-version/version_manager.test.ts. 09:03:29 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?