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.
sometimes
gfal-copy
prints a message containing theerror
string tostderr
, 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