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

Parse error messages from scheduling failures #5390

Merged
merged 1 commit into from Dec 8, 2023

Conversation

baierjan
Copy link
Member

@baierjan baierjan commented Dec 7, 2023

openqa-cli schedule will only fail if there is error key in the json
root. In our case, the error message is inside the failed job list. Make
openqa-cli fail on that as well.

Reference: https://progress.opensuse.org/issues/138203

@Martchus
Copy link
Contributor

Martchus commented Dec 7, 2023

The change looks generally good. However, it seems it broke the developer mode and the fullstack test. Both tests are very similar so that failures are likely related. Maybe they rely on being able to schedule jobs at all despite those errors?

openqa-cli schedule will only fail if there is error key in the json
root. In our case, the error message is inside the failed job list. Make
openqa-cli fail on that as well.

Reference: https://progress.opensuse.org/issues/138203
Copy link

codecov bot commented Dec 8, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (db07886) 98.36% compared to head (b23bd17) 98.36%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #5390   +/-   ##
=======================================
  Coverage   98.36%   98.36%           
=======================================
  Files         389      389           
  Lines       37530    37530           
=======================================
  Hits        36918    36918           
  Misses        612      612           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@baierjan
Copy link
Member Author

baierjan commented Dec 8, 2023

And the test failures are gone...

@mergify mergify bot merged commit 97f9359 into master Dec 8, 2023
41 checks passed
@mergify mergify bot deleted the fail_on_schedule_failure branch December 8, 2023 15:32
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