Re: [OE-core] [PATCH v3] glib-networking: Fix ptest failures with openssl backend

2024-01-15 Thread Khem Raj
On Mon, Jan 15, 2024 at 11:38 AM Khem Raj wrote: > > On Mon, Jan 15, 2024 at 9:06 AM Ross Burton wrote: > > > > > > > > > On 15 Jan 2024, at 16:53, Khem Raj wrote: > > > Where does it say it does not support? On the contrary there are patches > > > in this area sent recently > > > >

Re: [OE-core] [PATCH v3] glib-networking: Fix ptest failures with openssl backend

2024-01-15 Thread Khem Raj
On Mon, Jan 15, 2024 at 9:06 AM Ross Burton wrote: > > > > > On 15 Jan 2024, at 16:53, Khem Raj wrote: > > Where does it say it does not support? On the contrary there are patches in > > this area sent recently > >

Re: [OE-core] [PATCH v3] glib-networking: Fix ptest failures with openssl backend

2024-01-15 Thread Ross Burton
> On 15 Jan 2024, at 16:53, Khem Raj wrote: > Where does it say it does not support? On the contrary there are patches in > this area sent recently https://gitlab.gnome.org/GNOME/glib-networking/-/commit/8e1d80c1e0fc52d17d08a21946fa4a86ec30e1db Ross -=-=-=-=-=-=-=-=-=-=-=- Links: You receive

Re: [OE-core] [PATCH v3] glib-networking: Fix ptest failures with openssl backend

2024-01-15 Thread Khem Raj
On Mon, Jan 15, 2024 at 6:04 AM Ross Burton wrote: > On 15 Jan 2024, at 13:49, Alexander Kanavin > wrote: > >> We could #if 0 out every test that failed and rejoice in our 100% pass > test cases but that would be a terrible idea, so why is this different? > > > > This is what we already do for

Re: [OE-core] [PATCH v3] glib-networking: Fix ptest failures with openssl backend

2024-01-15 Thread Khem Raj
On Mon, Jan 15, 2024 at 5:41 AM Ross Burton wrote: > On 9 Jan 2024, at 19:29, Khem Raj via lists.openembedded.org gmail@lists.openembedded.org> wrote: > > ++ #ifndef BACKEND_IS_OPENSSL > > + g_test_add ("/tls/" BACKEND "/connection/unclean-close-by-server", > TestConnection, NULL, > > +

Re: [OE-core] [PATCH v3] glib-networking: Fix ptest failures with openssl backend

2024-01-15 Thread Alexander Kanavin
On Mon, 15 Jan 2024 at 15:04, Ross Burton wrote: > > This issue is reported upstream, and the link is in the patch. Yes, > > given sufficient time one can become an expert in intricacies of glib, > > openssl, and their interaction, and then develop a real fix all by > > themselves, but I think a

Re: [OE-core] [PATCH v3] glib-networking: Fix ptest failures with openssl backend

2024-01-15 Thread Ross Burton
On 15 Jan 2024, at 13:49, Alexander Kanavin wrote: >> We could #if 0 out every test that failed and rejoice in our 100% pass test >> cases but that would be a terrible idea, so why is this different? > > This is what we already do for intermittently failing ptests all over > the stack. Rejoice!

Re: [OE-core] [PATCH v3] glib-networking: Fix ptest failures with openssl backend

2024-01-15 Thread Alexander Kanavin
On Mon, 15 Jan 2024 at 14:41, Ross Burton wrote: > > On 9 Jan 2024, at 19:29, Khem Raj via lists.openembedded.org > wrote: > > ++ #ifndef BACKEND_IS_OPENSSL > > + g_test_add ("/tls/" BACKEND "/connection/unclean-close-by-server", > > TestConnection, NULL, > > +

Re: [OE-core] [PATCH v3] glib-networking: Fix ptest failures with openssl backend

2024-01-15 Thread Ross Burton
On 9 Jan 2024, at 19:29, Khem Raj via lists.openembedded.org wrote: > ++ #ifndef BACKEND_IS_OPENSSL > + g_test_add ("/tls/" BACKEND "/connection/unclean-close-by-server", > TestConnection, NULL, > + setup_connection, test_unclean_close_by_server, > teardown_connection); > ++

[OE-core] [PATCH v3] glib-networking: Fix ptest failures with openssl backend

2024-01-09 Thread Khem Raj
Signed-off-by: Khem Raj --- v2: Make the patch apply only when openssl backend is used v3: Move the backend check to source code of the test itself ...tion.c-Disable-unclean-close-by-serv.patch | 36 +++ .../glib-networking/glib-networking_2.78.0.bb | 5 +-- 2 files changed, 39