-
Notifications
You must be signed in to change notification settings - Fork 752
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
[Bug]: kubesonic/test_k8s_join_disjoin.py
failing with /bin/sh: 1: kubeadm: not found
#16617
Comments
@lixiaoyuner, @bingwang-ms, do we have |
@lixiaoyuner Can you please help check? |
@arista-nwolfe , the k8s package is not installed in sonic images which built from public branches, need to skip this test case if the sonic image is based on public branches, I just skip public master branch in the conditional mark file(link). Which public branches of sonic image you are using? We may need to update the conditional mark file to filter all public branches. |
We are currently testing the 202405 branch. Looking through the other conditions in the yaml file I don't see anywhere they distinguish between public and internal images. Otherwise I've seen the check for public vs internal within the test code using
We could do something similar for the |
Got it. Thanks for these approaches. I am going to figure out which is the better way, going to file a PR to fix this issue. |
Issue Description
The test
kubesonic/test_k8s_join_disjoin.py
was added recently by #16364This test requires the
kubeadm
package installed on the supervisor/LC but it doesn't appear to be present.https://github.com/sonic-net/sonic-mgmt/blob/202405/tests/kubesonic/test_k8s_join_disjoin.py#L37
Results you see
kubeadm
isn't installed on our supervisor and LCResults you expected to see
The test expects
kubeadm
to be installed on the supervisor/LCIs it platform specific
generic
Relevant log output
Output of
show version
Attach files (if any)
No response
The text was updated successfully, but these errors were encountered: