[jboss-jira] [JBoss JIRA] (WFCORE-2851) Cli output of HTTPSConnectionWithCLITestCase contains only "-2147483648: " (instead of correct result)

Martin Choma (JIRA) issues at jboss.org
Mon May 22 03:50:01 EDT 2017


     [ https://issues.jboss.org/browse/WFCORE-2851?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Choma moved JBEAP-11053 to WFCORE-2851:
----------------------------------------------

              Project: WildFly Core  (was: JBoss Enterprise Application Platform)
                  Key: WFCORE-2851  (was: JBEAP-11053)
             Workflow: GIT Pull Request workflow   (was: CDW with loose statuses v1)
          Component/s: CLI
                       Test Suite
                           (was: CLI)
                           (was: Test Suite)
    Affects Version/s:     (was: 7.0.0.ER7)
                           (was: 7.1.0.DR5)


> Cli output of HTTPSConnectionWithCLITestCase contains only "-2147483648: " (instead of correct result)
> ------------------------------------------------------------------------------------------------------
>
>                 Key: WFCORE-2851
>                 URL: https://issues.jboss.org/browse/WFCORE-2851
>             Project: WildFly Core
>          Issue Type: Bug
>          Components: CLI, Test Suite
>            Reporter: Martin Choma
>            Assignee: Martin Choma
>
> *Description of problem:*
> Cli output of HTTPSConnectionWithCLITestCase in wildfly-core-eap contains only "-2147483648: " (instead of correct result)
> *How reproducible:*
> intermittently: 1%
> *Steps to Reproduce:*
> # mvn install -Dts.manualmode -fae -Dmaven.test.failure.ignore=true -Dnode0=$MYTESTIP_1 -DfailIfNoTests=false -Dtest=HTTPSConnectionWithCLITestCase
> *Actual results:*
> * Maven report:
> {noformat}
> Running org.wildfly.core.test.standalone.mgmt.HTTPSConnectionWithCLITestCase
> Tests run: 4, Failures: 1, Errors: 1, Skipped: 0, Time elapsed: 54.576 sec <<< FAILURE! - in org.wildfly.core.test.standalone.mgmt.HTTPSConnectionWithCLITestCase
> testTrustedCLICertificate(org.wildfly.core.test.standalone.mgmt.HTTPSConnectionWithCLITestCase)  Time elapsed: 30.066 sec  <<< FAILURE! 
> java.lang.AssertionError: Client with valid certificate should be authenticated.
> Expected: a string containing "\"outcome\" => \"success\"" 
>      but: was "-2147483648: "
>         at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
>         at org.junit.Assert.assertThat(Assert.java:956)
>         at org.wildfly.core.test.standalone.mgmt.HTTPSConnectionWithCLITestCase.testTrustedCLICertificate(HTTPSConnectionWithCLITestCase.java:149)
> org.wildfly.core.test.standalone.mgmt.HTTPSConnectionWithCLITestCase  Time elapsed: 16.5 sec  <<< ERROR!
> org.jboss.as.cli.CommandLineException: Failed to establish connection in 6063ms
>         at org.jboss.as.cli.handlers.ReloadHandler.ensureServerRebootComplete(ReloadHandler.java:235)
>         at org.jboss.as.cli.handlers.ReloadHandler.doHandle(ReloadHandler.java:165)
>         at org.jboss.as.cli.handlers.CommandHandlerWithHelp.handle(CommandHandlerWithHelp.java:88)
>         at org.jboss.as.cli.impl.CommandContextImpl.handle(CommandContextImpl.java:776)
>         at org.wildfly.core.test.standalone.mgmt.HTTPSManagementInterfaceTestCase.reloadServer(HTTPSManagementInterfaceTestCase.java:128)
>         at org.wildfly.core.test.standalone.mgmt.HTTPSConnectionWithCLITestCase.resetTestConfiguration(HTTPSConnectionWithCLITestCase.java:162)
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: -1,448,877.175 sec <<< FAILURE! - in org.wildfly.core.test.standalone.mgmt.HTTPSManagementInterfaceTestCase
> org.wildfly.core.test.standalone.mgmt.HTTPSManagementInterfaceTestCase  Time elapsed: -1,448,877.178 sec  <<< ERROR!
> java.lang.RuntimeException: "WFLYCTL0212: Duplicate resource [
>     (\"socket-binding-group\" => \"standard-sockets\"),
>     (\"socket-binding\" => \"management-native\")
> ]"
>         at org.jboss.as.test.integration.security.common.CoreUtils.applyUpdate(CoreUtils.java:185)
>         at org.wildfly.core.test.standalone.mgmt.HTTPSManagementInterfaceTestCase.serverSetup(HTTPSManagementInterfaceTestCase.java:269)
>         at org.wildfly.core.test.standalone.mgmt.HTTPSManagementInterfaceTestCase.startAndSetupContainer(HTTPSManagementInterfaceTestCase.java:116)
> {noformat}
> * testcase logs are attached
> *Expected results:*
> No error



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list