# Jobs failing with ERROR with partial log

**URL:** <https://forum.ansible.com/t/jobs-failing-with-error-with-partial-log/37799>\
**Category:** AWX Project\
**Tags:** awx\
**Created:** [March 22, 2023, 4:16pm UTC](https://forum.ansible.com/t/jobs-failing-with-error-with-partial-log/37799 "2023-03-22T16:16:26Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Christian\_Chan](https://avatars.discourse-cdn.com/v4/letter/c/50afbb/32.png) [@Christian\_Chan](https://forum.ansible.com/u/Christian_Chan)\
**Post date:** [March 22, 2023, 4:16pm UTC](https://forum.ansible.com/t/jobs-failing-with-error-with-partial-log/37799/1 "2023-03-22T16:16:26Z")

</div>

Hello,

We are experiencing issues where jobs randomly fail with status code ERROR and partial logs. When a job fails if you restart it enough times it will eventually complete successfully. It also does not seem to be time specific as the same job can fail in less than 5 minutes with couple of lines in the log or more than an hour with hundreds of lines in the log.

AWX version is 21.8.0 running on AKS 1.22.15.

If anyone has encountered similar behavior and has any ideas I would be thankful.

---

<div class="post-metadata">

**Author:** ![AWX\_Project](https://avatars.discourse-cdn.com/v4/letter/a/eada6e/32.png) [@AWX\_Project](https://forum.ansible.com/u/AWX_Project)\
**Post date:** [March 22, 2023, 6:51pm UTC](https://forum.ansible.com/t/jobs-failing-with-error-with-partial-log/37799/2 "2023-03-22T18:51:48Z")

</div>

can you provide the output of /api/v2/jobs/\<job\_id\> for one of the failed jobs (remove sensitive info)

We can take a look and see if anything stands out

AWX Team

---

<div class="post-metadata">

**Author:** ![Christian\_Chan](https://avatars.discourse-cdn.com/v4/letter/c/50afbb/32.png) [@Christian\_Chan](https://forum.ansible.com/u/Christian_Chan)\
**Post date:** [March 23, 2023, 2:51pm UTC](https://forum.ansible.com/t/jobs-failing-with-error-with-partial-log/37799/3 "2023-03-23T14:51:20Z")

</div>

Hi,

Attached is an output of a failed job as requested.

> **(attachments)**
>
> [AWX.txt](https://forum.ansible.com/uploads/short-url/1Q2jiGVF2DoiRBRYAv795GB7VBk.txt) (86.2 KB)

---

<div class="post-metadata">

**Author:** ![Tian\_Muc](https://avatars.discourse-cdn.com/v4/letter/t/57b2e6/32.png) [@Tian\_Muc](https://forum.ansible.com/u/Tian_Muc)\
**Post date:** [March 31, 2023, 9:28am UTC](https://forum.ansible.com/t/jobs-failing-with-error-with-partial-log/37799/4 "2023-03-31T09:28:41Z")

</div>

I´m not sure if it´s the same for you, but there was an issue with long running jobs being terminated unexpectedly: [https://github.com/ansible/awx/issues/11594](https://github.com/ansible/awx/issues/11594)

It was addressed here: [https://github.com/ansible/receptor/pull/683](https://github.com/ansible/receptor/pull/683)

---

<div class="post-metadata">

**Author:** ![AWX\_Project](https://avatars.discourse-cdn.com/v4/letter/a/eada6e/32.png) [@AWX\_Project](https://forum.ansible.com/u/AWX_Project)\
**Post date:** [March 31, 2023, 6:01pm UTC](https://forum.ansible.com/t/jobs-failing-with-error-with-partial-log/37799/5 "2023-03-31T18:01:31Z")

</div>

As Tian mentioned, you could be running into the timeout issues. These are resolved in latest. Do you mind upgrading to latest AWX and retrying?

AWX Team

---

<div class="post-metadata">

**Author:** ![Christian\_Chan](https://avatars.discourse-cdn.com/v4/letter/c/50afbb/32.png) [@Christian\_Chan](https://forum.ansible.com/u/Christian_Chan)\
**Post date:** [April 3, 2023, 11:41am UTC](https://forum.ansible.com/t/jobs-failing-with-error-with-partial-log/37799/6 "2023-04-03T11:41:58Z")

</div>

Unfortunately I don’t think it is related to the linked timeout issue as jobs can fail within minutes.  
As for upgrading we have to discuss this with our client as the final decision is theirs.
