Parent Log:
http://ci.aztec-labs.com/15d7aef1c9d1b5f2
Command: b54d5ade67e7ffc9 yarn-project/scripts/run_test.sh stdlib/src/database-version/version_manager.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/347f29fb98cc855ead57129b4d1a444d9fb16820
Env: REF_NAME=gh-readonly-queue/next/pr-15059-16fc84676c7308fa5f7ca4a54b67319803d0f5b7 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Mon Jun 16 16:01:46 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15059_amd64_x4-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_5562d7b7c50cca17_next
16:01:48 [16:01:48.326]
WARN:
foundation:version-manager Failed to read stored version information: Error: Test: file not found. Defaulting to empty version
16:01:48 [16:01:48.332]
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":"0x78848561ae33607f21e75dde72689f5faca45024"}}
16:01:48 [16:01:48.338]
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:01:48 [16:01:48.339]
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":"0xc673a7ab4a31718dae5b86705b9c310f657f852c"}}
16:01:48 [16:01:48.343]
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:01:48 [16:01:48.344]
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":"0x690fbb9d6aeb8acee5b0300454b8801406b3e737"}}
16:01:48 [16:01:48.350]
WARN:
foundation:version-manager Failed to read stored version information: Error: Failed to deserialize version information: [
16:01:48 {
16:01:48 "code": "invalid_type",
16:01:48 "expected": "number",
16:01:48 "received": "undefined",
16:01:48 "path": [
16:01:48 "schemaVersion"
16:01:48 ],
16:01:48 "message": "Required"
16:01:48 },
16:01:48 {
16:01:48 "code": "invalid_type",
16:01:48 "expected": "string",
16:01:48 "received": "undefined",
16:01:48 "path": [
16:01:48 "rollupAddress"
16:01:48 ],
16:01:48 "message": "Required"
16:01:48 }
16:01:48 ]. Defaulting to empty version
16:01:48 [16:01:48.351]
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":"0xff3136512280f77e300ae59adc396124ae10c7c5"}}
16:01:48 [16:01:48.355]
INFO:
foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=41,rollupAddress=0xc6b6659d67f7456a45fd675fab2419e9daab6deb"} to DatabaseVersion{schemaVersion=42,rollupAddress=0xc6b6659d67f7456a45fd675fab2419e9daab6deb"}. Resetting database at /tmp/aztec-version-test
16:01:48 [16:01:48.360]
INFO:
foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=43,rollupAddress=0x6dc273a690fb840771cb8ef721a741cee19f3fd7"} to DatabaseVersion{schemaVersion=42,rollupAddress=0x6dc273a690fb840771cb8ef721a741cee19f3fd7"}. Resetting database at /tmp/aztec-version-test
16:01:48 [16:01:48.363]
INFO:
foundation:version-manager Upgrading from version 41 to 42
16:01:48 [16:01:48.364]
ERROR:
foundation:version-manager Failed to upgrade: Error: Test: failed upgrade. Falling back to reset.
16:01:48 [16:01:48.367]
WARN:
foundation:version-manager Rollup address has changed, resetting data directory
{"versionFile":"/tmp/aztec-version-test/db_version","storedVersion":{"schemaVersion":42,"rollupAddress":"0x63c5688daff38691fe1964745086cacb146f8f2f"},"currentVersion":{"schemaVersion":42,"rollupAddress":"0x0b07d3e2b4271d9e6acb98eec8f9a60053125c87"}}
16:01:48 [16:01:48.371]
INFO:
foundation:version-manager Upgrading from version 41 to 42
16:01:48
PASS src/database-version/version_manager.test.ts
16:01:48 VersionManager
16:01:48 open
16:01:48
✓ upgrades the db (3 ms)
16:01:48
✓ opens the db (3 ms)
16:01:48 resets the database
16:01:48
✓ when no version file exists (11 ms)
16:01:48
✓ when there's an fs error (12 ms)
16:01:48
✓ when the version file is malformed (5 ms)
16:01:48
✓ when the version file is malformed (4 ms)
16:01:48
✓ when the version file is malformed (6 ms)
16:01:48
✓ when there is no way to upgrade (5 ms)
16:01:48
✓ when it's a downgrade (3 ms)
16:01:48
✓ when the upgrade fails (4 ms)
16:01:48
✓ when the rollup address changes (4 ms)
16:01:48 Version
16:01:48
✓ should create an empty version (1 ms)
16:01:48
✓ should serialize correctly (1 ms)
16:01:48
✓ establishes a partial odering (1 ms)
16:01:48
16:01:48
Test Suites: 1 passed, 1 total
16:01:48
Tests: 14 passed, 14 total
16:01:48
Snapshots: 0 total
16:01:48
Time: 0.755 s
16:01:48
Ran all test suites matching stdlib/src/database-version/version_manager.test.ts
.
16:01:48
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?