Re: LibreOffice bridges/smoketest on mips(64)el (was: Re: unbreaking LibreOffices tests on at least release architectures)

2023-07-04 Thread René Engelhard
Hi,

Am 4. Juli 2023 13:29:48 MESZ schrieb Adrian Bunk :
>On Mon, Jul 03, 2023 at 09:31:29PM +0200, Rene Engelhard wrote:
>> 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.
>
>It also failed on riscv64

riscv64 as of now tests everything, see the comment in rules. It doesn't get 
the "already exists as release arch and keep it" bonus (yet).

testtools and pyuno work but indeed, smoketest fails as it does for mips64el.

> (and powerpc), so that seems to be
>a criteria that catches the known-broken builds.

Yup

>>...
>> 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.
>
>It would also hint at a MIPS problem in LibreOffice,

Yeah, we at least know the 32bit (mipsel) is (and probably was for ages) 
completely broken.

>which might or might not be specific to Java.

Yeah, just that it exhibits with a java extension. Probably should try with a 
dummy or a python one.

>AFAIK OpenJDK on MIPS does not have any known major issues.

Mmh 

>The Zero build of OpenJDK on MIPS is of course slow,
>but that's also true on armel where the build succeeded.

Indeed.

>BTW: The MIPS-specific discussion should continue on debian-mips instead
> of debian-ports. 

What I also said already :)

Regards

René

Re: LibreOffice bridges/smoketest on mips(64)el (was: Re: unbreaking LibreOffices tests on at least release architectures)

2023-07-04 Thread Adrian Bunk
On Mon, Jul 03, 2023 at 09:31:29PM +0200, Rene Engelhard wrote:
> 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.

It also failed on riscv64 (and powerpc), so that seems to be
a criteria that catches the known-broken builds.

>...
> 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.

It would also hint at a MIPS problem in LibreOffice,
which might or might not be specific to Java.

AFAIK OpenJDK on MIPS does not have any known major issues.

The Zero build of OpenJDK on MIPS is of course slow,
but that's also true on armel where the build succeeded.

> Regards,
> 
> Rene

cu
Adrian

BTW: The MIPS-specific discussion should continue on debian-mips instead
 of debian-ports. 



Re: LibreOffice bridges/smoketest on mips(64)el (was: Re: unbreaking LibreOffices tests on at least release architectures)

2023-07-03 Thread Rene Engelhard

Hi,

Am 03.07.23 um 21:31 schrieb Rene Engelhard:

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


https://buildd.debian.org/status/package.php?p=libreoffice&suite=experimental

of course.

Regards,

Rene



LibreOffice bridges/smoketest on mips(64)el (was: Re: unbreaking LibreOffices tests on at least release architectures)

2023-07-03 Thread Rene Engelhard

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=/<> && I=$S/instdir && 
W=$S/workdir &&  mkdir -p $W/Module/nonl10n/ && touch 
$W/Module/nonl10n/testtools
S=/<> && 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=/<> && 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]: *** 
[/<>/testtools/CustomTarget_uno_test.mk:25: 
/<>/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=/<> && 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.  dcon