Parent Log: http://ci.aztec-labs.com/182784f95254e63d Command: fb52012d377692f9 yarn-project/scripts/run_test.sh stdlib/src/database-version/version_manager.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/1e338a3fb2e2077f1feaee8b86c42644ff8a5352 Env: REF_NAME=gh-readonly-queue/next/pr-15075-fa4d5ef48c8de52059b5658bbd42e4514386f7db CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Mon Jun 16 16:42:42 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15075_amd64_x1-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_5562d7b7c50cca17_next 16:42:44 [16:42:44.435] WARN: foundation:version-manager Failed to read stored version information: Error: Test: file not found. Defaulting to empty version 16:42:44 [16:42:44.439] 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":"0x4e875f84e9a9fcd6ef97b3b20e2eb9a2a8e97c97"}} 16:42:44 [16:42:44.443] 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 16:42:44 [16:42:44.443] 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":"0x081c25f7e701e7cda8a53bf2c7b00cdff29791a8"}} 16:42:44 [16:42:44.446] 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 16:42:44 [16:42:44.446] 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":"0x836c3ed95d6430004a77d30d20e23cb9159f63b4"}} 16:42:44 [16:42:44.450] WARN: foundation:version-manager Failed to read stored version information: Error: Failed to deserialize version information: [ 16:42:44 { 16:42:44 "code": "invalid_type", 16:42:44 "expected": "number", 16:42:44 "received": "undefined", 16:42:44 "path": [ 16:42:44 "schemaVersion" 16:42:44 ], 16:42:44 "message": "Required" 16:42:44 }, 16:42:44 { 16:42:44 "code": "invalid_type", 16:42:44 "expected": "string", 16:42:44 "received": "undefined", 16:42:44 "path": [ 16:42:44 "rollupAddress" 16:42:44 ], 16:42:44 "message": "Required" 16:42:44 } 16:42:44 ]. Defaulting to empty version 16:42:44 [16:42:44.450] 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":"0xb1bfe72578f3f726e793710d3bfd4ca2213767a2"}} 16:42:44 [16:42:44.453] INFO: foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=41,rollupAddress=0x6627170cbf13e79358d14ecacb4554a36db43471"} to DatabaseVersion{schemaVersion=42,rollupAddress=0x6627170cbf13e79358d14ecacb4554a36db43471"}. Resetting database at /tmp/aztec-version-test 16:42:44 [16:42:44.456] INFO: foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=43,rollupAddress=0x8f43c982e3f9894545f6d500796dd5da090297b9"} to DatabaseVersion{schemaVersion=42,rollupAddress=0x8f43c982e3f9894545f6d500796dd5da090297b9"}. Resetting database at /tmp/aztec-version-test 16:42:44 [16:42:44.458] INFO: foundation:version-manager Upgrading from version 41 to 42 16:42:44 [16:42:44.458] ERROR: foundation:version-manager Failed to upgrade: Error: Test: failed upgrade. Falling back to reset. 16:42:44 [16:42:44.461] WARN: foundation:version-manager Rollup address has changed, resetting data directory {"versionFile":"/tmp/aztec-version-test/db_version","storedVersion":{"schemaVersion":42,"rollupAddress":"0xa927bca1f4e99e4c6f7b9ee2c9a29dc2c91c7897"},"currentVersion":{"schemaVersion":42,"rollupAddress":"0xbc80bb83476a841df41f605afd43a7f806387e73"}} 16:42:44 [16:42:44.463] INFO: foundation:version-manager Upgrading from version 41 to 42 16:42:44 PASS src/database-version/version_manager.test.ts 16:42:44 VersionManager 16:42:44 open 16:42:44 upgrades the db (2 ms) 16:42:44 opens the db (1 ms) 16:42:44 resets the database 16:42:44 when no version file exists (7 ms) 16:42:44 when there's an fs error (7 ms) 16:42:44 when the version file is malformed (3 ms) 16:42:44 when the version file is malformed (2 ms) 16:42:44 when the version file is malformed (3 ms) 16:42:44 when there is no way to upgrade (2 ms) 16:42:44 when it's a downgrade (2 ms) 16:42:44 when the upgrade fails (3 ms) 16:42:44 when the rollup address changes (2 ms) 16:42:44 Version 16:42:44 should create an empty version 16:42:44 should serialize correctly (1 ms) 16:42:44 establishes a partial odering 16:42:44 16:42:44 Test Suites: 1 passed, 1 total 16:42:44 Tests: 14 passed, 14 total 16:42:44 Snapshots: 0 total 16:42:44 Time: 0.681 s 16:42:44 Ran all test suites matching stdlib/src/database-version/version_manager.test.ts. 16:42:44 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?