From: "Brian Evans" <grknight@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/mysql:master commit in: dev-db/mariadb-galera/
Date: Fri, 30 Jan 2015 19:37:36 +0000 (UTC) [thread overview]
Message-ID: <1422646640.67421646fa335d67a5b7cbcb36e3a13428ab9021.grknight@gentoo> (raw)
commit: 67421646fa335d67a5b7cbcb36e3a13428ab9021
Author: Brian Evans <grknight <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 30 19:37:20 2015 +0000
Commit: Brian Evans <grknight <AT> gentoo <DOT> org>
CommitDate: Fri Jan 30 19:37:20 2015 +0000
URL: http://sources.gentoo.org/gitweb/?p=proj/mysql.git;a=commit;h=67421646
[mariadb-galera] Version bump; Tests fail and need work
---
dev-db/mariadb-galera/Manifest | 1 +
.../mariadb-galera/mariadb-galera-10.0.16.ebuild | 130 +++++++++++++++++++++
2 files changed, 131 insertions(+)
diff --git a/dev-db/mariadb-galera/Manifest b/dev-db/mariadb-galera/Manifest
index 5f816d2..b70fdcc 100644
--- a/dev-db/mariadb-galera/Manifest
+++ b/dev-db/mariadb-galera/Manifest
@@ -1,4 +1,5 @@
DIST mariadb-galera-10.0.14.tar.gz 51396249 SHA256 ce5a20df0cea64cd1efb2cbe29f91842e56d47266a550e79d87dc96f50bff769 SHA512 6e617b0050eb52f14631c9751b4d4fea699b4eca6ef33a8397fe5076f029ca7c516c6915264a175cecd735651b540ae37bc5d3214a2da6e24d8430a969b5ea45 WHIRLPOOL 6807e32ac5e6423eb216f45d9dbf5829837880ace0f96e09a6dc760c7dcd9e169744197019f879c08a661ec11ae8269d57f5063bec33b648aabdba87e4fbf2de
DIST mariadb-galera-10.0.15.tar.gz 55753400 SHA256 aea257ce0834d2c0e34e76966afecda0349995c2f6df0dbeec01f3e81ce5e0bb SHA512 e8a3addb7b6dcda8d3984d3cad17b478df70c67ce356e007385953bbd17d717cbc874713ac0066570e5b3154459666991d6f69bc80deeedff219d3efa9bac1ea WHIRLPOOL c7453899591da3a68e51a24d17283bfe2334f87db6a0e1e25313f5bade1bf5986227e21aeff086be291d55d4533d1e69556c3630048fca346cf3fa6ee864d71a
+DIST mariadb-galera-10.0.16.tar.gz 55886236 SHA256 c730c6dbeee4e2985a8db9dc15a6b6e8e64db14cef1442ee5f6732d2754ed9fb SHA512 2a3fcb79bd32420b4b69118825ed4c954fcf7d1fd2358159687bc90157aef9e440d24209ffa71887029b66adca14f439f08d3edfdcee431b9d8bc49a9c7e6762 WHIRLPOOL 60c27680e8ba91f174cb9827e9def0760e8e388f4f072e9d8b71b102a57f2e141dc6cdd66604ad802512ad24855af9216ab4d87718f30c1ff599b3222b44d31c
DIST mysql-extras-20141019-1948Z.tar.bz2 1494569 SHA256 9a2ced701ef613e2a41c9a1fc550d9004d04f52cbfc06bb634ba9284d7a1c0ea SHA512 c9e3f3a447f010be0563b9d9ee2937d32c5334b04a883218eb6c14af41f9de635c3c0c44128959793e8a12ca3b26b2415777a13aced7c3812ab2c6d21ade6799 WHIRLPOOL bc0c73ca86d59d18a76a047a920fc2f64d2b3246e6b64838127d26c5c55cb3fc1ce8833656f5eadba72ef651e1f6c3e75700f776a1205ab33ab6ee0064851b86
DIST mysql-extras-20141215-0144Z.tar.bz2 1494767 SHA256 4757043858110654d52b0e6dccab064987ab5db8ae4ae99863cf86df0b90f947 SHA512 7a9b733d09f44b1faff19a496a3e820e444b339838665e6f37c4fddc8f2ad67e805082d598c4edc06fda9364f9906e4cf95520552f72d6b6df34413f38e7a2ed WHIRLPOOL 99ea6890a5faf097b941707538b68f62390e1a49ee662a87c27435a317a9a3f37f00802e72f86b52993b3d1674b57645db0f7e73379ab88fbc1d0ef791cf4326
diff --git a/dev-db/mariadb-galera/mariadb-galera-10.0.16.ebuild b/dev-db/mariadb-galera/mariadb-galera-10.0.16.ebuild
new file mode 100644
index 0000000..3df601e
--- /dev/null
+++ b/dev-db/mariadb-galera/mariadb-galera-10.0.16.ebuild
@@ -0,0 +1,130 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/mariadb-galera/mariadb-galera-10.0.15.ebuild,v 1.1 2014/12/16 02:02:07 grknight Exp $
+
+EAPI="5"
+MY_EXTRAS_VER="20141215-0144Z"
+WSREP_REVISION="25"
+
+inherit toolchain-funcs mysql-multilib
+# only to make repoman happy. it is really set in the eclass
+IUSE="$IUSE"
+
+# REMEMBER: also update eclass/mysql*.eclass before committing!
+KEYWORDS="~amd64 ~x86"
+
+# When MY_EXTRAS is bumped, the index should be revised to exclude these.
+EPATCH_EXCLUDE=''
+
+DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )"
+RDEPEND="${RDEPEND}"
+
+# Please do not add a naive src_unpack to this ebuild
+# If you want to add a single patch, copy the ebuild to an overlay
+# and create your own mysql-extras tarball, looking at 000_index.txt
+
+# Official test instructions:
+# USE='-cluster embedded extraengine perl ssl static-libs community' \
+# FEATURES='test userpriv -usersandbox' \
+# ebuild mariadb-galera-X.X.XX.ebuild \
+# digest clean package
+multilib_src_test() {
+
+ if ! multilib_is_native_abi ; then
+ einfo "Server tests not available on non-native abi".
+ return 0;
+ fi
+
+ local TESTDIR="${BUILD_DIR}/mysql-test"
+ local retstatus_unit
+ local retstatus_tests
+
+ # Bug #213475 - MySQL _will_ object strenously if your machine is named
+ # localhost. Also causes weird failures.
+ [[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost"
+
+ if ! use "minimal" ; then
+
+ if [[ $UID -eq 0 ]]; then
+ die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root."
+ fi
+ has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
+
+ einfo ">>> Test phase [test]: ${CATEGORY}/${PF}"
+ addpredict /this-dir-does-not-exist/t9.MYI
+
+ # Run CTest (test-units)
+ cmake-utils_src_test
+ retstatus_unit=$?
+ [[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed"
+
+ # Ensure that parallel runs don't die
+ export MTR_BUILD_THREAD="$((${RANDOM} % 100))"
+ # You may set this by hand.
+ # The default maximum is 8 unless MTR_MAX_PARALLEL is increased
+ export MTR_PARALLEL="${MTR_PARALLEL:-auto}"
+
+ # create directories because mysqladmin might right out of order
+ mkdir -p "${T}"/var-tests{,/log}
+
+ # These are failing in MariaDB 10.0 for now and are believed to be
+ # false positives:
+ #
+ # main.information_schema, binlog.binlog_statement_insert_delayed,
+ # main.mysqld--help, funcs_1.is_triggers, funcs_1.is_tables_mysql,
+ # funcs_1.is_columns_mysql
+ # fails due to USE=-latin1 / utf8 default
+ #
+ # main.mysql_client_test, main.mysql_client_test_nonblock
+ # mina.mysql_client_test_comp:
+ # segfaults at random under Portage only, suspect resource limits.
+ #
+ # wsrep.variables:
+ # Expects the sys-cluster/galera library to be installed and configured
+ #
+ # wsrep.foreign_key:
+ # Issues a configuration deprecation warning which does not affect data
+ #
+
+ for t in main.mysql_client_test main.mysql_client_test_nonblock \
+ main.mysql_client_test_comp \
+ binlog.binlog_statement_insert_delayed main.information_schema \
+ main.mysqld--help wsrep.variables wsrep.foreign_key \
+ funcs_1.is_triggers funcs_1.is_tables_mysql funcs_1.is_columns_mysql ; do
+ mysql-multilib_disable_test "$t" "False positives in Gentoo"
+ done
+
+ for t in rpl.rpl_heartbeat_ssl rpl.rpl_ssl rpl.rpl_ssl1 main.ssl_cipher ; do
+ mysql-multilib_disable_test "$t" "Disabled due to expired certificate"
+ done
+
+ # Run mysql tests
+ pushd "${TESTDIR}"
+
+ # run mysql-test tests
+ # The PATH addition is required for the galera suite to find the sst scripts
+ WSREP_LOG_DIR="${T}/var-test/wsrep" \
+ PATH="${BUILD_DIR}/scripts:${PATH}" \
+ perl mysql-test-run.pl --force --vardir="${T}/var-tests"
+ retstatus_tests=$?
+ [[ $retstatus_tests -eq 0 ]] || eerror "tests failed"
+ has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
+
+ popd
+
+ # Cleanup is important for these testcases.
+ pkill -9 -f "${S}/ndb" 2>/dev/null
+ pkill -9 -f "${S}/sql" 2>/dev/null
+
+ failures=""
+ [[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit"
+ [[ $retstatus_tests -eq 0 ]] || failures="${failures} tests"
+ has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
+
+ [[ -z "$failures" ]] || die "Test failures: $failures"
+ einfo "Tests successfully completed"
+ else
+
+ einfo "Skipping server tests due to minimal build."
+ fi
+}
next reply other threads:[~2015-01-30 19:37 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-30 19:37 Brian Evans [this message]
-- strict thread matches above, loose matches on Subject: below --
2017-03-02 14:30 [gentoo-commits] proj/mysql:master commit in: dev-db/mariadb-galera/ Brian Evans
2015-11-19 20:01 Brian Evans
2015-11-19 20:01 Brian Evans
2015-11-19 20:01 Brian Evans
2015-08-19 16:59 Brian Evans
2015-06-29 17:08 Brian Evans
2015-06-10 17:32 Brian Evans
2015-04-03 12:27 Brian Evans
2015-02-06 14:10 Brian Evans
2015-01-28 19:13 Brian Evans
2014-10-22 2:12 Brian Evans
2014-09-05 1:15 Brian Evans
2014-09-03 20:04 Brian Evans
2014-07-30 19:48 Brian Evans
2014-07-30 6:32 Robin H. Johnson
2014-07-02 2:02 Brian Evans
2014-05-01 16:10 Brian Evans
2014-04-22 18:08 Brian Evans
2014-04-18 17:01 Brian Evans
2014-03-28 16:47 Brian Evans
2014-03-05 4:03 Brian Evans
2014-02-14 19:06 Brian Evans
2013-12-23 18:00 Brian Evans
2013-10-10 20:03 Brian Evans
2013-09-17 13:57 Brian Evans
2013-08-21 17:28 Brian Evans
2013-04-30 10:17 Jorge Manuel B. S. Vicetto
2013-04-29 23:57 Jorge Manuel B. S. Vicetto
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1422646640.67421646fa335d67a5b7cbcb36e3a13428ab9021.grknight@gentoo \
--to=grknight@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox