[JIRA] (JENKINS-60383) Remote nodes unable to checkout code
Title: Message Title Luca Domenico Milanesio commented on JENKINS-60383 Re: Remote nodes unable to checkout code Thanks again Will Wagner for reporting and fixing the problem. Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.203433.1575577992000.2265.1578190020427%40Atlassian.JIRA.
[JIRA] (JENKINS-60383) Remote nodes unable to checkout code
Title: Message Title Luca Domenico Milanesio resolved as Fixed Jenkins / JENKINS-60383 Remote nodes unable to checkout code Change By: Luca Domenico Milanesio Status: In Progress Resolved Resolution: Fixed Released As: 0.4.1 Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.203433.1575577992000.2263.1578190020385%40Atlassian.JIRA.
[JIRA] (JENKINS-60383) Remote nodes unable to checkout code
Title: Message Title Luca Domenico Milanesio started work on JENKINS-60383 Change By: Luca Domenico Milanesio Status: Open In Progress Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.203433.1575577992000.2259.1578189960301%40Atlassian.JIRA.
[JIRA] (JENKINS-60383) Remote nodes unable to checkout code
Title: Message Title Luca Domenico Milanesio commented on JENKINS-60383 Re: Remote nodes unable to checkout code Will Wagner the SCM extensions are completely removed in your proposed change. Without those extensions, you won't be able to successfully complete a branch scanning of a medium-sized Gerrit repository. Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.203433.1575577992000.1047.1577722500200%40Atlassian.JIRA.
[JIRA] (JENKINS-60383) Remote nodes unable to checkout code
Title: Message Title Luca Domenico Milanesio commented on JENKINS-60383 Re: Remote nodes unable to checkout code Can you try to use the Gerrit authenticated URL? https://gerrit.mycompany.com/a/myrepo Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.203433.1575577992000.1024.1577717940265%40Atlassian.JIRA.
[JIRA] (JENKINS-60383) Remote nodes unable to checkout code
Title: Message Title Will Wagner commented on JENKINS-60383 Re: Remote nodes unable to checkout code We have set username/password credentials on the pipeline job, see uploaded image. Out of interest what functionality is broken by our change? Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.203433.1575577992000.1010.1577717160316%40Atlassian.JIRA.
[JIRA] (JENKINS-60383) Remote nodes unable to checkout code
Title: Message Title Will Wagner updated an issue Jenkins / JENKINS-60383 Remote nodes unable to checkout code Change By: Will Wagner Attachment: credentials.png Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.203433.1575577992000.1004.1577717100373%40Atlassian.JIRA.
[JIRA] (JENKINS-60383) Remote nodes unable to checkout code
Title: Message Title Luca Domenico Milanesio commented on JENKINS-60383 Re: Remote nodes unable to checkout code Did you set the credentials id on the multi-branch pipeline job? Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.203433.1575577992000.967.1577713680312%40Atlassian.JIRA.
[JIRA] (JENKINS-60383) Remote nodes unable to checkout code
Title: Message Title Luca Domenico Milanesio commented on JENKINS-60383 Re: Remote nodes unable to checkout code I just tried and it works for me. When the build is triggered on a remote host, I see: using GIT_ASKPASS to set credentials jenkins-at-gerritci In your case I see from your logs: using GIT_ASKPASS to set credentials Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.203433.1575577992000.957.1577712660158%40Atlassian.JIRA.
[JIRA] (JENKINS-60383) Remote nodes unable to checkout code
Title: Message Title Luca Domenico Milanesio commented on JENKINS-60383 Re: Remote nodes unable to checkout code Unfortunately, your fix is breaking existing functionality. Let me reproduce the problem and see if there is another way to achieve the same result. Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.203433.1575577992000.954.1577710620127%40Atlassian.JIRA.
[JIRA] (JENKINS-60383) Remote nodes unable to checkout code
Title: Message Title Luca Domenico Milanesio commented on JENKINS-60383 Re: Remote nodes unable to checkout code Thanks Nick Bulleid looking at your fix right now. Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.203433.1575577992000.952.1577710020318%40Atlassian.JIRA.
[JIRA] (JENKINS-60383) Remote nodes unable to checkout code
Title: Message Title Nick Bulleid commented on JENKINS-60383 Re: Remote nodes unable to checkout code I've uploaded a fix for this issue to GerritHub. https://review.gerrithub.io/c/jenkinsci/gerrit-code-review-plugin/+/477949 Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.203433.1575577992000.13536.1576747386518%40Atlassian.JIRA.
[JIRA] (JENKINS-60383) Remote nodes unable to checkout code
Title: Message Title Will Wagner commented on JENKINS-60383 Re: Remote nodes unable to checkout code So looking at this some more, I believe it is the LFS Pull step that is using the wrong credentials. For some reason it previously used to say 'Enabling Git LFS pull' before it started this and did the config core.sparsecheckout. Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.203433.1575577992000.3375.1575967020401%40Atlassian.JIRA.
[JIRA] (JENKINS-60383) Remote nodes unable to checkout code
Title: Message Title Will Wagner commented on JENKINS-60383 Re: Remote nodes unable to checkout code I believe I am using the correct stored credentials, they work fine if I downgrade the module to 0.3.5. They are https username and password that work everywhere else. Do they need to be something special? Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.203433.1575577992000.1898.1575588180122%40Atlassian.JIRA.
[JIRA] (JENKINS-60383) Remote nodes unable to checkout code
Title: Message Title Luca Domenico Milanesio commented on JENKINS-60383 Re: Remote nodes unable to checkout code Have you checked which credentials are used and what are the ones you were expecting to use? Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.203433.1575577992000.1838.1575585180199%40Atlassian.JIRA.
[JIRA] (JENKINS-60383) Remote nodes unable to checkout code
Title: Message Title Will Wagner commented on JENKINS-60383 Re: Remote nodes unable to checkout code The output from the pipeline job that fails on a node is: using credential 6e96f729-8440-40bf-8710-88689c791d3b Cloning the remote Git repository Cloning repository https://code.office.carallon.com/pharos/magpie > C:\Program Files\Git\bin\git.exe init c:\jenkins\workspace\magpie-verify_01_8301_2 # timeout=10 Fetching upstream changes from https://code.office.carallon.com/pharos/magpie > C:\Program Files\Git\bin\git.exe --version # timeout=10 using GIT_ASKPASS to set credentials > C:\Program Files\Git\bin\git.exe fetch --tags --force --progress – https://code.office.carallon.com/pharos/magpie +refs/heads/:refs/remotes/origin/ # timeout=10 > C:\Program Files\Git\bin\git.exe config remote.origin.url https://code.office.carallon.com/pharos/magpie # timeout=10 > C:\Program Files\Git\bin\git.exe config --add remote.origin.fetch +refs/heads/:refs/remotes/origin/ # timeout=10 > C:\Program Files\Git\bin\git.exe config remote.origin.url https://code.office.carallon.com/pharos/magpie # timeout=10 Fetching upstream changes from https://code.office.carallon.com/pharos/magpie using GIT_ASKPASS to set credentials > C:\Program Files\Git\bin\git.exe fetch --tags --force --progress – https://code.office.carallon.com/pharos/magpie refs/changes/01/8301/2:refs/remotes/origin/01/8301/2 # timeout=10 Checking out Revision 787879583e36f6e3afc5b60d35d15409d2c6a11a (refs/remotes/origin/01/8301/2) > C:\Program Files\Git\bin\git.exe rev-parse "01/8301/2^ {commit}" # timeout=10 > C:\Program Files\Git\bin\git.exe rev-parse "refs/remotes/origin/01/8301/2^{commit} " # timeout=10 > C:\Program Files\Git\bin\git.exe config core.sparsecheckout # timeout=10 > C:\Program Files\Git\bin\git.exe checkout -f 787879583e36f6e3afc5b60d35d15409d2c6a11a # timeout=10 ERROR: Timeout after 10 minutes Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
[JIRA] (JENKINS-60383) Remote nodes unable to checkout code
Title: Message Title Will Wagner created an issue Jenkins / JENKINS-60383 Remote nodes unable to checkout code Issue Type: Bug Assignee: Luca Domenico Milanesio Components: gerrit-code-review-plugin Created: 2019-12-05 20:33 Environment: jenkins 2.190.3 gerrit code review plugin 0.3.7 Labels: slave Priority: Blocker Reporter: Will Wagner Moving to 0.3.7 has broken checkout on remote nodes. They fail reporting unable to checkout the code after a 10 minute timeout. In the log on the gerrit server are hundreds of lines saying: WARN com.google.gerrit.httpd.ProjectBasicAuthFilter : Authentication failed for Username for 'https: account inactive or not provisioned in Gerrit So it appears that the remote node is using the wrong credentials to try to do the checkout. Reverting to .03.5 and everything works fine Add