fermitools / jobsub_lite

jobsub_lite is a wrapper for HTCondor job submission
Apache License 2.0
1 stars 7 forks source link

Fail getting proxy if cigetcert fails for any reason #570

Closed retzkek closed 3 months ago

retzkek commented 4 months ago

The check only actually returns an exception for one specific error condition, continuing on for others, which still may not have gotten a certificate. This can result in confusing errors like PermissionError: Failed attempting 'voms-proxy-init ...

https://github.com/fermitools/jobsub_lite/blob/115727dd2d354331dbbd87c9b93c82eb69bb9e37/lib/fake_ifdh.py#L360-L365