Parent Log: http://ci.aztec-labs.com/3558fcb46aaa3f45 Command: dc9591c437eedcb5 yarn-project/scripts/run_test.sh stdlib/src/database-version/version_manager.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/42440bd429a3b283b3a344db0be4652d818bd261 Env: REF_NAME=gh-readonly-queue/next/pr-15046-2469b5f1633350f6be15733c04242af1cdc98227 CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Mon Jun 16 19:50:24 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15046_amd64_x3-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_5562d7b7c50cca17_next 19:50:26 [19:50:26.346] WARN: foundation:version-manager Failed to read stored version information: Error: Test: file not found. Defaulting to empty version 19:50:26 [19:50:26.350] 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":"0x4dcfc3d4df4078086a8ec13aaec284e678fb7f2d"}} 19:50:26 [19:50:26.354] 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 19:50:26 [19:50:26.355] 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":"0xf55c8edc846af46cf61de374227301ba2b3d6033"}} 19:50:26 [19:50:26.358] 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 19:50:26 [19:50:26.359] 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":"0x346c06c6e5f8c5ce629fa2bb76e8aceb26d9d983"}} 19:50:26 [19:50:26.364] WARN: foundation:version-manager Failed to read stored version information: Error: Failed to deserialize version information: [ 19:50:26 { 19:50:26 "code": "invalid_type", 19:50:26 "expected": "number", 19:50:26 "received": "undefined", 19:50:26 "path": [ 19:50:26 "schemaVersion" 19:50:26 ], 19:50:26 "message": "Required" 19:50:26 }, 19:50:26 { 19:50:26 "code": "invalid_type", 19:50:26 "expected": "string", 19:50:26 "received": "undefined", 19:50:26 "path": [ 19:50:26 "rollupAddress" 19:50:26 ], 19:50:26 "message": "Required" 19:50:26 } 19:50:26 ]. Defaulting to empty version 19:50:26 [19:50:26.364] 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":"0x824d1be709f51c138fd95bd0281272c8d2559ffa"}} 19:50:26 [19:50:26.368] INFO: foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=41,rollupAddress=0xdfb11c3e93eec95006044b0b5f1336447e55dac7"} to DatabaseVersion{schemaVersion=42,rollupAddress=0xdfb11c3e93eec95006044b0b5f1336447e55dac7"}. Resetting database at /tmp/aztec-version-test 19:50:26 [19:50:26.371] INFO: foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=43,rollupAddress=0xea1617f56b272f8d5ef4b62dd9e008d13bac8ba5"} to DatabaseVersion{schemaVersion=42,rollupAddress=0xea1617f56b272f8d5ef4b62dd9e008d13bac8ba5"}. Resetting database at /tmp/aztec-version-test 19:50:26 [19:50:26.374] INFO: foundation:version-manager Upgrading from version 41 to 42 19:50:26 [19:50:26.375] ERROR: foundation:version-manager Failed to upgrade: Error: Test: failed upgrade. Falling back to reset. 19:50:26 [19:50:26.377] WARN: foundation:version-manager Rollup address has changed, resetting data directory {"versionFile":"/tmp/aztec-version-test/db_version","storedVersion":{"schemaVersion":42,"rollupAddress":"0x18042637b68253f5af4d2ede5550448e96d13521"},"currentVersion":{"schemaVersion":42,"rollupAddress":"0xe0ab68013ca99ba96a8e0f08d6975b05cf2cdba0"}} 19:50:26 [19:50:26.381] INFO: foundation:version-manager Upgrading from version 41 to 42 19:50:26 PASS src/database-version/version_manager.test.ts 19:50:26 VersionManager 19:50:26 open 19:50:26 upgrades the db (5 ms) 19:50:26 opens the db (3 ms) 19:50:26 resets the database 19:50:26 when no version file exists (8 ms) 19:50:26 when there's an fs error (9 ms) 19:50:26 when the version file is malformed (4 ms) 19:50:26 when the version file is malformed (4 ms) 19:50:26 when the version file is malformed (5 ms) 19:50:26 when there is no way to upgrade (4 ms) 19:50:26 when it's a downgrade (3 ms) 19:50:26 when the upgrade fails (3 ms) 19:50:26 when the rollup address changes (3 ms) 19:50:26 Version 19:50:26 should create an empty version 19:50:26 should serialize correctly (2 ms) 19:50:26 establishes a partial odering (1 ms) 19:50:26 19:50:26 Test Suites: 1 passed, 1 total 19:50:26 Tests: 14 passed, 14 total 19:50:26 Snapshots: 0 total 19:50:26 Time: 0.756 s 19:50:26 Ran all test suites matching stdlib/src/database-version/version_manager.test.ts. 19:50:26 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?