-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Ensure OS environment variables are wired into list
command as well
#29582
base: main
Are you sure you want to change the base?
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: stbenjam The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
When getting the list of tests, we need to have origin's environment variables. Some users are setting TEST_PROVIDER when invoking openshift-tests, which for `run` this gets overwritten with the correct ones from the cluster environment[1], but this doesn't happen with `list`. An upcoming change is going to require initializing the test framework even to list tests, which means we'll need to have the TEST_PROVIDER correctly set. [1] https://github.com/openshift/origin/blob/main/pkg/test/ginkgo/test_runner.go#L380-L403
c1ddb97
to
0055a0b
Compare
@stbenjam: The following tests failed, say
Full PR test history. Your PR dashboard. 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-sigs/prow repository. I understand the commands that are listed here. |
Job Failure Risk Analysis for sha: 0055a0b
Showing 20 of 43 jobs analysis |
When getting the list of tests, we need to have origin's environment variables.
Some users are setting TEST_PROVIDER when invoking openshift-tests, which for
run
this gets overwritten with the correct ones from the cluster environment[1], but this doesn't happen withlist
.An upcoming change is going to require initializing the test framework even to list tests, which means we'll need to have the TEST_PROVIDER correctly set.
[1] https://github.com/openshift/origin/blob/main/pkg/test/ginkgo/test_runner.go#L380-L403