Skip to content
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

Fix postponing the investigation #171

Merged
merged 1 commit into from Jul 13, 2022
Merged

Conversation

Martchus
Copy link
Contributor

  • Ensure the main() function of openqa-investigate actually passes the
    return code of the investigate() call
    • Only returns the return code of the last investigate() call but
      that should be ok since we're only investigating one job at a time
      in openqa-label-known-issues-and-investigate-hook
  • Add set -e to openqa-label-known-issues-and-investigate-hook for
    consistent behavior regardless whether the script is called via shebang
    or not
  • Tested against my local instance to see whether
    openqa-label-known-issues and
    openqa-label-known-issues-and-investigate-hook will actually return 142
  • See https://progress.opensuse.org/issues/95783

* Ensure the `main()` function of `openqa-investigate` actually passes the
  return code of the `investigate()` call
    * Only returns the return code of the last `investigate()` call but
      that should be ok since we're only investigating one job at a time
      in `openqa-label-known-issues-and-investigate-hook`
* Add `set -e` to `openqa-label-known-issues-and-investigate-hook` for
  consistent behavior regardless whether the script is called via shebang
  or not
* Tested against my local instance to see whether
  `openqa-label-known-issues` and
  `openqa-label-known-issues-and-investigate-hook` will actually return 142
* See https://progress.opensuse.org/issues/95783
@mergify mergify bot merged commit ff269ff into os-autoinst:master Jul 13, 2022
@Martchus Martchus deleted the parallel-2 branch July 13, 2022 15:39
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.

None yet

3 participants