Ask Your Question

ssh problems in buildfarm

asked 2018-07-25 15:00:27 -0500

venkisagunner gravatar image

This is a continuation of this post. This is the error log from running lunar_rosdistro_cache job.

14:50:51 The command '/bin/sh -c python3 -u /tmp/wrapper_scripts/ update-install-clean -q -y git python3-catkin-pkg-modules python3-rosdistro python3-yaml' returned a non-zero code: 100
14:50:51 Build step 'Execute shell' marked build as failure
14:50:51 SSH: Current build result is [FAILURE], not going to run.

I followed everything mentioned in the documentation. When I tried to test the connection in jenkins to the repo machine, the test configuration fails and sends me this error message.

Failed to connect or change directory
jenkins.plugins.publish_over.BapPublisherException: Failed to connect and initialize SSH connection. Message: [Failed to connect session for config [repo]. Message [Auth fail]]
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2018-07-26 16:28:06 -0500

venkisagunner gravatar image

updated 2018-07-26 16:28:45 -0500

Solved the problem by adding a ssh host key for the jenkins-agent as mentioned below in the common.yaml file:

        type: ssh-rsa
        user: jenkins-agent
        require: User[jenkins-agent]
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools



Asked: 2018-07-25 15:00:27 -0500

Seen: 404 times

Last updated: Jul 26 '18