Workflow completed but failed at "Complete Job" step with no errors in the detail text. #496

Open
opened 2024-02-27 10:09:55 +00:00 by Knight52 · 7 comments

I have a runner configured internally in the company I work for. It's being used by an internal Gitea host. There's a project to add an automation to a repo. That repo is a Unity project. That required GameCI. It is a Github Action, but thanks to the compatibility, it can be used here (at least for a separate test project). I took a while to get that working, so now it's time to put it in the actual project.

The actual project is around 14GB when pulled, but nothing out of ordinary aside that. I expected almost no errors when copying the yaml file over, but I got it anyway.

First, I got permission denied when trying to clear the file. That didn't happen in the test project at all, which is pretty weird, but I fixed that by using sudo when starting act_runner. I thought that'd be the last of it, then I got this.

At "Complete Job" step, it reported as a failure, with no other text explaining what's going on, like in the picture attached. I find that weird because all previous jobs are reported successful, and the artifact was successfully uploaded. But for whatever reason, this one said job failed.

Is there anyway to get more detail out of this? It seems like it skipped something.

I've attached the bottom part of the text to show what it says. I can't upload the yaml file though. If anyone knows how to do it, I can provide that as well.

I have a runner configured internally in the company I work for. It's being used by an internal Gitea host. There's a project to add an automation to a repo. That repo is a Unity project. That required GameCI. It is a Github Action, but thanks to the compatibility, it can be used here (at least for a separate test project). I took a while to get that working, so now it's time to put it in the actual project. The actual project is around 14GB when pulled, but nothing out of ordinary aside that. I expected almost no errors when copying the yaml file over, but I got it anyway. First, I got permission denied when trying to clear the file. That didn't happen in the test project at all, which is pretty weird, but I fixed that by using sudo when starting act_runner. I thought that'd be the last of it, then I got this. At "Complete Job" step, it reported as a failure, with no other text explaining what's going on, like in the picture attached. I find that weird because all previous jobs are reported successful, and the artifact was successfully uploaded. But for whatever reason, this one said job failed. Is there anyway to get more detail out of this? It seems like it skipped something. I've attached the bottom part of the text to show what it says. I can't upload the yaml file though. If anyone knows how to do it, I can provide that as well.
Member

Could you please execute docker container ls and docker network ls commands on the host where the runner is running, and check whether there are any undeleted containers or networks created by the runner?

Could you please execute `docker container ls` and `docker network ls` commands on the host where the runner is running, and check whether there are any undeleted containers or networks created by the runner?
sillyguodong added the
reviewed
needs feedback
label 2024-02-28 02:51:37 +00:00
Author

image

Here's the result. No containers, Not sure about the network though. I've never looked at this before.

![image](/attachments/0ef2d412-6fa6-4852-9471-941f52ffa078) Here's the result. No containers, Not sure about the network though. I've never looked at this before.
Author

I'm still stuck on this. Does anyone know what to do to at least get more information for this issue?

I'm still stuck on this. Does anyone know what to do to at least get more information for this issue?
Member

Is there any text related to "error" or "failure" in all the logs?

Is there any text related to "error" or "failure" in all the logs?
Author

None at all, but it seems to be from the GameCI Action itself, which showed no specific errors. I'm trying to nail down more.

None at all, but it seems to be from the GameCI Action itself, which showed no specific errors. I'm trying to nail down more.
Member

In act_runner, there should always be an error log before setting an error for a job.

logger.Errorf(err)
common.SetJobError(err)

So I think there should be some error text in the logs.

In act_runner, there should always be an error log before setting an error for a job. ``` logger.Errorf(err) common.SetJobError(err) ``` So I think there should be some error text in the logs.
Author

That specific step is marked as succeeded, all the way to Complete Job.
image

That specific step is marked as succeeded, all the way to Complete Job. ![image](/attachments/ff90531a-4731-4f0a-b837-2f7f99c85d47)
Sign in to join this conversation.
No Milestone
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: gitea/act_runner#496
No description provided.