Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-43574

Lockable resources plugin does not take effect

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      We are doing automated regression testing with jenkins and using the lockable resources plugin to run one test job at a time. But sometimes it fails to acquire the lock on the testing system and one or more test job starts before the first one finished depending on when the lockable resource plugin starts to work again. Example wrong behavior:
      17:09:23 Started by timer

      17:09:23 [lockable-resources] acquired lock on []

      17:09:23 [EnvInject] - Loading node environment variables.
      Please tell me what kind of logs do you need to debug this issue.

        Attachments

          Issue Links

            Activity

            Hide
            krulls Stephan Krull added a comment -

            Set up a PR to get that one done.

            Show
            krulls Stephan Krull added a comment - Set up a PR to get that one done.
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: krull
            Path:
            src/main/java/org/jenkins/plugins/lockableresources/RequiredResourcesProperty.java
            src/test/java/org/jenkins/plugins/lockableresources/BasicIntegrationTest.java
            http://jenkins-ci.org/commit/lockable-resources-plugin/1e440bfbbd803400065c062ae6bba9b86a7e45ac
            Log:
            JENKINS-43574: fix construction of RequiredResourcesProperty

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: krull Path: src/main/java/org/jenkins/plugins/lockableresources/RequiredResourcesProperty.java src/test/java/org/jenkins/plugins/lockableresources/BasicIntegrationTest.java http://jenkins-ci.org/commit/lockable-resources-plugin/1e440bfbbd803400065c062ae6bba9b86a7e45ac Log: JENKINS-43574 : fix construction of RequiredResourcesProperty
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: krull
            Path:
            src/main/java/org/jenkins/plugins/lockableresources/RequiredResourcesProperty.java
            http://jenkins-ci.org/commit/lockable-resources-plugin/90bee03e8972183210ca5510f4e276bc8097cdb7
            Log:
            JENKINS-43574: replace whitespaces with tabs

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: krull Path: src/main/java/org/jenkins/plugins/lockableresources/RequiredResourcesProperty.java http://jenkins-ci.org/commit/lockable-resources-plugin/90bee03e8972183210ca5510f4e276bc8097cdb7 Log: JENKINS-43574 : replace whitespaces with tabs
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Antonio Muniz
            Path:
            src/main/java/org/jenkins/plugins/lockableresources/RequiredResourcesProperty.java
            src/test/java/org/jenkins/plugins/lockableresources/BasicIntegrationTest.java
            http://jenkins-ci.org/commit/lockable-resources-plugin/67a01b44f4a995955e0888db62f927fcc740697a
            Log:
            Merge pull request #89 from krulls/master

            JENKINS-43574: fix construction of RequiredResourcesProperty

            Compare: https://github.com/jenkinsci/lockable-resources-plugin/compare/3b9717e389f7...67a01b44f4a9

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Antonio Muniz Path: src/main/java/org/jenkins/plugins/lockableresources/RequiredResourcesProperty.java src/test/java/org/jenkins/plugins/lockableresources/BasicIntegrationTest.java http://jenkins-ci.org/commit/lockable-resources-plugin/67a01b44f4a995955e0888db62f927fcc740697a Log: Merge pull request #89 from krulls/master JENKINS-43574 : fix construction of RequiredResourcesProperty Compare: https://github.com/jenkinsci/lockable-resources-plugin/compare/3b9717e389f7...67a01b44f4a9
            Hide
            amuniz Antonio Muñiz added a comment -

            Released as 2.2

            Show
            amuniz Antonio Muñiz added a comment - Released as 2.2

              People

              • Assignee:
                Unassigned
                Reporter:
                szanics Bela Szanics
              • Votes:
                11 Vote for this issue
                Watchers:
                20 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: