Parent Log:
http://ci.aztec-labs.com/cd44163f3616f4c5
Command: b71f9d6a9e3f68ca yarn-project/scripts/run_test.sh stdlib/src/database-version/version_manager.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/ee24aac96469b4f1cb8d70e614b2dd27bf0eb134
Env: REF_NAME=gh-readonly-queue/next/pr-15242-1c2c2ee2949dbe31742cc9501a31bf3bce8083cf CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Tue Jun 24 14:08:17 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15242_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:08:19 [14:08:19.060]
WARN:
foundation:version-manager Failed to read stored version information: Error: Test: file not found. Defaulting to empty version
14:08:19 [14:08:19.064]
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":"0x2bae8efc3010df535a01d47b88007fbe593c0815"}}
14:08:19 [14:08:19.069]
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:08:19 [14:08:19.069]
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":"0xf3930e7ec3936a3f318588bbcf9cc139e5e035ab"}}
14:08:19 [14:08:19.072]
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:08:19 [14:08:19.073]
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":"0x2a18c002757aa25c1c56fc310c4866ea4f50c825"}}
14:08:19 [14:08:19.076]
WARN:
foundation:version-manager Failed to read stored version information: Error: Failed to deserialize version information: [
14:08:19 {
14:08:19 "code": "invalid_type",
14:08:19 "expected": "number",
14:08:19 "received": "undefined",
14:08:19 "path": [
14:08:19 "schemaVersion"
14:08:19 ],
14:08:19 "message": "Required"
14:08:19 },
14:08:19 {
14:08:19 "code": "invalid_type",
14:08:19 "expected": "string",
14:08:19 "received": "undefined",
14:08:19 "path": [
14:08:19 "rollupAddress"
14:08:19 ],
14:08:19 "message": "Required"
14:08:19 }
14:08:19 ]. Defaulting to empty version
14:08:19 [14:08:19.077]
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":"0x1929b6fef33bfb21eac8844bb8cd8e7c08a1231c"}}
14:08:19 [14:08:19.079]
INFO:
foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=41,rollupAddress=0xcc4316f9fc4c72a45539610f9de028d96f3845d0"} to DatabaseVersion{schemaVersion=42,rollupAddress=0xcc4316f9fc4c72a45539610f9de028d96f3845d0"}. Resetting database at /tmp/aztec-version-test
14:08:19 [14:08:19.082]
INFO:
foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=43,rollupAddress=0xf0bd3bf4f5676153d8e69faaaf87ef16a437b4ea"} to DatabaseVersion{schemaVersion=42,rollupAddress=0xf0bd3bf4f5676153d8e69faaaf87ef16a437b4ea"}. Resetting database at /tmp/aztec-version-test
14:08:19 [14:08:19.084]
INFO:
foundation:version-manager Upgrading from version 41 to 42
14:08:19 [14:08:19.085]
ERROR:
foundation:version-manager Failed to upgrade: Error: Test: failed upgrade. Falling back to reset.
14:08:19 [14:08:19.087]
WARN:
foundation:version-manager Rollup address has changed, resetting data directory
{"versionFile":"/tmp/aztec-version-test/db_version","storedVersion":{"schemaVersion":42,"rollupAddress":"0x5c8c270eeadf9002cb53b8f219cfe9fc5b169476"},"currentVersion":{"schemaVersion":42,"rollupAddress":"0xee3fb780ec5a244de88409f76040be4b9757ef83"}}
14:08:19 [14:08:19.089]
INFO:
foundation:version-manager Upgrading from version 41 to 42
14:08:19
PASS src/database-version/version_manager.test.ts
14:08:19 VersionManager
14:08:19 open
14:08:19
✓ upgrades the db (2 ms)
14:08:19
✓ opens the db (1 ms)
14:08:19 resets the database
14:08:19
✓ when no version file exists (9 ms)
14:08:19
✓ when there's an fs error (8 ms)
14:08:19
✓ when the version file is malformed (4 ms)
14:08:19
✓ when the version file is malformed (3 ms)
14:08:19
✓ when the version file is malformed (4 ms)
14:08:19
✓ when there is no way to upgrade (3 ms)
14:08:19
✓ when it's a downgrade (2 ms)
14:08:19
✓ when the upgrade fails (2 ms)
14:08:19
✓ when the rollup address changes (2 ms)
14:08:19 Version
14:08:19
✓ should create an empty version (1 ms)
14:08:19
✓ should serialize correctly
14:08:19
✓ establishes a partial odering
14:08:19
14:08:19
Test Suites: 1 passed, 1 total
14:08:19
Tests: 14 passed, 14 total
14:08:19
Snapshots: 0 total
14:08:19
Time: 0.621 s
14:08:19
Ran all test suites matching stdlib/src/database-version/version_manager.test.ts
.
14:08:19
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?