Parent Log: http://ci.aztec-labs.com/15f929f375de3825 Command: 5c58d0b0e69f02f7 yarn-project/scripts/run_test.sh stdlib/src/database-version/version_manager.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/7339c264ad706420ee9babb0dd1b6ed793e97402 Env: REF_NAME=gh-readonly-queue/next/pr-15039-ddabb45f79cc171e41a0a5330544775de9fdf7fd CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Fri Jun 13 15:03:01 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15039_amd64_x3-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_5562d7b7c50cca17_next 15:03:03 [15:03:03.296] WARN: foundation:version-manager Failed to read stored version information: Error: Test: file not found. Defaulting to empty version 15:03:03 [15:03:03.302] 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":"0xf5515e9adb74e811f02e8e10a13647348130ca10"}} 15:03:03 [15:03:03.309] 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 15:03:03 [15:03:03.309] 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":"0xaee03be1d4552a782d6b72e0c5767560ecb14d1f"}} 15:03:03 [15:03:03.314] 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 15:03:03 [15:03:03.315] 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":"0x0402601aba5de841ac9eb3100200986555eed9ed"}} 15:03:03 [15:03:03.321] WARN: foundation:version-manager Failed to read stored version information: Error: Failed to deserialize version information: [ 15:03:03 { 15:03:03 "code": "invalid_type", 15:03:03 "expected": "number", 15:03:03 "received": "undefined", 15:03:03 "path": [ 15:03:03 "schemaVersion" 15:03:03 ], 15:03:03 "message": "Required" 15:03:03 }, 15:03:03 { 15:03:03 "code": "invalid_type", 15:03:03 "expected": "string", 15:03:03 "received": "undefined", 15:03:03 "path": [ 15:03:03 "rollupAddress" 15:03:03 ], 15:03:03 "message": "Required" 15:03:03 } 15:03:03 ]. Defaulting to empty version 15:03:03 [15:03:03.321] 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":"0xd627c14ad15032d3715c2a7265059c0442a83663"}} 15:03:03 [15:03:03.326] INFO: foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=41,rollupAddress=0xc99f30960f2c8bf207d44ff6c76b9a6090ceb76c"} to DatabaseVersion{schemaVersion=42,rollupAddress=0xc99f30960f2c8bf207d44ff6c76b9a6090ceb76c"}. Resetting database at /tmp/aztec-version-test 15:03:03 [15:03:03.330] INFO: foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=43,rollupAddress=0xb98b8cc62fa32e3551745703f2fb0a879b710f4e"} to DatabaseVersion{schemaVersion=42,rollupAddress=0xb98b8cc62fa32e3551745703f2fb0a879b710f4e"}. Resetting database at /tmp/aztec-version-test 15:03:03 [15:03:03.334] INFO: foundation:version-manager Upgrading from version 41 to 42 15:03:03 [15:03:03.335] ERROR: foundation:version-manager Failed to upgrade: Error: Test: failed upgrade. Falling back to reset. 15:03:03 [15:03:03.343] WARN: foundation:version-manager Rollup address has changed, resetting data directory {"versionFile":"/tmp/aztec-version-test/db_version","storedVersion":{"schemaVersion":42,"rollupAddress":"0x3bae259dfcd41edf812fe29ebad4ffe0d898ab4d"},"currentVersion":{"schemaVersion":42,"rollupAddress":"0x93c23f088afdbeed037ac42a5eecd6f1688ccbc2"}} 15:03:03 [15:03:03.349] INFO: foundation:version-manager Upgrading from version 41 to 42 15:03:03 PASS src/database-version/version_manager.test.ts 15:03:03 VersionManager 15:03:03 open 15:03:03 upgrades the db (6 ms) 15:03:03 opens the db (4 ms) 15:03:03 resets the database 15:03:03 when no version file exists (16 ms) 15:03:03 when there's an fs error (12 ms) 15:03:03 when the version file is malformed (6 ms) 15:03:03 when the version file is malformed (4 ms) 15:03:03 when the version file is malformed (6 ms) 15:03:03 when there is no way to upgrade (4 ms) 15:03:03 when it's a downgrade (3 ms) 15:03:03 when the upgrade fails (5 ms) 15:03:03 when the rollup address changes (8 ms) 15:03:03 Version 15:03:03 should create an empty version (1 ms) 15:03:03 should serialize correctly (1 ms) 15:03:03 establishes a partial odering (1 ms) 15:03:03 15:03:03 Test Suites: 1 passed, 1 total 15:03:03 Tests: 14 passed, 14 total 15:03:03 Snapshots: 0 total 15:03:03 Time: 0.692 s 15:03:03 Ran all test suites matching /stdlib\/src\/database-version\/version_manager.test.ts/i. 15:03:03 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?