[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v4 50/54] tests/qtest: migration-test: Skip running some TLS
From: |
Marc-André Lureau |
Subject: |
Re: [PATCH v4 50/54] tests/qtest: migration-test: Skip running some TLS cases for win32 |
Date: |
Tue, 27 Sep 2022 18:47:11 +0400 |
On Tue, Sep 27, 2022 at 6:38 PM Bin Meng <bmeng.cn@gmail.com> wrote:
>
> On Tue, Sep 27, 2022 at 10:33 PM Marc-André Lureau
> <marcandre.lureau@redhat.com> wrote:
> >
> > On Tue, Sep 27, 2022 at 3:09 PM Bin Meng <bmeng.cn@gmail.com> wrote:
> > >
> > > From: Bin Meng <bin.meng@windriver.com>
> > >
> > > Some migration test cases use TLS to communicate, but they fail on
> > > Windows with the following error messages:
> > >
> > > qemu-system-x86_64: TLS handshake failed: Insufficient credentials for
> > > that request.
> > > qemu-system-x86_64: TLS handshake failed: Error in the pull function.
> > > query-migrate shows failed migration: TLS handshake failed: Error in
> > > the pull function.
> > >
> > > Disable them temporarily.
> > >
> > > Signed-off-by: Bin Meng <bin.meng@windriver.com>
> > > ---
> > > I am not familar with the gnutls and simply enabling the gnutls debug
> > > output does not give me an immedidate hint on why it's failing on
> > > Windows. Disable these cases for now until someone or maintainers
> > > who may want to test this on Windows.
> > >
> > > (no changes since v1)
> >
> > Please use g_test_skip() instead of #if blocks.
> >
>
> Is there a QEMU API to detect OS?
You can use #ifdef WIN32 for that, but don't comment out code that
compiles and should be "fixed".
>
> Regards,
> Bin
>
- [PATCH v4 42/54] tests/qtest: migration-test: Disable IO redirection for win32, (continued)
- [PATCH v4 42/54] tests/qtest: migration-test: Disable IO redirection for win32, Bin Meng, 2022/09/27
- [PATCH v4 45/54] tests/qtest: libqtest: Replace the call to close a socket with closesocket(), Bin Meng, 2022/09/27
- [PATCH v4 44/54] tests/qtest: virtio-net-failover: Disable migration tests for win32, Bin Meng, 2022/09/27
- [PATCH v4 47/54] io/channel-watch: Drop a superfluous '#ifdef WIN32', Bin Meng, 2022/09/27
- [PATCH v4 48/54] io/channel-watch: Drop the unnecessary cast, Bin Meng, 2022/09/27
- [PATCH v4 49/54] io/channel-watch: Fix socket watch on Windows, Bin Meng, 2022/09/27
- [PATCH v4 51/54] .gitlab-ci.d/windows.yml: Increase the timeout to 90 minutes, Bin Meng, 2022/09/27
- [PATCH v4 50/54] tests/qtest: migration-test: Skip running some TLS cases for win32, Bin Meng, 2022/09/27
- [PATCH v4 52/54] .gitlab-ci.d/windows.yml: Display meson test logs, Bin Meng, 2022/09/27
- [PATCH v4 53/54] tests/qtest: Enable qtest build on Windows, Bin Meng, 2022/09/27
- [PATCH v4 54/54] docs/devel: testing: Document writing portable test cases, Bin Meng, 2022/09/27
- Re: [PATCH v4 00/54] tests/qtest: Enable running qtest on Windows, Thomas Huth, 2022/09/28