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

TestUseContainerSupport.java fails on some Linux kernels w/o swap limit capabilities

    XMLWordPrintable

Details

    • b18

    Backports

      Description

        TestUseContainerSupport.java aborts on some Ubuntu systems configured without swap limiting capabilities.

         stdout: [];
         stderr: [WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
        ]
         exitValue = 137

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

                at com.oracle.java.testlibrary.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:362)
                at TestUseContainerSupport.testUseContainerSupport(TestUseContainerSupport.java:70)
                at TestUseContainerSupport.main(TestUseContainerSupport.java:49)
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                at java.lang.reflect.Method.invoke(Method.java:498)
                at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
                at java.lang.Thread.run(Thread.java:748)

        Attachments

          Issue Links

            Activity

              People

                hseigel Harold Seigel (Inactive)
                hseigel Harold Seigel (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: