Parent Log: http://ci.aztec-labs.com/e954658c18809c99 Command: 68e9475192d7aeac yarn-project/scripts/run_test.sh stdlib/src/database-version/version_manager.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/f495236d35f9bb0d1086b7ec79256c2c2b7c98b8 Env: REF_NAME=gh-readonly-queue/staging/pr-15201-f0619dd82429a5973f3e1da8d7eb0877264908e3 CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Sat Jun 21 13:20:37 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15201_amd64_x2-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_5562d7b7c50cca17_staging 13:20:38 [13:20:38.667] WARN: foundation:version-manager Failed to read stored version information: Error: Test: file not found. Defaulting to empty version 13:20:38 [13:20:38.673] 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":"0x512f512b932d01140f1cca963ecb9b38ab977267"}} 13:20:38 [13:20:38.678] 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 13:20:38 [13:20:38.678] 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":"0xe7321236a75a535e4dbb8b15fa61238c17244bfb"}} 13:20:38 [13:20:38.681] 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 13:20:38 [13:20:38.682] 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":"0x5d7aba536482562bc2133cd9d4230421ad503c0e"}} 13:20:38 [13:20:38.686] WARN: foundation:version-manager Failed to read stored version information: Error: Failed to deserialize version information: [ 13:20:38 { 13:20:38 "code": "invalid_type", 13:20:38 "expected": "number", 13:20:38 "received": "undefined", 13:20:38 "path": [ 13:20:38 "schemaVersion" 13:20:38 ], 13:20:38 "message": "Required" 13:20:38 }, 13:20:38 { 13:20:38 "code": "invalid_type", 13:20:38 "expected": "string", 13:20:38 "received": "undefined", 13:20:38 "path": [ 13:20:38 "rollupAddress" 13:20:38 ], 13:20:38 "message": "Required" 13:20:38 } 13:20:38 ]. Defaulting to empty version 13:20:38 [13:20:38.687] 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":"0x1f9ae9365c376b967828323e98da006784c7c154"}} 13:20:38 [13:20:38.691] INFO: foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=41,rollupAddress=0xfb5f1afcbb11a7d4e4c59d196d576f283572a5f1"} to DatabaseVersion{schemaVersion=42,rollupAddress=0xfb5f1afcbb11a7d4e4c59d196d576f283572a5f1"}. Resetting database at /tmp/aztec-version-test 13:20:38 [13:20:38.694] INFO: foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=43,rollupAddress=0xd0de9653f4eb0149206e450a2aeed6657d768c2c"} to DatabaseVersion{schemaVersion=42,rollupAddress=0xd0de9653f4eb0149206e450a2aeed6657d768c2c"}. Resetting database at /tmp/aztec-version-test 13:20:38 [13:20:38.696] INFO: foundation:version-manager Upgrading from version 41 to 42 13:20:38 [13:20:38.697] ERROR: foundation:version-manager Failed to upgrade: Error: Test: failed upgrade. Falling back to reset. 13:20:38 [13:20:38.698] WARN: foundation:version-manager Rollup address has changed, resetting data directory {"versionFile":"/tmp/aztec-version-test/db_version","storedVersion":{"schemaVersion":42,"rollupAddress":"0x81232f0a7dca9ed6ae3eefbb016139005258e9a8"},"currentVersion":{"schemaVersion":42,"rollupAddress":"0xa0269312bef312383935f359ce71fbd2b3bb0439"}} 13:20:38 [13:20:38.701] INFO: foundation:version-manager Upgrading from version 41 to 42 13:20:38 PASS src/database-version/version_manager.test.ts 13:20:38 VersionManager 13:20:38 open 13:20:38 upgrades the db (2 ms) 13:20:38 opens the db (1 ms) 13:20:38 resets the database 13:20:38 when no version file exists (8 ms) 13:20:38 when there's an fs error (10 ms) 13:20:38 when the version file is malformed (4 ms) 13:20:38 when the version file is malformed (3 ms) 13:20:38 when the version file is malformed (5 ms) 13:20:38 when there is no way to upgrade (4 ms) 13:20:38 when it's a downgrade (2 ms) 13:20:38 when the upgrade fails (2 ms) 13:20:38 when the rollup address changes (2 ms) 13:20:38 Version 13:20:38 should create an empty version 13:20:38 should serialize correctly (1 ms) 13:20:38 establishes a partial odering (1 ms) 13:20:38 13:20:38 Test Suites: 1 passed, 1 total 13:20:38 Tests: 14 passed, 14 total 13:20:38 Snapshots: 0 total 13:20:38 Time: 0.644 s 13:20:38 Ran all test suites matching stdlib/src/database-version/version_manager.test.ts. 13:20:38 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?