Parent Log:
http://ci.aztec-labs.com/7ec536495953bb64
Command: 70462c95d683706b yarn-project/scripts/run_test.sh stdlib/src/database-version/version_manager.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/fa159c5d52a45358479f951a547fed37f141a6ed
Env: REF_NAME=gh-readonly-queue/next/pr-15054-184d5f7d956dd7251670a2dd6728f313cfdf3caf CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Fri Jun 13 22:56:51 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15054_amd64_x1-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_5562d7b7c50cca17_next
22:56:52 [22:56:52.837]
WARN:
foundation:version-manager Failed to read stored version information: Error: Test: file not found. Defaulting to empty version
22:56:52 [22:56:52.842]
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":"0xd243a1a0e289483cfa248b375b8d4648ab8021b0"}}
22:56:52 [22:56:52.848]
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
22:56:52 [22:56:52.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":"0xde0a24ab30160813a77a480f96f86d008f9705d4"}}
22:56:52 [22:56:52.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
22:56:52 [22:56:52.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":"0x809e4b8555e6d962817b2587867364ca95b8b949"}}
22:56:52 [22:56:52.860]
WARN:
foundation:version-manager Failed to read stored version information: Error: Failed to deserialize version information: [
22:56:52 {
22:56:52 "code": "invalid_type",
22:56:52 "expected": "number",
22:56:52 "received": "undefined",
22:56:52 "path": [
22:56:52 "schemaVersion"
22:56:52 ],
22:56:52 "message": "Required"
22:56:52 },
22:56:52 {
22:56:52 "code": "invalid_type",
22:56:52 "expected": "string",
22:56:52 "received": "undefined",
22:56:52 "path": [
22:56:52 "rollupAddress"
22:56:52 ],
22:56:52 "message": "Required"
22:56:52 }
22:56:52 ]. Defaulting to empty version
22:56:52 [22:56:52.860]
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":"0xab13db324c0b99f992ebcb724f11de6337fead23"}}
22:56:52 [22:56:52.864]
INFO:
foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=41,rollupAddress=0xdb961958fa29705a2f5a287fbc8adc8563b264af"} to DatabaseVersion{schemaVersion=42,rollupAddress=0xdb961958fa29705a2f5a287fbc8adc8563b264af"}. Resetting database at /tmp/aztec-version-test
22:56:52 [22:56:52.868]
INFO:
foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=43,rollupAddress=0x87dc3a1e28344dbc3b0772cf6febb92feda28f23"} to DatabaseVersion{schemaVersion=42,rollupAddress=0x87dc3a1e28344dbc3b0772cf6febb92feda28f23"}. Resetting database at /tmp/aztec-version-test
22:56:52 [22:56:52.872]
INFO:
foundation:version-manager Upgrading from version 41 to 42
22:56:52 [22:56:52.872]
ERROR:
foundation:version-manager Failed to upgrade: Error: Test: failed upgrade. Falling back to reset.
22:56:52 [22:56:52.877]
WARN:
foundation:version-manager Rollup address has changed, resetting data directory
{"versionFile":"/tmp/aztec-version-test/db_version","storedVersion":{"schemaVersion":42,"rollupAddress":"0x05a169aef7cc879e036a5e1fcfc6b2794c7a4c0c"},"currentVersion":{"schemaVersion":42,"rollupAddress":"0x81b81fe6dc699dcc2d4671d0fee8a2a2a7c3bf69"}}
22:56:52 [22:56:52.888]
INFO:
foundation:version-manager Upgrading from version 41 to 42
22:56:52
PASS src/database-version/version_manager.test.ts
22:56:52 VersionManager
22:56:52 open
22:56:52
✓ upgrades the db (10 ms)
22:56:52
✓ opens the db (6 ms)
22:56:52 resets the database
22:56:52
✓ when no version file exists (11 ms)
22:56:52
✓ when there's an fs error (10 ms)
22:56:52
✓ when the version file is malformed (6 ms)
22:56:52
✓ when the version file is malformed (4 ms)
22:56:52
✓ when the version file is malformed (6 ms)
22:56:52
✓ when there is no way to upgrade (4 ms)
22:56:52
✓ when it's a downgrade (4 ms)
22:56:52
✓ when the upgrade fails (5 ms)
22:56:52
✓ when the rollup address changes (5 ms)
22:56:52 Version
22:56:52
✓ should create an empty version
22:56:52
✓ should serialize correctly (1 ms)
22:56:52
✓ establishes a partial odering (1 ms)
22:56:52
22:56:52
Test Suites: 1 passed, 1 total
22:56:52
Tests: 14 passed, 14 total
22:56:52
Snapshots: 0 total
22:56:52
Time: 0.681 s
22:56:52
Ran all test suites matching /stdlib\/src\/database-version\/version_manager.test.ts/i
.
22:56:52
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?