Symptom
Build fails with the below error when initiated by selecting strict host key check(secure) option with an incorrect fingerprint in cloud portal.
error:
2024-03-19 09:34:02,855 INFO d.h.c.h.PrintOutputHandler [Thread-1] sterr: Cloning into '/opt/workspace/build/customer-project'...
2024-03-19 09:34:02,960 INFO d.h.c.h.PrintOutputHandler [Thread-1] sterr: No RSA host key is known for vs-ssh.visualstudio.com and you have requested strict checking.
2024-03-19 09:34:02,961 INFO d.h.c.h.PrintOutputHandler [Thread-1] sterr: Host key verification failed.
2024-03-19 09:34:02,961 INFO d.h.c.h.PrintOutputHandler [Thread-1] sterr: fatal: Could not read from remote repository.
2024-03-19 09:34:02,961 INFO d.h.c.h.PrintOutputHandler [Thread-1] sterr:
2024-03-19 09:34:02,961 INFO d.h.c.h.PrintOutputHandler [Thread-1] sterr: Please make sure you have the correct access rights
2024-03-19 09:34:02,961 INFO d.h.c.h.PrintOutputHandler [Thread-1] sterr: and the repository exists.
2024-03-19 09:34:02,963 ERROR d.h.c.e.Executor [main] [FAILED] - Command git failed on retry 1 of 3, waiting 10 seconds before next attempt
de.hybris.ccv2.BuilderException: Executing of external command failed with exit code: 128
at de.hybris.ccv2.executor.Executor.executeOperationOnce(Executor.java:78) ~[builder-logic.jar:?]
at de.hybris.ccv2.executor.Executor.execute(Executor.java:102) ~[builder-logic.jar:?]
at de.hybris.ccv2.repository.git.GitCloner.clone(GitCloner.java:75) ~[builder-logic.jar:?]
at de.hybris.ccv2.task.CloneCustomerProjectTask.process(CloneCustomerProjectTask.java:94) ~[builder-logic.jar:?]
at de.hybris.ccv2.Builder.runTask(Builder.java:284) ~[builder-logic.jar:?]
at de.hybris.ccv2.Builder.lambda$runTasks$5(Builder.java:251) ~[builder-logic.jar:?]
at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1625) [?:?]
at java.base/java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:762) [?:?]
at de.hybris.ccv2.Builder.runTasks(Builder.java:246) [builder-logic.jar:?]
at de.hybris.ccv2.Builder.runTasksAndHandleException(Builder.java:224) [builder-logic.jar:?]
at de.hybris.ccv2.Builder.run(Builder.java:103) [builder-logic.jar:?]
at de.hybris.ccv2.Builder.main(Builder.java:57) [builder-logic.jar:?]
Read more...
Environment
SAP Commerce Cloud
Product
Keywords
Builds, ssh, strict host key check, public key, rsa, hosts. , KBA , CEC-SCC-CLA-BUI , Build Process , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.