Parent Log: http://ci.aztec-labs.com/cb3dbbfc375fd172 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:54 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15039_amd64_x1-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_5562d7b7c50cca17_next 15:03:55 [15:03:55.924] WARN: foundation:version-manager Failed to read stored version information: Error: Test: file not found. Defaulting to empty version 15:03:55 [15:03:55.931] 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":"0x583205a2ce2fd7c736d7a92118e473ad3f46b5d7"}} 15:03:55 [15:03:55.938] 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:55 [15:03:55.939] 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":"0x69c5d62690836069cfc327fdfb777c9e5fb61ee1"}} 15:03:55 [15:03:55.945] 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:55 [15:03:55.946] 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":"0xa0e272bfcd98dac09f24f7f7184ea76122b7cd4c"}} 15:03:55 [15:03:55.953] WARN: foundation:version-manager Failed to read stored version information: Error: Failed to deserialize version information: [ 15:03:55 { 15:03:55 "code": "invalid_type", 15:03:55 "expected": "number", 15:03:55 "received": "undefined", 15:03:55 "path": [ 15:03:55 "schemaVersion" 15:03:55 ], 15:03:55 "message": "Required" 15:03:55 }, 15:03:55 { 15:03:55 "code": "invalid_type", 15:03:55 "expected": "string", 15:03:55 "received": "undefined", 15:03:55 "path": [ 15:03:55 "rollupAddress" 15:03:55 ], 15:03:55 "message": "Required" 15:03:55 } 15:03:55 ]. Defaulting to empty version 15:03:55 [15:03:55.954] 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":"0xeb2f5ce9aab171c0dd0215d8e164f3de3dd8215b"}} 15:03:55 [15:03:55.964] INFO: foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=41,rollupAddress=0xb4925aaebe2f615fc2af81a4bffe811e998fc879"} to DatabaseVersion{schemaVersion=42,rollupAddress=0xb4925aaebe2f615fc2af81a4bffe811e998fc879"}. Resetting database at /tmp/aztec-version-test 15:03:55 [15:03:55.969] INFO: foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=43,rollupAddress=0xfdd45ed94eb7c960b67311604706b3ff9756d3b6"} to DatabaseVersion{schemaVersion=42,rollupAddress=0xfdd45ed94eb7c960b67311604706b3ff9756d3b6"}. Resetting database at /tmp/aztec-version-test 15:03:55 [15:03:55.974] INFO: foundation:version-manager Upgrading from version 41 to 42 15:03:55 [15:03:55.975] ERROR: foundation:version-manager Failed to upgrade: Error: Test: failed upgrade. Falling back to reset. 15:03:55 [15:03:55.980] WARN: foundation:version-manager Rollup address has changed, resetting data directory {"versionFile":"/tmp/aztec-version-test/db_version","storedVersion":{"schemaVersion":42,"rollupAddress":"0x4e1d5975b4a892e3dc018168a84c771400dff865"},"currentVersion":{"schemaVersion":42,"rollupAddress":"0xbbdf5cd50084dcd341a790add7bffc00b56a2ea6"}} 15:03:55 [15:03:55.985] INFO: foundation:version-manager Upgrading from version 41 to 42 15:03:55 PASS src/database-version/version_manager.test.ts 15:03:55 VersionManager 15:03:55 open 15:03:55 upgrades the db (4 ms) 15:03:55 opens the db (3 ms) 15:03:55 resets the database 15:03:55 when no version file exists (21 ms) 15:03:55 when there's an fs error (13 ms) 15:03:55 when the version file is malformed (8 ms) 15:03:55 when the version file is malformed (5 ms) 15:03:55 when the version file is malformed (11 ms) 15:03:55 when there is no way to upgrade (6 ms) 15:03:55 when it's a downgrade (5 ms) 15:03:55 when the upgrade fails (5 ms) 15:03:55 when the rollup address changes (5 ms) 15:03:55 Version 15:03:55 should create an empty version (1 ms) 15:03:55 should serialize correctly (1 ms) 15:03:55 establishes a partial odering 15:03:55 15:03:56 Test Suites: 1 passed, 1 total 15:03:56 Tests: 14 passed, 14 total 15:03:56 Snapshots: 0 total 15:03:56 Time: 0.675 s 15:03:56 Ran all test suites matching /stdlib\/src\/database-version\/version_manager.test.ts/i. 15:03:56 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?