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

DM-42127: Add htcondor support for bps report --return-exit-codes #29

Merged
merged 8 commits into from Feb 1, 2024

Conversation

mxk62
Copy link
Collaborator

@mxk62 mxk62 commented Jan 29, 2024

Checklist

  • ran Jenkins
  • added a release note for user-visible changes to doc/changes

Added a new flag to the report() method of HTCondorService class that
controls if the non-zero exit codes should be included in the report.
Copy link

codecov bot commented Jan 29, 2024

Codecov Report

Attention: 12 lines in your changes are missing coverage. Please review.

Comparison is base (de23a71) 15.24% compared to head (b1a50bc) 16.95%.

Files Patch % Lines
python/lsst/ctrl/bps/htcondor/htcondor_service.py 60.00% 11 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #29      +/-   ##
==========================================
+ Coverage   15.24%   16.95%   +1.71%     
==========================================
  Files           4        5       +1     
  Lines        1358     1392      +34     
  Branches      290      294       +4     
==========================================
+ Hits          207      236      +29     
- Misses       1149     1153       +4     
- Partials        2        3       +1     

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

Updated pre-commit config file to use the most recent Black.
Copy link
Contributor

@MichelleGower MichelleGower left a comment

Choose a reason for hiding this comment

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

A couple questions. Merge approved.

python/lsst/ctrl/bps/htcondor/htcondor_service.py Outdated Show resolved Hide resolved
python/lsst/ctrl/bps/htcondor/htcondor_service.py Outdated Show resolved Hide resolved
Modified the function responsible for gathering exit codes to omit
error codes for jobs that finished successfully (i.e. returned 0 exit code)
to align the plugin behavior with the one already implemented in the
PanDA plugin.
@mxk62 mxk62 merged commit f425817 into main Feb 1, 2024
12 checks passed
@mxk62 mxk62 deleted the tickets/DM-42127 branch February 1, 2024 03:55
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

2 participants