nathadfield commented on issue #33866:
URL: https://github.com/apache/airflow/issues/33866#issuecomment-1715208567

   @vishal-m-patil-db Yes, even if I use your exact same code and clear the 
task multiple times, the result is still the same.
   
   ```
   [2023-09-12, 08:01:27 UTC] {taskinstance.py:1308} INFO - Starting attempt 4 
of 6
   [2023-09-12, 08:01:27 UTC] {taskinstance.py:1327} INFO - Executing 
<Task(ExternalTaskSensor): parent_sensor> on 2023-09-11 01:00:00+00:00
   [2023-09-12, 08:01:27 UTC] {standard_task_runner.py:57} INFO - Started 
process 19708 to run task
   [2023-09-12, 08:01:27 UTC] {standard_task_runner.py:84} INFO - Running: 
['airflow', 'tasks', 'run', 'test-dag', 'parent_sensor', 
'scheduled__2023-09-11T01:00:00+00:00', '--job-id', '10', '--raw', '--subdir', 
'DAGS_FOLDER/ab_fx_rates/ab_fx_rates.py', '--cfg-path', '/tmp/tmpn7zhc544']
   [2023-09-12, 08:01:27 UTC] {standard_task_runner.py:85} INFO - Job 10: 
Subtask parent_sensor
   [2023-09-12, 08:01:27 UTC] {task_command.py:410} INFO - Running 
<TaskInstance: test-dag.parent_sensor scheduled__2023-09-11T01:00:00+00:00 
[running]> on host 2dc4acc0f8c2
   [2023-09-12, 08:01:27 UTC] {taskinstance.py:1545} INFO - Exporting env vars: 
AIRFLOW_CTX_DAG_ID='test-dag' AIRFLOW_CTX_TASK_ID='parent_sensor' 
AIRFLOW_CTX_EXECUTION_DATE='2023-09-11T01:00:00+00:00' 
AIRFLOW_CTX_TRY_NUMBER='4' 
AIRFLOW_CTX_DAG_RUN_ID='scheduled__2023-09-11T01:00:00+00:00'
   [2023-09-12, 08:01:27 UTC] {external_task.py:232} INFO - Poking for tasks 
['task1'] in dag parent_dag on 2023-09-11T01:00:00+00:00 ... 
   [2023-09-12, 08:01:27 UTC] {taskinstance.py:1824} ERROR - Task failed with 
exception
   Traceback (most recent call last):
     File "/usr/local/lib/python3.10/site-packages/airflow/sensors/base.py", 
line 242, in execute
       raise AirflowSensorTimeout(message)
   airflow.exceptions.AirflowSensorTimeout: Sensor has timed out; run duration 
of 301.280239 seconds exceeds the specified timeout of 300.
   ```
   
   Is there any chance you could try this on a new Airflow version?


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