Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 701682 - media-sound/rosegarden-19.06: test failures: 0% tests passed, 5 tests failed out of 5
Summary: media-sound/rosegarden-19.06: test failures: 0% tests passed, 5 tests failed ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Professional Audio Applications Maintainers
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks: 701378
  Show dependency tree
 
Reported: 2019-12-01 15:29 UTC by Thomas Deutschmann (RETIRED)
Modified: 2020-08-07 18:06 UTC (History)
2 users (show)

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


Attachments
build.log (build.log.gz,49.68 KB, application/gzip)
2019-12-01 15:29 UTC, Thomas Deutschmann (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Deutschmann (RETIRED) gentoo-dev 2019-12-01 15:29:58 UTC
Created attachment 598136 [details]
build.log

>>> Test phase: media-sound/rosegarden-19.06
>>> Working in BUILD_DIR: "/var/tmp/portage/media-sound/rosegarden-19.06/work/rosegarden-19.06_build"
ctest -j 5 --test-load 7.95
Invalid value for 'Test Load' : 7.95
Test project /var/tmp/portage/media-sound/rosegarden-19.06/work/rosegarden-19.06_build
    Start 1: accidentals
    Start 2: segmenttransposecommand
    Start 3: test_notationview_selection
    Start 4: transpose
    Start 5: lilypond_export_test
1/5 Test #3: test_notationview_selection ......Child aborted***Exception:   1.19 sec
2/5 Test #5: lilypond_export_test .............Child aborted***Exception:   1.17 sec
3/5 Test #2: segmenttransposecommand ..........Child aborted***Exception:   1.20 sec
4/5 Test #4: transpose ........................Child aborted***Exception:   1.18 sec
5/5 Test #1: accidentals ......................Child aborted***Exception:   1.23 sec

0% tests passed, 5 tests failed out of 5

Total Test time (real) =   1.24 sec

The following tests FAILED:
          1 - accidentals (Child aborted)
          2 - segmenttransposecommand (Child aborted)
          3 - test_notationview_selection (Child aborted)
          4 - transpose (Child aborted)
          5 - lilypond_export_test (Child aborted)
Errors while running CTest
 * ERROR: media-sound/rosegarden-19.06::gentoo failed (test phase):
 *   Tests failed. When you file a bug, please attach the following file:
 *      /var/tmp/portage/media-sound/rosegarden-19.06/work/rosegarden-19.06_build/Testing/Temporary/LastTest.log
 *


Error is:

Output:
----------------------------------------------------------
qt.qpa.xcb: could not connect to display
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: wayland-org.kde.kwin.qpa, minimal, offscreen, wayland-egl, wayland, xcb.

<end of output>


Portage 2.3.79 (python 3.6.9-final-0, default/linux/x86/17.0, gcc-9.2.0, glibc-2.29-r2, 4.19.86-gentoo-x86 i686)
=================================================================
System uname: Linux-4.19.86-gentoo-x86-i686-Intel-R-_Core-TM-_i7-3770K_CPU_@_3.50GHz-with-gentoo-2.6
KiB Mem:     3106592 total,   1556988 free
KiB Swap:     488276 total,    486732 free
Timestamp of repository gentoo: Sun, 01 Dec 2019 14:26:14 +0000
Head commit of repository gentoo: a615d2cbbe63e5b3b6ff3f8c8d00bf744c825434

sh bash 4.4_p23-r1
ld GNU ld (Gentoo 2.32 p2) 2.32.0
app-shells/bash:          4.4_p23-r1::gentoo
dev-lang/perl:            5.28.2-r1::gentoo
dev-lang/python:          2.7.16::gentoo, 3.6.9::gentoo
dev-util/cmake:           3.14.6::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.41.2::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.16.1-r1::gentoo
sys-devel/binutils:       2.32-r1::gentoo
sys-devel/gcc:            9.2.0-r2::gentoo
sys-devel/gcc-config:     2.1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 4.19::gentoo (virtual/os-headers)
sys-libs/glibc:           2.29-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo.git
    priority: -1000

ABI="x86"
ABI_X86="32"
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="*"
ACCEPT_PROPERTIES="*"
ACCEPT_RESTRICT="*"
ADA_TARGET="gnat_2018"
ARCH="x86"
BROOT=""
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=pentium4m -mtune=pentium4m -Wno-error=jump-misses-init -Wno-error=sign-compare"
CHOST="i686-pc-linux-gnu"
CHOST_x86="i686-pc-linux-gnu"
COLLISION_IGNORE="/lib/modules/*"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CPU_FLAGS_X86="mmx mmxext sse sse2"
CXXFLAGS="-O2 -pipe -march=pentium4m -mtune=pentium4m -Wno-error=jump-misses-init -Wno-error=sign-compare"
DEFAULT_ABI="x86"
EDITOR="/usr/bin/mcedit"
ELIBC="glibc"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
EPREFIX=""
EROOT="/"
ESYSROOT="/"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs cgroup config-protect-if-modified distlocks downgrade-backup ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -march=i686 -pipe"
GCC_SPECS=""
GRUB_PLATFORMS="efi-32 pc"
GSETTINGS_BACKEND="dconf"
HOME="/root"
INFOPATH="/usr/share/gcc-data/i686-pc-linux-gnu/9.2.0/info:/usr/share/binutils-data/i686-pc-linux-gnu/2.32/info:/usr/share/info"
INPUT_DEVICES="libinput keyboard mouse"
IUSE_IMPLICIT="abi_x86_32 prefix prefix-guest prefix-stack"
KERNEL="linux"
L10N="en en-US de de-DE"
LADSPA_PATH="/usr/lib/ladspa"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LC_MESSAGES="C"
LC_PAPER="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LIBDIR_x86="lib"
LINGUAS="en de"
LOGNAME="root"
MAIL="/var/mail/root"
MAKEOPTS="--jobs 5 --load-average 7.95"
MANPAGER="manpager"
MULTILIB_ABIS="x86"
NETBEANS_MODULES="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml"
NOCOLOR="true"
OFFICE_IMPLEMENTATION="libreoffice"
OLDPWD="/root"
OPENCL_PROFILE="ocl-icd"
OPENGL_PROFILE="xorg-x11"
PAGER="/usr/bin/less"
PATH="/usr/lib/llvm/8/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin"
PHP_TARGETS="php7-1 php7-2 php7-3"
POSTGRES_TARGETS="postgres10 postgres11"
PWD="/tmp/stable"
PYTHONDONTWRITEBYTECODE="1"
PYTHON_SINGLE_TARGET="python3_6"
PYTHON_TARGETS="python2_7 python3_6"
QT_GRAPHICSSYSTEM="raster"
ROOT="/"
ROOTPATH="/usr/lib/llvm/8/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin"
RUBY_TARGETS="ruby24 ruby25"
SHELL="/bin/bash"
SHLVL="2"
SSH_TTY="/dev/pts/0"
SYSROOT="/"
TERM="tmux-256color"
TMUX="/tmp//tmux-0/default,4423,0"
TMUX_PANE="%1"
TWISTED_DISABLE_WRITING_OF_PLUGIN_CACHE="1"
USER="root"
USERLAND="GNU"
VIDEO_CARDS="vmware"
XDG_CONFIG_DIRS="/etc/xdg"
XDG_DATA_DIRS="/usr/local/share:/usr/share"
XDG_RUNTIME_DIR="/run/user/0"
XDG_SESSION_CLASS="user"
XDG_SESSION_ID="2"
XDG_SESSION_TYPE="tty"
Comment 1 Andreas Sturmlechner gentoo-dev 2019-12-01 21:21:31 UTC
I guess it needs virtualx.
Comment 2 Larry the Git Cow gentoo-dev 2019-12-09 13:20:36 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8df8d49fe8f1594924deb314372eff8e47dbb1a7

commit 8df8d49fe8f1594924deb314372eff8e47dbb1a7
Author:     Miroslav Šulc <fordfrog@gentoo.org>
AuthorDate: 2019-12-09 13:19:33 +0000
Commit:     Miroslav Šulc <fordfrog@gentoo.org>
CommitDate: 2019-12-09 13:20:29 +0000

    media-sound/rosegarden-19.06: partially fixed wrt tests
    
    added virtualx eclass which fixes 4 out of 5 tests
    
    Bug: https://bugs.gentoo.org/701682
    Package-Manager: Portage-2.3.81, Repoman-2.3.20
    Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>

 media-sound/rosegarden/rosegarden-19.06.ebuild | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
Comment 3 Miroslav Šulc gentoo-dev 2019-12-09 19:00:22 UTC
unfortunately i have no idea how to find out why one of the tests is still failing. what i was able to find out that running it as portage user crashes and running it as root finishes fine.

portage user $ ./test_notationview_selection
No protocol specified
qt.qpa.xcb: could not connect to display :0.0
Neúspěšně ukončen (SIGABRT)

root user #./test_notationview_selection
Profiler : id = RosegardenDocument::checkSequencerTimer - elapsed = 0ms CPU,  0.000001000R real
********* Start testing of TestNotationViewSelection *********
Config: Using QtTest library 5.13.2, Qt 5.13.2 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 9.2.0)
QDEBUG : TestNotationViewSelection::initTestCase() [Composition] getTrackById( 0 ): WARNING: Track ID not found.
QDEBUG : TestNotationViewSelection::initTestCase() [Composition]   Available track ids are:
QDEBUG : TestNotationViewSelection::initTestCase() [generic]  NotationTool::findActionInParentView: Can't find ActionFileClient in parent widget hierarchy
QDEBUG : TestNotationViewSelection::initTestCase() [generic]  NotationTool::invokeInParentView: No action " "no_accidental" " found in parent view
QDEBUG : TestNotationViewSelection::initTestCase() [NoteFontMap] startElement(): WARNING: Unable to load any of the fonts in "fughetta"
QDEBUG : TestNotationViewSelection::initTestCase() [NoteFontMap] startElement(): WARNING: Unable to load any of the fonts in "inkpen2,inkpen"
QDEBUG : TestNotationViewSelection::initTestCase() [NoteFontMap] startElement(): WARNING: Unable to load any of the fonts in "maestro"
QDEBUG : TestNotationViewSelection::initTestCase() [NoteFontMap] startElement(): WARNING: Unable to load any of the fonts in "opus"
QDEBUG : TestNotationViewSelection::initTestCase() [NoteFontMap] startElement(): WARNING: Unable to load any of the fonts in "petrucci"
QDEBUG : TestNotationViewSelection::initTestCase() [NoteFontMap] startElement(): WARNING: Unable to load any of the fonts in "sonata"
QDEBUG : TestNotationViewSelection::initTestCase() [NoteFontMap] startElement(): WARNING: Unable to load any of the fonts in "steinberg notation"
QDEBUG : TestNotationViewSelection::initTestCase() [NoteFontMap] startElement(): WARNING: Unable to load any of the fonts in "xinfonia"
QDEBUG : TestNotationViewSelection::initTestCase() [ResourceFinder] getResourcePath(): Resource file " "Feta.xml" " for category " "/fonts/mappings" " not found.
QDEBUG : TestNotationViewSelection::initTestCase() [ResourceFinder] getResourcePath(): Resource file " "Feta.xml" " for category " "/fonts/mappings" " not found.
QDEBUG : TestNotationViewSelection::initTestCase() [ResourceFinder] getResourcePath(): Resource file " "Feta.xml" " for category " "/fonts/mappings" " not found.
QDEBUG : TestNotationViewSelection::initTestCase() [ResourceFinder] getResourcePath(): Resource file " "Feta.xml" " for category " "/fonts/mappings" " not found.
Profiler : id = NotationScene::layout: Reset layouts for full scan - elapsed = 0ms CPU,  0.000005000R real
Profiler : id = NotationScene::layout: Scan layouts - elapsed = 8ms CPU,  0.012181000R real
Profiler : id = StaffLayout::sizeStaff - elapsed = 14ms CPU,  0.024637000R real
Profiler : id = NotationStaff::positionElements - elapsed = 1ms CPU,  0.001472000R real
Profiler : id = NotationStaff::regenerate: repositioning - elapsed = 1ms CPU,  0.001525000R real
Profiler : id = NotationStaff::regenerate - elapsed = 1ms CPU,  0.001708000R real
Profiler : id = NotationScene::layout: regeneration - elapsed = 1ms CPU,  0.001744000R real
Profiler : id = NotationScene::layout - elapsed = 26ms CPU,  0.039538000R real
Profiler : id = NotationScene::layoutAll - elapsed = 26ms CPU,  0.039574000R real
Profiler : id = NotationScene::layout: Reset layouts for full scan - elapsed = 0ms CPU,  0.000020000R real
Profiler : id = NotationScene::layout: Scan layouts - elapsed = 1ms CPU,  0.001075000R real
Profiler : id = StaffLayout::sizeStaff - elapsed = 4ms CPU,  0.004192000R real
Profiler : id = NotationStaff::positionElements - elapsed = 1ms CPU,  0.001703000R real
Profiler : id = NotationStaff::regenerate: repositioning - elapsed = 1ms CPU,  0.001787000R real
Profiler : id = NotationStaff::regenerate - elapsed = 2ms CPU,  0.002261000R real
Profiler : id = NotationScene::layout: regeneration - elapsed = 2ms CPU,  0.002329000R real
Profiler : id = NotationScene::layout - elapsed = 8ms CPU,  0.008554000R real
Profiler : id = NotationScene::layoutAll - elapsed = 8ms CPU,  0.008618000R real
PASS   : TestNotationViewSelection::initTestCase()
PASS   : TestNotationViewSelection::testNavigate()
PASS   : TestNotationViewSelection::testKeyboardSelection(1-3-5)
PASS   : TestNotationViewSelection::testKeyboardSelection(shift_change_direction_1)
PASS   : TestNotationViewSelection::testKeyboardSelection(shift_change_direction_2)
PASS   : TestNotationViewSelection::testKeyboardSelection(bug_1519_testcase_2)
PASS   : TestNotationViewSelection::testKeyboardSelection(shift_right_again_same_note)
PASS   : TestNotationViewSelection::testKeyboardSelection(shift_left_again_same_note)
PASS   : TestNotationViewSelection::testKeyboardSelection(select_unselect_bar)
PASS   : TestNotationViewSelection::testSelectForwardAndBackward()
PASS   : TestNotationViewSelection::cleanupTestCase()
Totals: 11 passed, 0 failed, 0 skipped, 0 blacklisted, 1356ms
********* Finished testing of TestNotationViewSelection *********
Comment 4 Andreas Sturmlechner gentoo-dev 2020-06-30 12:18:44 UTC
What about 19.12?
Comment 5 Miroslav Šulc gentoo-dev 2020-07-10 08:16:44 UTC
it's the same. and the same for 20.06. i guess it's not a problem in the test itself but in the way how we set up the environment for the tests as the failing test is some kind of gui test iirc:

1/9 Test #3: segmenttransposecommand ..........   Passed    1.25 sec
2/9 Test #5: transpose ........................   Passed    1.24 sec
3/9 Test #2: accidentals ......................   Passed    1.26 sec
4/9 Test #7: utf8 .............................   Passed    1.24 sec
5/9 Test #6: reference_segment ................   Passed    1.26 sec
6/9 Test #1: realtime .........................   Passed    1.28 sec
7/9 Test #8: testmisc .........................   Passed    1.44 sec
8/9 Test #4: test_notationview_selection ......Child aborted***Exception:   4.22 sec
9/9 Test #9: lilypond_export_test .............   Passed    4.35 sec
Comment 6 Larry the Git Cow gentoo-dev 2020-08-07 18:06:48 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f02ead14ea4f4342d302fca90f9955907d89df7

commit 9f02ead14ea4f4342d302fca90f9955907d89df7
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2020-08-07 17:46:58 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2020-08-07 18:06:30 +0000

    media-sound/rosegarden: Disable failing test_notationview_selection
    
    Cleanup superfluous whitespace.
    Simplify DISABLE_LIRC switch.
    
    Closes: https://bugs.gentoo.org/701682
    Package-Manager: Portage-3.0.1, Repoman-2.3.23
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 media-sound/rosegarden/rosegarden-19.12.ebuild | 8 ++++++--
 media-sound/rosegarden/rosegarden-20.06.ebuild | 8 ++++++--
 2 files changed, 12 insertions(+), 4 deletions(-)

Additionally, it has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1937531f9279723898630520ae4ab1d36fbb2d7e

commit 1937531f9279723898630520ae4ab1d36fbb2d7e
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2020-08-07 17:52:31 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2020-08-07 18:06:30 +0000

    media-sound/rosegarden: Drop superfluous RESTRICT="!test? ( test )"
    
    There's no IUSE=test in this ebuild.
    
    Bug: https://bugs.gentoo.org/701682
    Package-Manager: Portage-3.0.1, Repoman-2.3.23
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 media-sound/rosegarden/rosegarden-19.12.ebuild | 1 -
 media-sound/rosegarden/rosegarden-20.06.ebuild | 1 -
 2 files changed, 2 deletions(-)