Skip to content
Permalink
Browse files
8248162: serviceability/attach/RemovingUnixDomainSocketTest.java failed
Reviewed-by: cjplummer, sspitsyn
  • Loading branch information
Alex Menkov committed Feb 10, 2021
1 parent 40754f1 commit cc5691c69ed2e71f99001a660c71c9b57c803e60
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 11 deletions.
@@ -99,8 +99,6 @@ serviceability/jvmti/HeapMonitor/MyPackage/HeapMonitorStatIntervalTest.java 8214
serviceability/jvmti/HeapMonitor/MyPackage/HeapMonitorStatArrayCorrectnessTest.java 8224150 generic-all
serviceability/jvmti/ModuleAwareAgents/ThreadStart/MAAThreadStart.java 8225354 windows-all

serviceability/attach/RemovingUnixDomainSocketTest.java 8248162 linux-x64

#############################################################################

# :hotspot_misc
@@ -74,7 +74,7 @@ private static void runJstackInLoop(LingeredApp app) throws Exception {
System.err.println(out.getStderr());
}

out.stderrShouldBeEmptyIgnoreVMWarnings();
out.stderrShouldBeEmptyIgnoreDeprecatedWarnings();
out.stdoutShouldNotContain("Error occurred during stack walking:");
out.stdoutShouldContain(LingeredAppWithRecComputation.THREAD_NAME);
List<String> stdoutList = Arrays.asList(out.getStdout().split("\\R"));
@@ -68,7 +68,7 @@ public static void main(String[] args) throws Exception {
out.shouldNotContain(" prio=0 ");
out.shouldNotContain(" java.lang.Thread.State: UNKNOWN");

out.stderrShouldBeEmptyIgnoreVMWarnings();
out.stderrShouldBeEmptyIgnoreDeprecatedWarnings();

System.out.println("Test Completed");
} catch (Exception ex) {
@@ -65,7 +65,7 @@ public static void main (String... args) throws Exception {
out.shouldMatch("^\\s+- locked <0x[0-9a-f]+> \\(a java\\.lang\\.Thread\\)$");
out.shouldMatch("^\\s+- locked <0x[0-9a-f]+> \\(a java\\.lang\\.Class for int\\)$");

out.stderrShouldBeEmptyIgnoreVMWarnings();
out.stderrShouldBeEmptyIgnoreDeprecatedWarnings();

System.out.println("Test Completed");
} finally {
@@ -70,31 +70,31 @@ private static void runJSTACK(String id) throws IOException, InterruptedExceptio
OutputAnalyzer out = runJHSDB("jstack", id);

out.shouldContain("LingeredApp");
out.stderrShouldBeEmptyIgnoreVMWarnings();
out.stderrShouldBeEmptyIgnoreDeprecatedWarnings();
out.shouldHaveExitValue(0);
}

private static void runJMAP(String id) throws IOException, InterruptedException {
OutputAnalyzer out = runJHSDB("jmap", id);

out.shouldContain("JVM version is");
out.stderrShouldBeEmptyIgnoreVMWarnings();
out.stderrShouldBeEmptyIgnoreDeprecatedWarnings();
out.shouldHaveExitValue(0);
}

private static void runJINFO(String id) throws IOException, InterruptedException {
OutputAnalyzer out = runJHSDB("jinfo", id);

out.shouldContain("Java System Properties:");
out.stderrShouldBeEmptyIgnoreVMWarnings();
out.stderrShouldBeEmptyIgnoreDeprecatedWarnings();
out.shouldHaveExitValue(0);
}

private static void runJSNAP(String id) throws IOException, InterruptedException {
OutputAnalyzer out = runJHSDB("jsnap", id);

out.shouldContain("java.vm.name=");
out.stderrShouldBeEmptyIgnoreVMWarnings();
out.stderrShouldBeEmptyIgnoreDeprecatedWarnings();
out.shouldHaveExitValue(0);
}

@@ -91,7 +91,7 @@ private static void testJcmdDefaults(String... jcmdArgs) throws Exception {
*/
private static void matchListedProcesses(OutputAnalyzer output) {
output.stdoutShouldMatchByLine(JCMD_LIST_REGEX);
output.stderrShouldBeEmptyIgnoreVMWarnings();
output.stderrShouldBeEmptyIgnoreDeprecatedWarnings();
}

private static void verifyOutputAgainstFile(OutputAnalyzer output) throws IOException {
@@ -153,7 +153,7 @@ private static void matchJcmdCommands(OutputAnalyzer output) {
*/
private static void matchPerfCounters(OutputAnalyzer output) {
output.stdoutShouldMatchByLine(PERF_COUNTER_REGEX, null, PERF_COUNTER_REGEX);
output.stderrShouldBeEmptyIgnoreVMWarnings();
output.stderrShouldBeEmptyIgnoreDeprecatedWarnings();
}

private static void verifyOutputAgainstFile(OutputAnalyzer output) throws IOException {

1 comment on commit cc5691c

@openjdk-notifier
Copy link

@openjdk-notifier openjdk-notifier bot commented on cc5691c Feb 10, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.