Parent Log: http://ci.aztec-labs.com/a25636d452723f66 Command: d634b34c6dd762bb yarn-project/scripts/run_test.sh stdlib/src/database-version/version_manager.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/9b801754ba98479ee645488c29d2fda1eecbfd85 Env: REF_NAME=gh-readonly-queue/next/pr-14963-ee3655e025191bc85c5b3d3122eeedb44e38ffb2 CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Mon Jun 16 20:58:00 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-14963_amd64_x1-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_5562d7b7c50cca17_next 20:58:02 [20:58:02.488] WARN: foundation:version-manager Failed to read stored version information: Error: Test: file not found. Defaulting to empty version 20:58:02 [20:58:02.493] 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":"0x6ae3c4a64d05385626b9d7a718f6d35bafc0d1ec"}} 20:58:02 [20:58:02.499] 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 20:58:02 [20:58:02.499] 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":"0xdd881d6efb7b23f81e76a00ae91b8f0f93fc9da7"}} 20:58:02 [20:58:02.502] 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 20:58:02 [20:58:02.502] 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":"0x0d188f309700bd1c2d204f889d5d02408a888a85"}} 20:58:02 [20:58:02.506] WARN: foundation:version-manager Failed to read stored version information: Error: Failed to deserialize version information: [ 20:58:02 { 20:58:02 "code": "invalid_type", 20:58:02 "expected": "number", 20:58:02 "received": "undefined", 20:58:02 "path": [ 20:58:02 "schemaVersion" 20:58:02 ], 20:58:02 "message": "Required" 20:58:02 }, 20:58:02 { 20:58:02 "code": "invalid_type", 20:58:02 "expected": "string", 20:58:02 "received": "undefined", 20:58:02 "path": [ 20:58:02 "rollupAddress" 20:58:02 ], 20:58:02 "message": "Required" 20:58:02 } 20:58:02 ]. Defaulting to empty version 20:58:02 [20:58:02.507] 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":"0x4c0d93c6b3f5acd5e9b3fc820972c2cac3ecab08"}} 20:58:02 [20:58:02.510] INFO: foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=41,rollupAddress=0x55f3894442423da8a8f3fd56abb2dfc16af6ba4a"} to DatabaseVersion{schemaVersion=42,rollupAddress=0x55f3894442423da8a8f3fd56abb2dfc16af6ba4a"}. Resetting database at /tmp/aztec-version-test 20:58:02 [20:58:02.513] INFO: foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=43,rollupAddress=0xa4e1148c9eecfff768263318d19c025779e9fb90"} to DatabaseVersion{schemaVersion=42,rollupAddress=0xa4e1148c9eecfff768263318d19c025779e9fb90"}. Resetting database at /tmp/aztec-version-test 20:58:02 [20:58:02.516] INFO: foundation:version-manager Upgrading from version 41 to 42 20:58:02 [20:58:02.516] ERROR: foundation:version-manager Failed to upgrade: Error: Test: failed upgrade. Falling back to reset. 20:58:02 [20:58:02.519] WARN: foundation:version-manager Rollup address has changed, resetting data directory {"versionFile":"/tmp/aztec-version-test/db_version","storedVersion":{"schemaVersion":42,"rollupAddress":"0x4c0fbd039e7abce0cc55f97f458226eae80cb609"},"currentVersion":{"schemaVersion":42,"rollupAddress":"0x1151ba7ab67e057c0c1d5aa93cbd509d0fd7c484"}} 20:58:02 [20:58:02.524] INFO: foundation:version-manager Upgrading from version 41 to 42 20:58:02 PASS src/database-version/version_manager.test.ts 20:58:02 VersionManager 20:58:02 open 20:58:02 upgrades the db (4 ms) 20:58:02 opens the db (2 ms) 20:58:02 resets the database 20:58:02 when no version file exists (10 ms) 20:58:02 when there's an fs error (10 ms) 20:58:02 when the version file is malformed (4 ms) 20:58:02 when the version file is malformed (3 ms) 20:58:02 when the version file is malformed (4 ms) 20:58:02 when there is no way to upgrade (2 ms) 20:58:02 when it's a downgrade (3 ms) 20:58:02 when the upgrade fails (3 ms) 20:58:02 when the rollup address changes (3 ms) 20:58:02 Version 20:58:02 should create an empty version (1 ms) 20:58:02 should serialize correctly (1 ms) 20:58:02 establishes a partial odering 20:58:02 20:58:02 Test Suites: 1 passed, 1 total 20:58:02 Tests: 14 passed, 14 total 20:58:02 Snapshots: 0 total 20:58:02 Time: 0.797 s 20:58:02 Ran all test suites matching stdlib/src/database-version/version_manager.test.ts. 20:58:02 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?