Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Previous Task Failed: {"jobotype": "project_udate", "job_name": "Project2.4-pProject-ethf2yk77j58888", "job_id": "1346"} #15559

Open
6 of 11 tasks
zhixiang-liu2002 opened this issue Sep 29, 2024 · 0 comments

Comments

@zhixiang-liu2002
Copy link

Please confirm the following

  • I agree to follow this project's code of conduct.
  • I have checked the current issues for duplicates.
  • I understand that AWX is open source software provided for free and that I might not receive a timely response.
  • I am NOT reporting a (potential) security vulnerability. (These should be emailed to [email protected] instead.)

Bug Summary

When I batch execute jobs through the API, the first job's status is failed with error messages: Previous Task Failed: {"jobotype": "project_udate", "job_name": "Project2.4-pProject-ethf2yk77j58888", "job_id": "1346"}, but the ID 1346 is not in my job list. When I re execute this job, it will display as successful

AWX version

23.6.0

Select the relevant components

  • UI
  • UI (tech preview)
  • API
  • Docs
  • Collection
  • CLI
  • Other

Installation method

kubernetes

Modifications

no

Ansible version

2.9.27

Operating system

Centos7

Web browser

Chrome

Steps to reproduce

Parallel execution of the workbook using API

Expected results

all task will success

Actual results

The first job will fail

Additional information


screenshot-20240929-181148
screenshot-20240929-181235
screenshot-20240929-181251
screenshot-20240929-181305

Traceback (most recent call last):
File "/var/lib/awx/venv/awx/lib64/python3.9/site-packages/awx/main/tasks/jobs.py", line 500, in run
self.build_project_dir(self.instance, private_data_dir)
File "/var/lib/awx/venv/awx/lib64/python3.9/site-packages/awx/main/tasks/jobs.py", line 1094, in build_project_dir
self.sync_and_copy(job.project, private_data_dir, scm_branch=job.scm_branch)
File "/var/lib/awx/venv/awx/lib64/python3.9/site-packages/awx/main/tasks/jobs.py", line 791, in sync_and_copy
return self.sync_and_copy_without_lock(project, private_data_dir, scm_branch=scm_branch)
File "/var/lib/awx/venv/awx/lib64/python3.9/site-packages/awx/main/tasks/jobs.py", line 747, in sync_and_copy_without_lock
sync_task.run(local_project_sync.id)
File "/var/lib/awx/venv/awx/lib64/python3.9/site-packages/awx/main/tasks/jobs.py", line 94, in _wrapped
return f(self, *args, **kwargs)
File "/var/lib/awx/venv/awx/lib64/python3.9/site-packages/awx/main/tasks/signals.py", line 81, in _wrapped
return f(*args, **kwargs)
File "/var/lib/awx/venv/awx/lib64/python3.9/site-packages/awx/main/tasks/jobs.py", line 665, in run
raise AwxTaskError.TaskError(self.instance, rc)
Exception: project_update 1346 (failed) encountered an error (rc=None), please see task stdout for details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant