Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 399467 - app-office/kmymoney-4.6.2 hangs on src_test
Summary: app-office/kmymoney-4.6.2 hangs on src_test
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard: workaround applied
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-20 07:51 UTC by Paweł Hajdan, Jr. (RETIRED)
Modified: 2012-07-27 21:59 UTC (History)
1 user (show)

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


Attachments
build.log.gz (app-office:kmymoney-4.5.3:20120120-052829.log.gz,44.75 KB, application/x-gzip)
2012-01-20 07:51 UTC, Paweł Hajdan, Jr. (RETIRED)
Details
ebuild pactch for the cited version 4.5.3 (kmymoney.patch,528 bytes, text/plain)
2012-01-28 15:41 UTC, Ian Delaney (RETIRED)
Details
kmymoney-test.patch for files/ (kmymoney-test.patch,5.52 KB, patch)
2012-01-28 15:43 UTC, Ian Delaney (RETIRED)
Details | Diff
LastTest.log (LastTest.log,42.41 KB, text/plain)
2012-02-10 06:04 UTC, Chris Reffett (RETIRED)
Details
gdb.log (backtrace.log,2.08 KB, text/plain)
2012-03-11 16:02 UTC, Chris Reffett (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2012-01-20 07:51:48 UTC
Created attachment 299357 [details]
build.log.gz

19/23 Test #19: kmymoney-mymoneyseqaccessmgrtest ..........   Passed    0.09 sec
      Start 20: kmymoney-pivotgridtest
20/23 Test #20: kmymoney-pivotgridtest ....................   Passed    0.09 sec
      Start 21: kmymoney-pivottabletest
sandbox:stop  caught signal 2 in pid 20259

sandbox:stop  signal already caught and busy still cleaning up!
/usr/portage/app-office/kmymoney/kmymoney-4.5.3.ebuild: dyn_test aborted; exiting.

(after 2 hours of waiting for the test to complete I hit ctrl+c; didn't try to reproduce, at least for now)

Portage 2.1.10.41 (default/linux/x86/10.0/developer, gcc-4.5.3, glibc-2.13-r4, 3.1.6-gentoo i686)
=================================================================
System uname: Linux-3.1.6-gentoo-i686-Intel-R-_Core-TM-2_Duo_CPU_P8700_@_2.53GHz-with-gentoo-2.0.3
Timestamp of tree: Thu, 19 Jan 2012 17:30:01 +0000
app-shells/bash:          4.1_p9
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.1.4-r3
dev-util/cmake:           2.8.6-r4
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.9.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r1
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.39 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo x-portage
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs collision-protect compress-build-logs distlocks ebuild-locks fixlafiles multilib-strict news parallel-fetch protect-owned sandbox sfperms sign splitdebug strict test test-fail-continue unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,--hash-style=gnu -Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa berkdb bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus device-mapper dri dts dvd dvdr emacs emboss encode exif fam firefox flac fortran gdbm gdu gif git gnome-keyring gnutls gtk iconv icu jpeg lcms libkms libnotify mad mbox mercurial mng modules mp3 mp4 mpeg mudflap ncurses nls nptl nptlonly nss objc ogg opengl openmp pam pango pcre pdf perl png policykit ppds pppd python qt3support readline sdl secure-delete session snmp spell sqlite ssl startup-notification subversion svg sysfs tcb tcpd threads tiff toolkit-scroll-bars truetype udev unicode usb vorbis x264 x86 xcb xft xinerama xml xorg xulrunner xv xvfb xvid zlib" ALSA_CARDS="ens1371" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev keyboard vmmouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="vmware vesa vga" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Ian Delaney (RETIRED) gentoo-dev 2012-01-25 19:29:20 UTC
I don't know about hanging on a test.  It can't build on Qt 4.8

[ 13%] Building CXX object kmymoney/widgets/CMakeFiles/kmymoney_base.dir/kmymoneymvccombo.cpp.o
/mnt/gen2/tmpdir/portage/app-office/kmymoney-4.5.3/work/kmymoney-4.5.3/kmymoney/widgets/kmymoneyedit.cpp: In constructor âkMyMoneyEdit::kMyMoneyEdit(QWidget*, int)â:
/mnt/gen2/tmpdir/portage/app-office/kmymoney-4.5.3/work/kmymoney-4.5.3/kmymoney/widgets/kmymoneyedit.cpp:167:44: warning: âint KLocale::fracDigits() constâ is deprecated (declared at /usr/include/klocale.h:471)


It initially falls over at the use of the QWidget
Comment 2 Ian Delaney (RETIRED) gentoo-dev 2012-01-28 04:41:09 UTC
that was a false failure, as in it does actually build after finally fixing my system.  Shall re-attempt this soon after re-establishing kde from scratch; takes a while
Comment 3 Ian Delaney (RETIRED) gentoo-dev 2012-01-28 15:37:23 UTC
Here we have a shamozzle of a more modest order.  Test such and such goes and calls other test such and such, requiring a series of selected deletions in other test.cpp and CmakeLists.txt files for the sake of purging any and all references to just one dbus burdened test.  Well it made for many extra hours, but purge them it is.  The second one yielded with but a whimper.

 gentoo64 kmymoney # ebuild kmymoney-4.5.3.ebuild test
[100%] Built target convertertest                                                                          
>>> Working in BUILD_DIR: "/mnt/gen2/tmpdir/portage/app-office/kmymoney-4.5.3/work/kmymoney-4.5.3_build"
Test project /mnt/gen2/tmpdir/portage/app-office/kmymoney-4.5.3/work/kmymoney-4.5.3_build
      Start  1: kmymoney-mymoneyaccounttest
 1/21 Test  #1: kmymoney-mymoneyaccounttest ...............   Passed    0.02 sec
      Start  2: kmymoney-mymoneyexceptiontest
 2/21 Test  #2: kmymoney-mymoneyexceptiontest .............   Passed    0.02 sec
      Start  3: kmymoney-mymoneyfiletest
 3/21 Test  #3: kmymoney-mymoneyfiletest ..................   Passed    0.02 sec
      Start  4: kmymoney-mymoneyfinancialcalculatortest
 4/21 Test  #4: kmymoney-mymoneyfinancialcalculatortest ...   Passed    0.02 sec
      Start  5: kmymoney-mymoneyforecasttest
 5/21 Test  #5: kmymoney-mymoneyforecasttest ..............   Passed    0.03 sec
      Start  6: kmymoney-mymoneyinstitutiontest
 6/21 Test  #6: kmymoney-mymoneyinstitutiontest ...........   Passed    0.02 sec
      Start  7: kmymoney-mymoneykeyvaluecontainertest
 7/21 Test  #7: kmymoney-mymoneykeyvaluecontainertest .....   Passed    0.02 sec
      Start  8: kmymoney-mymoneymoneytest
 8/21 Test  #8: kmymoney-mymoneymoneytest .................   Passed    0.08 sec
      Start  9: kmymoney-mymoneyobjecttest
 9/21 Test  #9: kmymoney-mymoneyobjecttest ................   Passed    0.02 sec
      Start 10: kmymoney-mymoneypayeetest
10/21 Test #10: kmymoney-mymoneypayeetest .................   Passed    0.02 sec
      Start 11: kmymoney-mymoneypricetest
11/21 Test #11: kmymoney-mymoneypricetest .................   Passed    0.02 sec
      Start 12: kmymoney-mymoneyscheduletest
12/21 Test #12: kmymoney-mymoneyscheduletest ..............   Passed    0.02 sec
      Start 13: kmymoney-mymoneysecuritytest
13/21 Test #13: kmymoney-mymoneysecuritytest ..............   Passed    0.02 sec
      Start 14: kmymoney-mymoneysplittest
14/21 Test #14: kmymoney-mymoneysplittest .................   Passed    0.02 sec
      Start 15: kmymoney-mymoneytransactiontest
15/21 Test #15: kmymoney-mymoneytransactiontest ...........   Passed    0.02 sec
      Start 16: kmymoney-mymoneybalancecachetest
16/21 Test #16: kmymoney-mymoneybalancecachetest ..........   Passed    0.02 sec
      Start 17: kmymoney-mymoneydatabasemgrtest
17/21 Test #17: kmymoney-mymoneydatabasemgrtest ...........   Passed  158.88 sec
      Start 18: kmymoney-mymoneymaptest
18/21 Test #18: kmymoney-mymoneymaptest ...................   Passed    0.02 sec
      Start 19: kmymoney-mymoneyseqaccessmgrtest
19/21 Test #19: kmymoney-mymoneyseqaccessmgrtest ..........   Passed    0.02 sec
      Start 20: kmymoney-pivotgridtest
20/21 Test #20: kmymoney-pivotgridtest ....................   Passed    0.02 sec
      Start 21: kmymoney-convertertest
21/21 Test #21: kmymoney-convertertest ....................   Passed    0.03 sec

100% tests passed, 0 tests failed out of 21

Total Test time (real) = 159.79 sec
 * Tests succeeded.
Comment 4 Ian Delaney (RETIRED) gentoo-dev 2012-01-28 15:41:19 UTC
Created attachment 300151 [details]
ebuild pactch for the cited version 4.5.3

Other recent versions have no reason not to absorb the pattern of the patch
Comment 5 Ian Delaney (RETIRED) gentoo-dev 2012-01-28 15:43:57 UTC
Created attachment 300153 [details, diff]
kmymoney-test.patch for files/
Comment 6 Chris Reffett (RETIRED) gentoo-dev Security 2012-02-10 06:04:58 UTC
Created attachment 301451 [details]
LastTest.log

Applied patch to 4.6.1, one test fails (MyMoneyDatabaseMgrTest)
Comment 7 Ian Delaney (RETIRED) gentoo-dev 2012-02-11 10:41:13 UTC
thanks  Chris
Comment 8 Chris Reffett (RETIRED) gentoo-dev Security 2012-03-11 16:02:55 UTC
Created attachment 304915 [details]
gdb.log

Issue I mentioned above still exists in 4.6.2. I compiled with C(XX)FLAGS="-ggdb" and ran a gdb session on the file "mymoneydatabasemgrtest" (the failing test), and got the attached output. Digging through the source confirms that that QDEBUG is thrown when it cannot successfully perform the operation on the database.
Comment 9 Chris Reffett (RETIRED) gentoo-dev Security 2012-07-27 02:57:25 UTC
Bump on this. The tests pass for me now (databasemgrtest takes a heck of a long time, but does pass), possibly due to the gcc 4.7 patch which adds a header to said test? Regardless, since it is now building correctly for me, could somebody else confirm that it's passing? If confirmed, will mark...I guess either WORKSFORME or FIXED.
Comment 10 Michael Palimaka (kensington) gentoo-dev 2012-07-27 15:16:28 UTC
Hanging on test 26 here :(
Comment 11 Chris Reffett (RETIRED) gentoo-dev Security 2012-07-27 15:33:58 UTC
Yeah, I spoke too soon, it failed for me too (I commented after the database test passed). I think we were originally patching that one out, but I'll take one more look before removing the test.
Comment 12 Chris Reffett (RETIRED) gentoo-dev Security 2012-07-27 21:59:31 UTC
Aha, 26 needed DBUS.
+  27 Jul 2012; Chris Reffett <creffett@gentoo.org> kmymoney-4.6.2-r2.ebuild:
+  Re-enable tests, add VIRTUALDBUS so test 26 passes

Reopen if the tests still fail.