Skip to contentSkip to conversation

tests/sctp: temporarily disable ASCONF tests

PATCH In review Ondrej Mosnacek 1 participant 2 messages Jun 2, 2022 – Jun 7, 2022 SELinux security module

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tests/sctp: temporarily disable ASCONF tests

The implementation is buggy and can't be reliably tested right now, so disable the tests until the kernel is fixed and tests updated.

---
 tests/sctp/test | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
tests/sctp/test +5 -2
index 7e84ab0..e28d214 100755
@@ -57,8 +57,11 @@ BEGIN {
         }
 
         if ( $ipaddress[1] ne 0 and $ipaddress[0] ne $ipaddress[1] ) {
-            $test_count += 3;
-            $test_asconf = 1;
+
+# Disable ASCONF tests for now due to a known issue:
+# https://lore.kernel.org/selinux/CAFqZXNsO0HSqP2n3W_Su07LPggUm5_M1tGJBuJDW_VL-pWHOWw@mail.gmail.com/T/
+#$test_count += 3;
+#$test_asconf = 1;
         }
 
         # SCTP client peeloff has been fixed in kernel 5.18+
Signature · 1 line
2.36.1
#1 lore raw
Quoted 27 lines · Ondrej Mosnacek

The implementation is buggy and can't be reliably tested right now, so disable the tests until the kernel is fixed and tests updated.

---
 tests/sctp/test | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
tests/sctp/test +5 -3
index 7e84ab0..e28d214 100755
@@ -57,8 +57,11 @@ BEGIN {
         }
 
         if ( $ipaddress[1] ne 0 and $ipaddress[0] ne $ipaddress[1] ) {
-            $test_count += 3;
-            $test_asconf = 1;
+
+# Disable ASCONF tests for now due to a known issue:
+# https://lore.kernel.org/selinux/CAFqZXNsO0HSqP2n3W_Su07LPggUm5_M1tGJBuJDW_VL-pWHOWw@mail.gmail.com/T/
+#$test_count += 3;
+#$test_asconf = 1;
         }
 
         # SCTP client peeloff has been fixed in kernel 5.18+
--
Quoted 1 line

2.36.1

Merged as:
https://github.com/SELinuxProject/selinux-testsuite/commit/3e93ece73da162fe58f9ec7d16b01915a4568c11

Signature · 3 lines
Ondrej Mosnacek
Software Engineer, Linux Security - SELinux kernel
Red Hat, Inc.