-
Notifications
You must be signed in to change notification settings - Fork 72
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
Remove all hardcoded EOL K8s version #1949
Conversation
@agentpoyo @HashNuke could you please have a look to the failures as for instance They all failed because of This error can be easily reproduce by calling |
I just pushed a build to GitHub Actions. I have a wild guess what might be causing this issue. I'll share some notes incase the build fails. |
There are some failing tests. Here's the build -
@collivier I checked the changes in this PR. Looks like this is related to an older issue. Here is some info I dug up from my notes:
For GitHub Actions to work we'll have to configure to the kindest/node image that is the latest version not based on distroless. This is the reason that the kind node image was hardcoded in the GitHub Actions. I posted some notes in an older issue: From what I can remember, some parts of the testsuite rely on being able to ssh into the node and run certain commands (cluster-tools most likely). The distroless images don't help with this. Fixing the root cause would mean looking into this specifically. |
@HashNuke I frankly don't get your points, sorry. Many issues can easily fix by removing the useless -ti in kubectl calls.
You're free to install any software in the kind images
I'm diving into the litmus-chaos based tests in parallel which looks more difficult |
It avoids passing stdin to the container when useless. Please note it removes a comple of issues higlighted by [1] in airgap specs. It also removes all useless blank chars in the files modified by this change. [1] cnti-testcatalog#1949 Signed-off-by: Cédric Ollivier <[email protected]>
It avoids passing stdin to the container when useless. Please note it removes a couple of issues highlighted by [1] in airgap specs. It also removes all useless blank chars in the files modified by this change. [1] cnti-testcatalog#1949 Signed-off-by: Cédric Ollivier <[email protected]>
I believe this PR is now outdated by #1998 which was merged already. @wavell @denverwilliams can you confirm? |
It avoids passing stdin to the container when useless. Please note it removes a couple of issues highlighted by [1] in airgap specs. It also removes all useless blank chars in the files modified by this change. [1] cnti-testcatalog#1949 Signed-off-by: Cédric Ollivier <[email protected]>
close: cnti-testcatalog#1948 Signed-off-by: Cédric Ollivier <[email protected]>
@agentpoyo @wavell @denverwilliams I locally rebased this PR on top of main. It remains 3 changes removing the hardcoded obsolete K8S versions. Do you want me to pin v1.29.2 as you do in the other PR or do I just push the rebase here ? |
I'm thinking @denverwilliams is saying that it should stay pinned to avoid intermittent failure. Maybe we should update every month or so? |
@denverwilliams @wavell It's indirectly pinned via the kind version. I can doubly hardcode the version if really needed. please let me know |
@collivier Pinning via the Kind Version at the top level and removing the image pinning is fine. The only reason we were pinning the kind image was because we were installing Kind Latest. |
Note: The test spec test for pod_memory_hog is failing https://github.com/cnti-testcatalog/testsuite/actions/runs/9020615104/job/24793752233 after this was merged. It seems to be a problem with the spec for that test and not the test itself. It also does not appear to be related to the changes in this PR. cc: @denverwilliams |
Description
cnf testsuite must be verified vs up-to-date K8S versions.
By removing the harcoded K8S versions, the gates will leverage the latest stable K8S version as proposed by Kind.
Issues:
Refs: #1948
How has this been tested:
A verification job must be executed to see the testcases which would have to be updated.
This PR may ask for others PR if obsolete test cases ask for updates.
Types of changes: