Parent Log: http://ci.aztec-labs.com/8a1d8dba37493eec Command: 63df5e0f43e4b264 yarn-project/scripts/run_test.sh stdlib/src/database-version/version_manager.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/7d223783d91db15002a09abc1b52d1455eb3e3da Env: REF_NAME=gh-readonly-queue/next/pr-14161-97080f178c0a3e244c64b3c17bf255bed63fc3cf CURRENT_VERSION=0.87.6 CI_FULL=0 Date: Mon Jun 16 10:47:14 UTC 2025 System: ARCH=arm64 CPUS=64 MEM=247Gi HOSTNAME=pr-14161_arm64_a1-fast Resources: CPU_LIST=0-63 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_5562d7b7c50cca17_next 10:47:15 [10:47:15.884] WARN: foundation:version-manager Failed to read stored version information: Error: Test: file not found. Defaulting to empty version 10:47:15 [10:47:15.888] 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":"0xe75b205da2510a800ba707d9e1a56b6d9bc80058"}} 10:47:15 [10:47:15.893] 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 10:47:15 [10:47:15.893] 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":"0xf9802e102dab6db73a191a36a8431393075a58d8"}} 10:47:15 [10:47:15.897] 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 10:47:15 [10:47:15.898] 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":"0x2f91b3e7a491a8fcb4699935aa93c5de5c4d8ea2"}} 10:47:15 [10:47:15.902] WARN: foundation:version-manager Failed to read stored version information: Error: Failed to deserialize version information: [ 10:47:15 { 10:47:15 "code": "invalid_type", 10:47:15 "expected": "number", 10:47:15 "received": "undefined", 10:47:15 "path": [ 10:47:15 "schemaVersion" 10:47:15 ], 10:47:15 "message": "Required" 10:47:15 }, 10:47:15 { 10:47:15 "code": "invalid_type", 10:47:15 "expected": "string", 10:47:15 "received": "undefined", 10:47:15 "path": [ 10:47:15 "rollupAddress" 10:47:15 ], 10:47:15 "message": "Required" 10:47:15 } 10:47:15 ]. Defaulting to empty version 10:47:15 [10:47:15.903] 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":"0x23e1f33a35982c9ca39818f8643c92dd4ceb0fb6"}} 10:47:15 [10:47:15.907] INFO: foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=41,rollupAddress=0x7738f5cc10872a3ed6e994212e8d6cfe8861bc01"} to DatabaseVersion{schemaVersion=42,rollupAddress=0x7738f5cc10872a3ed6e994212e8d6cfe8861bc01"}. Resetting database at /tmp/aztec-version-test 10:47:15 [10:47:15.911] INFO: foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=43,rollupAddress=0x4a604c7fd154fbf09cae8278c937377cfcca06b8"} to DatabaseVersion{schemaVersion=42,rollupAddress=0x4a604c7fd154fbf09cae8278c937377cfcca06b8"}. Resetting database at /tmp/aztec-version-test 10:47:15 [10:47:15.914] INFO: foundation:version-manager Upgrading from version 41 to 42 10:47:15 [10:47:15.914] ERROR: foundation:version-manager Failed to upgrade: Error: Test: failed upgrade. Falling back to reset. 10:47:15 [10:47:15.917] WARN: foundation:version-manager Rollup address has changed, resetting data directory {"versionFile":"/tmp/aztec-version-test/db_version","storedVersion":{"schemaVersion":42,"rollupAddress":"0xc293ff55418f6bc4b2ec1639e6ffd533ccc6b52d"},"currentVersion":{"schemaVersion":42,"rollupAddress":"0x400f73136b56aed1689b039d767d12c9d938f80e"}} 10:47:15 [10:47:15.921] INFO: foundation:version-manager Upgrading from version 41 to 42 10:47:15 PASS src/database-version/version_manager.test.ts 10:47:15 VersionManager 10:47:15 open 10:47:15 upgrades the db (3 ms) 10:47:15 opens the db (3 ms) 10:47:15 resets the database 10:47:15 when no version file exists (7 ms) 10:47:15 when there's an fs error (8 ms) 10:47:15 when the version file is malformed (5 ms) 10:47:15 when the version file is malformed (4 ms) 10:47:15 when the version file is malformed (5 ms) 10:47:15 when there is no way to upgrade (4 ms) 10:47:15 when it's a downgrade (4 ms) 10:47:15 when the upgrade fails (3 ms) 10:47:15 when the rollup address changes (4 ms) 10:47:15 Version 10:47:15 should create an empty version 10:47:15 should serialize correctly 10:47:15 establishes a partial odering (1 ms) 10:47:15 10:47:15 Test Suites: 1 passed, 1 total 10:47:15 Tests: 14 passed, 14 total 10:47:15 Snapshots: 0 total 10:47:15 Time: 0.504 s 10:47:15 Ran all test suites matching /stdlib\/src\/database-version\/version_manager.test.ts/i. 10:47:15 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?