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

[TESTBUG] Test /runtime/containers/cgroup/PlainRead.java fails

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b19
    • CPU:
      x86
    • OS:
      linux

      Backports

        Description

        STDOUT:
        Command line: [/export/users/dh198349/valhalla/repos/jdk-jep181/open/test/hotspot/jtreg/../../../../build/linux-x64-debug/images/jdk/bin/java -cp /export/users/dh198349/valhalla/repos/jdk-jep181/open/test/hotspot/jtreg/JTwork/classes/runtime/containers/cgroup/PlainRead.d:/export/users/dh198349/valhalla/repos/jdk-jep181/open/test/hotspot/jtreg/runtime/containers/cgroup:/export/users/dh198349/valhalla/repos/jdk-jep181/open/test/hotspot/jtreg/JTwork/classes/testlibrary:/export/users/dh198349/valhalla/repos/jdk-jep181/open/test/hotspot/jtreg/testlibrary:/export/users/dh198349/valhalla/repos/jdk-jep181/open/test/hotspot/jtreg/JTwork/classes/test/lib:/export/users/dh198349/valhalla/repos/jdk-jep181/open/test/lib:/net/scanas416.us.oracle.com/export/java_re2/misc/promoted/jtreg/4.2/fcs/b12/binaries/jtreg/lib/javatest.jar:/net/scanas416.us.oracle.com/export/java_re2/misc/promoted/jtreg/4.2/fcs/b12/binaries/jtreg/lib/jtreg.jar -Xlog:os+container=trace -version ]
        Not in a cgroup, testing...
        STDERR:
         stdout: [[0.001s][trace][os,container] OSContainer::init: Initializing Container Support
        [0.001s][debug][os,container] Required cgroup memory subsystem not found
        ];
         stderr: [java version "11-internal" 2018-09-25
        Java(TM) SE Runtime Environment 18.9 (fastdebug build 11-internal+0-2018-05-11-0631263.daholme.jdk-jep181)
        Java HotSpot(TM) 64-Bit Server VM 18.9 (fastdebug build 11-internal+0-2018-05-11-0631263.daholme.jdk-jep181, mixed mode)
        ]
         exitValue = 0

        java.lang.RuntimeException: '^.*Can't open /proc/self/mountinfo.*$' missing from stdout/stderr

        at jdk.test.lib.process.OutputAnalyzer.shouldMatch(OutputAnalyzer.java:258)
        at PlainRead.isNotContainer(PlainRead.java:64)
        at PlainRead.main(PlainRead.java:77)
        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:569)
        at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:115)
        at java.base/java.lang.Thread.run(Thread.java:832)

        JavaTest Message: Test threw exception: java.lang.RuntimeException: '^.*Can't open /proc/self/mountinfo.*$' missing from stdout/stderr

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                bobv Bob Vandette (Inactive)
                Reporter:
                dholmes David Holmes
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: