Parent Log: http://ci.aztec-labs.com/1b463a8edbf2a4ca Command: 3987b0c732d12451 yarn-project/scripts/run_test.sh stdlib/src/database-version/version_manager.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/d3bba2d69dbc070d51bcd50607354193573876ba Env: REF_NAME=gh-readonly-queue/next/pr-14877-314d7622c6bacc8333ae49fe9583967cab78349b CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Fri Jun 13 12:55:45 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-14877_amd64_x2-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_5562d7b7c50cca17_next 12:55:46 [12:55:46.953] WARN: foundation:version-manager Failed to read stored version information: Error: Test: file not found. Defaulting to empty version 12:55:46 [12:55:46.959] 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":"0xf502f98b64d1c66c1f358dfd7b2c54f0c23ae342"}} 12:55:46 [12:55:46.965] 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 12:55:46 [12:55:46.965] 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":"0xf23ac0738d8ab9f76d6c895f648117f7a0cd3df5"}} 12:55:46 [12:55:46.970] 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 12:55:46 [12:55:46.971] 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":"0x98a28d76ae11a16ecd2a20c2014cd207f0b8eb4e"}} 12:55:46 [12:55:46.979] WARN: foundation:version-manager Failed to read stored version information: Error: Failed to deserialize version information: [ 12:55:46 { 12:55:46 "code": "invalid_type", 12:55:46 "expected": "number", 12:55:46 "received": "undefined", 12:55:46 "path": [ 12:55:46 "schemaVersion" 12:55:46 ], 12:55:46 "message": "Required" 12:55:46 }, 12:55:46 { 12:55:46 "code": "invalid_type", 12:55:46 "expected": "string", 12:55:46 "received": "undefined", 12:55:46 "path": [ 12:55:46 "rollupAddress" 12:55:46 ], 12:55:46 "message": "Required" 12:55:46 } 12:55:46 ]. Defaulting to empty version 12:55:46 [12:55:46.979] 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":"0xed7dc9099dc4bedbca9cd967521f45f0aad8d49c"}} 12:55:46 [12:55:46.985] INFO: foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=41,rollupAddress=0x3ae50d381bfb582bd61d6e4317d16e217a6c85fb"} to DatabaseVersion{schemaVersion=42,rollupAddress=0x3ae50d381bfb582bd61d6e4317d16e217a6c85fb"}. Resetting database at /tmp/aztec-version-test 12:55:46 [12:55:46.990] INFO: foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=43,rollupAddress=0xb567f5dd8f4196e862874862e425f5c7b8a35b34"} to DatabaseVersion{schemaVersion=42,rollupAddress=0xb567f5dd8f4196e862874862e425f5c7b8a35b34"}. Resetting database at /tmp/aztec-version-test 12:55:46 [12:55:46.995] INFO: foundation:version-manager Upgrading from version 41 to 42 12:55:46 [12:55:46.996] ERROR: foundation:version-manager Failed to upgrade: Error: Test: failed upgrade. Falling back to reset. 12:55:47 [12:55:47.001] WARN: foundation:version-manager Rollup address has changed, resetting data directory {"versionFile":"/tmp/aztec-version-test/db_version","storedVersion":{"schemaVersion":42,"rollupAddress":"0xa991c4b145168d986958f75edb69c6b899cce8fa"},"currentVersion":{"schemaVersion":42,"rollupAddress":"0xfa9756ed40706cec27b2015fc17fcef44ece4a98"}} 12:55:47 [12:55:47.007] INFO: foundation:version-manager Upgrading from version 41 to 42 12:55:47 PASS src/database-version/version_manager.test.ts 12:55:47 VersionManager 12:55:47 open 12:55:47 upgrades the db (5 ms) 12:55:47 opens the db (4 ms) 12:55:47 resets the database 12:55:47 when no version file exists (12 ms) 12:55:47 when there's an fs error (10 ms) 12:55:47 when the version file is malformed (5 ms) 12:55:47 when the version file is malformed (5 ms) 12:55:47 when the version file is malformed (7 ms) 12:55:47 when there is no way to upgrade (5 ms) 12:55:47 when it's a downgrade (5 ms) 12:55:47 when the upgrade fails (5 ms) 12:55:47 when the rollup address changes (5 ms) 12:55:47 Version 12:55:47 should create an empty version 12:55:47 should serialize correctly (1 ms) 12:55:47 establishes a partial odering (1 ms) 12:55:47 12:55:47 Test Suites: 1 passed, 1 total 12:55:47 Tests: 14 passed, 14 total 12:55:47 Snapshots: 0 total 12:55:47 Time: 0.783 s 12:55:47 Ran all test suites matching /stdlib\/src\/database-version\/version_manager.test.ts/i. 12:55:47 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?