Parent Log: http://ci.aztec-labs.com/a67d1530846f01a4 Command: ebf67495dae0c068 yarn-project/scripts/run_test.sh stdlib/src/database-version/version_manager.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/10badd24359b04680068afd9ca24407383374db1 Env: REF_NAME=gh-readonly-queue/next/pr-15019-7d223783d91db15002a09abc1b52d1455eb3e3da CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Mon Jun 16 11:07:50 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15019_amd64_x1-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_5562d7b7c50cca17_next 11:07:51 [11:07:51.599] WARN: foundation:version-manager Failed to read stored version information: Error: Test: file not found. Defaulting to empty version 11:07:51 [11:07:51.603] 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":"0x3e269fb2686c03dfd988382e1cb771599453223c"}} 11:07:51 [11:07:51.623] 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:07:51 [11:07:51.625] 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":"0xce50104363738e49d0dffcd07ff006fd1308fb98"}} 11:07:51 [11:07:51.629] 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:07:51 [11:07:51.630] 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":"0x75507d888f03c4e8616eb3f40542b122c45c4ea6"}} 11:07:51 [11:07:51.636] WARN: foundation:version-manager Failed to read stored version information: Error: Failed to deserialize version information: [ 11:07:51 { 11:07:51 "code": "invalid_type", 11:07:51 "expected": "number", 11:07:51 "received": "undefined", 11:07:51 "path": [ 11:07:51 "schemaVersion" 11:07:51 ], 11:07:51 "message": "Required" 11:07:51 }, 11:07:51 { 11:07:51 "code": "invalid_type", 11:07:51 "expected": "string", 11:07:51 "received": "undefined", 11:07:51 "path": [ 11:07:51 "rollupAddress" 11:07:51 ], 11:07:51 "message": "Required" 11:07:51 } 11:07:51 ]. Defaulting to empty version 11:07:51 [11:07:51.636] 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":"0x7f13d5754eae513ed16419d4cecba0c0a1bd765c"}} 11:07:51 [11:07:51.641] INFO: foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=41,rollupAddress=0xedda39088d3bb97df75217982c536058ffca1ab0"} to DatabaseVersion{schemaVersion=42,rollupAddress=0xedda39088d3bb97df75217982c536058ffca1ab0"}. Resetting database at /tmp/aztec-version-test 11:07:51 [11:07:51.645] INFO: foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=43,rollupAddress=0xd8d21fde97418f760dddb331e17c7ee9d4a248c8"} to DatabaseVersion{schemaVersion=42,rollupAddress=0xd8d21fde97418f760dddb331e17c7ee9d4a248c8"}. Resetting database at /tmp/aztec-version-test 11:07:51 [11:07:51.648] INFO: foundation:version-manager Upgrading from version 41 to 42 11:07:51 [11:07:51.648] ERROR: foundation:version-manager Failed to upgrade: Error: Test: failed upgrade. Falling back to reset. 11:07:51 [11:07:51.653] WARN: foundation:version-manager Rollup address has changed, resetting data directory {"versionFile":"/tmp/aztec-version-test/db_version","storedVersion":{"schemaVersion":42,"rollupAddress":"0x8a43c860c1e500dd7ab9e78c199c86484179fc80"},"currentVersion":{"schemaVersion":42,"rollupAddress":"0xe1f5a0783a1e7b6e6ca1e601e5df0ad076c2b8d5"}} 11:07:51 [11:07:51.656] INFO: foundation:version-manager Upgrading from version 41 to 42 11:07:51 PASS src/database-version/version_manager.test.ts 11:07:51 VersionManager 11:07:51 open 11:07:51 upgrades the db (4 ms) 11:07:51 opens the db (5 ms) 11:07:51 resets the database 11:07:51 when no version file exists (10 ms) 11:07:51 when there's an fs error (21 ms) 11:07:51 when the version file is malformed (8 ms) 11:07:51 when the version file is malformed (4 ms) 11:07:51 when the version file is malformed (7 ms) 11:07:51 when there is no way to upgrade (4 ms) 11:07:51 when it's a downgrade (3 ms) 11:07:51 when the upgrade fails (4 ms) 11:07:51 when the rollup address changes (4 ms) 11:07:51 Version 11:07:51 should create an empty version (1 ms) 11:07:51 should serialize correctly (2 ms) 11:07:51 establishes a partial odering (1 ms) 11:07:51 11:07:51 Test Suites: 1 passed, 1 total 11:07:51 Tests: 14 passed, 14 total 11:07:51 Snapshots: 0 total 11:07:51 Time: 0.611 s 11:07:51 Ran all test suites matching /stdlib\/src\/database-version\/version_manager.test.ts/i. 11:07:51 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?