Parent Log:
http://ci.aztec-labs.com/bc57539dbf882f0d
Command: 7a41fc0e1576329f yarn-project/scripts/run_test.sh stdlib/src/database-version/version_manager.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/142e6cd5fbf7371f649078f9d6d08828585c664d
Env: REF_NAME=gh-readonly-queue/next/pr-14610-016def8adbfe93f34b41a41f439b146b5318c895 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Tue Jun 24 12:58:33 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-14610_amd64_x4-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_5562d7b7c50cca17_next
12:58:35 [12:58:35.366]
WARN:
foundation:version-manager Failed to read stored version information: Error: Test: file not found. Defaulting to empty version
12:58:35 [12:58:35.370]
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":"0x94cdaa9e3982eb4e741761da051f9c2e81117b87"}}
12:58:35 [12:58:35.375]
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:58:35 [12:58:35.375]
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":"0x2f873b4f6e6e726f9304a39c5de21b74c4b8241d"}}
12:58:35 [12:58:35.379]
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:58:35 [12:58:35.380]
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":"0x8660ae20311fe62f2f139bb649a03146823985c1"}}
12:58:35 [12:58:35.385]
WARN:
foundation:version-manager Failed to read stored version information: Error: Failed to deserialize version information: [
12:58:35 {
12:58:35 "code": "invalid_type",
12:58:35 "expected": "number",
12:58:35 "received": "undefined",
12:58:35 "path": [
12:58:35 "schemaVersion"
12:58:35 ],
12:58:35 "message": "Required"
12:58:35 },
12:58:35 {
12:58:35 "code": "invalid_type",
12:58:35 "expected": "string",
12:58:35 "received": "undefined",
12:58:35 "path": [
12:58:35 "rollupAddress"
12:58:35 ],
12:58:35 "message": "Required"
12:58:35 }
12:58:35 ]. Defaulting to empty version
12:58:35 [12:58:35.385]
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":"0x8252d31627a99d6b1b502e08ae47485cd7daf347"}}
12:58:35 [12:58:35.392]
INFO:
foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=41,rollupAddress=0x8b2806d66ce8343385274b0e2c0047235c039182"} to DatabaseVersion{schemaVersion=42,rollupAddress=0x8b2806d66ce8343385274b0e2c0047235c039182"}. Resetting database at /tmp/aztec-version-test
12:58:35 [12:58:35.397]
INFO:
foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=43,rollupAddress=0x66825361ff507c74feeda61f797b7628aaea35b6"} to DatabaseVersion{schemaVersion=42,rollupAddress=0x66825361ff507c74feeda61f797b7628aaea35b6"}. Resetting database at /tmp/aztec-version-test
12:58:35 [12:58:35.400]
INFO:
foundation:version-manager Upgrading from version 41 to 42
12:58:35 [12:58:35.401]
ERROR:
foundation:version-manager Failed to upgrade: Error: Test: failed upgrade. Falling back to reset.
12:58:35 [12:58:35.405]
WARN:
foundation:version-manager Rollup address has changed, resetting data directory
{"versionFile":"/tmp/aztec-version-test/db_version","storedVersion":{"schemaVersion":42,"rollupAddress":"0x11bdc36eeb95327d4392df940b66492f595b4e65"},"currentVersion":{"schemaVersion":42,"rollupAddress":"0x68a1718b1e8446a1e42f9ae77f7f7f5761f9cb3b"}}
12:58:35 [12:58:35.408]
INFO:
foundation:version-manager Upgrading from version 41 to 42
12:58:35
PASS src/database-version/version_manager.test.ts
12:58:35 VersionManager
12:58:35 open
12:58:35
✓ upgrades the db (3 ms)
12:58:35
✓ opens the db (2 ms)
12:58:35 resets the database
12:58:35
✓ when no version file exists (8 ms)
12:58:35
✓ when there's an fs error (8 ms)
12:58:35
✓ when the version file is malformed (4 ms)
12:58:35
✓ when the version file is malformed (3 ms)
12:58:35
✓ when the version file is malformed (7 ms)
12:58:35
✓ when there is no way to upgrade (6 ms)
12:58:35
✓ when it's a downgrade (3 ms)
12:58:35
✓ when the upgrade fails (5 ms)
12:58:35
✓ when the rollup address changes (3 ms)
12:58:35 Version
12:58:35
✓ should create an empty version
12:58:35
✓ should serialize correctly (1 ms)
12:58:35
✓ establishes a partial odering (1 ms)
12:58:35
12:58:35
Test Suites: 1 passed, 1 total
12:58:35
Tests: 14 passed, 14 total
12:58:35
Snapshots: 0 total
12:58:35
Time: 0.582 s
12:58:35
Ran all test suites matching stdlib/src/database-version/version_manager.test.ts
.
12:58:35
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?