hashar added a comment.
On an agent that executed a successful build:
hashar@integration-agent-docker-1055:~$ sudo su - jenkins-deploy
jenkins-deploy@integration-agent-docker-1055:~$ ssh -p 29418
gerrit.wikimedia.org
[email protected]: Permission denied (publickey).
On an agent that failed the build due to the host key verification:
hashar@integration-agent-docker-1053:~$ sudo su - jenkins-deploy
jenkins-deploy@integration-agent-docker-1053:~$ ssh -p 29418
gerrit.wikimedia.org
The authenticity of host '[gerrit.wikimedia.org]:29418
([208.80.154.151]:29418)' can't be established.
RSA key fingerprint is SHA256:j7HQoQ6fIuEgDHjONjI2CZ+2Iwxqgo2Ur5LbPqBgxOU.
Are you sure you want to continue connecting (yes/no/[fingerprint])? no
Host key verification failed.
If I run ssh in verbose mode on the successful agent
integration-agent-docker-1055
debug1: Reading configuration data /mnt/home/jenkins-deploy/.ssh/config
debug1: /mnt/home/jenkins-deploy/.ssh/config line 1: Applying options for
gerrit.wikimedia.org
debug1: /mnt/home/jenkins-deploy/.ssh/config line 4: Applying options for
gerrit.wikimedia.org
debug1: /mnt/home/jenkins-deploy/.ssh/config line 6: Applying options for
gerrit.wikimedia.org
Which is:
name=/mnt/home/jenkins-deploy/.ssh/config
Host gerrit.wikimedia.org
StrictHostKeyChecking no
User wdqsguibuilder
Host gerrit.wikimedia.org
StrictHostKeyChecking no
Host gerrit.wikimedia.org
StrictHostKeyChecking no
File created on Sep 11 09:23 and interestingly it hardocde the user to
`wdqsguibuilder`.
There is no such thing on the failing agent (`integration-agent-docker-1053`).
That instance got created in June and based on `last` nobody logged in beside
me. I clearly don't remember having crafted such a file, and most certainly I
would not have used `StrictHostKeyChecking no` (I'd rather provision the Gerrit
fingerprint to the known hosts). Maybe it is Jenkins adding it :(
TASK DETAIL
https://phabricator.wikimedia.org/T328543
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: noarave, hashar
Cc: Lucas_Werkmeister_WMDE, noarave, hashar, ItamarWMDE, Aklapper, Michael,
Danny_Benjafield_WMDE, Isabelladantes1983, Themindcoder, Adamm71, Jersione,
Hellket777, LisafBia6531, Astuthiodit_1, AWesterinen, 786, Biggs657,
karapayneWMDE, Invadibot, maantietaja, Juan90264, Peteosx1x, Alter-paule,
Beast1978, Un1tY, Mgagat, Akuckartz, Totolinototo3, Hook696, PatsagornY,
Kent7301, Zanziii, Sadisticturd, joker88john, CucyNoiD, Nandana, Namenlos314,
jijiki, Klaas_Z4us_V, Gaboe420, Giuliamocci, Cpaulf30, Lahi, Gq86, Af420,
Bsandipan, GoranSMilovanovic, Mahir256, QZanden, EBjune, merbst, LawExplorer,
Salgo60, Lewizho99, Maathavan, elukey, _jensen, rosalieper, Neuronton,
Scott_WUaS, Jonas, Xmlizer, jkroll, Wikidata-bugs, Jdouglas, aude, Tobias1984,
Manybubbles, Lydia_Pintscher, Mbch331, Jay8g, ori
_______________________________________________
Wikidata-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]