Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 635838 - net-misc/freerdp-2.0.0_rc0: test failure: TestIoDevice
Summary: net-misc/freerdp-2.0.0_rc0: test failure: TestIoDevice
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Mike Gilbert
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2017-10-29 21:46 UTC by Thomas Deutschmann (RETIRED)
Modified: 2019-09-29 21:08 UTC (History)
0 users

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


Attachments
build.log (build.log.gz,36.26 KB, application/gzip)
2017-10-29 21:46 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 2017-10-29 21:46:07 UTC
99% tests passed, 1 tests failed out of 184

Total Test time (real) =  44.02 sec

The following tests FAILED:
         66 - TestIoDevice (Failed)
Errors while running CTest
 * ERROR: net-misc/freerdp-2.0.0_rc0::gentoo failed (test phase):
 *   Tests failed. When you file a bug, please attach the following file:
 *      /var/tmp/portage/net-misc/freerdp-2.0.0_rc0/work/freerdp-2.0.0_rc0_build/Testing/Temporary/LastTest.log
 *


Portage 2.3.8 (python 3.4.5-final-0, default/linux/x86/13.0, gcc-5.4.0, glibc-2.25-r8, 4.12.12-gentoo i686)
=================================================================
System uname: Linux-4.12.12-gentoo-i686-Intel-R-_Core-TM-_i7-3770K_CPU_@_3.50GHz-with-gentoo-2.4.1
KiB Mem:     3108084 total,   1443356 free
KiB Swap:     488276 total,    423508 free
Timestamp of repository gentoo: Sun, 29 Oct 2017 18:55:48 +0000
Head commit of repository gentoo: bf80d30bcd13467380306cde1d1e9d2370d30bc3

sh bash 4.3_p48-r1
ld GNU ld (Gentoo 2.28.1 p1.0) 2.28.1
app-shells/bash:          4.3_p48-r1::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.3::gentoo
dev-lang/python:          2.7.12::gentoo, 3.4.5::gentoo, 3.5.4::gentoo
dev-util/cmake:           3.8.2::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.32.1::gentoo
sys-apps/sandbox:         2.10-r4::gentoo
sys-devel/autoconf:       2.69::gentoo
sys-devel/automake:       1.15.1-r1::gentoo
sys-devel/binutils:       2.28.1::gentoo
sys-devel/gcc:            5.4.0-r3::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.25-r8::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="* -@EULA"
ACCEPT_PROPERTIES="*"
ACCEPT_RESTRICT="*"
ARCH="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=ivybridge -mtune=ivybridge -mno-xsaveopt"
CHOST="i686-pc-linux-gnu"
CHOST_x86="i686-pc-linux-gnu"
COLLISION_IGNORE="/lib/modules/* *.py[co] *$py.class */dropin.cache"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CPU_FLAGS_X86="mmx mmxext popcnt sse"
CXXFLAGS="-O2 -pipe -march=ivybridge -mtune=ivybridge -mno-xsaveopt"
DEFAULT_ABI="x86"
EDITOR="/usr/bin/mcedit"
ELIBC="glibc"
EPREFIX=""
EROOT="/"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs cgroup config-protect-if-modified distlocks downgrade-backup ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch 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"
GUILE_LOAD_PATH="/usr/share/guile/1.8"
HOME="/root"
INFOPATH="/usr/share/gcc-data/i686-pc-linux-gnu/5.4.0/info:/usr/share/binutils-data/i686-pc-linux-gnu/2.28.1/info:/usr/share/info"
INPUT_DEVICES="libinput keyboard mouse"
IUSE_IMPLICIT="abi_x86_32 prefix prefix-chain prefix-guest"
KERNEL="linux"
L10N="en en-US de de-DE"
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"
MULTILIB_ABIS="x86"
NOCOLOR="true"
OFFICE_IMPLEMENTATION="libreoffice"
OPENGL_PROFILE="xorg-x11"
PAGER="/usr/bin/less"
PATH="/usr/i686-pc-linux-gnu/gcc-bin/5.4.0:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin"
PHP_TARGETS="php5-6 php7-0"
POSTGRES_TARGETS="postgres9_5"
PWD="/root"
PYTHONDONTWRITEBYTECODE="1"
PYTHON_SINGLE_TARGET="python3_4"
PYTHON_TARGETS="python2_7 python3_4 python3_5"
QT_GRAPHICSSYSTEM="raster"
ROOT="/"
ROOTPATH="/usr/i686-pc-linux-gnu/gcc-bin/5.4.0:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin"
RUBY_TARGETS="ruby22"
SHELL="/bin/bash"
SHLVL="2"
SSH_TTY="/dev/pts/0"
TERM="screen"
TMUX="/tmp/tmux-0/default,4833,0"
TMUX_PANE="%4"
TWISTED_DISABLE_WRITING_OF_PLUGIN_CACHE="1"
USER="root"
USERLAND="GNU"
VIDEO_CARDS="vmware"
Comment 1 Thomas Deutschmann (RETIRED) gentoo-dev 2017-10-29 21:46:42 UTC
Created attachment 500960 [details]
build.log
Comment 2 Thomas Deutschmann (RETIRED) gentoo-dev 2017-10-29 21:49:02 UTC
LastTest.log is too large (7MB gzip'ed):

66/184 Testing: TestIoDevice
66/184 Test: TestIoDevice
Command: "/var/tmp/portage/net-misc/freerdp-2.0.0_rc0/work/freerdp-2.0.0_rc0_build/Testing/TestIo" "TestIoDevice"
Directory: /var/tmp/portage/net-misc/freerdp-2.0.0_rc0/work/freerdp-2.0.0_rc0_build/winpr/libwinpr/io/test
"TestIoDevice" start time: Oct 29 22:28 CET
Output:
----------------------------------------------------------
<end of output>
Test time =   0.01 sec
----------------------------------------------------------
Test Failed.
"TestIoDevice" end time: Oct 29 22:28 CET
"TestIoDevice" time elapsed: 00:00:00
----------------------------------------------------------
Comment 3 Mike Gilbert gentoo-dev 2017-10-29 22:12:22 UTC
This failure appears to be triggered by running tests in parallel. I don't think we need to hold up stabilization over it.
Comment 4 Thomas Deutschmann (RETIRED) gentoo-dev 2017-10-29 22:28:41 UTC
Your decision but I still see the test failure with MAKEOPTS=-j1.
Comment 5 Mike Gilbert gentoo-dev 2017-10-29 22:42:56 UTC
Hmm... the test passes when I run it manually, and I can sometimes get it to work from the ebuild.

Still seems like a flakey test issue and probably not worth holding up the stable request.
Comment 6 Mike Gilbert gentoo-dev 2017-10-30 00:38:23 UTC
Turns out this was a bug that happens the first time _IoCreateDeviceEx() is called. The return status of mkdir("/tmp/.device") is incorrectly evaluated.

Calling _IoCreateDeviceEx() a second time succeeds since /tmp/.device already exists at that point.

I sent a patch upstream.