Parent Log:
http://ci.aztec-labs.com/9dbdeae6fbc98ad5
Command: d14a91e37c8b1083 yarn-project/scripts/run_test.sh stdlib/src/database-version/version_manager.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/97080f178c0a3e244c64b3c17bf255bed63fc3cf
Env: REF_NAME=gh-readonly-queue/next/pr-15065-4110b08ca823c6af4399e58e54e0483d6e3459ed CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Mon Jun 16 10:22:54 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15065_amd64_x3-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_5562d7b7c50cca17_next
10:22:56 [10:22:56.449]
WARN:
foundation:version-manager Failed to read stored version information: Error: Test: file not found. Defaulting to empty version
10:22:56 [10:22:56.458]
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":"0xbdc2c644a4f50e6d38540268fb891d1efcbbb9b0"}}
10:22:56 [10:22:56.466]
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
10:22:56 [10:22:56.467]
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":"0xd1f443c18e68f5d32f9c294c7f514d07084af274"}}
10:22:56 [10:22:56.472]
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
10:22:56 [10:22:56.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":"0x5f74430f7ca437745163a464f28cc2649fb588c3"}}
10:22:56 [10:22:56.481]
WARN:
foundation:version-manager Failed to read stored version information: Error: Failed to deserialize version information: [
10:22:56 {
10:22:56 "code": "invalid_type",
10:22:56 "expected": "number",
10:22:56 "received": "undefined",
10:22:56 "path": [
10:22:56 "schemaVersion"
10:22:56 ],
10:22:56 "message": "Required"
10:22:56 },
10:22:56 {
10:22:56 "code": "invalid_type",
10:22:56 "expected": "string",
10:22:56 "received": "undefined",
10:22:56 "path": [
10:22:56 "rollupAddress"
10:22:56 ],
10:22:56 "message": "Required"
10:22:56 }
10:22:56 ]. Defaulting to empty version
10:22:56 [10:22:56.481]
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":"0xa606c0a4268297525b6079b50bb13c8cfd2ba578"}}
10:22:56 [10:22:56.487]
INFO:
foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=41,rollupAddress=0xf08ead9a87279369f88f1528914fabdd67050db3"} to DatabaseVersion{schemaVersion=42,rollupAddress=0xf08ead9a87279369f88f1528914fabdd67050db3"}. Resetting database at /tmp/aztec-version-test
10:22:56 [10:22:56.492]
INFO:
foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=43,rollupAddress=0xfc7d2d4b299ab1074f7aa7c25033a44e814e8265"} to DatabaseVersion{schemaVersion=42,rollupAddress=0xfc7d2d4b299ab1074f7aa7c25033a44e814e8265"}. Resetting database at /tmp/aztec-version-test
10:22:56 [10:22:56.497]
INFO:
foundation:version-manager Upgrading from version 41 to 42
10:22:56 [10:22:56.497]
ERROR:
foundation:version-manager Failed to upgrade: Error: Test: failed upgrade. Falling back to reset.
10:22:56 [10:22:56.502]
WARN:
foundation:version-manager Rollup address has changed, resetting data directory
{"versionFile":"/tmp/aztec-version-test/db_version","storedVersion":{"schemaVersion":42,"rollupAddress":"0x5fea1ea87e0ab23a989e9785e5194d98b3df606a"},"currentVersion":{"schemaVersion":42,"rollupAddress":"0x91ebe8c97119d40fcb0a189d845bcb6dfd7caedb"}}
10:22:56 [10:22:56.506]
INFO:
foundation:version-manager Upgrading from version 41 to 42
10:22:56
PASS src/database-version/version_manager.test.ts
10:22:56 VersionManager
10:22:56 open
10:22:56
✓ upgrades the db (5 ms)
10:22:56
✓ opens the db (4 ms)
10:22:56 resets the database
10:22:56
✓ when no version file exists (27 ms)
10:22:56
✓ when there's an fs error (18 ms)
10:22:56
✓ when the version file is malformed (8 ms)
10:22:56
✓ when the version file is malformed (6 ms)
10:22:56
✓ when the version file is malformed (8 ms)
10:22:56
✓ when there is no way to upgrade (6 ms)
10:22:56
✓ when it's a downgrade (4 ms)
10:22:56
✓ when the upgrade fails (4 ms)
10:22:56
✓ when the rollup address changes (4 ms)
10:22:56 Version
10:22:56
✓ should create an empty version (1 ms)
10:22:56
✓ should serialize correctly (2 ms)
10:22:56
✓ establishes a partial odering (1 ms)
10:22:56
10:22:56
Test Suites: 1 passed, 1 total
10:22:56
Tests: 14 passed, 14 total
10:22:56
Snapshots: 0 total
10:22:56
Time: 0.625 s
10:22:56
Ran all test suites matching /stdlib\/src\/database-version\/version_manager.test.ts/i
.
10:22:56
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?