Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8317804

com/sun/jdi/JdwpAllowTest.java fails on Alpine 3.17 / 3.18

    XMLWordPrintable

Details

    • b05
    • generic
    • linux_alpine

    Backports

      Description

        We run into the following failure :

        Starting PositiveMaskTest(0:0:0:0:0:0:0:1)
        java.net.ConnectException: Connection refused
        at java.base/sun.nio.ch.Net.connect0(Native Method)
        at java.base/sun.nio.ch.Net.connect(Net.java:589)
        at java.base/sun.nio.ch.Net.connect(Net.java:578)
        at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:583)
        at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:327)
        at java.base/java.net.Socket.connect(Socket.java:751)
        at java.base/java.net.Socket.connect(Socket.java:686)
        at java.base/java.net.Socket.<init>(Socket.java:555)
        at java.base/java.net.Socket.<init>(Socket.java:324)
        at JdwpAllowTest.handshake(JdwpAllowTest.java:54)
        at JdwpAllowTest.positiveTest(JdwpAllowTest.java:107)
        at JdwpAllowTest.main(JdwpAllowTest.java:244)
        at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
        at java.base/java.lang.reflect.Method.invoke(Method.java:580)
        at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:333)
        at java.base/java.lang.Thread.run(Thread.java:1583)
        java.lang.RuntimeException: PositiveMaskTest(0:0:0:0:0:0:0:1) FAILED
        at JdwpAllowTest.positiveTest(JdwpAllowTest.java:112)
        at JdwpAllowTest.main(JdwpAllowTest.java:244)
        at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
        at java.base/java.lang.reflect.Method.invoke(Method.java:580)
        at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:333)
        at java.base/java.lang.Thread.run(Thread.java:1583)

        Can we check for Alpine and avoid this part of the test ?

        Attachments

          Issue Links

            Activity

              People

                amenkov Alex Menkov
                mbaesken Matthias Baesken
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: