hack: fix installing the ginkgo#328
Conversation
|
I don't think this will work in environments that are cut off from Internet access like the ART pipeline. The question is whether we need this. I specifically wanted to avoid installing |
@jmencak Thanks for the comment. Does the ART run e2e tests? |
In general, we can do the same as we are doing with other tools, and build it from the vendor directory. |
It does not to my knowledge and we are running the nightly tests separately on the nightlies instead. So as I say, I'm open to change and perhaps the worry/current config is unfounded. |
It is an option, but what you're doing is probably simpler and will keep the |
|
If we do decide to build |
hack/run-functests.sh
Outdated
| echo "Downloading ginkgo tool" | ||
| #go install github.com/onsi/ginkgo/ginkgo | ||
| go install github.com/onsi/ginkgo/ginkgo@v1.16.5 | ||
| GOFLAGS='' go install github.com/onsi/ginkgo/ginkgo@v1.16.5 |
There was a problem hiding this comment.
could you please add a comment/note in the commit message about what was the problem and why this fix resolves the problem?
There was a problem hiding this comment.
Sure will add the comment.
|
do we need ginkgo-the-runner or can we just use the ginkgo packages? |
We need the runner. |
ok, last question: how costly is to avoid using the runner? |
|
Ok the CI lane looks better now, it still has failures but at least it succeeded to run |
@fromanirh Just to be sure, by this do you mean how costly it is to create a test binary that we can run without ginkgo? |
I mean creating a ginkgo entry point like this: https://github.com/openshift-kni/numaresources-operator/blob/main/test/e2e/serial/e2e_serial_test.go which runs all the tests but does not need the |
|
@jmencak @cynepco3hahue either approach is fine. |
d78cbf9 to
f17a539
Compare
|
I'm not against the current approach btw |
I think in this case we probably can not use ginkgo flags, like fail fast. We can consider using it in the future, but first, we should be sure that all our tests are stable for 100%. |
we can, but I agree let's get out of the woods first and if this is the quickest way, let's go with it |
|
OK, let's wait for |
I would still pass this PR even if |
NON BLOCKING PoC here: #329 let's see how it goes |
the initial experiments demonstrate this is doable BUT having a 1:1 replacement is not so easy. We would possibly need some changes in how we run the suites, so by all means let's unblock quickly the e2e testing with this approach while #329 matures (or a better alternative emerges) |
I do not have a problem with the approach in this PR to get the tests working fast for the time being. |
|
/retest |
1 similar comment
|
/retest |
|
Great to see the |
- fix installation of the ginkgo under run-functests script - add release annotation to webhook configuration resources Signed-off-by: Artyom Lukianov <alukiano@redhat.com>
ee563b5 to
e51f226
Compare
Done. |
|
Thank you for a clean commit message. |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cynepco3hahue, jmencak The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/retest-required Please review the full test history for this PR and help us cut down flakes. |
|
@cynepco3hahue: PR needs rebase. DetailsInstructions 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. |
|
@cynepco3hahue: The following tests failed, say
Full PR test history. Your PR dashboard. DetailsInstructions 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. I understand the commands that are listed here. |
|
Fixed under different PR. |
Signed-off-by: Artyom Lukianov alukiano@redhat.com