Parent Log: http://ci.aztec-labs.com/08d3995fcf33019a Command: ebf67495dae0c068 yarn-project/scripts/run_test.sh stdlib/src/database-version/version_manager.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/10badd24359b04680068afd9ca24407383374db1 Env: REF_NAME=gh-readonly-queue/next/pr-15019-7d223783d91db15002a09abc1b52d1455eb3e3da CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Mon Jun 16 11:07:25 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15019_amd64_x4-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_5562d7b7c50cca17_next 11:07:26 [11:07:26.732] WARN: foundation:version-manager Failed to read stored version information: Error: Test: file not found. Defaulting to empty version 11:07:26 [11:07:26.738] 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":"0xb8cc3106bd51b5178f0cb9a43719bbb6d85e8bf9"}} 11:07:26 [11:07:26.744] 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:07:26 [11:07:26.745] 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":"0xa52a8e6517d156c0cae7db8c9583caea18457b13"}} 11:07:26 [11:07:26.749] 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:07:26 [11:07:26.754] 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":"0x9a816ae79d6da8f311372787a9a55d3a9978af61"}} 11:07:26 [11:07:26.762] WARN: foundation:version-manager Failed to read stored version information: Error: Failed to deserialize version information: [ 11:07:26 { 11:07:26 "code": "invalid_type", 11:07:26 "expected": "number", 11:07:26 "received": "undefined", 11:07:26 "path": [ 11:07:26 "schemaVersion" 11:07:26 ], 11:07:26 "message": "Required" 11:07:26 }, 11:07:26 { 11:07:26 "code": "invalid_type", 11:07:26 "expected": "string", 11:07:26 "received": "undefined", 11:07:26 "path": [ 11:07:26 "rollupAddress" 11:07:26 ], 11:07:26 "message": "Required" 11:07:26 } 11:07:26 ]. Defaulting to empty version 11:07:26 [11:07:26.764] 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":"0x2f490ac06fd9e1b585ca0d5edb1ad502347977e1"}} 11:07:26 [11:07:26.771] INFO: foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=41,rollupAddress=0x924ed453bae3f3e2a862b8a5be90d9fa086b4e09"} to DatabaseVersion{schemaVersion=42,rollupAddress=0x924ed453bae3f3e2a862b8a5be90d9fa086b4e09"}. Resetting database at /tmp/aztec-version-test 11:07:26 [11:07:26.777] INFO: foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=43,rollupAddress=0x2632772b788da129c6d21db6175351db3895af39"} to DatabaseVersion{schemaVersion=42,rollupAddress=0x2632772b788da129c6d21db6175351db3895af39"}. Resetting database at /tmp/aztec-version-test 11:07:26 [11:07:26.783] INFO: foundation:version-manager Upgrading from version 41 to 42 11:07:26 [11:07:26.784] ERROR: foundation:version-manager Failed to upgrade: Error: Test: failed upgrade. Falling back to reset. 11:07:26 [11:07:26.790] WARN: foundation:version-manager Rollup address has changed, resetting data directory {"versionFile":"/tmp/aztec-version-test/db_version","storedVersion":{"schemaVersion":42,"rollupAddress":"0x3a686868eceb3c4bfd99036aebf8c707408b11d3"},"currentVersion":{"schemaVersion":42,"rollupAddress":"0x0e933b2a1f7b1d1ce3a167b75aa150bb9cc0ac13"}} 11:07:26 [11:07:26.797] INFO: foundation:version-manager Upgrading from version 41 to 42 11:07:26 PASS src/database-version/version_manager.test.ts 11:07:26 VersionManager 11:07:26 open 11:07:26 upgrades the db (6 ms) 11:07:26 opens the db (5 ms) 11:07:26 resets the database 11:07:26 when no version file exists (12 ms) 11:07:26 when there's an fs error (12 ms) 11:07:26 when the version file is malformed (5 ms) 11:07:26 when the version file is malformed (11 ms) 11:07:26 when the version file is malformed (10 ms) 11:07:26 when there is no way to upgrade (6 ms) 11:07:26 when it's a downgrade (6 ms) 11:07:26 when the upgrade fails (7 ms) 11:07:26 when the rollup address changes (7 ms) 11:07:26 Version 11:07:26 should create an empty version (1 ms) 11:07:26 should serialize correctly (1 ms) 11:07:26 establishes a partial odering (1 ms) 11:07:26 11:07:26 Test Suites: 1 passed, 1 total 11:07:26 Tests: 14 passed, 14 total 11:07:26 Snapshots: 0 total 11:07:26 Time: 0.744 s 11:07:26 Ran all test suites matching /stdlib\/src\/database-version\/version_manager.test.ts/i. 11:07:26 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?