crazyproger commented on issue #16573:
URL: https://github.com/apache/airflow/issues/16573#issuecomment-911849648


   Just found failed task with exactly this message. Airflow 2.1.3.
   first task attempt end of log:
   ```
   ...
   [2021-09-02 15:38:18,542] {python.py:151} INFO - Done. Returned value was: 
None
   [2021-09-02 15:38:18,554] {taskinstance.py:1218} INFO - Marking task as 
SUCCESS. dag_id=<dag_id>, task_id=process, execution_date=20210809T150000, 
start_date=20210902T153811, end_date=20210902T153818
   [2021-09-02 15:38:18,641] {local_task_job.py:151} INFO - Task exited with 
return code 0
   [2021-09-02 15:38:18,651] {taskinstance.py:1512} INFO - Marking task as 
FAILED. dag_id=<dag_id>, task_id=process, execution_date=20210809T150000, 
start_date=20210902T153818, end_date=20210902T153818
   [2021-09-02 15:38:18,749] {local_task_job.py:261} INFO - 0 downstream tasks 
scheduled from follow-on schedule check
   ```
   Second attempt log(full):
   ```
   *** Log file does not exist: /opt/airflow/logs/ 
<dag_id>/process/2021-08-09T15:00:00+00:00/2.log
   *** Fetching from: http://<worker_host>:8793/log/ 
<dag_id>/process/2021-08-09T15:00:00+00:00/2.log
   
   [2021-09-02 15:38:18,574] {taskinstance.py:903} INFO - Dependencies all met 
for <TaskInstance: <dag_id>.process 2021-08-09T15:00:00+00:00 [queued]>
   [2021-09-02 15:38:18,603] {taskinstance.py:903} INFO - Dependencies all met 
for <TaskInstance:  <dag_id>.process 2021-08-09T15:00:00+00:00 [queued]>
   [2021-09-02 15:38:18,603] {taskinstance.py:1094} INFO - 
   
--------------------------------------------------------------------------------
   [2021-09-02 15:38:18,603] {taskinstance.py:1095} INFO - Starting attempt 2 
of 2
   [2021-09-02 15:38:18,604] {taskinstance.py:1096} INFO - 
   
--------------------------------------------------------------------------------
   [2021-09-02 15:38:18,619] {taskinstance.py:1114} INFO - Executing 
<Task(PythonOperator): process> on 2021-08-09T15:00:00+00:00
   [2021-09-02 15:38:18,625] {standard_task_runner.py:52} INFO - Started 
process 18717 to run task
   [2021-09-02 15:38:18,628] {standard_task_runner.py:76} INFO - Running: 
['airflow', 'tasks', 'run', ' <dag_id>', 'process', 
'2021-08-09T15:00:00+00:00', '--job-id', '46046825', '--pool', 'default_pool', 
'--raw', '--subdir', 'DAGS_FOLDER/datalocker/upload_dags/inapps_hourly_6.py', 
'--cfg-path', '/tmp/tmpl8uwjzk1', '--error-file', '/tmp/tmpiq4kx8a0']
   [2021-09-02 15:38:18,629] {standard_task_runner.py:77} INFO - Job 46046825: 
Subtask process
   [2021-09-02 15:38:23,682] {local_task_job.py:209} WARNING - State of this 
instance has been externally set to failed. Terminating instance.
   [2021-09-02 15:38:23,684] {process_utils.py:100} INFO - Sending 
Signals.SIGTERM to GPID 18717
   [2021-09-02 15:38:27,059] {process_utils.py:66} INFO - Process 
psutil.Process(pid=18717, status='terminated', exitcode=1, started='15:38:18') 
(18717) terminated with exit code 1
   ```


-- 
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.

To unsubscribe, e-mail: [email protected]

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


Reply via email to