-
Notifications
You must be signed in to change notification settings - Fork 108
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
protect voms-proxy-info in Credential/Proxy against JVM warning message #12075
Comments
NOTE: there are other uses of NOTE: this did not happen until we moved to IAM and debian container, were we found that we needed |
skip possible JVM msg in voms-proxy-info output. Fix #12075
alas this is not enough also other lines in Proxy.py needs to be protected like WMCore/src/python/WMCore/Credential/Proxy.py Line 757 in d618b12
I will make another PR |
Impact of the bug
sometimes CRAB TaskWorker fails to submit a user taskl
Describe the bug
CRAB TW have multiple processes running at same time. the JVM used in
voms-proxy client
can at time print a warning line before the actual information, still returning exit code 0. Proxy.py tries to eval the reply as an int, and raises an exception.More details in dmwm/CRABServer#8625
How to reproduce it
not easily reproducible. A full protection may be out of reach. But curing the known use case will surely help.
Expected behavior
fewer "obscure" submission failure
Additional context and error message
voms-proxy-info --timeleft
returnsI will provide a PR to fix this
The text was updated successfully, but these errors were encountered: