[JIRA] (JENKINS-38973) Multibranch-Pipeline Not Honoring Git Timeout
Title: Message Title Mark Waite updated an issue Jenkins / JENKINS-38973 Multibranch-Pipeline Not Honoring Git Timeout Change By: Mark Waite Component/s: multi-branch-project-plugin (not Pipeline) Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- 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.175390.1476389939000.2002.1562257560848%40Atlassian.JIRA. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-38973) Multibranch-Pipeline Not Honoring Git Timeout
Title: Message Title Rohit Gagan commented on JENKINS-38973 Re: Multibranch-Pipeline Not Honoring Git Timeout Mark Waite only option i see is change in git plugin code then to increase the default timeout. What you suggest? Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- 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.175390.1476389939000.9247.1558541520481%40Atlassian.JIRA. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-38973) Multibranch-Pipeline Not Honoring Git Timeout
Title: Message Title Rohit Gagan commented on JENKINS-38973 Re: Multibranch-Pipeline Not Honoring Git Timeout Mark Waite. Thanks. This works. i was adding the parameter at the wrong end Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- 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.175390.1476389939000.9455.1558547460849%40Atlassian.JIRA. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-38973) Multibranch-Pipeline Not Honoring Git Timeout
Title: Message Title Rohit Gagan commented on JENKINS-38973 Re: Multibranch-Pipeline Not Honoring Git Timeout Mark Waite. Tried adding that, this still takes timeout as 10 min Started [Wed May 22 11:55:15 EDT 2019] Starting branch indexing... > git --version # timeout=10 Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- 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.175390.1476389939000.9202.1558540740617%40Atlassian.JIRA. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-38973) Multibranch-Pipeline Not Honoring Git Timeout
Title: Message Title Mark Waite edited a comment on JENKINS-38973 Re: Multibranch-Pipeline Not Honoring Git Timeout No [~rohit_gagan], the best work around is still the [stackoverflow article|https://stackoverflow.com/a/37133464] referenced by [~aseg] . Since branch indexing happens on the master and uses a known cache, it should create only a single copy of the large repository, then it will reuse that for additional operations. Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- 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.175390.1476389939000.8982.1558535160588%40Atlassian.JIRA. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-38973) Multibranch-Pipeline Not Honoring Git Timeout
Title: Message Title Mark Waite commented on JENKINS-38973 Re: Multibranch-Pipeline Not Honoring Git Timeout No Rohit Gagan, the best work around is still the stackoverflow article referenced by Antonio Asenjo Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- 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.175390.1476389939000.8978.1558535100833%40Atlassian.JIRA. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-38973) Multibranch-Pipeline Not Honoring Git Timeout
Title: Message Title Rohit Gagan commented on JENKINS-38973 Re: Multibranch-Pipeline Not Honoring Git Timeout Any resolution to this issue. Still facing the same problem Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- 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.175390.1476389939000.8854.1558533540794%40Atlassian.JIRA. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-38973) Multibranch-Pipeline Not Honoring Git Timeout
Title: Message Title Sebastien Hoareau commented on JENKINS-38973 Re: Multibranch-Pipeline Not Honoring Git Timeout Not exactly the same, but we have a similar problem with the shallow clone option: the plugin doesn't seem to take into account either (no --depth=xx on the git fetch command line) Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- 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. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-38973) Multibranch-Pipeline Not Honoring Git Timeout
Title: Message Title Steve Boardwell commented on JENKINS-38973 Re: Multibranch-Pipeline Not Honoring Git Timeout Hi, I second guillaume docquier's comment. Our git repository is close to 5GB in size and the local git repository is not being used at all when running "Branch Indexing". Antonio Asenjo: thanks for the link but setting the timeout option higher is not really a long term solution since we have a large number of pipelines with all require branch indexing meaning the 5GB will be duplicated many times on the master. I too would like to see a solution for this. I will have a look into the code when I have time but I don't know when this will be. Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- 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. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-38973) Multibranch-Pipeline Not Honoring Git Timeout
Title: Message Title Antonio Asenjo commented on JENKINS-38973 Re: Multibranch-Pipeline Not Honoring Git Timeout Hi, guillaume docquier please check this link: https://stackoverflow.com/a/37133464 Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- 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. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-38973) Multibranch-Pipeline Not Honoring Git Timeout
Title: Message Title Mark Waite commented on JENKINS-38973 Re: Multibranch-Pipeline Not Honoring Git Timeout An alternative might be to pass -Dorg.jenkinsci.plugins.gitclient.Git.timeOut=37 as a Java command line option to Jenkins. That will set the Jenkins global git timeout to 37 minutes instead of its default of 10 minutes. I don't know why the pipeline initial clone ignores the timeout setting, but I've confirmed that it does ignore it. I confirmed it is ignored with the following steps: Create a multi-branch pipeline job with Git as the SCM source Use https://github.com/torvalds/linux.git as the repository location Add the "Additional Behaviour" for "Advanced clone options" Set the timeout to a small value (1 or 2) Click the "Scan Multibranch Pipeline Now" link Monitor the progress of the clone, note that it will run longer than the assigned timeout value. Other cases honor the timeout, but apparently not that case Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- 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
[JIRA] (JENKINS-38973) Multibranch-Pipeline Not Honoring Git Timeout
Title: Message Title Sean MacKay commented on JENKINS-38973 Re: Multibranch-Pipeline Not Honoring Git Timeout This is suddenly an issue for me. I'm not sure the timeout is the culprit, as it used to clone fine, but now some problem with the git fetch does cause the timeout to expire. Additionally, this doesn't read as a failure on the git fetch for the multibranch pipeline project, it just stays locked on this git fetch process preventing other jobs from running. Perhaps this is another issue that should have a new bug opened? Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- 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. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-38973) Multibranch-Pipeline Not Honoring Git Timeout
Title: Message Title Tino Siegmund commented on JENKINS-38973 Re: Multibranch-Pipeline Not Honoring Git Timeout Same problem here. Tryed to manually pre clone the repository does not help. Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- 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. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-38973) Multibranch-Pipeline Not Honoring Git Timeout
Title: Message Title Ruslan Khamidullin commented on JENKINS-38973 Re: Multibranch-Pipeline Not Honoring Git Timeout Huge blocker. Needs to be fixed. Any available workarounds? Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- 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. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-38973) Multibranch-Pipeline Not Honoring Git Timeout
Title: Message Title Erik Hakansson commented on JENKINS-38973 Re: Multibranch-Pipeline Not Honoring Git Timeout This pull request to Git client plugin makes the default timeout configurable and should solve this issue. Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- 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. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-38973) Multibranch-Pipeline Not Honoring Git Timeout
Title: Message Title Erik Hakansson commented on JENKINS-38973 Re: Multibranch-Pipeline Not Honoring Git Timeout We have this issue too. Always timeout on indexing. Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- 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. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-38973) Multibranch-Pipeline Not Honoring Git Timeout
Title: Message Title Mark Waite assigned an issue to Unassigned Jenkins / JENKINS-38973 Multibranch-Pipeline Not Honoring Git Timeout Change By: Mark Waite Assignee: Mark Waite Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- 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. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-38973) Multibranch-Pipeline Not Honoring Git Timeout
Title: Message Title David Johnson created an issue Jenkins / JENKINS-38973 Multibranch-Pipeline Not Honoring Git Timeout Issue Type: Bug Assignee: Mark Waite Attachments: error.txt, Screen Shot 2016-10-13 at 15.39.47.png, Screen Shot 2016-10-13 at 15.41.59.png, Screen Shot 2016-10-13 at 15.42.03.png, Screen Shot 2016-10-13 at 15.42.06.png Components: git-client-plugin, git-plugin, multi-branch-project-plugin Created: 2016/Oct/13 8:18 PM Environment: Jenkins 2.19.1 Git client plugin 2.0.0 Git plugin 3.0.0 Pipeline: Multibranch: 2.9 Priority: Major Reporter: David Johnson I am having an issue cloning a large repo for use in a multi-branch pipeline project. My goal is to run pipeline jobs against certain branches within my repository. However, the initial fetch seems to timeout. As you can see from the attached log, the issue appears to arise from a 10 minute timeout issue. However, if you see the below screen shots, I have all of my timeouts set to 180minutes. In the attached tickets there were known issues with the 10 minute git timeout that were fixed by allowing users access to overrides as I have shown in the attached images. It appears as though these overrides are not being honored for some reason within the MultibranchPipeline project. I have used the settings described here on a smaller repo and it was able to properly index the branches. As a work around, I also tried only using the overrides as advanced settings for checkout/fetch behavior. This did not work either, unfortunately.