Parent Log:
http://ci.aztec-labs.com/5e515535e86b994c
Command: 5f8c4dc44886aef3 yarn-project/scripts/run_test.sh stdlib/src/database-version/version_manager.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/e340440b20c8e6058b811ce607aaf8447cf11c15
Env: REF_NAME=gh-readonly-queue/next/pr-15307-211a2c7b7aa5782c4eaa4292b84d2dc8c378aee1 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Thu Jun 26 19:01:51 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15307_amd64_x4-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_5562d7b7c50cca17_next
19:01:52 [19:01:52.964]
WARN:
foundation:version-manager Failed to read stored version information: Error: Test: file not found. Defaulting to empty version
19:01:52 [19:01:52.969]
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":"0x022d00acebcc88929ccaa67c0900a70785ebe7bd"}}
19:01:52 [19:01:52.972]
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
19:01:52 [19:01:52.973]
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":"0x63ad59eb945db6523f42e5eaffa27eea6fe478bb"}}
19:01:52 [19:01:52.976]
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
19:01:52 [19:01:52.976]
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":"0xf0433016d8a407e45af6beff450a8b0fea76f98e"}}
19:01:52 [19:01:52.981]
WARN:
foundation:version-manager Failed to read stored version information: Error: Failed to deserialize version information: [
19:01:52 {
19:01:52 "code": "invalid_type",
19:01:52 "expected": "number",
19:01:52 "received": "undefined",
19:01:52 "path": [
19:01:52 "schemaVersion"
19:01:52 ],
19:01:52 "message": "Required"
19:01:52 },
19:01:52 {
19:01:52 "code": "invalid_type",
19:01:52 "expected": "string",
19:01:52 "received": "undefined",
19:01:52 "path": [
19:01:52 "rollupAddress"
19:01:52 ],
19:01:52 "message": "Required"
19:01:52 }
19:01:52 ]. Defaulting to empty version
19:01:52 [19:01:52.981]
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":"0x55620efd10a0689c58db8385f99b206855142f06"}}
19:01:52 [19:01:52.984]
INFO:
foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=41,rollupAddress=0x755e76c6c621b6e6500165395a6667b9fc8398da"} to DatabaseVersion{schemaVersion=42,rollupAddress=0x755e76c6c621b6e6500165395a6667b9fc8398da"}. Resetting database at /tmp/aztec-version-test
19:01:52 [19:01:52.987]
INFO:
foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=43,rollupAddress=0x3de72068c4469568f217b6a63f6c0f9781de8b54"} to DatabaseVersion{schemaVersion=42,rollupAddress=0x3de72068c4469568f217b6a63f6c0f9781de8b54"}. Resetting database at /tmp/aztec-version-test
19:01:52 [19:01:52.990]
INFO:
foundation:version-manager Upgrading from version 41 to 42
19:01:52 [19:01:52.990]
ERROR:
foundation:version-manager Failed to upgrade: Error: Test: failed upgrade. Falling back to reset.
19:01:52 [19:01:52.993]
WARN:
foundation:version-manager Rollup address has changed, resetting data directory
{"versionFile":"/tmp/aztec-version-test/db_version","storedVersion":{"schemaVersion":42,"rollupAddress":"0x72b1358ece7d20e62ccd8b37751ed9cd4dd48e1c"},"currentVersion":{"schemaVersion":42,"rollupAddress":"0x0748c34e1948f7272706e3dc2ff3b90acd9fd2b9"}}
19:01:52 [19:01:52.995]
INFO:
foundation:version-manager Upgrading from version 41 to 42
19:01:53
PASS src/database-version/version_manager.test.ts
19:01:53 VersionManager
19:01:53 open
19:01:53
✓ upgrades the db (3 ms)
19:01:53
✓ opens the db (1 ms)
19:01:53 resets the database
19:01:53
✓ when no version file exists (11 ms)
19:01:53
✓ when there's an fs error (9 ms)
19:01:53
✓ when the version file is malformed (4 ms)
19:01:53
✓ when the version file is malformed (3 ms)
19:01:53
✓ when the version file is malformed (5 ms)
19:01:53
✓ when there is no way to upgrade (3 ms)
19:01:53
✓ when it's a downgrade (3 ms)
19:01:53
✓ when the upgrade fails (2 ms)
19:01:53
✓ when the rollup address changes (2 ms)
19:01:53 Version
19:01:53
✓ should create an empty version
19:01:53
✓ should serialize correctly (1 ms)
19:01:53
✓ establishes a partial odering
19:01:53
19:01:53
Test Suites: 1 passed, 1 total
19:01:53
Tests: 14 passed, 14 total
19:01:53
Snapshots: 0 total
19:01:53
Time: 0.613 s
19:01:53
Ran all test suites matching stdlib/src/database-version/version_manager.test.ts
.
19:01:53
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?