Parent Log:
http://ci.aztec-labs.com/d6ab7b7597a8cce2
Command: 19ef62d9450eeb9e yarn-project/scripts/run_test.sh stdlib/src/database-version/version_manager.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/eb7990c89ac679ce7fdfc2e985670cbf85c04be2
Env: REF_NAME=gh-readonly-queue/next/pr-14918-b70544b6d50e3ecb6598361f1990bd51745c7b55 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Tue Jun 17 09:03:16 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-14918_amd64_x3-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_5562d7b7c50cca17_next
09:03:18 [09:03:18.138]
WARN:
foundation:version-manager Failed to read stored version information: Error: Test: file not found. Defaulting to empty version
09:03:18 [09:03:18.142]
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":"0x2053a13d0d55b2b4c8bf73b9385d10858d375621"}}
09:03:18 [09:03:18.146]
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:03:18 [09:03:18.146]
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":"0x9fca03418d92d2ab9c497257ca84b623fdb90e90"}}
09:03:18 [09:03:18.149]
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:03:18 [09:03:18.149]
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":"0x9aa0e4add25595f1a602818835a5cf71eb02a7cf"}}
09:03:18 [09:03:18.153]
WARN:
foundation:version-manager Failed to read stored version information: Error: Failed to deserialize version information: [
09:03:18 {
09:03:18 "code": "invalid_type",
09:03:18 "expected": "number",
09:03:18 "received": "undefined",
09:03:18 "path": [
09:03:18 "schemaVersion"
09:03:18 ],
09:03:18 "message": "Required"
09:03:18 },
09:03:18 {
09:03:18 "code": "invalid_type",
09:03:18 "expected": "string",
09:03:18 "received": "undefined",
09:03:18 "path": [
09:03:18 "rollupAddress"
09:03:18 ],
09:03:18 "message": "Required"
09:03:18 }
09:03:18 ]. Defaulting to empty version
09:03:18 [09:03:18.155]
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":"0x462b5ddd2d3be8e03115bcb432095904bd8a2ba4"}}
09:03:18 [09:03:18.162]
INFO:
foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=41,rollupAddress=0xe48fbbe335b13ed908e907c463379d0de54b9570"} to DatabaseVersion{schemaVersion=42,rollupAddress=0xe48fbbe335b13ed908e907c463379d0de54b9570"}. Resetting database at /tmp/aztec-version-test
09:03:18 [09:03:18.169]
INFO:
foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=43,rollupAddress=0x9168fc19a990f72cfe6dac620da7634a91dbb84d"} to DatabaseVersion{schemaVersion=42,rollupAddress=0x9168fc19a990f72cfe6dac620da7634a91dbb84d"}. Resetting database at /tmp/aztec-version-test
09:03:18 [09:03:18.176]
INFO:
foundation:version-manager Upgrading from version 41 to 42
09:03:18 [09:03:18.177]
ERROR:
foundation:version-manager Failed to upgrade: Error: Test: failed upgrade. Falling back to reset.
09:03:18 [09:03:18.180]
WARN:
foundation:version-manager Rollup address has changed, resetting data directory
{"versionFile":"/tmp/aztec-version-test/db_version","storedVersion":{"schemaVersion":42,"rollupAddress":"0xf05231c7a10373b69e6c15b4e2f1bcf1f6fe8f06"},"currentVersion":{"schemaVersion":42,"rollupAddress":"0x874bfbe59cc903d4a413623164f2b0ab9119af65"}}
09:03:18 [09:03:18.188]
INFO:
foundation:version-manager Upgrading from version 41 to 42
09:03:18
PASS src/database-version/version_manager.test.ts
09:03:18 VersionManager
09:03:18 open
09:03:18
✓ upgrades the db (7 ms)
09:03:18
✓ opens the db (2 ms)
09:03:18 resets the database
09:03:18
✓ when no version file exists (6 ms)
09:03:18
✓ when there's an fs error (7 ms)
09:03:18
✓ when the version file is malformed (3 ms)
09:03:18
✓ when the version file is malformed (2 ms)
09:03:18
✓ when the version file is malformed (6 ms)
09:03:18
✓ when there is no way to upgrade (8 ms)
09:03:18
✓ when it's a downgrade (3 ms)
09:03:18
✓ when the upgrade fails (4 ms)
09:03:18
✓ when the rollup address changes (4 ms)
09:03:18 Version
09:03:18
✓ should create an empty version (1 ms)
09:03:18
✓ should serialize correctly (1 ms)
09:03:18
✓ establishes a partial odering (1 ms)
09:03:18
09:03:18
Test Suites: 1 passed, 1 total
09:03:18
Tests: 14 passed, 14 total
09:03:18
Snapshots: 0 total
09:03:18
Time: 0.732 s
09:03:18
Ran all test suites matching stdlib/src/database-version/version_manager.test.ts
.
09:03:18
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?