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

Update error handling #23

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Update error handling #23

wants to merge 2 commits into from

Conversation

rahmans1
Copy link
Contributor

Briefly, what does this PR introduce?

Check xrootd connectivity and token validity at the beginning of the job and before transfers

What kind of change does this PR introduce?

  • Bug fix (issue #__)
  • New feature (issue #__)
  • Documentation update
  • Other: __

Please check if this PR fulfills the following:

  • Tests for the changes have been added
  • Documentation has been added / updated
  • Changes have been communicated to collaborators

Does this PR introduce breaking changes? What changes might users need to make to their code?

Does this PR change default behavior?

Check xrootd connectivity and token validity at the beginning of the job and before transfers
@rahmans1 rahmans1 requested a review from wdconinc August 14, 2024 19:26
scripts/run.sh Outdated

# Check xrootd connectivity
export BEARER_TOKEN=$(cat ${_CONDOR_CREDS}/eic.use)
if !(httokendecode -H && xrdfs ${XRDWURL} ls ${XRDWBASE} && xrdfs ${XRDRURL} ls ${XRDRBASE}); then
Copy link
Contributor

Choose a reason for hiding this comment

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

Is the output of httokendecode -H something you are ok with appearing in logs?

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.

2 participants