[jboss-jira] [JBoss JIRA] (WFCORE-3829) ReloadRedirectTestCase#testRedirectWithSecurityCommands fails on IBM JDK

Petr Kremensky (JIRA) issues at jboss.org
Fri May 11 04:54:01 EDT 2018


Petr Kremensky created WFCORE-3829:
--------------------------------------

             Summary: ReloadRedirectTestCase#testRedirectWithSecurityCommands fails on IBM JDK
                 Key: WFCORE-3829
                 URL: https://issues.jboss.org/browse/WFCORE-3829
             Project: WildFly Core
          Issue Type: Bug
          Components: CLI, Test Suite
    Affects Versions: 5.0.0.Alpha7
            Reporter: Petr Kremensky
            Assignee: Jean-Francois Denise


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*
{noformat}
...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)
...
{noformat}

*environment*
{noformat}
$ 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
{noformat}

*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/



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jboss-jira mailing list