LibreOffice bridges/smoketest on mips(64)el (was: Re: unbreaking LibreOffices tests on at least release architectures)
- To: Adrian Bunk <bunk@debian.org>
- Cc: debian-ports@lists.debian.org
- Subject: LibreOffice bridges/smoketest on mips(64)el (was: Re: unbreaking LibreOffices tests on at least release architectures)
- From: Rene Engelhard <rene@debian.org>
- Date: Mon, 3 Jul 2023 21:31:29 +0200
- Message-id: <[🔎] 2d10f40a-f6b9-74f3-107d-36c03b5c8d9a@debian.org>
- In-reply-to: <9a691bb4-c3b4-10d0-3d66-566fc4f92c6a@debian.org>
- References: <d47e7314-6fd5-7b83-f482-24235d4777e3@debian.org> <ZJDGclxwj3Hnp7j2@localhost> <2faf6bb1-602e-2c8d-70d6-46e81d2c7866@debian.org> <ebdf2113-a194-1da9-4cf9-87af9f1ce521@debian.org> <ZJFiZdz2MFHUb9DY@localhost> <9a691bb4-c3b4-10d0-3d66-566fc4f92c6a@debian.org>
Hi,
Am 25.06.23 um 13:37 schrieb Rene Engelhard:
what about the
following:
- make all test failures fatal on a*64 (since upstream tests these), and
- make smoketest failures fatal on all architectures (including ports)
That was implemented (+ two more important tests) in experimental. See
https://buildd.debian.org/status/package.php?p=libreoffice
It does
- bridgetest
- smoketest
- pyuno
What fails for release archs astonishingly is only mips(64)el. Let's
continue on -mips...
For that matter mipsel seems to be even more broken. A --without-java
builds also breaks at the smoketest with a segfault (tried on eller):
That said even the most important test fails. The bridgetest:
[build BIN] testtools
S=/<<PKGBUILDDIR>> && I=$S/instdir &&
W=$S/workdir && mkdir -p $W/Module/nonl10n/ && touch
$W/Module/nonl10n/testtools
S=/<<PKGBUILDDIR>> && I=$S/instdir &&
W=$S/workdir &&
LD_LIBRARY_PATH=${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}"$I/program:$I/program"
$I/program/uno.bin -s com.sun.star.test.bridge.BridgeTest --
com.sun.star.test.bridge.CppTestObject
-env:LO_BUILD_LIB_DIR=file://$W/LinkTarget/Library
-env:URE_MORE_SERVICES=file://$W/Rdb/uno_services.rdb
-env:URE_MORE_TYPES=file://$W/UnoApiTarget/bridgetest.rdb
[build MOD] testtools
S=/<<PKGBUILDDIR>> && I=$S/instdir &&
W=$S/workdir && mkdir -p $W/Module/
&& touch $W/Module/testtools
### bool does not match! failed
### char does not match! failed
### byte does not match! failed
### short does not match! failed
### unsigned short does not match! failed
### long does not match! failed
### unsigned long does not match! failed
### hyper does not match! failed
### unsigned hyper does not match! failed
### enum does not match! failed
### byte2 does not match! failed
### short2 does not match! failed
struct comparison test failed
ppc-style alignment test failed
ppc64-style alignment test failed
### bool does not match! failed
### char does not match! failed
### byte does not match! failed
### short does not match! failed
### unsigned short does not match! failed
### long does not match! failed
### unsigned long does not match! failed
### hyper does not match! failed
### unsigned hyper does not match! failed
### enum does not match! failed
### byte2 does not match! failed
### short2 does not match! failed
recursive test results failed
remote multi failed: 11 != -1715038976
local multi failed: 11 != -1715038976
standard test failed
exception occurred: error: test failed! at
./testtools/source/bridgetest/bridgetest.cxx:1271
> error: error: test failed! at
./testtools/source/bridgetest/bridgetest.cxx:1271
> dying...make[3]: ***
[/<<PKGBUILDDIR>>/testtools/CustomTarget_uno_test.mk:25:
/<<PKGBUILDDIR>>/workdir/CustomTarget/testtools/uno_test.done]
Error 1
So the smoketest isn't even ran.
-> mipsel is fundamentally broken and libreoffice probably be removed
from it.
For mips64el I do have some hope as the failure is
[build CUT] smoketest
S=/<<PKGBUILDDIR>> && I=$S/instdir &&
W=$S/workdir && mkdir -p $W/CppunitTest/ && rm -fr
$W/CppunitTest/smoketest.test.user && cp -r $W/unittest
$W/CppunitTest/smoketest.test.user &
& rm -fr $W/CppunitTest/smoketest.test.core && mkdir
$W/CppunitTest/smoketest.test.core && cd
$W/CppunitTest/smoketest.test.core && ( MAX_CONCURRENCY=4
MOZILLA_CERTIFICATE_FOLDER=dbm: SAL_DISABLE_SYNCHRONOU
S_PRINTER_DETECTION=1 SAL_USE_VCLPLUGIN=svp LIBO_LANG=C
LD_LIBRARY_PATH=${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}"$I/program:$I/program":$W/UnpackedTarball/cppunit/src/cppunit/.libs
$W/LinkTarget/Executable/cppunittester $W
/LinkTarget/CppunitTest/libtest_smoketest.so --headless
"-env:BRAND_BASE_DIR=file://$S/instdir"
"-env:BRAND_SHARE_SUBDIR=share"
"-env:BRAND_SHARE_RESOURCE_SUBDIR=program/resource"
"-env:UserInstallation=
file://$W/CppunitTest/smoketest.test.user"
"-env:UNO_TYPES=file://$I/program/types.rdb
file://$I/program/types/offapi.rdb"
"-env:UNO_SERVICES=file://$W/Rdb/ure/services.rdb"
-env:URE_BIN_DIR=file://$I/program
-env:URE_INTERNAL_LIB_DIR=file://$I/program
-env:LO_LIB_DIR=file://$I/program
-env:LO_JAVA_DIR=file://$I/program/classes --protector
$W/LinkTarget/Library/unoexceptionprotector.so unoexceptionprotector
--protector $W/LinkTarget/Library/un
obootstrapprotector.so unobootstrapprotector
-env:arg-soffice=path:$I/program/soffice
-env:arg-user=$W/CustomTarget/smoketest
-env:arg-env=LD_LIBRARY_PATH"${LD_LIBRARY_PATH+=$LD_LIBRARY_PATH}"
-env:arg-testarg.smoketest.doc=$W
/Zip/smoketestdoc.sxw
"-env:CPPUNITTESTTARGET=$W/CppunitTest/smoketest.test" )
2>&1
[_RUN_____] (anonymous namespace)::Test::test
(process:2108170): dconf-CRITICAL **: 05:13:49.716: unable to create
directory '/run/user/2952/dconf': Permission denied. dconf will not
work properly.
Fontconfig error: No writable cache directories
Fontconfig error: No writable cache directories
(process:2108244): dconf-CRITICAL **: 05:13:50.371: unable to create
directory '/run/user/2952/dconf': Permission denied. dconf will not
work properly.
Fontconfig error: No writable cache directories
Fontconfig error: No writable cache directories
(process:2108350): dconf-CRITICAL **: 05:13:55.303: unable to create
directory '/run/user/2952/dconf': Permission denied. dconf will not
work properly.
./smoketest/smoketest.cxx:190:(anonymous namespace)::Test::test
equality assertion failed
- Expected:
- Actual : Extensions:install(Extension Install Extension)
(anonymous namespace)::Test::test finished in: 12229ms
smoketest.cxx:190:Assertion
Test name: (anonymous namespace)::Test::test
equality assertion failed
- Expected:
- Actual : Extensions:install(Extension Install Extension)
Failures !!!
Run: 1 Failure total: 1 Failures: 1 Errors: 0
make[2]: ***
[/<<PKGBUILDDIR>>/solenv/gbuild/CppunitTest.mk:121:
/<<PKGBUILDDIR>>/workdir/CppunitTest/smoketest.test] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>/smoketest'
make[1]: *** [/<<PKGBUILDDIR>>/debian/rules:2288: check] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:2161: debian/stampdir/build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch subprocess returned
exit status 2
--------------------------------------------------------------------------------
Build finished at 2023-07-03T05:14:01Z
so testtools passes (yay!).
This test extension to be installed is a Java extension.
So I am running a nojava build on eller now... I don't really like
disabling Java since this opens Pandoras box but for mips64el we
probably could do that.
Regards,
Rene
Reply to: