Error cleaning up network in self-hosted mode #255

Closed
opened 2023-06-26 08:53:53 +00:00 by Matt0009 · 4 comments

When running latest stable release in self-hosted on a windows 10 machine

This occurs when cleaning up the network in any workflow I write:

[Build Validation/build] Error while cleaning network: error during connect: this error may indicate that the docker daemon is not running: Delete "http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.24/networks/GITEA-ACTIONS-TASK-17_WORKFLOW-Build-Validation_JOB-build-network": open //./pipe/docker_engine: The system cannot find the file specified.

When running latest stable release in self-hosted on a windows 10 machine This occurs when cleaning up the network in any workflow I write: `[Build Validation/build] Error while cleaning network: error during connect: this error may indicate that the docker daemon is not running: Delete "http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.24/networks/GITEA-ACTIONS-TASK-17_WORKFLOW-Build-Validation_JOB-build-network": open //./pipe/docker_engine: The system cannot find the file specified.`
Owner

Weird. So you're sure act runner has started job containers, but cannot clean networks, right?

Could you please show us the output of

docker network ls
Weird. So you're sure act runner has started job containers, but cannot clean networks, right? Could you please show us the output of ```bash docker network ls ```
wolfogre added the
kind
bug
label 2023-06-27 08:31:12 +00:00
Author

It's just running with the windows.exe with the self-hosted label on, not actually using the docker setup for this

It's just running with the windows.exe with the self-hosted label on, not actually using the docker setup for this
Owner

I see. One more question, could you show us the version of your act_runner by ./act_runner -v, and the labels config in .runner file?

I see. One more question, could you show us the version of your act_runner by `./act_runner -v`, and the labels config in `.runner` file?
Member

It's a bug caused by

func (rc *RunContext) removeNetwork(name string) common.Executor {
return func(ctx context.Context) error {
return container.NewDockerNetworkRemoveExecutor(name)(ctx)
}
}

It's a bug caused by https://gitea.com/gitea/act/src/commit/515c2c429d6df4811824d5dc65a7d818d7110d89/pkg/runner/run_context.go#L401-L405
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#255
No description provided.