Jenkins ee4j.data cannot load private ssh key
Summary
When attempting to load the ssh key(s) necessary to clone a repository an error is thrown.
See additional issues that have recently started to affect our ability to publish releases:
Steps to reproduce
This can be replicated by running the following jenkins job: https://ci.eclipse.org/data/job/jakarta-data-build-and-stage/
What is the current bug behavior?
Instead of initializing an ssh agent an error is thrown indicating the key cannot be loaded.
What is the expected correct behavior?
We should be able to initialize an ssh agent to accomplish tasks, such as, cloning a git repository.
Relevant logs and/or screenshots
$ ssh-agent
SSH_AUTH_SOCK=/tmp/ssh-5Pziy2JjwY4C/agent.42
SSH_AGENT_PID=43
[ssh-agent] Started.
Running ssh-add (command line suppressed)
Error loading key "/home/jenkins/agent/workspace/jakarta-data-build-and-stage@tmp/private_key_16622174115372261191.key": error in libcrypto
$ ssh-agent -k
unset SSH_AUTH_SOCK;
unset SSH_AGENT_PID;
echo Agent pid 43 killed;
[ssh-agent] Stopped.
ERROR: Failed to run ssh-add
Priority
-
Urgent -
High -
Medium -
Low
Severity
-
Blocker -
Major -
Normal -
Low
Impact
We are working on publishing a service release for Jakarta Data and this is blocking our ability to do so.