Skip to content

Commit 3f8fbe6

Browse files
authored
Exclude flaky errors from error log checks (#8123)
1 parent cf09045 commit 3f8fbe6

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed

dd-smoke-tests/spring-boot-rabbit/src/test/groovy/datadog/smoketest/SpringBootRabbitIntegrationTest.groovy

+3
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,9 @@ class SpringBootRabbitIntegrationTest extends AbstractServerSmokeTest {
9494
if (log.contains('org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer - Failed to check/redeclare auto-delete queue(s).')) {
9595
return false
9696
}
97+
if (log.contains('ERROR com.rabbitmq.client.impl.ForgivingExceptionHandler - An unexpected connection driver error occured')) {
98+
return false
99+
}
97100
return super.isErrorLog(log)
98101
}
99102

dd-smoke-tests/src/main/groovy/datadog/smoketest/ProcessManager.groovy

+20
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,26 @@ abstract class ProcessManager extends Specification {
255255
return false
256256
}
257257

258+
// FIXME: Flaky on Spring Boot, e.g. IastSpringBootSmokeTest :dd-smoke-tests:spring-boot-2.6-webmvc:test semeru8
259+
if (line.contains("I/O reactor terminated abnormally")) {
260+
return false
261+
}
262+
263+
// FIXME: Flaky profiler exception. See PROF-11072.
264+
if (line.contains("ERROR com.datadog.profiling.controller.ProfilingSystem - Fatal exception during profiling startup")) {
265+
return false
266+
}
267+
268+
// FIXME: Observed in semeru8 datadog.smoketest.WildflySmokeTest
269+
if (line.contains("ERROR datadog.trace.agent.jmxfetch.JMXFetch - jmx collector exited with result: 0")) {
270+
return false
271+
}
272+
273+
// FIXME: Spotted on multiple Spring Boot jobs, e.g. semeru11 IastSpringBootSmokeTest$WithGlobalContext
274+
if (line.contains("I/O reactor terminated abnormally")) {
275+
return false
276+
}
277+
258278
return line.contains("ERROR") || line.contains("ASSERTION FAILED")
259279
|| line.contains("Failed to handle exception in instrumentation")
260280
}

0 commit comments

Comments
 (0)