Parent Log: http://ci.aztec-labs.com/057d5d7c01df7f9b Command: 7d3a4ee7e143e35a yarn-project/scripts/run_test.sh stdlib/src/database-version/version_manager.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/3b5835195491b53670250790b18c14d922718574 Env: REF_NAME=gh-readonly-queue/next/pr-15094-1542a83b8e029762e119474de1725d84a1aee3d2 CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Tue Jun 17 10:25:28 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15094_amd64_x1-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_5562d7b7c50cca17_next 10:25:30 [10:25:30.508] WARN: foundation:version-manager Failed to read stored version information: Error: Test: file not found. Defaulting to empty version 10:25:30 [10:25:30.513] 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":"0xbe061fcb71f5eb5dec8cac50ae0399b5ea40f6fe"}} 10:25:30 [10:25:30.518] 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 10:25:30 [10:25:30.518] 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":"0x90036472ba3130b48375aaed76ecaaaa43c5f3c2"}} 10:25:30 [10:25:30.521] 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 10:25:30 [10:25:30.522] 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":"0x82e5f47a56b434e376f08c4493a6a3c96cdf4fe8"}} 10:25:30 [10:25:30.526] WARN: foundation:version-manager Failed to read stored version information: Error: Failed to deserialize version information: [ 10:25:30 { 10:25:30 "code": "invalid_type", 10:25:30 "expected": "number", 10:25:30 "received": "undefined", 10:25:30 "path": [ 10:25:30 "schemaVersion" 10:25:30 ], 10:25:30 "message": "Required" 10:25:30 }, 10:25:30 { 10:25:30 "code": "invalid_type", 10:25:30 "expected": "string", 10:25:30 "received": "undefined", 10:25:30 "path": [ 10:25:30 "rollupAddress" 10:25:30 ], 10:25:30 "message": "Required" 10:25:30 } 10:25:30 ]. Defaulting to empty version 10:25:30 [10:25:30.527] 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":"0xd02010f724bf0d4caaddd7f05c29f20ed9f9f90a"}} 10:25:30 [10:25:30.530] INFO: foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=41,rollupAddress=0x2d8b497f5ffb5c3dc9f8e5226b6b2137c2c1a6c8"} to DatabaseVersion{schemaVersion=42,rollupAddress=0x2d8b497f5ffb5c3dc9f8e5226b6b2137c2c1a6c8"}. Resetting database at /tmp/aztec-version-test 10:25:30 [10:25:30.534] INFO: foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=43,rollupAddress=0xadcb6380c921d55b1a621a069903a0a1acd6b623"} to DatabaseVersion{schemaVersion=42,rollupAddress=0xadcb6380c921d55b1a621a069903a0a1acd6b623"}. Resetting database at /tmp/aztec-version-test 10:25:30 [10:25:30.537] INFO: foundation:version-manager Upgrading from version 41 to 42 10:25:30 [10:25:30.537] ERROR: foundation:version-manager Failed to upgrade: Error: Test: failed upgrade. Falling back to reset. 10:25:30 [10:25:30.540] WARN: foundation:version-manager Rollup address has changed, resetting data directory {"versionFile":"/tmp/aztec-version-test/db_version","storedVersion":{"schemaVersion":42,"rollupAddress":"0x90cdc5cf3cc096d4df03503f5fac22e0d4efa564"},"currentVersion":{"schemaVersion":42,"rollupAddress":"0x113070aec841daaf2c932a4d4a659e367d27a911"}} 10:25:30 [10:25:30.544] INFO: foundation:version-manager Upgrading from version 41 to 42 10:25:30 PASS src/database-version/version_manager.test.ts 10:25:30 VersionManager 10:25:30 open 10:25:30 upgrades the db (2 ms) 10:25:30 opens the db (1 ms) 10:25:30 resets the database 10:25:30 when no version file exists (8 ms) 10:25:30 when there's an fs error (9 ms) 10:25:30 when the version file is malformed (4 ms) 10:25:30 when the version file is malformed (3 ms) 10:25:30 when the version file is malformed (5 ms) 10:25:30 when there is no way to upgrade (3 ms) 10:25:30 when it's a downgrade (2 ms) 10:25:30 when the upgrade fails (3 ms) 10:25:30 when the rollup address changes (3 ms) 10:25:30 Version 10:25:30 should create an empty version 10:25:30 should serialize correctly (1 ms) 10:25:30 establishes a partial odering 10:25:30 10:25:30 Test Suites: 1 passed, 1 total 10:25:30 Tests: 14 passed, 14 total 10:25:30 Snapshots: 0 total 10:25:30 Time: 0.694 s 10:25:30 Ran all test suites matching stdlib/src/database-version/version_manager.test.ts. 10:25:30 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?