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
edmPickEvents improvements #37208
edmPickEvents improvements #37208
Conversation
dasgoclient doesn't print all errors to stderr, some go to stdout. Since the errors are not proper JSON, edmPickEvents script will raise JSONDecodeError, but will not show the actual error. The following changes were added to get a better error message: 1) An early detection of failure (test if exit_code != 0) 2) A failsafe (catching JSONDecodeError)
assign analysis |
no need to explicitly assign the category for Pull requests, bot should do it automatically ( based on change set ) :-) |
That makes sense :) |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-37208/28809
|
A new Pull Request was created by @iarspider for master. It involves the following packages:
@cmsbuild, @santocch can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
please test |
-1 Failed Tests: UnitTests Unit TestsI found errors in the following unit tests: ---> test test_edmPickEvents had ERRORS Comparison SummarySummary:
|
@iarspider It seems there is still error on edmPickEvents https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-aa5464/23082/unitTests/log.txt
---> test test_edmPickEvents had ERRORS |
This PR does not fix an error, it merely makes actual error reported by
dasgoclient visible.
…On Tue, Mar 15, 2022, 02:24 Qiang Li ***@***.***> wrote:
@iarspider <https://github.com/iarspider> It seems there is still error
on edmPickEvents
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-aa5464/23082/unitTests/log.txt
===== Test "test_edmPickEvents" ====
- edmPickEvents.py /Cosmics/Run2011A-v1/RAW
160960:277:10001082,160960:277:10001058,160960:277:10001650
---> test test_edmPickEvents had ERRORS
—
Reply to this email directly, view it on GitHub
<#37208 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAE3NOXAWSRSMMIKKMQXCA3U77RDNANCNFSM5QPGJ7UA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Ok, thanks @iarspider |
+1
|
merge |
+1 |
This pull request is fully signed and it will be integrated in one of the next master IBs (but tests are reportedly failing). |
PR description:
dasgoclient doesn't print all errors to stderr, some go to stdout. Since the errors are not proper JSON, edmPickEvents script will raise JSONDecodeError, but will not show the actual error. The following changes were added to get a better error message:
PR validation:
Ran modified code locally.
Example command:
edmPickEvents.py Cosmics/Run2011A-v1/RAW 160960:277:10001082,160960:277:10001058,160960:277:10001650
Example output from original code:
Example output with proposed changes: