As byteswap has some issue sporadically, remove the byteswap completely from gvariant. When run in QEMU, could see the below failure sporadically
Executing: glib/gvariant.test Executing: glib/gvariant.test Test timed out after 300 seconds FAIL: glib/gvariant.test (Child process killed by signal 9) Until issue is fixed removing byteswap test from gvariant to increase stability. Signed-off-by: Zahir Hussain <mail2sza...@gmail.com> --- ...ib-2.0-Remove-gvariant-byteswap-test.patch | 45 +++++++++++++++++++ meta/recipes-core/glib-2.0/glib-2.0_2.72.3.bb | 1 + 2 files changed, 46 insertions(+) create mode 100644 meta/recipes-core/glib-2.0/glib-2.0/0001-glib-2.0-Remove-gvariant-byteswap-test.patch diff --git a/meta/recipes-core/glib-2.0/glib-2.0/0001-glib-2.0-Remove-gvariant-byteswap-test.patch b/meta/recipes-core/glib-2.0/glib-2.0/0001-glib-2.0-Remove-gvariant-byteswap-test.patch new file mode 100644 index 0000000000..4cefd2e522 --- /dev/null +++ b/meta/recipes-core/glib-2.0/glib-2.0/0001-glib-2.0-Remove-gvariant-byteswap-test.patch @@ -0,0 +1,45 @@ +From f4c529805aed5ee92b8d7d729cfa501be5835d7e Mon Sep 17 00:00:00 2001 +From: aszh07 <mail2sza...@gmail.com> +Date: Mon, 29 Jul 2024 16:19:10 +0530 +Subject: [PATCH] glib-2.0: Remove gvariant byteswap test + +As byteswap has some issue sporadically, remove the byteswap +completely from gvariant. When run in QEMU, could see the +below failure sporadically, + +Executing: glib/gvariant.test +Executing: glib/gvariant.test +Test timed out after 300 seconds +FAIL: glib/gvariant.test (Child process killed by signal 9) + +Until issue is fixed removing byteswap test +from gvariant to increase stability. + +Signed-off-by: Zahir Hussain <mail2sza...@gmail.com> +--- + glib/tests/gvariant.c | 2 -- + 1 file changed, 2 deletions(-) + +diff --git a/glib/tests/gvariant.c b/glib/tests/gvariant.c +index 939f073..a25a4a4 100644 +--- a/glib/tests/gvariant.c ++++ b/glib/tests/gvariant.c +@@ -5656,7 +5656,6 @@ main (int argc, char **argv) + g_test_add_func ("/gvariant/serialiser/tuple", test_tuples); + g_test_add_func ("/gvariant/serialiser/variant", test_variants); + g_test_add_func ("/gvariant/serialiser/strings", test_strings); +- g_test_add_func ("/gvariant/serialiser/byteswap", test_byteswaps); + g_test_add_func ("/gvariant/serialiser/children", test_serialiser_children); + + for (i = 1; i <= 20; i += 4) +@@ -5679,7 +5678,6 @@ main (int argc, char **argv) + g_test_add_func ("/gvariant/valist", test_valist); + g_test_add_func ("/gvariant/builder-memory", test_builder_memory); + g_test_add_func ("/gvariant/hashing", test_hashing); +- g_test_add_func ("/gvariant/byteswap", test_gv_byteswap); + g_test_add_func ("/gvariant/byteswap/non-normal-non-aligned", test_gv_byteswap_non_normal_non_aligned); + g_test_add_func ("/gvariant/parser", test_parses); + g_test_add_func ("/gvariant/parser/integer-bounds", test_parser_integer_bounds); +-- +2.17.1 + diff --git a/meta/recipes-core/glib-2.0/glib-2.0_2.72.3.bb b/meta/recipes-core/glib-2.0/glib-2.0_2.72.3.bb index 35b51a3ec9..3beb324383 100644 --- a/meta/recipes-core/glib-2.0/glib-2.0_2.72.3.bb +++ b/meta/recipes-core/glib-2.0/glib-2.0_2.72.3.bb @@ -49,6 +49,7 @@ SRC_URI = "${GNOME_MIRROR}/glib/${SHRT_VER}/glib-${PV}.tar.xz \ file://CVE-2024-34397_16.patch \ file://CVE-2024-34397_17.patch \ file://CVE-2024-34397_18.patch \ + file://0001-glib-2.0-Remove-gvariant-byteswap-test.patch \ " SRC_URI:append:class-native = " file://relocate-modules.patch" -- 2.17.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#204163): https://lists.openembedded.org/g/openembedded-core/message/204163 Mute This Topic: https://lists.openembedded.org/mt/108244763/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-