Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 394273

Summary: app-office/calligra-2.3.86 tests fail
Product: Gentoo Linux Reporter: Andreas K. Hüttel <dilfridge>
Component: [OLD] KDEAssignee: Gentoo KDE team <kde>
Status: RESOLVED UPSTREAM    
Severity: normal CC: creffett, esigra, office
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 241922    
Attachments: test log for calligra-2.3.85, 18 of 285 fail
the test build log

Description Andreas K. Hüttel archtester gentoo-dev 2011-12-10 21:33:30 UTC
Placeholder, more soon.

/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.2/../../../../x86_64-pc-linux-gnu/bin/ld: ../../../../lib/libmso.a(pictures.o): undefined reference to symbol 'inflateInit_'                                                
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.2/../../../../x86_64-pc-linux-gnu/bin/ld: note: 'inflateInit_' is defined in DSO /lib64/libz.so.1 so try adding it to the linker command line                               
/lib64/libz.so.1: could not read symbols: Invalid operation                                  
collect2: ld gab 1 als Ende-Status zurück
make[2]: *** [filters/tables/excel/sidewinder/sidewinder] Fehler 1
make[1]: *** [filters/tables/excel/sidewinder/CMakeFiles/sidewinder.dir/all] Fehler 2
Comment 1 Andreas K. Hüttel archtester gentoo-dev 2011-12-11 01:24:19 UTC
The as needed issue is fixed...
Comment 2 Andreas K. Hüttel archtester gentoo-dev 2011-12-11 01:26:28 UTC
Created attachment 295429 [details]
test log for calligra-2.3.85, 18 of 285 fail

94% tests passed, 18 tests failed out of 285

Total Test time (real) = 1985.29 sec

The following tests FAILED:
          3 - words-part-TestKoBookmark (Failed)
         31 - kspread-Formula (Failed)
         44 - kspread-FinancialFunctions (Failed)
         81 - krita-image-KisCloneLayerTest (Failed)
        104 - krita-image-KisWalkersTest (Failed)
        105 - krita-image-KisAsyncMergerTest (Failed)
        106 - krita-image-KisUpdaterContextTest (Failed)
        108 - krita-image-KisUpdateSchedulerTest (Failed)
        145 - krita-image-KisActionRecorderTest (Failed)
        146 - krita-image-KisProcessingsTest (Failed)
        174 - krita-ui-FreehandStrokeTest (Failed)
        175 - krita-ui-MoveStrokeTest (Failed)
        180 - krita-plugin-format-jpeg_test (Timeout)
        187 - libs-widgets-KoResourceTagging_test (Failed)
        198 - libs-textlayout-TestBlockLayout (Failed)
        207 - libs-kotext-styles-TestStyles (Failed)
        211 - libs-kotext-styles-TestOpenDocumentStyle (Failed)
        214 - kotext-odf-TestChangeTracking (Failed)
Errors while running CTest
 * ERROR: app-office/calligra-2.3.85 failed (test phase):
Comment 3 Ian Delaney (RETIRED) gentoo-dev 2012-01-15 08:45:45 UTC
I tried but didn't even get that far.

gentoo64 cmake # USE=kdepim emerge =app-office/calligra-2.3.85

Linking CXX shared library ../../lib/libkritaui.so
[ 74%] Built target kritaui
make: *** [all] Error 2
 * ERROR: app-office/calligra-2.3.85 failed (compile phase):
I take it you need invoke cmake --verbose or debug somehos, the build.log says nothing more than this.
Comment 4 Andreas K. Hüttel archtester gentoo-dev 2012-01-22 22:27:51 UTC
FWIW upstream knows and is tracking the tests too.
Comment 5 Ian Delaney (RETIRED) gentoo-dev 2012-02-10 19:27:53 UTC
ok, finally getting calligra to build after fixing 1 - 2 flaws;

 # USE=kdepim emerge =app-office/calligra-2.3.86

93% tests passed, 10 tests failed out of 134

Total Test time (real) = 1558.05 sec

The following tests FAILED:
	  1 - words-part-TestClipToPage (Timeout)
	  2 - words-part-TestRdf (Failed)
	  3 - words-part-TestKoBookmark (Failed)
	  9 - kspread-OpenFormula (Failed)
	 35 - libs-widgets-KoResourceTagging_test (Failed)
	 45 - libs-odf-TestNumberStyle (Failed)
	 47 - libs-textlayout-TestBlockLayout (Failed)
	 60 - libs-kotext-styles-TestOpenDocumentStyle (Failed)
	 63 - kotext-odf-TestChangeTracking (Failed)
	112 - libs-kopageapp-TestPACopyPastePage (Failed)
Errors while running CTest
 * ERROR: app-office/calligra-2.3.86 failed (test phase):

Note, version 2.3.86.  Similar % but the test suite size roughly half.  The first few here cited dbus with a slight variation, but still a failed test.  Next I include the calligra-2.3.86_LastTest.log in an attachment.  
Ten out of 134 or 7% is kind of tolerable.  However, I shall at this point refrain from making the patch, which is quite straight forward.  The test suite appears to be a moving target.  2.3.85 done by Andreas is already dropped from the tree, no patch to be made for that.  2.3.87 is now in the tree, currently running that test suite to see what yields.  Not having familiarity with these suites it's not clear whether the size of a test suite is variable in a given version or set firmly.  One would hope for one patching extending to a following version.
Comment 6 Ian Delaney (RETIRED) gentoo-dev 2012-02-10 20:17:04 UTC
Created attachment 301495 [details]
the test build log
Comment 7 Chris Reffett (RETIRED) gentoo-dev Security 2012-04-17 03:36:28 UTC
Calligra 2.4.0-r1 needs VIRTUALX_ENABLED="test" at the very least. Will continue to investigate failed tests when I've had enough sleep to not almost put "VIRTUALX_TEST=enabled" in the previous line.
Comment 8 Chris Reffett (RETIRED) gentoo-dev Security 2012-04-17 18:34:31 UTC
Also, the tests that fail for me in 2.4.0-r1 are:
          1 - words-part-TestClipToPage (Timeout)
        147 - krita-image-KisActionRecorderTest (Failed)
        148 - krita-image-KisProcessingsTest (Failed)
        177 - krita-ui-KisSelectionManagerTest (Failed)
        188 - krita-plugin-format-jpeg_test (Failed)
        189 - krita-plugins-formats-tiff_test (Failed)
        190 - krita-plugins-formats-png_test (Failed)
        192 - krita-plugin-format-xcf_test (Failed)
        195 - libs-widgets-KoResourceTagging_test (Failed)
        209 - libs-textlayout-TestBlockLayout (Failed)
        222 - libs-kotext-styles-TestOpenDocumentStyle (Failed)
        226 - kotext-opendocument-TestChangeTracking (Failed)
Comment 9 Agostino Sarubbo gentoo-dev 2012-08-05 19:18:26 UTC
38% tests passed, 184 tests failed out of 297

http://bpaste.net/show/38594/
Comment 10 Michael Palimaka (kensington) gentoo-dev 2013-06-21 17:26:12 UTC
Tests are restricted and we have decided that it's not currently useful to track this issue.