Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

Retry ssh-keyscan command #1969

Closed
stefanprodan opened this issue Apr 24, 2019 · 1 comment · Fixed by #1971
Closed

Retry ssh-keyscan command #1969

stefanprodan opened this issue Apr 24, 2019 · 1 comment · Fixed by #1971
Labels
build About the build or test scaffolding

Comments

@stefanprodan
Copy link
Member

stefanprodan commented Apr 24, 2019

The CircleCI tests are failing often with:

The command '/bin/sh -c ssh-keyscan github.com gitlab.com bitbucket.org ssh.dev.azure.com vs-ssh.visualstudio.com >> /etc/ssh/ssh_known_hosts &&     sh /home/flux/verify_known_hosts.sh /etc/ssh/ssh_known_hosts &&     rm /home/flux/verify_known_hosts.sh' returned a non-zero code: 1

We should wrap this command in a bash script are retry it a couple of times while waiting a couple of seconds between retries.

@stefanprodan stefanprodan added the build About the build or test scaffolding label Apr 24, 2019
@dholbach
Copy link
Member

Good thinking. This currently fails in about 70% of the cases for me and is quite annoying.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
build About the build or test scaffolding
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants