Parent Log: http://ci.aztec-labs.com/ea435d2af522830a Command: 557c108a8ed544a3 yarn-project/scripts/run_test.sh stdlib/src/database-version/version_manager.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/ed4f6d71e2ea98f43186114eb914d54b87dd1183 Env: REF_NAME=gh-readonly-queue/next/pr-15116-433ba6218aed45169029991a493e4232b30b8ec6 CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Tue Jun 17 19:34:45 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15116_amd64_x2-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_5562d7b7c50cca17_next 19:34:47 [19:34:47.234] WARN: foundation:version-manager Failed to read stored version information: Error: Test: file not found. Defaulting to empty version 19:34:47 [19:34:47.238] 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":"0x10134c8b96bf4034121d8c6134579465a206bbc7"}} 19:34:47 [19:34:47.242] 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 19:34:47 [19:34:47.243] 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":"0x52e61ac8a936736c3502b3a406920e47779ffe7b"}} 19:34:47 [19:34:47.250] 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 19:34:47 [19:34:47.251] 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":"0xf9b93f7170f0c2e0d9ae9d0ee94019c4ca556737"}} 19:34:47 [19:34:47.256] WARN: foundation:version-manager Failed to read stored version information: Error: Failed to deserialize version information: [ 19:34:47 { 19:34:47 "code": "invalid_type", 19:34:47 "expected": "number", 19:34:47 "received": "undefined", 19:34:47 "path": [ 19:34:47 "schemaVersion" 19:34:47 ], 19:34:47 "message": "Required" 19:34:47 }, 19:34:47 { 19:34:47 "code": "invalid_type", 19:34:47 "expected": "string", 19:34:47 "received": "undefined", 19:34:47 "path": [ 19:34:47 "rollupAddress" 19:34:47 ], 19:34:47 "message": "Required" 19:34:47 } 19:34:47 ]. Defaulting to empty version 19:34:47 [19:34:47.257] 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":"0x0cca301a5a878471c8a47e64eae0f82335cf1e31"}} 19:34:47 [19:34:47.262] INFO: foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=41,rollupAddress=0x645d0ae6f84f5ce3e7d0e40fe262772ace242030"} to DatabaseVersion{schemaVersion=42,rollupAddress=0x645d0ae6f84f5ce3e7d0e40fe262772ace242030"}. Resetting database at /tmp/aztec-version-test 19:34:47 [19:34:47.269] INFO: foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=43,rollupAddress=0x8671a5c423aed737504c4d427d4050b5c1623c7d"} to DatabaseVersion{schemaVersion=42,rollupAddress=0x8671a5c423aed737504c4d427d4050b5c1623c7d"}. Resetting database at /tmp/aztec-version-test 19:34:47 [19:34:47.273] INFO: foundation:version-manager Upgrading from version 41 to 42 19:34:47 [19:34:47.273] ERROR: foundation:version-manager Failed to upgrade: Error: Test: failed upgrade. Falling back to reset. 19:34:47 [19:34:47.277] WARN: foundation:version-manager Rollup address has changed, resetting data directory {"versionFile":"/tmp/aztec-version-test/db_version","storedVersion":{"schemaVersion":42,"rollupAddress":"0x24732c69ca0087dd0ef9627c188073babff41578"},"currentVersion":{"schemaVersion":42,"rollupAddress":"0x95404224eb1f86207a6c7509fb639046f6ae14ad"}} 19:34:47 [19:34:47.281] INFO: foundation:version-manager Upgrading from version 41 to 42 19:34:47 PASS src/database-version/version_manager.test.ts 19:34:47 VersionManager 19:34:47 open 19:34:47 upgrades the db (3 ms) 19:34:47 opens the db (2 ms) 19:34:47 resets the database 19:34:47 when no version file exists (8 ms) 19:34:47 when there's an fs error (7 ms) 19:34:47 when the version file is malformed (8 ms) 19:34:47 when the version file is malformed (3 ms) 19:34:47 when the version file is malformed (5 ms) 19:34:47 when there is no way to upgrade (8 ms) 19:34:47 when it's a downgrade (3 ms) 19:34:47 when the upgrade fails (4 ms) 19:34:47 when the rollup address changes (3 ms) 19:34:47 Version 19:34:47 should create an empty version 19:34:47 should serialize correctly (1 ms) 19:34:47 establishes a partial odering 19:34:47 19:34:47 Test Suites: 1 passed, 1 total 19:34:47 Tests: 14 passed, 14 total 19:34:47 Snapshots: 0 total 19:34:47 Time: 0.786 s 19:34:47 Ran all test suites matching stdlib/src/database-version/version_manager.test.ts. 19:34:47 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?