Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 366505 - media-gfx/digikam-2.2.0 fails tests
Summary: media-gfx/digikam-2.2.0 fails tests
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Andreas K. Hüttel
URL:
Whiteboard:
Keywords: TESTFAILURE
: 373799 (view as bug list)
Depends on:
Blocks: kde4tests
  Show dependency tree
 
Reported: 2011-05-08 21:26 UTC by Ian Delaney (RETIRED)
Modified: 2013-06-21 17:21 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
the build log (build.log,274.64 KB, text/x-log)
2011-05-08 21:29 UTC, Ian Delaney (RETIRED)
Details
my emerge --info (emerge.info,4.15 KB, text/plain)
2011-05-08 21:29 UTC, Ian Delaney (RETIRED)
Details
Test log for digikam-2.2.0 (LastTest.log,17.96 KB, text/plain)
2011-10-17 20:05 UTC, Andreas K. Hüttel
Details
build.log.gz (media-gfx:digikam-1.9.0:20111121-231010.log.gz,112.04 KB, application/x-gzip)
2011-11-22 07:51 UTC, Paweł Hajdan, Jr. (RETIRED)
Details
ebuild patch (digikam.patch,702 bytes, patch)
2012-01-24 22:08 UTC, Ian Delaney (RETIRED)
Details | Diff
the files/digikam-test.patch (telepathy-inspector.patch,1.29 KB, patch)
2012-01-24 22:09 UTC, Ian Delaney (RETIRED)
Details | Diff
digikam-test.patch (digikam-test.patch,1.91 KB, patch)
2012-02-10 04:13 UTC, Chris Reffett (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ian Delaney (RETIRED) gentoo-dev 2011-05-08 21:26:27 UTC
testing for stabilizing kde4.6.2, media-gfx/digikam-1.9.0 aborts emerge due to failed test phase

Reproducible: Always

Steps to Reproduce:
1. set FEATURES test
2. emerge =media-gfx/digikam-1.9.0
3.
Actual Results:  
86% tests passed, 1 tests failed out of 7

Total Test time (real) =   8.00 sec

The following tests FAILED:
          1 - advancedrenametest (Failed)
Errors while running CTest
 * ERROR: media-gfx/digikam-1.9.0 failed (test phase):
 *   Tests failed.


Expected Results:  
pass all phases of emerge

unset test, package emerges ok.
Comment 1 Ian Delaney (RETIRED) gentoo-dev 2011-05-08 21:29:18 UTC
Created attachment 272537 [details]
the build log
Comment 2 Ian Delaney (RETIRED) gentoo-dev 2011-05-08 21:29:43 UTC
Created attachment 272539 [details]
my emerge --info
Comment 3 Andreas K. Hüttel archtester gentoo-dev 2011-07-31 20:21:42 UTC
digikam-2.0.0: Without X and DBUS, 8 of 10 tests fail. Restricted.

>>> Working in BUILD_DIR: "/var/tmp/portage/media-gfx/digikam-2.0.0/work/digikam-2.0.0_build"
Test project /var/tmp/portage/media-gfx/digikam-2.0.0/work/digikam-2.0.0_build
      Start  1: advancedrenametest
 1/10 Test  #1: advancedrenametest ...............***Failed    0.04 sec
      Start  2: cameranamehelpertest
 2/10 Test  #2: cameranamehelpertest .............***Failed    0.04 sec
      Start  3: uifilevalidatortest
 3/10 Test  #3: uifilevalidatortest ..............   Passed    0.04 sec
      Start  4: statesavingobjecttest
 4/10 Test  #4: statesavingobjecttest ............   Passed    0.04 sec
      Start  5: freerotationtest
 5/10 Test  #5: freerotationtest .................***Failed    0.04 sec
      Start  6: searchtextbartest
 6/10 Test  #6: searchtextbartest ................***Failed    0.04 sec
      Start  7: filesaveoptionsboxtest
 7/10 Test  #7: filesaveoptionsboxtest ...........***Failed    0.04 sec
      Start  8: dimagehistorytest
 8/10 Test  #8: dimagehistorytest ................***Failed    0.10 sec
      Start  9: dimagehistorygraphtest
 9/10 Test  #9: dimagehistorygraphtest ...........***Failed    0.04 sec
      Start 10: dimagefilteractiontest
10/10 Test #10: dimagefilteractiontest ...........***Failed    0.04 sec

20% tests passed, 8 tests failed out of 10

Total Test time (real) =   1.02 sec

The following tests FAILED:
          1 - advancedrenametest (Failed)
          2 - cameranamehelpertest (Failed)
          5 - freerotationtest (Failed)
          6 - searchtextbartest (Failed)
          7 - filesaveoptionsboxtest (Failed)
          8 - dimagehistorytest (Failed)
          9 - dimagehistorygraphtest (Failed)
         10 - dimagefilteractiontest (Failed)
Errors while running CTest
Comment 4 Andreas K. Hüttel archtester gentoo-dev 2011-08-07 17:48:44 UTC
*** Bug 373799 has been marked as a duplicate of this bug. ***
Comment 5 Andreas K. Hüttel archtester gentoo-dev 2011-10-17 20:05:09 UTC
Created attachment 290111 [details]
Test log for digikam-2.2.0

Similar with digikam-2.2.0.


>>> Working in BUILD_DIR: "/var/tmp/portage/media-gfx/digikam-2.2.0/work/digikam-2.2.0_build"
Test project /var/tmp/portage/media-gfx/digikam-2.2.0/work/digikam-2.2.0_build
      Start  1: advancedrenametest
 1/10 Test  #1: advancedrenametest ...............   Passed    0.76 sec
      Start  2: cameranamehelpertest
 2/10 Test  #2: cameranamehelpertest .............   Passed    0.11 sec
      Start  3: uifilevalidatortest
 3/10 Test  #3: uifilevalidatortest ..............   Passed    0.04 sec
      Start  4: statesavingobjecttest
 4/10 Test  #4: statesavingobjecttest ............   Passed    0.04 sec
      Start  5: freerotationtest
 5/10 Test  #5: freerotationtest .................   Passed    0.08 sec
      Start  6: searchtextbartest
 6/10 Test  #6: searchtextbartest ................   Passed    0.16 sec
      Start  7: filesaveoptionsboxtest
 7/10 Test  #7: filesaveoptionsboxtest ...........   Passed    0.17 sec
      Start  8: dimagehistorytest
 8/10 Test  #8: dimagehistorytest ................***Failed    0.09 sec
      Start  9: dimagehistorygraphtest
 9/10 Test  #9: dimagehistorygraphtest ...........***Failed    0.68 sec
      Start 10: dimagefilteractiontest
10/10 Test #10: dimagefilteractiontest ...........   Passed    0.11 sec

80% tests passed, 2 tests failed out of 10

Total Test time (real) =   2.97 sec

The following tests FAILED:
          8 - dimagehistorytest (Failed)
          9 - dimagehistorygraphtest (Failed)
Errors while running CTest
Comment 6 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2011-11-22 07:51:14 UTC
Created attachment 293385 [details]
build.log.gz

The following tests FAILED:
          1 - advancedrenametest (Failed)
          2 - cameranamehelpertest (Failed)
          5 - freerotationtest (Failed)
          6 - searchtextbartest (Failed)
          7 - filesaveoptionsboxtest (Failed)
Comment 7 Ian Delaney (RETIRED) gentoo-dev 2012-01-04 04:14:41 UTC
eeh
testuser@archtester ~/improvise/dev-python $ eix digikam
* media-gfx/digikam
     Available versions:  (4) 2.3.0!t (~)2.4.1!t

-2.2.0 no longer in the tree, but the pain persists
Comment 8 Ian Delaney (RETIRED) gentoo-dev 2012-01-24 21:39:42 UTC
# cd /mnt/gen2/tmpdir/portage/media-gfx/digikam-2.4.1/work/digikam-2.4.1_build
gentoo64 digikam-2.4.1_build # ctest --verbose

-----------------------------------------------------------------

8: Test command: /mnt/gen2/tmpdir/portage/media-gfx/digikam-2.4.1/work/digikam-2.4.1_build/tests/dimagehistorytest.shell
8: Test timeout computed to be: 9.99988e+06
8: ********* Start testing of DImageHistoryTest *********
8: Config: Using QTest library 4.8.0, Qt 4.8.0
8: PASS   : DImageHistoryTest::initTestCase()
8: PASS   : DImageHistoryTest::testXml()
8: QWARN  : DImageHistoryTest::testDImg() QPixmap: Cannot create a QPixmap when no GUI is being used

This causes the test phase to hang.  It may not be a dbus dilemma but a similar principal applies.  The test is similarly demanding a condition that simply can't be supplied by the code and the setup.  It thereby holds the whole test suite to ransom.  Let's take it out.

8: QSYSTEM: DImageHistoryGraphTest::cleanupTestCase() qttest(29723): Couldn't start kuiserver from kuiserver.desktop:  "KLauncher could not be reached via D-Bus. Error when calling start_service_by_desktop_path:
8: Not connected to D-Bus server

Take it out

    Start 8: dimagefilteractiontest
^X^Z
[18]+  Stopped                 ebuild digikam-2.4.1.ebuild test
hangs, unable to bring up a small picture which is enabled when run manually with ctest.  In the interest of facilitating the remaining, take it out.
Comment 9 Ian Delaney (RETIRED) gentoo-dev 2012-01-24 22:08:48 UTC
Created attachment 299787 [details, diff]
ebuild patch

for digikam-2.4.1.ebuild

>>> Working in BUILD_DIR: "/mnt/gen2/tmpdir/portage/media-gfx/digikam-2.4.1/work/digikam-2.4.1_build"
Test project /mnt/gen2/tmpdir/portage/media-gfx/digikam-2.4.1/work/digikam-2.4.1_build
    Start 1: advancedrenametest
1/7 Test #1: advancedrenametest ...............   Passed    0.15 sec
    Start 2: cameranamehelpertest
2/7 Test #2: cameranamehelpertest .............   Passed    0.07 sec
    Start 3: uifilevalidatortest
3/7 Test #3: uifilevalidatortest ..............   Passed    0.05 sec
    Start 4: statesavingobjecttest
4/7 Test #4: statesavingobjecttest ............   Passed    0.05 sec
    Start 5: freerotationtest
5/7 Test #5: freerotationtest .................   Passed    0.07 sec
    Start 6: searchtextbartest
6/7 Test #6: searchtextbartest ................   Passed    0.11 sec
    Start 7: filesaveoptionsboxtest
7/7 Test #7: filesaveoptionsboxtest ...........   Passed    0.11 sec

100% tests passed, 0 tests failed out of 7

Total Test time (real) =   0.67 sec
 * Tests succeeded.
Comment 10 Ian Delaney (RETIRED) gentoo-dev 2012-01-24 22:09:45 UTC
Created attachment 299789 [details, diff]
the files/digikam-test.patch
Comment 11 Chris Reffett (RETIRED) gentoo-dev Security 2012-02-10 04:13:19 UTC
Created attachment 301441 [details, diff]
digikam-test.patch

Ian, I think you might have uploaded the wrong patch there--it looks like you uploaded one for telepathy-inspector :) (or my browser consistently is seeing the wrong file, I suppose) I've attached my own patch, tested it and it works for digikam 2.5.0.
Comment 12 Ian Delaney (RETIRED) gentoo-dev 2012-02-10 06:47:40 UTC
ooops roger
Comment 13 Michael Palimaka (kensington) gentoo-dev 2013-06-21 17:21:04 UTC
Tests are restricted and we have decided that it's not currently useful to track this issue.