Parent Log: http://ci.aztec-labs.com/2546558bc3925e4f Command: b895a7fa8f839b60 yarn-project/scripts/run_test.sh stdlib/src/database-version/version_manager.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/b80949775e5c27908a6055ad24592f7d98bdc45a Env: REF_NAME=gh-readonly-queue/next/pr-14816-fa159c5d52a45358479f951a547fed37f141a6ed CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Sat Jun 14 10:44:26 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-14816_amd64_x2-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_5562d7b7c50cca17_next 10:44:28 [10:44:28.443] WARN: foundation:version-manager Failed to read stored version information: Error: Test: file not found. Defaulting to empty version 10:44:28 [10:44:28.450] 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":"0xca98ea9187d54b03ca542b43b3ca5ad4719c25f6"}} 10:44:28 [10:44:28.457] 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 10:44:28 [10:44:28.457] 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":"0xaad4342611a81145d5dd24b42cf6cc49fceb17bf"}} 10:44:28 [10:44:28.462] 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 10:44:28 [10:44:28.462] 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":"0xc938061b7d9e29a0967f7503e618b74de648b239"}} 10:44:28 [10:44:28.469] WARN: foundation:version-manager Failed to read stored version information: Error: Failed to deserialize version information: [ 10:44:28 { 10:44:28 "code": "invalid_type", 10:44:28 "expected": "number", 10:44:28 "received": "undefined", 10:44:28 "path": [ 10:44:28 "schemaVersion" 10:44:28 ], 10:44:28 "message": "Required" 10:44:28 }, 10:44:28 { 10:44:28 "code": "invalid_type", 10:44:28 "expected": "string", 10:44:28 "received": "undefined", 10:44:28 "path": [ 10:44:28 "rollupAddress" 10:44:28 ], 10:44:28 "message": "Required" 10:44:28 } 10:44:28 ]. Defaulting to empty version 10:44:28 [10:44:28.469] 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":"0x617ebf59ce50073cfc4b0515f27f9c32d7f7264f"}} 10:44:28 [10:44:28.474] INFO: foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=41,rollupAddress=0xa83ef0389aedefb67f35b252543bf45484122dae"} to DatabaseVersion{schemaVersion=42,rollupAddress=0xa83ef0389aedefb67f35b252543bf45484122dae"}. Resetting database at /tmp/aztec-version-test 10:44:28 [10:44:28.477] INFO: foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=43,rollupAddress=0x9aee199395130cceafcd7b0c2fc6c83a6b86dfd6"} to DatabaseVersion{schemaVersion=42,rollupAddress=0x9aee199395130cceafcd7b0c2fc6c83a6b86dfd6"}. Resetting database at /tmp/aztec-version-test 10:44:28 [10:44:28.481] INFO: foundation:version-manager Upgrading from version 41 to 42 10:44:28 [10:44:28.481] ERROR: foundation:version-manager Failed to upgrade: Error: Test: failed upgrade. Falling back to reset. 10:44:28 [10:44:28.492] WARN: foundation:version-manager Rollup address has changed, resetting data directory {"versionFile":"/tmp/aztec-version-test/db_version","storedVersion":{"schemaVersion":42,"rollupAddress":"0x8020d0c226bb0db3f3abf5c62811caa5b73f1fc9"},"currentVersion":{"schemaVersion":42,"rollupAddress":"0x08b94816043e79f423b0c26679b75b975e9a37dd"}} 10:44:28 [10:44:28.502] INFO: foundation:version-manager Upgrading from version 41 to 42 10:44:28 PASS src/database-version/version_manager.test.ts 10:44:28 VersionManager 10:44:28 open 10:44:28 upgrades the db (7 ms) 10:44:28 opens the db (4 ms) 10:44:28 resets the database 10:44:28 when no version file exists (14 ms) 10:44:28 when there's an fs error (14 ms) 10:44:28 when the version file is malformed (4 ms) 10:44:28 when the version file is malformed (4 ms) 10:44:28 when the version file is malformed (7 ms) 10:44:28 when there is no way to upgrade (4 ms) 10:44:28 when it's a downgrade (4 ms) 10:44:28 when the upgrade fails (9 ms) 10:44:28 when the rollup address changes (9 ms) 10:44:28 Version 10:44:28 should create an empty version (1 ms) 10:44:28 should serialize correctly (1 ms) 10:44:28 establishes a partial odering (1 ms) 10:44:28 10:44:28 Test Suites: 1 passed, 1 total 10:44:28 Tests: 14 passed, 14 total 10:44:28 Snapshots: 0 total 10:44:28 Time: 0.729 s 10:44:28 Ran all test suites matching /stdlib\/src\/database-version\/version_manager.test.ts/i. 10:44:28 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?