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

Fix ATH failures

    XMLWordPrintable

Details

    Description

      ldap is failing on the ATH for version 1.16. If version 1.15 is tested, ATH finish with status OK.

      Tests have to be updated.

       

      org.openqa.selenium.NoSuchElementException: Unable to locate By.cssSelector: [path='/useSecurity/realm[2]/environmentProperties/name'] in http://127.0.0.1:63844/configureSecurity/
      

      Attachments

        Issue Links

          Activity

            fcojfernandez Francisco Fernández created issue -
            fcojfernandez Francisco Fernández made changes -
            Field Original Value New Value
            Description {{script-security}} is failing on the PCT. There are two failing tests:

             * {{SecureGroovyScriptTest#testClasspathAutomaticApprove}}
             * {{SecureGroovyScriptTest#testSandboxDefault_with_RUN_SCRIPTS_privs}}

            {code:java}
            testClasspathAutomaticApprove(org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.SecureGroovyScriptTest)  Time elapsed: 21.001 sec  <<< FAILURE!
            java.lang.AssertionError: expected:<0> but was:<1>
                at org.junit.Assert.fail(Assert.java:88)
                at org.junit.Assert.failNotEquals(Assert.java:834)
                at org.junit.Assert.assertEquals(Assert.java:645)
                at org.junit.Assert.assertEquals(Assert.java:631)
                at org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.SecureGroovyScriptTest.testClasspathAutomaticApprove(SecureGroovyScriptTest.java:710)
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                at java.lang.reflect.Method.invoke(Method.java:498)
                at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
                at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
                at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
                at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
                at org.jvnet.hudson.test.JenkinsRule$2.evaluate(JenkinsRule.java:533)
                at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48)
                at org.junit.rules.RunRules.evaluate(RunRules.java:20)
                at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
                at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
                at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
                at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
                at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
                at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
                at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
                at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
                at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
                at org.apache.maven.surefire.junit4.JUnit4Provider.executeFailedMethod(JUnit4Provider.java:381)
                at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:292)
                at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
                at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:161)
                at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
                at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
                at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)

            testSandboxDefault_with_RUN_SCRIPTS_privs(org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.SecureGroovyScriptTest)  Time elapsed: 29.526 sec  <<< FAILURE!
            java.lang.AssertionError
                at org.junit.Assert.fail(Assert.java:86)
                at org.junit.Assert.assertTrue(Assert.java:41)
                at org.junit.Assert.assertFalse(Assert.java:64)
                at org.junit.Assert.assertFalse(Assert.java:74)
                at org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.SecureGroovyScriptTest.testSandboxDefault_with_RUN_SCRIPTS_privs(SecureGroovyScriptTest.java:170)
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                at java.lang.reflect.Method.invoke(Method.java:498)
                at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
                at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
                at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
                at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
                at org.jvnet.hudson.test.JenkinsRule$2.evaluate(JenkinsRule.java:533)
                at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48)
                at org.junit.rules.RunRules.evaluate(RunRules.java:20)
                at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
                at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
                at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
                at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
                at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
                at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
                at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
                at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
                at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
                at org.apache.maven.surefire.junit4.JUnit4Provider.executeFailedMethod(JUnit4Provider.java:381)
                at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:292)
                at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
                at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:161)
                at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
                at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
                at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
            {code}
            {{ldap}} is failing on the ATH for version 1.16. Tests have to be updated.
            fcojfernandez Francisco Fernández made changes -
            Component/s ldap-plugin [ 17122 ]
            Component/s script-security-plugin [ 18520 ]
            fcojfernandez Francisco Fernández made changes -
            Description {{ldap}} is failing on the ATH for version 1.16. Tests have to be updated. {{ldap}} is failing on the ATH for version 1.16. If version 1.15 is tested, ATH finish with status OK.

            Tests have to be updated.
            fcojfernandez Francisco Fernández made changes -
            Description {{ldap}} is failing on the ATH for version 1.16. If version 1.15 is tested, ATH finish with status OK.

            Tests have to be updated.
            {{ldap}} is failing on the ATH for version 1.16. If version 1.15 is tested, ATH finish with status OK.

            Tests have to be updated.

             
            {code:java}
            org.openqa.selenium.NoSuchElementException: Unable to locate By.cssSelector: [path='/useSecurity/realm[2]/environmentProperties/name'] in http://127.0.0.1:63844/configureSecurity/
            {code}
            fcojfernandez Francisco Fernández made changes -
            Remote Link This issue links to "PR-351 (Web Link)" [ 17606 ]
            fcojfernandez Francisco Fernández made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            fcojfernandez Francisco Fernández made changes -
            Resolution Done [ 10000 ]
            Status In Progress [ 3 ] Resolved [ 5 ]
            cloudbees CloudBees Inc. made changes -
            Remote Link This issue links to "CloudBees Internal CLTS-2161 (Web Link)" [ 18993 ]

            People

              fcojfernandez Francisco Fernández
              fcojfernandez Francisco Fernández
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: