[2023-06-29T09:33:04.141-0300] {taskinstance.py:1103} INFO - Dependencies all met for dep_context=non-requeueable deps ti=<TaskInstance: example_dag.pull_file scheduled__2019-10-07T00:00:00+00:00 [queued]>
[2023-06-29T09:33:04.146-0300] {taskinstance.py:1103} INFO - Dependencies all met for dep_context=requeueable deps ti=<TaskInstance: example_dag.pull_file scheduled__2019-10-07T00:00:00+00:00 [queued]>
[2023-06-29T09:33:04.146-0300] {taskinstance.py:1308} INFO - Starting attempt 1 of 1
[2023-06-29T09:33:04.154-0300] {taskinstance.py:1327} INFO - Executing <Task(PythonOperator): pull_file> on 2019-10-07 00:00:00+00:00
[2023-06-29T09:33:04.156-0300] {standard_task_runner.py:57} INFO - Started process 10816 to run task
[2023-06-29T09:33:04.158-0300] {standard_task_runner.py:84} INFO - Running: ['airflow', 'tasks', 'run', 'example_dag', 'pull_file', 'scheduled__2019-10-07T00:00:00+00:00', '--job-id', '44', '--raw', '--subdir', 'DAGS_FOLDER/example_dag.py', '--cfg-path', '/home/bi/.pyenv/tmp/tmplurkpnsv']
[2023-06-29T09:33:04.159-0300] {standard_task_runner.py:85} INFO - Job 44: Subtask pull_file
[2023-06-29T09:33:04.186-0300] {task_command.py:410} INFO - Running <TaskInstance: example_dag.pull_file scheduled__2019-10-07T00:00:00+00:00 [running]> on host host.server-rd.com.br
[2023-06-29T09:33:04.293-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-07T00:00:00+00:00' AIRFLOW_CTX_TRY_NUMBER='1' AIRFLOW_CTX_DAG_RUN_ID='scheduled__2019-10-07T00:00:00+00:00'
[2023-06-29T09:33:04.294-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:33:04.297-0300] {taskinstance.py:1345} INFO - Marking task as FAILED. dag_id=example_dag, task_id=pull_file, execution_date=20191007T000000, start_date=20230629T123304, end_date=20230629T123304
[2023-06-29T09:33:04.303-0300] {standard_task_runner.py:104} ERROR - Failed to execute job 44 for task pull_file (name 'requests' is not defined; 10816)
[2023-06-29T09:33:04.330-0300] {local_task_job_runner.py:225} INFO - Task exited with return code 1
[2023-06-29T09:33:04.340-0300] {taskinstance.py:2653} INFO - 0 downstream tasks scheduled from follow-on schedule check
