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

[TESTBUG] containers/docker/TestJcmdWithSideCar.java sporadic failures

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 14
    • Fix Version/s: 14
    • Component/s: hotspot
    • Subcomponent:
    • Resolved In Build:
      master
    • CPU:
      generic
    • OS:
      linux

      Description

      The test containers/docker/TestJcmdWithSideCar.java has been reactivated after
      https://bugs.openjdk.java.net/browse/JDK-8228960
      and we see now sporadic failures.
      We might need to increase the timeouts and also check the Xmx setting going into the java calls in the docker containers (we might inherit when from the test java opts).
      One error seen :
      java.lang.RuntimeException: Timed out while waiting for main() to start
      at TestJcmdWithSideCar$MainContainer.waitForMainMethodStart(TestJcmdWithSideCar.java:220)
      at TestJcmdWithSideCar.main(TestJcmdWithSideCar.java:74)
      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:830)

      another error seen :
      java.lang.IllegalThreadStateException: process hasn't exited
      at java.base/java.lang.ProcessImpl.exitValue(ProcessImpl.java:500)
      at jdk.test.lib.process.ProcessTools$ProcessImpl.exitValue(ProcessTools.java:540)
      at TestJcmdWithSideCar$MainContainer.waitForAndCheck(TestJcmdWithSideCar.java:236)
      at TestJcmdWithSideCar.main(TestJcmdWithSideCar.java:89)
      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:830)

        Attachments

          Activity

            People

            • Assignee:
              mbaesken Matthias Baesken
              Reporter:
              mbaesken Matthias Baesken
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: