Skip to contentSkip to conversation

net-snmp: fix ptests

PATCH New Gyorgy Sarvari 1 participant 2 messages Oct 26, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 net-snmp: fix ptests

Add missing dependencies.

---
 .../conf/include/ptest-packagelists-meta-networking.inc     | 2 +-
 .../recipes-protocols/net-snmp/net-snmp_5.9.4.bb            | 6 +++++-
 2 files changed, 6 insertions(+), 2 deletions(-)
meta-networking/conf/include/ptest-packagelists-meta-networking.inc +1 -1
index 7f7519ff84..1cdb6d1811 100644
@@ -34,12 +34,12 @@ PTESTS_FAST_META_NETWORKING:remove:libc-musl = "\
 # firewalld currently hangs forever so disable it for now
 #    firewalld
 PTESTS_SLOW_META_NETWORKING = "\
+    net-snmp \
     openvpn \
 "
 
 PTESTS_PROBLEMS_META_NETWORKING = "\
     lksctp-tools \
-    net-snmp \
     nftables \
     python3-scapy \
 "
meta-networking/recipes-protocols/net-snmp/net-snmp_5.9.4.bb +5 -1
index f37bda921a..44a3cfc745 100644
@@ -282,8 +282,12 @@ RDEPENDS:${PN}-libs += "${PN}-lib-netsnmp \
                         ${PN}-lib-mibs \
 "
 RDEPENDS:${PN}-libs:append:class-target = " libpci"
-RDEPENDS:${PN}-ptest += "perl \
+RDEPENDS:${PN}-ptest += "${PN}-server-snmpd \
+                         ${PN}-server-snmptrapd \
+                         net-tools \
+                         perl \
                          perl-module-test \
+                         perl-module-socket \
                          perl-module-file-basename \
                          perl-module-getopt-long \
                          perl-module-file-temp \
#1 lore raw

PATCH 2/2 lksctp-tools: move ptest from problem-list to slow-list

The tests execute and pass successfully - I managed to run them successfully, without a change on x86-64 and aarch64.

---
 .../conf/include/ptest-packagelists-meta-networking.inc         | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-networking/conf/include/ptest-packagelists-meta-networking.inc +1 -1
index 1cdb6d1811..408b559da2 100644
@@ -34,12 +34,12 @@ PTESTS_FAST_META_NETWORKING:remove:libc-musl = "\
 # firewalld currently hangs forever so disable it for now
 #    firewalld
 PTESTS_SLOW_META_NETWORKING = "\
+    lksctp-tools \
     net-snmp \
     openvpn \
 "
 
 PTESTS_PROBLEMS_META_NETWORKING = "\
-    lksctp-tools \
     nftables \
     python3-scapy \
 "