Bug 413853 - kpmcore testmsart hangs
Summary: kpmcore testmsart hangs
Status: RESOLVED FIXED
Alias: None
Product: partitionmanager
Classification: Applications
Component: general (show other bugs)
Version: 4.0.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Andrius Štikonas
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-05 20:02 UTC by h.goebel
Modified: 2019-11-07 22:12 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description h.goebel 2019-11-05 20:02:26 UTC
SUMMARY


STEPS TO REPRODUCE
1. Build kpmcore
2. Apply https://phabricator.kde.org/D25161 to make test run
3. Run testsmart

OBSERVED RESULT
Test hangs:

$ ../build/bin/testsmart    
Loaded backend plugin:  "pmsfdiskbackendplugin"
"Connection \":1.219\" is not allowed to own the service \"org.kde.kpmcore.applicationinterface\" due to security policies in the configuration file"
QDBusArgument: read from a write-only object
QDBusArgument: read from a write-only object
QDBusArgument: read from a write-only object
kf5.kauth: Tried to start an invalid action
^C


EXPECTED RESULT
Test terminates.

SOFTWARE/OS VERSIONS
Linux
KDE Frameworks Version: 5.63
Qt Version: 5.12
Comment 1 Andrius Štikonas 2019-11-05 20:16:36 UTC
Test smart is known to be broken.

It tries to call df command which helper is not allowed to run.

Possibly it makes sense to remove this test...
Comment 2 Andrius Štikonas 2019-11-07 22:12:21 UTC
Git commit c9a08a593bac8b8610a647db118fea6f2958156d by Andrius Štikonas.
Committed on 07/11/2019 at 22:12.
Pushed by stikonas into branch '4.0'.

Remove broken smart unit test.

M  +0    -9    test/CMakeLists.txt
D  +0    -102  test/testsmart.cpp

https://invent.kde.org/kde/kpmcore/commit/c9a08a593bac8b8610a647db118fea6f2958156d