Bug 1341064

Summary: libreoffice - test failure on big endians
Product: [Fedora] Fedora Reporter: Dan Horák <dan>
Component: libreofficeAssignee: David Tardon <dtardon>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: caolanm, dtardon, erack, mstahl, sbergman, than
Target Milestone: ---   
Target Release: ---   
Hardware: s390x   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-19 15:48:18 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 467765    

Description Dan Horák 2016-05-31 08:02:04 UTC
One test fails on s390x (and possibly on all big endian arches) with LO 5.2 beta and I think we saw this failure in 5.1 too and was workarounded by disabling the test or something like that. Maybe Than (in CC) will recall.

from build.log
...
[build CUT] vcl_outdev
S=/builddir/build/BUILD/libreoffice-5.2.0.0.beta1 && I=$S/instdir && W=$S/workdir &&  mkdir -p $W/CppunitTest/ && rm -fr $W/CppunitTest/vcl_outdev.test.user && mkdir $W/CppunitTest/vcl_outdev.test.user &&    rm -fr $W/CppunitTest/vcl_outdev.test.core && mkdir $W/CppunitTest/vcl_outdev.test.core && cd $W/CppunitTest/vcl_outdev.test.core && (LD_LIBRARY_PATH=${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}"$I/program:$I/program":$W/UnpackedTarball/cppunit/src/cppunit/.libs    MALLOC_CHECK_=2 MALLOC_PERTURB_=153     $W/LinkTarget/Executable/cppunittester $W/LinkTarget/CppunitTest/libtest_vcl_outdev.so --headless "-env:BRAND_BASE_DIR=file://$S/instdir" "-env:BRAND_SHARE_SUBDIR=share" "-env:UserInstallation=file://$W/CppunitTest/vcl_outdev.test.user"   "-env:CONFIGURATION_LAYERS=xcsxcu:file://$I/share/registry xcsxcu:file://$W/unittest/registry"  "-env:UNO_TYPES=file://$I/program/types.rdb file://$I/program/types/offapi.rdb"  "-env:UNO_SERVICES=file://$W/Rdb/ure/services.rdb file://$W/ComponentTarget/configmgr/source/configmgr.component file://$W/ComponentTarget/i18npool/util/i18npool.component file://$W/ComponentTarget/ucb/source/core/ucb1.component"  -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/unobootstrapprotector.so unobootstrapprotector   --protector $W/LinkTarget/Library/libvclbootstrapprotector.so vclbootstrapprotector   "-env:CPPUNITTESTTARGET=$W/CppunitTest/vcl_outdev.test"  > $W/CppunitTest/vcl_outdev.test.log 2>&1 || ( RET=$?; $S/solenv/bin/gdb-core-bt.sh $W/LinkTarget/Executable/cppunittester $W/CppunitTest/vcl_outdev.test.core $RET >> $W/CppunitTest/vcl_outdev.test.log 2>&1; cat $W/CppunitTest/vcl_outdev.test.log; $S/solenv/gbuild/platform/unittest-failed-default.sh Cppunit vcl_outdev))
/builddir/build/BUILD/libreoffice-5.2.0.0.beta1/vcl/qa/cppunit/outdev.cxx:61:VclOutdevTest::testVirtualDevice
equality assertion failed
- Expected: 128
- Actual  : 252
outdev.cxx:61:Assertion
Test name: VclOutdevTest::testVirtualDevice
equality assertion failed
- Expected: 128
- Actual  : 252
Failures !!!
Run: 1   Failure total: 1   Failures: 1   Errors: 0
...

for full logs please see http://s390.koji.fedoraproject.org/koji/taskinfo?taskID=2248180


Version-Release number of selected component (if applicable):
libreoffice-5.2.0.0-7.beta1.fc25