[2023-06-29T09:32:57.605-0300] {taskinstance.py:1103} INFO - Dependencies all met for dep_context=non-requeueable deps ti=<TaskInstance: example_dag.pull_file scheduled__2019-10-06T00:00:00+00:00 [queued]>
[2023-06-29T09:32:57.613-0300] {taskinstance.py:1103} INFO - Dependencies all met for dep_context=requeueable deps ti=<TaskInstance: example_dag.pull_file scheduled__2019-10-06T00:00:00+00:00 [queued]>
[2023-06-29T09:32:57.613-0300] {taskinstance.py:1308} INFO - Starting attempt 1 of 1
[2023-06-29T09:32:57.624-0300] {taskinstance.py:1327} INFO - Executing <Task(PythonOperator): pull_file> on 2019-10-06 00:00:00+00:00
[2023-06-29T09:32:57.627-0300] {standard_task_runner.py:57} INFO - Started process 10097 to run task
[2023-06-29T09:32:57.629-0300] {standard_task_runner.py:84} INFO - Running: ['airflow', 'tasks', 'run', 'example_dag', 'pull_file', 'scheduled__2019-10-06T00:00:00+00:00', '--job-id', '40', '--raw', '--subdir', 'DAGS_FOLDER/example_dag.py', '--cfg-path', '/home/bi/.pyenv/tmp/tmpzswp8svy']
[2023-06-29T09:32:57.630-0300] {standard_task_runner.py:85} INFO - Job 40: Subtask pull_file
[2023-06-29T09:32:57.656-0300] {task_command.py:410} INFO - Running <TaskInstance: example_dag.pull_file scheduled__2019-10-06T00:00:00+00:00 [running]> on host host.server-rd.com.br
[2023-06-29T09:32:57.761-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-06T00:00:00+00:00' AIRFLOW_CTX_TRY_NUMBER='1' AIRFLOW_CTX_DAG_RUN_ID='scheduled__2019-10-06T00:00:00+00:00'
[2023-06-29T09:32:57.762-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:32:57.764-0300] {taskinstance.py:1345} INFO - Marking task as FAILED. dag_id=example_dag, task_id=pull_file, execution_date=20191006T000000, start_date=20230629T123257, end_date=20230629T123257
[2023-06-29T09:32:57.770-0300] {standard_task_runner.py:104} ERROR - Failed to execute job 40 for task pull_file (name 'requests' is not defined; 10097)
[2023-06-29T09:32:57.801-0300] {local_task_job_runner.py:225} INFO - Task exited with return code 1
[2023-06-29T09:32:57.810-0300] {taskinstance.py:2653} INFO - 0 downstream tasks scheduled from follow-on schedule check
