Confusing unit test error
Lodev
lodev at ossii.com.tw
Wed Sep 6 03:21:10 UTC 2023
Hi,
We sent a patch to gerrit. Before sending it we did "make sw.check" and
passed. But after submitting Jenkins reported a unit test error. So we
tried to "make check" again.
It failed, but not the way Jenkins reported.
[CUT]i18npool_transliteration
[_RUN_____] (anonymous namespace)::IndexEntry::testJapanese
unknown:0:(anonymous namespace)::IndexEntry::testJapanese
An uncaught exception of type
com.sun.star.loader.CannotActivateFactoryException
- no constructor symbol
"i18npool_IndexEntrySupplier_ja_phonetic_alphanumeric_first_by_consonant_get_imp
lementation" in component library
<file:///opt/git/libreoffice.core/instdir/program/libi18npoollo.so> at
/opt/git/libreoffice.core/cppuhelper/source/shlib.cxx:344
(anonymous namespace)::IndexEntry::testJapanese finished in: 4ms
##Failure Location unknown## : Error
Test name: (anonymous namespace)::IndexEntry::testJapanese
An uncaught exception of type
com.sun.star.loader.CannotActivateFactoryException
- no constructor symbol
"i18npool_IndexEntrySupplier_ja_phonetic_alphanumeric_first_by_consonant_get_imp
lementation" in component library
<file:///opt/git/libreoffice.core/instdir/program/libi18npoollo.so> at
/opt/git/libreoffice.core/cppuhelper/source/shlib.cxx:344
Failures !!!
Run: 1 Failure total: 1 Failures: 0 Errors: 1
on Jenkins https://ci.libreoffice.org/job/gerrit_master_ml/2094/ the
error was:
Execution time for tdf147755.Tdf147755.test_tdf147755: 0.866
close
FAIL
======================================================================
FAIL: test_tdf147755 (tdf147755.Tdf147755)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/tdf/lode/jenkins/workspace/lo_gerrit/Config/linux_clang_dbgutil_64/uitest/math_tests/tdf147755.py", line 30, in test_tdf147755
self.assertEqual("%ALPHA ", get_state_as_dict(xEditView)["Text"])
AssertionError: '%ALPHA ' != '%ALPHA'
- %ALPHA
? -
+ %ALPHA
----------------------------------------------------------------------
Ran 5 tests in 9.984s
FAILED (failures=1)
Tests run: 5
Tests failed: 1
Tests errors: 0
Tests skipped: 0
tearDown: calling terminate()...
...done
Either one we have no idea what to do and how to solve it. Could anyone
please give us some hints and advice?
Thanks, Dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20230906/c95d07ec/attachment.htm>
More information about the LibreOffice
mailing list