Parent Log:
http://ci.aztec-labs.com/34a1c30ebc4985df
Command: a8cc061dbe484831 yarn-project/scripts/run_test.sh stdlib/src/database-version/version_manager.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/c2e27576e66fad0caaa136e905b8439d70c05e37
Env: REF_NAME=gh-readonly-queue/next/pr-15181-58696523cc93fda453138a4f2c2dff72b21f0bfa CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Fri Jun 20 13:20:34 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15181_amd64_x1-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_5562d7b7c50cca17_next
13:20:35 [13:20:35.837]
WARN:
foundation:version-manager Failed to read stored version information: Error: Test: file not found. Defaulting to empty version
13:20:35 [13:20:35.843]
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":"0x65f8d7beb828360d7c7fe6271192389298ffbc43"}}
13:20:35 [13:20:35.849]
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
13:20:35 [13:20:35.849]
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":"0x85b4c247d40794766c2b7c553cb1c7a9816b46bc"}}
13:20:35 [13:20:35.853]
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
13:20:35 [13:20:35.854]
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":"0x5875b7d54fdc63a3e5dcb960299ae9dc8680f5f1"}}
13:20:35 [13:20:35.858]
WARN:
foundation:version-manager Failed to read stored version information: Error: Failed to deserialize version information: [
13:20:35 {
13:20:35 "code": "invalid_type",
13:20:35 "expected": "number",
13:20:35 "received": "undefined",
13:20:35 "path": [
13:20:35 "schemaVersion"
13:20:35 ],
13:20:35 "message": "Required"
13:20:35 },
13:20:35 {
13:20:35 "code": "invalid_type",
13:20:35 "expected": "string",
13:20:35 "received": "undefined",
13:20:35 "path": [
13:20:35 "rollupAddress"
13:20:35 ],
13:20:35 "message": "Required"
13:20:35 }
13:20:35 ]. Defaulting to empty version
13:20:35 [13:20:35.859]
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":"0x061989864cef659b07b321d3d416044a200a4e99"}}
13:20:35 [13:20:35.862]
INFO:
foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=41,rollupAddress=0x615f56ed9e24e929171d1a098e088768cc6d0b19"} to DatabaseVersion{schemaVersion=42,rollupAddress=0x615f56ed9e24e929171d1a098e088768cc6d0b19"}. Resetting database at /tmp/aztec-version-test
13:20:35 [13:20:35.865]
INFO:
foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=43,rollupAddress=0x9e59fcc02964285bbd0e0b9b1daebd62c7123775"} to DatabaseVersion{schemaVersion=42,rollupAddress=0x9e59fcc02964285bbd0e0b9b1daebd62c7123775"}. Resetting database at /tmp/aztec-version-test
13:20:35 [13:20:35.867]
INFO:
foundation:version-manager Upgrading from version 41 to 42
13:20:35 [13:20:35.868]
ERROR:
foundation:version-manager Failed to upgrade: Error: Test: failed upgrade. Falling back to reset.
13:20:35 [13:20:35.870]
WARN:
foundation:version-manager Rollup address has changed, resetting data directory
{"versionFile":"/tmp/aztec-version-test/db_version","storedVersion":{"schemaVersion":42,"rollupAddress":"0x15668c947ec6205247240c3a59e902123d078a53"},"currentVersion":{"schemaVersion":42,"rollupAddress":"0xb98b6284c4522a4e57851c07f67944dba58b2ce0"}}
13:20:35 [13:20:35.873]
INFO:
foundation:version-manager Upgrading from version 41 to 42
13:20:35
PASS src/database-version/version_manager.test.ts
13:20:35 VersionManager
13:20:35 open
13:20:35
✓ upgrades the db (2 ms)
13:20:35
✓ opens the db (2 ms)
13:20:35 resets the database
13:20:35
✓ when no version file exists (10 ms)
13:20:35
✓ when there's an fs error (11 ms)
13:20:35
✓ when the version file is malformed (5 ms)
13:20:35
✓ when the version file is malformed (3 ms)
13:20:35
✓ when the version file is malformed (4 ms)
13:20:35
✓ when there is no way to upgrade (4 ms)
13:20:35
✓ when it's a downgrade (2 ms)
13:20:35
✓ when the upgrade fails (2 ms)
13:20:35
✓ when the rollup address changes (3 ms)
13:20:35 Version
13:20:35
✓ should create an empty version (1 ms)
13:20:35
✓ should serialize correctly (1 ms)
13:20:35
✓ establishes a partial odering (1 ms)
13:20:35
13:20:35
Test Suites: 1 passed, 1 total
13:20:35
Tests: 14 passed, 14 total
13:20:35
Snapshots: 0 total
13:20:35
Time: 0.67 s
13:20:35
Ran all test suites matching stdlib/src/database-version/version_manager.test.ts
.
13:20:35
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?