dmwm / CRABClient

runrange
14 stars 36 forks source link

do not fail on spurious gfal-copy errors #5310

Closed belforte closed 4 months ago

belforte commented 4 months ago

sometimes gfal-copy prints a message containing the error string to stderr, but the command succeeds. Currently this results (incorrectly) in client reporting failure.

Should check exit code first, and if that is 0, assume that copy was OK and parse stderr/stdout only to add information, no to take decisions. At least not on a generic string.

See https://github.com/dmwm/CRABServer/issues/8357