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

InterfaceManagementUnitTestCase from wf-core fail intermittently

XMLWordPrintable

      Description of problem:
      InterfaceManagementUnitTestCase from wf-core fail intermittently. This test is unit test from server module.

      How reproducible:
      5%

      Actual results:
      StackTrace:

      java.lang.AssertionError: {"outcome" => "success"}
      	at org.junit.Assert.fail(Assert.java:88)
      	at org.junit.Assert.assertTrue(Assert.java:41)
      	at org.jboss.as.server.test.InterfaceManagementUnitTestCase.executeForServiceFailure(InterfaceManagementUnitTestCase.java:447)
      	at org.jboss.as.server.test.InterfaceManagementUnitTestCase.testInterfacesAlternatives(InterfaceManagementUnitTestCase.java:175)
      

      Standard Output

      Failure for {
          "operation" => "add",
          "address" => [("interface" => "test")],
          "any-address" => true,
          "inet-address" => "127.0.0.1",
          "link-local-address" => true,
          "loopback" => true,
          "loopback-address" => "127.0.0.1",
          "multicast" => true,
          "nic" => "lo",
          "nic-match" => "lo",
          "point-to-point" => true,
          "public-address" => true,
          "site-local-address" => true,
          "subnet-match" => "127.0.0.0/24",
          "up" => true,
          "virtual" => true
      }
       is:
      {
          "outcome" => "failed",
          "failure-description" => "WFLYCTL0099: any-address is invalid",
          "rolled-back" => true
      }
      Failure for {
          "operation" => "add",
          "address" => [("interface" => "test")],
          "inet-address" => "127.0.0.1",
          "link-local-address" => true,
          "loopback" => true,
          "loopback-address" => "127.0.0.1",
          "multicast" => true,
          "nic" => "lo",
          "nic-match" => "lo",
          "point-to-point" => true,
          "public-address" => true,
          "site-local-address" => true,
          "subnet-match" => "127.0.0.0/24",
          "up" => true,
          "virtual" => true
      }
       is:
      {"outcome" => "success"}
      

      Expected results:
      No error

            bstansbe@redhat.com Brian Stansberry
            mkopecky@redhat.com Marek Kopecky
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: