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

Report error logs from codecov upload fail #193

Merged
merged 1 commit into from
Aug 30, 2022

Conversation

marshallward
Copy link
Member

This patch extends the REPORT_ERROR_LOGS flag behavior to also report
the error log of failed codecov uploads.

I expect there's little we can do on our end, but more information will
at least help to understand the problem.

@codecov
Copy link

codecov bot commented Aug 12, 2022

Codecov Report

Merging #193 (575595a) into dev/gfdl (1c85a00) will decrease coverage by 0.26%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##           dev/gfdl     #193      +/-   ##
============================================
- Coverage     37.22%   36.95%   -0.27%     
============================================
  Files           261      261              
  Lines         72499    71797     -702     
  Branches      13554    13457      -97     
============================================
- Hits          26985    26533     -452     
+ Misses        40514    40305     -209     
+ Partials       5000     4959      -41     
Impacted Files Coverage Δ
src/tracer/MOM_neutral_diffusion.F90 66.87% <0.00%> (+1.49%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@marshallward
Copy link
Member Author

This isn't doing what it should, the report flag is not set.
I'll try to see if I can fix it, if not then I'll close the issue and re-open later.

@marshallward
Copy link
Member Author

marshallward commented Aug 12, 2022

The PR was modified to remove the conditional reporting based on REPORT_ERROR_LOGS. It now always prints stderr on fail.

The issue above was because we only set this variable for the FMS build. If we want to extend that variable, we can do it in another PR.

Copy link
Member

@Hallberg-NOAA Hallberg-NOAA left a comment

Choose a reason for hiding this comment

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

This seems to me like a useful improvement in the error reporting in the case of failed test cases.

Failed codecov.io uploads now report the stderr output.

This will allow us to start diagnosing the intermittent failures and,
possibly, find a solution.
@Hallberg-NOAA
Copy link
Member

Given the nature of these changes, only the TC testing is impacted, so there is no need to go through the pipeline regression tests.

@Hallberg-NOAA Hallberg-NOAA merged commit 66ba6a7 into NOAA-GFDL:dev/gfdl Aug 30, 2022
@marshallward marshallward deleted the codecov_err_report branch July 21, 2023 14:54
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