You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@yetus.apache.org by aw...@apache.org on 2015/10/20 16:37:56 UTC
[1/4] yetus git commit: YETUS-82. personality_plugins with multiple
entries doesn't work
Repository: yetus
Updated Branches:
refs/heads/master dbeacad38 -> 0820d2ea3
YETUS-82. personality_plugins with multiple entries doesn't work
Signed-off-by: Allen Wittenauer <aw...@apache.org>
Project: http://git-wip-us.apache.org/repos/asf/yetus/repo
Commit: http://git-wip-us.apache.org/repos/asf/yetus/commit/df593f87
Tree: http://git-wip-us.apache.org/repos/asf/yetus/tree/df593f87
Diff: http://git-wip-us.apache.org/repos/asf/yetus/diff/df593f87
Branch: refs/heads/master
Commit: df593f8758e4018a9c8c2f9a876678d2c9d810ec
Parents: dbeacad
Author: Allen Wittenauer <aw...@apache.org>
Authored: Fri Oct 16 13:34:35 2015 -0700
Committer: Allen Wittenauer <aw...@apache.org>
Committed: Tue Oct 20 07:34:10 2015 -0700
----------------------------------------------------------------------
dev-support/core.d/01-common.sh | 1 +
1 file changed, 1 insertion(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/yetus/blob/df593f87/dev-support/core.d/01-common.sh
----------------------------------------------------------------------
diff --git a/dev-support/core.d/01-common.sh b/dev-support/core.d/01-common.sh
index 5e0f29b..5de16be 100755
--- a/dev-support/core.d/01-common.sh
+++ b/dev-support/core.d/01-common.sh
@@ -280,6 +280,7 @@ function personality_plugins
{
if [[ -z "${ENABLED_PLUGINS}" ]]; then
ENABLED_PLUGINS="$1"
+ ENABLED_PLUGINS=${ENABLED_PLUGINS//,/ }
yetus_debug "Using personality plug-in list: ${ENABLED_PLUGINS}"
fi
}
[2/4] yetus git commit: YETUS-98. enable parallel tests on hadoop
Posted by aw...@apache.org.
YETUS-98. enable parallel tests on hadoop
Signed-off-by: Allen Wittenauer <aw...@apache.org>
Project: http://git-wip-us.apache.org/repos/asf/yetus/repo
Commit: http://git-wip-us.apache.org/repos/asf/yetus/commit/b3a6ae05
Tree: http://git-wip-us.apache.org/repos/asf/yetus/tree/b3a6ae05
Diff: http://git-wip-us.apache.org/repos/asf/yetus/diff/b3a6ae05
Branch: refs/heads/master
Commit: b3a6ae059484547b3701bc5274c74ec0a2061d98
Parents: df593f8
Author: Allen Wittenauer <aw...@apache.org>
Authored: Sun Oct 18 07:51:46 2015 -0700
Committer: Allen Wittenauer <aw...@apache.org>
Committed: Tue Oct 20 07:35:06 2015 -0700
----------------------------------------------------------------------
dev-support/personality/hadoop.sh | 14 ++++++--------
1 file changed, 6 insertions(+), 8 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/yetus/blob/b3a6ae05/dev-support/personality/hadoop.sh
----------------------------------------------------------------------
diff --git a/dev-support/personality/hadoop.sh b/dev-support/personality/hadoop.sh
index 1b0abde..f958f0c 100755
--- a/dev-support/personality/hadoop.sh
+++ b/dev-support/personality/hadoop.sh
@@ -263,14 +263,12 @@ function personality_modules
fi
;;
unit)
- # As soon as HADOOP-11984 gets committed,
- # this code should get uncommented
- #if [[ ${TEST_PARALLEL} = "true" ]] ; then
- # extra="-Pparallel-tests"
- # if [[ -n ${TEST_THREADS:-} ]]; then
- # extra="${extra} -DtestsThreadCount=${TEST_THREADS}"
- # fi
- #fi
+ if [[ ${TEST_PARALLEL} = "true" ]] ; then
+ extra="-Pparallel-tests"
+ if [[ -n ${TEST_THREADS:-} ]]; then
+ extra="${extra} -DtestsThreadCount=${TEST_THREADS}"
+ fi
+ fi
needflags=true
hadoop_unittest_prereqs
[3/4] yetus git commit: YETUS-95. docker not working on jenkins
w/hadoop
Posted by aw...@apache.org.
YETUS-95. docker not working on jenkins w/hadoop
Signed-off-by: Allen Wittenauer <aw...@apache.org>
Project: http://git-wip-us.apache.org/repos/asf/yetus/repo
Commit: http://git-wip-us.apache.org/repos/asf/yetus/commit/d3c21d0e
Tree: http://git-wip-us.apache.org/repos/asf/yetus/tree/d3c21d0e
Diff: http://git-wip-us.apache.org/repos/asf/yetus/diff/d3c21d0e
Branch: refs/heads/master
Commit: d3c21d0eecf865fc4ad985475c25d801af0c44ed
Parents: b3a6ae0
Author: Allen Wittenauer <aw...@apache.org>
Authored: Sat Oct 17 19:51:37 2015 -0700
Committer: Allen Wittenauer <aw...@apache.org>
Committed: Tue Oct 20 07:35:48 2015 -0700
----------------------------------------------------------------------
dev-support/test-patch-docker/launch-test-patch.sh | 4 ++--
dev-support/test-patch.sh | 17 +++++++++--------
2 files changed, 11 insertions(+), 10 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/yetus/blob/d3c21d0e/dev-support/test-patch-docker/launch-test-patch.sh
----------------------------------------------------------------------
diff --git a/dev-support/test-patch-docker/launch-test-patch.sh b/dev-support/test-patch-docker/launch-test-patch.sh
index e60debd..ac976ad 100755
--- a/dev-support/test-patch-docker/launch-test-patch.sh
+++ b/dev-support/test-patch-docker/launch-test-patch.sh
@@ -46,5 +46,5 @@ cd "${PATCH_DIR}/precommit/"
--basedir="${BASEDIR}" \
--patch-dir="${PATCH_DIR}" \
--java-home="${JAVA_HOME}" \
- --plugins="${PATCH_DIR}/precommit/user-plugins" \
- --jira-cmd=/opt/jiracli/jira-cli-2.2.0/jira.sh
+ --personality="${PATCH_DIR}/precommit/personality/provided.sh" \
+ --user-plugins="${PATCH_DIR}/precommit/user-plugins"
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/yetus/blob/d3c21d0e/dev-support/test-patch.sh
----------------------------------------------------------------------
diff --git a/dev-support/test-patch.sh b/dev-support/test-patch.sh
index 6be3242..0abcf66 100755
--- a/dev-support/test-patch.sh
+++ b/dev-support/test-patch.sh
@@ -289,7 +289,9 @@ function prepopulate_footer
add_footer_table "uname" "${unamea}"
add_footer_table "Build tool" "${BUILDTOOL}"
- if [[ -n ${PERSONALITY} ]]; then
+ if [[ -n ${REEXECPERSONALITY} ]]; then
+ add_footer_table "Personality" "${REEXECPERSONALITY}"
+ elif [[ -n ${PERSONALITY} ]]; then
add_footer_table "Personality" "${PERSONALITY}"
fi
@@ -828,6 +830,9 @@ function parse_args
INSTANCE=${i#*=}
EXECUTOR_NUMBER=${INSTANCE}
;;
+ --tpperson=*)
+ REEXECPERSONALITY=${i#*=}
+ ;;
--tpreexectimer=*)
REEXECLAUNCHTIMER=${i#*=}
;;
@@ -1399,11 +1404,7 @@ function copytpbits
if [[ -n ${PERSONALITY}
&& -f ${PERSONALITY} ]]; then
- cp -pr "${PERSONALITY}" "${PATCH_DIR}/precommit/personality"
- person=$(basename "${PERSONALITY}")
-
- # Set to be relative to ${PATCH_DIR}/precommit
- PERSONALITY="${PATCH_DIR}/precommit/personality/${person}"
+ cp -pr "${PERSONALITY}" "${PATCH_DIR}/precommit/personality/provided.sh"
fi
if [[ -n ${DOCKERFILE}
@@ -1520,8 +1521,8 @@ function check_reexec
TESTPATCHMODE="--tpglobaltimer=${GLOBALTIMER} ${TESTPATCHMODE}"
TESTPATCHMODE="--tpreexectimer=${TIMER} ${TESTPATCHMODE}"
TESTPATCHMODE="--tpinstance=${INSTANCE} ${TESTPATCHMODE}"
- TESTPATCHMODE="--personality=\'${PERSONALITY}\' ${TESTPATCHMODE}"
- TESTPATCHMODE="--plugins=\'${USER_PLUGIN_DIR}\' ${TESTPATCHMODE}"
+ TESTPATCHMODE="--tpperson=${PERSONALITY} ${TESTPATCHMODE}"
+ TESTPATCHMODE="--plugins=${ENABLED_PLUGINS// /,} ${TESTPATCHMODE}"
TESTPATCHMODE=" ${TESTPATCHMODE}"
export TESTPATCHMODE
[4/4] yetus git commit: YETUS-97. branch detection cut bug
Posted by aw...@apache.org.
YETUS-97. branch detection cut bug
Signed-off-by: Allen Wittenauer <aw...@apache.org>
Project: http://git-wip-us.apache.org/repos/asf/yetus/repo
Commit: http://git-wip-us.apache.org/repos/asf/yetus/commit/0820d2ea
Tree: http://git-wip-us.apache.org/repos/asf/yetus/tree/0820d2ea
Diff: http://git-wip-us.apache.org/repos/asf/yetus/diff/0820d2ea
Branch: refs/heads/master
Commit: 0820d2ea3b0745fe43e1b86900e1bd397def5303
Parents: d3c21d0
Author: Allen Wittenauer <aw...@apache.org>
Authored: Mon Oct 19 11:12:08 2015 -0700
Committer: Allen Wittenauer <aw...@apache.org>
Committed: Tue Oct 20 07:36:40 2015 -0700
----------------------------------------------------------------------
dev-support/test-patch.d/jira.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/yetus/blob/0820d2ea/dev-support/test-patch.d/jira.sh
----------------------------------------------------------------------
diff --git a/dev-support/test-patch.d/jira.sh b/dev-support/test-patch.d/jira.sh
index 59baf0f..1c554f1 100755
--- a/dev-support/test-patch.d/jira.sh
+++ b/dev-support/test-patch.d/jira.sh
@@ -214,7 +214,7 @@ function jira_determine_branch
count="${PATCH_BRANCH//[^.]}"
total=${#count}
((total = total + 3 ))
- until [[ ${total} -lt 2 ]]; do
+ until [[ ${total} -lt 3 ]]; do
PATCH_BRANCH=$(echo "${patchnamechunk}" | cut -f3-${total} -d.)
yetus_debug "Determine branch: ISSUE[.##].branch = ${PATCH_BRANCH}"
((total=total-1))