Parent Log: http://ci.aztec-labs.com/058a10c61a6638d4 Command: a8cc061dbe484831 yarn-project/scripts/run_test.sh stdlib/src/database-version/version_manager.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/58696523cc93fda453138a4f2c2dff72b21f0bfa Env: REF_NAME=gh-readonly-queue/next/pr-15180-a923b0dd4c74291fcefa86c41b3b5dffca7e4178 CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Fri Jun 20 13:10:55 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15180_amd64_x1-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_5562d7b7c50cca17_next 13:10:57 [13:10:57.300] WARN: foundation:version-manager Failed to read stored version information: Error: Test: file not found. Defaulting to empty version 13:10:57 [13:10:57.305] 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":"0xf1f6ab14353edeb79935e44eb7bade2cc94b15d2"}} 13:10:57 [13:10:57.309] 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:10:57 [13:10:57.309] 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":"0x1775c380a0af7287f210fb9d1c921631d2f72e46"}} 13:10:57 [13:10:57.312] 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:10:57 [13:10:57.312] 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":"0x1fed4384c10d9bfff581a7adfb796c07fa0ccce5"}} 13:10:57 [13:10:57.316] WARN: foundation:version-manager Failed to read stored version information: Error: Failed to deserialize version information: [ 13:10:57 { 13:10:57 "code": "invalid_type", 13:10:57 "expected": "number", 13:10:57 "received": "undefined", 13:10:57 "path": [ 13:10:57 "schemaVersion" 13:10:57 ], 13:10:57 "message": "Required" 13:10:57 }, 13:10:57 { 13:10:57 "code": "invalid_type", 13:10:57 "expected": "string", 13:10:57 "received": "undefined", 13:10:57 "path": [ 13:10:57 "rollupAddress" 13:10:57 ], 13:10:57 "message": "Required" 13:10:57 } 13:10:57 ]. Defaulting to empty version 13:10:57 [13:10:57.316] 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":"0x8833793535b6755f061f9b860bf1152bcc1b2503"}} 13:10:57 [13:10:57.320] INFO: foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=41,rollupAddress=0xa8a6224739e7a5f5e54d7a2591a920b639466a36"} to DatabaseVersion{schemaVersion=42,rollupAddress=0xa8a6224739e7a5f5e54d7a2591a920b639466a36"}. Resetting database at /tmp/aztec-version-test 13:10:57 [13:10:57.322] INFO: foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=43,rollupAddress=0x0555266ad6de6d54f4d9df94129c16cde53a30dc"} to DatabaseVersion{schemaVersion=42,rollupAddress=0x0555266ad6de6d54f4d9df94129c16cde53a30dc"}. Resetting database at /tmp/aztec-version-test 13:10:57 [13:10:57.324] INFO: foundation:version-manager Upgrading from version 41 to 42 13:10:57 [13:10:57.325] ERROR: foundation:version-manager Failed to upgrade: Error: Test: failed upgrade. Falling back to reset. 13:10:57 [13:10:57.327] WARN: foundation:version-manager Rollup address has changed, resetting data directory {"versionFile":"/tmp/aztec-version-test/db_version","storedVersion":{"schemaVersion":42,"rollupAddress":"0xb8513f753a3b2a6e89ae95b5003e4af09b1dbe06"},"currentVersion":{"schemaVersion":42,"rollupAddress":"0xa6bb07843f92e20552b3bbf9dfe6b13d6570a66f"}} 13:10:57 [13:10:57.330] INFO: foundation:version-manager Upgrading from version 41 to 42 13:10:57 PASS src/database-version/version_manager.test.ts 13:10:57 VersionManager 13:10:57 open 13:10:57 upgrades the db (2 ms) 13:10:57 opens the db (1 ms) 13:10:57 resets the database 13:10:57 when no version file exists (7 ms) 13:10:57 when there's an fs error (9 ms) 13:10:57 when the version file is malformed (3 ms) 13:10:57 when the version file is malformed (3 ms) 13:10:57 when the version file is malformed (4 ms) 13:10:57 when there is no way to upgrade (3 ms) 13:10:57 when it's a downgrade (2 ms) 13:10:57 when the upgrade fails (2 ms) 13:10:57 when the rollup address changes (2 ms) 13:10:57 Version 13:10:57 should create an empty version 13:10:57 should serialize correctly (1 ms) 13:10:57 establishes a partial odering 13:10:57 13:10:57 Test Suites: 1 passed, 1 total 13:10:57 Tests: 14 passed, 14 total 13:10:57 Snapshots: 0 total 13:10:57 Time: 0.52 s 13:10:57 Ran all test suites matching stdlib/src/database-version/version_manager.test.ts. 13:10:57 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?