Parent Log:
http://ci.aztec-labs.com/28bed7997e2f8311
Command: 9b472e0d399d3b16 yarn-project/scripts/run_test.sh stdlib/src/database-version/version_manager.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/2b9c409698cf0f475a7a9f5884117c8ad2a4f79a
Env: REF_NAME=gh-readonly-queue/next/pr-14987-f880f14c946fb8464186d4178c5d49e391041988 CURRENT_VERSION=0.87.6 CI_FULL=0
Date: Thu Jun 12 14:45:24 UTC 2025
System: ARCH=arm64 CPUS=64 MEM=247Gi HOSTNAME=pr-14987_arm64_a1-fast
Resources: CPU_LIST=0-63 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_5562d7b7c50cca17_next
14:45:26 [14:45:26.094]
WARN:
foundation:version-manager Failed to read stored version information: Error: Test: file not found. Defaulting to empty version
14:45:26 [14:45:26.098]
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":"0x94a16c991683e40213cab4375c3b47081d563621"}}
14:45:26 [14:45:26.103]
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:45:26 [14:45:26.103]
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":"0x0ba54b77725b3cf0fc342d88001c538e69cb6815"}}
14:45:26 [14:45:26.107]
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:45:26 [14:45:26.108]
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":"0xae45a8a6ec9e029de1dbb164998d101d3bba5274"}}
14:45:26 [14:45:26.112]
WARN:
foundation:version-manager Failed to read stored version information: Error: Failed to deserialize version information: [
14:45:26 {
14:45:26 "code": "invalid_type",
14:45:26 "expected": "number",
14:45:26 "received": "undefined",
14:45:26 "path": [
14:45:26 "schemaVersion"
14:45:26 ],
14:45:26 "message": "Required"
14:45:26 },
14:45:26 {
14:45:26 "code": "invalid_type",
14:45:26 "expected": "string",
14:45:26 "received": "undefined",
14:45:26 "path": [
14:45:26 "rollupAddress"
14:45:26 ],
14:45:26 "message": "Required"
14:45:26 }
14:45:26 ]. Defaulting to empty version
14:45:26 [14:45:26.113]
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":"0xac5b3897a93574554e7f8748adec64c8619163c0"}}
14:45:26 [14:45:26.116]
INFO:
foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=41,rollupAddress=0x8b94a3e899dca67dc9b39d011ec49bd254f07f65"} to DatabaseVersion{schemaVersion=42,rollupAddress=0x8b94a3e899dca67dc9b39d011ec49bd254f07f65"}. Resetting database at /tmp/aztec-version-test
14:45:26 [14:45:26.121]
INFO:
foundation:version-manager Can't upgrade from version DatabaseVersion{schemaVersion=43,rollupAddress=0x15cd87e265e5ed9afcbb0c839dd5a5955063a284"} to DatabaseVersion{schemaVersion=42,rollupAddress=0x15cd87e265e5ed9afcbb0c839dd5a5955063a284"}. Resetting database at /tmp/aztec-version-test
14:45:26 [14:45:26.124]
INFO:
foundation:version-manager Upgrading from version 41 to 42
14:45:26 [14:45:26.124]
ERROR:
foundation:version-manager Failed to upgrade: Error: Test: failed upgrade. Falling back to reset.
14:45:26 [14:45:26.127]
WARN:
foundation:version-manager Rollup address has changed, resetting data directory
{"versionFile":"/tmp/aztec-version-test/db_version","storedVersion":{"schemaVersion":42,"rollupAddress":"0x98f3194045b4124ecf9fad1dd32f18292bcf6175"},"currentVersion":{"schemaVersion":42,"rollupAddress":"0x844066496a66085c0cbad8c3668da47b89f1bb64"}}
14:45:26 [14:45:26.131]
INFO:
foundation:version-manager Upgrading from version 41 to 42
14:45:26
PASS src/database-version/version_manager.test.ts
14:45:26 VersionManager
14:45:26 open
14:45:26
✓ upgrades the db (3 ms)
14:45:26
✓ opens the db (2 ms)
14:45:26 resets the database
14:45:26
✓ when no version file exists (8 ms)
14:45:26
✓ when there's an fs error (8 ms)
14:45:26
✓ when the version file is malformed (5 ms)
14:45:26
✓ when the version file is malformed (4 ms)
14:45:26
✓ when the version file is malformed (5 ms)
14:45:26
✓ when there is no way to upgrade (4 ms)
14:45:26
✓ when it's a downgrade (3 ms)
14:45:26
✓ when the upgrade fails (3 ms)
14:45:26
✓ when the rollup address changes (3 ms)
14:45:26 Version
14:45:26
✓ should create an empty version
14:45:26
✓ should serialize correctly (1 ms)
14:45:26
✓ establishes a partial odering
14:45:26
14:45:26
Test Suites: 1 passed, 1 total
14:45:26
Tests: 14 passed, 14 total
14:45:26
Snapshots: 0 total
14:45:26
Time: 0.497 s
14:45:26
Ran all test suites matching /stdlib\/src\/database-version\/version_manager.test.ts/i
.
14:45:26
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?