"/var/lib/awx/venv/awx/lib64/python3.6/os.py", line 220, in makedirs mkdir(name, mode) FileExistsError: [Errno 17] File exists:

HI

AWX version :11.2.0

We see the below error and one or two jobs failing(not all jobs failing) when multiple jobs are running.

can you please advise what is the cause of the error and any suggestion to fix the issue?

ERROR DETAILS

Traceback (most recent call last): File “/var/lib/awx/venv/awx/lib/python3.6/site-packages/awx/main/tasks.py”, line 1355, in run self.pre_run_hook(self.instance, private_data_dir) File “/var/lib/awx/venv/awx/lib/python3.6/site-packages/awx/main/tasks.py”, line 1959, in pre_run_hook job.project.scm_type, job_revision File “/var/lib/awx/venv/awx/lib/python3.6/site-packages/awx/main/tasks.py”, line 2340, in make_local_copy source_branch = git_repo.create_head(tmp_branch_name, scm_revision) File “/var/lib/awx/venv/awx/lib/python3.6/site-packages/git/repo/base.py”, line 386, in create_head return Head.create(self, path, commit, force, logmsg) File “/var/lib/awx/venv/awx/lib/python3.6/site-packages/git/refs/symbolic.py”, line 543, in create return cls._create(repo, path, cls._resolve_ref_on_create, reference, force, logmsg) File “/var/lib/awx/venv/awx/lib/python3.6/site-packages/git/refs/symbolic.py”, line 510, in _create ref.set_reference(target, logmsg) File “/var/lib/awx/venv/awx/lib/python3.6/site-packages/git/refs/symbolic.py”, line 326, in set_reference assure_directory_exists(fpath, is_file=True) File “/var/lib/awx/venv/awx/lib/python3.6/site-packages/git/util.py”, line 177, in assure_directory_exists os.makedirs(path) File “/var/lib/awx/venv/awx/lib64/python3.6/os.py”, line 220, in makedirs mkdir(name, mode) FileExistsError: [Errno 17] File exists: ‘/var/lib/awx/projects/_86__pr_eventmanagement/.git/refs/heads/awx_internal’

Regards

Prabhu