Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-16587

flaky AntiCompactionBytemanTest.testRedundantTransitions byteman Connection refused

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Won't Fix
    • Fix Version/s: 4.0-rc
    • Component/s: Test/unit
    • Labels:
      None
    • Bug Category:
      Availability - Unavailable
    • Severity:
      Normal
    • Complexity:
      Normal
    • Discovered By:
      Unit Test
    • Platform:
      All
    • Impacts:
      None
    • Test and Documentation Plan:
      Hide

      CI

      Show
      CI

      Description

      Failing occasionally with

      java.net.ConnectException: Connection refused (Connection refused)
      	at java.net.PlainSocketImpl.socketConnect(Native Method)
      	at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
      	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:607)
      	at java.net.Socket.connect(Socket.java:556)
      	at java.net.Socket.<init>(Socket.java:452)
      	at java.net.Socket.<init>(Socket.java:229)
      	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:291)
      	at org.jboss.byteman.contrib.bmunit.BMUnitRunner$9.evaluate(BMUnitRunner.java:362)
      	at org.jboss.byteman.contrib.bmunit.BMUnitRunner$6.evaluate(BMUnitRunner.java:263)
      	at org.jboss.byteman.contrib.bmunit.BMUnitRunner$1.evaluate(BMUnitRunner.java:97)
      

      Looking through the logs this correlates to

      Setting org.jboss.byteman.allow.config.update=true
       TransformListener() : unexpected exception opening server socket java.net.BindException: Address already in use (Bind failed)
       java.net.BindException: Address already in use (Bind failed)
       	at java.net.PlainSocketImpl.socketBind(Native Method)
       	at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:387)
       	at java.net.ServerSocket.bind(ServerSocket.java:390)
       	at java.net.ServerSocket.bind(ServerSocket.java:344)
       	at org.jboss.byteman.agent.TransformListener.initialize(TransformListener.java:81)
       	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
       	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
       	at java.lang.reflect.Method.invoke(Method.java:498)
       	at org.jboss.byteman.agent.Main.premain(Main.java:286)
       	at org.jboss.byteman.agent.Main.agentmain(Main.java:309)
       	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
       	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
       	at java.lang.reflect.Method.invoke(Method.java:498)
       	at sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:386)
       	at sun.instrument.InstrumentationImpl.loadClassAndCallAgentmain(InstrumentationImpl.java:411)
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mck Michael Semb Wever
                Reporter:
                mck Michael Semb Wever
                Authors:
                Michael Semb Wever
                Reviewers:
                Berenguer Blasi
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: