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

containers/docker/DockerBasicTest.java failed with 'exec user process caused: no such file or directory'

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 17
    • Fix Version/s: 18
    • Component/s: hotspot

      Description

      Here's a snippet from the log file:

      [COMMAND]
      podman run --tty=true --rm jdk-internal:test-basic /jdk/bin/java -XX:MaxRAMPercentage=6.25 -Djava.io.tmpdir=/opt/mach5/mesos/work_dir/slaves/$SL1/frameworks/$FW1/executors/$EX1/runs/$RUN/testoutput/test-support/jtreg_open_test_hotspot_jtreg_containers/tmp -Djdk.test.docker.image.name=jpg-data.us.oracle.com/docker-local/mach5/jdk-test/oraclelinux_8.3 -Djdk.test.docker.image.version=1.0 -Djdk.test.container.command=podman -version
      [2021-06-13T12:01:29.633505619Z] Gathering output for process 126507
      [ELAPSED: 4 ms]
      [STDERR]

      [STDOUT]
      standard_init_linux.go:219: exec user process caused: no such file or directory

      Child process STDOUT is trimmed to 100 lines
      Full child process STDOUT was saved to docker-stdout-126507.log
      [2021-06-13T12:01:30.219878425Z] Waiting for completion for process 126507
      [2021-06-13T12:01:30.220192665Z] Waiting for completion finished for process 126507
      [2021-06-13T12:01:30.220256025Z] Waiting for completion for process 126507
      [2021-06-13T12:01:30.220295265Z] Waiting for completion finished for process 126507
      [COMMAND]
      podman rmi --force jdk-internal:test-basic
      [2021-06-13T12:01:30.246701943Z] Gathering output for process 126596
      [ELAPSED: 2 ms]
      [STDERR]

      [STDOUT]
      df21fca080c1bfd7cc60860bd69052ff08dd9a523a10854b8e28d44d40050459
      fcb5241c9465dfbff0835be37310444d7fb3486eb0d334b745a31c1e578440c9
      Untagged: localhost/jdk-internal:test-basic
      Deleted: a06253560b20eb540fd17c3ac531b224ee818b4424f2cab2045f88e5104afcfd

      Child process STDOUT is trimmed to 100 lines
      Full child process STDOUT was saved to docker-stdout-126596.log
      ----------System.err:(20/994)----------
       stdout: [standard_init_linux.go:219: exec user process caused: no such file or directory
      ];
       stderr: []
       exitValue = 1

      java.lang.RuntimeException: Expected to get exit value of [0]

      at jdk.test.lib.process.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:489)
      at DockerBasicTest.testJavaVersion(DockerBasicTest.java:69)
      at DockerBasicTest.main(DockerBasicTest.java:54)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:568)
      at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:312)
      at java.base/java.lang.Thread.run(Thread.java:833)

        Attachments

          Activity

            People

            Assignee:
            mseledtsov Mikhailo Seledtsov
            Reporter:
            enikitin Evgeny Nikitin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: