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

Cli output of HTTPSConnectionWithCLITestCase contains only "-2147483648: " (instead of correct result)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 3.0.0.Beta24
    • None
    • CLI, Test Suite
    • None

      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:

      1. mvn install -Dts.manualmode -fae -Dmaven.test.failure.ignore=true -Dnode0=$MYTESTIP_1 -DfailIfNoTests=false -Dtest=HTTPSConnectionWithCLITestCase

      Actual results:

      • Maven report:
        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)
        
      • testcase logs are attached

      Expected results:
      No error

              mchoma@redhat.com Martin Choma
              mchoma@redhat.com Martin Choma
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: