Parent Log:
http://ci.aztec-labs.com/f9daaf627a43018f
Command: 53eb328a1446f762 yarn-project/scripts/run_test.sh stdlib/src/database-version/version_manager.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/a48851a8c6884f4b9615a154f8862a549722d25e
Env: REF_NAME=gh-readonly-queue/next/pr-14680-3b5835195491b53670250790b18c14d922718574 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Tue Jun 17 11:29:39 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-14680_amd64_x3-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_5562d7b7c50cca17_next
11:29:41 [11:29:41.832]
WARN:
foundation:version-manager Failed to read stored version information: Error: Test: file not found. Defaulting to empty version
11:29:41 [11:29:41.838]
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":"0x3a90ae17e714078c55335ec2b4ec421ea1304bc5"}}
11:29:41 [11:29:41.843]
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
11:29:41 [11:29:41.844]
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":"0x191241f80d64d499a686d4522cf43b48b2e697c0"}}
11:29:41 [11:29:41.847]
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
11:29:41 [11:29:41.848]
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":"0x2fd705dd0675f6f9f5755d4f715c870cdb3427c8"}}
11:29:41 [11:29:41.852]
WARN:
foundation:version-manager Failed to read stored version information: Error: Failed to deserialize version information: [
11:29:41 {
11:29:41 "code": "invalid_type",
11:29:41 "expected": "number",
11:29:41 "received": "undefined",
11:29:41 "path": [
11:29:41 "schemaVersion"
11:29:41 ],
11:29:41 "message": "Required"
11:29:41 },
11:29:41 {
11:29:41 "code": "invalid_type",
11:29:41 "expected": "string",
11:29:41 "received": "undefined",
11:29:41 "path": [
11:29:41 "rollupAddress"
11:29:41 ],
11:29:41 "message": "Required"
11:29:41 }
11:29:41 ]. Defaulting to empty version
11:29:41 [11:29:41.852]
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":"0xd20d62115e21575eca8538b96ba4474dc3649c95"}}
11:29:41 [11:29:41.856]
INFO:
foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=41,rollupAddress=0x805742afe9bbdacf3d1b5e5f445b0c3e0f6aedc7"} to DatabaseVersion{schemaVersion=42,rollupAddress=0x805742afe9bbdacf3d1b5e5f445b0c3e0f6aedc7"}. Resetting database at /tmp/aztec-version-test
11:29:41 [11:29:41.859]
INFO:
foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=43,rollupAddress=0x39c8c7eb47a71ed56ce45c86081c0f1ad51c37dc"} to DatabaseVersion{schemaVersion=42,rollupAddress=0x39c8c7eb47a71ed56ce45c86081c0f1ad51c37dc"}. Resetting database at /tmp/aztec-version-test
11:29:41 [11:29:41.863]
INFO:
foundation:version-manager Upgrading from version 41 to 42
11:29:41 [11:29:41.863]
ERROR:
foundation:version-manager Failed to upgrade: Error: Test: failed upgrade. Falling back to reset.
11:29:41 [11:29:41.867]
WARN:
foundation:version-manager Rollup address has changed, resetting data directory
{"versionFile":"/tmp/aztec-version-test/db_version","storedVersion":{"schemaVersion":42,"rollupAddress":"0x50437eb7b1b84adb4cbd3db8f55bd26ed102dba8"},"currentVersion":{"schemaVersion":42,"rollupAddress":"0x816511bf5119c181980e00d7d63d49d774455faa"}}
11:29:41 [11:29:41.870]
INFO:
foundation:version-manager Upgrading from version 41 to 42
11:29:41
PASS src/database-version/version_manager.test.ts
11:29:41 VersionManager
11:29:41 open
11:29:41
✓ upgrades the db (2 ms)
11:29:41
✓ opens the db (2 ms)
11:29:41 resets the database
11:29:41
✓ when no version file exists (8 ms)
11:29:41
✓ when there's an fs error (10 ms)
11:29:41
✓ when the version file is malformed (5 ms)
11:29:41
✓ when the version file is malformed (3 ms)
11:29:41
✓ when the version file is malformed (4 ms)
11:29:41
✓ when there is no way to upgrade (4 ms)
11:29:41
✓ when it's a downgrade (3 ms)
11:29:41
✓ when the upgrade fails (4 ms)
11:29:41
✓ when the rollup address changes (4 ms)
11:29:41 Version
11:29:41
✓ should create an empty version
11:29:41
✓ should serialize correctly
11:29:41
✓ establishes a partial odering
11:29:41
11:29:41
Test Suites: 1 passed, 1 total
11:29:41
Tests: 14 passed, 14 total
11:29:41
Snapshots: 0 total
11:29:41
Time: 0.728 s
11:29:41
Ran all test suites matching stdlib/src/database-version/version_manager.test.ts
.
11:29:41
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?