Hi Mark, I share the information you requested.

      We have a BitBucket Webhook to notify Jenkins to build this 
Multibranch pipeline
       
        *Answers for your questions:*

   - We use BitBucket Branch Source plugin in our Multibranch pipeline
   - This commit is present in the project repository
   - When a single commit was pushed, we didn’t face this issue but when 
   more than N commits were pushed, this problem occurred consistently
   - Enabled "Call can merge" option to solve the problem, but it didn't 
   solve.

        *Observations*:

   - The pipeline failed during “checkout” itself with this error  
   - We found that the same commit was built successfully when the 
   Multibranch pipeline was indexed and scanned.
   - However when that individual feature branch was built manually, the 
   checkout failed.
   
Thanks Mark for reply. Please let me know if you need any information or 
clarification.
         



On Monday, June 15, 2020 at 11:36:59 AM UTC+8 Mark Waite wrote:

> If you had received that stack trace and no other information, what would 
> you have done?  How would you have investigated your report?  What steps 
> would you have taken to clarify the problem and find an answer?
>
> A stack trace is not enough information to provide helpful suggestions.
>
> Refer to https://www.jenkins.io/participate/report-issue/ for the types 
> of information that are needed so that others can help you.
>
> Some examples in your specific case include:
>
>    - What do you mean precisely when you say, "Pull Request pipeline"?  
>    What is the definition of your Multibranch Pipeline and of the Jenkinsfile 
>    in this failure case?  Which branch source provider are you using (GitHub, 
>    Bitbucket, Gitea, GitlLab, Git)?
>    - Does the commit "8e3b73d51abd3f0e77f7d1bf16dbdaa46b0f734e" exist in 
>    the source repository?  If not, does it exist in a pipeline shared library 
>    repository that you are using?
>    - What steps did you execute to generate that message?
>    - What alternate steps have you tried?
>    - What were the results of those alternate steps?
>
>
> On Sun, Jun 14, 2020 at 7:11 PM Arunachalam Sibisakkaravarthi <
> aruna...@mcruncher.com> wrote:
>
>> This is actual exception thrown Pull Request pipeline. Please let me know 
>> if anyone needs more information.
>>  
>>
>>> git checkout -f 8e3b73d51abd3f0e77f7d1bf16dbdaa46b0f734e # timeout=10
>>> ERROR: Checkout failed
>>> hudson.plugins.git.GitException: Command "git checkout -f 
>>> 8e3b73d51abd3f0e77f7d1bf16dbdaa46b0f734e" returned status code 128:
>>> stdout: 
>>> stderr: fatal: reference is not a tree: 
>>> 8e3b73d51abd3f0e77f7d1bf16dbdaa46b0f734e
>>>
>>>     at 
>>> org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2430)
>>>     at 
>>> org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$1100(CliGitAPIImpl.java:81)
>>>     at 
>>> org.jenkinsci.plugins.gitclient.CliGitAPIImpl$9.execute(CliGitAPIImpl.java:2743)
>>> Caused: hudson.plugins.git.GitException: Could not checkout 
>>> 8e3b73d51abd3f0e77f7d1bf16dbdaa46b0f734e
>>>     at 
>>> org.jenkinsci.plugins.gitclient.CliGitAPIImpl$9.execute(CliGitAPIImpl.java:2767)
>>>     at 
>>> jenkins.plugins.git.MergeWithGitSCMExtension.checkout(MergeWithGitSCMExtension.java:144)
>>>     at 
>>> jenkins.plugins.git.MergeWithGitSCMExtension.decorateRevisionToBuild(MergeWithGitSCMExtension.java:110)
>>>     at hudson.plugins.git.GitSCM.determineRevisionToBuild(GitSCM.java:1063)
>>>     at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1168)
>>>     at 
>>> org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout(SCMStep.java:125)
>>>     at 
>>> org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition.create(CpsScmFlowDefinition.java:155)
>>>     at 
>>> org.jenkinsci.plugins.workflow.multibranch.SCMBinder.create(SCMBinder.java:142)
>>>     at 
>>> org.jenkinsci.plugins.workflow.job.WorkflowRun.run(WorkflowRun.java:309)
>>>     at hudson.model.ResourceController.execute(ResourceController.java:97)
>>>     at hudson.model.Executor.run(Executor.java:428)
>>> Retrying after 10 seconds
>>>
>>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Jenkins Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to jenkinsci-use...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jenkinsci-users/6ec7c0f7-2d45-4352-ac9e-85b6ce3bba19o%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/jenkinsci-users/6ec7c0f7-2d45-4352-ac9e-85b6ce3bba19o%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/f21939ce-29d3-4ac8-b00b-64531c6057b3n%40googlegroups.com.

Reply via email to