[GH-ISSUE #1938] error: cannot run ssh: No such file or directory #931

Closed
opened 2026-03-01 21:47:32 +03:00 by kerem · 2 comments
Owner

Originally created by @fbrodrigorezino on GitHub (Aug 1, 2023).
Original GitHub issue: https://github.com/nektos/act/issues/1938

Bug report info

act version:            0.2.49
GOOS:                   darwin
GOARCH:                 amd64
NumCPU:                 16
Docker host:            unix:///Users/rodrigo.rezino/.docker/run/docker.sock
Sockets found:
	/var/run/docker.sock
	$HOME/.docker/run/docker.sock
Config files:
	/Users/rodrigo.rezino/.actrc:
		-P ubuntu-latest=ghcr.io/catthehacker/ubuntu:act-latest
		-P ubuntu-20.04=ghcr.io/catthehacker/ubuntu:act-20.04
		-P ubuntu-18.04=ghcr.io/catthehacker/ubuntu:act-18.04
Build info:
	Go version:            go1.20.6
	Module path:           command-line-arguments
	Main version:
	Main path:
	Main checksum:
	Build settings:
		-buildmode:           exe
		-compiler:            gc
		-ldflags:             -X main.version=0.2.49
		CGO_ENABLED:          1
		CGO_CFLAGS:
		CGO_CPPFLAGS:
		CGO_CXXFLAGS:
		CGO_LDFLAGS:
		GOARCH:               amd64
		GOOS:                 darwin
		GOAMD64:              v1
Docker Engine:
	Engine version:        24.0.2
	Engine runtime:        runc
	Cgroup version:        2
	Cgroup driver:         cgroupfs
	Storage driver:        overlay2
	Registry URI:          https://index.docker.io/v1/
	OS:                    Docker Desktop
	OS type:               linux
	OS version:
	OS arch:               x86_64
	OS kernel:             5.15.49-linuxkit-pr
	OS CPU:                8
	OS memory:             7858 MB
	Security options:
		name=seccomp,profile=builtin
		name=cgroupns

Command used with act

act

Describe issue

When I try to run act, it fails with ssh error. But I have ssh on my machine.

ssh
usage: ssh [-46AaCfGgKlMNnqsTtVvXxYy] [-B bind_interface]
[-b bind_address] [-c cipher_spec] [-D [bind_address:]port]
[-E log_file] [-e escape_char] [-F configfile] [-I pkcs11]
[-i identity_file] [-J [user@]host[:port]] [-L address]
[-l login_name] [-m mac_spec] [-O ctl_cmd] [-o option] [-p port]
[-Q query_option] [-R address] [-S ctl_path] [-W host:port]
[-w local_tun[:remote_tun]] destination [command [argument ...]]

No response

Workflow content

It's not even getting there.

Relevant log output

[Tagging Version/Patch]   🐳  docker run image=act-anothrnick-github-tag-action-1-36-0-dockeraction:latest platform= entrypoint=[] cmd=[]
[Tagging Version/Patch] [DEBUG] Starting container: 69c239b416d453899475c4d5c7837e06d871760d621d4370a1f1f3190b80efd2
| *** CONFIGURATION ***
| 	DEFAULT_BUMP: minor
| 	WITH_V: true
| 	RELEASE_BRANCHES: master,main
| 	CUSTOM_TAG:
| 	SOURCE: .
| 	DRY_RUN: false
| 	INITIAL_VERSION: 0.0.0
| 	TAG_CONTEXT: repo
| 	PRERELEASE_SUFFIX: beta
| 	VERBOSE: true
| Is master a match for rabbit-mq
| Is main a match for rabbit-mq
| pre_release = true
| error: cannot run ssh: No such file or directory
| fatal: unable to fork
[Tagging Version/Patch] [DEBUG] Started container: 69c239b416d453899475c4d5c7837e06d871760d621d4370a1f1f3190b80efd2
| Install tilt in GH actions Add linux support to install Add CI Check Add tests Add Queus creation CMD Make RabbitMQ available in cluster Remove file Add extra tests Add base test framework Add RabbitMQ when value enabled
| pre-minor
| Bumping tag v0.27.0.
| 	New tag v0.28.0-beta.1
[Tagging Version/Patch]   ⚙  ::set-output:: new_tag=v0.28.0-beta.1
[Tagging Version/Patch]   ⚙  ::set-output:: part=pre-minor
[Tagging Version/Patch]   ⚙  ::set-output:: tag=v0.28.0-beta.1
| 2023-08-01T11:06:39Z: **pushing tag v0.28.0-beta.1 to repo freshbooks/dek
[Tagging Version/Patch]   💬  ::debug::
[Tagging Version/Patch]   ❗  ::error::Tag was not created properly.
[Tagging Version/Patch] [DEBUG] Return status: 1
[Tagging Version/Patch] [DEBUG] Removed container: 69c239b416d453899475c4d5c7837e06d871760d621d4370a1f1f3190b80efd2
[Tagging Version/Patch]   ❌  Failure - Main Minor version for each merge
[Tagging Version/Patch] exit with `FAILURE`: 1
[Tagging Version/Patch] [DEBUG] skipping post step for 'actions/checkout@v2': no action model available

Additional information

No response

Originally created by @fbrodrigorezino on GitHub (Aug 1, 2023). Original GitHub issue: https://github.com/nektos/act/issues/1938 ### Bug report info ```plain text act version: 0.2.49 GOOS: darwin GOARCH: amd64 NumCPU: 16 Docker host: unix:///Users/rodrigo.rezino/.docker/run/docker.sock Sockets found: /var/run/docker.sock $HOME/.docker/run/docker.sock Config files: /Users/rodrigo.rezino/.actrc: -P ubuntu-latest=ghcr.io/catthehacker/ubuntu:act-latest -P ubuntu-20.04=ghcr.io/catthehacker/ubuntu:act-20.04 -P ubuntu-18.04=ghcr.io/catthehacker/ubuntu:act-18.04 Build info: Go version: go1.20.6 Module path: command-line-arguments Main version: Main path: Main checksum: Build settings: -buildmode: exe -compiler: gc -ldflags: -X main.version=0.2.49 CGO_ENABLED: 1 CGO_CFLAGS: CGO_CPPFLAGS: CGO_CXXFLAGS: CGO_LDFLAGS: GOARCH: amd64 GOOS: darwin GOAMD64: v1 Docker Engine: Engine version: 24.0.2 Engine runtime: runc Cgroup version: 2 Cgroup driver: cgroupfs Storage driver: overlay2 Registry URI: https://index.docker.io/v1/ OS: Docker Desktop OS type: linux OS version: OS arch: x86_64 OS kernel: 5.15.49-linuxkit-pr OS CPU: 8 OS memory: 7858 MB Security options: name=seccomp,profile=builtin name=cgroupns ``` ### Command used with act ```sh act ``` ### Describe issue When I try to run act, it fails with ssh error. But I have ssh on my machine. > ssh usage: ssh [-46AaCfGgKlMNnqsTtVvXxYy] [-B bind_interface] [-b bind_address] [-c cipher_spec] [-D [bind_address:]port] [-E log_file] [-e escape_char] [-F configfile] [-I pkcs11] [-i identity_file] [-J [user@]host[:port]] [-L address] [-l login_name] [-m mac_spec] [-O ctl_cmd] [-o option] [-p port] [-Q query_option] [-R address] [-S ctl_path] [-W host:port] [-w local_tun[:remote_tun]] destination [command [argument ...]] ### Link to GitHub repository _No response_ ### Workflow content ```yml It's not even getting there. ``` ### Relevant log output ```sh [Tagging Version/Patch] 🐳 docker run image=act-anothrnick-github-tag-action-1-36-0-dockeraction:latest platform= entrypoint=[] cmd=[] [Tagging Version/Patch] [DEBUG] Starting container: 69c239b416d453899475c4d5c7837e06d871760d621d4370a1f1f3190b80efd2 | *** CONFIGURATION *** | DEFAULT_BUMP: minor | WITH_V: true | RELEASE_BRANCHES: master,main | CUSTOM_TAG: | SOURCE: . | DRY_RUN: false | INITIAL_VERSION: 0.0.0 | TAG_CONTEXT: repo | PRERELEASE_SUFFIX: beta | VERBOSE: true | Is master a match for rabbit-mq | Is main a match for rabbit-mq | pre_release = true | error: cannot run ssh: No such file or directory | fatal: unable to fork [Tagging Version/Patch] [DEBUG] Started container: 69c239b416d453899475c4d5c7837e06d871760d621d4370a1f1f3190b80efd2 | Install tilt in GH actions Add linux support to install Add CI Check Add tests Add Queus creation CMD Make RabbitMQ available in cluster Remove file Add extra tests Add base test framework Add RabbitMQ when value enabled | pre-minor | Bumping tag v0.27.0. | New tag v0.28.0-beta.1 [Tagging Version/Patch] ⚙ ::set-output:: new_tag=v0.28.0-beta.1 [Tagging Version/Patch] ⚙ ::set-output:: part=pre-minor [Tagging Version/Patch] ⚙ ::set-output:: tag=v0.28.0-beta.1 | 2023-08-01T11:06:39Z: **pushing tag v0.28.0-beta.1 to repo freshbooks/dek [Tagging Version/Patch] 💬 ::debug:: [Tagging Version/Patch] ❗ ::error::Tag was not created properly. [Tagging Version/Patch] [DEBUG] Return status: 1 [Tagging Version/Patch] [DEBUG] Removed container: 69c239b416d453899475c4d5c7837e06d871760d621d4370a1f1f3190b80efd2 [Tagging Version/Patch] ❌ Failure - Main Minor version for each merge [Tagging Version/Patch] exit with `FAILURE`: 1 [Tagging Version/Patch] [DEBUG] skipping post step for 'actions/checkout@v2': no action model available ``` ### Additional information _No response_
kerem 2026-03-01 21:47:32 +03:00
Author
Owner

@fbrodrigorezino commented on GitHub (Aug 1, 2023):

wrong personal configuration

<!-- gh-comment-id:1660116850 --> @fbrodrigorezino commented on GitHub (Aug 1, 2023): wrong personal configuration
Author
Owner

@github-actions[bot] commented on GitHub (Jan 29, 2024):

Issue is stale and will be closed in 14 days unless there is new activity

<!-- gh-comment-id:1913772535 --> @github-actions[bot] commented on GitHub (Jan 29, 2024): Issue is stale and will be closed in 14 days unless there is new activity
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
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
starred/act#931
No description provided.