[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1059264: marked as done (qbs: ftbfs on riscv64: test timeout)



Your message dated Mon, 06 May 2024 15:00:14 +0000
with message-id <E1s3zp8-009OSo-Hi@fasolo.debian.org>
and subject line Bug#1059264: fixed in qbs 2.3.0-1
has caused the Debian Bug report #1059264,
regarding qbs: ftbfs on riscv64: test timeout
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1059264: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1059264
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: qbs
Version: 1.24.1+dfsg-2
Severity: important
Tags: ftbfs patch
User: debian-riscv@lists.debian.org
Usertags: riscv64
X-Debbugs-Cc: debian-riscv@lists.debian.org

Dear Maintainer,

qbs has ftbfs on riscv64 since 2.1.1-2(2023/08) on sid. The problem is
due to timeout on buildd machines for riscv64 now:

```
11: PASS   : TestBlackboxQt::pkgconfigQt(dummy)
11:
11:          pkgconfigQt function time: 14094ms, total time: 641516ms
11: QFATAL : TestBlackboxQt::pkgconfigQt(cross-compiling) Test function timed out
11: QObject: Cannot create children for a parent that is in a different thread.
11: (Parent is QCoreApplication(0x3fffc21be0), parent's thread is QThread(0x2adb309710), current thread is QThread(0x2adb310660)
11: FAIL!  : TestBlackboxQt::pkgconfigQt(cross-compiling) Received a fatal error.
11: Totals: 27 passed, 1 failed, 0 skipped, 0 blacklisted, 641517ms
11: ********* Finished testing of TestBlackboxQt *********
11: Received signal 6 (SIGABRT)
11:          pkgconfigQt function time: 14094ms, total time: 641517ms
11/16 Test #11: tst_blackbox-qt ..................Subprocess aborted***Exception: 641.58 sec

```

see 2.1.1-2: https://buildd.debian.org/status/fetch.php?pkg=qbs&arch=riscv64&ver=2.1.1-2&stamp=1692573450&raw=0

```
         staticQtPluginLinking function time: 2857ms, total time: 1026576ms
QFATAL : TestBlackboxQt::staticQtPluginLinking() Test function timed out
QObject: Cannot create children for a parent that is in a different thread.
(Parent is QCoreApplication(0x3fedebcbe0), parent's thread is QThread(0x2b098c5710), current thread is QThread(0x2b098cc660)
FAIL!  : TestBlackboxQt::staticQtPluginLinking() Received a fatal error.
Totals: 40 passed, 1 failed, 2 skipped, 0 blacklisted, 1026576ms
********* Finished testing of TestBlackboxQt *********
Received signal 6 (SIGABRT)
         staticQtPluginLinking function time: 2857ms, total time: 1026576ms

```
see 2.1.2-1: https://buildd.debian.org/status/fetch.php?pkg=qbs&arch=riscv64&ver=2.1.2-1&stamp=1696133341&raw=0

One case of 2.1.2-2:

```
         includedMocCpp function time: 49495ms, total time: 335283ms
11: QFATAL : TestBlackboxQt::includedMocCpp() Test function timed out
11: QObject: Cannot create children for a parent that is in a different thread.
11: (Parent is QCoreApplication(0x3ff6485b00), parent's thread is QThread(0x2b0e560710), current thread is QThread(0x2b0e5676b0)
11: FAIL!  : TestBlackboxQt::includedMocCpp() Received a fatal error.
11: Totals: 9 passed, 1 failed, 0 skipped, 0 blacklisted, 335283ms
...
```
https://buildd.debian.org/status/fetch.php?pkg=qbs&arch=riscv64&ver=2.1.2-2&stamp=1702154123&raw=0

So we can see the timeout on tst_blackbox-qt suite mainly. But the
question is that failed test function cases are randomized. So I have
captured a few cases to temporarily skip over riscv64 buildd(holpe this
works). And I would like to suggest that we keep opening the reportbug
until we have more powerful buildd machines to close it as expected
it. I can build it on vf2 without any patch but it has not been tested
many times. 

So could you apply it on next upload or any ideas?

Regards,
--
  Bo YU

diff -Nru qbs-2.1.2/debian/changelog qbs-2.1.2/debian/changelog
--- qbs-2.1.2/debian/changelog	2023-12-08 10:54:19.000000000 +0000
+++ qbs-2.1.2/debian/changelog	2023-12-19 10:57:03.000000000 +0000
@@ -1,3 +1,10 @@
+qbs (2.1.2-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Skip some test cases on riscv64. (Closes: #-1) 
+
+ -- Bo YU <tsu.yubo@gmail.com>  Tue, 19 Dec 2023 10:57:03 +0000
+
 qbs (2.1.2-2) unstable; urgency=medium
 
   * Update debian/libqbscore2.1.symbols for loong64 (closes: #1057757).
diff -Nru qbs-2.1.2/debian/patches/series qbs-2.1.2/debian/patches/series
--- qbs-2.1.2/debian/patches/series	2023-12-08 10:54:19.000000000 +0000
+++ qbs-2.1.2/debian/patches/series	2023-12-19 10:57:03.000000000 +0000
@@ -3,3 +3,4 @@
 no_nosys_specs.diff
 disable_bad_assembly.diff
 asan_atomic.diff
+skip-some-blackbox-qt-tests-on-riscv64.patch
diff -Nru qbs-2.1.2/debian/patches/skip-some-blackbox-qt-tests-on-riscv64.patch qbs-2.1.2/debian/patches/skip-some-blackbox-qt-tests-on-riscv64.patch
--- qbs-2.1.2/debian/patches/skip-some-blackbox-qt-tests-on-riscv64.patch	1970-01-01 00:00:00.000000000 +0000
+++ qbs-2.1.2/debian/patches/skip-some-blackbox-qt-tests-on-riscv64.patch	2023-12-19 10:57:03.000000000 +0000
@@ -0,0 +1,71 @@
+Description: skip some test cases on riscv64
+Author: Bo YU <tsu.yubo@gmail.com>
+Forwarded: not-needed
+Last-Update: 2023-12-19
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/tests/auto/blackbox/tst_blackboxqt.cpp
++++ b/tests/auto/blackbox/tst_blackboxqt.cpp
+@@ -133,6 +133,8 @@
+ 
+ void TestBlackboxQt::forcedMoc()
+ {
++    if (m_qbsStdout.contains("riscv64"))
++        QSKIP("timeout on riscv64 buildd now");
+     QDir::setCurrent(testDataDir + "/forced-moc");
+     QCOMPARE(runQbs(QbsRunParameters("resolve")), 0);
+     if (m_qbsStdout.contains("using qt4"))
+@@ -145,6 +147,8 @@
+ 
+ void TestBlackboxQt::includedMocCpp()
+ {
++    if (m_qbsStdout.contains("riscv64"))
++        QSKIP("timeout on riscv64 buildd now");
+     QDir::setCurrent(testDataDir + "/included-moc-cpp");
+     QCOMPARE(runQbs(), 0);
+     if (m_qbsStdout.contains("using qt4"))
+@@ -212,6 +216,8 @@
+ 
+ void TestBlackboxQt::metaTypes()
+ {
++    if (m_qbsStdout.contains("riscv64"))
++        QSKIP("timeout on riscv64 buildd now");
+     QDir::setCurrent(testDataDir + "/metatypes");
+     QFETCH(bool, generate);
+     QFETCH(QString, installDir);
+@@ -287,6 +293,8 @@
+ 
+ void TestBlackboxQt::noRelinkOnQDebug()
+ {
++    if (m_qbsStdout.contains("riscv64"))
++        QSKIP("timeout on riscv64 buildd now");
+     QFETCH(QString, checkMode);
+     QFETCH(bool, expectRelink);
+ 
+@@ -351,6 +359,8 @@
+ 
+ void TestBlackboxQt::pkgconfigQt()
+ {
++    if (m_qbsStdout.contains("riscv64"))
++        QSKIP("timeout on riscv64 buildd now");
+     QFETCH(QStringList, arguments);
+     QFETCH(bool, success);
+ 
+@@ -621,6 +631,8 @@
+ 
+ void TestBlackboxQt::staticQtPluginLinking()
+ {
++    if (m_qbsStdout.contains("riscv64"))
++        QSKIP("timeout on riscv64 buildd now");
+     QDir::setCurrent(testDataDir + "/static-qt-plugin-linking");
+     QCOMPARE(runQbs(QStringList("products.p.type:application")), 0);
+     const bool isStaticQt = m_qbsStdout.contains("Qt is static");
+@@ -632,6 +644,8 @@
+ 
+ void TestBlackboxQt::trackAddMocInclude()
+ {
++    if (m_qbsStdout.contains("riscv64"))
++        QSKIP("timeout on riscv64 buildd now");
+     QDir::setCurrent(testDataDir + "/trackAddMocInclude");
+     if (QFile::exists("work"))
+         rmDirR("work");

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: qbs
Source-Version: 2.3.0-1
Done: Dmitry Shachnev <mitya57@debian.org>

We believe that the bug you reported is fixed in the latest version of
qbs, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1059264@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Dmitry Shachnev <mitya57@debian.org> (supplier of updated qbs package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sun, 05 May 2024 21:30:49 +0300
Source: qbs
Binary: libqbscore2.3 libqbscore2.3-dbgsym qbs qbs-common qbs-dbgsym qbs-dev qbs-doc qbs-doc-html qbs-examples
Architecture: source amd64 all
Version: 2.3.0-1
Distribution: experimental
Urgency: medium
Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Changed-By: Dmitry Shachnev <mitya57@debian.org>
Description:
 libqbscore2.3 - Qbs core library
 qbs        - cross-platform build tool
 qbs-common - Qbs static files
 qbs-dev    - Qbs development files
 qbs-doc    - Qbs documentation
 qbs-doc-html - Qbs HTML documentation
 qbs-examples - examples for Qbs build tool
Closes: 1059264
Changes:
 qbs (2.3.0-1) experimental; urgency=medium
 .
   [ Dmitry Shachnev ]
   * Acknowledge NMU, thanks Benjamin Drung!
   * Mark four symbols as optional to fix build with Qt 6.6.
   * New upstream release.
   * Rename libqbscore2.1t64 to libqbscore2.3 for upstream SONAME change.
     - Drop t64-related Provides, Breaks/Replaces and lintian-overrides.
   * Update debian/libqbscore2.3.symbols from buildds’ and current logs.
   * Update debian/copyright.
   * Remove libqt6opengl6-dev build-dependency (merged into qt6-base-dev).
   * Update install files.
   * Bump Standards-Version to 4.7.0, no changes needed.
 .
   [ Bo YU ]
   * Increase the timeout of qtest with QTEST_FUNCTION_TIMEOUT for riscv64.
     (Closes: #1059264)
 .
   [ Lisandro Damián Nicanor Pérez Meyer ]
   * Remove myself from Uploaders.
Checksums-Sha1:
 20707a6ec805a8ba9971b260fb1b8c4694f96c12 2421 qbs_2.3.0-1.dsc
 6c00485c08667476efbbd26fc95c281dceb38723 5615799 qbs_2.3.0.orig.tar.gz
 dad47dd455cfc5426fd138721921e2929bd7dbbc 81488 qbs_2.3.0-1.debian.tar.xz
 80f77ec7a9bc3e788c3d3b67ef757ad74bd7dc7d 55841692 libqbscore2.3-dbgsym_2.3.0-1_amd64.deb
 186dd262f5769f0305814350dbc6c2eb76c19544 1800252 libqbscore2.3_2.3.0-1_amd64.deb
 7ec52b5c94e84b8e6a6a5e74d2df2ea1556bc547 190904 qbs-common_2.3.0-1_all.deb
 2e3264e6888137fe78a03c18ae06cf73eae48ba3 25564452 qbs-dbgsym_2.3.0-1_amd64.deb
 3c894b31c46a9e2436b0703c920678caf0e3c7d3 27676 qbs-dev_2.3.0-1_amd64.deb
 c8228377d46d2a9a4e3dc4d9f727136657ac5075 348096 qbs-doc-html_2.3.0-1_all.deb
 9121cd7a2e9122d44adb83078c0a07c88dac78ff 729936 qbs-doc_2.3.0-1_all.deb
 aa9387afca3baa2516d323a087392a484eab0290 465124 qbs-examples_2.3.0-1_all.deb
 0a22b4cf6b52e6c3be3ea8a50c6223104f17babe 16675 qbs_2.3.0-1_amd64.buildinfo
 f31d9379e53f6fca33afa53de06fbe47868b272f 736736 qbs_2.3.0-1_amd64.deb
Checksums-Sha256:
 4d25995630a495533e39f8abaaf484fbd3602d6ed20f44fe043a50a60a4df64b 2421 qbs_2.3.0-1.dsc
 e7fa44fb36d705ab40f34c24e71bb32beef1210eab2d50bf6f2318a195780826 5615799 qbs_2.3.0.orig.tar.gz
 44b7d759c2ba01b76f355d7a084e02da27fb8a5fd936d25dc06c5a694aae3a00 81488 qbs_2.3.0-1.debian.tar.xz
 bb5405f22627a6806e231e34a815156d96c27c9ca55a81ce176aa4b47e0e4837 55841692 libqbscore2.3-dbgsym_2.3.0-1_amd64.deb
 6a326171c4915e4c69be7c8baa11aa4fa138eb8360d87f1f59e7fd167e30a157 1800252 libqbscore2.3_2.3.0-1_amd64.deb
 703d92127c0e024bb980acf51227220599f88c3a1561151e4050099fe08e055b 190904 qbs-common_2.3.0-1_all.deb
 886c75695e2cdaaefec234d680ebb265b41484d8465f516442def4762bf6e647 25564452 qbs-dbgsym_2.3.0-1_amd64.deb
 f49e78ef912aaea9487621b6dff89d8ed2f25478004e50d2ea4674d5c508050a 27676 qbs-dev_2.3.0-1_amd64.deb
 d4f05ba1ffc605c0f56b0f211119b8953105af9403810f6ae2e7eb4b539a62cf 348096 qbs-doc-html_2.3.0-1_all.deb
 d0d0d04b2e9d473ef1efd20a047a1f457dbe59b1959458f4d3d2a95c936db17f 729936 qbs-doc_2.3.0-1_all.deb
 5972f21d6a3253f62d56fd2c05812034a1a9cc7c30bbfe2c28662a33b6346230 465124 qbs-examples_2.3.0-1_all.deb
 3fbd7f854d257bf3e682c3804f4a112c878957c838f132086a8ff436310011b6 16675 qbs_2.3.0-1_amd64.buildinfo
 4262b1cd509c85b14381386d4dacda189adee5393ef6ca5242c875e5ea747a5b 736736 qbs_2.3.0-1_amd64.deb
Files:
 b9974af4effad684d00da545d25f636b 2421 devel optional qbs_2.3.0-1.dsc
 b7bbbfdf19a8c0b34e7f3085fb1a9070 5615799 devel optional qbs_2.3.0.orig.tar.gz
 79073ccb9af7ecea65b2cd46082f5dc8 81488 devel optional qbs_2.3.0-1.debian.tar.xz
 30c886c456bd0a98ac4f3cd2e3529c6c 55841692 debug optional libqbscore2.3-dbgsym_2.3.0-1_amd64.deb
 43f10a10b2df54314316e690e830b82b 1800252 libs optional libqbscore2.3_2.3.0-1_amd64.deb
 c98bc0579ee34f2c16c62f36c8474b9c 190904 devel optional qbs-common_2.3.0-1_all.deb
 876bac3a3617610be5fcd62cd407e60d 25564452 debug optional qbs-dbgsym_2.3.0-1_amd64.deb
 bd6bca2252145912981a5d43a5188cc5 27676 libdevel optional qbs-dev_2.3.0-1_amd64.deb
 2f69a6a246f286f1eb700d5365248825 348096 doc optional qbs-doc-html_2.3.0-1_all.deb
 b894f970a705e1358d4d156ddec17518 729936 doc optional qbs-doc_2.3.0-1_all.deb
 3214cb9fba3ccee71d7665725ca039b1 465124 doc optional qbs-examples_2.3.0-1_all.deb
 7983fc0eb4e547bba0a3d80d048ca735 16675 devel optional qbs_2.3.0-1_amd64.buildinfo
 4c69c0ad1e551ad9448f4671f5360010 736736 devel optional qbs_2.3.0-1_amd64.deb

-----BEGIN PGP SIGNATURE-----

iQJHBAEBCgAxFiEEq2sdvrA0LydXHe1qsmYUtFL0RrYFAmY31DETHG1pdHlhNTdA
ZGViaWFuLm9yZwAKCRCyZhS0UvRGtpwvD/9mFYgImhzKkREQoNKeFnkSH5at34O8
9RsKP/IZ6iewu1eTqGqwQUqfuWpUjIq0xpk0CG2VcE0eJzJ1Vr/F9xqOC04xM0ur
3HEoeqD+EDmR1SMekFZNufaLS8O4vw9tQ/VTsCymcrRFzf64QVEurxXCqEkVg0UA
CpcxhMXQoZZYHly0nfUgRtFc84d9gAT0Uiu1VxIQXTLgm2wuP58PlcAj1rhiYK0J
L0JhIdU33gqozC9ECRCVb80mBcsN/l+FXHE8eDiZDCelP5jU5wqJcedSExIi+Piu
UA7yOeUKbCGjGm783C6pT+evD2gZCKD5Q5JOVncyJD2uZfZdDp/ffQncs3ml50+4
ZmuXo43WEcUAqDQ5lQSz+dy76e3Qbgf3py+qpuJ9XJpMcaWMj5UFduIRKTNJsX98
mjf1F7wM495Jenj0EvS4G3pCqUnrk0IwNxwIM5AFuvglG6G0R8VjrqYRAsVODdVu
0Ux9NxXrNp8vEHzqj+kChFivYUJpDnoZCTWl9ntcFNu36hy7urueuzHqtqJn8ok6
onWGugQHQ5GyYJ9EUqKKs3jOq62xlsb6ocLA+J/Kl6tVWpv2HVEZBVgi2HtXn+Pc
2sIwk0NYZBb1qtGcLR2I+nrzRnsw/Do0npUO9o4+PV0qj+8d006yoTp2S0v6H5bI
RsNY5JNB+fdlPA==
=kyy8
-----END PGP SIGNATURE-----

Attachment: pgp3ACPpjUtuD.pgp
Description: PGP signature


--- End Message ---

Reply to: