public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
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: Wed,  3 Sep 2014 20:04:09 +0000 (UTC)	[thread overview]
Message-ID: <1409774638.c6df5cb4ce472c219a3b63b710239b8cf3e9b06c.grknight@gentoo> (raw)

commit:     c6df5cb4ce472c219a3b63b710239b8cf3e9b06c
Author:     Brian Evans <grknight <AT> gentoo <DOT> org>
AuthorDate: Wed Sep  3 20:03:58 2014 +0000
Commit:     Brian Evans <grknight <AT> gentoo <DOT> org>
CommitDate: Wed Sep  3 20:03:58 2014 +0000
URL:        http://sources.gentoo.org/gitweb/?p=proj/mysql.git;a=commit;h=c6df5cb4

[mariadb-galera] Version bump.  Needs tests run.

---
 dev-db/mariadb-galera/Manifest                     |   2 +
 .../mariadb-galera/mariadb-galera-10.0.13.ebuild   | 121 +++++++++++++++++++++
 2 files changed, 123 insertions(+)

diff --git a/dev-db/mariadb-galera/Manifest b/dev-db/mariadb-galera/Manifest
index 2c7c516..28d0312 100644
--- a/dev-db/mariadb-galera/Manifest
+++ b/dev-db/mariadb-galera/Manifest
@@ -1,4 +1,6 @@
 DIST mariadb-galera-10.0.12.tar.gz 51307785 SHA256 e68d6ec7c99e0c361a1d2e986e4adb2436776de8192e39dc9ea08ef24e13b1ef SHA512 8c6a39d3a81a7ea795a1c55e527c85996b4dc227607722e94d3c13051e19109bb9873b9993279407064f1d9dc0d1585234af5d22d9d1940fc05b856076249504 WHIRLPOOL 2d2a2720a5b5289902254549b06dd4cbb1476ad76b6bb2bef2fbd7ae57cb8490a47a0b260507ff93ef5aa647a270d2de48f0fb7a3a9ef8dcfea059734362db7d
+DIST mariadb-galera-10.0.13.tar.gz 51542182 SHA256 9302c5ca8447e4f33e6f043dbdf56ec0028e1da8dfb713b9f1a81b1d6cd8d2fd SHA512 0274a344ef7da7f663f5822fcd5caa2672e4464e05d06c924050b9f7aaa34c0016067c9dda1f46697519d1eb6b80492f3ac2c7bbb86b0148735fd519b9eb1125 WHIRLPOOL df9c3e1a8fde111f5b1b66d9f556ab4a1b57c42cafd21dabc3a93d8de3add7b46f7f267f17110f19355018c5d2ebc97a8b75a5117106352137a5fdda67fde111
 DIST mariadb-galera-5.5.38.tar.gz 45256556 SHA256 85d82d1d7610eae10d49ccb8b0c64598c0da63dd5b90248b8d2c17e7cd45fb34 SHA512 40b8e7d7d5dc19e74bc7f8d1bdb3bc0cff71f5e04ca76f26b107e4267062fc906640df3463d748107df2f23f12750987116197603d32417cce9b9adc1b0310de WHIRLPOOL 7a4f4e3f6a0dd2b29d6315a98db5884ea56531d0a4f1e1b49bc1df7868b3855a198c6473b967079b1e2e18317bc2c018c310091f9fd905cb83ada70c769bc3cc
 DIST mysql-extras-20140426-0232Z.tar.bz2 1493717 SHA256 84002593102ba35383a7f30c7c03af95750edc7a1bfd0ac6219bdfb4771725e0 SHA512 a7c1d603a5aba7996746ee59699091d30f7422e825815b8198ca4a1068df8e0814cf3de3f8608c034d4b1c145bc3dbc93f73cc8a22ae68a0e1bce5eef9afc3bc WHIRLPOOL 241ba3d4f6c9a2a6f7ca672b1902c5829939fe643f192f7ec41e1ffd9134e137ad6729504300034bad310d21ef60366df9451757250be83900783d9cfca010d7
 DIST mysql-extras-20140729-2200Z.tar.bz2 1494219 SHA256 28363c7ba1893677911451e7f05402a31afc0ed0a48ea1b7cf1915ae1be81e20 SHA512 d90e104b3e73af5589eb32ddbcf9098ad9d69898b55d4d662ebc9578f0281e87fef6b5adb6cdc33fa19a04bf066e01121ead2e6a2bffa0d44ffc10b895392a1c WHIRLPOOL 531a9e08f9231bfcd758bbe8d5b6d5968bd2cfce9c70bc8c15517f497606322da7cffbecd77a0cabd837c3c0ba4f2381a569d583f2fa5ecb14e95a367a93ee11
+DIST mysql-extras-20140903-1928Z.tar.bz2 1494599 SHA256 3a1e4ba87b301751f1964875bdba4c4baafe270267247ee79e4285e256f272f8 SHA512 2fcf08cca2ccf62533058e1994a8aca1ffc17867495d5c7fe588d42978e9c5c2e08f93991f44b0354818db14339a09b156471a7c428de17250c54f48c5aca7c4 WHIRLPOOL fc5983a0cb3c8a8faabdb2b8f8cba183188b5cfa2e40eda0207942ed92cf69675ca1753b7c35420c5b0882d4b77d1daacf586fb08f5cb5c701b7925e549cd2c8

diff --git a/dev-db/mariadb-galera/mariadb-galera-10.0.13.ebuild b/dev-db/mariadb-galera/mariadb-galera-10.0.13.ebuild
new file mode 100644
index 0000000..32e2aad
--- /dev/null
+++ b/dev-db/mariadb-galera/mariadb-galera-10.0.13.ebuild
@@ -0,0 +1,121 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="5"
+MY_EXTRAS_VER="20140903-1928Z"
+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))"
+
+		# create directories because mysqladmin might right out of order
+		mkdir -p "${S}"/mysql-test/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.
+		#
+		# innodb.innodb_simulate_comp_failures_small
+		# Has a very long timeout requirement to be consistent
+		# Upstream bug MDEV-6546
+		#
+
+		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 innodb.innodb_simulate_comp_failures_small \
+			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
+
+		# Run mysql tests
+		pushd "${TESTDIR}"
+
+		# run mysql-test tests
+		# Skip all CONNECT engine tests until upstream respondes to how to reference data files
+		perl mysql-test-run.pl --force --vardir="${S}/mysql-test/var-tests" \
+				--skip-test=connect --parallel=auto
+		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
+}


             reply	other threads:[~2014-09-03 20:04 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-03 20:04 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-30 19:37 Brian Evans
2015-01-28 19:13 Brian Evans
2014-10-22  2:12 Brian Evans
2014-09-05  1:15 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=1409774638.c6df5cb4ce472c219a3b63b710239b8cf3e9b06c.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