Parent Log: http://ci.aztec-labs.com/c49e2be907ee77f3 Command: 7d80d96dc149584a yarn-project/scripts/run_test.sh stdlib/src/database-version/version_manager.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/e4e2d988072932519ccdfe9e9c7f4419d2d6ca1a Env: REF_NAME=gh-readonly-queue/next/pr-15275-5154a64456f8ee26126f902542c8b29e33638ff7 CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Fri Jun 27 07:18:32 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15275_amd64_x1-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_5562d7b7c50cca17_next 07:18:33 [07:18:33.513] WARN: foundation:version-manager Failed to read stored version information: Error: Test: file not found. Defaulting to empty version 07:18:33 [07:18:33.518] 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":"0x9b18ddb25dea80670d6b59d3337d58830e733b63"}} 07:18:33 [07:18:33.522] 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 07:18:33 [07:18:33.522] 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":"0x388a43dca779a5a6039fc2d3167b276a8711a2f7"}} 07:18:33 [07:18:33.524] 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 07:18:33 [07:18:33.525] 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":"0x894b1a43c58fe836e467db076bc7d3bd2d716b29"}} 07:18:33 [07:18:33.528] WARN: foundation:version-manager Failed to read stored version information: Error: Failed to deserialize version information: [ 07:18:33 { 07:18:33 "code": "invalid_type", 07:18:33 "expected": "number", 07:18:33 "received": "undefined", 07:18:33 "path": [ 07:18:33 "schemaVersion" 07:18:33 ], 07:18:33 "message": "Required" 07:18:33 }, 07:18:33 { 07:18:33 "code": "invalid_type", 07:18:33 "expected": "string", 07:18:33 "received": "undefined", 07:18:33 "path": [ 07:18:33 "rollupAddress" 07:18:33 ], 07:18:33 "message": "Required" 07:18:33 } 07:18:33 ]. Defaulting to empty version 07:18:33 [07:18:33.530] 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":"0xc0f740630d75c80ced239d38566f7e3b2e1a6604"}} 07:18:33 [07:18:33.535] INFO: foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=41,rollupAddress=0xe10c2935198271315f32284e80c0f23b8580c2c6"} to DatabaseVersion{schemaVersion=42,rollupAddress=0xe10c2935198271315f32284e80c0f23b8580c2c6"}. Resetting database at /tmp/aztec-version-test 07:18:33 [07:18:33.538] INFO: foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=43,rollupAddress=0x1cf69ed61297e009fa02034b453256f9d69534ac"} to DatabaseVersion{schemaVersion=42,rollupAddress=0x1cf69ed61297e009fa02034b453256f9d69534ac"}. Resetting database at /tmp/aztec-version-test 07:18:33 [07:18:33.541] INFO: foundation:version-manager Upgrading from version 41 to 42 07:18:33 [07:18:33.542] ERROR: foundation:version-manager Failed to upgrade: Error: Test: failed upgrade. Falling back to reset. 07:18:33 [07:18:33.545] WARN: foundation:version-manager Rollup address has changed, resetting data directory {"versionFile":"/tmp/aztec-version-test/db_version","storedVersion":{"schemaVersion":42,"rollupAddress":"0x9095659c099b30b26f3048e1a30124a22cc7bb78"},"currentVersion":{"schemaVersion":42,"rollupAddress":"0xec2b6ac5c4dde5fe4525a05e0a71a40a8d912e9c"}} 07:18:33 [07:18:33.550] INFO: foundation:version-manager Upgrading from version 41 to 42 07:18:33 PASS src/database-version/version_manager.test.ts 07:18:33 VersionManager 07:18:33 open 07:18:33 upgrades the db (4 ms) 07:18:33 opens the db (2 ms) 07:18:33 resets the database 07:18:33 when no version file exists (7 ms) 07:18:33 when there's an fs error (8 ms) 07:18:33 when the version file is malformed (3 ms) 07:18:33 when the version file is malformed (2 ms) 07:18:33 when the version file is malformed (6 ms) 07:18:33 when there is no way to upgrade (3 ms) 07:18:33 when it's a downgrade (4 ms) 07:18:33 when the upgrade fails (3 ms) 07:18:33 when the rollup address changes (4 ms) 07:18:33 Version 07:18:33 should create an empty version (1 ms) 07:18:33 should serialize correctly (1 ms) 07:18:33 establishes a partial odering 07:18:33 07:18:33 Test Suites: 1 passed, 1 total 07:18:33 Tests: 14 passed, 14 total 07:18:33 Snapshots: 0 total 07:18:33 Time: 0.589 s 07:18:33 Ran all test suites matching stdlib/src/database-version/version_manager.test.ts. 07:18:33 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?