potiuk commented on pull request #15939:
URL: https://github.com/apache/airflow/pull/15939#issuecomment-846822925


   Also another thing that you might do immediately. The problem we have not 
seen the output was that "status" file was missing. Normally this "status" file 
is written by the trap:
   
   ```
   trap 'echo $? > "${PARALLEL_JOB_STATUS}"; 
kind::perform_kind_cluster_operation "stop"' EXIT HUP INT TERM
   ```
   but what we could also is treat "missing status file" as error. So what you 
could change as well is:
   
   in `_parallel.sh`:
   
   change
   
   ```
   status=$(cat "${PARALLEL_MONITORED_DIR}/${SEMAPHORE_NAME}/${job}/status")
   ````
   
   to:
   
   ```
   status=$(cat "${PARALLEL_MONITORED_DIR}/${SEMAPHORE_NAME}/${job}/status"  || 
true)
   ``
   
   and it should work.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to