Parent Log: http://ci.aztec-labs.com/dd99e75a6da3da84 Command: 53a3eb771435c939 yarn-project/scripts/run_test.sh stdlib/src/database-version/version_manager.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/6e3848bbd6845559b55825f0bc64df0673272969 Env: REF_NAME=gh-readonly-queue/next/pr-15167-bae1f0ed01e43b291f60c0888e05ceb15d4bb6f6 CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Fri Jun 20 09:38:44 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15167_amd64_x2-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_5562d7b7c50cca17_next 09:38:46 [09:38:46.394] WARN: foundation:version-manager Failed to read stored version information: Error: Test: file not found. Defaulting to empty version 09:38:46 [09:38:46.399] 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":"0x7d7883bcd6d16e45909cea159ca64ba5f77d8249"}} 09:38:46 [09:38:46.404] 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 09:38:46 [09:38:46.404] 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":"0xe827da093b98fc1d1abe5e83f5ef8fdff2576db3"}} 09:38:46 [09:38:46.407] 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 09:38:46 [09:38:46.408] 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":"0x4c4a2099143e8447904259a3ce8f2cbc1adc06ff"}} 09:38:46 [09:38:46.412] WARN: foundation:version-manager Failed to read stored version information: Error: Failed to deserialize version information: [ 09:38:46 { 09:38:46 "code": "invalid_type", 09:38:46 "expected": "number", 09:38:46 "received": "undefined", 09:38:46 "path": [ 09:38:46 "schemaVersion" 09:38:46 ], 09:38:46 "message": "Required" 09:38:46 }, 09:38:46 { 09:38:46 "code": "invalid_type", 09:38:46 "expected": "string", 09:38:46 "received": "undefined", 09:38:46 "path": [ 09:38:46 "rollupAddress" 09:38:46 ], 09:38:46 "message": "Required" 09:38:46 } 09:38:46 ]. Defaulting to empty version 09:38:46 [09:38:46.412] 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":"0x9bd407c96badc53255d652fdab7706e815857d7f"}} 09:38:46 [09:38:46.416] INFO: foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=41,rollupAddress=0x1f396bf3b42b3792a0bd658f91ebbf6458957d82"} to DatabaseVersion{schemaVersion=42,rollupAddress=0x1f396bf3b42b3792a0bd658f91ebbf6458957d82"}. Resetting database at /tmp/aztec-version-test 09:38:46 [09:38:46.420] INFO: foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=43,rollupAddress=0xd04567ad126fe698e491f90b976dba856d60f2f5"} to DatabaseVersion{schemaVersion=42,rollupAddress=0xd04567ad126fe698e491f90b976dba856d60f2f5"}. Resetting database at /tmp/aztec-version-test 09:38:46 [09:38:46.423] INFO: foundation:version-manager Upgrading from version 41 to 42 09:38:46 [09:38:46.423] ERROR: foundation:version-manager Failed to upgrade: Error: Test: failed upgrade. Falling back to reset. 09:38:46 [09:38:46.426] WARN: foundation:version-manager Rollup address has changed, resetting data directory {"versionFile":"/tmp/aztec-version-test/db_version","storedVersion":{"schemaVersion":42,"rollupAddress":"0xb684ef4edb61fbbe812efd5affd8ce6f6198ace2"},"currentVersion":{"schemaVersion":42,"rollupAddress":"0x3a43f2964c876ecea632861dac1cd7935661f59e"}} 09:38:46 [09:38:46.429] INFO: foundation:version-manager Upgrading from version 41 to 42 09:38:46 PASS src/database-version/version_manager.test.ts 09:38:46 VersionManager 09:38:46 open 09:38:46 upgrades the db (2 ms) 09:38:46 opens the db (2 ms) 09:38:46 resets the database 09:38:46 when no version file exists (9 ms) 09:38:46 when there's an fs error (9 ms) 09:38:46 when the version file is malformed (4 ms) 09:38:46 when the version file is malformed (3 ms) 09:38:46 when the version file is malformed (4 ms) 09:38:46 when there is no way to upgrade (4 ms) 09:38:46 when it's a downgrade (4 ms) 09:38:46 when the upgrade fails (3 ms) 09:38:46 when the rollup address changes (2 ms) 09:38:46 Version 09:38:46 should create an empty version 09:38:46 should serialize correctly (1 ms) 09:38:46 establishes a partial odering 09:38:46 09:38:46 Test Suites: 1 passed, 1 total 09:38:46 Tests: 14 passed, 14 total 09:38:46 Snapshots: 0 total 09:38:46 Time: 0.599 s 09:38:46 Ran all test suites matching stdlib/src/database-version/version_manager.test.ts. 09:38:46 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?