Skip to content

Commit 1c282ce

Browse files
committed
dpl-workflow: more protection and explanation that this is due to bogus stdin file descriptors
1 parent 1c28764 commit 1c282ce

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

prodtests/full-system-test/aggregator-workflow.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ if [[ "${CALIB_TPC_SCDCALIB_SENDTRKDATA:-}" == "1" ]]; then ENABLE_TRACK_INPUT="
125125
# Calibration workflows
126126
if ! workflow_has_parameter CALIB_LOCAL_INTEGRATED_AGGREGATOR; then
127127
WORKFLOW=
128+
[[ "${GEN_TOPO_ONTHEFLY:-}" == "1" ]] && WORKFLOW="echo '{}' | " # When running in a pseudo terminal / with ODC, sometimes we have bogus stdin file descriptors
128129
else
129130
: ${AGGREGATOR_TASKS:=ALL}
130131
fi

prodtests/full-system-test/dpl-workflow.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ fi
360360
# Start of workflow command generation
361361

362362
WORKFLOW= # Make sure we start with an empty workflow
363-
[[ "${GEN_TOPO_ONTHEFLY:-}" == "1" ]] && WORKFLOW="echo '{}' | "
363+
[[ "${GEN_TOPO_ONTHEFLY:-}" == "1" ]] && WORKFLOW="echo '{}' | " # When running in a pseudo terminal / with ODC, sometimes we have bogus stdin file descriptors
364364

365365
# ---------------------------------------------------------------------------------------------------------------------
366366
# Input workflow

0 commit comments

Comments
 (0)