Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 864250 - kde-frameworks/kconfigwidgets-5.99.0 fails test kstandardactiontest
Summary: kde-frameworks/kconfigwidgets-5.99.0 fails test kstandardactiontest
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords: TESTFAILURE
: 911255 (view as bug list)
Depends on:
Blocks:
 
Reported: 2022-08-07 20:55 UTC by Jonathan Lovelace
Modified: 2023-08-19 07:34 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
kde-frameworks:kconfigwidgets-5.96.0:20220807-202448.log (kde-frameworks:kconfigwidgets-5.96.0:20220807-202448.log,125.53 KB, text/x-log)
2022-08-07 20:58 UTC, Jonathan Lovelace
Details
LastTest.log (LastTest.log,7.92 KB, text/x-log)
2022-08-07 20:59 UTC, Jonathan Lovelace
Details
emerge-info.txt (emerge-info.txt,13.04 KB, text/plain)
2022-08-07 20:59 UTC, Jonathan Lovelace
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Lovelace 2022-08-07 20:55:27 UTC
=kde-frameworks/kconfigwidgets-5.96.0 fails its test phase, specifically the test kstandardactiontest. The relevant snippet of LastTest.log is as follows:


********* Start testing of tst_KStandardAction *********
Config: Using QtTest library 5.15.5, Qt 5.15.5 (x86_64-little_endian-lp64 shared (dynamic) release build; by G
CC 10.3.1 20211126), gentoo 2.8
PASS   : tst_KStandardAction::initTestCase()
QWARN  : tst_KStandardAction::shortcutForActionId() kf.config.core: Use of KConfigWatcher without DBus support
. You will not receive updates
PASS   : tst_KStandardAction::shortcutForActionId()
FAIL!  : tst_KStandardAction::changingShortcut() Compared lists have different sizes.
   Actual   (((action->shortcuts()))) size: 2
   Expected (newShortcut) size: 1
   Loc: [/var/tmp/portage/kde-frameworks/kconfigwidgets-5.96.0/work/kconfigwidgets-5.96.0/autotests/kstandardactiontest.cpp(58)]
PASS   : tst_KStandardAction::testCreateOldStyle()
PASS   : tst_KStandardAction::testCreateNewStyle()
PASS   : tst_KStandardAction::cleanupTestCase()
Totals: 5 passed, 1 failed, 0 skipped, 0 blacklisted, 15222ms
********* Finished testing of tst_KStandardAction *********
<end of output>
Test time =  15.25 sec
----------------------------------------------------------
Test Failed.

I note that USE=dbus is NOT enabled on any of the dev-qt/* or kde-frameworks/* packages that have "dbus" in IUSE (I included all the packages mentioned in DEPEND in the "emerge --info" output I will attach), and the test function is skipped on Windows with the comment "DBus notifications are disabled on Windows", so maybe this test should be skipped when DBus is disabled on Linux as well?
Comment 1 Jonathan Lovelace 2022-08-07 20:58:59 UTC
Created attachment 798595 [details]
kde-frameworks:kconfigwidgets-5.96.0:20220807-202448.log
Comment 2 Jonathan Lovelace 2022-08-07 20:59:23 UTC
Created attachment 798598 [details]
LastTest.log
Comment 3 Jonathan Lovelace 2022-08-07 20:59:40 UTC
Created attachment 798601 [details]
emerge-info.txt
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-11-17 23:01:56 UTC
Ditto without dbus (I didn't specifically disable it, just in same situation as Jonathan where deps didn't enforce it):
```
********* Start testing of tst_KStandardAction *********
Config: Using QtTest library 5.15.5, Qt 5.15.5 (arm64-little_endian-lp64 shared (dynamic) release build; by GCC 12.1.0), gentoo 2.8
PASS   : tst_KStandardAction::initTestCase()
QWARN  : tst_KStandardAction::shortcutForActionId() kf.config.core: Use of KConfigWatcher without DBus support. You will not receive updates
PASS   : tst_KStandardAction::shortcutForActionId()
FAIL!  : tst_KStandardAction::changingShortcut() Compared lists have different sizes.
   Actual   (((action->shortcuts()))) size: 2
   Expected (newShortcut) size: 1
   Loc: [/var/tmp/portage/kde-frameworks/kconfigwidgets-5.99.0/work/kconfigwidgets-5.99.0/autotests/kstandardactiontest.cpp(58)]
PASS   : tst_KStandardAction::testCreateOldStyle()
PASS   : tst_KStandardAction::testCreateNewStyle()
PASS   : tst_KStandardAction::cleanupTestCase()
Totals: 5 passed, 1 failed, 0 skipped, 0 blacklisted, 15129ms
********* Finished testing of tst_KStandardAction *********
<end of output>
Test time =  15.16 sec
----------------------------------------------------------
Test Failed.
"kstandardactiontest" end time: Nov 11 04:24 -00
"kstandardactiontest" time elapsed: 00:00:15
----------------------------------------------------------
```
Comment 5 Jonathan Lovelace 2022-12-04 22:33:33 UTC
This test failure is still happening in 5.99.0
Comment 6 Larry the Git Cow gentoo-dev 2023-07-25 09:36:53 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/kde.git/commit/?id=a0d5cde4532b0024bce5ec6fb2bb6bf361bfefc8

commit a0d5cde4532b0024bce5ec6fb2bb6bf361bfefc8
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2023-07-25 09:34:46 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2023-07-25 09:34:46 +0000

    kde-frameworks/kconfigwidgets: Add missing dbus test USE-dep
    
    Bug: https://bugs.gentoo.org/864250
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 kde-frameworks/kconfigwidgets/kconfigwidgets-5.9999.ebuild | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
Comment 7 Larry the Git Cow gentoo-dev 2023-07-25 09:37:53 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7782bc70be110d161b77014c1e1f1c12d1a3ae0a

commit 7782bc70be110d161b77014c1e1f1c12d1a3ae0a
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2023-07-25 09:37:25 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2023-07-25 09:37:42 +0000

    kde-frameworks/kconfigwidgets: Add missing dbus test USE-dep
    
    Closes: https://bugs.gentoo.org/864250
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 kde-frameworks/kconfigwidgets/kconfigwidgets-5.108.0.ebuild | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
Comment 8 Andreas Sturmlechner gentoo-dev 2023-07-26 17:16:54 UTC
*** Bug 911255 has been marked as a duplicate of this bug. ***
Comment 9 Andreas Sturmlechner gentoo-dev 2023-07-26 17:17:37 UTC
Existing test failure not blocking stabilisation.
Comment 10 Larry the Git Cow gentoo-dev 2023-07-31 19:50:04 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ec7ceaf90d62e9162ef8aaf4ed05220b3b49cb3

commit 9ec7ceaf90d62e9162ef8aaf4ed05220b3b49cb3
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2023-07-31 19:49:07 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2023-07-31 19:49:47 +0000

    kde-frameworks/kconfigwidgets: Disable broken kstandardactiontest
    
    Closes: https://bugs.gentoo.org/864250
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 kde-frameworks/kconfigwidgets/kconfigwidgets-5.108.0.ebuild | 9 +++++++++
 1 file changed, 9 insertions(+)
Comment 11 Larry the Git Cow gentoo-dev 2023-08-19 07:30:50 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/proj/kde.git/commit/?id=05093bd9e4ba80898f82e7efcc6f06bfbb4923de

commit 05093bd9e4ba80898f82e7efcc6f06bfbb4923de
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2023-07-31 19:49:07 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2023-08-19 07:30:11 +0000

    kde-frameworks/kconfigwidgets: Disable broken kstandardactiontest
    
    Closes: https://bugs.gentoo.org/864250
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 kde-frameworks/kconfigwidgets/kconfigwidgets-5.9999.ebuild | 9 +++++++++
 1 file changed, 9 insertions(+)
Comment 12 Larry the Git Cow gentoo-dev 2023-08-19 07:34:13 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22c299c9d666c271de5bc6aef6e9006d47174338

commit 22c299c9d666c271de5bc6aef6e9006d47174338
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2023-07-31 19:49:07 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2023-08-19 07:33:31 +0000

    kde-frameworks/kconfigwidgets: Disable broken kstandardactiontest
    
    Closes: https://bugs.gentoo.org/864250
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 kde-frameworks/kconfigwidgets/kconfigwidgets-5.109.0.ebuild | 9 +++++++++
 1 file changed, 9 insertions(+)