Parent Log:
http://ci.aztec-labs.com/453396286815f782
Command: b895a7fa8f839b60 yarn-project/scripts/run_test.sh stdlib/src/database-version/version_manager.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/b80949775e5c27908a6055ad24592f7d98bdc45a
Env: REF_NAME=gh-readonly-queue/next/pr-14816-fa159c5d52a45358479f951a547fed37f141a6ed CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Sat Jun 14 10:44:30 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-14816_amd64_x1-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_5562d7b7c50cca17_next
10:44:31 [10:44:31.759]
WARN:
foundation:version-manager Failed to read stored version information: Error: Test: file not found. Defaulting to empty version
10:44:31 [10:44:31.764]
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":"0xcef204ef3e86e0fd89c064ac5e535a924f9a3d31"}}
10:44:31 [10:44:31.769]
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:44:31 [10:44:31.770]
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":"0xc161fda1a089c300e3e46cfd055b17d9d0f8324f"}}
10:44:31 [10:44:31.774]
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:44:31 [10:44:31.774]
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":"0xbd6db711d8efa54d12278fcc4c87474a2558dc49"}}
10:44:31 [10:44:31.780]
WARN:
foundation:version-manager Failed to read stored version information: Error: Failed to deserialize version information: [
10:44:31 {
10:44:31 "code": "invalid_type",
10:44:31 "expected": "number",
10:44:31 "received": "undefined",
10:44:31 "path": [
10:44:31 "schemaVersion"
10:44:31 ],
10:44:31 "message": "Required"
10:44:31 },
10:44:31 {
10:44:31 "code": "invalid_type",
10:44:31 "expected": "string",
10:44:31 "received": "undefined",
10:44:31 "path": [
10:44:31 "rollupAddress"
10:44:31 ],
10:44:31 "message": "Required"
10:44:31 }
10:44:31 ]. Defaulting to empty version
10:44:31 [10:44:31.781]
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":"0x48bad04e0a981f7410948821232d1a31af385d47"}}
10:44:31 [10:44:31.785]
INFO:
foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=41,rollupAddress=0x1346c2165a086d620cb4c5dba560311acce17c51"} to DatabaseVersion{schemaVersion=42,rollupAddress=0x1346c2165a086d620cb4c5dba560311acce17c51"}. Resetting database at /tmp/aztec-version-test
10:44:31 [10:44:31.790]
INFO:
foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=43,rollupAddress=0xca632382017263399827a3decde6ddd58fe31ebf"} to DatabaseVersion{schemaVersion=42,rollupAddress=0xca632382017263399827a3decde6ddd58fe31ebf"}. Resetting database at /tmp/aztec-version-test
10:44:31 [10:44:31.792]
INFO:
foundation:version-manager Upgrading from version 41 to 42
10:44:31 [10:44:31.793]
ERROR:
foundation:version-manager Failed to upgrade: Error: Test: failed upgrade. Falling back to reset.
10:44:31 [10:44:31.796]
WARN:
foundation:version-manager Rollup address has changed, resetting data directory
{"versionFile":"/tmp/aztec-version-test/db_version","storedVersion":{"schemaVersion":42,"rollupAddress":"0x7e7e597b1f9a7587f9df967aa93e3595de0e5c1a"},"currentVersion":{"schemaVersion":42,"rollupAddress":"0x8d930c2d3f972a018c59c7289ed11f0908a94916"}}
10:44:31 [10:44:31.799]
INFO:
foundation:version-manager Upgrading from version 41 to 42
10:44:31
PASS src/database-version/version_manager.test.ts
10:44:31 VersionManager
10:44:31 open
10:44:31
✓ upgrades the db (2 ms)
10:44:31
✓ opens the db (2 ms)
10:44:31 resets the database
10:44:31
✓ when no version file exists (7 ms)
10:44:31
✓ when there's an fs error (10 ms)
10:44:31
✓ when the version file is malformed (4 ms)
10:44:31
✓ when the version file is malformed (4 ms)
10:44:31
✓ when the version file is malformed (6 ms)
10:44:31
✓ when there is no way to upgrade (4 ms)
10:44:31
✓ when it's a downgrade (3 ms)
10:44:31
✓ when the upgrade fails (3 ms)
10:44:31
✓ when the rollup address changes (3 ms)
10:44:31 Version
10:44:31
✓ should create an empty version
10:44:31
✓ should serialize correctly (1 ms)
10:44:31
✓ establishes a partial odering
10:44:31
10:44:31
Test Suites: 1 passed, 1 total
10:44:31
Tests: 14 passed, 14 total
10:44:31
Snapshots: 0 total
10:44:31
Time: 0.537 s
10:44:31
Ran all test suites matching /stdlib\/src\/database-version\/version_manager.test.ts/i
.
10:44:31
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?