linux ubuntu git clone failing

Ryan's Avatar

Ryan

11 Dec, 2019 10:15 PM

When running our job in a linux ubuntu BYOC instance the git clone process fails saying:

ssh: connect to host 9uc40dy5rtd3opde port 22: Connection refused

when I run the build, the .ssh/config file has an updated modified timestamp, but no actual changes were made to the file. I would expect to see:

Host 9uc40dy5rtd3opde
Hostname github.com
IdentifyFile ~/.ssh/9uc40dy5rtd3opde_id_rsa

But it isn't there. As a result the git clone is failing. I don't see the ~/.ssh/9uc40dy5rtd3opde_id_rsa file either. I am not sure what I am doing wrong to cause the build to error. I am running the same job on a Windows BYOC at the same time and it works without issue.

  1. 1 Posted by Ryan on 11 Dec, 2019 10:17 PM

    Ryan's Avatar

    I forgot to mention, the files and directories are all owned by the appveyor user and group, but it seems to be a permissions issue due to how it isn't actually writing files.

  2. Support Staff 2 Posted by Feodor Fitsner on 13 Dec, 2019 12:46 AM

    Feodor Fitsner's Avatar

    Could you please take a look if there is something in AppVeyor Build Agent log?

    journalctl -u appveyor-build-agent
    
  3. 3 Posted by Ryan on 13 Dec, 2019 01:09 AM

    Ryan's Avatar

    Huh.. absolutely nothing, log starts at Mon 2019-10-21 16:37:14 EDT, ends at Thu 2019-12-12 20:08:17 EST -- No Entries --

  4. Support Staff 4 Posted by Wasa Pleshakov on 13 Dec, 2019 11:28 AM

    Wasa Pleshakov's Avatar

    May I ask you to share the configuration of your Build Cloud? Also, appveyor.yml of the project and build log may shed some light.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac