-
Notifications
You must be signed in to change notification settings - Fork 136
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
Make sure kubelet gets restarted after package version change #525
Conversation
kubernetes::packages is a classthat may have no external impact to Forge modules. kubernetes::service is a classthat may have no external impact to Forge modules. This module is declared in 0 of 576 indexed public
|
Hmm I am not sure why the tests failed. I am doing something similar to: https://github.com/puppetlabs/puppetlabs-kubernetes/blob/main/manifests/packages.pp#L357 (referencing a Service declared in the service.pp class) I someone can give me a hint I'd appreciate it. |
c2ede67
to
65c2a71
Compare
Well, I don't know what I can do to make the tests pass... I tried a few different approaches but I always get an error. I wonder if the tests are OK. Just so you know, same patch, running on my infra, works as expected (kubelet services gets restarted after a package update):
@daianamezdrea can you please review it? Thanks |
Hi @danifr, thank you ! Yes, I'll have a look, I'll try to debug it locally and see what is not working fine |
c019df9
to
cde07d4
Compare
Hi @danifr, I pushed some changes to see if the specs are going to pass |
@daianamezdrea OMG thanks a lot!!! |
Hello again, can we get this change merged and have it available within the next release? Thank you! |
@daianamezdrea Hi! sorry for insisting, did you have some time to look at this? I think we can safely merge it into main |
8c37645
to
f01d63b
Compare
Hi @danifr, I required @carabasdaniel review on the changes I've made and he said that the dependencies added transform the unit tests in acceptance (with the changes I did) so I need to re-think the issue, sorry for the late response, looking now again how to approach it |
Hi @daianamezdrea happy new year! is there something I can do to have this merged? |
kubernetes::packages is a classthat may have no external impact to Forge modules. kubernetes::service is a classthat may have no external impact to Forge modules. This module is declared in 0 of 579 indexed public
|
Looks like there were some failing tests on the last run. I've re kicked them so we can get a fresh view of what is happening. |
kubernetes::packages is a classthat may have no external impact to Forge modules. kubernetes::service is a classthat may have no external impact to Forge modules. This module is declared in 0 of 579 indexed public
|
Looks like we have some conflicts. Could you rebase on current main please? |
Hello! 👋 This pull request has been open for a while and has had no recent activity. We've labelled it with If you are waiting on a response from us we will try and address your comments on a future Community Day. Alternatively, if it is no longer relevant to you please close the PR with a comment. Please note that if a pull request receives no update for 7 after it has been labelled, it will be closed. We are always happy to re-open pull request if they have been closed in error. |
Hi @chelnak, sorry I missed you comment. I just rebased from main and the tests are still failing... I don't understand why though... the only relevant change that this PR introduces is: Maybe you know what's going on. |
Still failing... I will try removing @daianamezdrea commit from this PR. Let's see |
Blows my mind that is fails with:
But it does not say anything about: https://github.com/puppetlabs/puppetlabs-kubernetes/blob/main/manifests/packages.pp#L357 |
75a6845
to
95718fb
Compare
@danifr looks like there are some merge conflicts. Could you resolve these so we can assess how to proceed with this. |
95718fb
to
169fd6e
Compare
I just did it. Thanks for the heads-up :) |
hey @danifr. I pulled your PR and ran the tests locally. The tests fail on your branch but pass on the master branch so the failures are due to your changes. The failing tests complain about missing k8s-related files e.g. Hopefully this helps! |
@GSPatton sorry did not have time to work on this. I can open a new PR in the future if I managed to get it working. I need to figure out how to run the test locally, so I can make sure the test pass before opening a PR. Do you have some docs or info on how to run them locally? |
Fix #524