summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/glib-networking/glib-networking/eagain.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/glib-networking/glib-networking/eagain.patch')
-rw-r--r--meta/recipes-core/glib-networking/glib-networking/eagain.patch20
1 files changed, 14 insertions, 6 deletions
diff --git a/meta/recipes-core/glib-networking/glib-networking/eagain.patch b/meta/recipes-core/glib-networking/glib-networking/eagain.patch
index ee5b6a7beb..062fc0191b 100644
--- a/meta/recipes-core/glib-networking/glib-networking/eagain.patch
+++ b/meta/recipes-core/glib-networking/glib-networking/eagain.patch
@@ -1,4 +1,8 @@
1In autobuilder testing we regularly see glib-networking ptest fail with: 1From 025bb39dfdb81dd2852deaefea228b197ef3cd8d Mon Sep 17 00:00:00 2001
2From: Richard Purdie <richard.purdie@linuxfoundation.org>
3Date: Sat, 6 May 2023 12:18:50 +0100
4Subject: [PATCH] In autobuilder testing we regularly see glib-networking ptest
5 fail with:
2 6
3GLib-Net:ERROR:/usr/src/debug/glib-networking/2.74.0-r0/tls/tests/connection.c:1944:simul_read_thread: assertion failed (error == NULL): Resource temporarily unavailable (g-io-error-quark, 27) 7GLib-Net:ERROR:/usr/src/debug/glib-networking/2.74.0-r0/tls/tests/connection.c:1944:simul_read_thread: assertion failed (error == NULL): Resource temporarily unavailable (g-io-error-quark, 27)
4Bail out! GLib-Net:ERROR:/usr/src/debug/glib-networking/2.74.0-r0/tls/tests/connection.c:1944:simul_read_thread: assertion failed (error == NULL): Resource temporarily unavailable (g-io-error-quark, 27) 8Bail out! GLib-Net:ERROR:/usr/src/debug/glib-networking/2.74.0-r0/tls/tests/connection.c:1944:simul_read_thread: assertion failed (error == NULL): Resource temporarily unavailable (g-io-error-quark, 27)
@@ -12,11 +16,15 @@ Upstream-Status: Pending [testing to see if patch resolves the issue]
12 16
13Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> 17Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 18
15Index: glib-networking-2.74.0/tls/tests/connection.c 19---
16=================================================================== 20 tls/tests/connection.c | 4 ++++
17--- glib-networking-2.74.0.orig/tls/tests/connection.c 21 1 file changed, 4 insertions(+)
18+++ glib-networking-2.74.0/tls/tests/connection.c 22
19@@ -1941,6 +1941,10 @@ simul_read_thread (gpointer user_data) 23diff --git a/tls/tests/connection.c b/tls/tests/connection.c
24index 62a7fbb..3447c80 100644
25--- a/tls/tests/connection.c
26+++ b/tls/tests/connection.c
27@@ -2210,6 +2210,10 @@ simul_read_thread (gpointer user_data)
20 test->buf + test->nread, 28 test->buf + test->nread,
21 MIN (TEST_DATA_LENGTH / 2, TEST_DATA_LENGTH - test->nread), 29 MIN (TEST_DATA_LENGTH / 2, TEST_DATA_LENGTH - test->nread),
22 NULL, &error); 30 NULL, &error);