-
Notifications
You must be signed in to change notification settings - Fork 42
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
add support for running upstream testsuites #352
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this pull request.
The test called run-upstream
should be also present here https://github.com/sclorg/container-common-scripts/blob/master/common.mk#L104
Similar like this one, otherwise the test will not be executed by CI.
Yeah, the current implementation does not allow to run nodejs upstream unit tests in our CI. We did not really specified if we want to run them there or not. This will require some discussion. From my POV it is not needed to run these tests in the CI. If it was, then we probably would not want to create different target for them. But as I already wrote, let's discuss this also with @hhorak and @pkubatrh. |
In case we would like to run these tests in Nightly Builds or even by PR, then we need target in Makefile. |
Just one more note - the makefile target you are mentioning is currently suggested to be only in nodejs makefile, see sclorg/s2i-nodejs-container#415 |
Sure, but would we? Isn't the goal of this PR to move this workload to different CI, where the results would be relevant? |
All our https://github.com/sclorg repositories use common.mk that is used in repo CI, NightlyBuilds, sanity checks and even GitLab CI, etc. It is easy to call just I don't follow, what Also s2i-python-container has unstable test https://github.com/sclorg/s2i-python-container/blob/master/test/run#L30. In case To create a specific target in s2i-nodejs-container like you mentioned, excluding minimal and micro containers does not make sense from my point of view. |
Based on the discussion with NodeJS team, there will be two possibilities, how to execute these tests.
Hopefully nightly builds will be enough. From NightlyBuilds point of view, I need Makefile target as well and later on during a week I will incorporate these changes to NightlyBuild script. |
Well that's actually a point worth discussion. For the future -- are there any other containers that will need separated target for upstream tests? I do not recall any -- thus it makes more sense to me to implement the makefile target only to this(nodejs) specific container image repo.. But if you have some in mind please state it.
As I understood this feature, we wanted to introduce different target in order to not slow down our PR CI. If we wanted to run these tests in every CI then the UNSTABLE TESTS functionality could be just enough to cover the use-case.
Minimal and micro images have never run the upstream testsuites AFAIK. |
Or may be mentioned in README.md that new But my main point is not to spread into *-container repos in the future alone targets. Let's define them in the one place and in case script does not exist, then do not execute the tests. |
Ok, let's sum up the main dilemmas:
I suggest to discuss these main dilemmas on Wednesday in meeting. WDYT? |
508f9e5
to
b6f818f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CentOS Stream 9 is not supported here: https://github.com/sclorg/container-common-scripts/tree/master/tests/failures/check/v0 Please add this Dockerfile so tests are passing.
Please rebase it against the master |
aefffa8
to
ea19b60
Compare
[test] |
The nodejs container needs to implement new test target, so that the client upstream testsuites can be run separately from other tests. This commit is for support of this new feature.
Setting as draft for now.