Parent Log: http://ci.aztec-labs.com/956d98f80dd95e7b Command: f803628267cda2b6 yarn-project/scripts/run_test.sh stdlib/src/database-version/version_manager.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/21a568ac0c9ef351b1923375be41d4620add2b60 Env: REF_NAME=gh-readonly-queue/next/pr-15042-b80949775e5c27908a6055ad24592f7d98bdc45a CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Sun Jun 15 12:35:33 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15042_amd64_x2-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_5562d7b7c50cca17_next 12:35:34 [12:35:34.925] WARN: foundation:version-manager Failed to read stored version information: Error: Test: file not found. Defaulting to empty version 12:35:34 [12:35:34.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":"0x8cdf8b6dd8bcc14af8bd7bc5355f24b85f6ca842"}} 12:35:34 [12:35:34.937] 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 12:35:34 [12:35:34.937] 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":"0x532478172276125c2d9ca9cc1aa0c794303fc1ba"}} 12:35:34 [12:35:34.943] 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 12:35:34 [12:35:34.944] 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":"0x30a34cf42de4e8e254cb7d5564a8306f9702a9f8"}} 12:35:34 [12:35:34.950] WARN: foundation:version-manager Failed to read stored version information: Error: Failed to deserialize version information: [ 12:35:34 { 12:35:34 "code": "invalid_type", 12:35:34 "expected": "number", 12:35:34 "received": "undefined", 12:35:34 "path": [ 12:35:34 "schemaVersion" 12:35:34 ], 12:35:34 "message": "Required" 12:35:34 }, 12:35:34 { 12:35:34 "code": "invalid_type", 12:35:34 "expected": "string", 12:35:34 "received": "undefined", 12:35:34 "path": [ 12:35:34 "rollupAddress" 12:35:34 ], 12:35:34 "message": "Required" 12:35:34 } 12:35:34 ]. Defaulting to empty version 12:35:34 [12:35:34.950] 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":"0x3150953e716d54c50017ad92168745da7267f319"}} 12:35:34 [12:35:34.955] INFO: foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=41,rollupAddress=0x35a3e8eae1ad87d8b610cc1cc96347a81187cc41"} to DatabaseVersion{schemaVersion=42,rollupAddress=0x35a3e8eae1ad87d8b610cc1cc96347a81187cc41"}. Resetting database at /tmp/aztec-version-test 12:35:34 [12:35:34.962] INFO: foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=43,rollupAddress=0x4a051462f0efbfc105c7d9798dc9a75591ab28d6"} to DatabaseVersion{schemaVersion=42,rollupAddress=0x4a051462f0efbfc105c7d9798dc9a75591ab28d6"}. Resetting database at /tmp/aztec-version-test 12:35:34 [12:35:34.967] INFO: foundation:version-manager Upgrading from version 41 to 42 12:35:34 [12:35:34.968] ERROR: foundation:version-manager Failed to upgrade: Error: Test: failed upgrade. Falling back to reset. 12:35:34 [12:35:34.973] WARN: foundation:version-manager Rollup address has changed, resetting data directory {"versionFile":"/tmp/aztec-version-test/db_version","storedVersion":{"schemaVersion":42,"rollupAddress":"0x0796b1c9796c51546f42deda55917d5a270d9814"},"currentVersion":{"schemaVersion":42,"rollupAddress":"0x90ac8ee8b93795dbd08edfc0b755b99a9c85ddf1"}} 12:35:34 [12:35:34.978] INFO: foundation:version-manager Upgrading from version 41 to 42 12:35:34 PASS src/database-version/version_manager.test.ts 12:35:34 VersionManager 12:35:34 open 12:35:34 upgrades the db (4 ms) 12:35:34 opens the db (3 ms) 12:35:34 resets the database 12:35:34 when no version file exists (13 ms) 12:35:34 when there's an fs error (12 ms) 12:35:34 when the version file is malformed (7 ms) 12:35:34 when the version file is malformed (5 ms) 12:35:34 when the version file is malformed (6 ms) 12:35:34 when there is no way to upgrade (6 ms) 12:35:34 when it's a downgrade (5 ms) 12:35:34 when the upgrade fails (4 ms) 12:35:34 when the rollup address changes (5 ms) 12:35:34 Version 12:35:34 should create an empty version (1 ms) 12:35:34 should serialize correctly (1 ms) 12:35:34 establishes a partial odering (1 ms) 12:35:34 12:35:35 Test Suites: 1 passed, 1 total 12:35:35 Tests: 14 passed, 14 total 12:35:35 Snapshots: 0 total 12:35:35 Time: 0.73 s 12:35:35 Ran all test suites matching /stdlib\/src\/database-version\/version_manager.test.ts/i. 12:35:35 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?