Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-3829

ReloadRedirectTestCase#testRedirectWithSecurityCommands fails on IBM JDK

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 6.0.0.Alpha1
    • 5.0.0.Alpha7
    • CLI, Test Suite
    • None

      I tried to run the CLI command from failing assertion manually and it does seem to work as expected, so this more like the testing code problem than functional issue.

      reproduce

      ...wildfly-core] $ mvn clean test -Dtest=ReloadRedirectTestCase#testRedirectWithSecurityCommands -DallTests -pl testsuite/manualmode
      ...
      [INFO] Running org.jboss.as.test.manualmode.management.cli.ReloadRedirectTestCase
      [ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 33.474 s <<< FAILURE! - in org.jboss.as.test.manualmode.management.cli.ReloadRedirectTestCase
      [ERROR] testRedirectWithSecurityCommands(org.jboss.as.test.manualmode.management.cli.ReloadRedirectTestCase)  Time elapsed: 22.653 s  <<< FAILURE!
      java.lang.AssertionError: No certificate prompt 
      	at org.junit.Assert.fail(Assert.java:88)
      	at org.junit.Assert.assertTrue(Assert.java:41)
      	at org.jboss.as.test.manualmode.management.cli.ReloadRedirectTestCase.testRedirectWithSecurityCommands(ReloadRedirectTestCase.java:269)
      ...
      

      environment

      $ mvn -version 
      Apache Maven 3.5.3 (3383c37e1f9e9b3bc3df5050c29c8aff9f295297; 2018-02-24T20:49:05+01:00)
      Maven home: /usr/lib/maven
      Java version: 1.8.0_161, vendor: IBM Corporation
      Java home: /usr/lib/java/ibm-java-8.0-5.11/jre
      Default locale: en_US, platform encoding: UTF-8
      OS name: "linux", version: "4.15.17-300.fc27.x86_64", arch: "amd64", family: "unix"
      
      $ git rev-parse --short HEAD 
      c0847897a3
      

      qa note
      The test fail causes some other failures in manualmode module:
      org.jboss.as.test.manualmode.management.cli.ReloadRedirectTestCase.testRedirectWithSecurityCommands
      org.jboss.as.test.manualmode.management.cli.ReloadRedirectTestCase.testReloadwithRedirect
      org.jboss.as.test.manualmode.vault.VaultPasswordsInCLITestCase.testRightVaultPassword
      org.wildfly.core.test.standalone.mgmt.HTTPSConnectionWithCLITestCase.testTrustedCLICertificate
      org.wildfly.core.test.standalone.mgmt.HTTPSManagementInterfaceTestCase.testHTTPS
      org.wildfly.core.test.standalone.mgmt.HTTPSManagementInterfaceTestCase.testHTTP
      org.wildfly.core.test.standalone.mgmt.HTTPSManagementInterfaceTestCase.testHTTPSWithCredentialReference

      ibm jdk download
      https://developer.ibm.com/javasdk/downloads/sdk8/

              jdenise@redhat.com Jean Francois Denise
              pkremens@redhat.com Petr Kremensky (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: