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

[TESTBUG] TestJcmdWithSideCar.java failed with SkippedException

XMLWordPrintable

    • x86_64
    • linux

      The following test failed in the JDK14 CI:

      containers/docker/TestJcmdWithSideCar.java

      Here's a snippet from the log file:

      ----------System.out:(14/535)----------
      [COMMAND]
      docker ps
      [2019-10-10T09:33:40.563688Z] Gathering output for process 31268
      [ELAPSED: 135 ms]
      [STDERR]

      [STDOUT]

      Child process STDOUT is trimmed to 100 lines
      Full child process STDOUT was saved to docker-stdout-31268.log
      [2019-10-10T09:41:53.636037Z] Waiting for completion for process 31268
      [2019-10-10T09:41:53.636194Z] Waiting for completion finished for process 31268
      [2019-10-10T09:41:53.636329Z] Waiting for completion for process 31268
      [2019-10-10T09:41:53.636438Z] Waiting for completion finished for process 31268
      ----------System.err:(17/870)----------
       stdout: [];
       stderr: []
       exitValue = 139

      jtreg.SkippedException: Docker engine is not available on this system
      at jdk.test.lib.containers.docker.DockerTestUtils.canTestDocker(DockerTestUtils.java:97)
      at TestJcmdWithSideCar.main(TestJcmdWithSideCar.java:63)
      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.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:298)
      at java.base/java.lang.Thread.run(Thread.java:830)

      JavaTest Message: Test threw exception: jtreg.SkippedException
      JavaTest Message: shutting down test

      result: Error. Agent error: java.lang.Exception: Agent 15 timed out with a timeout of 480 seconds; check console log for any additional details


      test result: Error. Agent error: java.lang.Exception: Agent 15 timed out with a timeout of 480 seconds; check console log for any additional details


      I understand that the test failed because it was run on
      a machine that didn't support Docker, but SkippedException
      are not supposed to be seen as a test failure.

            mseledtsov Mikhailo Seledtsov
            dcubed Daniel Daugherty
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: