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

Test failing against Jenkins 1.651.3

    XMLWordPrintable

Details

    • Task
    • Status: Resolved (View Workflow)
    • Minor
    • Resolution: Fixed
    • promoted-builds-plugin
    • None
    • O.S.: Mac OSX, Ubuntu 14.04
      Jenkins Version: 1.651.3
      JDK version: JDK7

    Description

      Description

      Four tests are failing for different reasons.

      • hudson.plugins.promoted_builds.conditions.inheritance.SelfPromotionInheritanceTest.testPromotionEnvironmentShouldIncludeTargetParameters is failing because of SECURITY-170
      • The rest of tests are failing because they are not compatible with Jenkins baseline 1.575+. See here

      How to reproduce

      • Compile the test
      mvn clean compile test-compile
      
      • Execute the tests against the last LTS
      mvn test -Djenkins.version=1.651.3

      Attachments

        Issue Links

          Activity

            rarabaolaza Raul Arabaolaza created issue -
            rarabaolaza Raul Arabaolaza made changes -
            Field Original Value New Value
            Description *Description:*
            Four tests are failing for different reasons.
            * hudson.plugins.promoted_builds.conditions.inheritance.SelfPromotionInheritanceTest.testPromotionEnvironmentShouldIncludeTargetParameters is failing because of SECURITY-170
            * The rest of tests are failing because they are not compatible with Jenkins baseline 1.575+. See [here](https://github.com/jenkinsci/promoted-builds-plugin/blob/master/src/test/java/hudson/plugins/promoted_builds/PromotionProcessTest.java#L56).

            *How to reproduce:

            * Compile the test

            `mvn clean compile test-compile`

            * Execute the tests against the last LTS

            `mvn test -Djenkins.version=1.651.3`
            *Description:*
            Four tests are failing for different reasons.
            * hudson.plugins.promoted_builds.conditions.inheritance.SelfPromotionInheritanceTest.testPromotionEnvironmentShouldIncludeTargetParameters is failing because of SECURITY-170
            * The rest of tests are failing because they are not compatible with Jenkins baseline 1.575+. See [here|https://github.com/jenkinsci/promoted-builds-plugin/blob/master/src/test/java/hudson/plugins/promoted_builds/PromotionProcessTest.java#L56]

            *How to reproduce:

            * Compile the test

            `mvn clean compile test-compile`

            * Execute the tests against the last LTS

            `mvn test -Djenkins.version=1.651.3`
            rarabaolaza Raul Arabaolaza made changes -
            Description *Description:*
            Four tests are failing for different reasons.
            * hudson.plugins.promoted_builds.conditions.inheritance.SelfPromotionInheritanceTest.testPromotionEnvironmentShouldIncludeTargetParameters is failing because of SECURITY-170
            * The rest of tests are failing because they are not compatible with Jenkins baseline 1.575+. See [here|https://github.com/jenkinsci/promoted-builds-plugin/blob/master/src/test/java/hudson/plugins/promoted_builds/PromotionProcessTest.java#L56]

            *How to reproduce:

            * Compile the test

            `mvn clean compile test-compile`

            * Execute the tests against the last LTS

            `mvn test -Djenkins.version=1.651.3`
            *Description:*
            Four tests are failing for different reasons.
            * hudson.plugins.promoted_builds.conditions.inheritance.SelfPromotionInheritanceTest.testPromotionEnvironmentShouldIncludeTargetParameters is failing because of SECURITY-170
            * The rest of tests are failing because they are not compatible with Jenkins baseline 1.575+. See [here|https://github.com/jenkinsci/promoted-builds-plugin/blob/master/src/test/java/hudson/plugins/promoted_builds/PromotionProcessTest.java#L56]

            *How to reproduce:

            * Compile the test


            {noformat}
            mvn clean compile test-compile
            {noformat}


            * Execute the tests against the last LTS

            {mvn test -Djenkins.version=1.651.3}
            rarabaolaza Raul Arabaolaza made changes -
            Description *Description:*
            Four tests are failing for different reasons.
            * hudson.plugins.promoted_builds.conditions.inheritance.SelfPromotionInheritanceTest.testPromotionEnvironmentShouldIncludeTargetParameters is failing because of SECURITY-170
            * The rest of tests are failing because they are not compatible with Jenkins baseline 1.575+. See [here|https://github.com/jenkinsci/promoted-builds-plugin/blob/master/src/test/java/hudson/plugins/promoted_builds/PromotionProcessTest.java#L56]

            *How to reproduce:

            * Compile the test


            {noformat}
            mvn clean compile test-compile
            {noformat}


            * Execute the tests against the last LTS

            {mvn test -Djenkins.version=1.651.3}
            *Description:*
            Four tests are failing for different reasons.
            * hudson.plugins.promoted_builds.conditions.inheritance.SelfPromotionInheritanceTest.testPromotionEnvironmentShouldIncludeTargetParameters is failing because of SECURITY-170
            * The rest of tests are failing because they are not compatible with Jenkins baseline 1.575+. See [here|https://github.com/jenkinsci/promoted-builds-plugin/blob/master/src/test/java/hudson/plugins/promoted_builds/PromotionProcessTest.java#L56]

            *How to reproduce:

            * Compile the test


            {noformat}
            mvn clean compile test-compile
            {noformat}


            * Execute the tests against the last LTS

            {noformat}mvn test -Djenkins.version=1.651.3{noformat}
            rarabaolaza Raul Arabaolaza made changes -
            Description *Description:*
            Four tests are failing for different reasons.
            * hudson.plugins.promoted_builds.conditions.inheritance.SelfPromotionInheritanceTest.testPromotionEnvironmentShouldIncludeTargetParameters is failing because of SECURITY-170
            * The rest of tests are failing because they are not compatible with Jenkins baseline 1.575+. See [here|https://github.com/jenkinsci/promoted-builds-plugin/blob/master/src/test/java/hudson/plugins/promoted_builds/PromotionProcessTest.java#L56]

            *How to reproduce:

            * Compile the test


            {noformat}
            mvn clean compile test-compile
            {noformat}


            * Execute the tests against the last LTS

            {noformat}mvn test -Djenkins.version=1.651.3{noformat}
            *Description:*
            Four tests are failing for different reasons.
            * hudson.plugins.promoted_builds.conditions.inheritance.SelfPromotionInheritanceTest.testPromotionEnvironmentShouldIncludeTargetParameters is failing because of SECURITY-170
            * The rest of tests are failing because they are not compatible with Jenkins baseline 1.575+. See [here|https://github.com/jenkinsci/promoted-builds-plugin/blob/master/src/test/java/hudson/plugins/promoted_builds/PromotionProcessTest.java#L56]

            *How to reproduce:*

            * Compile the test


            {noformat}
            mvn clean compile test-compile
            {noformat}


            * Execute the tests against the last LTS

            {noformat}mvn test -Djenkins.version=1.651.3{noformat}
            rarabaolaza Raul Arabaolaza made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            rarabaolaza Raul Arabaolaza made changes -
            Remote Link This issue links to "PR-95 (Web Link)" [ 14611 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 173344 ] JNJira + In-Review [ 185828 ]

            Code changed in jenkins
            User: Raúl Arabaolaza Barquin
            Path:
            src/test/java/hudson/plugins/promoted_builds/KeepBuildForeverActionTest.java
            src/test/java/hudson/plugins/promoted_builds/PromotionProcessTest.java
            src/test/java/hudson/plugins/promoted_builds/conditions/inheritance/SelfPromotionInheritanceTest.java
            src/test/java/hudson/plugins/promoted_builds/util/ItemListenerHelper.java
            http://jenkins-ci.org/commit/promoted-builds-plugin/f7589c3c3e76f357393c6431a6412f2bc1e55ee7
            Log:
            JENKINS-36623 Fix Tests for Jenkins 1.651.3 (#95)

            • JENKINS-36623 Fix SelfPromotionInheritanceTest#testPromotionEnvironmentShouldIncludeTargetParameters to work after SECURITY-170
            • JENKINS-36623 Upgrade PromotionProcessTest to work against jenkins 1.575+
            • JENKINS-36623 Upgrade KeepBuildForeverActionTest work against jenkins 1.575+
            • JENKINS-36623 Upgrade SelfPromotionInheritanceTest to work against Jenkins 1.575+
            • JENKINS-36623 Move ItemListener invocation to an utility method
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Raúl Arabaolaza Barquin Path: src/test/java/hudson/plugins/promoted_builds/KeepBuildForeverActionTest.java src/test/java/hudson/plugins/promoted_builds/PromotionProcessTest.java src/test/java/hudson/plugins/promoted_builds/conditions/inheritance/SelfPromotionInheritanceTest.java src/test/java/hudson/plugins/promoted_builds/util/ItemListenerHelper.java http://jenkins-ci.org/commit/promoted-builds-plugin/f7589c3c3e76f357393c6431a6412f2bc1e55ee7 Log: JENKINS-36623 Fix Tests for Jenkins 1.651.3 (#95) JENKINS-36623 Fix SelfPromotionInheritanceTest#testPromotionEnvironmentShouldIncludeTargetParameters to work after SECURITY-170 JENKINS-36623 Upgrade PromotionProcessTest to work against jenkins 1.575+ JENKINS-36623 Upgrade KeepBuildForeverActionTest work against jenkins 1.575+ JENKINS-36623 Upgrade SelfPromotionInheritanceTest to work against Jenkins 1.575+ JENKINS-36623 Code style conventions JENKINS-36623 Move ItemListener invocation to an utility method JENKINS-36623 Add TODO and mention to JENKINS-34831 JENKINS-36623 Code Style JENKINS-36623 Move ItemListenerhelper to test folder JENKINS-36623 Added TODO note
            rarabaolaza Raul Arabaolaza added a comment - - edited

            Fixed by PR-95

            rarabaolaza Raul Arabaolaza added a comment - - edited Fixed by PR-95
            rarabaolaza Raul Arabaolaza made changes -
            Resolution Fixed [ 1 ]
            Status In Progress [ 3 ] Resolved [ 5 ]
            recena Manuel Recena Soto made changes -
            Description *Description:*
            Four tests are failing for different reasons.
            * hudson.plugins.promoted_builds.conditions.inheritance.SelfPromotionInheritanceTest.testPromotionEnvironmentShouldIncludeTargetParameters is failing because of SECURITY-170
            * The rest of tests are failing because they are not compatible with Jenkins baseline 1.575+. See [here|https://github.com/jenkinsci/promoted-builds-plugin/blob/master/src/test/java/hudson/plugins/promoted_builds/PromotionProcessTest.java#L56]

            *How to reproduce:*

            * Compile the test


            {noformat}
            mvn clean compile test-compile
            {noformat}


            * Execute the tests against the last LTS

            {noformat}mvn test -Djenkins.version=1.651.3{noformat}
            h4. Description

            Four tests are failing for different reasons.
            * hudson.plugins.promoted_builds.conditions.inheritance.SelfPromotionInheritanceTest.testPromotionEnvironmentShouldIncludeTargetParameters is failing because of SECURITY-170
            * The rest of tests are failing because they are not compatible with Jenkins baseline 1.575+. See [here|https://github.com/jenkinsci/promoted-builds-plugin/blob/master/src/test/java/hudson/plugins/promoted_builds/PromotionProcessTest.java#L56]

            h4. How to reproduce

            * Compile the test


            {noformat}
            mvn clean compile test-compile
            {noformat}


            * Execute the tests against the last LTS

            {noformat}mvn test -Djenkins.version=1.651.3{noformat}

            People

              rarabaolaza Raul Arabaolaza
              rarabaolaza Raul Arabaolaza
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: