Skip to content

Commit

Permalink
Merge pull request DIRACGrid#7941 from DIRACGridBot/cherry-pick-2-d15…
Browse files Browse the repository at this point in the history
…568d3b-integration

[sweep:integration] fix: RemoteRunner integrity failures with std.out
  • Loading branch information
fstagni authored Dec 9, 2024
2 parents c4b7a6e + 4421b17 commit 9081eda
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/DIRAC/WorkloadManagementSystem/Utilities/RemoteRunner.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,12 @@ def execute(self, command, workingDirectory=".", numberOfProcessors=1, cleanRemo
# Get inputs from the current working directory
inputs = os.listdir(workingDirectory)
inputs.remove(os.path.basename(self.executable))
# We need to remove the standard output/error files if present
# as they might change during the execution of the application and fail the integrity check
if "std.out" in inputs:
inputs.remove("std.out")
if "std.err" in inputs:
inputs.remove("std.err")
self.log.verbose("The executable will be sent along with the following inputs:", ",".join(inputs))
# Request the whole directory as output
outputs = ["/"]
Expand Down

0 comments on commit 9081eda

Please sign in to comment.