Parent Log: http://ci.aztec-labs.com/2aac72a9f0a3e7d4 Command: b818050160cbcbd8 yarn-project/scripts/run_test.sh stdlib/src/database-version/version_manager.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/184d5f7d956dd7251670a2dd6728f313cfdf3caf Env: REF_NAME=gh-readonly-queue/next/pr-14822-e56baa7f24bac54baf9e2f22f6f33ae6fa8b8c0f CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Fri Jun 13 21:18:05 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-14822_amd64_x2-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_5562d7b7c50cca17_next 21:18:06 [21:18:06.964] WARN: foundation:version-manager Failed to read stored version information: Error: Test: file not found. Defaulting to empty version 21:18:06 [21:18:06.969] 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":"0xf110172a56c9ad2ac003c97289159a5888472842"}} 21:18:06 [21:18:06.975] 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 21:18:06 [21:18:06.976] 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":"0x61bd52e10d28fc4c234344999f67393c5c19cd63"}} 21:18:06 [21:18:06.993] 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 21:18:06 [21:18:06.994] 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":"0xf038313665abd64bf9c21f0348289d54ccdab837"}} 21:18:07 [21:18:07.003] WARN: foundation:version-manager Failed to read stored version information: Error: Failed to deserialize version information: [ 21:18:07 { 21:18:07 "code": "invalid_type", 21:18:07 "expected": "number", 21:18:07 "received": "undefined", 21:18:07 "path": [ 21:18:07 "schemaVersion" 21:18:07 ], 21:18:07 "message": "Required" 21:18:07 }, 21:18:07 { 21:18:07 "code": "invalid_type", 21:18:07 "expected": "string", 21:18:07 "received": "undefined", 21:18:07 "path": [ 21:18:07 "rollupAddress" 21:18:07 ], 21:18:07 "message": "Required" 21:18:07 } 21:18:07 ]. Defaulting to empty version 21:18:07 [21:18:07.004] 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":"0x4ca2c88905c4fb48d585f993767ac2fe31bd45ce"}} 21:18:07 [21:18:07.008] INFO: foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=41,rollupAddress=0x1bf84d52b7a5a7bcdf921fd6baba120c2f0c168a"} to DatabaseVersion{schemaVersion=42,rollupAddress=0x1bf84d52b7a5a7bcdf921fd6baba120c2f0c168a"}. Resetting database at /tmp/aztec-version-test 21:18:07 [21:18:07.013] INFO: foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=43,rollupAddress=0xfcb35fa27889dddf53b24be16b4360ab9b9390c5"} to DatabaseVersion{schemaVersion=42,rollupAddress=0xfcb35fa27889dddf53b24be16b4360ab9b9390c5"}. Resetting database at /tmp/aztec-version-test 21:18:07 [21:18:07.018] INFO: foundation:version-manager Upgrading from version 41 to 42 21:18:07 [21:18:07.019] ERROR: foundation:version-manager Failed to upgrade: Error: Test: failed upgrade. Falling back to reset. 21:18:07 [21:18:07.023] WARN: foundation:version-manager Rollup address has changed, resetting data directory {"versionFile":"/tmp/aztec-version-test/db_version","storedVersion":{"schemaVersion":42,"rollupAddress":"0x1e3b6d4bda8510946b9c8cf887b08acdd71e116a"},"currentVersion":{"schemaVersion":42,"rollupAddress":"0x61298315c29beeed91432603e41702849b6c9348"}} 21:18:07 [21:18:07.028] INFO: foundation:version-manager Upgrading from version 41 to 42 21:18:07 PASS src/database-version/version_manager.test.ts 21:18:07 VersionManager 21:18:07 open 21:18:07 upgrades the db (4 ms) 21:18:07 opens the db (5 ms) 21:18:07 resets the database 21:18:07 when no version file exists (9 ms) 21:18:07 when there's an fs error (10 ms) 21:18:07 when the version file is malformed (15 ms) 21:18:07 when the version file is malformed (7 ms) 21:18:07 when the version file is malformed (8 ms) 21:18:07 when there is no way to upgrade (5 ms) 21:18:07 when it's a downgrade (4 ms) 21:18:07 when the upgrade fails (5 ms) 21:18:07 when the rollup address changes (4 ms) 21:18:07 Version 21:18:07 should create an empty version 21:18:07 should serialize correctly (2 ms) 21:18:07 establishes a partial odering (1 ms) 21:18:07 21:18:07 Test Suites: 1 passed, 1 total 21:18:07 Tests: 14 passed, 14 total 21:18:07 Snapshots: 0 total 21:18:07 Time: 0.666 s 21:18:07 Ran all test suites matching /stdlib\/src\/database-version\/version_manager.test.ts/i. 21:18:07 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?