Parent Log: http://ci.aztec-labs.com/034b537ee44cd1a8 Command: 128a905c1f9c1691 yarn-project/scripts/run_test.sh stdlib/src/database-version/version_manager.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/76ca48a2187e3506bb464eae574e49476c2876ca Env: REF_NAME=gh-readonly-queue/next/pr-15045-9d6fb0bd1594726370a5f3a56591963452264642 CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Fri Jun 13 18:06:33 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15045_amd64_x3-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_5562d7b7c50cca17_next 18:06:35 [18:06:35.533] WARN: foundation:version-manager Failed to read stored version information: Error: Test: file not found. Defaulting to empty version 18:06:35 [18:06:35.541] 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":"0xd7ff0395af9f2770b6734eea0de9bb5ea858ed2d"}} 18:06:35 [18:06:35.550] 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 18:06:35 [18:06:35.550] 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":"0x8ff411f23001185d439243198429c17e0166db64"}} 18:06:35 [18:06:35.556] 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 18:06:35 [18:06:35.557] 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":"0xfd9fd9aa6e6afdd8f23b529d01d7814fe8ee85c7"}} 18:06:35 [18:06:35.562] WARN: foundation:version-manager Failed to read stored version information: Error: Failed to deserialize version information: [ 18:06:35 { 18:06:35 "code": "invalid_type", 18:06:35 "expected": "number", 18:06:35 "received": "undefined", 18:06:35 "path": [ 18:06:35 "schemaVersion" 18:06:35 ], 18:06:35 "message": "Required" 18:06:35 }, 18:06:35 { 18:06:35 "code": "invalid_type", 18:06:35 "expected": "string", 18:06:35 "received": "undefined", 18:06:35 "path": [ 18:06:35 "rollupAddress" 18:06:35 ], 18:06:35 "message": "Required" 18:06:35 } 18:06:35 ]. Defaulting to empty version 18:06:35 [18:06:35.562] 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":"0xfddf4271ae39ec5e86dbaffb283f11c95d2c661e"}} 18:06:35 [18:06:35.566] INFO: foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=41,rollupAddress=0xa44abd91653195621121463bc7133aee59eb687d"} to DatabaseVersion{schemaVersion=42,rollupAddress=0xa44abd91653195621121463bc7133aee59eb687d"}. Resetting database at /tmp/aztec-version-test 18:06:35 [18:06:35.574] INFO: foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=43,rollupAddress=0x9d74fbabf1f631452b68f4efd25bc22bf84590da"} to DatabaseVersion{schemaVersion=42,rollupAddress=0x9d74fbabf1f631452b68f4efd25bc22bf84590da"}. Resetting database at /tmp/aztec-version-test 18:06:35 [18:06:35.585] INFO: foundation:version-manager Upgrading from version 41 to 42 18:06:35 [18:06:35.587] ERROR: foundation:version-manager Failed to upgrade: Error: Test: failed upgrade. Falling back to reset. 18:06:35 [18:06:35.593] WARN: foundation:version-manager Rollup address has changed, resetting data directory {"versionFile":"/tmp/aztec-version-test/db_version","storedVersion":{"schemaVersion":42,"rollupAddress":"0x9ddb9da28d458ac18268e88cda4478fa0c4db156"},"currentVersion":{"schemaVersion":42,"rollupAddress":"0xacdbf89279dea3fd38081bdccc7f36edfadc07f3"}} 18:06:35 [18:06:35.599] INFO: foundation:version-manager Upgrading from version 41 to 42 18:06:35 PASS src/database-version/version_manager.test.ts 18:06:35 VersionManager 18:06:35 open 18:06:35 upgrades the db (4 ms) 18:06:35 opens the db (5 ms) 18:06:35 resets the database 18:06:35 when no version file exists (17 ms) 18:06:35 when there's an fs error (16 ms) 18:06:35 when the version file is malformed (8 ms) 18:06:35 when the version file is malformed (4 ms) 18:06:35 when the version file is malformed (5 ms) 18:06:35 when there is no way to upgrade (3 ms) 18:06:35 when it's a downgrade (11 ms) 18:06:35 when the upgrade fails (11 ms) 18:06:35 when the rollup address changes (6 ms) 18:06:35 Version 18:06:35 should create an empty version (1 ms) 18:06:35 should serialize correctly (2 ms) 18:06:35 establishes a partial odering (1 ms) 18:06:35 18:06:35 Test Suites: 1 passed, 1 total 18:06:35 Tests: 14 passed, 14 total 18:06:35 Snapshots: 0 total 18:06:35 Time: 0.754 s 18:06:35 Ran all test suites matching /stdlib\/src\/database-version\/version_manager.test.ts/i. 18:06:35 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?