Parent Log: http://ci.aztec-labs.com/29098e34bc98632e Command: fb52012d377692f9 yarn-project/scripts/run_test.sh stdlib/src/database-version/version_manager.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/1e338a3fb2e2077f1feaee8b86c42644ff8a5352 Env: REF_NAME=gh-readonly-queue/next/pr-15075-fa4d5ef48c8de52059b5658bbd42e4514386f7db CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Mon Jun 16 16:42:41 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15075_amd64_x2-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_5562d7b7c50cca17_next 16:42:42 [16:42:42.928] WARN: foundation:version-manager Failed to read stored version information: Error: Test: file not found. Defaulting to empty version 16:42:42 [16:42:42.933] 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":"0x7347c81260f9982c66ee1dfcb3c647548abf3d74"}} 16:42:42 [16:42:42.937] 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 16:42:42 [16:42:42.938] 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":"0x4c5a2f37da261343ff9649067a03599885ea903f"}} 16:42:42 [16:42:42.940] 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 16:42:42 [16:42:42.940] 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":"0x2dd56b29357693ff19480dfb2e3241eef53da231"}} 16:42:42 [16:42:42.944] WARN: foundation:version-manager Failed to read stored version information: Error: Failed to deserialize version information: [ 16:42:42 { 16:42:42 "code": "invalid_type", 16:42:42 "expected": "number", 16:42:42 "received": "undefined", 16:42:42 "path": [ 16:42:42 "schemaVersion" 16:42:42 ], 16:42:42 "message": "Required" 16:42:42 }, 16:42:42 { 16:42:42 "code": "invalid_type", 16:42:42 "expected": "string", 16:42:42 "received": "undefined", 16:42:42 "path": [ 16:42:42 "rollupAddress" 16:42:42 ], 16:42:42 "message": "Required" 16:42:42 } 16:42:42 ]. Defaulting to empty version 16:42:42 [16:42:42.945] 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":"0x45ed6c048a9b0ce4967e5852188f54bf55c8b5d3"}} 16:42:42 [16:42:42.948] INFO: foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=41,rollupAddress=0x6667a4ab05b0bd0d3d9ef3705cec7b515cf1e3ae"} to DatabaseVersion{schemaVersion=42,rollupAddress=0x6667a4ab05b0bd0d3d9ef3705cec7b515cf1e3ae"}. Resetting database at /tmp/aztec-version-test 16:42:42 [16:42:42.950] INFO: foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=43,rollupAddress=0x42c66a7bd4144571d9be2d5e535eaea6556c85b5"} to DatabaseVersion{schemaVersion=42,rollupAddress=0x42c66a7bd4144571d9be2d5e535eaea6556c85b5"}. Resetting database at /tmp/aztec-version-test 16:42:42 [16:42:42.952] INFO: foundation:version-manager Upgrading from version 41 to 42 16:42:42 [16:42:42.953] ERROR: foundation:version-manager Failed to upgrade: Error: Test: failed upgrade. Falling back to reset. 16:42:42 [16:42:42.955] WARN: foundation:version-manager Rollup address has changed, resetting data directory {"versionFile":"/tmp/aztec-version-test/db_version","storedVersion":{"schemaVersion":42,"rollupAddress":"0xadb875875273d6065d2c9a5a0b5969166fb8cfaf"},"currentVersion":{"schemaVersion":42,"rollupAddress":"0xfffa8ead0ad17e52d5e6ed1074e8a71f725e2bd6"}} 16:42:42 [16:42:42.958] INFO: foundation:version-manager Upgrading from version 41 to 42 16:42:42 PASS src/database-version/version_manager.test.ts 16:42:42 VersionManager 16:42:42 open 16:42:42 upgrades the db (2 ms) 16:42:42 opens the db (2 ms) 16:42:42 resets the database 16:42:42 when no version file exists (6 ms) 16:42:42 when there's an fs error (9 ms) 16:42:42 when the version file is malformed (3 ms) 16:42:42 when the version file is malformed (3 ms) 16:42:42 when the version file is malformed (4 ms) 16:42:42 when there is no way to upgrade (3 ms) 16:42:42 when it's a downgrade (2 ms) 16:42:42 when the upgrade fails (2 ms) 16:42:42 when the rollup address changes (3 ms) 16:42:42 Version 16:42:42 should create an empty version 16:42:42 should serialize correctly (1 ms) 16:42:42 establishes a partial odering (1 ms) 16:42:42 16:42:42 Test Suites: 1 passed, 1 total 16:42:42 Tests: 14 passed, 14 total 16:42:42 Snapshots: 0 total 16:42:42 Time: 0.643 s 16:42:42 Ran all test suites matching stdlib/src/database-version/version_manager.test.ts. 16:42:42 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?