Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SCT][test_cluster_healthcheck] Consider leading zeroes might be omitted for IPv6 addresses in sctool status ... output #4265

Open
mikliapko opened this issue Feb 25, 2025 · 0 comments
Assignees

Comments

@mikliapko
Copy link

test_cluster_healthcheck test might fail because of the Manager omitting leading zeroes for IPv6 addresses in sctool status ... output:

> Issuing: 'sctool status -c 916790ae-7a7d-472a-825e-2691b76f8bf3'
Datacenter: us-east
╭────┬──────────┬──────────┬────────────────────────────────────────┬────────┬──────┬───────────┬──────────┬───────┬──────────────────────────────────────╮
│    │ CQL      │ REST     │ Address                                │ Uptime │ CPUs │ Memory    │ Scylla   │ Agent │ Host ID                              │
|────┼──────────┼──────────┼────────────────────────────────────────┼────────┼──────┼───────────┼──────────┼───────┼──────────────────────────────────────┤
│ UN │ UP (0ms) │ UP (0ms) │ 2600:1f18:7f4:3c00:566f:f50e:aad4:cd31 │ 26m13s │ 2    │ 15.334GiB │ 2024.2.4 │ 3.4.1 │ 2aa35b90-d284-4142-a5c6-5ec13a3ad94a │
│ DN │ -        │ -        │ 2600:1f18:7f4:3c00:83ce:688:5b5e:943a  │ -      │ -    │ -         │ -        │ -     │ f02b53a7-4c46-4710-89fc-9f8895ed9604 │
│ UN │ UP (0ms) │ UP (0ms) │ 2600:1f18:7f4:3c00:e75b:e7e0:8258:cf0b │ 26m11s │ 2    │ 15.334GiB │ 2024.2.4 │ 3.4.1 │ 69d50a03-1101-49e9-b40b-beefe22af1f0 │

IPv6 address 2600:1f18:7f4:3c00:83ce:688:5b5e:943a has omitted zero for 688 block.

The test fails on the step

assert dict_host_health[other_host_ip].status == HostStatus.DOWN, "Host: {} status is not 'DOWN'".format(other_host_ip)

with error

2025-02-25 11:07:04.770: (TestFrameworkEvent Severity.ERROR) period_type=one-time event_id=56322200-032c-499d-a258-82b9bc1fdee7, source=ManagerSanityTests.test_manager_sanity (mgmt_cli_test.ManagerSanityTests) [Mgmt cluster Health Check]() message=Traceback (most recent call last):
File "/home/ubuntu/scylla-cluster-tests/mgmt_cli_test.py", line 1482, in test_manager_sanity
self.test_cluster_healthcheck()
File "/home/ubuntu/scylla-cluster-tests/mgmt_cli_test.py", line 1197, in test_cluster_healthcheck
assert dict_host_health[other_host_ip].status == HostStatus.DOWN, "Host: {} status is not 'DOWN'".format(
KeyError: '2600:1f18:07f4:3c00:83ce:0688:5b5e:943a'

Argus link - https://argus.scylladb.com/tests/scylla-cluster-tests/163f82a9-0fd3-4da9-aa59-03fc43661dcb

@mikliapko mikliapko self-assigned this Feb 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant