Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 530766 - dev-db/percona-server fails test: federated.federated_plugin
Summary: dev-db/percona-server fails test: federated.federated_plugin
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux MySQL bugs team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-26 13:51 UTC by Thomas Deutschmann (RETIRED)
Modified: 2015-12-22 18:46 UTC (History)
0 users

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


Attachments
percona-server-5.6.21.70.1_20141126-103057.log.gz (percona-server-5.6.21.70.1_20141126-103057.log.gz,96.17 KB, application/gzip)
2014-11-26 13:51 UTC, Thomas Deutschmann (RETIRED)
Details
Backported solution from bug #401673 (backported_solution_bug401673.diff,660 bytes, patch)
2014-11-27 22:28 UTC, Thomas Deutschmann (RETIRED)
Details | Diff
Backported solution from bug #401673 (fix_530766.patch,557 bytes, patch)
2015-12-15 23:44 UTC, Thomas Deutschmann (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Deutschmann (RETIRED) gentoo-dev 2014-11-26 13:51:39 UTC
Created attachment 390334 [details]
percona-server-5.6.21.70.1_20141126-103057.log.gz

Hi,

looks like a regression (see bug 401673): dev-db/percona-server-5.6.21.70.1 was built without "extraengine" USE flag:

[...]
Unit tests: 100% tests passed, 0 tests failed out of 21
Report from unit tests in /var/tmp/portage/dev-db/percona-server-5.6.21.70.1/temp/var-tests/ctest.log
--------------------------------------------------------------------------
The servers were restarted 703 times
Spent 3894.589 of 1668 seconds executing testcases

Completed: Failed 1/2830 tests, 99.96% were successful.

Failing test(s): federated.federated_plugin

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

1023 tests were skipped, 237 by the test itself.
[...]

...the test shouldn't have run.


# emerge --info percona-server
Portage 2.2.14 (python 3.4.2-final-0, default/linux/amd64/13.0, gcc-4.8.3, glibc-2.20, 3.18.0-rc6 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.18.0-rc6-x86_64-Intel-R-_Core-TM-_i7-3770K_CPU_@_3.50GHz-with-gentoo-2.2
KiB Mem:     4038304 total,   3178492 free
KiB Swap:    1048572 total,   1048324 free
Timestamp of tree: Wed, 26 Nov 2014 09:45:01 +0000
ld GNU ld (GNU Binutils) 2.24
app-shells/bash:          4.3_p30-r1
dev-java/java-config:     2.2.0
dev-lang/perl:            5.20.1-r2
dev-lang/python:          2.7.8, 3.3.5-r1, 3.4.2
dev-util/cmake:           3.0.2
dev-util/pkgconfig:       0.28-r2
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.13.6
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.69
sys-devel/automake:       1.14.1
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.8.3
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.3-r2
sys-devel/make:           4.1-r1
sys-kernel/linux-headers: 3.16 (virtual/os-headers)
sys-libs/glibc:           2.20
ABI="amd64"
ABI_X86="64"
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
ACCEPT_PROPERTIES="*"
ACCEPT_RESTRICT="*"
ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem
 ymfpci"
APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_ho
st 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 mi
me_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias"
ARCH="amd64"
AUTOCLEAN="yes"
BOOTSTRAP_USE="cxx unicode internal-glib python_targets_python3_3 python_targets_python2_7 multilib"
CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author"
CAMERAS="ptp2"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=core-avx-i -mno-movbe -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-bmi2 -mno-tbm -mno-avx2 -mno-lzcnt --param l1-cache-size=32 --param l1-cache-line-s
ize=64 --param l2-cache-size=8192 -mtune=generic"
CFLAGS_amd64="-m64"
CFLAGS_x32="-mx32"
CFLAGS_x86="-m32"
CHOST="x86_64-pc-linux-gnu"
CHOST_amd64="x86_64-pc-linux-gnu"
CHOST_x32="x86_64-pc-linux-gnux32"
CHOST_x86="i686-pc-linux-gnu"
CXXFLAGS="-O2 -pipe -march=core-avx-i -mno-movbe -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-bmi2 -mno-tbm -mno-avx2 -mno-lzcnt --param l1-cache-size=32 --param l1-cache-lin$
-size=64 --param l2-cache-size=8192 -mtune=generic"
DEFAULT_ABI="amd64"
DISTDIR="/usr/portage/distfiles"
EDITOR="/bin/nano"
ELIBC="glibc"
EMERGE_DEFAULT_OPTS="--quiet-build=n --verbose --buildpkg-exclude 'virtual/* net-firewall/xtables-addons'"
EMERGE_WARNING_DELAY="10"
EPREFIX=""
EROOT="/"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs cgroup config-protect-if-modified distlocks downgrade-backup ebuild-locks fixlafiles ipc-sandbox merge-sync network-sandbox news parallel-fetch preserve$
libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FETCHCOMMAND="wget -t 3 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}""
FETCHCOMMAND_RSYNC="rsync -avP "${URI}" "${DISTDIR}/${FILE}""
FETCHCOMMAND_SFTP="bash -c "x=\${2#sftp://} ; host=\${x%%/*} ; port=\${host##*:} ; host=\${host%:*} ; [[ \${host} = \${port} ]] && port=22 ; eval \"declare -a ssh_opts=(\${3})\" ; exec sftp
-P \${port} \"\${ssh_opts[@]}\" \"\${host}:/\${x#*/}\" \"\$1\"" sftp "${DISTDIR}/${FILE}" "${URI}" "${PORTAGE_SSH_OPTS}""
FETCHCOMMAND_SSH="bash -c "x=\${2#ssh://} ; host=\${x%%/*} ; port=\${host##*:} ; host=\${host%:*} ; [[ \${host} = \${port} ]] && port=22 ; exec rsync --rsh=\"ssh -p\${port} \${3}\" -avP \"\$
{host}:/\${x#*/}\" \"\$1\"" rsync "${DISTDIR}/${FILE}" "${URI}" "${PORTAGE_SSH_OPTS}""
FFLAGS="-O2 -pipe"
GCC_SPECS=""
ipmate tnt ublox ubx"
GRUB_PLATFORMS=""
GUILE_LOAD_PATH="/usr/share/guile/1.8"
HISTFILESIZE="10000"
HISTSIZE="5000"
HISTTIMEFORMAT="[%F %T]: "
HOME="/root"
INFOPATH="/usr/share/info:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.8.3/info:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.24/info"
INPUT_DEVICES="keyboard mouse evdev"
IUSE_IMPLICIT="abi_x86_64 prefix"
KERNEL="linux"
LANG="en_US.UTF-8"
MAKEOPTS="--jobs 6"

=================================================================
                        Package Settings
=================================================================

dev-db/percona-server-5.6.21.70.1 was built with the following:
USE="community perl tcmalloc -cluster -debug (-embedded) -extraengine -jemalloc -latin1 -max-idx-128 -minimal -pam -profiling (-selinux) -ssl -static -static-libs -systemtap -test" ABI_X86="
64 -32 -x32"
Comment 1 Thomas Deutschmann (RETIRED) gentoo-dev 2014-11-27 22:28:31 UTC
Created attachment 390430 [details, diff]
Backported solution from bug #401673

I backported the solution [1] from bug #401673.

I guess dev-db/mysql has the same problem, because it is using the same test suite.

But I don't understand why this test isn't skipped by the test suite at all:

"mysql-test/suite/federated/federated_plugin.test" has

> --source include/not_embedded.inc
> --source include/have_federated_plugin.inc

and "mysql-test/include/have_federated_plugin.inc" has

> if (`select plugin_library IS NULL from information_schema.plugins where plugin_name LIKE '%federated%'`)
> {
>   --skip federated plugin not available
> }

For test "federated.federated_innodb", skipping will work...


[1] http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/dev-db/mysql/mysql-5.1.61.ebuild?hideattic=0&r1=1.1&r2=1.2&view=patch
Comment 2 Thomas Deutschmann (RETIRED) gentoo-dev 2015-07-28 19:10:41 UTC
The patch is still needed for dev-db/percona-server-5.6.25.73.0-r1.

Please, can we add the backport to the ebuild?
Comment 3 Thomas Deutschmann (RETIRED) gentoo-dev 2015-09-17 20:48:36 UTC
Still required for percona-server-5.6.26.74.0...
Comment 4 Thomas Deutschmann (RETIRED) gentoo-dev 2015-12-15 23:44:46 UTC
Created attachment 419302 [details, diff]
Backported solution from bug #401673

I updated the patch for percona-server-5.6.27.75.0-r1.ebuild to support new mysql-multilib-r1 eclass.

Any idea when this will be added to the official ebuild? Or is something wrong with the fix?
Comment 5 Brian Evans (RETIRED) gentoo-dev 2015-12-22 18:46:28 UTC
Done with version 5.6.27.76.0