Skip to contentSkip to conversation

ptest-packagelists-meta-python: Move passing tests out of PTESTS_PROBLEMS_META_PYTHON

PATCH New Khem Raj 1 participant 8 messages Apr 12, 2025

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/8 ptest-packagelists-meta-python: Move passing tests out of PTESTS_PROBLEMS_META_PYTHON

---
 .../conf/include/ptest-packagelists-meta-python.inc      | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)
meta-python/conf/include/ptest-packagelists-meta-python.inc +5 -4
index 05cf0332c8..f6a8129793 100644
@@ -12,6 +12,7 @@ PTESTS_FAST_META_PYTHON = "\
     python3-ansicolors \
     python3-asgiref \
     python3-aspectlib \
+    python3-betamax \
     python3-bleak \
     python3-blinker \
     python3-breathe \
@@ -21,7 +22,9 @@ PTESTS_FAST_META_PYTHON = "\
     python3-click \
     python3-dasbus \
     python3-dominate \
+    python3-dnspython \
     python3-execnet \
+    python3-fastjsonschema \
     python3-fastnumbers \
     python3-flask \
     python3-flexcache \
@@ -71,6 +74,7 @@ PTESTS_FAST_META_PYTHON = "\
     python3-pytoml \
     python3-pyyaml-include \
     python3-pydbus \
+    python3-pyzmq \
     python3-pyzstd \
     python3-rapidjson \
     python3-requests-file \
@@ -121,9 +125,6 @@ PTESTS_SLOW_META_PYTHON = "\
 "
 
 PTESTS_PROBLEMS_META_PYTHON = "\
-    python3-betamax \
-    python3-dnspython \
-    python3-fastjsonschema \
     python3-pyasyncore \
-    python3-pyzmq \
+    tftpy \
 "
author
#1 lore raw

PATCH 2/8 meta-python-image-ptest-all: Do not run PTESTS_PROBLEMS_META_PYTHON

PTESTS_PROBLEMS_META_PYTHON are known failures exclude then from normal runs

---
 meta-python/recipes-core/images/meta-python-image-ptest-all.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-python/recipes-core/images/meta-python-image-ptest-all.bb +1 -1
index d6708c5fd0..56c392f036 100644
@@ -9,7 +9,7 @@ REQUIRED_DISTRO_FEATURES = "ptest"
 require conf/include/ptest-packagelists-meta-python.inc
 
 # Include the full set of ptests
-PTESTS_META_PYTHON = "${PTESTS_FAST_META_PYTHON} ${PTESTS_SLOW_META_PYTHON} ${PTESTS_PROBLEMS_META_PYTHON}"
+PTESTS_META_PYTHON = "${PTESTS_FAST_META_PYTHON} ${PTESTS_SLOW_META_PYTHON}"
 
 do_testimage[noexec] = "1"
 do_testimage[depends] = "${@' '.join(['meta-python-image-ptest-'+x+':do_testimage' for x in d.getVar('PTESTS_META_PYTHON').split()])}"
author
#2 lore raw

PATCH 3/8 meta-oe: Move tests out or into problematic test lists

In reply to Khem Raj
---
 meta-oe/conf/include/ptest-packagelists-meta-oe.inc | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)
meta-oe/conf/include/ptest-packagelists-meta-oe.inc +6 -5
index 77bf47d90c..ff7f86bd94 100644
@@ -20,10 +20,12 @@ PTESTS_FAST_META_OE = "\
     leveldb \
     libcereal \
     libgpiod \
+    libjcat \
     libio-pty-perl \
     libmanette \
     librelp \
     libssh \
+    libteam \
     libtinyxml2 \
     libtoml11 \
     libxml++-5.0 \
@@ -50,7 +52,7 @@ PTESTS_FAST_META_OE = "\
 PTESTS_FAST_META_OE:append:x86 = " mcelog"
 PTESTS_FAST_META_OE:append:x86-64 = " mcelog"
 
-PTESTS_FAST_META_OE:remove:libc-musl = "minicoredumper"
+PTESTS_FAST_META_OE:remove:libc-musl = "jemalloc minicoredumper oprofile"
 PTESTS_FAST_META_OE:remove:riscv64 = "nodejs oprofile"
 PTESTS_FAST_META_OE:remove:riscv32 = "nodejs oprofile"
 
@@ -58,10 +60,8 @@ PTESTS_SLOW_META_OE = "\
     c-ares \
     fftw \
     libusb-compat \
-    rsyslog \
     rocksdb \
     mariadb \
-    poco \
     re2 \
 "
 PTESTS_SLOW_META_OE:append:x86 = " kernel-selftest"
@@ -71,8 +71,9 @@ PTESTS_SLOW_META_OE:remove:libc-musl = "kernel-selftest"
 PTESTS_PROBLEMS_META_OE = "\
     keyutils \
     libdbi-perl \
-    libjcat \
-    libteam \
     ostree \
+    poco \
     psqlodbc \
+    rsyslog \
 "
+PTESTS_PROBLEMS_META_OE:append:libc-musl = " jemalloc minicoredumper oprofile"
author
#3 lore raw

PATCH 4/8 meta-oe-image-ptest-all: Do not include PTESTS_PROBLEMS_META_OE

In reply to Khem Raj
---
 meta-oe/recipes-core/images/meta-oe-image-ptest-all.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-core/images/meta-oe-image-ptest-all.bb +1 -1
index da942e8bee..e8e1750b0e 100644
@@ -9,7 +9,7 @@ REQUIRED_DISTRO_FEATURES = "ptest"
 require conf/include/ptest-packagelists-meta-oe.inc
 
 # Include the full set of ptests
-PTESTS_META_OE = "${PTESTS_FAST_META_OE} ${PTESTS_SLOW_META_OE} ${PTESTS_PROBLEMS_META_OE}"
+PTESTS_META_OE = "${PTESTS_FAST_META_OE} ${PTESTS_SLOW_META_OE}"
 
 do_testimage[noexec] = "1"
 do_testimage[depends] = "${@' '.join(['meta-oe-image-ptest-'+x+':do_testimage' for x in d.getVar('PTESTS_META_OE').split()])}"
author
#4 lore raw

PATCH 5/8 ptest-packagelists-meta-networking: Adjust ptests as per pass status

In reply to Khem Raj
---
 .../ptest-packagelists-meta-networking.inc    | 20 +++++++++++++++----
 1 file changed, 16 insertions(+), 4 deletions(-)
meta-networking/conf/include/ptest-packagelists-meta-networking.inc +16 -4
index 1137258825..16d5102a03 100644
@@ -9,31 +9,43 @@
 PTESTS_FAST_META_NETWORKING = "\
     freediameter \
     geoip \
+    geoip-perl \
     libcoap \
     libldb \
     libnftnl \
     libtalloc \
     libtdb \
+    libtevent \
     lldpd \
     mbedtls \
     openhpi \
+    openl2tp \
     squid \
     tcpdump \
     wolfssl \
 "
+PTESTS_FAST_META_NETWORKING:remove:libc-musl = "
+    libtalloc \
+    libtevent \
+    libtdb \
+    openhpi \
+    "
 
 # firewalld currently hangs forever so disable it for now
 #    firewalld
 PTESTS_SLOW_META_NETWORKING = "\
-    net-snmp \
     openvpn \
 "
 
 PTESTS_PROBLEMS_META_NETWORKING = "\
-    geoip-perl \
-    libtevent \
     lksctp-tools \
+    net-snmp \
     nftables \
-    openl2tp \
     python3-scapy \
 "
+PTESTS_PROBLEMS_META_NETWORKING:append:libc-musl = "\
+    libtalloc \
+    libtevent \
+    libtdb \
+    openhpi \
+    "
author
#5 lore raw

PATCH 6/8 ptest-packagelists-meta-perl: adjust automated ptest runs

In reply to Khem Raj

Based on current pass/fail results

---
 .../conf/include/ptest-packagelists-meta-perl.inc    | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
meta-perl/conf/include/ptest-packagelists-meta-perl.inc +6 -6
index d081c2fdac..e0c5707f4b 100644
@@ -8,7 +8,6 @@
 # ptests which take less than ~30s each
 PTESTS_FAST_META_PERL = "\
     libcapture-tiny-perl \
-    libcgi-perl \
     libcrypt-openssl-random-perl \
     libdigest-hmac-perl \
     liberror-perl \
@@ -16,12 +15,11 @@ PTESTS_FAST_META_PERL = "\
     libextutils-installpaths-perl \
     libhtml-tagset-perl \
     libmozilla-ca-perl \
-    libmodule-build-tiny-perl \
+    libnet-ldap-perl \
     libstrictures-perl \
     libterm-readkey-perl \
     libtest-nowarnings-perl \
     libtext-diff-perl \
-    liburi-perl \
 "
 
 PTESTS_SLOW_META_PERL = "\
@@ -30,18 +28,19 @@ PTESTS_SLOW_META_PERL = "\
 
 PTESTS_PROBLEMS_META_PERL = "\
     libauthen-sasl-perl \
+    libcgi-perl \
     libconfig-autoconf-perl \
     libcrypt-openssl-guess-perl \
     libcrypt-openssl-rsa-perl \
     libdata-hexdump-perl \
     libdbd-sqlite-perl \
     libdigest-sha1-perl \
-    libnet-dns-perl \
-    libnet-dns-sec-perl \
-    libnet-ldap-perl \
     libfile-slurper-perl \
     libhtml-parser-perl \
     libmime-types-perl \
+    libmodule-build-tiny-perl \
+    libnet-dns-perl \
+    libnet-dns-sec-perl \
     libnet-ssleay-perl \
     libsub-uplevel-perl \
     libtest-deep-perl \
@@ -49,5 +48,6 @@ PTESTS_PROBLEMS_META_PERL = "\
     libtest-warn-perl \
     libunicode-linebreak-perl \
     libunix-statgrab \
+    liburi-perl \
     libxml-libxml-perl \
 "
author
#6 lore raw

PATCH 7/8 meta-perl-image-ptest-all: Do not run PTESTS_PROBLEMS_META_PERL

In reply to Khem Raj
---
 meta-perl/recipes-core/images/meta-perl-image-ptest-all.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-perl/recipes-core/images/meta-perl-image-ptest-all.bb +1 -1
index 9efe5087f0..e2cafa98a5 100644
@@ -9,7 +9,7 @@ REQUIRED_DISTRO_FEATURES = "ptest"
 require conf/include/ptest-packagelists-meta-perl.inc
 
 # Include the full set of ptests
-PTESTS_META_PERL = "${PTESTS_FAST_META_PERL} ${PTESTS_SLOW_META_PERL} ${PTESTS_PROBLEMS_META_PERL}"
+PTESTS_META_PERL = "${PTESTS_FAST_META_PERL} ${PTESTS_SLOW_META_PERL}"
 
 do_testimage[noexec] = "1"
 do_testimage[depends] = "${@' '.join(['meta-perl-image-ptest-'+x+':do_testimage' for x in d.getVar('PTESTS_META_PERL').split()])}"
author
#7 lore raw

PATCH 8/8 meta-multimedia-image-ptest-all: Do not run PTESTS_PROBLEMS_META_MULTIMEDIA

In reply to Khem Raj
---
 .../images/meta-multimedia-image-ptest-all.bb                   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-multimedia/recipes-multimedia/images/meta-multimedia-image-ptest-all.bb +1 -1
index 8accba1bff..8ceb617fce 100644
@@ -9,7 +9,7 @@ REQUIRED_DISTRO_FEATURES = "ptest"
 require conf/include/ptest-packagelists-meta-multimedia.inc
 
 # Include the full set of ptests
-PTESTS_META_MULTIMEDIA = "${PTESTS_FAST_META_MULTIMEDIA} ${PTESTS_SLOW_META_MULTIMEDIA} ${PTESTS_PROBLEMS_META_MULTIMEDIA}"
+PTESTS_META_MULTIMEDIA = "${PTESTS_FAST_META_MULTIMEDIA} ${PTESTS_SLOW_META_MULTIMEDIA}"
 
 do_testimage[noexec] = "1"
 do_testimage[depends] = "${@' '.join(['meta-multimedia-image-ptest-'+x+':do_testimage' for x in d.getVar('PTESTS_META_MULTIMEDIA').split()])}"