Parent Log:
http://ci.aztec-labs.com/1fba7ea69bc65366
Command: b818050160cbcbd8 yarn-project/scripts/run_test.sh stdlib/src/database-version/version_manager.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/184d5f7d956dd7251670a2dd6728f313cfdf3caf
Env: REF_NAME=gh-readonly-queue/next/pr-14822-e56baa7f24bac54baf9e2f22f6f33ae6fa8b8c0f CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Fri Jun 13 21:18:31 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-14822_amd64_x3-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_5562d7b7c50cca17_next
21:18:33 [21:18:33.035]
WARN:
foundation:version-manager Failed to read stored version information: Error: Test: file not found. Defaulting to empty version
21:18:33 [21:18:33.043]
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":"0x4ca8a013d258cde560cdc7e92383f8f7b3585a71"}}
21:18:33 [21:18:33.049]
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:18:33 [21:18:33.049]
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":"0xd13a44016529437c30288b6301cc728722f3f786"}}
21:18:33 [21:18:33.053]
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:18:33 [21:18:33.054]
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":"0xda7e31a93dc7765acbea347d244dfa8687ffde94"}}
21:18:33 [21:18:33.060]
WARN:
foundation:version-manager Failed to read stored version information: Error: Failed to deserialize version information: [
21:18:33 {
21:18:33 "code": "invalid_type",
21:18:33 "expected": "number",
21:18:33 "received": "undefined",
21:18:33 "path": [
21:18:33 "schemaVersion"
21:18:33 ],
21:18:33 "message": "Required"
21:18:33 },
21:18:33 {
21:18:33 "code": "invalid_type",
21:18:33 "expected": "string",
21:18:33 "received": "undefined",
21:18:33 "path": [
21:18:33 "rollupAddress"
21:18:33 ],
21:18:33 "message": "Required"
21:18:33 }
21:18:33 ]. Defaulting to empty version
21:18:33 [21:18:33.060]
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":"0x139b50420dfd1083f98fe1947bf3f9a6542869ff"}}
21:18:33 [21:18:33.065]
INFO:
foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=41,rollupAddress=0xebb86130ba02d09053a55a808ae75fa9176c6f88"} to DatabaseVersion{schemaVersion=42,rollupAddress=0xebb86130ba02d09053a55a808ae75fa9176c6f88"}. Resetting database at /tmp/aztec-version-test
21:18:33 [21:18:33.071]
INFO:
foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=43,rollupAddress=0x1f351d19a790932bd5e23916f8bdf6cad19d72bb"} to DatabaseVersion{schemaVersion=42,rollupAddress=0x1f351d19a790932bd5e23916f8bdf6cad19d72bb"}. Resetting database at /tmp/aztec-version-test
21:18:33 [21:18:33.076]
INFO:
foundation:version-manager Upgrading from version 41 to 42
21:18:33 [21:18:33.077]
ERROR:
foundation:version-manager Failed to upgrade: Error: Test: failed upgrade. Falling back to reset.
21:18:33 [21:18:33.081]
WARN:
foundation:version-manager Rollup address has changed, resetting data directory
{"versionFile":"/tmp/aztec-version-test/db_version","storedVersion":{"schemaVersion":42,"rollupAddress":"0x1e3f8535c15d0c0b9d18368bec757a0c1365de61"},"currentVersion":{"schemaVersion":42,"rollupAddress":"0xe03a0d028fad8baefdff22e23d5536026cb749a9"}}
21:18:33 [21:18:33.086]
INFO:
foundation:version-manager Upgrading from version 41 to 42
21:18:33
PASS src/database-version/version_manager.test.ts
21:18:33 VersionManager
21:18:33 open
21:18:33
✓ upgrades the db (4 ms)
21:18:33
✓ opens the db (3 ms)
21:18:33 resets the database
21:18:33
✓ when no version file exists (18 ms)
21:18:33
✓ when there's an fs error (14 ms)
21:18:33
✓ when the version file is malformed (5 ms)
21:18:33
✓ when the version file is malformed (4 ms)
21:18:33
✓ when the version file is malformed (6 ms)
21:18:33
✓ when there is no way to upgrade (6 ms)
21:18:33
✓ when it's a downgrade (6 ms)
21:18:33
✓ when the upgrade fails (5 ms)
21:18:33
✓ when the rollup address changes (4 ms)
21:18:33 Version
21:18:33
✓ should create an empty version
21:18:33
✓ should serialize correctly (1 ms)
21:18:33
✓ establishes a partial odering (1 ms)
21:18:33
21:18:33
Test Suites: 1 passed, 1 total
21:18:33
Tests: 14 passed, 14 total
21:18:33
Snapshots: 0 total
21:18:33
Time: 0.676 s
21:18:33
Ran all test suites matching /stdlib\/src\/database-version\/version_manager.test.ts/i
.
21:18:33
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?