https://bugs.kde.org/show_bug.cgi?id=474664
Bug ID: 474664
Summary: 1.5.0: test suite is failing in few units baceuse
missing cmake checks for come components
Classification: Frameworks and Libraries
Product: ktextaddons
Version: 1.5.0
Platform: Other
OS: Other
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
SUMMARY
***
Looks like ctest test suite is failig in few units
```
+ cd ktextaddons-1.5.0
+ xvfb-run -a /usr/bin/ctest --test-dir x86_64-redhat-linux-gnu
--output-on-failure --force-new-ctest-process -j48
Internal ctest changing into directory:
/home/tkloczko/rpmbuild/BUILD/ktextaddons-1.5.0/x86_64-redhat-linux-gnu
Test project
/home/tkloczko/rpmbuild/BUILD/ktextaddons-1.5.0/x86_64-redhat-linux-gnu
Start 1: slidecontainertest
Start 2: autocorrectiontest
Start 3: importkmailautocorrectiontest
Start 4: autocorrectionsettingstest
Start 5: autocorrectionutilstest
Start 6: importexportautocorrectionlibreofficetest
Start 7: grammalecteparsertest
Start 8: grammalecteresultwidgettest
Start 9: grammalectegrammarerrortest
Start 10: grammalecteresultjobtest
Start 11: grammalecteconfigwidgettest
Start 12: grammalectegenerateconfigoptionjobtest
Start 13: grammalecteconfigdialogtest
Start 14: grammalecteurlrequesterwidgettest
Start 15: languagetoolconfigdialogtest
Start 16: languagetoolconfigwidgettest
Start 17: languagetoolgrammarerrortest
Start 18: languagetoolresultwidgettest
Start 19: languagetoolparsertest
Start 20: languagetoolresultjobtest
Start 21: languagetoolcomboboxtest
Start 22: languagetoolgetlistoflanguagejobtest
Start 23: languageinfotest
Start 24: languagetoollistoflanguagesparsertest
Start 25: languagetoolupdatecomboboxtest
Start 26: grammarresulttextedittest
Start 27: grammarresultutiltest
Start 28: translator-translatorwidgettest
Start 29: translator-translatorconfiguredialogtest
Start 30: translator-translatorconfigurewidgettest
Start 31: translator-translatorengineloadertest
Start 32: translator-translatorconfigurecombowidgettest
Start 33: translatorconfigurelistswidgettest
Start 34: translatorconfigurelanguagelistwidgettest
Start 35: translatormenutest
Start 36: bingengineclienttest
Start 37: deeplengineclienttest
Start 38: deeplengineconfiguredialogtest
Start 39: deeplengineconfigurewidgettest
Start 40: googleengineclienttest
Start 41: libretranslateengineclienttest
Start 42: libretranslateengineconfigurewidgettest
Start 43: libretranslateengineconfiguredialogtest
Start 44: libretranslateengineutiltest
Start 45: lingvaengineclienttest
Start 46: lingvaenginewidgettest
Start 47: lingvaenginedialogtest
Start 48: lingvaengineutiltest
1/74 Test #3: importkmailautocorrectiontest ................... Passed
0.09 sec
Start 49: yandexengineclienttest
2/74 Test #4: autocorrectionsettingstest ...................... Passed
0.09 sec
Start 50: emoticoncategorytest
3/74 Test #5: autocorrectionutilstest ......................... Passed
0.09 sec
Start 51: emoticonunicodeutilstest
4/74 Test #17: languagetoolgrammarerrortest .................... Passed
0.07 sec
Start 52: emojiproxymodeltest
5/74 Test #19: languagetoolparsertest .......................... Passed
0.07 sec
Start 53: unicodeemoticontest
6/74 Test #23: languageinfotest ................................ Passed
0.06 sec
Start 54: emojimodeltest
7/74 Test #24: languagetoollistoflanguagesparsertest ........... Passed
0.06 sec
Start 55: customemojitest
8/74 Test #2: autocorrectiontest .............................. Passed
0.11 sec
Start 56: customemojiiconmanagertest
9/74 Test #7: grammalecteparsertest ........................... Passed
0.10 sec
Start 57: unicodeemoticonmanagertest
10/74 Test #9: grammalectegrammarerrortest ..................... Passed
0.10 sec
Start 58: emoticontexteditselectortest
11/74 Test #10: grammalecteresultjobtest ........................ Passed
0.10 sec
Start 59: emoticonlistviewtest
12/74 Test #12: grammalectegenerateconfigoptionjobtest .......... Passed
0.10 sec
Start 60: emoticoncategorybuttonstest
13/74 Test #22: languagetoolgetlistoflanguagejobtest ............ Passed
0.08 sec
Start 61: emoticoncategorybuttontest
14/74 Test #18: languagetoolresultwidgettest .................... Passed
0.09 sec
Start 62: converttexttest
15/74 Test #14: grammalecteurlrequesterwidgettest ............... Passed
0.10 sec
Start 63: plaintexteditortest
16/74 Test #21: languagetoolcomboboxtest ........................ Passed
0.09 sec
Start 64: plaintexteditfindbartest
17/74 Test #50: emoticoncategorytest ............................ Passed
0.04 sec
Start 65: richtexteditortest
18/74 Test #51: emoticonunicodeutilstest ........................ Passed
0.04 sec
Start 66: richtexteditfindbartest
19/74 Test #52: emojiproxymodeltest ............................. Passed
0.04 sec
Start 67: textgotolinewidgettest
20/74 Test #53: unicodeemoticontest ............................. Passed
0.04 sec
Start 68: textfindwidgettest
21/74 Test #54: emojimodeltest .................................. Passed
0.04 sec
Start 69: textreplacewidgettest
22/74 Test #8: grammalecteresultwidgettest .....................***Failed
0.13 sec
********* Start testing of GrammarResultWidgetTest *********
Config: Using QtTest library 5.15.10, Qt 5.15.10 (x86_64-little_endian-lp64
shared (dynamic) release build; by GCC 13.2.1 20230728 (Red Hat 13.2.1-1)),
fedora 40
PASS : GrammarResultWidgetTest::initTestCase()
FAIL! : GrammarResultWidgetTest::shouldHaveDefaultValue()
'!closeBtn->icon().isNull()' returned FALSE. ()
Loc:
[/home/tkloczko/rpmbuild/BUILD/ktextaddons-1.5.0/textgrammarcheck/grammalecte/autotests/grammalecteresultwidgettest.cpp(32)]
PASS : GrammarResultWidgetTest::cleanupTestCase()
Totals: 2 passed, 1 failed, 0 skipped, 0 blacklisted, 50ms
********* Finished testing of GrammarResultWidgetTest *********
Start 70: texttospeech-texttospeechwidgettest
23/74 Test #11: grammalecteconfigwidgettest .....................***Failed
0.13 sec
********* Start testing of GrammalecteConfigWidgetTest *********
Config: Using QtTest library 5.15.10, Qt 5.15.10 (x86_64-little_endian-lp64
shared (dynamic) release build; by GCC 13.2.1 20230728 (Red Hat 13.2.1-1)),
fedora 40
PASS : GrammalecteConfigWidgetTest::initTestCase()
QWARN : GrammalecteConfigWidgetTest::shouldHaveDefaultValue()
org.kde.kf.textgrammarcheck: Impossible to start
GrammalecteGenerateConfigOptionJob
FAIL! : GrammalecteConfigWidgetTest::shouldHaveDefaultValue()
'!buttonReloadSettings->icon().isNull()' returned FALSE. ()
Loc:
[/home/tkloczko/rpmbuild/BUILD/ktextaddons-1.5.0/textgrammarcheck/grammalecte/autotests/grammalecteconfigwidgettest.cpp(67)]
PASS : GrammalecteConfigWidgetTest::cleanupTestCase()
Totals: 2 passed, 1 failed, 0 skipped, 0 blacklisted, 41ms
********* Finished testing of GrammalecteConfigWidgetTest *********
Start 71: texttospeech-texttospeechconfigwidgettest
24/74 Test #20: languagetoolresultjobtest ....................... Passed
0.12 sec
Start 72: texttospeech-texttospeechactionstest
25/74 Test #27: grammarresultutiltest ........................... Passed
0.11 sec
Start 73: texttospeech-texttospeechsliderwidgettest
26/74 Test #30: translator-translatorconfigurewidgettest ........ Passed
0.11 sec
Start 74: texttospeech-texttospeechutiltest
27/74 Test #32: translator-translatorconfigurecombowidgettest ... Passed
0.11 sec
28/74 Test #55: customemojitest ................................. Passed
0.06 sec
29/74 Test #56: customemojiiconmanagertest ...................... Passed
0.05 sec
30/74 Test #62: converttexttest ................................. Passed
0.04 sec
31/74 Test #34: translatorconfigurelanguagelistwidgettest ....... Passed
0.10 sec
32/74 Test #31: translator-translatorengineloadertest ...........***Failed
0.11 sec
********* Start testing of TranslatorEngineLoaderTest *********
Config: Using QtTest library 5.15.10, Qt 5.15.10 (x86_64-little_endian-lp64
shared (dynamic) release build; by GCC 13.2.1 20230728 (Red Hat 13.2.1-1)),
fedora 40
PASS : TranslatorEngineLoaderTest::initTestCase()
QWARN : TranslatorEngineLoaderTest::shouldHaveDefaultValues()
org.kde.kf.texttranslator: No translator plugins available!
FAIL! : TranslatorEngineLoaderTest::shouldHaveDefaultValues()
'!w.translatorEngineInfos().isEmpty()' returned FALSE. ()
Loc:
[/home/tkloczko/rpmbuild/BUILD/ktextaddons-1.5.0/texttranslator/translator/autotests/translatorengineloadertest.cpp(19)]
PASS : TranslatorEngineLoaderTest::cleanupTestCase()
Totals: 2 passed, 1 failed, 0 skipped, 0 blacklisted, 1ms
********* Finished testing of TranslatorEngineLoaderTest *********
33/74 Test #25: languagetoolupdatecomboboxtest .................. Passed
0.12 sec
34/74 Test #33: translatorconfigurelistswidgettest .............. Passed
0.11 sec
35/74 Test #35: translatormenutest .............................. Passed
0.10 sec
36/74 Test #6: importexportautocorrectionlibreofficetest ....... Passed
0.16 sec
37/74 Test #37: deeplengineclienttest ........................... Passed
0.10 sec
38/74 Test #26: grammarresulttextedittest ....................... Passed
0.12 sec
39/74 Test #36: bingengineclienttest ............................ Passed
0.10 sec
40/74 Test #44: libretranslateengineutiltest .................... Passed
0.09 sec
41/74 Test #41: libretranslateengineclienttest .................. Passed
0.10 sec
42/74 Test #48: lingvaengineutiltest ............................ Passed
0.08 sec
43/74 Test #45: lingvaengineclienttest .......................... Passed
0.09 sec
44/74 Test #40: googleengineclienttest .......................... Passed
0.10 sec
45/74 Test #49: yandexengineclienttest .......................... Passed
0.09 sec
46/74 Test #16: languagetoolconfigwidgettest ....................***Failed
0.15 sec
********* Start testing of LanguageToolConfigWidgetTest *********
Config: Using QtTest library 5.15.10, Qt 5.15.10 (x86_64-little_endian-lp64
shared (dynamic) release build; by GCC 13.2.1 20230728 (Red Hat 13.2.1-1)),
fedora 40
PASS : LanguageToolConfigWidgetTest::initTestCase()
FAIL! : LanguageToolConfigWidgetTest::shouldHaveDefaultValue()
'!refreshButton->icon().isNull()' returned FALSE. ()
Loc:
[/home/tkloczko/rpmbuild/BUILD/ktextaddons-1.5.0/textgrammarcheck/languagetool/autotests/languagetoolconfigwidgettest.cpp(59)]
PASS : LanguageToolConfigWidgetTest::shouldUpdateWidgets()
PASS : LanguageToolConfigWidgetTest::cleanupTestCase()
Totals: 3 passed, 1 failed, 0 skipped, 0 blacklisted, 82ms
********* Finished testing of LanguageToolConfigWidgetTest *********
47/74 Test #60: emoticoncategorybuttonstest ..................... Passed
0.06 sec
48/74 Test #13: grammalecteconfigdialogtest ..................... Passed
0.16 sec
49/74 Test #59: emoticonlistviewtest ............................ Passed
0.07 sec
50/74 Test #61: emoticoncategorybuttontest ...................... Passed
0.07 sec
51/74 Test #74: texttospeech-texttospeechutiltest ............... Passed
0.03 sec
52/74 Test #73: texttospeech-texttospeechsliderwidgettest ....... Passed
0.05 sec
53/74 Test #29: translator-translatorconfiguredialogtest ........ Passed
0.16 sec
54/74 Test #15: languagetoolconfigdialogtest .................... Passed
0.19 sec
55/74 Test #57: unicodeemoticonmanagertest ...................... Passed
0.11 sec
56/74 Test #65: richtexteditortest .............................. Passed
0.09 sec
57/74 Test #71: texttospeech-texttospeechconfigwidgettest ....... Passed
0.07 sec
58/74 Test #42: libretranslateengineconfigurewidgettest ......... Passed
0.15 sec
59/74 Test #63: plaintexteditortest ............................. Passed
0.11 sec
60/74 Test #39: deeplengineconfigurewidgettest .................. Passed
0.18 sec
61/74 Test #46: lingvaenginewidgettest .......................... Passed
0.18 sec
62/74 Test #38: deeplengineconfiguredialogtest .................. Passed
0.22 sec
63/74 Test #72: texttospeech-texttospeechactionstest ............***Failed
0.13 sec
********* Start testing of TextToSpeechActionsTest *********
Config: Using QtTest library 5.15.10, Qt 5.15.10 (x86_64-little_endian-lp64
shared (dynamic) release build; by GCC 13.2.1 20230728 (Red Hat 13.2.1-1)),
fedora 40
PASS : TextToSpeechActionsTest::initTestCase()
FAIL! : TextToSpeechActionsTest::shouldHaveDefaultValue()
'!act.stopAction()->icon().isNull()' returned FALSE. ()
Loc:
[/home/tkloczko/rpmbuild/BUILD/ktextaddons-1.5.0/textedittexttospeech/autotests/texttospeechactionstest.cpp(32)]
PASS :
TextToSpeechActionsTest::shouldChangeButtonEnableStateWhenChangeState()
PASS : TextToSpeechActionsTest::shouldChangeStateWhenClickOnPlayPause()
PASS : TextToSpeechActionsTest::shouldChangeStateWhenClickOnStop()
PASS : TextToSpeechActionsTest::shouldEmitStateChanged()
PASS : TextToSpeechActionsTest::cleanupTestCase()
Totals: 6 passed, 1 failed, 0 skipped, 0 blacklisted, 80ms
********* Finished testing of TextToSpeechActionsTest *********
64/74 Test #47: lingvaenginedialogtest .......................... Passed
0.23 sec
65/74 Test #58: emoticontexteditselectortest .................... Passed
0.20 sec
66/74 Test #43: libretranslateengineconfiguredialogtest ......... Passed
0.24 sec
67/74 Test #69: textreplacewidgettest ........................... Passed
0.18 sec
68/74 Test #66: richtexteditfindbartest ......................... Passed
0.19 sec
69/74 Test #68: textfindwidgettest .............................. Passed
0.21 sec
70/74 Test #64: plaintexteditfindbartest ........................ Passed
0.22 sec
71/74 Test #67: textgotolinewidgettest ..........................***Failed
0.25 sec
********* Start testing of TextGoToLineWidgetTest *********
Config: Using QtTest library 5.15.10, Qt 5.15.10 (x86_64-little_endian-lp64
shared (dynamic) release build; by GCC 13.2.1 20230728 (Red Hat 13.2.1-1)),
fedora 40
PASS : TextGoToLineWidgetTest::initTestCase()
FAIL! : TextGoToLineWidgetTest::shouldHaveDefaultValuesOnCreation()
'line->hasFocus()' returned FALSE. ()
Loc:
[/home/tkloczko/rpmbuild/BUILD/ktextaddons-1.5.0/textcustomeditor/widgets/autotests/textgotolinewidgettest.cpp(34)]
PASS : TextGoToLineWidgetTest::shouldEmitGoToLineSignalWhenPressOnButton()
PASS :
TextGoToLineWidgetTest::shouldEmitGoToLineSignalCorrectValueWhenPressOnButton()
PASS : TextGoToLineWidgetTest::shouldHideWidgetWhenClickOnCloseButton()
PASS : TextGoToLineWidgetTest::shouldHideWidgetWhenPressEscape()
FAIL! :
TextGoToLineWidgetTest::shouldEmitGoToLineSignalWhenSpinboxHasFocusAndWePressEnter()
'line->hasFocus()' returned FALSE. ()
Loc:
[/home/tkloczko/rpmbuild/BUILD/ktextaddons-1.5.0/textcustomeditor/widgets/autotests/textgotolinewidgettest.cpp(86)]
FAIL! : TextGoToLineWidgetTest::shouldHasFocusEachTimeThatItShown()
'line->hasFocus()' returned FALSE. ()
Loc:
[/home/tkloczko/rpmbuild/BUILD/ktextaddons-1.5.0/textcustomeditor/widgets/autotests/textgotolinewidgettest.cpp(101)]
FAIL! : TextGoToLineWidgetTest::shouldSetFocusWhenWeRecallGotToLine()
'line->hasFocus()' returned FALSE. ()
Loc:
[/home/tkloczko/rpmbuild/BUILD/ktextaddons-1.5.0/textcustomeditor/widgets/autotests/textgotolinewidgettest.cpp(115)]
PASS : TextGoToLineWidgetTest::shouldChangeMaximumValue()
PASS : TextGoToLineWidgetTest::cleanupTestCase()
Totals: 7 passed, 4 failed, 0 skipped, 0 blacklisted, 164ms
********* Finished testing of TextGoToLineWidgetTest *********
72/74 Test #1: slidecontainertest .............................. Passed
2.60 sec
73/74 Test #28: translator-translatorwidgettest .................Subprocess
aborted***Exception: 2.96 sec
********* Start testing of TranslatorWidgetTest *********
Config: Using QtTest library 5.15.10, Qt 5.15.10 (x86_64-little_endian-lp64
shared (dynamic) release build; by GCC 13.2.1 20230728 (Red Hat 13.2.1-1)),
fedora 40
PASS : TranslatorWidgetTest::initTestCase()
QWARN : TranslatorWidgetTest::shouldHaveDefaultValuesOnCreation()
org.kde.kf.texttranslator: No translator plugins available!
QWARN : TranslatorWidgetTest::shouldHaveDefaultValuesOnCreation()
org.kde.kf.texttranslator: Client name not found: "google"
QWARN : TranslatorWidgetTest::shouldHaveDefaultValuesOnCreation()
org.kde.kf.texttranslator: No plugin found !
QWARN : TranslatorWidgetTest::shouldHaveDefaultValuesOnCreation()
org.kde.kf.texttranslator: Client name not found: "google"
QWARN : TranslatorWidgetTest::shouldHaveDefaultValuesOnCreation()
org.kde.kf.texttranslator: No plugin found !
=== Received signal at function time: 15ms, total time: 15ms, dumping stack ===
GNU gdb (GDB) G2V 13.2-8.fc35
Copyright (C) 2023 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
Attaching to process 2445575
[New LWP 2445639]
[New LWP 2445642]
[New LWP 2445689]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
0x00007fa37fd1cee3 in wait4 () from /lib64/libc.so.6
(gdb)
Thread 4 (Thread 0x7fa37b24d6c0 (LWP 2445689) "QThread"):
#0 0x00007fa37fca92f9 in __futex_abstimed_wait_common () from /lib64/libc.so.6
No symbol table info available.
#1 0x00007fa37fcac322 in pthread_cond_clockwait@GLIBC_2.30 () from
/lib64/libc.so.6
No symbol table info available.
#2 0x00007fa3818912e0 in QTest::WatchDog::run() () from /lib64/libQt5Test.so.5
No symbol table info available.
#3 0x00007fa3802f55ad in QThreadPrivate::start(void*) () from
/lib64/libQt5Core.so.5
No symbol table info available.
#4 0x00007fa37fcaca27 in start_thread () from /lib64/libc.so.6
No symbol table info available.
#5 0x00007fa37fd33cfc in clone3 () from /lib64/libc.so.6
No symbol table info available.
Thread 3 (Thread 0x7fa37ba6f6c0 (LWP 2445642) "QXcbEventQueue"):
#0 0x00007fa37fd2617d in poll () from /lib64/libc.so.6
No symbol table info available.
#1 0x00007fa37c7575fa in _xcb_conn_wait.part.0 () from /lib64/libxcb.so.1
No symbol table info available.
#2 0x00007fa37c758e7c in xcb_wait_for_event () from /lib64/libxcb.so.1
No symbol table info available.
#3 0x00007fa37c605d5a in QXcbEventQueue::run() () from
/lib64/libQt5XcbQpa.so.5
No symbol table info available.
#4 0x00007fa3802f55ad in QThreadPrivate::start(void*) () from
/lib64/libQt5Core.so.5
No symbol table info available.
#5 0x00007fa37fcaca27 in start_thread () from /lib64/libc.so.6
No symbol table info available.
#6 0x00007fa37fd33cfc in clone3 () from /lib64/libc.so.6
No symbol table info available.
Thread 2 (Thread 0x7fa37c2cc6c0 (LWP 2445639) "QDBusConnection"):
#0 0x00007fa37fd2617d in poll () from /lib64/libc.so.6
No symbol table info available.
#1 0x00007fa37f249f26 in g_main_context_iterate_unlocked.isra () from
/lib64/libglib-2.0.so.0
No symbol table info available.
#2 0x00007fa37f24a4b3 in g_main_context_iteration () from
/lib64/libglib-2.0.so.0
No symbol table info available.
#3 0x00007fa380502379 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /lib64/libQt5Core.so.5
No symbol table info available.
#4 0x00007fa3804af09b in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/lib64/libQt5Core.so.5
No symbol table info available.
#5 0x00007fa3802f4670 in QThread::exec() () from /lib64/libQt5Core.so.5
No symbol table info available.
#6 0x00007fa37f08a73b in QDBusConnectionManager::run() () from
/lib64/libQt5DBus.so.5
No symbol table info available.
#7 0x00007fa3802f55ad in QThreadPrivate::start(void*) () from
/lib64/libQt5Core.so.5
No symbol table info available.
#8 0x00007fa37fcaca27 in start_thread () from /lib64/libc.so.6
No symbol table info available.
#9 0x00007fa37fd33cfc in clone3 () from /lib64/libc.so.6
No symbol table info available.
Thread 1 (Thread 0x7fa37f02c9c0 (LWP 2445575) "translatorwidge"):
#0 0x00007fa37fd1cee3 in wait4 () from /lib64/libc.so.6
No symbol table info available.
#1 0x00007fa37fc6e20b in do_system () from /lib64/libc.so.6
No symbol table info available.
#2 0x00007fa38188957b in stackTrace() [clone .part.0] () from
/lib64/libQt5Test.so.5
No symbol table info available.
#3 0x00007fa381889e83 in QTest::FatalSignalHandler::signal(int) () from
/lib64/libQt5Test.so.5
No symbol table info available.
#4 <signal handler called>
No symbol table info available.
#5 0x00007fa3818f206d in
TextTranslator::TranslatorWidget::slotFromLanguageChanged
(this=this@entry=0x7ffc34058910, index=index@entry=0,
initialize=initialize@entry=true) at
/home/tkloczko/rpmbuild/BUILD/ktextaddons-1.5.0/texttranslator/translator/widgets/translatorwidget.cpp:380
lang = {d = 0x55763c0198a0 <QArrayData::shared_null@Qt_5>}
to = {d = 0x55763c0198a0 <QArrayData::shared_null@Qt_5>}
indexTo = <optimized out>
#6 0x00007fa3818f5bf1 in TextTranslator::TranslatorWidget::init
(this=this@entry=0x7ffc34058910) at
/home/tkloczko/rpmbuild/BUILD/ktextaddons-1.5.0/texttranslator/translator/widgets/translatorwidget.cpp:310
layout = 0x55763d8e10c0
hboxLayout = <optimized out>
closeBtn = <optimized out>
label = <optimized out>
separator = <optimized out>
configureButton = <optimized out>
#7 0x00007fa3818f5ea1 in TextTranslator::TranslatorWidget::TranslatorWidget
(this=<optimized out>, parent=<optimized out>, this=<optimized out>,
parent=<optimized out>) at
/home/tkloczko/rpmbuild/BUILD/ktextaddons-1.5.0/texttranslator/translator/widgets/translatorwidget.cpp:134
No locals.
#8 0x000055763c015841 in
TranslatorWidgetTest::shouldHaveDefaultValuesOnCreation (this=<optimized out>)
at
/home/tkloczko/rpmbuild/BUILD/ktextaddons-1.5.0/texttranslator/translator/autotests/translatorwidgettest.cpp:28
edit = {<QWidget> = {<No data fields>}, static staticMetaObject = {d =
{superdata = {direct = 0x7fa3816c0ac0 <QWidget::staticMetaObject>}, stringdata
= 0x7fa3818fa100 <qt_meta_stringdata_TextTranslator__TranslatorWidget>, data =
0x7fa3818f9fe0 <qt_meta_data_TextTranslator__TranslatorWidget>, static_metacall
= 0x7fa3818f1f00
<TextTranslator::TranslatorWidget::qt_static_metacall(QObject*,
QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}},
d = {_M_t =
{<std::__uniq_ptr_impl<TextTranslator::TranslatorWidget::TranslatorWidgetPrivate,
std::default_delete<TextTranslator::TranslatorWidget::TranslatorWidgetPrivate>
>> = {_M_t = {<std::_Tuple_impl<0,
TextTranslator::TranslatorWidget::TranslatorWidgetPrivate*,
std::default_delete<TextTranslator::TranslatorWidget::TranslatorWidgetPrivate>
>> = {<std::_Tuple_impl<1,
std::default_delete<TextTranslator::TranslatorWidget::TranslatorWidgetPrivate>
>> = {<std::_Head_base<1,
std::default_delete<TextTranslator::TranslatorWidget::TranslatorWidgetPrivate>,
true>> = {_M_head_impl = {<No data fields>}}, <No data fields>},
<std::_Head_base<0, TextTranslator::TranslatorWidget::TranslatorWidgetPrivate*,
false>> = {_M_head_impl = 0x55763d8dd970}, <No data fields>}, <No data
fields>}}, <No data fields>}}}
from = <optimized out>
inputtext = <optimized out>
clear = <optimized out>
invert = <optimized out>
to = <optimized out>
translate = <optimized out>
configure = <optimized out>
close = <optimized out>
edit = <optimized out>
from = <optimized out>
to = <optimized out>
inputtext = <optimized out>
translate = <optimized out>
clear = <optimized out>
invert = <optimized out>
configure = <optimized out>
close = <optimized out>
#9 TranslatorWidgetTest::qt_static_metacall (_o=<optimized out>,
_id=<optimized out>, _a=<optimized out>, _c=<optimized out>) at
/home/tkloczko/rpmbuild/BUILD/ktextaddons-1.5.0/x86_64-redhat-linux-gnu/texttranslator/translator/autotests/translatorwidgettest_autogen/include/moc_translatorwidgettest.cpp:93
_t = <optimized out>
#10 0x00007fa3804bf0fe in QMetaMethod::invoke(QObject*, Qt::ConnectionType,
QGenericReturnArgument, QGenericArgument, QGenericArgument, QGenericArgument,
QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument,
QGenericArgument, QGenericArgument, QGenericArgument) const () from
/lib64/libQt5Core.so.5
No symbol table info available.
#11 0x00007fa381892548 in QTest::TestMethods::invokeTestOnData(int) const ()
from /lib64/libQt5Test.so.5
No symbol table info available.
#12 0x00007fa381892ff0 in QTest::TestMethods::invokeTest(int, char const*,
QTest::WatchDog*) const () from /lib64/libQt5Test.so.5
No symbol table info available.
#13 0x00007fa3818935c9 in QTest::TestMethods::invokeTests(QObject*) const ()
from /lib64/libQt5Test.so.5
No symbol table info available.
#14 0x00007fa381893b30 in QTest::qRun() () from /lib64/libQt5Test.so.5
No symbol table info available.
#15 0x00007fa381893f07 in QTest::qExec(QObject*, int, char**) () from
/lib64/libQt5Test.so.5
No symbol table info available.
#16 0x000055763c013f83 in main (argc=<optimized out>, argv=0x7ffc34059568) at
/home/tkloczko/rpmbuild/BUILD/ktextaddons-1.5.0/texttranslator/translator/autotests/translatorwidgettest.cpp:19
app = <incomplete type>
tc = {<QObject> = {<No data fields>}, static staticMetaObject = {d =
{superdata = {direct = 0x55763c0197e0 <QObject::staticMetaObject@Qt_5>},
stringdata = 0x55763c017c00 <qt_meta_stringdata_TranslatorWidgetTest>, data =
0x55763c0176a0 <qt_meta_data_TranslatorWidgetTest>, static_metacall =
0x55763c016b00 <TranslatorWidgetTest::qt_static_metacall(QObject*,
QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}}
Detaching from program:
/home/tkloczko/rpmbuild/BUILD/ktextaddons-1.5.0/x86_64-redhat-linux-gnu/bin/translatorwidgettest,
process 2445575
[Inferior 1 (process 2445575) detached]
=== End of stack trace ===
QFATAL : TranslatorWidgetTest::shouldHaveDefaultValuesOnCreation() Received
signal 11
Function time: 15ms Total time: 15ms
FAIL! : TranslatorWidgetTest::shouldHaveDefaultValuesOnCreation() Received a
fatal error.
Loc: [Unknown file(0)]
Totals: 1 passed, 1 failed, 0 skipped, 0 blacklisted, 2648ms
********* Finished testing of TranslatorWidgetTest *********
74/74 Test #70: texttospeech-texttospeechwidgettest .............***Failed
7.54 sec
********* Start testing of TextToSpeechWidgetTest *********
Config: Using QtTest library 5.15.10, Qt 5.15.10 (x86_64-little_endian-lp64
shared (dynamic) release build; by GCC 13.2.1 20230728 (Red Hat 13.2.1-1)),
fedora 40
PASS : TextToSpeechWidgetTest::initTestCase()
FAIL! : TextToSpeechWidgetTest::shouldHaveDefaultValue()
'!stopButton->icon().isNull()' returned FALSE. ()
Loc:
[/home/tkloczko/rpmbuild/BUILD/ktextaddons-1.5.0/textedittexttospeech/autotests/texttospeechwidgettest.cpp(49)]
PASS : TextToSpeechWidgetTest::shouldChangeButtonEnableStateWhenChangeState()
PASS : TextToSpeechWidgetTest::shouldChangeStateWhenClickOnPlayPause()
PASS : TextToSpeechWidgetTest::shouldChangeStateWhenClickOnStop()
PASS : TextToSpeechWidgetTest::shouldEmitStateChanged()
PASS : TextToSpeechWidgetTest::cleanupTestCase()
Totals: 6 passed, 1 failed, 0 skipped, 0 blacklisted, 7478ms
********* Finished testing of TextToSpeechWidgetTest *********
89% tests passed, 8 tests failed out of 74
Total Test time (real) = 7.70 sec
The following tests FAILED:
8 - grammalecteresultwidgettest (Failed)
11 - grammalecteconfigwidgettest (Failed)
16 - languagetoolconfigwidgettest (Failed)
28 - translator-translatorwidgettest (Subprocess aborted)
31 - translator-translatorengineloadertest (Failed)
67 - textgotolinewidgettest (Failed)
70 - texttospeech-texttospeechwidgettest (Failed)
72 - texttospeech-texttospeechactionstest (Failed)
Errors while running CTest
```
***
STEPS TO REPRODUCE
1. setup source code with "cmake -D BUILD_TESTING=ON"
OBSERVED RESULT
```
+ cd ktextaddons-1.5.0
+ xvfb-run -a /usr/bin/ctest --test-dir x86_64-redhat-linux-gnu
--output-on-failure --force-new-ctest-process -j48
Internal ctest changing into directory:
/home/tkloczko/rpmbuild/BUILD/ktextaddons-1.5.0/x86_64-redhat-linux-gnu
Test project
/home/tkloczko/rpmbuild/BUILD/ktextaddons-1.5.0/x86_64-redhat-linux-gnu
Start 1: slidecontainertest
Start 2: autocorrectiontest
Start 3: importkmailautocorrectiontest
Start 4: autocorrectionsettingstest
Start 5: autocorrectionutilstest
Start 6: importexportautocorrectionlibreofficetest
Start 7: grammalecteparsertest
Start 8: grammalecteresultwidgettest
Start 9: grammalectegrammarerrortest
Start 10: grammalecteresultjobtest
Start 11: grammalecteconfigwidgettest
Start 12: grammalectegenerateconfigoptionjobtest
Start 13: grammalecteconfigdialogtest
Start 14: grammalecteurlrequesterwidgettest
Start 15: languagetoolconfigdialogtest
Start 16: languagetoolconfigwidgettest
Start 17: languagetoolgrammarerrortest
Start 18: languagetoolresultwidgettest
Start 19: languagetoolparsertest
Start 20: languagetoolresultjobtest
Start 21: languagetoolcomboboxtest
Start 22: languagetoolgetlistoflanguagejobtest
Start 23: languageinfotest
Start 24: languagetoollistoflanguagesparsertest
Start 25: languagetoolupdatecomboboxtest
Start 26: grammarresulttextedittest
Start 27: grammarresultutiltest
Start 28: translator-translatorwidgettest
Start 29: translator-translatorconfiguredialogtest
Start 30: translator-translatorconfigurewidgettest
Start 31: translator-translatorengineloadertest
Start 32: translator-translatorconfigurecombowidgettest
Start 33: translatorconfigurelistswidgettest
Start 34: translatorconfigurelanguagelistwidgettest
Start 35: translatormenutest
Start 36: bingengineclienttest
Start 37: deeplengineclienttest
Start 38: deeplengineconfiguredialogtest
Start 39: deeplengineconfigurewidgettest
Start 40: googleengineclienttest
Start 41: libretranslateengineclienttest
Start 42: libretranslateengineconfigurewidgettest
Start 43: libretranslateengineconfiguredialogtest
Start 44: libretranslateengineutiltest
Start 45: lingvaengineclienttest
Start 46: lingvaenginewidgettest
Start 47: lingvaenginedialogtest
Start 48: lingvaengineutiltest
1/74 Test #3: importkmailautocorrectiontest ................... Passed
0.09 sec
Start 49: yandexengineclienttest
2/74 Test #4: autocorrectionsettingstest ...................... Passed
0.09 sec
Start 50: emoticoncategorytest
3/74 Test #5: autocorrectionutilstest ......................... Passed
0.09 sec
Start 51: emoticonunicodeutilstest
4/74 Test #17: languagetoolgrammarerrortest .................... Passed
0.07 sec
Start 52: emojiproxymodeltest
5/74 Test #19: languagetoolparsertest .......................... Passed
0.07 sec
Start 53: unicodeemoticontest
6/74 Test #23: languageinfotest ................................ Passed
0.06 sec
Start 54: emojimodeltest
7/74 Test #24: languagetoollistoflanguagesparsertest ........... Passed
0.06 sec
Start 55: customemojitest
8/74 Test #2: autocorrectiontest .............................. Passed
0.11 sec
Start 56: customemojiiconmanagertest
9/74 Test #7: grammalecteparsertest ........................... Passed
0.10 sec
Start 57: unicodeemoticonmanagertest
10/74 Test #9: grammalectegrammarerrortest ..................... Passed
0.10 sec
Start 58: emoticontexteditselectortest
11/74 Test #10: grammalecteresultjobtest ........................ Passed
0.10 sec
Start 59: emoticonlistviewtest
12/74 Test #12: grammalectegenerateconfigoptionjobtest .......... Passed
0.10 sec
Start 60: emoticoncategorybuttonstest
13/74 Test #22: languagetoolgetlistoflanguagejobtest ............ Passed
0.08 sec
Start 61: emoticoncategorybuttontest
14/74 Test #18: languagetoolresultwidgettest .................... Passed
0.09 sec
Start 62: converttexttest
15/74 Test #14: grammalecteurlrequesterwidgettest ............... Passed
0.10 sec
Start 63: plaintexteditortest
16/74 Test #21: languagetoolcomboboxtest ........................ Passed
0.09 sec
Start 64: plaintexteditfindbartest
17/74 Test #50: emoticoncategorytest ............................ Passed
0.04 sec
Start 65: richtexteditortest
18/74 Test #51: emoticonunicodeutilstest ........................ Passed
0.04 sec
Start 66: richtexteditfindbartest
19/74 Test #52: emojiproxymodeltest ............................. Passed
0.04 sec
Start 67: textgotolinewidgettest
20/74 Test #53: unicodeemoticontest ............................. Passed
0.04 sec
Start 68: textfindwidgettest
21/74 Test #54: emojimodeltest .................................. Passed
0.04 sec
Start 69: textreplacewidgettest
22/74 Test #8: grammalecteresultwidgettest .....................***Failed
0.13 sec
********* Start testing of GrammarResultWidgetTest *********
Config: Using QtTest library 5.15.10, Qt 5.15.10 (x86_64-little_endian-lp64
shared (dynamic) release build; by GCC 13.2.1 20230728 (Red Hat 13.2.1-1)),
fedora 40
PASS : GrammarResultWidgetTest::initTestCase()
FAIL! : GrammarResultWidgetTest::shouldHaveDefaultValue()
'!closeBtn->icon().isNull()' returned FALSE. ()
Loc:
[/home/tkloczko/rpmbuild/BUILD/ktextaddons-1.5.0/textgrammarcheck/grammalecte/autotests/grammalecteresultwidgettest.cpp(32)]
PASS : GrammarResultWidgetTest::cleanupTestCase()
Totals: 2 passed, 1 failed, 0 skipped, 0 blacklisted, 50ms
********* Finished testing of GrammarResultWidgetTest *********
Start 70: texttospeech-texttospeechwidgettest
23/74 Test #11: grammalecteconfigwidgettest .....................***Failed
0.13 sec
********* Start testing of GrammalecteConfigWidgetTest *********
Config: Using QtTest library 5.15.10, Qt 5.15.10 (x86_64-little_endian-lp64
shared (dynamic) release build; by GCC 13.2.1 20230728 (Red Hat 13.2.1-1)),
fedora 40
PASS : GrammalecteConfigWidgetTest::initTestCase()
QWARN : GrammalecteConfigWidgetTest::shouldHaveDefaultValue()
org.kde.kf.textgrammarcheck: Impossible to start
GrammalecteGenerateConfigOptionJob
FAIL! : GrammalecteConfigWidgetTest::shouldHaveDefaultValue()
'!buttonReloadSettings->icon().isNull()' returned FALSE. ()
Loc:
[/home/tkloczko/rpmbuild/BUILD/ktextaddons-1.5.0/textgrammarcheck/grammalecte/autotests/grammalecteconfigwidgettest.cpp(67)]
PASS : GrammalecteConfigWidgetTest::cleanupTestCase()
Totals: 2 passed, 1 failed, 0 skipped, 0 blacklisted, 41ms
********* Finished testing of GrammalecteConfigWidgetTest *********
Start 71: texttospeech-texttospeechconfigwidgettest
24/74 Test #20: languagetoolresultjobtest ....................... Passed
0.12 sec
Start 72: texttospeech-texttospeechactionstest
25/74 Test #27: grammarresultutiltest ........................... Passed
0.11 sec
Start 73: texttospeech-texttospeechsliderwidgettest
26/74 Test #30: translator-translatorconfigurewidgettest ........ Passed
0.11 sec
Start 74: texttospeech-texttospeechutiltest
27/74 Test #32: translator-translatorconfigurecombowidgettest ... Passed
0.11 sec
28/74 Test #55: customemojitest ................................. Passed
0.06 sec
29/74 Test #56: customemojiiconmanagertest ...................... Passed
0.05 sec
30/74 Test #62: converttexttest ................................. Passed
0.04 sec
31/74 Test #34: translatorconfigurelanguagelistwidgettest ....... Passed
0.10 sec
32/74 Test #31: translator-translatorengineloadertest ...........***Failed
0.11 sec
********* Start testing of TranslatorEngineLoaderTest *********
Config: Using QtTest library 5.15.10, Qt 5.15.10 (x86_64-little_endian-lp64
shared (dynamic) release build; by GCC 13.2.1 20230728 (Red Hat 13.2.1-1)),
fedora 40
PASS : TranslatorEngineLoaderTest::initTestCase()
QWARN : TranslatorEngineLoaderTest::shouldHaveDefaultValues()
org.kde.kf.texttranslator: No translator plugins available!
FAIL! : TranslatorEngineLoaderTest::shouldHaveDefaultValues()
'!w.translatorEngineInfos().isEmpty()' returned FALSE. ()
Loc:
[/home/tkloczko/rpmbuild/BUILD/ktextaddons-1.5.0/texttranslator/translator/autotests/translatorengineloadertest.cpp(19)]
PASS : TranslatorEngineLoaderTest::cleanupTestCase()
Totals: 2 passed, 1 failed, 0 skipped, 0 blacklisted, 1ms
********* Finished testing of TranslatorEngineLoaderTest *********
33/74 Test #25: languagetoolupdatecomboboxtest .................. Passed
0.12 sec
34/74 Test #33: translatorconfigurelistswidgettest .............. Passed
0.11 sec
35/74 Test #35: translatormenutest .............................. Passed
0.10 sec
36/74 Test #6: importexportautocorrectionlibreofficetest ....... Passed
0.16 sec
37/74 Test #37: deeplengineclienttest ........................... Passed
0.10 sec
38/74 Test #26: grammarresulttextedittest ....................... Passed
0.12 sec
39/74 Test #36: bingengineclienttest ............................ Passed
0.10 sec
40/74 Test #44: libretranslateengineutiltest .................... Passed
0.09 sec
41/74 Test #41: libretranslateengineclienttest .................. Passed
0.10 sec
42/74 Test #48: lingvaengineutiltest ............................ Passed
0.08 sec
43/74 Test #45: lingvaengineclienttest .......................... Passed
0.09 sec
44/74 Test #40: googleengineclienttest .......................... Passed
0.10 sec
45/74 Test #49: yandexengineclienttest .......................... Passed
0.09 sec
46/74 Test #16: languagetoolconfigwidgettest ....................***Failed
0.15 sec
********* Start testing of LanguageToolConfigWidgetTest *********
Config: Using QtTest library 5.15.10, Qt 5.15.10 (x86_64-little_endian-lp64
shared (dynamic) release build; by GCC 13.2.1 20230728 (Red Hat 13.2.1-1)),
fedora 40
PASS : LanguageToolConfigWidgetTest::initTestCase()
FAIL! : LanguageToolConfigWidgetTest::shouldHaveDefaultValue()
'!refreshButton->icon().isNull()' returned FALSE. ()
Loc:
[/home/tkloczko/rpmbuild/BUILD/ktextaddons-1.5.0/textgrammarcheck/languagetool/autotests/languagetoolconfigwidgettest.cpp(59)]
PASS : LanguageToolConfigWidgetTest::shouldUpdateWidgets()
PASS : LanguageToolConfigWidgetTest::cleanupTestCase()
Totals: 3 passed, 1 failed, 0 skipped, 0 blacklisted, 82ms
********* Finished testing of LanguageToolConfigWidgetTest *********
47/74 Test #60: emoticoncategorybuttonstest ..................... Passed
0.06 sec
48/74 Test #13: grammalecteconfigdialogtest ..................... Passed
0.16 sec
49/74 Test #59: emoticonlistviewtest ............................ Passed
0.07 sec
50/74 Test #61: emoticoncategorybuttontest ...................... Passed
0.07 sec
51/74 Test #74: texttospeech-texttospeechutiltest ............... Passed
0.03 sec
52/74 Test #73: texttospeech-texttospeechsliderwidgettest ....... Passed
0.05 sec
53/74 Test #29: translator-translatorconfiguredialogtest ........ Passed
0.16 sec
54/74 Test #15: languagetoolconfigdialogtest .................... Passed
0.19 sec
55/74 Test #57: unicodeemoticonmanagertest ...................... Passed
0.11 sec
56/74 Test #65: richtexteditortest .............................. Passed
0.09 sec
57/74 Test #71: texttospeech-texttospeechconfigwidgettest ....... Passed
0.07 sec
58/74 Test #42: libretranslateengineconfigurewidgettest ......... Passed
0.15 sec
59/74 Test #63: plaintexteditortest ............................. Passed
0.11 sec
60/74 Test #39: deeplengineconfigurewidgettest .................. Passed
0.18 sec
61/74 Test #46: lingvaenginewidgettest .......................... Passed
0.18 sec
62/74 Test #38: deeplengineconfiguredialogtest .................. Passed
0.22 sec
63/74 Test #72: texttospeech-texttospeechactionstest ............***Failed
0.13 sec
********* Start testing of TextToSpeechActionsTest *********
Config: Using QtTest library 5.15.10, Qt 5.15.10 (x86_64-little_endian-lp64
shared (dynamic) release build; by GCC 13.2.1 20230728 (Red Hat 13.2.1-1)),
fedora 40
PASS : TextToSpeechActionsTest::initTestCase()
FAIL! : TextToSpeechActionsTest::shouldHaveDefaultValue()
'!act.stopAction()->icon().isNull()' returned FALSE. ()
Loc:
[/home/tkloczko/rpmbuild/BUILD/ktextaddons-1.5.0/textedittexttospeech/autotests/texttospeechactionstest.cpp(32)]
PASS :
TextToSpeechActionsTest::shouldChangeButtonEnableStateWhenChangeState()
PASS : TextToSpeechActionsTest::shouldChangeStateWhenClickOnPlayPause()
PASS : TextToSpeechActionsTest::shouldChangeStateWhenClickOnStop()
PASS : TextToSpeechActionsTest::shouldEmitStateChanged()
PASS : TextToSpeechActionsTest::cleanupTestCase()
Totals: 6 passed, 1 failed, 0 skipped, 0 blacklisted, 80ms
********* Finished testing of TextToSpeechActionsTest *********
64/74 Test #47: lingvaenginedialogtest .......................... Passed
0.23 sec
65/74 Test #58: emoticontexteditselectortest .................... Passed
0.20 sec
66/74 Test #43: libretranslateengineconfiguredialogtest ......... Passed
0.24 sec
67/74 Test #69: textreplacewidgettest ........................... Passed
0.18 sec
68/74 Test #66: richtexteditfindbartest ......................... Passed
0.19 sec
69/74 Test #68: textfindwidgettest .............................. Passed
0.21 sec
70/74 Test #64: plaintexteditfindbartest ........................ Passed
0.22 sec
71/74 Test #67: textgotolinewidgettest ..........................***Failed
0.25 sec
********* Start testing of TextGoToLineWidgetTest *********
Config: Using QtTest library 5.15.10, Qt 5.15.10 (x86_64-little_endian-lp64
shared (dynamic) release build; by GCC 13.2.1 20230728 (Red Hat 13.2.1-1)),
fedora 40
PASS : TextGoToLineWidgetTest::initTestCase()
FAIL! : TextGoToLineWidgetTest::shouldHaveDefaultValuesOnCreation()
'line->hasFocus()' returned FALSE. ()
Loc:
[/home/tkloczko/rpmbuild/BUILD/ktextaddons-1.5.0/textcustomeditor/widgets/autotests/textgotolinewidgettest.cpp(34)]
PASS : TextGoToLineWidgetTest::shouldEmitGoToLineSignalWhenPressOnButton()
PASS :
TextGoToLineWidgetTest::shouldEmitGoToLineSignalCorrectValueWhenPressOnButton()
PASS : TextGoToLineWidgetTest::shouldHideWidgetWhenClickOnCloseButton()
PASS : TextGoToLineWidgetTest::shouldHideWidgetWhenPressEscape()
FAIL! :
TextGoToLineWidgetTest::shouldEmitGoToLineSignalWhenSpinboxHasFocusAndWePressEnter()
'line->hasFocus()' returned FALSE. ()
Loc:
[/home/tkloczko/rpmbuild/BUILD/ktextaddons-1.5.0/textcustomeditor/widgets/autotests/textgotolinewidgettest.cpp(86)]
FAIL! : TextGoToLineWidgetTest::shouldHasFocusEachTimeThatItShown()
'line->hasFocus()' returned FALSE. ()
Loc:
[/home/tkloczko/rpmbuild/BUILD/ktextaddons-1.5.0/textcustomeditor/widgets/autotests/textgotolinewidgettest.cpp(101)]
FAIL! : TextGoToLineWidgetTest::shouldSetFocusWhenWeRecallGotToLine()
'line->hasFocus()' returned FALSE. ()
Loc:
[/home/tkloczko/rpmbuild/BUILD/ktextaddons-1.5.0/textcustomeditor/widgets/autotests/textgotolinewidgettest.cpp(115)]
PASS : TextGoToLineWidgetTest::shouldChangeMaximumValue()
PASS : TextGoToLineWidgetTest::cleanupTestCase()
Totals: 7 passed, 4 failed, 0 skipped, 0 blacklisted, 164ms
********* Finished testing of TextGoToLineWidgetTest *********
72/74 Test #1: slidecontainertest .............................. Passed
2.60 sec
73/74 Test #28: translator-translatorwidgettest .................Subprocess
aborted***Exception: 2.96 sec
********* Start testing of TranslatorWidgetTest *********
Config: Using QtTest library 5.15.10, Qt 5.15.10 (x86_64-little_endian-lp64
shared (dynamic) release build; by GCC 13.2.1 20230728 (Red Hat 13.2.1-1)),
fedora 40
PASS : TranslatorWidgetTest::initTestCase()
QWARN : TranslatorWidgetTest::shouldHaveDefaultValuesOnCreation()
org.kde.kf.texttranslator: No translator plugins available!
QWARN : TranslatorWidgetTest::shouldHaveDefaultValuesOnCreation()
org.kde.kf.texttranslator: Client name not found: "google"
QWARN : TranslatorWidgetTest::shouldHaveDefaultValuesOnCreation()
org.kde.kf.texttranslator: No plugin found !
QWARN : TranslatorWidgetTest::shouldHaveDefaultValuesOnCreation()
org.kde.kf.texttranslator: Client name not found: "google"
QWARN : TranslatorWidgetTest::shouldHaveDefaultValuesOnCreation()
org.kde.kf.texttranslator: No plugin found !
=== Received signal at function time: 15ms, total time: 15ms, dumping stack ===
GNU gdb (GDB) G2V 13.2-8.fc35
Copyright (C) 2023 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
Attaching to process 2445575
[New LWP 2445639]
[New LWP 2445642]
[New LWP 2445689]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
0x00007fa37fd1cee3 in wait4 () from /lib64/libc.so.6
(gdb)
Thread 4 (Thread 0x7fa37b24d6c0 (LWP 2445689) "QThread"):
#0 0x00007fa37fca92f9 in __futex_abstimed_wait_common () from /lib64/libc.so.6
No symbol table info available.
#1 0x00007fa37fcac322 in pthread_cond_clockwait@GLIBC_2.30 () from
/lib64/libc.so.6
No symbol table info available.
#2 0x00007fa3818912e0 in QTest::WatchDog::run() () from /lib64/libQt5Test.so.5
No symbol table info available.
#3 0x00007fa3802f55ad in QThreadPrivate::start(void*) () from
/lib64/libQt5Core.so.5
No symbol table info available.
#4 0x00007fa37fcaca27 in start_thread () from /lib64/libc.so.6
No symbol table info available.
#5 0x00007fa37fd33cfc in clone3 () from /lib64/libc.so.6
No symbol table info available.
Thread 3 (Thread 0x7fa37ba6f6c0 (LWP 2445642) "QXcbEventQueue"):
#0 0x00007fa37fd2617d in poll () from /lib64/libc.so.6
No symbol table info available.
#1 0x00007fa37c7575fa in _xcb_conn_wait.part.0 () from /lib64/libxcb.so.1
No symbol table info available.
#2 0x00007fa37c758e7c in xcb_wait_for_event () from /lib64/libxcb.so.1
No symbol table info available.
#3 0x00007fa37c605d5a in QXcbEventQueue::run() () from
/lib64/libQt5XcbQpa.so.5
No symbol table info available.
#4 0x00007fa3802f55ad in QThreadPrivate::start(void*) () from
/lib64/libQt5Core.so.5
No symbol table info available.
#5 0x00007fa37fcaca27 in start_thread () from /lib64/libc.so.6
No symbol table info available.
#6 0x00007fa37fd33cfc in clone3 () from /lib64/libc.so.6
No symbol table info available.
Thread 2 (Thread 0x7fa37c2cc6c0 (LWP 2445639) "QDBusConnection"):
#0 0x00007fa37fd2617d in poll () from /lib64/libc.so.6
No symbol table info available.
#1 0x00007fa37f249f26 in g_main_context_iterate_unlocked.isra () from
/lib64/libglib-2.0.so.0
No symbol table info available.
#2 0x00007fa37f24a4b3 in g_main_context_iteration () from
/lib64/libglib-2.0.so.0
No symbol table info available.
#3 0x00007fa380502379 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /lib64/libQt5Core.so.5
No symbol table info available.
#4 0x00007fa3804af09b in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/lib64/libQt5Core.so.5
No symbol table info available.
#5 0x00007fa3802f4670 in QThread::exec() () from /lib64/libQt5Core.so.5
No symbol table info available.
#6 0x00007fa37f08a73b in QDBusConnectionManager::run() () from
/lib64/libQt5DBus.so.5
No symbol table info available.
#7 0x00007fa3802f55ad in QThreadPrivate::start(void*) () from
/lib64/libQt5Core.so.5
No symbol table info available.
#8 0x00007fa37fcaca27 in start_thread () from /lib64/libc.so.6
No symbol table info available.
#9 0x00007fa37fd33cfc in clone3 () from /lib64/libc.so.6
No symbol table info available.
Thread 1 (Thread 0x7fa37f02c9c0 (LWP 2445575) "translatorwidge"):
#0 0x00007fa37fd1cee3 in wait4 () from /lib64/libc.so.6
No symbol table info available.
#1 0x00007fa37fc6e20b in do_system () from /lib64/libc.so.6
No symbol table info available.
#2 0x00007fa38188957b in stackTrace() [clone .part.0] () from
/lib64/libQt5Test.so.5
No symbol table info available.
#3 0x00007fa381889e83 in QTest::FatalSignalHandler::signal(int) () from
/lib64/libQt5Test.so.5
No symbol table info available.
#4 <signal handler called>
No symbol table info available.
#5 0x00007fa3818f206d in
TextTranslator::TranslatorWidget::slotFromLanguageChanged
(this=this@entry=0x7ffc34058910, index=index@entry=0,
initialize=initialize@entry=true) at
/home/tkloczko/rpmbuild/BUILD/ktextaddons-1.5.0/texttranslator/translator/widgets/translatorwidget.cpp:380
lang = {d = 0x55763c0198a0 <QArrayData::shared_null@Qt_5>}
to = {d = 0x55763c0198a0 <QArrayData::shared_null@Qt_5>}
indexTo = <optimized out>
#6 0x00007fa3818f5bf1 in TextTranslator::TranslatorWidget::init
(this=this@entry=0x7ffc34058910) at
/home/tkloczko/rpmbuild/BUILD/ktextaddons-1.5.0/texttranslator/translator/widgets/translatorwidget.cpp:310
layout = 0x55763d8e10c0
hboxLayout = <optimized out>
closeBtn = <optimized out>
label = <optimized out>
separator = <optimized out>
configureButton = <optimized out>
#7 0x00007fa3818f5ea1 in TextTranslator::TranslatorWidget::TranslatorWidget
(this=<optimized out>, parent=<optimized out>, this=<optimized out>,
parent=<optimized out>) at
/home/tkloczko/rpmbuild/BUILD/ktextaddons-1.5.0/texttranslator/translator/widgets/translatorwidget.cpp:134
No locals.
#8 0x000055763c015841 in
TranslatorWidgetTest::shouldHaveDefaultValuesOnCreation (this=<optimized out>)
at
/home/tkloczko/rpmbuild/BUILD/ktextaddons-1.5.0/texttranslator/translator/autotests/translatorwidgettest.cpp:28
edit = {<QWidget> = {<No data fields>}, static staticMetaObject = {d =
{superdata = {direct = 0x7fa3816c0ac0 <QWidget::staticMetaObject>}, stringdata
= 0x7fa3818fa100 <qt_meta_stringdata_TextTranslator__TranslatorWidget>, data =
0x7fa3818f9fe0 <qt_meta_data_TextTranslator__TranslatorWidget>, static_metacall
= 0x7fa3818f1f00
<TextTranslator::TranslatorWidget::qt_static_metacall(QObject*,
QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}},
d = {_M_t =
{<std::__uniq_ptr_impl<TextTranslator::TranslatorWidget::TranslatorWidgetPrivate,
std::default_delete<TextTranslator::TranslatorWidget::TranslatorWidgetPrivate>
>> = {_M_t = {<std::_Tuple_impl<0,
TextTranslator::TranslatorWidget::TranslatorWidgetPrivate*,
std::default_delete<TextTranslator::TranslatorWidget::TranslatorWidgetPrivate>
>> = {<std::_Tuple_impl<1,
std::default_delete<TextTranslator::TranslatorWidget::TranslatorWidgetPrivate>
>> = {<std::_Head_base<1,
std::default_delete<TextTranslator::TranslatorWidget::TranslatorWidgetPrivate>,
true>> = {_M_head_impl = {<No data fields>}}, <No data fields>},
<std::_Head_base<0, TextTranslator::TranslatorWidget::TranslatorWidgetPrivate*,
false>> = {_M_head_impl = 0x55763d8dd970}, <No data fields>}, <No data
fields>}}, <No data fields>}}}
from = <optimized out>
inputtext = <optimized out>
clear = <optimized out>
invert = <optimized out>
to = <optimized out>
translate = <optimized out>
configure = <optimized out>
close = <optimized out>
edit = <optimized out>
from = <optimized out>
to = <optimized out>
inputtext = <optimized out>
translate = <optimized out>
clear = <optimized out>
invert = <optimized out>
configure = <optimized out>
close = <optimized out>
#9 TranslatorWidgetTest::qt_static_metacall (_o=<optimized out>,
_id=<optimized out>, _a=<optimized out>, _c=<optimized out>) at
/home/tkloczko/rpmbuild/BUILD/ktextaddons-1.5.0/x86_64-redhat-linux-gnu/texttranslator/translator/autotests/translatorwidgettest_autogen/include/moc_translatorwidgettest.cpp:93
_t = <optimized out>
#10 0x00007fa3804bf0fe in QMetaMethod::invoke(QObject*, Qt::ConnectionType,
QGenericReturnArgument, QGenericArgument, QGenericArgument, QGenericArgument,
QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument,
QGenericArgument, QGenericArgument, QGenericArgument) const () from
/lib64/libQt5Core.so.5
No symbol table info available.
#11 0x00007fa381892548 in QTest::TestMethods::invokeTestOnData(int) const ()
from /lib64/libQt5Test.so.5
No symbol table info available.
#12 0x00007fa381892ff0 in QTest::TestMethods::invokeTest(int, char const*,
QTest::WatchDog*) const () from /lib64/libQt5Test.so.5
No symbol table info available.
#13 0x00007fa3818935c9 in QTest::TestMethods::invokeTests(QObject*) const ()
from /lib64/libQt5Test.so.5
No symbol table info available.
#14 0x00007fa381893b30 in QTest::qRun() () from /lib64/libQt5Test.so.5
No symbol table info available.
#15 0x00007fa381893f07 in QTest::qExec(QObject*, int, char**) () from
/lib64/libQt5Test.so.5
No symbol table info available.
#16 0x000055763c013f83 in main (argc=<optimized out>, argv=0x7ffc34059568) at
/home/tkloczko/rpmbuild/BUILD/ktextaddons-1.5.0/texttranslator/translator/autotests/translatorwidgettest.cpp:19
app = <incomplete type>
tc = {<QObject> = {<No data fields>}, static staticMetaObject = {d =
{superdata = {direct = 0x55763c0197e0 <QObject::staticMetaObject@Qt_5>},
stringdata = 0x55763c017c00 <qt_meta_stringdata_TranslatorWidgetTest>, data =
0x55763c0176a0 <qt_meta_data_TranslatorWidgetTest>, static_metacall =
0x55763c016b00 <TranslatorWidgetTest::qt_static_metacall(QObject*,
QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}}
Detaching from program:
/home/tkloczko/rpmbuild/BUILD/ktextaddons-1.5.0/x86_64-redhat-linux-gnu/bin/translatorwidgettest,
process 2445575
[Inferior 1 (process 2445575) detached]
=== End of stack trace ===
QFATAL : TranslatorWidgetTest::shouldHaveDefaultValuesOnCreation() Received
signal 11
Function time: 15ms Total time: 15ms
FAIL! : TranslatorWidgetTest::shouldHaveDefaultValuesOnCreation() Received a
fatal error.
Loc: [Unknown file(0)]
Totals: 1 passed, 1 failed, 0 skipped, 0 blacklisted, 2648ms
********* Finished testing of TranslatorWidgetTest *********
74/74 Test #70: texttospeech-texttospeechwidgettest .............***Failed
7.54 sec
********* Start testing of TextToSpeechWidgetTest *********
Config: Using QtTest library 5.15.10, Qt 5.15.10 (x86_64-little_endian-lp64
shared (dynamic) release build; by GCC 13.2.1 20230728 (Red Hat 13.2.1-1)),
fedora 40
PASS : TextToSpeechWidgetTest::initTestCase()
FAIL! : TextToSpeechWidgetTest::shouldHaveDefaultValue()
'!stopButton->icon().isNull()' returned FALSE. ()
Loc:
[/home/tkloczko/rpmbuild/BUILD/ktextaddons-1.5.0/textedittexttospeech/autotests/texttospeechwidgettest.cpp(49)]
PASS : TextToSpeechWidgetTest::shouldChangeButtonEnableStateWhenChangeState()
PASS : TextToSpeechWidgetTest::shouldChangeStateWhenClickOnPlayPause()
PASS : TextToSpeechWidgetTest::shouldChangeStateWhenClickOnStop()
PASS : TextToSpeechWidgetTest::shouldEmitStateChanged()
PASS : TextToSpeechWidgetTest::cleanupTestCase()
Totals: 6 passed, 1 failed, 0 skipped, 0 blacklisted, 7478ms
********* Finished testing of TextToSpeechWidgetTest *********
89% tests passed, 8 tests failed out of 74
Total Test time (real) = 7.70 sec
The following tests FAILED:
8 - grammalecteresultwidgettest (Failed)
11 - grammalecteconfigwidgettest (Failed)
16 - languagetoolconfigwidgettest (Failed)
28 - translator-translatorwidgettest (Subprocess aborted)
31 - translator-translatorengineloadertest (Failed)
67 - textgotolinewidgettest (Failed)
70 - texttospeech-texttospeechwidgettest (Failed)
72 - texttospeech-texttospeechactionstest (Failed)
Errors while running CTest
```
EXPECTED RESULT
test suite should not fail.
Looks like test suite expects some additional components which should be
installed in build env and IMO detection of those components should be added
when "-D BUILD_TESTING=ON" is used.
--
You are receiving this mail because:
You are watching all bug changes.