You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "collinmcnulty (via GitHub)" <gi...@apache.org> on 2023/03/10 21:54:05 UTC

[GitHub] [airflow] collinmcnulty commented on issue #28865: dag.test() hangs with deferrable operators if DAG is paused

collinmcnulty commented on issue #28865:
URL: https://github.com/apache/airflow/issues/28865#issuecomment-1464519371

   It appears that there is a similar failure, probably the same root cause, for `tasks test`.
   
   ```
   /usr/local/airflow$ airflow tasks test waiting_dag waiting
   [2023-03-10 21:53:10,054] {dagbag.py:538} INFO - Filling up the DagBag from /usr/local/airflow/dags
   /usr/local/lib/python3.9/site-packages/airflow/cli/commands/task_command.py:159 RemovedInAirflow3Warning: Calling `DAG.create_dagrun()` without an explicit data interval is deprecated
   [2023-03-10 21:53:10,125] {taskinstance.py:1083} INFO - Dependencies all met for <TaskInstance: waiting_dag.waiting __airflow_temporary_run_2023-03-10T21:53:10.094786+00:00__ [None]>
   [2023-03-10 21:53:10,132] {taskinstance.py:1083} INFO - Dependencies all met for <TaskInstance: waiting_dag.waiting __airflow_temporary_run_2023-03-10T21:53:10.094786+00:00__ [None]>
   [2023-03-10 21:53:10,132] {taskinstance.py:1279} INFO - 
   --------------------------------------------------------------------------------
   [2023-03-10 21:53:10,132] {taskinstance.py:1280} INFO - Starting attempt 1 of 3
   [2023-03-10 21:53:10,132] {taskinstance.py:1281} INFO - 
   --------------------------------------------------------------------------------
   [2023-03-10 21:53:10,133] {taskinstance.py:1300} INFO - Executing <Task(TimeDeltaSensorAsync): waiting> on 2023-03-10T21:53:10.094780+00:00
   [2023-03-10 21:53:10,150] {taskinstance.py:1507} INFO - Exporting the following env vars:
   AIRFLOW_CTX_DAG_OWNER=airflow
   AIRFLOW_CTX_DAG_ID=waiting_dag
   AIRFLOW_CTX_TASK_ID=waiting
   AIRFLOW_CTX_EXECUTION_DATE=2023-03-10T21:53:10.094780+00:00
   AIRFLOW_CTX_TRY_NUMBER=1
   AIRFLOW_CTX_DAG_RUN_ID=__airflow_temporary_run_2023-03-10T21:53:10.094786+00:00__
   [2023-03-10 21:53:10,153] {taskinstance.py:1382} INFO - Pausing task as DEFERRED. dag_id=waiting_dag, task_id=waiting, execution_date=20230310T215310, start_date=
   ```


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org