Skip to content

Conversation

@zmiklank
Copy link
Contributor

@zmiklank zmiklank commented Jun 6, 2022

[test-all]

@zmiklank zmiklank force-pushed the run_all_openshift_tests_even_if_one_fails branch from 29c6c85 to 7bb1a33 Compare June 8, 2022 07:35
@zmiklank
Copy link
Contributor Author

zmiklank commented Jun 8, 2022

[test-all]

@zmiklank zmiklank marked this pull request as ready for review June 8, 2022 07:36
@phracek
Copy link
Member

phracek commented Jun 13, 2022

@zmiklank Rebase please.

@phracek
Copy link
Member

phracek commented Jun 13, 2022

OpenShift 4 failures are fixed by #449

@zmiklank zmiklank force-pushed the run_all_openshift_tests_even_if_one_fails branch from 7bb1a33 to 0d6f762 Compare June 13, 2022 09:48
@zmiklank
Copy link
Contributor Author

rebased.
[test-all]

@phracek
Copy link
Member

phracek commented Jun 30, 2022

Please rebase it.

@phracek
Copy link
Member

phracek commented Jun 30, 2022

As soon as PR is rebased then OpenShift 4 tests should be passing.

zmiklank added 2 commits June 30, 2022 10:03
The nounset shell option needs to be set after the OC login attempt,
because (from man shopt):

-u
  If expansion is attempted on an unset  variable  or
  parameter,  the  shell prints  an  error  message, and, if not
  interactive exits with a non-zero status.

That is in this matter inconvenient, as we do not really know from log
what has happened if the oc login fails and moreover the test suite ends
with success, as only the first failed test sets TESTSUITE_RESULT to 1.

If we check login with the ct_os_check_login function, it handles the
situation conveniently.
@zmiklank zmiklank force-pushed the run_all_openshift_tests_even_if_one_fails branch from 0d6f762 to 4ab07f2 Compare June 30, 2022 08:03
@zmiklank
Copy link
Contributor Author

Rebased.
[test-all]

@phracek
Copy link
Member

phracek commented Jun 30, 2022

[test-all]

Copy link
Member

@phracek phracek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Everything LGTM. Tests are passing and all GREEN again.

@phracek phracek merged commit 52a2c50 into sclorg:master Jun 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants