Parent Log: http://ci.aztec-labs.com/e6ca5c92d453aa5e Command: 7036b634d1ccdbba yarn-project/scripts/run_test.sh stdlib/src/database-version/version_manager.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/b6c045c8e9bbe748f5441bd1e65a9beeb9c62e73 Env: REF_NAME=gh-readonly-queue/next/pr-15067-24972303091baff6f83c6389d7d1406c932357e9 CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Tue Jun 17 14:19:27 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15067_amd64_x1-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_5562d7b7c50cca17_next 14:19:29 [14:19:29.467] WARN: foundation:version-manager Failed to read stored version information: Error: Test: file not found. Defaulting to empty version 14:19:29 [14:19:29.474] 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":"0xb1ee0f0f8bdc61e7f18edaf3f159daece897c402"}} 14:19:29 [14:19:29.481] 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 14:19:29 [14:19:29.482] 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":"0x37b820817630caa0b8651136b4348bcf8702ad9f"}} 14:19:29 [14:19:29.486] 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 14:19:29 [14:19:29.487] 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":"0xab87ad26058a9059d08a5d080dc48408c0e45118"}} 14:19:29 [14:19:29.494] WARN: foundation:version-manager Failed to read stored version information: Error: Failed to deserialize version information: [ 14:19:29 { 14:19:29 "code": "invalid_type", 14:19:29 "expected": "number", 14:19:29 "received": "undefined", 14:19:29 "path": [ 14:19:29 "schemaVersion" 14:19:29 ], 14:19:29 "message": "Required" 14:19:29 }, 14:19:29 { 14:19:29 "code": "invalid_type", 14:19:29 "expected": "string", 14:19:29 "received": "undefined", 14:19:29 "path": [ 14:19:29 "rollupAddress" 14:19:29 ], 14:19:29 "message": "Required" 14:19:29 } 14:19:29 ]. Defaulting to empty version 14:19:29 [14:19:29.495] 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":"0x518a78dce5da4d95681973f239390dccc51abec4"}} 14:19:29 [14:19:29.500] INFO: foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=41,rollupAddress=0x547b2b898f17eba648653763c9a3a04727adaf17"} to DatabaseVersion{schemaVersion=42,rollupAddress=0x547b2b898f17eba648653763c9a3a04727adaf17"}. Resetting database at /tmp/aztec-version-test 14:19:29 [14:19:29.504] INFO: foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=43,rollupAddress=0xc7ed3e9e86eca0c8c1576cf2a55e81f5c7d6dd3d"} to DatabaseVersion{schemaVersion=42,rollupAddress=0xc7ed3e9e86eca0c8c1576cf2a55e81f5c7d6dd3d"}. Resetting database at /tmp/aztec-version-test 14:19:29 [14:19:29.507] INFO: foundation:version-manager Upgrading from version 41 to 42 14:19:29 [14:19:29.508] ERROR: foundation:version-manager Failed to upgrade: Error: Test: failed upgrade. Falling back to reset. 14:19:29 [14:19:29.511] WARN: foundation:version-manager Rollup address has changed, resetting data directory {"versionFile":"/tmp/aztec-version-test/db_version","storedVersion":{"schemaVersion":42,"rollupAddress":"0x6845e6cd3c17d46cfd347565e9b1a0b28f78afc0"},"currentVersion":{"schemaVersion":42,"rollupAddress":"0x808a024270b3b0f0e2cd65664121df8530042943"}} 14:19:29 [14:19:29.515] INFO: foundation:version-manager Upgrading from version 41 to 42 14:19:29 PASS src/database-version/version_manager.test.ts 14:19:29 VersionManager 14:19:29 open 14:19:29 upgrades the db (3 ms) 14:19:29 opens the db (1 ms) 14:19:29 resets the database 14:19:29 when no version file exists (18 ms) 14:19:29 when there's an fs error (12 ms) 14:19:29 when the version file is malformed (5 ms) 14:19:29 when the version file is malformed (6 ms) 14:19:29 when the version file is malformed (6 ms) 14:19:29 when there is no way to upgrade (4 ms) 14:19:29 when it's a downgrade (4 ms) 14:19:29 when the upgrade fails (3 ms) 14:19:29 when the rollup address changes (3 ms) 14:19:29 Version 14:19:29 should create an empty version 14:19:29 should serialize correctly (1 ms) 14:19:29 establishes a partial odering 14:19:29 14:19:29 Test Suites: 1 passed, 1 total 14:19:29 Tests: 14 passed, 14 total 14:19:29 Snapshots: 0 total 14:19:29 Time: 0.793 s 14:19:29 Ran all test suites matching stdlib/src/database-version/version_manager.test.ts. 14:19:29 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?