Summary: | kde-base/korganizer-4.7.3 fails tests | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Paweł Hajdan, Jr. (RETIRED) <phajdan.jr> |
Component: | [OLD] KDE | Assignee: | Gentoo KDE team <kde> |
Status: | RESOLVED UPSTREAM | ||
Severity: | normal | CC: | esigra |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 241922 | ||
Attachments: |
build.log.gz
ebuild patch test patch, korganizer-test.patch |
Description
Paweł Hajdan, Jr. (RETIRED)
![]() Restricting this based on your info (my 4.7.3 test box runs old pim) gentoo64 korganizer-4.7.3_build # cd /mnt/gen2/tmpdir/portage/kde-base/korganizer-4.7.3/work/korganizer-4.7.3_build gentoo64 korganizer-4.7.3_build # ctest Test project /mnt/gen2/tmpdir/portage/kde-base/korganizer-4.7.3/work/korganizer-4.7.3_build Start 1: conflictresolvertest 1/6 Test #1: conflictresolvertest .............***Failed 0.12 sec Start 2: testfreebusyitemmodel 2/6 Test #2: testfreebusyitemmodel ............ Passed 0.08 sec Start 3: testfreeperiodmodel 3/6 Test #3: testfreeperiodmodel .............. Passed 0.08 sec Start 4: testfreebusyganttproxymodel 4/6 Test #4: testfreebusyganttproxymodel ...... Passed 0.08 sec Start 5: ktimezonecomboboxtest 5/6 Test #5: ktimezonecomboboxtest ............ Passed 0.09 sec Start 6: summaryeventtest 6/6 Test #6: summaryeventtest ................. Passed 0.08 sec gentoo64 korganizer-4.7.3_build # ctest --verbose test 1 Start 1: conflictresolvertest 1: Test command: /mnt/gen2/tmpdir/portage/kde-base/korganizer-4.7.3/work/korganizer-4.7.3_build/incidenceeditor-ng/tests/conflictresolvertest.shell 1: Test timeout computed to be: 9.99988e+06 1: ********* Start testing of ConflictResolverTest ********* 1: Config: Using QTest library 4.7.4, Qt 4.7.4 1: klauncher(10044) kdemain: No DBUS session-bus found. Check if you have started the DBUS server. 1: kdeinit4: Communication error with launcher. Exiting! 1: QSYSTEM: ConflictResolverTest::initTestCase() qttest(10040)/kdecore (K*TimeZone*): KSystemTimeZones: ktimezoned initialize() D-Bus call failed: "Not connected to D-Bus server" 1: 1: PASS : ConflictResolverTest::initTestCase() 1: FAIL! : ConflictResolverTest::simpleTest() Compared values are not the same 1: Loc: [/mnt/gen2/tmpdir/portage/kde-base/korganizer-4.7.3/work/korganizer-4.7.3/incidenceeditor-ng/tests/conflictresolvertest.cpp(102)] 1: FAIL! : ConflictResolverTest::stillPrettySimpleTest() Compared values are not the same 1: Loc: [/mnt/gen2/tmpdir/portage/kde-base/korganizer-4.7.3/work/korganizer-4.7.3/incidenceeditor-ng/tests/conflictresolvertest.cpp(135)] 1: FAIL! : ConflictResolverTest::akademy2010() Compared values are not the same 1: Loc: [/mnt/gen2/tmpdir/portage/kde-base/korganizer-4.7.3/work/korganizer-4.7.3/incidenceeditor-ng/tests/conflictresolvertest.cpp(232)] gentoo64 korganizer-4.7.3_build # rc-status |grep dbus dbus [ started ] So some work to do here; recognise the running dbus session; then the entries that mismatch in conflictresolvertest.cpp hmm right DEPEND=" test? ( dev-util/dbus-test-runner ) " #RESTRICT="test" # bug 393135 unset DBUS_SESSION_BUS_ADDRESS src_test() { dbus-test-runner # sed -e 's:15*60:0:' -i incidenceeditor-ng/tests/conflictresolvertest.cpp kde4-meta_src_test } watch this space Created attachment 299689 [details, diff]
ebuild patch
patch for ebuild korganizer 4.7.3, content can be repeated to 4.7.4
gentoo64 korganizer # ebuild korganizer-4.7.3.ebuild clean test
Start 1: testfreebusyitemmodel
1/5 Test #1: testfreebusyitemmodel ............ Passed 0.10 sec
Start 2: testfreeperiodmodel
2/5 Test #2: testfreeperiodmodel .............. Passed 0.10 sec
Start 3: testfreebusyganttproxymodel
3/5 Test #3: testfreebusyganttproxymodel ...... Passed 0.10 sec
Start 4: ktimezonecomboboxtest
4/5 Test #4: ktimezonecomboboxtest ............ Passed 0.10 sec
Start 5: summaryeventtest
5/5 Test #5: summaryeventtest ................. Passed 0.07 sec
100% tests passed, 0 tests failed out of 5
Total Test time (real) = 0.53 sec
* Tests succeeded.
Created attachment 299691 [details, diff]
test patch, korganizer-test.patch
korganizer-test.patch, rename to preference. This is a repeat of the first test in the suite of kmail. The patch similarly just removes if from the MakeList.txt, a 1 line patch in preference to a sed statement removing the line.
It seems the test have their origin in the kdepim package.
Unpacking parts of kdepim-4.7.3.tar.bz2 to (sandbox)
The impact of
tar: kdepim-4.7.3/ConfigureChecks.cmake: Not found in archive
tar: kdepim-4.7.3/config.h.cmake: Not found in archive
tar: kdepim-4.7.3/kontact/plugins/CMakeLists.txt: Not found in archive
tar: kdepim-4.7.3/kontact/CMakeLists.txt: Not found in archive
tar: kdepim-4.7.3/kontact/plugins/CMakeLists.txt: Not found in archive
tar: kdepim-4.7.3/kontact/CMakeLists.txt: Not found in archive
tar: Exiting with failure status due to previous errors
* tar extract command failed at least partially - continuing anyway [ ok ]
I do not know
Attempted to make a patch to remove hanging tests for korganizer-4.8.0. Unfortunately, judging from the list of tests that korganizer runs compared to those that I patched out of kmail previously, all of korganizer-4.8.0's tests will hang because of the dbus issue. Doesn't seem worth it to make a patch to remove all tests when the RESTRICT can be left in place. Still failing in 4.10.0 Tests are restricted and we have decided that it's not currently useful to track this issue. |