[JIRA] (JENKINS-36833) Race Condition Populating Multiple Tag Parameters
Title: Message Title Boguslaw Klimas resolved as Fixed release 0.6.2 Jenkins / JENKINS-36833 Race Condition Populating Multiple Tag Parameters Change By: Boguslaw Klimas Status: Open Resolved Resolution: Fixed 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-36833) Race Condition Populating Multiple Tag Parameters
Title: Message Title Boguslaw Klimas stopped work on JENKINS-36833 Change By: Boguslaw Klimas Status: In Progress Open 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-36833) Race Condition Populating Multiple Tag Parameters
Title: Message Title Boguslaw Klimas commented on JENKINS-36833 Re: Race Condition Populating Multiple Tag Parameters Thanks! 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-36833) Race Condition Populating Multiple Tag Parameters
Title: Message Title Luke Downey commented on JENKINS-36833 Re: Race Condition Populating Multiple Tag Parameters Saw that you merged your PR over the weekend. I've just finished verifying the fix on our Jenkins deployment, and can confirm the issue is resolved. Thanks very much for the 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-36833) Race Condition Populating Multiple Tag Parameters
Title: Message Title Luke Downey commented on JENKINS-36833 Re: Race Condition Populating Multiple Tag Parameters Hey, Thanks for the rapid response. The fix looks totally reasonable. I've been out of the office yesterday and today, but I will figure out how to package and install this on our Jenkins deployment on Monday. Once that's done it should be trivial to verify. 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-36833) Race Condition Populating Multiple Tag Parameters
Title: Message Title Boguslaw Klimas commented on JENKINS-36833 Re: Race Condition Populating Multiple Tag Parameters Hi, I reproduced yours and a similar problems: (sory for polish message ) I created pull request with these changes https://github.com/jenkinsci/git-parameter-plugin/pull/28 Could you check these changes? If is it fine and it works for you I merge PR and I will release new versions lip 21, 2016 12:21:42 AM net.uaznia.lukanus.hudson.plugins.gitparameter.GitParameterDefinition generateContents SEVERE: Unexpected error! hudson.plugins.git.GitException: Command "git -c core.askpass=true fetch --tags --progress https://github.com/klimas7/Learn.git +refs/heads/*:refs/remotes/origin/* --prune" returned status code 1: stdout: stderr: remote: Counting objects: 1, done. remote: Total 1 (delta 0), reused 0 (delta 0), pack-reused 0 error: cannot lock ref 'refs/remotes/origin/master': ref refs/remotes/origin/master is at 9294d3fcc582801a506df9459d563a065ee0a915 but expected b622558d89d356244d72f60ca2bb669f41cc2848 >From https://github.com/klimas7/Learn ! b622558..9294d3f master -> origin/master (unable to update local ref) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1723) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1459) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$300(CliGitAPIImpl.java:63) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:314) at net.uaznia.lukanus.hudson.plugins.gitparameter.GitParameterDefinition.generateContents(GitParameterDefinition.java:250) lip 20, 2016 11:58:58 PM net.uaznia.lukanus.hudson.plugins.gitparameter.GitParameterDefinition generateContents SEVERE: Unexpected error! hudson.plugins.git.GitException: Command "git -c core.askpass=true fetch --tags --progress https://github.com/klimas7/Learn.git +refs/heads/*:refs/remotes/origin/*" returned status code 1: stdout: stderr: remote: Counting objects: 225, done. remote: Total 225 (delta 0), reused 0 (delta 0), pack-reused 225 Receiving objects: 100% (225/225), 27.13 KiB | 0 bytes/s, done. Resolving deltas: 100% (36/36), done. error: cannot lock ref 'refs/remotes/origin/feature/test_1.0': Unable to create '/var/lib/jenkins/jobs/GitParameter_gitHub/workspace/.git/refs/remotes/origin/feature/test_1.0.lock': Plik istnieje. If no other git process is currently running, this probably means a git process crashed in this repository earlier. Make sure no other git process is running and remove the file manually to continue. >From https://github.com/klimas7/Learn ! [new branch] feature/test_1.0 -> origin/feature/test_1.0 (unable to update local ref) * [new branch] master -> origin/master * [new tag] Tag_1.0-> Tag_1.0 at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1723) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1459) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$300(CliGitAPIImpl.java:63) at
[JIRA] (JENKINS-36833) Race Condition Populating Multiple Tag Parameters
Title: Message Title Boguslaw Klimas started work on JENKINS-36833 Change By: Boguslaw Klimas Status: Open In Progress 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-36833) Race Condition Populating Multiple Tag Parameters
Title: Message Title Luke Downey created an issue Jenkins / JENKINS-36833 Race Condition Populating Multiple Tag Parameters Issue Type: Bug Assignee: Boguslaw Klimas Components: git-parameter-plugin Created: 2016/Jul/20 8:03 PM Environment: git-parameter-plugin 0.6.1 & jenkins 1.656 running on ubuntu14 Labels: user-experience git plugins gui Priority: Minor Reporter: Luke Downey I'm observing a minor but somewhat annoying issue with the plugin: if a project has multiple tag parameters, and if at build time the tags need to be fetched, then multiple fetch operations are performed concurrently that may lead to failure due to git file locking. Here's some truncated log: Command "git -c core.askpass=true fetch --tags --progress +refs/heads/master:refs/remotes/origin/master --prune" returned status code 1: stdout: stderr: remote: Counting objects: 1 remote: Counting objects: 51, done remote: Finding sources: 3% (1/27) remote: Finding sources: 7% (2/27) ... remote: Finding sources: 96% (26/27) remote: Finding sources: 100% (27/27) remote: Total 27 (delta 12), reused 27 (delta 12) error: cannot lock ref 'refs/remotes/origin/master': Unable to create '/opt/jenkins_slave/workspace/deploy-production/.git/refs/remotes/origin/master.lock': File exists. Another git process seems to be running in this repository, e.g. an editor opened by 'git commit'. Please make sure all processes are