Parent Log:
http://ci.aztec-labs.com/3331709b9043bb65
Command: 97e7ef9a556fd7e6 yarn-project/scripts/run_test.sh stdlib/src/database-version/version_manager.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/015cb0cadef6a41094c3649f32a735392e1b9693
Env: REF_NAME=gh-readonly-queue/master/pr-15027-e9a2301883801edbe36ea8bba05dcca7e714f30a CURRENT_VERSION=0.87.8 CI_FULL=1
Date: Wed Jun 18 14:26:10 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15027_amd64_x2-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_5562d7b7c50cca17_master
14:26:11 [14:26:11.601]
WARN:
foundation:version-manager Failed to read stored version information: Error: Test: file not found. Defaulting to empty version
14:26:11 [14:26:11.606]
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":"0xa046e300fbc12c0a0d920f4b07441f91f07c9d75"}}
14:26:11 [14:26:11.611]
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:26:11 [14:26:11.611]
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":"0x0d8047e18f0d773c91455606827e7fc619004fa4"}}
14:26:11 [14:26:11.615]
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:26:11 [14:26:11.615]
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":"0xc780806b8a62968721a25d0492b0cc868f584f6d"}}
14:26:11 [14:26:11.621]
WARN:
foundation:version-manager Failed to read stored version information: Error: Failed to deserialize version information: [
14:26:11 {
14:26:11 "code": "invalid_type",
14:26:11 "expected": "number",
14:26:11 "received": "undefined",
14:26:11 "path": [
14:26:11 "schemaVersion"
14:26:11 ],
14:26:11 "message": "Required"
14:26:11 },
14:26:11 {
14:26:11 "code": "invalid_type",
14:26:11 "expected": "string",
14:26:11 "received": "undefined",
14:26:11 "path": [
14:26:11 "rollupAddress"
14:26:11 ],
14:26:11 "message": "Required"
14:26:11 }
14:26:11 ]. Defaulting to empty version
14:26:11 [14:26:11.622]
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":"0x7a8c07ebf0240e5f9832684d7c6d86506f70cf0e"}}
14:26:11 [14:26:11.635]
INFO:
foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=41,rollupAddress=0x33262f33ebcd733b9490e4a91ffc862a0ccacbb9"} to DatabaseVersion{schemaVersion=42,rollupAddress=0x33262f33ebcd733b9490e4a91ffc862a0ccacbb9"}. Resetting database at /tmp/aztec-version-test
14:26:11 [14:26:11.639]
INFO:
foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=43,rollupAddress=0x4a3e872f314b392fb8714734068c4f5fd04e4dda"} to DatabaseVersion{schemaVersion=42,rollupAddress=0x4a3e872f314b392fb8714734068c4f5fd04e4dda"}. Resetting database at /tmp/aztec-version-test
14:26:11 [14:26:11.644]
INFO:
foundation:version-manager Upgrading from version 41 to 42
14:26:11 [14:26:11.645]
ERROR:
foundation:version-manager Failed to upgrade: Error: Test: failed upgrade. Falling back to reset.
14:26:11 [14:26:11.649]
WARN:
foundation:version-manager Rollup address has changed, resetting data directory
{"versionFile":"/tmp/aztec-version-test/db_version","storedVersion":{"schemaVersion":42,"rollupAddress":"0xe8bb3b09961abca6253f9bc6e184a3d66da4e9ca"},"currentVersion":{"schemaVersion":42,"rollupAddress":"0xa08f10b2d7b450285dc50018a898de45675d3fdf"}}
14:26:11 [14:26:11.653]
INFO:
foundation:version-manager Upgrading from version 41 to 42
14:26:11
PASS src/database-version/version_manager.test.ts
14:26:11 VersionManager
14:26:11 open
14:26:11
✓ upgrades the db (3 ms)
14:26:11
✓ opens the db (3 ms)
14:26:11 resets the database
14:26:11
✓ when no version file exists (10 ms)
14:26:11
✓ when there's an fs error (10 ms)
14:26:11
✓ when the version file is malformed (4 ms)
14:26:11
✓ when the version file is malformed (4 ms)
14:26:11
✓ when the version file is malformed (15 ms)
14:26:11
✓ when there is no way to upgrade (5 ms)
14:26:11
✓ when it's a downgrade (5 ms)
14:26:11
✓ when the upgrade fails (4 ms)
14:26:11
✓ when the rollup address changes (3 ms)
14:26:11 Version
14:26:11
✓ should create an empty version
14:26:11
✓ should serialize correctly (2 ms)
14:26:11
✓ establishes a partial odering (1 ms)
14:26:11
14:26:11
Test Suites: 1 passed, 1 total
14:26:11
Tests: 14 passed, 14 total
14:26:11
Snapshots: 0 total
14:26:11
Time: 0.688 s
14:26:11
Ran all test suites matching /stdlib\/src\/database-version\/version_manager.test.ts/i
.
14:26:11
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?