[2023-06-29T09:21:31.740-0300] {taskinstance.py:1103} INFO - Dependencies all met for dep_context=non-requeueable deps ti=<TaskInstance: example_dag.pull_file scheduled__2019-10-02T00:00:00+00:00 [queued]>
[2023-06-29T09:21:31.745-0300] {taskinstance.py:1103} INFO - Dependencies all met for dep_context=requeueable deps ti=<TaskInstance: example_dag.pull_file scheduled__2019-10-02T00:00:00+00:00 [queued]>
[2023-06-29T09:21:31.745-0300] {taskinstance.py:1308} INFO - Starting attempt 1 of 1
[2023-06-29T09:21:31.752-0300] {taskinstance.py:1327} INFO - Executing <Task(PythonOperator): pull_file> on 2019-10-02 00:00:00+00:00
[2023-06-29T09:21:31.754-0300] {standard_task_runner.py:57} INFO - Started process 26576 to run task
[2023-06-29T09:21:31.756-0300] {standard_task_runner.py:84} INFO - Running: ['airflow', 'tasks', 'run', 'example_dag', 'pull_file', 'scheduled__2019-10-02T00:00:00+00:00', '--job-id', '22', '--raw', '--subdir', 'DAGS_FOLDER/example_dag.py', '--cfg-path', '/home/bi/.pyenv/tmp/tmptfavhju9']
[2023-06-29T09:21:31.757-0300] {standard_task_runner.py:85} INFO - Job 22: Subtask pull_file
[2023-06-29T09:21:31.778-0300] {task_command.py:410} INFO - Running <TaskInstance: example_dag.pull_file scheduled__2019-10-02T00:00:00+00:00 [running]> on host host.server-rd.com.br
[2023-06-29T09:21:31.866-0300] {taskinstance.py:1545} INFO - Exporting env vars: AIRFLOW_CTX_DAG_OWNER='airflow' AIRFLOW_CTX_DAG_ID='example_dag' AIRFLOW_CTX_TASK_ID='pull_file' AIRFLOW_CTX_EXECUTION_DATE='2019-10-02T00:00:00+00:00' AIRFLOW_CTX_TRY_NUMBER='1' AIRFLOW_CTX_DAG_RUN_ID='scheduled__2019-10-02T00:00:00+00:00'
[2023-06-29T09:21:31.866-0300] {taskinstance.py:1824} ERROR - Task failed with exception
Traceback (most recent call last):
  File "/home/bi/virtualenv/airflow/3.8/lib/python3.8/site-packages/airflow/operators/python.py", line 181, in execute
    return_value = self.execute_callable()
  File "/home/bi/virtualenv/airflow/3.8/lib/python3.8/site-packages/airflow/operators/python.py", line 198, in execute_callable
    return self.python_callable(*self.op_args, **self.op_kwargs)
  File "/home/bi/airflow/dags/example_dag.py", line 26, in pull_file
    r = requests.get(URL)
NameError: name 'requests' is not defined
[2023-06-29T09:21:31.869-0300] {taskinstance.py:1345} INFO - Marking task as FAILED. dag_id=example_dag, task_id=pull_file, execution_date=20191002T000000, start_date=20230629T122131, end_date=20230629T122131
[2023-06-29T09:21:31.874-0300] {standard_task_runner.py:104} ERROR - Failed to execute job 22 for task pull_file (name 'requests' is not defined; 26576)
[2023-06-29T09:21:31.887-0300] {local_task_job_runner.py:225} INFO - Task exited with return code 1
[2023-06-29T09:21:31.896-0300] {taskinstance.py:2653} INFO - 0 downstream tasks scheduled from follow-on schedule check
