Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-20492

(7.4.z) WildFly TS - org.jboss.as.test.integration.security.loginmodules.negotiation.AdvancedLdapLoginModuleTestCase fails with Oracle JDK 11

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 7.4.5.CR1, 7.4.5.GA
    • 7.3.4.CR1, 7.4.0.CD21, EAP-XP-2.0.0.CR1
    • Security, Test Suite
    • None
    • False
    • False
    • +
    • Undefined

    Description

      This is to report that the execution of the above mentioned test is failing in the following environment:

      23:12:25 Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
      23:12:25 Maven home: /home/hudson/hudson_workspace/asts-integration-bootablejar/690269b8/tools/maven
      23:12:25 Java version: 11.0.9, vendor: Oracle Corporation, runtime: /home/hudson/hudson_workspace/asts-integration-bootablejar/690269b8/tools/java
      23:12:25 Default locale: en_US, platform encoding: UTF-8
      23:12:25 OS name: "linux", version: "3.10.0-1160.el7.x86_64", arch: "amd64", family: "unix"
      

      The build log is reporting the following message:

      Unexpected status code returned after the authentication. expected:<200> but was:<401>
      

      And stack:

      java.lang.AssertionError: Unexpected status code returned after the authentication. expected:<200> but was:<401>
      	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.jboss.as.test.integration.security.common.Utils.run(Utils.java:636)
      	at org.jboss.as.test.integration.security.common.Utils.run(Utils.java:632)
      	at java.base/java.security.AccessController.doPrivileged(Native Method)
      	at java.base/javax.security.auth.Subject.doAs(Subject.java:423)
      	at org.jboss.as.test.integration.security.common.Utils.makeCallWithKerberosAuthn(Utils.java:632)
      	at org.jboss.as.test.integration.security.loginmodules.negotiation.AdvancedLdapLoginModuleTestCase.testDeployment(AdvancedLdapLoginModuleTestCase.java:277)
      	at org.jboss.as.test.integration.security.loginmodules.negotiation.AdvancedLdapLoginModuleTestCase.test1(AdvancedLdapLoginModuleTestCase.java:210)
      

      The test is not failing when using some other JDKs, as for instance Oracle 8 or OpenJDKs.

      Attachments

        Issue Links

          Activity

            People

              fburzigo Fabio Burzigotti
              fburzigo Fabio Burzigotti
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: