Parent Log:
http://ci.aztec-labs.com/2df2f23eb2ea1efb
Command: f5e85dbc8a1d83c5 yarn-project/scripts/run_test.sh stdlib/src/database-version/version_manager.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/26c5a39fe03723d11540f721293d7aebd1f478d9
Env: REF_NAME=gh-readonly-queue/next/pr-14995-75d792847d8434a0c504e7adf5c102a913065272 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Fri Jun 13 09:01:36 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-14995_amd64_x2-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_5562d7b7c50cca17_next
09:01:37 [09:01:37.647]
WARN:
foundation:version-manager Failed to read stored version information: Error: Test: file not found. Defaulting to empty version
09:01:37 [09:01:37.653]
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":"0x2f965bb3aa406f7c618720f7e1497d349ba3fbc1"}}
09:01:37 [09:01:37.658]
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
09:01:37 [09:01:37.659]
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":"0xb2022d1edbaaacc81ba793189aed07c99018d5a6"}}
09:01:37 [09:01:37.662]
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
09:01:37 [09:01:37.663]
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":"0xa331fcc5b6b83ebdfac2a1bbf77f482405b381b8"}}
09:01:37 [09:01:37.668]
WARN:
foundation:version-manager Failed to read stored version information: Error: Failed to deserialize version information: [
09:01:37 {
09:01:37 "code": "invalid_type",
09:01:37 "expected": "number",
09:01:37 "received": "undefined",
09:01:37 "path": [
09:01:37 "schemaVersion"
09:01:37 ],
09:01:37 "message": "Required"
09:01:37 },
09:01:37 {
09:01:37 "code": "invalid_type",
09:01:37 "expected": "string",
09:01:37 "received": "undefined",
09:01:37 "path": [
09:01:37 "rollupAddress"
09:01:37 ],
09:01:37 "message": "Required"
09:01:37 }
09:01:37 ]. Defaulting to empty version
09:01:37 [09:01:37.669]
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":"0xdb3893ead40634148c07ab3360ae9606d446be39"}}
09:01:37 [09:01:37.673]
INFO:
foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=41,rollupAddress=0x923b7c859a8063c2c9212b1d346050d819c278bd"} to DatabaseVersion{schemaVersion=42,rollupAddress=0x923b7c859a8063c2c9212b1d346050d819c278bd"}. Resetting database at /tmp/aztec-version-test
09:01:37 [09:01:37.677]
INFO:
foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=43,rollupAddress=0x6f83f6cb8af6e51e6eb51cac70915259d065f33d"} to DatabaseVersion{schemaVersion=42,rollupAddress=0x6f83f6cb8af6e51e6eb51cac70915259d065f33d"}. Resetting database at /tmp/aztec-version-test
09:01:37 [09:01:37.681]
INFO:
foundation:version-manager Upgrading from version 41 to 42
09:01:37 [09:01:37.681]
ERROR:
foundation:version-manager Failed to upgrade: Error: Test: failed upgrade. Falling back to reset.
09:01:37 [09:01:37.684]
WARN:
foundation:version-manager Rollup address has changed, resetting data directory
{"versionFile":"/tmp/aztec-version-test/db_version","storedVersion":{"schemaVersion":42,"rollupAddress":"0xb561371859a74d0213434d70f5016f0593f1b236"},"currentVersion":{"schemaVersion":42,"rollupAddress":"0x66c86bed22bcef8b1f462e07ce35e6b6dc96461d"}}
09:01:37 [09:01:37.688]
INFO:
foundation:version-manager Upgrading from version 41 to 42
09:01:37
PASS src/database-version/version_manager.test.ts
09:01:37 VersionManager
09:01:37 open
09:01:37
✓ upgrades the db (4 ms)
09:01:37
✓ opens the db (5 ms)
09:01:37 resets the database
09:01:37
✓ when no version file exists (12 ms)
09:01:37
✓ when there's an fs error (10 ms)
09:01:37
✓ when the version file is malformed (4 ms)
09:01:37
✓ when the version file is malformed (3 ms)
09:01:37
✓ when the version file is malformed (5 ms)
09:01:37
✓ when there is no way to upgrade (5 ms)
09:01:37
✓ when it's a downgrade (3 ms)
09:01:37
✓ when the upgrade fails (3 ms)
09:01:37
✓ when the rollup address changes (3 ms)
09:01:37 Version
09:01:37
✓ should create an empty version (1 ms)
09:01:37
✓ should serialize correctly (1 ms)
09:01:37
✓ establishes a partial odering (1 ms)
09:01:37
09:01:37
Test Suites: 1 passed, 1 total
09:01:37
Tests: 14 passed, 14 total
09:01:37
Snapshots: 0 total
09:01:37
Time: 0.686 s
09:01:37
Ran all test suites matching /stdlib\/src\/database-version\/version_manager.test.ts/i
.
09:01:37
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?