You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The HTCondor options for stream_output and stream_error seem broken due to the way that the output remapping is handled
The handling for similar paths between output and error can be iffy.
Version: v0.1.20
Output streaming
Previously it was possible to have the logfiles at a custom location and also stream to that location.
The output and error arguments now only use the basename of the provided path.
While the remapping approach works when the files are transferred out of the job, it does not work with the file streaming.
The streamed files end up in the same directory as the *.jdl file instead.
The option to stream the logs is great for longer jobs/tasks to check their status, so it would be nice to somehow have this option again.
Example for wrong location of stderr and stdout when streaming:
For the purpose of streaming, this leads to an effective path of <htcondor_create_job_file_factory().dir>/Output_$(JobId).txt instead of the expected <htcondor_create_job_file_factory().dir>/Output/Output_$(JobId).txt.
Similar outputs
In addition, the reduction of both output and error to their basename can lead to unexpected issues if the basename of both is the same and only the rest of the provided path differs.
Bug description
stream_output
andstream_error
seem broken due to the way that the output remapping is handledVersion: v0.1.20
Output streaming
Previously it was possible to have the logfiles at a custom location and also stream to that location.
The
output
anderror
arguments now only use the basename of the provided path.While the remapping approach works when the files are transferred out of the job, it does not work with the file streaming.
The streamed files end up in the same directory as the
*.jdl
file instead.The option to stream the logs is great for longer jobs/tasks to check their status, so it would be nice to somehow have this option again.
Example for wrong location of stderr and stdout when streaming:
For the purpose of streaming, this leads to an effective path of
<htcondor_create_job_file_factory().dir>/Output_$(JobId).txt
instead of the expected<htcondor_create_job_file_factory().dir>/Output/Output_$(JobId).txt
.Similar outputs
In addition, the reduction of both
output
anderror
to their basename can lead to unexpected issues if the basename of both is the same and only the rest of the provided path differs.Example for mix up between stderr and stdout:
leads to
and there is no entry for
Output
.The text was updated successfully, but these errors were encountered: