Parent Log: http://ci.aztec-labs.com/14599c7f9b5e088f Command: 736bd65c2c998997 yarn-project/scripts/run_test.sh stdlib/src/database-version/version_manager.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/2b96419831503435fa46a83dc2e2b7ba19109d0f Env: REF_NAME=gh-readonly-queue/next/pr-15229-af094bce13530e078c78de9f3264280e6693d533 CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Tue Jun 24 08:40:30 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15229_amd64_x1-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_5562d7b7c50cca17_next 08:40:31 [08:40:31.591] WARN: foundation:version-manager Failed to read stored version information: Error: Test: file not found. Defaulting to empty version 08:40:31 [08:40:31.596] 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":"0x3da87d5040a09544f4a10a83200037f5b7a5257b"}} 08:40:31 [08:40:31.603] 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 08:40:31 [08:40:31.604] 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":"0x2cfd56b9df7cd5e5b012048f0cd70d680705b7ad"}} 08:40:31 [08:40:31.608] 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 08:40:31 [08:40:31.609] 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":"0xa08ed1f2bbe5a9235a027301722f907bf809a872"}} 08:40:31 [08:40:31.618] WARN: foundation:version-manager Failed to read stored version information: Error: Failed to deserialize version information: [ 08:40:31 { 08:40:31 "code": "invalid_type", 08:40:31 "expected": "number", 08:40:31 "received": "undefined", 08:40:31 "path": [ 08:40:31 "schemaVersion" 08:40:31 ], 08:40:31 "message": "Required" 08:40:31 }, 08:40:31 { 08:40:31 "code": "invalid_type", 08:40:31 "expected": "string", 08:40:31 "received": "undefined", 08:40:31 "path": [ 08:40:31 "rollupAddress" 08:40:31 ], 08:40:31 "message": "Required" 08:40:31 } 08:40:31 ]. Defaulting to empty version 08:40:31 [08:40:31.619] 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":"0xc195ec017e02ed269af0a57957f78fb918af7b81"}} 08:40:31 [08:40:31.625] INFO: foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=41,rollupAddress=0x5dc01ca21517b825105fdc96f90c9a36f13d417e"} to DatabaseVersion{schemaVersion=42,rollupAddress=0x5dc01ca21517b825105fdc96f90c9a36f13d417e"}. Resetting database at /tmp/aztec-version-test 08:40:31 [08:40:31.629] INFO: foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=43,rollupAddress=0xe8ca1bb6a8c309878075c71bf67f546e640fac65"} to DatabaseVersion{schemaVersion=42,rollupAddress=0xe8ca1bb6a8c309878075c71bf67f546e640fac65"}. Resetting database at /tmp/aztec-version-test 08:40:31 [08:40:31.632] INFO: foundation:version-manager Upgrading from version 41 to 42 08:40:31 [08:40:31.633] ERROR: foundation:version-manager Failed to upgrade: Error: Test: failed upgrade. Falling back to reset. 08:40:31 [08:40:31.636] WARN: foundation:version-manager Rollup address has changed, resetting data directory {"versionFile":"/tmp/aztec-version-test/db_version","storedVersion":{"schemaVersion":42,"rollupAddress":"0x9b0ddfff5f63b717a7d08f640b6061cad14e74b0"},"currentVersion":{"schemaVersion":42,"rollupAddress":"0x9f365e5a1e02fb69f5f987bc25e8f1d231817bd5"}} 08:40:31 [08:40:31.640] INFO: foundation:version-manager Upgrading from version 41 to 42 08:40:31 PASS src/database-version/version_manager.test.ts 08:40:31 VersionManager 08:40:31 open 08:40:31 upgrades the db (3 ms) 08:40:31 opens the db (2 ms) 08:40:31 resets the database 08:40:31 when no version file exists (9 ms) 08:40:31 when there's an fs error (11 ms) 08:40:31 when the version file is malformed (5 ms) 08:40:31 when the version file is malformed (4 ms) 08:40:31 when the version file is malformed (11 ms) 08:40:31 when there is no way to upgrade (5 ms) 08:40:31 when it's a downgrade (3 ms) 08:40:31 when the upgrade fails (4 ms) 08:40:31 when the rollup address changes (4 ms) 08:40:31 Version 08:40:31 should create an empty version (1 ms) 08:40:31 should serialize correctly (1 ms) 08:40:31 establishes a partial odering (1 ms) 08:40:31 08:40:31 Test Suites: 1 passed, 1 total 08:40:31 Tests: 14 passed, 14 total 08:40:31 Snapshots: 0 total 08:40:31 Time: 0.602 s 08:40:31 Ran all test suites matching stdlib/src/database-version/version_manager.test.ts. 08:40:31 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?