Parent Log:
http://ci.aztec-labs.com/b49593a05eb5324c
Command: 24e90b7895ff1ed6 yarn-project/scripts/run_test.sh stdlib/src/database-version/version_manager.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/8cc8a56892d36191eefb49254ebbe49ea99ef4b8
Env: REF_NAME=gh-readonly-queue/next/pr-14921-78d87cb88633aee537d022d6fd8e57ceb74a3a95 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Wed Jun 18 11:34:51 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-14921_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:34:53 [11:34:53.662]
WARN:
foundation:version-manager Failed to read stored version information: Error: Test: file not found. Defaulting to empty version
11:34:53 [11:34:53.666]
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":"0x7c82a22dedab15b6e8eab12aff0e80e516a20979"}}
11:34:53 [11:34:53.670]
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:34:53 [11:34:53.671]
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":"0xa499d51f479a6d1e0cdd838c0d50face52e84713"}}
11:34:53 [11:34:53.673]
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:34:53 [11:34:53.674]
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":"0x998b06f8e070f5de62737fb5b66ac24f52bedcab"}}
11:34:53 [11:34:53.679]
WARN:
foundation:version-manager Failed to read stored version information: Error: Failed to deserialize version information: [
11:34:53 {
11:34:53 "code": "invalid_type",
11:34:53 "expected": "number",
11:34:53 "received": "undefined",
11:34:53 "path": [
11:34:53 "schemaVersion"
11:34:53 ],
11:34:53 "message": "Required"
11:34:53 },
11:34:53 {
11:34:53 "code": "invalid_type",
11:34:53 "expected": "string",
11:34:53 "received": "undefined",
11:34:53 "path": [
11:34:53 "rollupAddress"
11:34:53 ],
11:34:53 "message": "Required"
11:34:53 }
11:34:53 ]. Defaulting to empty version
11:34:53 [11:34:53.679]
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":"0xdad4b2df5f30581cbef09b8bf96a7cff348190bd"}}
11:34:53 [11:34:53.682]
INFO:
foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=41,rollupAddress=0x5048ea9e427418ee9f41e8ad9356a60e61fb2573"} to DatabaseVersion{schemaVersion=42,rollupAddress=0x5048ea9e427418ee9f41e8ad9356a60e61fb2573"}. Resetting database at /tmp/aztec-version-test
11:34:53 [11:34:53.685]
INFO:
foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=43,rollupAddress=0x07dd57b0982b9a6da44068c6a03830ffe9c1c6ea"} to DatabaseVersion{schemaVersion=42,rollupAddress=0x07dd57b0982b9a6da44068c6a03830ffe9c1c6ea"}. Resetting database at /tmp/aztec-version-test
11:34:53 [11:34:53.689]
INFO:
foundation:version-manager Upgrading from version 41 to 42
11:34:53 [11:34:53.689]
ERROR:
foundation:version-manager Failed to upgrade: Error: Test: failed upgrade. Falling back to reset.
11:34:53 [11:34:53.692]
WARN:
foundation:version-manager Rollup address has changed, resetting data directory
{"versionFile":"/tmp/aztec-version-test/db_version","storedVersion":{"schemaVersion":42,"rollupAddress":"0x3153cd9ff670ac12a555b82a6aea446e396c33c0"},"currentVersion":{"schemaVersion":42,"rollupAddress":"0xf3d509c365bf434e8ec2e40e34df4bd05d86c960"}}
11:34:53 [11:34:53.695]
INFO:
foundation:version-manager Upgrading from version 41 to 42
11:34:53
PASS src/database-version/version_manager.test.ts
11:34:53 VersionManager
11:34:53 open
11:34:53
✓ upgrades the db (2 ms)
11:34:53
✓ opens the db (2 ms)
11:34:53 resets the database
11:34:53
✓ when no version file exists (8 ms)
11:34:53
✓ when there's an fs error (8 ms)
11:34:53
✓ when the version file is malformed (3 ms)
11:34:53
✓ when the version file is malformed (4 ms)
11:34:53
✓ when the version file is malformed (4 ms)
11:34:53
✓ when there is no way to upgrade (2 ms)
11:34:53
✓ when it's a downgrade (3 ms)
11:34:53
✓ when the upgrade fails (2 ms)
11:34:53
✓ when the rollup address changes (2 ms)
11:34:53 Version
11:34:53
✓ should create an empty version (1 ms)
11:34:53
✓ should serialize correctly
11:34:53
✓ establishes a partial odering
11:34:53
11:34:53
Test Suites: 1 passed, 1 total
11:34:53
Tests: 14 passed, 14 total
11:34:53
Snapshots: 0 total
11:34:53
Time: 0.715 s
11:34:53
Ran all test suites matching stdlib/src/database-version/version_manager.test.ts
.
11:34:53
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?