Parent Log:
http://ci.aztec-labs.com/63d6054517662e68
Command: e4e37220d2336322 yarn-project/scripts/run_test.sh stdlib/src/database-version/version_manager.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/282da3bd25d49b92970e6fc85f110092e8566299
Env: REF_NAME=gh-readonly-queue/next/pr-14610-ee24aac96469b4f1cb8d70e614b2dd27bf0eb134 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Tue Jun 24 14:18:35 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:18:37 [14:18:37.460]
WARN:
foundation:version-manager Failed to read stored version information: Error: Test: file not found. Defaulting to empty version
14:18:37 [14:18:37.464]
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":"0xf5ccdcbe4b3502ca1f237e883a6bc5f87aacbaff"}}
14:18:37 [14:18:37.469]
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:18:37 [14:18:37.470]
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":"0xafebb328b5dcc7b0d3d5d6c61fbb15dffa0f820f"}}
14:18:37 [14:18:37.473]
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:18:37 [14:18:37.473]
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":"0x77a81a8b204deb843a671fefd052374f8c6ca629"}}
14:18:37 [14:18:37.478]
WARN:
foundation:version-manager Failed to read stored version information: Error: Failed to deserialize version information: [
14:18:37 {
14:18:37 "code": "invalid_type",
14:18:37 "expected": "number",
14:18:37 "received": "undefined",
14:18:37 "path": [
14:18:37 "schemaVersion"
14:18:37 ],
14:18:37 "message": "Required"
14:18:37 },
14:18:37 {
14:18:37 "code": "invalid_type",
14:18:37 "expected": "string",
14:18:37 "received": "undefined",
14:18:37 "path": [
14:18:37 "rollupAddress"
14:18:37 ],
14:18:37 "message": "Required"
14:18:37 }
14:18:37 ]. Defaulting to empty version
14:18:37 [14:18:37.479]
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":"0x9fe5eb3b22bc968a5345692e4b2a8a7c0e110b64"}}
14:18:37 [14:18:37.482]
INFO:
foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=41,rollupAddress=0x80e1c4286be488f770a0ea0503955874f77abb6a"} to DatabaseVersion{schemaVersion=42,rollupAddress=0x80e1c4286be488f770a0ea0503955874f77abb6a"}. Resetting database at /tmp/aztec-version-test
14:18:37 [14:18:37.486]
INFO:
foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=43,rollupAddress=0x2646a21bb1c4a8254cc1085121a75d6a738c4a7d"} to DatabaseVersion{schemaVersion=42,rollupAddress=0x2646a21bb1c4a8254cc1085121a75d6a738c4a7d"}. Resetting database at /tmp/aztec-version-test
14:18:37 [14:18:37.491]
INFO:
foundation:version-manager Upgrading from version 41 to 42
14:18:37 [14:18:37.491]
ERROR:
foundation:version-manager Failed to upgrade: Error: Test: failed upgrade. Falling back to reset.
14:18:37 [14:18:37.494]
WARN:
foundation:version-manager Rollup address has changed, resetting data directory
{"versionFile":"/tmp/aztec-version-test/db_version","storedVersion":{"schemaVersion":42,"rollupAddress":"0x88032d0227bf662d8f952c689e6396b895f0a61b"},"currentVersion":{"schemaVersion":42,"rollupAddress":"0x301be229e1683a2af8e7c537e5d165a145326240"}}
14:18:37 [14:18:37.497]
INFO:
foundation:version-manager Upgrading from version 41 to 42
14:18:37
PASS src/database-version/version_manager.test.ts
14:18:37 VersionManager
14:18:37 open
14:18:37
✓ upgrades the db (2 ms)
14:18:37
✓ opens the db (1 ms)
14:18:37 resets the database
14:18:37
✓ when no version file exists (8 ms)
14:18:37
✓ when there's an fs error (9 ms)
14:18:37
✓ when the version file is malformed (4 ms)
14:18:37
✓ when the version file is malformed (3 ms)
14:18:37
✓ when the version file is malformed (6 ms)
14:18:37
✓ when there is no way to upgrade (3 ms)
14:18:37
✓ when it's a downgrade (4 ms)
14:18:37
✓ when the upgrade fails (3 ms)
14:18:37
✓ when the rollup address changes (3 ms)
14:18:37 Version
14:18:37
✓ should create an empty version
14:18:37
✓ should serialize correctly (1 ms)
14:18:37
✓ establishes a partial odering (1 ms)
14:18:37
14:18:37
Test Suites: 1 passed, 1 total
14:18:37
Tests: 14 passed, 14 total
14:18:37
Snapshots: 0 total
14:18:37
Time: 0.603 s
14:18:37
Ran all test suites matching stdlib/src/database-version/version_manager.test.ts
.
14:18:37
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?