Skip to contentSkip to conversation

mariadb: skip failing test on musl

PATCH New Gyorgy Sarvari 1 participant 1 message Nov 19, 2025

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 mariadb: skip failing test on musl

There is a timezone related ptest that fails using musl-libc. This has been reported to the mariadb developers[1], who came up with the backported patch that's the subject of this change.

This patch skips the timezone related tests with musl, in case the testcase uses a timezone that behaves differently with musl than on other platforms.

[1]: https://jira.mariadb.org/browse/MDEV-38029

---
 .../include/ptest-packagelists-meta-oe.inc    |  4 +-
 meta-oe/recipes-dbs/mysql/mariadb.inc         |  1 +
 ...info-t-fails-for-certain-TZ-values-o.patch | 47 +++++++++++++++++++
 3 files changed, 50 insertions(+), 2 deletions(-)
 create mode 100644 meta-oe/recipes-dbs/mysql/mariadb/0001-MDEV-38029-my_tzinfo-t-fails-for-certain-TZ-values-o.patch
meta-oe/conf/include/ptest-packagelists-meta-oe.inc +2 -2
index 25db9fe5cc..ea336f1058 100644
@@ -73,7 +73,7 @@ PTESTS_SLOW_META_OE = "\
 "
 PTESTS_SLOW_META_OE:append:x86 = " kernel-selftest"
 PTESTS_SLOW_META_OE:append:x86-64 = " kernel-selftest"
-PTESTS_SLOW_META_OE:remove:libc-musl = "kernel-selftest mariadb"
+PTESTS_SLOW_META_OE:remove:libc-musl = "kernel-selftest"
 
 PTESTS_PROBLEMS_META_OE = "\
     keyutils \
@@ -82,4 +82,4 @@ PTESTS_PROBLEMS_META_OE = "\
     psqlodbc \
     rsyslog \
 "
-PTESTS_PROBLEMS_META_OE:append:libc-musl = " jemalloc minicoredumper oprofile mariadb"
+PTESTS_PROBLEMS_META_OE:append:libc-musl = " jemalloc minicoredumper oprofile"
meta-oe/recipes-dbs/mysql/mariadb.inc +1 -0
index a757a10bfe..82479c248f 100644
@@ -27,6 +27,7 @@ SRC_URI = "https://archive.mariadb.org/${BP}/source/${BP}.tar.gz \
            file://0001-Remove-x86-specific-loop-in-my_convert.patch \
            file://0001-support-reproducible-builds.patch \
            file://0001-storage-mroonga-CMakeLists.txt-fix-reproducible-buil.patch \
+           file://0001-MDEV-38029-my_tzinfo-t-fails-for-certain-TZ-values-o.patch \
           "
 SRC_URI[sha256sum] = "52fa4dca2c5f80afc1667d523a27c06176d98532298a6b0c31ed73505f49e15c"
 
meta-oe/recipes-dbs/mysql/mariadb/0001-MDEV-38029-my_tzinfo-t-fails-for-certain-TZ-values-o.patch new file +47 -0

47 lines not on this page · raw message