Re: Confusing unit test error
> On 6 Sep 2023, at 10:41 AM, Xisco Fauli wrote: > > Hello, > > That failure is not related to your patch, see the discussion in > https://gerrit.libreoffice.org/c/core/+/156563. > This should be fixed in master, so I rebased the change and the build is passing now. Regards, Khaled
Re: Confusing unit test error
Hello, That failure is not related to your patch, see the discussion in https://gerrit.libreoffice.org/c/core/+/156563. Meanwhile, I've resumed your build. Regards On 6/9/23 5:21, Lodev wrote: 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 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 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 -- Xisco Faulí LibreOffice QA Team IRC: x1sc0
Confusing unit test error
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 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 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