Parent Log:
http://ci.aztec-labs.com/7d83d82915cf08a3
Command: 56d3c530a47f3a72 yarn-project/scripts/run_test.sh stdlib/src/database-version/version_manager.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/9071986bfe3af58c70d2c80c10f523e22bfe4cb4
Env: REF_NAME=gh-readonly-queue/next/pr-15133-64d1ec347b1cea9fa1b04ff6fc2984f8ee073b2b CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Fri Jun 20 14:52:40 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15133_amd64_x2-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_5562d7b7c50cca17_next
14:52:41 [14:52:41.696]
WARN:
foundation:version-manager Failed to read stored version information: Error: Test: file not found. Defaulting to empty version
14:52:41 [14:52:41.700]
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":"0x6d892d8e5a5e7fa6109caa3c2f4ba215c6abed60"}}
14:52:41 [14:52:41.709]
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
14:52:41 [14:52:41.710]
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":"0x81c8193d12b623124de30906133e6cbc35ca1345"}}
14:52:41 [14:52:41.712]
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
14:52:41 [14:52:41.713]
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":"0xead3eee847036286e077b21b65574d4c70df91c5"}}
14:52:41 [14:52:41.717]
WARN:
foundation:version-manager Failed to read stored version information: Error: Failed to deserialize version information: [
14:52:41 {
14:52:41 "code": "invalid_type",
14:52:41 "expected": "number",
14:52:41 "received": "undefined",
14:52:41 "path": [
14:52:41 "schemaVersion"
14:52:41 ],
14:52:41 "message": "Required"
14:52:41 },
14:52:41 {
14:52:41 "code": "invalid_type",
14:52:41 "expected": "string",
14:52:41 "received": "undefined",
14:52:41 "path": [
14:52:41 "rollupAddress"
14:52:41 ],
14:52:41 "message": "Required"
14:52:41 }
14:52:41 ]. Defaulting to empty version
14:52:41 [14:52:41.718]
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":"0xda8afff1c1e82e64096f3e2f1d09418770e4cd9d"}}
14:52:41 [14:52:41.721]
INFO:
foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=41,rollupAddress=0x9df6c3c6dff68de8ff7aaaa990d3e1e2e0f90697"} to DatabaseVersion{schemaVersion=42,rollupAddress=0x9df6c3c6dff68de8ff7aaaa990d3e1e2e0f90697"}. Resetting database at /tmp/aztec-version-test
14:52:41 [14:52:41.723]
INFO:
foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=43,rollupAddress=0x2816dcd0fbdf5dac44715102d1883aad638302b0"} to DatabaseVersion{schemaVersion=42,rollupAddress=0x2816dcd0fbdf5dac44715102d1883aad638302b0"}. Resetting database at /tmp/aztec-version-test
14:52:41 [14:52:41.725]
INFO:
foundation:version-manager Upgrading from version 41 to 42
14:52:41 [14:52:41.726]
ERROR:
foundation:version-manager Failed to upgrade: Error: Test: failed upgrade. Falling back to reset.
14:52:41 [14:52:41.729]
WARN:
foundation:version-manager Rollup address has changed, resetting data directory
{"versionFile":"/tmp/aztec-version-test/db_version","storedVersion":{"schemaVersion":42,"rollupAddress":"0xe13d63e0e579ebc2977043dd8be671c0f34a9db0"},"currentVersion":{"schemaVersion":42,"rollupAddress":"0x72d538cc97c3139b8710b7f2a7017c58b82a3371"}}
14:52:41 [14:52:41.732]
INFO:
foundation:version-manager Upgrading from version 41 to 42
14:52:41
PASS src/database-version/version_manager.test.ts
14:52:41 VersionManager
14:52:41 open
14:52:41
✓ upgrades the db (2 ms)
14:52:41
✓ opens the db (2 ms)
14:52:41 resets the database
14:52:41
✓ when no version file exists (7 ms)
14:52:41
✓ when there's an fs error (12 ms)
14:52:41
✓ when the version file is malformed (4 ms)
14:52:41
✓ when the version file is malformed (3 ms)
14:52:41
✓ when the version file is malformed (4 ms)
14:52:41
✓ when there is no way to upgrade (2 ms)
14:52:41
✓ when it's a downgrade (2 ms)
14:52:41
✓ when the upgrade fails (2 ms)
14:52:41
✓ when the rollup address changes (3 ms)
14:52:41 Version
14:52:41
✓ should create an empty version (2 ms)
14:52:41
✓ should serialize correctly (2 ms)
14:52:41
✓ establishes a partial odering
14:52:41
14:52:41
Test Suites: 1 passed, 1 total
14:52:41
Tests: 14 passed, 14 total
14:52:41
Snapshots: 0 total
14:52:41
Time: 0.57 s
14:52:41
Ran all test suites matching stdlib/src/database-version/version_manager.test.ts
.
14:52:41
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?