RFR(XS): 8191943: [TESTBUG] docker/TestCPUAwareness fails on machine with 2 CPUs

Bob Vandette bob.vandette at oracle.com
Wed Nov 29 14:02:56 UTC 2017


Misha,

Which specific subtest failed on a 2 cpu system?

I don’t see any subtests that should have failed.  You should be able
to pass any quota, period and share value to docker independent of the
number of CPUs.  testCpus and testAPCCombo don’t try to test more than 2 cpus.

I’m ok with the change but just wondering why the guards are necessary.

Bob.

> On Nov 28, 2017, at 7:50 PM, mikhailo <mikhailo.seledtsov at oracle.com> wrote:
> 
> Could you, please, review this simple fix? It limits test cases in TestCPUAwareness.java
> based on the number of processors available.
> 
>     JBS: https://bugs.openjdk.java.net/browse/JDK-8191943
>     Webrev: http://cr.openjdk.java.net/~mseledtsov/8191943.00/
>     Testing:
>         1. Locally: exercised the affected test locally on Linux-x64
>         2. Exercised the affected test on 2 processor machine
>         3. Exercise the affected test via automated distributed test system
>            In progress
> 
> Misha
> 



More information about the hotspot-runtime-dev mailing list