Parent Log: http://ci.aztec-labs.com/d240895a55e41983 Command: 53eb328a1446f762 yarn-project/scripts/run_test.sh stdlib/src/database-version/version_manager.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/a48851a8c6884f4b9615a154f8862a549722d25e Env: REF_NAME=gh-readonly-queue/next/pr-14680-3b5835195491b53670250790b18c14d922718574 CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Tue Jun 17 11:29:26 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-14680_amd64_x1-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_5562d7b7c50cca17_next 11:29:28 [11:29:28.094] WARN: foundation:version-manager Failed to read stored version information: Error: Test: file not found. Defaulting to empty version 11:29:28 [11:29:28.100] 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":"0x3519524bf4c9035bbff33bff2f1c4ea0c8c126fe"}} 11:29:28 [11:29:28.105] 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 11:29:28 [11:29:28.105] 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":"0x013efc42be10981e6916f88395a5080a339a4aa0"}} 11:29:28 [11:29:28.108] 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 11:29:28 [11:29:28.109] 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":"0xa0f336436cdbee234ad3fd5e793538293ca4a2c1"}} 11:29:28 [11:29:28.113] WARN: foundation:version-manager Failed to read stored version information: Error: Failed to deserialize version information: [ 11:29:28 { 11:29:28 "code": "invalid_type", 11:29:28 "expected": "number", 11:29:28 "received": "undefined", 11:29:28 "path": [ 11:29:28 "schemaVersion" 11:29:28 ], 11:29:28 "message": "Required" 11:29:28 }, 11:29:28 { 11:29:28 "code": "invalid_type", 11:29:28 "expected": "string", 11:29:28 "received": "undefined", 11:29:28 "path": [ 11:29:28 "rollupAddress" 11:29:28 ], 11:29:28 "message": "Required" 11:29:28 } 11:29:28 ]. Defaulting to empty version 11:29:28 [11:29:28.113] 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":"0x97ad1bf45ba17757a33b4c3d92211c5e78659798"}} 11:29:28 [11:29:28.116] INFO: foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=41,rollupAddress=0xe83adbc06313300d0d00896d79c8610c5394208b"} to DatabaseVersion{schemaVersion=42,rollupAddress=0xe83adbc06313300d0d00896d79c8610c5394208b"}. Resetting database at /tmp/aztec-version-test 11:29:28 [11:29:28.119] INFO: foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=43,rollupAddress=0x662f722b620d9693a6ecd42ada4252c67b2bb57a"} to DatabaseVersion{schemaVersion=42,rollupAddress=0x662f722b620d9693a6ecd42ada4252c67b2bb57a"}. Resetting database at /tmp/aztec-version-test 11:29:28 [11:29:28.121] INFO: foundation:version-manager Upgrading from version 41 to 42 11:29:28 [11:29:28.122] ERROR: foundation:version-manager Failed to upgrade: Error: Test: failed upgrade. Falling back to reset. 11:29:28 [11:29:28.124] WARN: foundation:version-manager Rollup address has changed, resetting data directory {"versionFile":"/tmp/aztec-version-test/db_version","storedVersion":{"schemaVersion":42,"rollupAddress":"0x1028f77461ca9e327e8298cd541cdfe61b29c752"},"currentVersion":{"schemaVersion":42,"rollupAddress":"0x6dcf45e03e0211be1c0b9eeaa147b0965cb59dd8"}} 11:29:28 [11:29:28.127] INFO: foundation:version-manager Upgrading from version 41 to 42 11:29:28 PASS src/database-version/version_manager.test.ts 11:29:28 VersionManager 11:29:28 open 11:29:28 upgrades the db (2 ms) 11:29:28 opens the db (2 ms) 11:29:28 resets the database 11:29:28 when no version file exists (10 ms) 11:29:28 when there's an fs error (9 ms) 11:29:28 when the version file is malformed (4 ms) 11:29:28 when the version file is malformed (3 ms) 11:29:28 when the version file is malformed (4 ms) 11:29:28 when there is no way to upgrade (2 ms) 11:29:28 when it's a downgrade (2 ms) 11:29:28 when the upgrade fails (3 ms) 11:29:28 when the rollup address changes (2 ms) 11:29:28 Version 11:29:28 should create an empty version 11:29:28 should serialize correctly (1 ms) 11:29:28 establishes a partial odering (1 ms) 11:29:28 11:29:28 Test Suites: 1 passed, 1 total 11:29:28 Tests: 14 passed, 14 total 11:29:28 Snapshots: 0 total 11:29:28 Time: 0.755 s 11:29:28 Ran all test suites matching stdlib/src/database-version/version_manager.test.ts. 11:29:28 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?