Il 09/08/23 08:22, Stephan Bergmann - sbergman at redhat.com ha scritto: > On 8/8/23 23:42, Tomaž Vajngerl wrote: >> I wonder if the testFormulaRefUpdate could also be influenced by a >> change in execution order? Might be good to investigate... > In general, note that while most upstream builds here (Jenkins and > personal developer ones) use the bundled external/cppunit, and thus have > <https://git.libreoffice.org/cppunit/+/64eaa35c2de99581e522608e841defffb4b2923b%5E%21> > "Run tests in deterministic order", many downstream distro builds likely > use a version of CppUnit that does not yet carry that change. > > Yep, building against a patched cppunit to run tests in deterministic order fixed most of the problems. However, I now get few slowcheck tests failures (in 7.6.0.3) which are crashing against libuno (I think). For example: [_RUN_____] testTdf152413::TestBody Fatal exception: Signal 6 Stack: /builddir/build/BUILD/libreoffice-7.6.0.3/instdir/program/libuno_sal.so.3(+0x4fb78)[0xffffa341fb78] /builddir/build/BUILD/libreoffice-7.6.0.3/instdir/program/libuno_sal.so.3(+0x4fd90)[0xffffa341fd90] linux-vdso.so.1(__kernel_rt_sigreturn+0x0)[0xffffa35497fc] /lib64/libc.so.6(+0x8f038)[0xffffa2ebf038] /lib64/libc.so.6(raise+0x20)[0xffffa2e75680] /lib64/libc.so.6(abort+0xf4)[0xffffa2e60284] /builddir/build/BUILD/libreoffice-7.6.0.3/instdir/program/libvcllo.so(_ZN3psp16PrintFontManager10SubstituteERN3vcl4font17FontSelectPatternERN3rtl8OUStringE+0xbc4)[0xffff9f7af5f4] /builddir/build/BUILD/libreoffice-7.6.0.3/instdir/program/libvcllo.so(+0x8e0004)[0xffff9f7b0004] /builddir/build/BUILD/libreoffice-7.6.0.3/instdir/program/libvcllo.so(_ZNK3vcl4font22PhysicalFontCollection14FindFontFamilyERNS0_17FontSelectPatternE+0x1ec)[0xffff9f67ca2c] /builddir/build/BUILD/libreoffice-7.6.0.3/instdir/program/libvcllo.so(+0x7ae624)[0xffff9f67e624] /builddir/build/BUILD/libreoffice-7.6.0.3/instdir/program/libvcllo.so(+0x7b0790)[0xffff9f680790] /builddir/build/BUILD/libreoffice-7.6.0.3/instdir/program/libvcllo.so(_ZNK12OutputDevice11ImplNewFontEv+0x104)[0xffff9f3c7154] /builddir/build/BUILD/libreoffice-7.6.0.3/instdir/program/libvcllo.so(_ZNK12OutputDevice13GetFontMetricEv+0x44)[0xffff9f3c8978] /builddir/build/BUILD/libreoffice-7.6.0.3/instdir/program/libswlo.so(+0x7c5e6c)[0xffff990f5e6c] /builddir/build/BUILD/libreoffice-7.6.0.3/instdir/program/libswlo.so(+0x7e5610)[0xffff99115610] /builddir/build/BUILD/libreoffice-7.6.0.3/instdir/program/libswlo.so(+0x7e5a58)[0xffff99115a58] /builddir/build/BUILD/libreoffice-7.6.0.3/instdir/program/libswlo.so(+0x742508)[0xffff99072508] /builddir/build/BUILD/libreoffice-7.6.0.3/instdir/program/libswlo.so(+0x74faf4)[0xffff9907faf4] /builddir/build/BUILD/libreoffice-7.6.0.3/instdir/program/libswlo.so(+0x750c1c)[0xffff99080c1c] /builddir/build/BUILD/libreoffice-7.6.0.3/instdir/program/libswlo.so(+0x763e88)[0xffff99093e88] /builddir/build/BUILD/libreoffice-7.6.0.3/instdir/program/libswlo.so(_ZN11SwTextFrame10FormatLineER15SwTextFormatterb+0x90)[0xffff9905c1e0] /builddir/build/BUILD/libreoffice-7.6.0.3/instdir/program/libswlo.so(_ZN11SwTextFrame7Format_ER15SwTextFormatterR16SwTextFormatInfob+0x378)[0xffff9906642c] /builddir/build/BUILD/libreoffice-7.6.0.3/instdir/program/libswlo.so(_ZN11SwTextFrame10FormatImplEP12OutputDeviceP13SwParaPortionRSt6vectorIP16SwAnchoredObjectSaIS6_EE+0x230)[0xffff990676c0] /builddir/build/BUILD/libreoffice-7.6.0.3/instdir/program/libswlo.so(_ZN11SwTextFrame6FormatEP12OutputDevicePK13SwBorderAttrs+0x7f4)[0xffff99068538] /builddir/build/BUILD/libreoffice-7.6.0.3/instdir/program/libswlo.so(_ZN14SwContentFrame7MakeAllEP12OutputDevice+0x8f4)[0xffff98f8b114] /builddir/build/BUILD/libreoffice-7.6.0.3/instdir/program/libswlo.so(_ZN7SwFrame14OptPrepareMakeEv+0xbc)[0xffff98f75dac] /builddir/build/BUILD/libreoffice-7.6.0.3/instdir/program/libswlo.so(+0xe47a70)[0xffff99777a70] /builddir/build/BUILD/libreoffice-7.6.0.3/instdir/program/libswlo.so(+0xe477d4)[0xffff997777d4] /builddir/build/BUILD/libreoffice-7.6.0.3/instdir/program/libswlo.so(+0x687200)[0xffff98fb7200] /builddir/build/BUILD/libreoffice-7.6.0.3/instdir/program/libswlo.so(+0x68829c)[0xffff98fb829c] /builddir/build/BUILD/libreoffice-7.6.0.3/instdir/program/libswlo.so(_ZN11SwViewShell13ImplEndActionEb+0x408)[0xffff99333198] /builddir/build/BUILD/libreoffice-7.6.0.3/instdir/program/libswlo.so(_ZN13SwCursorShell9EndActionEb+0x130)[0xffff98cfaa70] /builddir/build/BUILD/libreoffice-7.6.0.3/instdir/program/libswlo.so(_ZN6SwView16OuterResizePixelERK5PointRK4Size+0x26c)[0xffff996054dc] /builddir/build/BUILD/libreoffice-7.6.0.3/instdir/program/libsfxlo.so(_ZN12SfxViewFrame20DoAdjustPosSizePixelEP12SfxViewShellRK5PointRK4Sizeb+0xe4)[0xffff9ac1dba4] /builddir/build/BUILD/libreoffice-7.6.0.3/instdir/program/libsfxlo.so(_ZN12SfxViewFrame6ResizeEb+0x124)[0xffff9ac1dcd4] /builddir/build/BUILD/libreoffice-7.6.0.3/instdir/program/libvcllo.so(+0x39cb88)[0xffff9f26cb88] /builddir/build/BUILD/libreoffice-7.6.0.3/instdir/program/libvcllo.so(_ZN3vcl6Window4ShowEb9ShowFlags+0xa4)[0xffff9f2e94e4] /builddir/build/BUILD/libreoffice-7.6.0.3/instdir/program/libsfxlo.so(+0x3f2044)[0xffff9ac12044] /builddir/build/BUILD/libreoffice-7.6.0.3/instdir/program/libsfxlo.so(_ZN17SfxBaseController11attachFrameERKN3com3sun4star3uno9ReferenceINS2_5frame6XFrameEEE+0x19c)[0xffff9ac1312c] /builddir/build/BUILD/libreoffice-7.6.0.3/instdir/program/libsfxlo.so(+0x3da45c)[0xffff9abfa45c] /builddir/build/BUILD/libreoffice-7.6.0.3/instdir/program/libfwklo.so(+0x186064)[0xffff96d26064] /builddir/build/BUILD/libreoffice-7.6.0.3/instdir/program/libfwklo.so(+0x17e424)[0xffff96d1e424] /builddir/build/BUILD/libreoffice-7.6.0.3/instdir/program/libfwklo.so(_ZN9framework7Desktop20loadComponentFromURLERKN3rtl8OUStringES4_iRKN3com3sun4star3uno8SequenceINS7_5beans13PropertyValueEEE+0x12c)[0xffff96d39900] /builddir/build/BUILD/libreoffice-7.6.0.3/workdir/LinkTarget/CppunitTest/../Library/libunotest.so(_ZN7unotest10MacrosTest15loadFromDesktopERKN3rtl8OUStringES4_RKN3com3sun4star3uno8SequenceINS7_5beans13PropertyValueEEE+0x484)[0xffff98838688] /builddir/build/BUILD/libreoffice-7.6.0.3/workdir/LinkTarget/CppunitTest/../Library/libsubsequenttest.so(_ZN10UnoApiTest4loadERKN3rtl8OUStringEPKc+0x1ec)[0xffff9a6ed1bc] /builddir/build/BUILD/libreoffice-7.6.0.3/workdir/LinkTarget/CppunitTest/../Library/libswqahelper.so(_ZN15SwModelTestBase7loadURLERKN3rtl8OUStringEPKc+0x58)[0xffff988eb6a8] /builddir/build/BUILD/libreoffice-7.6.0.3/workdir/LinkTarget/CppunitTest/../Library/libswqahelper.so(_ZN15SwModelTestBase11createSwDocEPKcS1_+0x78)[0xffff988ec528] /builddir/build/BUILD/libreoffice-7.6.0.3/workdir/LinkTarget/CppunitTest/libtest_sw_layoutwriter.so(+0x51540)[0xffff9b371540] /lib64/libcppunit-1.15.so.1(+0x2d7ac)[0xffffa349d7ac] /builddir/build/BUILD/libreoffice-7.6.0.3/workdir/LinkTarget/Library/unoexceptionprotector.so(+0x1081c)[0xffffa2da081c] /lib64/libcppunit-1.15.so.1(_ZN7CppUnit16DefaultProtector7protectERKNS_7FunctorERKNS_16ProtectorContextE+0x3c)[0xffffa349d070] /lib64/libcppunit-1.15.so.1(_ZN7CppUnit14ProtectorChain7protectERKNS_7FunctorERKNS_16ProtectorContextE+0x34c)[0xffffa349304c] /lib64/libcppunit-1.15.so.1(_ZN7CppUnit10TestResult7protectERKNS_7FunctorEPNS_4TestERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0x80)[0xffffa349fbe4] /lib64/libcppunit-1.15.so.1(_ZN7CppUnit8TestCase3runEPNS_10TestResultE+0x1d4)[0xffffa34a7c44] /lib64/libcppunit-1.15.so.1(_ZN7CppUnit13TestComposite15doRunChildTestsEPNS_10TestResultE+0xe0)[0xffffa349dce0] /lib64/libcppunit-1.15.so.1(_ZN7CppUnit13TestComposite3runEPNS_10TestResultE+0x58)[0xffffa349da08] /lib64/libcppunit-1.15.so.1(_ZN7CppUnit13TestComposite15doRunChildTestsEPNS_10TestResultE+0xe0)[0xffffa349dce0] /lib64/libcppunit-1.15.so.1(_ZN7CppUnit13TestComposite3runEPNS_10TestResultE+0x58)[0xffffa349da08] /lib64/libcppunit-1.15.so.1(_ZN7CppUnit10TestResult7runTestEPNS_4TestE+0x38)[0xffffa349ea18] /lib64/libcppunit-1.15.so.1(_ZN7CppUnit10TestRunner3runERNS_10TestResultERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0x70)[0xffffa34a48a4] /builddir/build/BUILD/libreoffice-7.6.0.3/workdir/LinkTarget/Executable/cppunittester(+0x143b4)[0xaaaad92543b4] /builddir/build/BUILD/libreoffice-7.6.0.3/workdir/LinkTarget/Executable/cppunittester(+0x152f0)[0xaaaad92552f0] /builddir/build/BUILD/libreoffice-7.6.0.3/workdir/LinkTarget/Executable/cppunittester(+0x10a38)[0xaaaad9250a38] /lib64/libc.so.6(+0x309d8)[0xffffa2e609d8] /lib64/libc.so.6(__libc_start_main+0x9c)[0xffffa2e60ab0] /builddir/build/BUILD/libreoffice-7.6.0.3/workdir/LinkTarget/Executable/cppunittester(+0x10ab0)[0xaaaad9250ab0]