Parent Log: http://ci.aztec-labs.com/702e8e94e52e9d7c Command: 0428972d99b1eeeb yarn-project/scripts/run_test.sh stdlib/src/database-version/version_manager.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/91b55c58278a7d091339ac513d633fa070d5276b Env: REF_NAME=gh-readonly-queue/next/pr-15008-92ef6e28f2b718bb1009392a60b8311979c782d2 CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Thu Jun 19 13:37:15 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15008_amd64_x2-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_5562d7b7c50cca17_next 13:37:17 [13:37:17.498] WARN: foundation:version-manager Failed to read stored version information: Error: Test: file not found. Defaulting to empty version 13:37:17 [13:37:17.503] 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":"0x51352d717bd76a98dae051785406e243d234deb4"}} 13:37:17 [13:37:17.508] 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:17 [13:37:17.508] 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":"0xccf9c5a880c3fd4673bb35805e92c73a9ad60081"}} 13:37:17 [13:37:17.511] 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:17 [13:37:17.512] 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":"0x56e1b8a1d265d18fb418f4cf7867f45dc0bffbfc"}} 13:37:17 [13:37:17.517] WARN: foundation:version-manager Failed to read stored version information: Error: Failed to deserialize version information: [ 13:37:17 { 13:37:17 "code": "invalid_type", 13:37:17 "expected": "number", 13:37:17 "received": "undefined", 13:37:17 "path": [ 13:37:17 "schemaVersion" 13:37:17 ], 13:37:17 "message": "Required" 13:37:17 }, 13:37:17 { 13:37:17 "code": "invalid_type", 13:37:17 "expected": "string", 13:37:17 "received": "undefined", 13:37:17 "path": [ 13:37:17 "rollupAddress" 13:37:17 ], 13:37:17 "message": "Required" 13:37:17 } 13:37:17 ]. Defaulting to empty version 13:37:17 [13:37:17.518] 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":"0x31989a96453520cf275bc8d4018348c98d844ba3"}} 13:37:17 [13:37:17.526] INFO: foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=41,rollupAddress=0x24094d1321e05e7c32a88dde3c657ac5c7857fae"} to DatabaseVersion{schemaVersion=42,rollupAddress=0x24094d1321e05e7c32a88dde3c657ac5c7857fae"}. Resetting database at /tmp/aztec-version-test 13:37:17 [13:37:17.532] INFO: foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=43,rollupAddress=0xc805d4d63859f18b885236cba046dc1932c7e47c"} to DatabaseVersion{schemaVersion=42,rollupAddress=0xc805d4d63859f18b885236cba046dc1932c7e47c"}. Resetting database at /tmp/aztec-version-test 13:37:17 [13:37:17.537] INFO: foundation:version-manager Upgrading from version 41 to 42 13:37:17 [13:37:17.538] ERROR: foundation:version-manager Failed to upgrade: Error: Test: failed upgrade. Falling back to reset. 13:37:17 [13:37:17.542] WARN: foundation:version-manager Rollup address has changed, resetting data directory {"versionFile":"/tmp/aztec-version-test/db_version","storedVersion":{"schemaVersion":42,"rollupAddress":"0x84d0172a6a99a5af9e9a8a65648d0fea0cce801b"},"currentVersion":{"schemaVersion":42,"rollupAddress":"0x268d18d10a51ed4ea4964619d629ea1f48f606dc"}} 13:37:17 [13:37:17.546] INFO: foundation:version-manager Upgrading from version 41 to 42 13:37:17 PASS src/database-version/version_manager.test.ts 13:37:17 VersionManager 13:37:17 open 13:37:17 upgrades the db (3 ms) 13:37:17 opens the db (2 ms) 13:37:17 resets the database 13:37:17 when no version file exists (8 ms) 13:37:17 when there's an fs error (9 ms) 13:37:17 when the version file is malformed (4 ms) 13:37:17 when the version file is malformed (3 ms) 13:37:17 when the version file is malformed (8 ms) 13:37:17 when there is no way to upgrade (7 ms) 13:37:17 when it's a downgrade (5 ms) 13:37:17 when the upgrade fails (5 ms) 13:37:17 when the rollup address changes (4 ms) 13:37:17 Version 13:37:17 should create an empty version (1 ms) 13:37:17 should serialize correctly (1 ms) 13:37:17 establishes a partial odering (1 ms) 13:37:17 13:37:17 Test Suites: 1 passed, 1 total 13:37:17 Tests: 14 passed, 14 total 13:37:17 Snapshots: 0 total 13:37:17 Time: 0.703 s 13:37:17 Ran all test suites matching stdlib/src/database-version/version_manager.test.ts. 13:37:17 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?