The test is originally introduced to help device manufacturers
to catch security vulnerabilities that would occur when they
ship by mistake a debugging daemon with open ports.
However the increased use of mDNS and other services triggered
a too high level of false negatives.
Hence the test is being disabled now, and will be reintroduced
later on when there is a better way to address the false
diff --git a/tools/cts-tradefed/res/config/cts-known-failures.xml b/tools/cts-tradefed/res/config/cts-known-failures.xml
index e1eeba6..5dbaf97 100644
@@ -215,4 +215,7 @@
<!-- b/26235244 -->
<option name="compatibility:exclude-filter" value="android.util.cts.EventLogTest#testWriteEventWithOversizeValue" />
+ <!-- b/31803630 -->
+ <option name="compatibility:exclude-filter" value="CtsSecurityTestCases android.security.cts.ListeningPortsTest" />