Parent Log:
http://ci.aztec-labs.com/6cc9fa695c7cfc03
Command: 4ef547fa5e299294 yarn-project/scripts/run_test.sh stdlib/src/database-version/version_manager.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/d4893155ff105399557b55c16450c39921c70d11
Env: REF_NAME=gh-readonly-queue/next/pr-15218-7edf16da6c056f9499e2dfd9c71fb9b7580f9bfc CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Tue Jun 24 10:28:31 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15218_amd64_x2-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_5562d7b7c50cca17_next
10:28:32 [10:28:32.672]
WARN:
foundation:version-manager Failed to read stored version information: Error: Test: file not found. Defaulting to empty version
10:28:32 [10:28:32.677]
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":"0xf68372e5ce941eacc4528dd70d01ec8086fdfa99"}}
10:28:32 [10:28:32.682]
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:28:32 [10:28:32.683]
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":"0x917cfd3305df78345a5213d166b061f26efb7c97"}}
10:28:32 [10:28:32.686]
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:28:32 [10:28:32.687]
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":"0x4eb8e683c128711b49cdde4dea6eedb005c3f67b"}}
10:28:32 [10:28:32.695]
WARN:
foundation:version-manager Failed to read stored version information: Error: Failed to deserialize version information: [
10:28:32 {
10:28:32 "code": "invalid_type",
10:28:32 "expected": "number",
10:28:32 "received": "undefined",
10:28:32 "path": [
10:28:32 "schemaVersion"
10:28:32 ],
10:28:32 "message": "Required"
10:28:32 },
10:28:32 {
10:28:32 "code": "invalid_type",
10:28:32 "expected": "string",
10:28:32 "received": "undefined",
10:28:32 "path": [
10:28:32 "rollupAddress"
10:28:32 ],
10:28:32 "message": "Required"
10:28:32 }
10:28:32 ]. Defaulting to empty version
10:28:32 [10:28:32.696]
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":"0x29f5a734666cbf126f95897ab754b86fced45fdf"}}
10:28:32 [10:28:32.702]
INFO:
foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=41,rollupAddress=0x4ecedf010d8daa3c309aef5330d9fc7c15c7d259"} to DatabaseVersion{schemaVersion=42,rollupAddress=0x4ecedf010d8daa3c309aef5330d9fc7c15c7d259"}. Resetting database at /tmp/aztec-version-test
10:28:32 [10:28:32.706]
INFO:
foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=43,rollupAddress=0x42b9ae3b3b73c9472b1f23d162d939539df4e0bc"} to DatabaseVersion{schemaVersion=42,rollupAddress=0x42b9ae3b3b73c9472b1f23d162d939539df4e0bc"}. Resetting database at /tmp/aztec-version-test
10:28:32 [10:28:32.710]
INFO:
foundation:version-manager Upgrading from version 41 to 42
10:28:32 [10:28:32.711]
ERROR:
foundation:version-manager Failed to upgrade: Error: Test: failed upgrade. Falling back to reset.
10:28:32 [10:28:32.714]
WARN:
foundation:version-manager Rollup address has changed, resetting data directory
{"versionFile":"/tmp/aztec-version-test/db_version","storedVersion":{"schemaVersion":42,"rollupAddress":"0xed039d64dbee6a34523c02b1818c3669254f709a"},"currentVersion":{"schemaVersion":42,"rollupAddress":"0xba616d3a1bdba448fa1731f3f664b8fc6bc67022"}}
10:28:32 [10:28:32.716]
INFO:
foundation:version-manager Upgrading from version 41 to 42
10:28:32
PASS src/database-version/version_manager.test.ts
10:28:32 VersionManager
10:28:32 open
10:28:32
✓ upgrades the db (3 ms)
10:28:32
✓ opens the db (2 ms)
10:28:32 resets the database
10:28:32
✓ when no version file exists (9 ms)
10:28:32
✓ when there's an fs error (9 ms)
10:28:32
✓ when the version file is malformed (5 ms)
10:28:32
✓ when the version file is malformed (4 ms)
10:28:32
✓ when the version file is malformed (10 ms)
10:28:32
✓ when there is no way to upgrade (5 ms)
10:28:32
✓ when it's a downgrade (3 ms)
10:28:32
✓ when the upgrade fails (3 ms)
10:28:32
✓ when the rollup address changes (2 ms)
10:28:32 Version
10:28:32
✓ should create an empty version
10:28:32
✓ should serialize correctly (1 ms)
10:28:32
✓ establishes a partial odering (1 ms)
10:28:32
10:28:32
Test Suites: 1 passed, 1 total
10:28:32
Tests: 14 passed, 14 total
10:28:32
Snapshots: 0 total
10:28:32
Time: 0.569 s
10:28:32
Ran all test suites matching stdlib/src/database-version/version_manager.test.ts
.
10:28:32
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?