Fix debugger unit test failures on CI
Open, Needs TriagePublic

Description

After D6940 debugger unit tests run well on local machine, but all failed on CI.

Report: https://build.kde.org/view/KDevelop/job/KDevelop%20kdevelop%20kf5-qt5%20XenialQt5.7/lastCompletedBuild/testReport/

Symptom:

  • LLDB related tests timed out as soon as starting the first debug session. It seems like a popup warning dialog blocked the execution forever. Maybe due to an unsupported LLDB version in CI system?
QDEBUG : KDevMI::LLDB::LldbTest::testStdout() WARNING: bool Phonon::FactoryPrivate::createBackend() phonon backend plugin could not be loaded
QDEBUG : KDevMI::LLDB::LldbTest::testStdout() WARNING: bool Phonon::FactoryPrivate::createBackend() phonon backend plugin could not be loaded
QDEBUG : KDevMI::LLDB::LldbTest::testStdout() WARNING: bool Phonon::FactoryPrivate::createBackend() phonon backend plugin could not be loaded
QWARN  : KDevMI::LLDB::LldbTest::testStdout() org.kde.knotifications: Audio notification requested, but sound file from notifyrc file was not found, aborting audio notification
  • GDB related tests failed because the inferior stopped right after starting.
    • in functional tests (state 5 is StoppedState):
QWARN  : KDevMI::GDB::GdbTest::testStdOut() current state 5 waiting for 6
QWARN  : KDevMI::GDB::GdbTest::testBreakpoint() current state 5 waiting for 3
  • in printer tests:
QDEBUG : QtPrintersTest::testQString() "run"  =  "Starting program: /home/jenkins/workspace/KDevelop kdevelop kf5-qt5 XenialQt5.7/build/debuggers/common/tests/debuggees/debuggee_qstring \nDuring startup program exited normally."

Related Objects

qi437103 created this task.Jul 31 2017, 6:26 PM
qi437103 updated the task description. (Show Details)