diff options
| author | Ross Burton <ross.burton@arm.com> | 2024-02-28 13:31:04 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-02-29 10:26:13 +0000 |
| commit | d9156c3be00711d95a859f93dfabddfaba3a72df (patch) | |
| tree | fe70227cf3116801ba65b733601c12e8588e8325 | |
| parent | 437c0721c596f6bf13ae1e78453d19b17e164561 (diff) | |
| download | poky-d9156c3be00711d95a859f93dfabddfaba3a72df.tar.gz | |
gstreamer1.0: skip a test that is known to be flaky
The aggregator testcase test_infinite_seek_50_src_live is known upstream
to be flaky[1] and when this fails in their CI they just ignore it.
It's failing often on our autobuilder, so disable the test case for now
until upstream have resolved this issue.
[ YOCTO #15054 ]
[1] https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/410
(From OE-Core rev: c2c9cbc107e5428122ad26b5c478602f0c8c0fbe)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | meta/recipes-multimedia/gstreamer/gstreamer1.0/skip-aggregator-test.patch | 35 | ||||
| -rw-r--r-- | meta/recipes-multimedia/gstreamer/gstreamer1.0_1.22.10.bb | 1 |
2 files changed, 36 insertions, 0 deletions
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0/skip-aggregator-test.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0/skip-aggregator-test.patch new file mode 100644 index 0000000000..81337512fd --- /dev/null +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0/skip-aggregator-test.patch | |||
| @@ -0,0 +1,35 @@ | |||
| 1 | From 9b72aa7cdbc2a81cffc6f855933afe90c81046d5 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Ross Burton <ross.burton@arm.com> | ||
| 3 | Date: Wed, 28 Feb 2024 12:40:34 +0000 | ||
| 4 | Subject: [PATCH] Skip aggregator test | ||
| 5 | |||
| 6 | This test case is known to be flaky upstream[1] and often fails on the | ||
| 7 | autobuilder[2], so skip it until this has been resolved upstream. | ||
| 8 | |||
| 9 | [1] https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/410 | ||
| 10 | [2] https://bugzilla.yoctoproject.org/show_bug.cgi?id=15054 | ||
| 11 | |||
| 12 | Upstream-Status: Inappropriate | ||
| 13 | Signed-off-by: Ross Burton <ross.burton@arm.com> | ||
| 14 | --- | ||
| 15 | tests/check/libs/aggregator.c | 4 +++- | ||
| 16 | 1 file changed, 3 insertions(+), 1 deletion(-) | ||
| 17 | |||
| 18 | diff --git a/tests/check/libs/aggregator.c b/tests/check/libs/aggregator.c | ||
| 19 | index 1f2c5b4..27b3ac7 100644 | ||
| 20 | --- a/tests/check/libs/aggregator.c | ||
| 21 | +++ b/tests/check/libs/aggregator.c | ||
| 22 | @@ -1475,7 +1475,9 @@ gst_aggregator_suite (void) | ||
| 23 | tcase_add_test (general, test_flushing_seek); | ||
| 24 | tcase_add_test (general, test_infinite_seek); | ||
| 25 | tcase_add_test (general, test_infinite_seek_50_src); | ||
| 26 | - tcase_add_test (general, test_infinite_seek_50_src_live); | ||
| 27 | + // This test case is known to be flaky, remove it until resolved: | ||
| 28 | + // https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/410 | ||
| 29 | + // tcase_add_test (general, test_infinite_seek_50_src_live); | ||
| 30 | tcase_add_test (general, test_linear_pipeline); | ||
| 31 | tcase_add_test (general, test_two_src_pipeline); | ||
| 32 | tcase_add_test (general, test_timeout_pipeline); | ||
| 33 | -- | ||
| 34 | 2.34.1 | ||
| 35 | |||
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0_1.22.10.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0_1.22.10.bb index 0c944e9e11..c16f0de3b7 100644 --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0_1.22.10.bb +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0_1.22.10.bb | |||
| @@ -21,6 +21,7 @@ SRC_URI = "https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-${PV}.tar.x | |||
| 21 | file://0002-tests-add-support-for-install-the-tests.patch \ | 21 | file://0002-tests-add-support-for-install-the-tests.patch \ |
| 22 | file://0003-tests-use-a-dictionaries-for-environment.patch \ | 22 | file://0003-tests-use-a-dictionaries-for-environment.patch \ |
| 23 | file://0004-tests-add-helper-script-to-run-the-installed_tests.patch \ | 23 | file://0004-tests-add-helper-script-to-run-the-installed_tests.patch \ |
| 24 | file://skip-aggregator-test.patch \ | ||
| 24 | " | 25 | " |
| 25 | SRC_URI[sha256sum] = "969aaef396f252ce925132a4be2aa004e0320f5c1baf0acaaae09c544a6759f4" | 26 | SRC_URI[sha256sum] = "969aaef396f252ce925132a4be2aa004e0320f5c1baf0acaaae09c544a6759f4" |
| 26 | 27 | ||
