Parent Log: http://ci.aztec-labs.com/820a0bb63168d9da Command: b895a7fa8f839b60 yarn-project/scripts/run_test.sh stdlib/src/database-version/version_manager.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/408ec6f57f38faf5e1dbdf7712a82e2e1112be2c Env: REF_NAME=release-please--branches--next CURRENT_VERSION=0.88.0 CI_FULL=0 Date: Sat Jun 14 11:24:44 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=release-please--branches--next_amd64 Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_5562d7b7c50cca17_next 11:24:45 [11:24:45.821] WARN: foundation:version-manager Failed to read stored version information: Error: Test: file not found. Defaulting to empty version 11:24:45 [11:24:45.825] 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":"0xbacc4fb347b6718073529a24123be8a27d803fb1"}} 11:24:45 [11:24:45.830] 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:24:45 [11:24:45.830] 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":"0xaa22e9751c0c1f6df5eb5e42807f02a371a58fb9"}} 11:24:45 [11:24:45.834] 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:24:45 [11:24:45.835] 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":"0x444ce0366919f8d516a180fef9bfe050fcc608e1"}} 11:24:45 [11:24:45.839] WARN: foundation:version-manager Failed to read stored version information: Error: Failed to deserialize version information: [ 11:24:45 { 11:24:45 "code": "invalid_type", 11:24:45 "expected": "number", 11:24:45 "received": "undefined", 11:24:45 "path": [ 11:24:45 "schemaVersion" 11:24:45 ], 11:24:45 "message": "Required" 11:24:45 }, 11:24:45 { 11:24:45 "code": "invalid_type", 11:24:45 "expected": "string", 11:24:45 "received": "undefined", 11:24:45 "path": [ 11:24:45 "rollupAddress" 11:24:45 ], 11:24:45 "message": "Required" 11:24:45 } 11:24:45 ]. Defaulting to empty version 11:24:45 [11:24:45.840] 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":"0x8e6671142da04cac9b631e397b4f7685aa10b0cc"}} 11:24:45 [11:24:45.844] INFO: foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=41,rollupAddress=0x38f636ae611592932d208ad59204e5e4d8da2921"} to DatabaseVersion{schemaVersion=42,rollupAddress=0x38f636ae611592932d208ad59204e5e4d8da2921"}. Resetting database at /tmp/aztec-version-test 11:24:45 [11:24:45.847] INFO: foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=43,rollupAddress=0xaaa0cbef2f880c97a050f502dbf76e4baeaaf141"} to DatabaseVersion{schemaVersion=42,rollupAddress=0xaaa0cbef2f880c97a050f502dbf76e4baeaaf141"}. Resetting database at /tmp/aztec-version-test 11:24:45 [11:24:45.850] INFO: foundation:version-manager Upgrading from version 41 to 42 11:24:45 [11:24:45.851] ERROR: foundation:version-manager Failed to upgrade: Error: Test: failed upgrade. Falling back to reset. 11:24:45 [11:24:45.853] WARN: foundation:version-manager Rollup address has changed, resetting data directory {"versionFile":"/tmp/aztec-version-test/db_version","storedVersion":{"schemaVersion":42,"rollupAddress":"0xcaab6de301b2248793d9c342ccd45fc0b412d7ad"},"currentVersion":{"schemaVersion":42,"rollupAddress":"0x709eecf90a98235c42680f1f99df056ff69495b6"}} 11:24:45 [11:24:45.856] INFO: foundation:version-manager Upgrading from version 41 to 42 11:24:45 PASS src/database-version/version_manager.test.ts 11:24:45 VersionManager 11:24:45 open 11:24:45 upgrades the db (3 ms) 11:24:45 opens the db (2 ms) 11:24:45 resets the database 11:24:45 when no version file exists (8 ms) 11:24:45 when there's an fs error (8 ms) 11:24:45 when the version file is malformed (4 ms) 11:24:45 when the version file is malformed (4 ms) 11:24:45 when the version file is malformed (5 ms) 11:24:45 when there is no way to upgrade (4 ms) 11:24:45 when it's a downgrade (3 ms) 11:24:45 when the upgrade fails (3 ms) 11:24:45 when the rollup address changes (3 ms) 11:24:45 Version 11:24:45 should create an empty version 11:24:45 should serialize correctly 11:24:45 establishes a partial odering (1 ms) 11:24:45 11:24:45 Test Suites: 1 passed, 1 total 11:24:45 Tests: 14 passed, 14 total 11:24:45 Snapshots: 0 total 11:24:45 Time: 0.553 s 11:24:45 Ran all test suites matching /stdlib\/src\/database-version\/version_manager.test.ts/i. 11:24:45 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?