Prepare JDK26 IPv6 only testing add diagnostics IPSupport.printPlatformSupport

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: P3
    • None
    • Affects Version/s: None
    • Component/s: core-libs
    • None

      holder task for set of subtasks which will modify various network tests for Ipv6 only test runs

      this will involve adding additional diagnostics, create separate test i.e. converting @run to @test , adding additional tests with -Djava.net.PreferIPv6Addresses set

      jtreg -l open/test/jdk/:jdk_ipv6_only gives us a list of tests which require some amendment with additional diagnostics and
      the separation of @run into dedicated @Test statements.
      The diagnostics is to add a IPSupport.printPlatformSupport(System.out); to the test. This will assist when analysing test failures in IPv6 only environments to correlate what the JDK runtime perceives as the test network env and what has been configure in the test env setup.

      The second part of the enhancement is to separate out the @run commands in the test into individual @Test commands
      and to add a specific @Test with an @run specifying the system property -Djava.net.PreferIPv6Addresses=true
      The main reason for separating the @run commands is to ensure that all tests are executed in an IPv6 test environment, so that we can determine the full extend of JDK networking behaviour in IPv6 only environments.


      This task will have a number of subtasks as per the file list attached, with one subtask per test directory

      NIO NETWORKCHANNEL:

      java/nio/channels
      java/nio/channels/AsynchronousServerSocketChannel
      java/nio/channels/AsynchronousSocketChannel
      java/nio/channels/DatagramChannel
      java/nio/channels/etc
      java/nio/channels/Selector/DeferredClose
      java/nio/channels/Selector
      java/nio/channels/ServerSocketChannel
      java/nio/channels/SocketChannel


      JAVA NET:

      java/net
      java/net/whitebox
      java/net/vthread
      java/net/URLStreamHandler
      java/net/URLPermission/nstest
      java/net/URLPermission
      java/net/URLDecoder
      java/net/URLConnection/6212146
      java/net/URLConnection/contentHandler
      java/net/URLConnection/ContentHandlers
      java/net/URLConnection
      java/net/URLClassLoader/closetest
      java/net/URLClassLoader/definePackage
      java/net/URLClassLoader/getresourceasstream
      java/net/URLClassLoader/sealing
      java/net/URLClassLoader/closetest
      java/net/URLClassLoader
      java/net/URL
      java/net/URI

      java/net/Authenticator
      java/net/BindException
      java/net/CookieHandler
      java/net/DatagramPacket
      java/net/DatagramSocket
      java/net/DatagramSocketImpl

      java/net/httpclient/altsvc
      java/net/httpclient/examples
      java/net/httpclient/http2
      java/net/httpclient/http3
      java/net/httpclient/HttpRequestBodyPublishers
      java/net/httpclient/offline
      java/net/httpclient/PathSubscriber
      java/net/httpclient/qpack
      java/net/httpclient/quic/tls
      java/net/httpclient/quic
      java/net/httpclient/security/filePerms/
      java/net/httpclient/ssltest
      java/net/httpclient/websocket/security
      java/net/httpclient/websocket
      java/net/httpclient/whitebox/
      java/net/httpclient

      java/net/HttpCookie/whitebox
      java/net/HttpCookie
      java/net/HttpURLConnection
      java/net/HttpURLConnection/SetAuthenticator
      java/net/IDN

      java/net/Inet4Address
      java/net/Inet6Address/serialize
      java/net/Inet6Address
      java/net/InetAddress/ptr
      java/net/InetAddress
      java/net/InetSocketAddress
      java/net/InterfaceAddress

      java/net/ipv6tests
      java/net/JarURLConnection
      java/net/MulticastSocket
      java/net/NetworkInterface
      java/net/PlainSocketImpl
      java/net/PortUnreachableException
      java/net/ProxySelector
      java/net/ResponseCache

      java/net/ServerSocket
      java/net/Socket/asyncClose
      java/net/Socket/setReuseAddress
      java/net/Socket

      java/net/SocketException
      java/net/SocketImpl
      java/net/SocketInputStream
      java/net/SocketOption
      java/net/SocketPermission
      java/net/Socks

      java/net/spi/InetAddressResolverProvider/serviceProviderOriginType
      java/net/spi/InetAddressResolverProvider
      java/net/spi/URLStreamHandlerProvider
      java/net/UnixDomainSocketAddress

      jdk/net/ExtendedSocketOption
      jdk/net/Sockets

      com/sun/net/httpserver
      com/sun/net/httpserver/simpleserver

      sun/net/ext/
      sun/net/ftp
      sun/net/idn
      sun/net/InetAddress/nameservice/dns/
      sun/net/InetAddress/nameservice/simple
      sun/net/spi
      sun/net/util
      sun/net/www/http/ChunkedInputStream
      sun/net/www/http/HttpClient
      sun/net/www/http/HttpURLConnection
      sun/net/www/http/KeepAliveCache
      sun/net/www/http/KeepAliveStream
      sun/net/www/http/KeepAliveStreamCleaner
      sun/net/www/http/RequestMethodCheck
      sun/net/www/protocol/file
      sun/net/www/protocol/http
      sun/net/www/protocol/https/HttpsClient
      sun/net/www/protocol/https/HttpsURLConnection
      sun/net/www/protocol/https/NewImpl
      sun/net/www/protocol/https
      sun/net/www/protocol/jar/jarbug
      sun/net/www/protocol/jar
      sun/net/www/protocol/jrt
      sun/net/www/protocol/mailto
      sun/net/www
      sun/net/





        1.
        Add diagnostic output IPSupport.printPlatformSupport(System.out) to tests in java/nio/channels directory -- part I Sub-task In Progress Serhiy Sachkov  
        2.
        Add diagnostic output IPSupport.printPlatformSupport(System.out) to tests in java/nio/channels directory -- part II Sub-task Open Serhiy Sachkov  
        3.
        Add diagnostic output IPSupport.printPlatformSupport(System.out) to tests in java/nio/channels directory -- part III Sub-task Open Serhiy Sachkov  
        4.
        Add diagnostic output IPSupport.printPlatformSupport(System.out) to tests in java/nio/channels directory -- part IV Sub-task Open Serhiy Sachkov  
        5.
        Add diagnostic output IPSupport.printPlatformSupport(System.out) to tests in java/net directories -- part I Sub-task Open Serhiy Sachkov  
        6.
        Add diagnostic output IPSupport.printPlatformSupport(System.out) to tests in java/net directories -- part II Sub-task Open Serhiy Sachkov  
        7.
        Add diagnostic output IPSupport.printPlatformSupport(System.out) to tests in java/net directory -- part III Sub-task Open Serhiy Sachkov  
        8.
        Add diagnostic output IPSupport.printPlatformSupport(System.out) to tests in java/net directory -- part IV Sub-task Open Serhiy Sachkov  
        9.
        Add diagnostic output IPSupport.printPlatformSupport(System.out) to tests in java/net directory -- part V Sub-task Open Serhiy Sachkov  
        10.
        Add diagnostic output IPSupport.printPlatformSupport(System.out) to tests in java/net directory -- part VI Sub-task Open Serhiy Sachkov  
        11.
        Add diagnostic output IPSupport.printPlatformSupport(System.out) to tests in java/net directory -- part VII Sub-task Open Serhiy Sachkov  

            Assignee:
            Serhiy Sachkov
            Reporter:
            Mark Sheppard
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: