Parent Log:
http://ci.aztec-labs.com/f52c31edbe1f934c
Command: a668859b212fc7b1 yarn-project/scripts/run_test.sh stdlib/src/database-version/version_manager.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/3c1b9d57eadcc8fb03a7ed42610cf0a1ae4a32eb
Env: REF_NAME=gh-readonly-queue/next/pr-14858-4b0e4dc09fa55f0bc808fa0c7c3e95e8fa997069 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Tue Jun 17 21:40:46 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-14858_amd64_x1-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_5562d7b7c50cca17_next
21:40:48 [21:40:48.693]
WARN:
foundation:version-manager Failed to read stored version information: Error: Test: file not found. Defaulting to empty version
21:40:48 [21:40:48.697]
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":"0xb5a12ff0012fed0d3d18a0bc7c1174450a4133fe"}}
21:40:48 [21:40:48.701]
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
21:40:48 [21:40:48.702]
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":"0xdbcbdff376c31da08eb612d8677a2df01ac393e4"}}
21:40:48 [21:40:48.704]
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
21:40:48 [21:40:48.705]
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":"0x270afb83203a1bcf5f73314d12b477f49a9efe0b"}}
21:40:48 [21:40:48.711]
WARN:
foundation:version-manager Failed to read stored version information: Error: Failed to deserialize version information: [
21:40:48 {
21:40:48 "code": "invalid_type",
21:40:48 "expected": "number",
21:40:48 "received": "undefined",
21:40:48 "path": [
21:40:48 "schemaVersion"
21:40:48 ],
21:40:48 "message": "Required"
21:40:48 },
21:40:48 {
21:40:48 "code": "invalid_type",
21:40:48 "expected": "string",
21:40:48 "received": "undefined",
21:40:48 "path": [
21:40:48 "rollupAddress"
21:40:48 ],
21:40:48 "message": "Required"
21:40:48 }
21:40:48 ]. Defaulting to empty version
21:40:48 [21:40:48.712]
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":"0xc110cac7544dbedabb38aa599c33dae22607d7bb"}}
21:40:48 [21:40:48.718]
INFO:
foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=41,rollupAddress=0xf9befb448c0768f2c683a35721b2c10730f1fc9d"} to DatabaseVersion{schemaVersion=42,rollupAddress=0xf9befb448c0768f2c683a35721b2c10730f1fc9d"}. Resetting database at /tmp/aztec-version-test
21:40:48 [21:40:48.723]
INFO:
foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=43,rollupAddress=0xa30798e32cffc60eaf58fe2b7093dcf5d292f394"} to DatabaseVersion{schemaVersion=42,rollupAddress=0xa30798e32cffc60eaf58fe2b7093dcf5d292f394"}. Resetting database at /tmp/aztec-version-test
21:40:48 [21:40:48.725]
INFO:
foundation:version-manager Upgrading from version 41 to 42
21:40:48 [21:40:48.726]
ERROR:
foundation:version-manager Failed to upgrade: Error: Test: failed upgrade. Falling back to reset.
21:40:48 [21:40:48.728]
WARN:
foundation:version-manager Rollup address has changed, resetting data directory
{"versionFile":"/tmp/aztec-version-test/db_version","storedVersion":{"schemaVersion":42,"rollupAddress":"0x0657604f63a3398f154e8f9bf8e7d11445b47928"},"currentVersion":{"schemaVersion":42,"rollupAddress":"0xad45b2ef4c72b1c74a3cde3e4499be160f5a8941"}}
21:40:48 [21:40:48.731]
INFO:
foundation:version-manager Upgrading from version 41 to 42
21:40:48
PASS src/database-version/version_manager.test.ts
21:40:48 VersionManager
21:40:48 open
21:40:48
✓ upgrades the db (2 ms)
21:40:48
✓ opens the db (2 ms)
21:40:48 resets the database
21:40:48
✓ when no version file exists (8 ms)
21:40:48
✓ when there's an fs error (7 ms)
21:40:48
✓ when the version file is malformed (3 ms)
21:40:48
✓ when the version file is malformed (2 ms)
21:40:48
✓ when the version file is malformed (8 ms)
21:40:48
✓ when there is no way to upgrade (6 ms)
21:40:48
✓ when it's a downgrade (3 ms)
21:40:48
✓ when the upgrade fails (3 ms)
21:40:48
✓ when the rollup address changes (3 ms)
21:40:48 Version
21:40:48
✓ should create an empty version (1 ms)
21:40:48
✓ should serialize correctly (1 ms)
21:40:48
✓ establishes a partial odering
21:40:48
21:40:48
Test Suites: 1 passed, 1 total
21:40:48
Tests: 14 passed, 14 total
21:40:48
Snapshots: 0 total
21:40:48
Time: 0.726 s
21:40:48
Ran all test suites matching stdlib/src/database-version/version_manager.test.ts
.
21:40:48
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?