Parent Log: http://ci.aztec-labs.com/f3d2a68fd552895c Command: 22a91bf956a4cb93 yarn-project/scripts/run_test.sh stdlib/src/database-version/version_manager.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/47bd93499e6606131b6ececa3536632cf5e84409 Env: REF_NAME=gh-readonly-queue/next/pr-15080-215be54ba7d05741f58f591612a9e5454104b24d CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Wed Jun 18 09:36:33 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15080_amd64_x3-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_5562d7b7c50cca17_next 09:36:34 [09:36:34.587] WARN: foundation:version-manager Failed to read stored version information: Error: Test: file not found. Defaulting to empty version 09:36:34 [09:36:34.596] 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":"0xa525bcc383aed9b2db70573eb71c56f4d67d6df1"}} 09:36:34 [09:36:34.606] 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 09:36:34 [09:36:34.606] 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":"0x4108118e30e9da68efbefccc5ece719d41940e53"}} 09:36:34 [09:36:34.610] 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 09:36:34 [09:36:34.611] 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":"0x6ffdb09b820ee95ed219b4e7f2bb19496f25f719"}} 09:36:34 [09:36:34.616] WARN: foundation:version-manager Failed to read stored version information: Error: Failed to deserialize version information: [ 09:36:34 { 09:36:34 "code": "invalid_type", 09:36:34 "expected": "number", 09:36:34 "received": "undefined", 09:36:34 "path": [ 09:36:34 "schemaVersion" 09:36:34 ], 09:36:34 "message": "Required" 09:36:34 }, 09:36:34 { 09:36:34 "code": "invalid_type", 09:36:34 "expected": "string", 09:36:34 "received": "undefined", 09:36:34 "path": [ 09:36:34 "rollupAddress" 09:36:34 ], 09:36:34 "message": "Required" 09:36:34 } 09:36:34 ]. Defaulting to empty version 09:36:34 [09:36:34.618] 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":"0xf1e539dd0fe2778ee304a497761a71b851f888ef"}} 09:36:34 [09:36:34.622] INFO: foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=41,rollupAddress=0xe33f94e4e01a54e30abdb51c615c77b98b5ddcb5"} to DatabaseVersion{schemaVersion=42,rollupAddress=0xe33f94e4e01a54e30abdb51c615c77b98b5ddcb5"}. Resetting database at /tmp/aztec-version-test 09:36:34 [09:36:34.625] INFO: foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=43,rollupAddress=0xff1b742a4701493d40d5627fa8f377282ad29bca"} to DatabaseVersion{schemaVersion=42,rollupAddress=0xff1b742a4701493d40d5627fa8f377282ad29bca"}. Resetting database at /tmp/aztec-version-test 09:36:34 [09:36:34.629] INFO: foundation:version-manager Upgrading from version 41 to 42 09:36:34 [09:36:34.630] ERROR: foundation:version-manager Failed to upgrade: Error: Test: failed upgrade. Falling back to reset. 09:36:34 [09:36:34.634] WARN: foundation:version-manager Rollup address has changed, resetting data directory {"versionFile":"/tmp/aztec-version-test/db_version","storedVersion":{"schemaVersion":42,"rollupAddress":"0xab4337b76ef70c46abe05005a60c1ed4e228f444"},"currentVersion":{"schemaVersion":42,"rollupAddress":"0xd77a00fa5b3f28c5484d0d59d462b262b5960361"}} 09:36:34 [09:36:34.638] INFO: foundation:version-manager Upgrading from version 41 to 42 09:36:34 PASS src/database-version/version_manager.test.ts 09:36:34 VersionManager 09:36:34 open 09:36:34 upgrades the db (4 ms) 09:36:34 opens the db (2 ms) 09:36:34 resets the database 09:36:34 when no version file exists (6 ms) 09:36:34 when there's an fs error (13 ms) 09:36:34 when the version file is malformed (9 ms) 09:36:34 when the version file is malformed (4 ms) 09:36:34 when the version file is malformed (7 ms) 09:36:34 when there is no way to upgrade (3 ms) 09:36:34 when it's a downgrade (3 ms) 09:36:34 when the upgrade fails (4 ms) 09:36:34 when the rollup address changes (3 ms) 09:36:34 Version 09:36:34 should create an empty version (1 ms) 09:36:34 should serialize correctly (1 ms) 09:36:34 establishes a partial odering 09:36:34 09:36:34 Test Suites: 1 passed, 1 total 09:36:34 Tests: 14 passed, 14 total 09:36:34 Snapshots: 0 total 09:36:34 Time: 0.587 s 09:36:34 Ran all test suites matching stdlib/src/database-version/version_manager.test.ts. 09:36:34 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?