Disable flaky java11 tests.

Regarding ThreadCpuTimeArray.java: The test starts 10 threads, each of which
does some computation, then blocks. When all threads are blocked, the test
sleeps for 200ms, then checks that less than 100ns of CPU time in userspace
elapse over the course of the sleep; AFAICT, the 100ns of slop is because a
thread indicates that it's in the WAITING state before it actually blocks, and
because signals can cause threads to be temporarily woken. gVisor's CPU clocks
have a granularity of 10ms (the interval of Kernel.cpuClockTicker is
//pkg/abi/linux.ClockTick), so a single tick pushes the test over the
threshold.

PiperOrigin-RevId: 333830287
This commit is contained in:
Jamie Liu
2020-09-25 16:28:00 -07:00
committed by gVisor bot
parent f2b469916e
commit d79cf4808d
+2
View File
@@ -1,9 +1,11 @@
test name,bug id,comment
com/sun/crypto/provider/Cipher/PBE/PKCS12Cipher.java,,Fails in Docker
com/sun/jdi/InvokeHangTest.java,https://bugs.openjdk.java.net/browse/JDK-8218463,
com/sun/jdi/NashornPopFrameTest.java,,
com/sun/jdi/ProcessAttachTest.java,,
com/sun/management/HotSpotDiagnosticMXBean/CheckOrigin.java,,Fails in Docker
com/sun/management/OperatingSystemMXBean/GetCommittedVirtualMemorySize.java,,
com/sun/management/ThreadMXBean/ThreadCpuTimeArray.java,,Test assumes high CPU clock precision
com/sun/management/UnixOperatingSystemMXBean/GetMaxFileDescriptorCount.sh,,
com/sun/tools/attach/AttachSelf.java,,
com/sun/tools/attach/BasicTests.java,,
1 test name bug id comment
2 com/sun/crypto/provider/Cipher/PBE/PKCS12Cipher.java Fails in Docker
3 com/sun/jdi/InvokeHangTest.java https://bugs.openjdk.java.net/browse/JDK-8218463
4 com/sun/jdi/NashornPopFrameTest.java
5 com/sun/jdi/ProcessAttachTest.java
6 com/sun/management/HotSpotDiagnosticMXBean/CheckOrigin.java Fails in Docker
7 com/sun/management/OperatingSystemMXBean/GetCommittedVirtualMemorySize.java
8 com/sun/management/ThreadMXBean/ThreadCpuTimeArray.java Test assumes high CPU clock precision
9 com/sun/management/UnixOperatingSystemMXBean/GetMaxFileDescriptorCount.sh
10 com/sun/tools/attach/AttachSelf.java
11 com/sun/tools/attach/BasicTests.java