I'm seeing the following 20 tests fail in my jdk/jdk tier1
testing on my Linux-X64 machine:
serviceability/sa/ClhsdbAttach.java
serviceability/sa/ClhsdbField.java
serviceability/sa/ClhsdbJdis.java
serviceability/sa/ClhsdbFlags.java
serviceability/sa/ClhsdbInspect.java
serviceability/sa/ClhsdbJstack.java
serviceability/sa/ClhsdbLongConstant.java
serviceability/sa/ClhsdbJhisto.java
serviceability/sa/ClhsdbPmap.java
serviceability/sa/ClhsdbFindPC.java
serviceability/sa/ClhsdbCDSJstackPrintAll.java
serviceability/sa/ClhsdbPrintAll.java
serviceability/sa/ClhsdbPrintAs.java
serviceability/sa/ClhsdbPrintStatics.java
serviceability/sa/ClhsdbPstack.java
serviceability/sa/ClhsdbSource.java
serviceability/sa/ClhsdbThread.java
serviceability/sa/ClhsdbVmStructsDump.java
serviceability/sa/ClhsdbWhere.java
serviceability/sa/ClhsdbRegionDetailsScanOopsForG1.java
Here's a snippet from one of the failing tests:
----------System.out:(3/119)----------
Starting ClhsdbAttach test
Started LingeredApp with pid 28826
SA attach not expected to work. Insufficient privileges.
----------System.err:(18/1458)----------
Command line: ['/work/shared/mirrors/src_clones/jdk/jdk_baseline/build/linux-x86_64-normal-server-fastdebug/images/jdk/bin/java' '-XX:MaxRAMPercentage=1' '-cp' '/work/shared/mirrors/src_clones/jdk/jdk_baseline/build/linux-x86_64-normal-server-fastdebug/test-support/jtreg_open_test_hotspot_jtreg_tier1/classes/13/serviceability/sa/ClhsdbAttach.d:/work/shared/mirrors/src_clones/jdk/jdk_baseline/build/linux-x86_64-normal-server-fastdebug/test-support/jtreg_open_test_hotspot_jtreg_tier1/classes/13/test/lib' 'jdk.test.lib.apps.LingeredApp' '590c76e4-2b08-42e6-9372-e4b4f0209566.lck' ]
LingeredApp stdout: [];
LingeredApp stderr: []
LingeredApp exitValue = 0
java.lang.Error: Cannot attach.
at ClhsdbLauncher.run(ClhsdbLauncher.java:194)
at ClhsdbAttach.main(ClhsdbAttach.java:70)
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:567)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
at java.base/java.lang.Thread.run(Thread.java:835)
JavaTest Message: Test threw exception: java.lang.Error: Cannot attach.
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.Error: Cannot attach.