[2023-06-29T09:21:33.211-0300] {taskinstance.py:1103} INFO - Dependencies all met for dep_context=non-requeueable deps ti=<TaskInstance: example_dag.generate_random_number scheduled__2019-10-03T00:00:00+00:00 [queued]>
[2023-06-29T09:21:33.216-0300] {taskinstance.py:1103} INFO - Dependencies all met for dep_context=requeueable deps ti=<TaskInstance: example_dag.generate_random_number scheduled__2019-10-03T00:00:00+00:00 [queued]>
[2023-06-29T09:21:33.216-0300] {taskinstance.py:1308} INFO - Starting attempt 1 of 1
[2023-06-29T09:21:33.224-0300] {taskinstance.py:1327} INFO - Executing <Task(BashOperator): generate_random_number> on 2019-10-03 00:00:00+00:00
[2023-06-29T09:21:33.226-0300] {standard_task_runner.py:57} INFO - Started process 26883 to run task
[2023-06-29T09:21:33.228-0300] {standard_task_runner.py:84} INFO - Running: ['airflow', 'tasks', 'run', 'example_dag', 'generate_random_number', 'scheduled__2019-10-03T00:00:00+00:00', '--job-id', '23', '--raw', '--subdir', 'DAGS_FOLDER/example_dag.py', '--cfg-path', '/home/bi/.pyenv/tmp/tmp3kcn34oa']
[2023-06-29T09:21:33.229-0300] {standard_task_runner.py:85} INFO - Job 23: Subtask generate_random_number
[2023-06-29T09:21:33.251-0300] {task_command.py:410} INFO - Running <TaskInstance: example_dag.generate_random_number scheduled__2019-10-03T00:00:00+00:00 [running]> on host host.server-rd.com.br
[2023-06-29T09:21:33.343-0300] {taskinstance.py:1545} INFO - Exporting env vars: AIRFLOW_CTX_DAG_OWNER='airflow' AIRFLOW_CTX_DAG_ID='example_dag' AIRFLOW_CTX_TASK_ID='generate_random_number' AIRFLOW_CTX_EXECUTION_DATE='2019-10-03T00:00:00+00:00' AIRFLOW_CTX_TRY_NUMBER='1' AIRFLOW_CTX_DAG_RUN_ID='scheduled__2019-10-03T00:00:00+00:00'
[2023-06-29T09:21:33.344-0300] {subprocess.py:63} INFO - Tmp dir root location: /home/bi/.pyenv/tmp
[2023-06-29T09:21:33.344-0300] {subprocess.py:75} INFO - Running command: ['/usr/bin/bash', '-c', 'echo $RANDOM']
[2023-06-29T09:21:33.344-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/bash.py", line 201, in execute
    result = self.subprocess_hook.run_command(
  File "/home/bi/virtualenv/airflow/3.8/lib/python3.8/site-packages/airflow/hooks/subprocess.py", line 77, in run_command
    self.sub_process = Popen(
  File "/opt/alt/python38/lib64/python3.8/subprocess.py", line 858, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/opt/alt/python38/lib64/python3.8/subprocess.py", line 1639, in _execute_child
    self.pid = _posixsubprocess.fork_exec(
OSError: [Errno 12] Cannot allocate memory
[2023-06-29T09:21:33.347-0300] {taskinstance.py:1345} INFO - Marking task as FAILED. dag_id=example_dag, task_id=generate_random_number, execution_date=20191003T000000, start_date=20230629T122133, end_date=20230629T122133
[2023-06-29T09:21:33.353-0300] {standard_task_runner.py:104} ERROR - Failed to execute job 23 for task generate_random_number ([Errno 12] Cannot allocate memory; 26883)
[2023-06-29T09:21:33.359-0300] {local_task_job_runner.py:225} INFO - Task exited with return code 1
[2023-06-29T09:21:33.423-0300] {taskinstance.py:2653} INFO - 0 downstream tasks scheduled from follow-on schedule check
