[2023-06-29T09:21:19.974-0300] {taskinstance.py:1103} INFO - Dependencies all met for dep_context=non-requeueable deps ti=<TaskInstance: example_dag.generate_random_number scheduled__2019-10-01T00:00:00+00:00 [queued]>
[2023-06-29T09:21:19.978-0300] {taskinstance.py:1103} INFO - Dependencies all met for dep_context=requeueable deps ti=<TaskInstance: example_dag.generate_random_number scheduled__2019-10-01T00:00:00+00:00 [queued]>
[2023-06-29T09:21:19.978-0300] {taskinstance.py:1308} INFO - Starting attempt 1 of 1
[2023-06-29T09:21:19.985-0300] {taskinstance.py:1327} INFO - Executing <Task(BashOperator): generate_random_number> on 2019-10-01 00:00:00+00:00
[2023-06-29T09:21:19.987-0300] {standard_task_runner.py:57} INFO - Started process 26450 to run task
[2023-06-29T09:21:19.989-0300] {standard_task_runner.py:84} INFO - Running: ['airflow', 'tasks', 'run', 'example_dag', 'generate_random_number', 'scheduled__2019-10-01T00:00:00+00:00', '--job-id', '14', '--raw', '--subdir', 'DAGS_FOLDER/example_dag.py', '--cfg-path', '/home/bi/.pyenv/tmp/tmp8hwazla_']
[2023-06-29T09:21:19.990-0300] {standard_task_runner.py:85} INFO - Job 14: Subtask generate_random_number
[2023-06-29T09:21:20.014-0300] {task_command.py:410} INFO - Running <TaskInstance: example_dag.generate_random_number scheduled__2019-10-01T00:00:00+00:00 [running]> on host host.server-rd.com.br
[2023-06-29T09:21:20.106-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-01T00:00:00+00:00' AIRFLOW_CTX_TRY_NUMBER='1' AIRFLOW_CTX_DAG_RUN_ID='scheduled__2019-10-01T00:00:00+00:00'
[2023-06-29T09:21:20.106-0300] {subprocess.py:63} INFO - Tmp dir root location: /home/bi/.pyenv/tmp
[2023-06-29T09:21:20.107-0300] {subprocess.py:75} INFO - Running command: ['/usr/bin/bash', '-c', 'echo $RANDOM']
[2023-06-29T09:21:20.107-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:20.119-0300] {taskinstance.py:1345} INFO - Marking task as FAILED. dag_id=example_dag, task_id=generate_random_number, execution_date=20191001T000000, start_date=20230629T122119, end_date=20230629T122120
[2023-06-29T09:21:20.124-0300] {standard_task_runner.py:104} ERROR - Failed to execute job 14 for task generate_random_number ([Errno 12] Cannot allocate memory; 26450)
[2023-06-29T09:21:20.161-0300] {local_task_job_runner.py:225} INFO - Task exited with return code 1
[2023-06-29T09:21:20.229-0300] {taskinstance.py:2653} INFO - 0 downstream tasks scheduled from follow-on schedule check
