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

JDI stopListening/stoplis001 "FAILED: listening is successfully stopped without starting listening"

    XMLWordPrintable

Details

    • b19
    • x86_64
    • linux

    Description

      The following test failed in the JDK15 CI:

      vmTestbase/nsk/jdi/ListeningConnector/stopListening/stoplis001/TestDescription.java

      Here's a snippet from the log file:

      ----------System.out:(86/5530)----------
      run [nsk.jdi.ListeningConnector.stopListening.stoplis001, -verbose, -arch=linux-x64, -waittime=5, -debugee.vmkind=java, -transport.address=dynamic, -debugee.vmkeys=-XX:MaxRAMPercentage=6 -Xshare:off -showversion]
      Connector name=com.sun.jdi.SocketListen
      description=Accepts socket connections initiated by other VMs
      transport=dt_socket
      argument name=timeout
      value=
      argument name=port
      value=44321
      argument name=localAddress
      value=
      Connector name=com.sun.jdi.SocketListen
      description=Accepts socket connections initiated by other VMs
      transport=dt_socket
      argument name=timeout
      value=
      argument name=port
      value=
      argument name=localAddress
      value=
      TEST: start listening the address localhost:44321
      # ERROR: Test case #1 FAILED: listening is successfully stopped without starting listening
      The following stacktrace is for failure analysis.
      nsk.share.TestFailure: Test case #1 FAILED: listening is successfully stopped without starting listening
      at nsk.share.Log.logExceptionForFailureAnalysis(Log.java:428)
      at nsk.share.Log.complain(Log.java:399)
      at nsk.jdi.ListeningConnector.stopListening.stoplis001.runIt(stoplis001.java:102)
      at nsk.jdi.ListeningConnector.stopListening.stoplis001.run(stoplis001.java:72)
      at nsk.jdi.ListeningConnector.stopListening.stoplis001.main(stoplis001.java:68)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:564)
      at PropertyResolvingWrapper.main(PropertyResolvingWrapper.java:104)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:564)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:832)
      # ERROR: FAILURE: Illegal connector arguments: Not listening
      The following stacktrace is for failure analysis.
      nsk.share.TestFailure: FAILURE: Illegal connector arguments: Not listening
      at nsk.share.Log.logExceptionForFailureAnalysis(Log.java:428)
      at nsk.share.Log.complain(Log.java:399)
      at nsk.jdi.ListeningConnector.stopListening.stoplis001.stopListen(stoplis001.java:185)
      at nsk.jdi.ListeningConnector.stopListening.stoplis001.runIt(stoplis001.java:108)
      at nsk.jdi.ListeningConnector.stopListening.stoplis001.run(stoplis001.java:72)
      at nsk.jdi.ListeningConnector.stopListening.stoplis001.main(stoplis001.java:68)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:564)
      at PropertyResolvingWrapper.main(PropertyResolvingWrapper.java:104)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:564)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:832)
      com.sun.jdi.connect.IllegalConnectorArgumentsException: Not listening
      at jdk.jdi/com.sun.tools.jdi.GenericListeningConnector.stopListening(GenericListeningConnector.java:136)
      at nsk.jdi.ListeningConnector.stopListening.stoplis001.stopListen(stoplis001.java:169)
      at nsk.jdi.ListeningConnector.stopListening.stoplis001.runIt(stoplis001.java:108)
      at nsk.jdi.ListeningConnector.stopListening.stoplis001.run(stoplis001.java:72)
      at nsk.jdi.ListeningConnector.stopListening.stoplis001.main(stoplis001.java:68)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:564)
      at PropertyResolvingWrapper.main(PropertyResolvingWrapper.java:104)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:564)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:832)
      # ERROR: Test case #2 FAILED: unable to stop listening


      #>
      #> SUMMARY: Following errors occured
      #> during test execution:
      #>
      # ERROR: Test case #1 FAILED: listening is successfully stopped without starting listening
      # ERROR: FAILURE: Illegal connector arguments: Not listening
      # ERROR: Test case #2 FAILED: unable to stop listening
      ----------System.err:(3/172)----------

      Attachments

        Issue Links

          Activity

            People

              amenkov Alex Menkov
              dcubed Daniel Daugherty
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: