WANG Xuerui efa8fedcff dev-qt/qtbase: keyword 6.5.2-r2 for ~loong
Two test cases are failing on a Loongson 3A6000 box:

    71 - tst_qprocess (Failed)
    304 - tst_qnetworkinterface (Failed)

With the following log messages:

    FAIL!  : tst_QProcess::startStopStartStopBuffers(separate-separate) 'process.bytesToWrite() > 0' returned FALSE. ()
       Loc: [/tmp/portage/dev-qt/qtbase-6.5.2-r2/work/qtbase-everywhere-src-6.5.2/tests/auto/corelib/io/qprocess/tst_qprocess.cpp(2461)]
    FAIL!  : tst_QProcess::startStopStartStopBuffers(separate-merged) 'process.bytesToWrite() > 0' returned FALSE. ()
       Loc: [/tmp/portage/dev-qt/qtbase-6.5.2-r2/work/qtbase-everywhere-src-6.5.2/tests/auto/corelib/io/qprocess/tst_qprocess.cpp(2461)]
    FAIL!  : tst_QProcess::startStopStartStopBuffers(merged-separate) 'process.bytesToWrite() > 0' returned FALSE. ()
       Loc: [/tmp/portage/dev-qt/qtbase-6.5.2-r2/work/qtbase-everywhere-src-6.5.2/tests/auto/corelib/io/qprocess/tst_qprocess.cpp(2461)]
    FAIL!  : tst_QProcess::startStopStartStopBuffers(merged-merged) 'process.bytesToWrite() > 0' returned FALSE. ()
       Loc: [/tmp/portage/dev-qt/qtbase-6.5.2-r2/work/qtbase-everywhere-src-6.5.2/tests/auto/corelib/io/qprocess/tst_qprocess.cpp(2461)]
    FAIL!  : tst_QProcess::startStopStartStopBuffers(merged-forwarded) 'process.bytesToWrite() > 0' returned FALSE. ()
       Loc: [/tmp/portage/dev-qt/qtbase-6.5.2-r2/work/qtbase-everywhere-src-6.5.2/tests/auto/corelib/io/qprocess/tst_qprocess.cpp(2461)]

    FAIL!  : tst_QNetworkInterface::localAddress(wg0-xxx.xxx.xxx.xxx) 'pmtu <= outgoingIface->maximumTransmissionUnit()' returned FALSE. ()
       Loc: [/tmp/portage/dev-qt/qtbase-6.5.2-r2/work/qtbase-everywhere-src-6.5.2/tests/auto/network/kernel/qnetworkinterface/tst_qnetworkinterface.cpp(246)]

But both are spurious to some extent.

For the startStopStartStopBuffers case, a 128KiB write is made to
hopefully retain some unwritten data even if the pipe is found writable,
and the comment in the test code indicates that Linux is the "worst
case" defaulting to 64KiB pipe buffers. This is actually
PIPE_DEF_BUFFERS pages, according to include/linux/pipe_fs_i.h; popular
arches use 4KiB pages, so 64KiB for them. Linux/LoongArch defaults to
16KiB pages, however, and the test case passes when the write size is
quadrupled.

And for the localAddress case, it may just be that the WireGuard
interface behaves differently than physical ones, and indeed the other
interfaces passed the test.

So, the library should actually be fully functional on loong, hence the
keyword.

Signed-off-by: WANG Xuerui <xen0n@gentoo.org>
2023-09-25 01:05:19 +08:00
2023-09-18 10:48:53 +01:00
2023-09-18 10:48:57 +01:00
2023-09-24 09:59:26 -05:00
2023-09-24 05:43:42 +01:00
2023-09-19 13:52:22 +01:00
2023-09-11 01:53:40 +01:00
2023-09-22 16:09:45 +02:00
2023-08-26 18:33:54 +02:00
2023-09-06 05:20:19 +00:00
2023-09-17 23:40:48 +02:00
2023-09-23 07:47:23 -04:00
2023-09-18 10:48:22 +01:00
2023-09-23 19:40:35 +03:00
2023-09-20 23:10:40 +02:00
2023-09-22 09:58:41 +02:00
2023-09-16 10:10:08 -04:00
2023-08-15 15:27:22 +03:00
2023-09-23 10:36:26 +01:00
2023-09-16 09:31:29 +02:00
2023-09-22 11:31:02 +03:00
2023-09-23 02:52:41 +02:00
2023-09-24 15:08:37 +02:00
2023-09-19 21:47:20 +02:00
2023-09-24 10:27:01 -04:00
2023-09-19 17:09:28 -04:00
2023-09-22 16:15:51 -05:00
2023-09-19 09:26:25 +02:00
2023-09-24 17:01:49 +08:00
S
Description
No description provided
9.8 GiB
Languages
Shell 98%
Roff 1.3%
Emacs Lisp 0.2%
C 0.1%