Parent Log: http://ci.aztec-labs.com/723f74eef7f0d56c Command: e1036ad1e7e82d49 yarn-project/scripts/run_test.sh stdlib/src/database-version/version_manager.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/812a53d5d7c2057744dbf808172864443b5de7af Env: REF_NAME=gh-readonly-queue/next/pr-14417-7a716b3fac2dc249573084a274291af7802ba659 CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Thu Jun 26 13:37:40 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-14417_amd64_x3-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_5562d7b7c50cca17_next 13:37:42 [13:37:42.358] WARN: foundation:version-manager Failed to read stored version information: Error: Test: file not found. Defaulting to empty version 13:37:42 [13:37:42.363] 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":"0x39bbe2a521197e613c2eefd5bc179a129af06679"}} 13:37:42 [13:37:42.367] 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:37:42 [13:37:42.367] 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":"0x3c52407489d20e5393e90f76d738c00310641f1b"}} 13:37:42 [13:37:42.369] 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:37:42 [13:37:42.371] 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":"0xa7be0d7d8f0214d7569dd8a96b893eeb72278d15"}} 13:37:42 [13:37:42.376] WARN: foundation:version-manager Failed to read stored version information: Error: Failed to deserialize version information: [ 13:37:42 { 13:37:42 "code": "invalid_type", 13:37:42 "expected": "number", 13:37:42 "received": "undefined", 13:37:42 "path": [ 13:37:42 "schemaVersion" 13:37:42 ], 13:37:42 "message": "Required" 13:37:42 }, 13:37:42 { 13:37:42 "code": "invalid_type", 13:37:42 "expected": "string", 13:37:42 "received": "undefined", 13:37:42 "path": [ 13:37:42 "rollupAddress" 13:37:42 ], 13:37:42 "message": "Required" 13:37:42 } 13:37:42 ]. Defaulting to empty version 13:37:42 [13:37:42.377] 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":"0x031552c766795a2fb83a5741b075c8ca49a6950d"}} 13:37:42 [13:37:42.380] INFO: foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=41,rollupAddress=0xb55b77262865e11ca2c3bcc3ce044cad10fce5ce"} to DatabaseVersion{schemaVersion=42,rollupAddress=0xb55b77262865e11ca2c3bcc3ce044cad10fce5ce"}. Resetting database at /tmp/aztec-version-test 13:37:42 [13:37:42.384] INFO: foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=43,rollupAddress=0x6462dcae808dfad9d250aea6efd8afa93625aa94"} to DatabaseVersion{schemaVersion=42,rollupAddress=0x6462dcae808dfad9d250aea6efd8afa93625aa94"}. Resetting database at /tmp/aztec-version-test 13:37:42 [13:37:42.387] INFO: foundation:version-manager Upgrading from version 41 to 42 13:37:42 [13:37:42.387] ERROR: foundation:version-manager Failed to upgrade: Error: Test: failed upgrade. Falling back to reset. 13:37:42 [13:37:42.390] WARN: foundation:version-manager Rollup address has changed, resetting data directory {"versionFile":"/tmp/aztec-version-test/db_version","storedVersion":{"schemaVersion":42,"rollupAddress":"0xf26b08643123785bf5244c712884c50168282a2c"},"currentVersion":{"schemaVersion":42,"rollupAddress":"0x6a3903c4624c8914769b7a3410aee36039cdd741"}} 13:37:42 [13:37:42.393] INFO: foundation:version-manager Upgrading from version 41 to 42 13:37:42 PASS src/database-version/version_manager.test.ts 13:37:42 VersionManager 13:37:42 open 13:37:42 upgrades the db (2 ms) 13:37:42 opens the db (2 ms) 13:37:42 resets the database 13:37:42 when no version file exists (10 ms) 13:37:42 when there's an fs error (8 ms) 13:37:42 when the version file is malformed (3 ms) 13:37:42 when the version file is malformed (4 ms) 13:37:42 when the version file is malformed (5 ms) 13:37:42 when there is no way to upgrade (3 ms) 13:37:42 when it's a downgrade (2 ms) 13:37:42 when the upgrade fails (3 ms) 13:37:42 when the rollup address changes (2 ms) 13:37:42 Version 13:37:42 should create an empty version 13:37:42 should serialize correctly 13:37:42 establishes a partial odering (1 ms) 13:37:42 13:37:42 Test Suites: 1 passed, 1 total 13:37:42 Tests: 14 passed, 14 total 13:37:42 Snapshots: 0 total 13:37:42 Time: 0.628 s 13:37:42 Ran all test suites matching stdlib/src/database-version/version_manager.test.ts. 13:37:42 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?