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
tracker: improve the kubelet test coverage #109717
Comments
@fromanirh: This issue is currently awaiting triage. If a SIG or subproject determines this is a relevant issue, they will accept it by applying the The Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/sig node |
@fromanirh: GuidelinesPlease ensure that the issue body includes answers to the following questions:
For more details on the requirements of such an issue, please see here and ensure that they are met. If this request no longer meets these requirements, the label can be removed In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@endocrimes @SergeyKanzhelev I think this can help us as tracking issue and to involve more contributors |
@prakharporwal I think this can be a very nice way to start contributing in the node area (xref: #109595 (comment)) |
Sure can you assign this to me will start working on this. |
/assign |
/assign @prakharporwal |
Hi @fromanirh, @prakharporwal I am also interested in this issue, and I saw that there several sub-tasks. Maybe I could also participate in resolving this? |
@STRRL hi! Indeed there are several subtasks and I think there is ample space for collaboration. |
/assign |
Hi ! Sure @STRRL. I am working on
@fromanirh I raised a draft PR please you take a look. I created 1 test for internal container lifecycle PreStartContainer. I am a little confused onto what to assert on once the PreStartContainer function runs. What will change when this function runs ? What do we want to test for ? |
I would take a look at the rest files. :) |
Hi @fromanirh, @prakharporwal, @STRRL I am also interested in this issue, and I saw that there several sub-tasks. Maybe I could also participate in resolving this? l |
Hi @prakharporwal @STRRL @yuv00191
If no one is working it yet, can I do the work related to that? |
/assign |
@JayKayy this may have some room for another contributor, if you're interested. |
To give readers more context: basically any go source code with missing or insufficient unit test coverage is a good candidate. Some source files are harder than others to unit-test, and we will probably need to create or improve mocks/fakes. But we should start this process anyway, so totally help is welcome in this area. |
Sure I would like to get involved. I start looking at the coverage |
/assign |
/assign |
Hello all. I'm looking to begin contributing to this project and I saw this designated as |
/assign |
Hi! I was wondering if you guys needed more help on test coverage here. |
Hi @fromanirh 😄, I would like to contribute to this issue, there is anything that I could do? |
/assign |
/assign |
There is a strong and growing consensus in sig-node about the need of increasing the test coverage in the kubelet, improving the current testsuite about coverage and reliability. See for example the April 26 sig-node meeting notes and the April 27 sig-node CI subgroup meeting notes.
This work has already begun and there are already some PR posted (see: #108024 (review)). This is a great start. There are more areas in the kubelet, especially in the container manager and resource manager area, that can use better unit test coverage.
Besides the obvious benefits of documenting and preserving the current behaviour, adding tests is meant to lower the barrier for future work and contributions.
Examples of some areas which can benefit of more tests:
The text was updated successfully, but these errors were encountered: