dasharo-issues icon indicating copy to clipboard operation
dasharo-issues copied to clipboard

DTS CI fails on cloning `dts-release-cicd-pipeline`

Open PLangowski opened this issue 1 year ago • 4 comments

Component

Dasharo Tools Suite

Device

other

Dasharo version

No response

Dasharo Tools Suite version

v2.0.0-rc*

Test case ID

No response

Brief summary

DTS CI fails to clone dts-release-cicd-pipeline: Permission denied

How reproducible

No response

How to reproduce

  1. Push a release tag to develop

Expected behavior

CI passes. The release is published on GitHub and binaries + signatures are deployed.

Actual behavior

Trigger signing job fails:

Cloning into 'dts-release-cicd-pipeline'...
[main 84ab3340d1c7] Signing release v2.0.0-rc6
 1 file changed, 1 insertion(+), 1 deletion(-)
[email protected]: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

The release is not published.

Screenshots

No response

Additional context

This problem has appeared in the past and seemed to have been fixed in https://github.com/Dasharo/meta-dts/pull/146, however it reappeared. The SSH_KEY_CI_CD secret should hold the correct key that will allow the builder to access https://git.3mdeb.com/3mdeb/dts-release-cicd-pipeline.

Solutions you've tried

No response

PLangowski avatar Sep 13 '24 08:09 PLangowski

@PLangowski probably not the fault but there is open PR to merge changes that were merged to main but not into develop: https://github.com/Dasharo/meta-dts/pull/147 Maybe there were other fixes that were applied to main but not develop?

m-iwanicki avatar Sep 13 '24 12:09 m-iwanicki

Not sure if it's connected but last Weekly clean & rebuild failed during Send sstate-cache folder to cache.dasharo.com step:

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
(...)

m-iwanicki avatar Sep 23 '24 12:09 m-iwanicki

Should be fixed by https://github.com/Dasharo/meta-dts/pull/173 but needs to be tested. Workflow failed a little later not during clone but most likely push (logs didn't show which command failed)

WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED was due to keys changing, it should be fixed by now.

m-iwanicki avatar Sep 24 '24 12:09 m-iwanicki

@m-iwanicki merged. let's retest the ci with the DTS optiplex changes

artur-rs avatar Sep 26 '24 11:09 artur-rs

Closing. We've successfully released the v2.0.0, and v2.0.1-RCs version so far: https://github.com/Dasharo/meta-dts/releases

artur-rs avatar Nov 07 '24 23:11 artur-rs