worker[1] mysql-test-run: WARNING: Process [mysqld.1 - pid: 29860, winpid: 29860, exit: 512] died after mysql-test-run waited 0.3 seconds for /var/tmp/portage/dev-db/mariadb-5.5.37-r1/work/mysql/mysql-test/var-tests/run/mysqld.1.pid to be created. funcs_1.is_engines_federated [ fail ] Test ended at 2014-04-27 00:42:09 CURRENT_TEST: funcs_1.is_engines_federated Failed to start mysqld.1 mysqltest failed but provided no output - saving '/var/tmp/portage/dev-db/mariadb-5.5.37-r1/work/mysql/mysql-test/var-tests/log/funcs_1.is_engines_federated/' to '/var/tmp/portage/dev-db/mariadb-5.5.37-r1/work/mysql/mysql-test/var-tests/log/funcs_1.is_engines_federated/' ***Warnings generated in error logs during shutdown after running tests: funcs_1.is_engines_federated 140427 0:42:09 [ERROR] /var/tmp/portage/dev-db/mariadb-5.5.37-r1/work/mariadb-5.5.37_build/sql/mysqld: unknown option '--federated' 140427 0:42:09 [ERROR] Aborting -------------------------------------------------------------------------- The servers were restarted 697 times Spent 5303.404 of 7403 seconds executing testcases Completed: Failed 1/2688 tests, 99.96% were successful. Failing test(s): funcs_1.is_engines_federated The log files in var/log may give you some hint of what went wrong. If you want to report this error, please read first the documentation at http://dev.mysql.com/doc/mysql/en/mysql-test-suite.html Errors/warnings were found in logfiles during server shutdown after running the following sequence(s) of tests: funcs_1.is_engines_federated 312 tests were skipped, 156 by the test itself. mysql-test-run: *** ERROR: there were failing test cases * tests failed /var/tmp/portage/dev-db/mariadb-5.5.37-r1/work/mysql * ERROR: dev-db/mariadb-5.5.37-r1 failed (test phase): * Test failures: tests * * Call stack: * ebuild.sh, line 93: Called src_test * environment, line 4030: Called die * The specific snippet of code: * [[ -z "$failures" ]] || die "Test failures: $failures"; * * If you need support, post the output of `emerge --info '=dev-db/mariadb-5.5.37-r1'`, * the complete build log and the output of `emerge -pqv '=dev-db/mariadb-5.5.37-r1'`. * The complete build log is located at '/var/tmp/portage/dev-db/mariadb-5.5.37-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-db/mariadb-5.5.37-r1/temp/environment'. * Working directory: '/var/tmp/portage/dev-db/mariadb-5.5.37-r1/work/mysql' * S: '/var/tmp/portage/dev-db/mariadb-5.5.37-r1/work/mysql' # emerge --info '=dev-db/mariadb-5.5.37-r1' Portage 2.3.6-r7 (funtoo/1.0/linux-gnu/arch/x86-64bit, gcc-4.8.2, glibc-2.18-r1, 3.14.1-gentoo x86_64) ================================================================= System Settings ================================================================= System uname: Linux-3.14.1-gentoo-x86_64-Intel-R-_Core-TM-_i5-2300_CPU_@_2.80GHz-with-gentoo-2.2.0 KiB Mem: 4037340 total, 1178528 free KiB Swap: 8388604 total, 8387360 free Timestamp of tree: Sun, 27 Apr 2014 10:45:01 +0000 ld GNU ld (GNU Binutils) 2.23.2 app-shells/bash: 4.2_p45-r1 dev-java/java-config: 2.2.0-r1000 dev-lang/python: 2.7.6-r1001, 3.3.5-r1000 dev-util/cmake: 2.8.12.2 sys-apps/baselayout: 2.2.0-r6 sys-apps/openrc: 0.12.3-r1 sys-apps/sandbox: 2.6-r2 sys-devel/autoconf: 2.13, 2.69 sys-devel/automake: 1.11.6, 1.13.4 sys-devel/binutils: 2.23.2 sys-devel/gcc: 4.8.2-r2 sys-devel/gcc-config: 1.8 sys-devel/libtool: 2.4.2 sys-devel/make: 4.0-r1 sys-kernel/linux-headers: 3.13 (virtual/os-headers) sys-libs/glibc: 2.18-r1 Repositories: gentoo steam-overlay java pentoo rion ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA skype-4.0.0.7-copyright Oracle-BCLA-JavaSE AdobeFlash-11.x" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.1/conf /usr/share/themes/oxygen-gtk/gtk-2.0" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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 /etc/udev/rules.d" CXXFLAGS="-march=native -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv" FFLAGS="" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed" LINGUAS="de de_DE en en_US" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/var/lib/layman/steam /var/lib/layman/java /var/lib/layman/pentoo /var/lib/layman/rion" SYNC="git://github.com/funtoo/ports-2012.git" SYNC_USER="root" USE="X a52 aac acl acpi alsa amd64 apng bash-completion berkdb bzip2 cdda cdr consolekit cracklib crypt cups cxx dbus dri dvd dvdr dvdread flac flash gdbm gif git gpm iconv icu ipv6 jpeg kde lame mad mmx modules mp3 mpeg mtp mudflap multilib ncurses nls nptl nsplugin ogg opengl openmp pam pcre png policykit pppd python readline resolvconf scanner semantic-desktop sse sse2 ssl tcl tcpd threads tiff truetype udev unicode vdpau vim vim-syntax vorbis wavpack win32codecs xine xml zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel ice1724 intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 authn_core authz_core socache_shmcb unixd" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" 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 ublox ubx" INPUT_DEVICES="evdev synaptics keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de de_DE en en_US" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_ABIS="2.7 3.3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby19 ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="nvidia" 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, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, SYNC_UMASK ================================================================= Package Settings ================================================================= dev-db/mariadb-5.5.37-r1 was built with the following: USE="community embedded (multilib) pam perl ssl -cluster -debug -extraengine -jemalloc -latin1 -max-idx-128 -minimal -oqgraph -profiling (-selinux) -sphinx -static -static-libs -systemtap -tcmalloc -test -tokudb" CFLAGS="-march=native -O2 -pipe -fno-strict-aliasing" CXXFLAGS="-march=native -O2 -pipe -fno-strict-aliasing -felide-constructors -fno-implicit-templates -fno-exceptions -fno-rtti -fno-strict-aliasing"
There are official instructions in the ebuild. # Official test instructions: # USE='-cluster embedded extraengine perl ssl static-libs community' \ # FEATURES='test userpriv -usersandbox' \ # ebuild mariadb-X.X.XX.ebuild \ # digest clean package Your use flags are: USE="community embedded (multilib) pam perl ssl -cluster -debug -extraengine -jemalloc -latin1 -max-idx-128 -minimal -oqgraph -profiling (-selinux) -sphinx -static -static-libs -systemtap -tcmalloc -test -tokudb" Since they do not match the instructions, this bug is invalid.
Hi Brian, thank you for your advice. Running the test suite again with extraengine as additional use flag succeeds. The big advantage of gentoo is the possibility to install software directly from source already tested! In most cases the test suite will automatically skip the test cases regarding disabled use flags. Unfortunately not in this case ...
(In reply to Brian Evans from comment #1) > There are official instructions in the ebuild. There are comments in the ebuild. You can't possibly expect users to read every ebuild they install just in case there's some special secret magic spell that they need to do to make it work. Better solutions would be: 1) Automatically skip individual problematic tests if the necessary flags aren't enabled. 2) Skip all the tests, with an ewarn, if the necessary flags aren't enabled. 3) Fail early on if tests are enabled without the necessary flags. 4) If the tests fail, display a message telling the user to make sure they have the necessary flags enabled before investigating / filing bugs.