Skip to contentSkip to conversation

rsyslog: Skip failing omfile-outchannel test on musl

PATCH New Khem Raj 1 participant 1 message Aug 27, 2023

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 rsyslog: Skip failing omfile-outchannel test on musl

---
 .../rsyslog/disable-omfile-outchannel.patch   | 23 +++++++++++++++++++
 .../rsyslog/rsyslog_8.2306.0.bb               |  1 +
 2 files changed, 24 insertions(+)
 create mode 100644 meta-oe/recipes-extended/rsyslog/rsyslog/disable-omfile-outchannel.patch
meta-oe/recipes-extended/rsyslog/rsyslog/disable-omfile-outchannel.patch new file +23 -0
new file mode 100644
index 0000000000..a8bbe2b51e
@@ -0,0 +1,23 @@
+tests: Skip omfile-outchannel test as it fails on musl
+
+scanf error in index i=5559
+sequence error detected in rstb_168227_f19f3b245QVE.out.log
+number of lines in file: 5559 rstb_168227_f19f3b245QVE.out.log
+
+Patch is also applied in void linux
+
+Upstream-Status: Pending
+Signed-off-by: Khem Raj <[email protected]>
+
+--- a/tests/omfile-outchannel.sh	2021-03-09 05:51:07.000000000 -0600
++++ b/tests/omfile-outchannel.sh	2022-05-26 15:55:23.358520256 -0500
+@@ -1,5 +1,9 @@
+ #!/bin/bash
+ # addd 2018-08-02 by RGerhards, released under ASL 2.0
++
++# This test fails for x86_64-musl, under GitHub's CI/CD. Disable for now.
++exit 77
++
+ . ${srcdir:=.}/diag.sh init
+ export NUMMESSAGES=10000
+ echo "ls -l $RSYSLOG_DYNNAME*
meta-oe/recipes-extended/rsyslog/rsyslog_8.2306.0.bb +1 -0
index 41ec191a6e..c3948a40ec 100644
@@ -29,6 +29,7 @@ SRC_URI = "https://www.rsyslog.com/files/download/rsyslog/${BPN}-${PV}.tar.gz \
 
 SRC_URI:append:libc-musl = " \
     file://0001-Include-sys-time-h.patch \
+    file://disable-omfile-outchannel.patch \
 "
 
 SRC_URI[sha256sum] = "f6283efaadc609540a56e6bec88a362c966e77f29fe48e6b734bd6c1123e0be5"
Signature · 1 line
2.42.0