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 #161

Merged
merged 8 commits into from Feb 1, 2024

Conversation

mxk62
Copy link
Contributor

@mxk62 mxk62 commented Jan 29, 2024

Checklist

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

The GenericWorkflow class has a property which provides the job count
per task label.  Made changes to ensure that the label ordering reflects
the ordering of the pipetasks in the pipeline.
Copy link

codecov bot commented Jan 29, 2024

Codecov Report

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

Comparison is base (d902e64) 78.47% compared to head (db93175) 78.44%.

Files Patch % Lines
python/lsst/ctrl/bps/generic_workflow.py 50.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #161      +/-   ##
==========================================
- Coverage   78.47%   78.44%   -0.04%     
==========================================
  Files          40       40              
  Lines        3108     3099       -9     
  Branches      530      529       -1     
==========================================
- Hits         2439     2431       -8     
  Misses        578      578              
+ Partials       91       90       -1     

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

Copy link
Collaborator

@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.

One efficiency question and a minor comment change. Merge approved.

python/lsst/ctrl/bps/bps_reports.py Outdated Show resolved Hide resolved
@@ -284,7 +284,7 @@ def compile_job_summary(jobs):

Parameters
----------
jobs : `list` [`lsst.ctrl.bps.WmsRunReport`]
jobs : `list` [`lsst.ctrl.bps.WmsJobReport`]
List of run reports.
Copy link
Collaborator

Choose a reason for hiding this comment

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

If changing type to WmsJobReport, then should the comment be "List of job reports."?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, it should. Will fix.

python/lsst/ctrl/bps/wms_service.py Outdated Show resolved Hide resolved
Previous version of the ExitCodesReport was assuming that the payload
(pipetask) always exits with exit code 1 if case of any error.  As a
matter of fact, the pipetask can also exit with code 2 when any issues
with the command line are encountered (e.g. bad command, option, etc.).
Hence I added additional column to the exit code report which, similarly
to infrastructure errors, will show what type payload errors happened
during pipeline execution.
@mxk62 mxk62 merged commit c4eb25c into main Feb 1, 2024
13 of 14 checks passed
@mxk62 mxk62 deleted the tickets/DM-42127 branch February 1, 2024 03:56
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