[ https://issues.apache.org/jira/browse/FLINK-20891?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17260494#comment-17260494 ]
zlzhang0122 commented on FLINK-20891: ------------------------------------- [INFO] Running org.apache.flink.runtime.metrics.utils.SystemResourcesCounterTest Exception in thread "SystemResourcesCounter probing thread" java.lang.UnsatisfiedLinkError: Failed to create temporary file for /com/sun/jna/linux-x86-64/libjnidispatch.so library: Permission denied at com.sun.jna.Native.loadNativeDispatchLibraryFromClasspath(Native.java:866) at com.sun.jna.Native.loadNativeDispatchLibrary(Native.java:826) at com.sun.jna.Native.(Native.java:140) at oshi.jna.platform.linux.Libc.(Libc.java:38) at oshi.hardware.platform.linux.LinuxCentralProcessor.getSystemLoadAverage(LinuxCentralProcessor.java:218) at org.apache.flink.runtime.metrics.util.SystemResourcesCounter.calculateCPUUsage(SystemResourcesCounter.java:210) at org.apache.flink.runtime.metrics.util.SystemResourcesCounter.run(SystemResourcesCounter.java:103) > SystemResourcesCounterTest may caused endless loop when some error occured > --------------------------------------------------------------------------- > > Key: FLINK-20891 > URL: https://issues.apache.org/jira/browse/FLINK-20891 > Project: Flink > Issue Type: Bug > Components: Tests > Affects Versions: 1.12.0, 1.11.1 > Reporter: zlzhang0122 > Priority: Major > > When the function run() in class SystemResourcesCounter come across > Throwable exception, the SystemResourcesCounter thread will finish and the > loop in the class SystemResourcesCounterTest will continue because of the > condition is still true, and no message will occured. The test will in a > endless loop. -- This message was sent by Atlassian Jira (v8.3.4#803005)