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

"Connection refused" on FileSystemDeploymentServiceUnitTestCase and LoggingSubsystemRollbackTestCase on pure-IPv6

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.0.0.CR6
    • 2.0.0.Beta4
    • Test Suite
    • None

      Description of problem:
      FileSystemDeploymentServiceUnitTestCase and LoggingSubsystemRollbackTestCase fail with "java.net.ConnectException: Connection refused" on pure-IPv6 machines.

      How reproducible:
      Always on pure-IPv6 machines

      Steps to Reproduce:

      1. mvn install -DfailIfNoTests=false -Dtest=LoggingSubsystemRollbackTestCase,FileSystemDeploymentServiceUnitTestCase -DallTests -fae

      Actual results:

      java.net.ConnectException: Connection refused
      	at java.net.PlainSocketImpl.socketConnect(Native Method)
      	at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:345)
      	at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
      	at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
      	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
      	at java.net.Socket.connect(Socket.java:589)
      	at java.net.Socket.connect(Socket.java:538)
      	at java.net.Socket.<init>(Socket.java:434)
      	at java.net.Socket.<init>(Socket.java:211)
      	at org.jboss.byteman.agent.submit.Submit$Comm.<init>(Submit.java:881)
      	at org.jboss.byteman.agent.submit.Submit.submitRequest(Submit.java:787)
      	at org.jboss.byteman.agent.submit.Submit.addScripts(Submit.java:603)
      	at org.jboss.byteman.contrib.bmunit.BMUnit.loadScriptText(BMUnit.java:268)
      	at org.jboss.byteman.contrib.bmunit.BMUnitRunner$10.evaluate(BMUnitRunner.java:369)
      	at org.jboss.byteman.contrib.bmunit.BMUnitRunner$6.evaluate(BMUnitRunner.java:241)
      	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
      	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
      	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
      	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
      	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
      	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
      	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
      	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
      	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
      	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
      	at org.jboss.byteman.contrib.bmunit.BMUnitRunner$1.evaluate(BMUnitRunner.java:75)
      	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
      	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
      	at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
      	at org.junit.runners.Suite.runChild(Suite.java:127)
      	at org.junit.runners.Suite.runChild(Suite.java:26)
      	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
      	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
      	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
      	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
      	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
      	at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
      	at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
      	at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
      	at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.createRequestAndRun(JUnitCoreWrapper.java:113)
      	at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.executeEager(JUnitCoreWrapper.java:85)
      	at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:54)
      	at org.apache.maven.surefire.junitcore.JUnitCoreProvider.invoke(JUnitCoreProvider.java:134)
      	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200)
      	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
      	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
      

      Expected results:
      No errors on output

      Affected tests:

      • org.jboss.as.server.deployment.scanner.FileSystemDeploymentServiceUnitTestCase#testNoUndeployment
      • org.jboss.as.logging.LoggingSubsystemRollbackTestCase#testRollbackHandler
      • org.jboss.as.logging.LoggingSubsystemRollbackTestCase#testRollbackRemoveProfile
      • org.jboss.as.logging.LoggingSubsystemRollbackTestCase#testRollbackWriteAttribute
      • org.jboss.as.logging.LoggingSubsystemRollbackTestCase#testRollbackUpdateAttribute
      • org.jboss.as.logging.LoggingSubsystemRollbackTestCase#testRollbackCompositeLoggingProfile
      • org.jboss.as.logging.LoggingSubsystemRollbackTestCase#testRollbackLogger
      • org.jboss.as.logging.LoggingSubsystemRollbackTestCase#testRollbackRemove
      • org.jboss.as.logging.LoggingSubsystemRollbackTestCase#testRollbackAdd
      • org.jboss.as.logging.LoggingSubsystemRollbackTestCase#testRollbackComposite

              jperkins-rhn James Perkins
              mkopecky@redhat.com Marek Kopecky
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: