question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

RemoteCommandError: Got non-zero return code (255) executing hostname

See original GitHub issue

Hello,

I am trying to run fio on AWS using perfkit benchmarker using the command:

./pkb.py --cloud=AWS --benchmarks=fio --machine_type=m4.xlarge --data_disk_type=gp2 --zones=eu-central-1

That generates an error:

RemoteCommandError: Got non-zero return code (255) executing hostname Full command: ssh -A -p 22 ubuntu@18.204.56.184 -2 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o IdentitiesOnly=yes -o PreferredAuthentications=publickey -o PasswordAuthentication=no -o ConnectTimeout=5 -o GSSAPIAuthentication=no -o ServerAliveInterval=30 -o ServerAliveCountMax=10 -i /var/folders/gz/hbmv14pn5_q6tv8scqvj10fr0000gp/T/perfkitbenchmarker/runs/c7a0d238/perfkitbenchmarker_keyfile -o ControlPath=“/var/folders/gz/hbmv14pn5_q6tv8scqvj10fr0000gp/T/perfkitbenchmarker/runs/c7a0d238/ssh/%C” -o ControlMaster=auto -o ControlPersist=10m hostname STDOUT: STDERR: ControlPath too long (‘/var/folders/gz/hbmv14pn5_q6tv8scqvj10fr0000gp/T/perfkitbenchmarker/runs/c7a0d238/ssh/54fe57a3b140329fb46e97c8f9a3fb0991e068f2’ >= 104 bytes)

I tried running with --data_disk_type=io1 also, but faced the same error.

Appreciate your help.

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
ladychilicommented, Apr 2, 2019

The other option is --ssh_reuse_connections=False The change is committed recently to speed up ssh connections.

I just ran into the same issue, and adding flag --ssh_reuse_connections=False sorted it out.

1reaction
yuyantingzerocommented, Apr 1, 2019

The other option is --ssh_reuse_connections=False The change is committed recently to speed up ssh connections.

Read more comments on GitHub >

github_iconTop Results From Across the Web

JOB fails with exit code 255 due to job res exits with log ... - IBM
Cause. Job res fails in host name resolution during start up to cause the job to exit at very early stage. Example: bhist...
Read more >
ssh script returns 255 error - linux - Stack Overflow
I got error 255 while forwarding a port to a server with autossh. Every time my Internet got disconnected, the server wouldn't notice...
Read more >
Rsync error code 255 - Quick fixes - Bobcares
Rsync error code 255 may occur if the server has a bad ssh setup or if the data is transferred using a wrong...
Read more >
Error while running a job: "non-zero exit status 255"
The import work but on the 2nd stap I get this error: Command '['ssh', ... run --project P1 --job J6 --master_hostname cryogpu2 ...
Read more >
IQService Returned Non Zero Exit Code 255 - Compass
Symptoms Suppose, you are trying to execute a native rule and you are getting non zero exit code 255 while trying to invoke...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found