Parent Log:
http://ci.aztec-labs.com/b2aeb59125c8259a
Command: f409422f407df62d yarn-project/scripts/run_test.sh stdlib/src/database-version/version_manager.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/f5bf74cc7cfdd8f2c3b0a69b410ed0dd2e068cda
Env: REF_NAME=gh-readonly-queue/next/pr-14610-d5c48d855d83e19712c6b72281801c6fce176ec1 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Wed Jun 18 14:00:25 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-14610_amd64_x4-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_5562d7b7c50cca17_next
14:00:27 [14:00:27.313]
WARN:
foundation:version-manager Failed to read stored version information: Error: Test: file not found. Defaulting to empty version
14:00:27 [14:00:27.318]
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":"0xeaf2b282f04911ec08a6b42f7d0efc8cad353d10"}}
14:00:27 [14:00:27.324]
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
14:00:27 [14:00:27.324]
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":"0xa18b1d745fcf940ac180e0c4009c2d7a83c2d7b8"}}
14:00:27 [14:00:27.328]
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
14:00:27 [14:00:27.328]
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":"0xd4158141873dadfa533144de8d4a8eec1817cc9b"}}
14:00:27 [14:00:27.333]
WARN:
foundation:version-manager Failed to read stored version information: Error: Failed to deserialize version information: [
14:00:27 {
14:00:27 "code": "invalid_type",
14:00:27 "expected": "number",
14:00:27 "received": "undefined",
14:00:27 "path": [
14:00:27 "schemaVersion"
14:00:27 ],
14:00:27 "message": "Required"
14:00:27 },
14:00:27 {
14:00:27 "code": "invalid_type",
14:00:27 "expected": "string",
14:00:27 "received": "undefined",
14:00:27 "path": [
14:00:27 "rollupAddress"
14:00:27 ],
14:00:27 "message": "Required"
14:00:27 }
14:00:27 ]. Defaulting to empty version
14:00:27 [14:00:27.333]
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":"0x36a6d96803d8b49752fe73dca3b3f34d59fb24cf"}}
14:00:27 [14:00:27.337]
INFO:
foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=41,rollupAddress=0x30830ff3417e89e23c113fb9736e59c692e51a06"} to DatabaseVersion{schemaVersion=42,rollupAddress=0x30830ff3417e89e23c113fb9736e59c692e51a06"}. Resetting database at /tmp/aztec-version-test
14:00:27 [14:00:27.341]
INFO:
foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=43,rollupAddress=0x89ab147106e215f7feee0016f5b4d5c7dfdfd599"} to DatabaseVersion{schemaVersion=42,rollupAddress=0x89ab147106e215f7feee0016f5b4d5c7dfdfd599"}. Resetting database at /tmp/aztec-version-test
14:00:27 [14:00:27.344]
INFO:
foundation:version-manager Upgrading from version 41 to 42
14:00:27 [14:00:27.345]
ERROR:
foundation:version-manager Failed to upgrade: Error: Test: failed upgrade. Falling back to reset.
14:00:27 [14:00:27.348]
WARN:
foundation:version-manager Rollup address has changed, resetting data directory
{"versionFile":"/tmp/aztec-version-test/db_version","storedVersion":{"schemaVersion":42,"rollupAddress":"0x627dee16eadbcdfed080f3b38b015ebf51e69ff8"},"currentVersion":{"schemaVersion":42,"rollupAddress":"0x21f70d93e21c882032a37d2a918eb761106cc922"}}
14:00:27 [14:00:27.353]
INFO:
foundation:version-manager Upgrading from version 41 to 42
14:00:27
PASS src/database-version/version_manager.test.ts
14:00:27 VersionManager
14:00:27 open
14:00:27
✓ upgrades the db (4 ms)
14:00:27
✓ opens the db (2 ms)
14:00:27 resets the database
14:00:27
✓ when no version file exists (12 ms)
14:00:27
✓ when there's an fs error (10 ms)
14:00:27
✓ when the version file is malformed (4 ms)
14:00:27
✓ when the version file is malformed (3 ms)
14:00:27
✓ when the version file is malformed (4 ms)
14:00:27
✓ when there is no way to upgrade (3 ms)
14:00:27
✓ when it's a downgrade (3 ms)
14:00:27
✓ when the upgrade fails (3 ms)
14:00:27
✓ when the rollup address changes (3 ms)
14:00:27 Version
14:00:27
✓ should create an empty version (1 ms)
14:00:27
✓ should serialize correctly (1 ms)
14:00:27
✓ establishes a partial odering (1 ms)
14:00:27
14:00:27
Test Suites: 1 passed, 1 total
14:00:27
Tests: 14 passed, 14 total
14:00:27
Snapshots: 0 total
14:00:27
Time: 0.706 s
14:00:27
Ran all test suites matching stdlib/src/database-version/version_manager.test.ts
.
14:00:27
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?