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

Explicitly enabled verbose and abort on failure for GFAL2 plugin #11636

Merged
merged 2 commits into from
Jun 30, 2023

Conversation

amaltaro
Copy link
Contributor

@amaltaro amaltaro commented Jun 30, 2023

Fixes #11556
Might superseed #11626

Status

ready

Description

This is a less intrusive potential fix for the GFAL2 issues seen during stage out (alternative to what is provided in #11626).

In short, it provides 2 new options to the gfal-copy command:

  • -v: enable warning verbose mode
  • --abort-on-failure: abort the whole copy process as soon as there is a failure

Given that we see an "internal" error in the gfal-copy command that does not propagate all the way to the final exit code of the command, I would expect it to be resolved with the --abort-on-failure option.

Is it backward compatible (if not, which system it affects?)

YES

Related PRs

None

External dependencies / deployment changes

None

@cmsdmwmbot
Copy link

Jenkins results:

  • Python3 Unit tests: succeeded
    • 1 tests no longer failing
  • Python3 Pylint check: succeeded
    • 64 comments to review
  • Pylint py3k check: succeeded
  • Pycodestyle check: succeeded
    • 1 comments to review

Details at https://cmssdt.cern.ch/dmwm-jenkins/view/All/job/DMWM-WMCore-PR-test/14294/artifact/artifacts/PullRequestReport.html

Copy link
Contributor

@todor-ivanov todor-ivanov left a comment

Choose a reason for hiding this comment

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

this looks good

@amaltaro
Copy link
Contributor Author

Basic tests for this have been successful. I am going to merge this one and hopefully this option will resolve the issues seen with GFAL2 based stage out.

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.

gfal-copy failing but returning status code 0 - leaving a bunch of file mismatch in the system
3 participants