Parent Log:
http://ci.aztec-labs.com/0ae946c59c7c6bf0
Command: d634b34c6dd762bb yarn-project/scripts/run_test.sh stdlib/src/database-version/version_manager.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/9b801754ba98479ee645488c29d2fda1eecbfd85
Env: REF_NAME=gh-readonly-queue/next/pr-14963-ee3655e025191bc85c5b3d3122eeedb44e38ffb2 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Mon Jun 16 20:58:03 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-14963_amd64_x2-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_5562d7b7c50cca17_next
20:58:04 [20:58:04.760]
WARN:
foundation:version-manager Failed to read stored version information: Error: Test: file not found. Defaulting to empty version
20:58:04 [20:58:04.764]
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":"0x70765110a9a3da18bafcb7db8ba5ffa3ba29f9c6"}}
20:58:04 [20:58:04.768]
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
20:58:04 [20:58:04.768]
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":"0x32f28d7902020e71c53c3d804b6f9e400f881301"}}
20:58:04 [20:58:04.771]
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
20:58:04 [20:58:04.771]
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":"0x8fb100a9833a52e22d624e3222a8cc183aaac559"}}
20:58:04 [20:58:04.775]
WARN:
foundation:version-manager Failed to read stored version information: Error: Failed to deserialize version information: [
20:58:04 {
20:58:04 "code": "invalid_type",
20:58:04 "expected": "number",
20:58:04 "received": "undefined",
20:58:04 "path": [
20:58:04 "schemaVersion"
20:58:04 ],
20:58:04 "message": "Required"
20:58:04 },
20:58:04 {
20:58:04 "code": "invalid_type",
20:58:04 "expected": "string",
20:58:04 "received": "undefined",
20:58:04 "path": [
20:58:04 "rollupAddress"
20:58:04 ],
20:58:04 "message": "Required"
20:58:04 }
20:58:04 ]. Defaulting to empty version
20:58:04 [20:58:04.776]
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":"0x18f28e43b295edf680d85cb5f6b9d510dc6a6a1e"}}
20:58:04 [20:58:04.779]
INFO:
foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=41,rollupAddress=0x23064e5089163b4090b2ea01a10f621c9dc876e4"} to DatabaseVersion{schemaVersion=42,rollupAddress=0x23064e5089163b4090b2ea01a10f621c9dc876e4"}. Resetting database at /tmp/aztec-version-test
20:58:04 [20:58:04.782]
INFO:
foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=43,rollupAddress=0x379a80b4b32ec1db89db0761e115998b1de7596b"} to DatabaseVersion{schemaVersion=42,rollupAddress=0x379a80b4b32ec1db89db0761e115998b1de7596b"}. Resetting database at /tmp/aztec-version-test
20:58:04 [20:58:04.784]
INFO:
foundation:version-manager Upgrading from version 41 to 42
20:58:04 [20:58:04.784]
ERROR:
foundation:version-manager Failed to upgrade: Error: Test: failed upgrade. Falling back to reset.
20:58:04 [20:58:04.786]
WARN:
foundation:version-manager Rollup address has changed, resetting data directory
{"versionFile":"/tmp/aztec-version-test/db_version","storedVersion":{"schemaVersion":42,"rollupAddress":"0x6784e9095ba82c7f40d90ee05996fc15522909cb"},"currentVersion":{"schemaVersion":42,"rollupAddress":"0x95d9d795cffd516a5bdeec7bbf130b6658140cde"}}
20:58:04 [20:58:04.789]
INFO:
foundation:version-manager Upgrading from version 41 to 42
20:58:04
PASS src/database-version/version_manager.test.ts
20:58:04 VersionManager
20:58:04 open
20:58:04
✓ upgrades the db (2 ms)
20:58:04
✓ opens the db (1 ms)
20:58:04 resets the database
20:58:04
✓ when no version file exists (7 ms)
20:58:04
✓ when there's an fs error (8 ms)
20:58:04
✓ when the version file is malformed (4 ms)
20:58:04
✓ when the version file is malformed (3 ms)
20:58:04
✓ when the version file is malformed (5 ms)
20:58:04
✓ when there is no way to upgrade (3 ms)
20:58:04
✓ when it's a downgrade (2 ms)
20:58:04
✓ when the upgrade fails (2 ms)
20:58:04
✓ when the rollup address changes (2 ms)
20:58:04 Version
20:58:04
✓ should create an empty version
20:58:04
✓ should serialize correctly (1 ms)
20:58:04
✓ establishes a partial odering
20:58:04
20:58:04
Test Suites: 1 passed, 1 total
20:58:04
Tests: 14 passed, 14 total
20:58:04
Snapshots: 0 total
20:58:04
Time: 0.662 s
20:58:04
Ran all test suites matching stdlib/src/database-version/version_manager.test.ts
.
20:58:04
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?