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

Bug#946650: marked as done (ktexteditor: FTBFS on hurd-i386: KateDocumentTest::testAutoReload fails)



Your message dated Thu, 08 Oct 2020 15:18:47 +0000
with message-id <E1kQXgt-000HW7-8r@fasolo.debian.org>
and subject line Bug#946650: fixed in ktexteditor 5.74.0-2
has caused the Debian Bug report #946650,
regarding ktexteditor: FTBFS on hurd-i386: KateDocumentTest::testAutoReload fails
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.)


-- 
946650: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=946650
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: ktexteditor
Severity: important
Version: 5.62.0-1
Tags: patch
User: debian-hurd@lists.debian.org
Usertags: hurd
X-Debbugs-CC: debian-hurd@lists.debian.org

Hello,

ktexteditor fails to build on hurd-i386 because of a failure of
testAutoReload in katedocument_test.

The test appears to be failing due to an insufficient wait times,
increasing the wait time resolved the issue.

Attached is a patch which increases the wait times from (200 + 800) ms
by 500 ms to (200 + 1300) ms.

Thanks!

Excerpt of build log [0]:
>       Start 46: katedocument_test
> 46/67 Test #46: katedocument_test
> .......................***Failed    3.21 sec
> FAIL!  : KateDocumentTest::testAutoReload() Compared values are not
> the same
>    Actual   (doc.text())   : "Hello"
>    Expected ("Hello\nTest"): Hello
> Test
>    Loc: [/<<PKGBUILDDIR>>/autotests/src/katedocument_test.cpp(667)]
> [...]
> Totals: 20 passed, 1 failed, 0 skipped, 0 blacklisted, 3080ms
> ********* Finished testing of KateDocumentTest *********

[0]: 
https://buildd.debian.org/status/fetch.php?pkg=ktexteditor&arch=hurd-i386&ver=5.62.0-1%2Bb2&stamp=1573945897&raw=0
Subject: Fix test failure on hurd-i386: Increase wait times
Author: Paul Sonnenschein <paul@sonnenschein.ruhr>

--- a/autotests/src/katedocument_test.cpp	2019-09-07 16:49:33.000000000 +0200
+++ b/autotests/src/katedocument_test.cpp	2019-12-12 20:36:20.000000000 +0100
@@ -663,7 +663,7 @@
 
      // Hardcoded delay m_modOnHdTimer in DocumentPrivate
     // + min val with which it looks working reliable here
-    QTest::qWait(200 + 800);
+    QTest::qWait(200 + 1300);
     QCOMPARE(doc.text(), "Hello\nTest");
     // ...stay in the last line after reload!
     QCOMPARE(view->cursorPosition().line(), doc.documentEnd().line());
@@ -676,7 +676,7 @@
     stream.flush();
     file.close();
 
-    QTest::qWait(200 + 800);
+    QTest::qWait(200 + 1300);
     QCOMPARE(doc.text(), "Hello\nTest\nWorld!");
     // ...and ensure we have not move around
     QCOMPARE(view->cursorPosition(), c);

Attachment: signature.asc
Description: This is a digitally signed message part


--- End Message ---
--- Begin Message ---
Source: ktexteditor
Source-Version: 5.74.0-2
Done: =?utf-8?q?Sandro_Knau=C3=9F?= <hefee@debian.org>

We believe that the bug you reported is fixed in the latest version of
ktexteditor, 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 946650@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sandro Knauß <hefee@debian.org> (supplier of updated ktexteditor 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: Thu, 08 Oct 2020 16:59:58 +0200
Source: ktexteditor
Architecture: source
Version: 5.74.0-2
Distribution: experimental
Urgency: medium
Maintainer: Debian/Kubuntu Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Changed-By: Sandro Knauß <hefee@debian.org>
Closes: 946650 964695
Changes:
 ktexteditor (5.74.0-2) experimental; urgency=medium
 .
   * Team upload.
 .
   [ Sandro Knauß ]
   * Disable autotests as they are too flaky (Closes: #964695, #946650).
Checksums-Sha1:
 4c177a4ebc326638d591da6f80df29c309531071 3359 ktexteditor_5.74.0-2.dsc
 7359c9e9ff932bddd6a7e9961d5c1f48a80d0f67 45704 ktexteditor_5.74.0-2.debian.tar.xz
 29f783b451bf6a0fabbe0c3ca108451c4083a2f2 25340 ktexteditor_5.74.0-2_source.buildinfo
Checksums-Sha256:
 5a77bf9789ebd911b5da60ce8b351deaec39a6a04b8d7bfaf250ecead1b073ff 3359 ktexteditor_5.74.0-2.dsc
 e21e81d54fd03f9efa2c6b0a60add4e19fe6c6a5d24f4590c62a8839c4796b92 45704 ktexteditor_5.74.0-2.debian.tar.xz
 9e28384ab1e24f74906b5375134f22d8689f31abbca109ca333a12148e4e5833 25340 ktexteditor_5.74.0-2_source.buildinfo
Files:
 64c6c3955c13167158b4313ce54c3ce1 3359 libs optional ktexteditor_5.74.0-2.dsc
 d7decd72436e070167ac907ac3290cc2 45704 libs optional ktexteditor_5.74.0-2.debian.tar.xz
 ff0486adf3f4828cc7dc7d824f87e70f 25340 libs optional ktexteditor_5.74.0-2_source.buildinfo

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

iQJFBAEBCgAvFiEEOewRoCAWtykmSRoG462wCFBgVjYFAl9/KXkRHGhlZmVlQGRl
Ymlhbi5vcmcACgkQ462wCFBgVjZEYQ//aw5f9Y5Ok1JrNQCr25yP22c3T2I8U0Oe
Adfzlrfv7YdHu6Uu+tJIZqs3NjzjOpdAXwSdOTCFmplxB/Ot9SlGpLplpq2rWw1D
bi15+LmH5yZVgxAYSptZImg918DHtQj4UQ/35e1ct3P5sQMp2Y/uIvtVsGG8qJwD
Oz8xXwOU4+eb9Sjtf0pDfSXIKxFvJ9xO1/P3zsONkOUI9LK+89RvIpSCAKJS+LE0
A68dZgSlY39eItDxJ8o3UswHksA1ad0+uAP0ktI81yoMMFbf/Kbr0EhXxPPcYOpR
WyL7SWoItxhaVA6QcBHMtR4gHVqeuXH4uEz8eoIGodiDEFH8fhUBDloQ012Yxuva
Z8oAvDTA7/0ZlobMO+MjLOMZDcBzjIUmCMO3TdDYwvhnXu1L5jc45O4rGblTZO5F
aNaLjVZBS8+TXWcyWog1sGzKCyo+k6WP/u0v2mC7iMunTd9xDKyKya1GsF8ucml1
mObbS/tFDnxsWChGgdjegC948XHRNV4FSVzbEx0CE8+XkYAOtp2IAkkIqeVSxUMc
Okg6foP/i6OGaZjEzv6Ibamtj1DwCSbThumgpGDxp+ZtKo4Mkk5Ouc3A/xgPBvSW
RFUgzD+sGK9tepnEDR2jjAzVnyO6VNWXz+a8YqQ3TWKyY3qxlx3p5zAT6jGbC7zN
Dq7dw27mb9Q=
=Jj7l
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: