maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Gregory (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (SUREFIRE-1193) Surefire 2.19 hangs in the log4j build
Date Tue, 03 Nov 2015 18:27:28 GMT

    [ https://issues.apache.org/jira/browse/SUREFIRE-1193?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14987786#comment-14987786
] 

Gary Gregory edited comment on SUREFIRE-1193 at 11/3/15 6:27 PM:
-----------------------------------------------------------------

I know [~ralph_goers@dslextreme.com] is on the road today, but he might be able to provide
this info...

I too am using Win7. The Jenkins build failure was with commit {{1ee6758622f925c36fcaa9988f022b6747303bed}}.
{quote}
Do you have Jenkins CI timeout setup to [ 50.035 s] ?
{quote}

Is that 50 seconds? I doubt that we have it set that low because the build takes at least
8 minutes on my (pretty beefy) laptop.

The Jenkins build env vars are:

{noformat}
Build #1520

Environment variables

Name  ↓
Value   
_	/home/jenkins/tools/java/jdk1.7.0_55/bin/java
BUILD_CAUSE	SCMTRIGGER
BUILD_CAUSE_SCMTRIGGER	true
BUILD_DISPLAY_NAME	#1520
BUILD_ID	1520
BUILD_NUMBER	1520
BUILD_TAG	jenkins-Log4j 2.x-1520
BUILD_URL	https://builds.apache.org/job/Log4j%202.x/1520/
EXECUTOR_NUMBER	1
GIT_AUTHOR_EMAIL	builds@apache.org
GIT_AUTHOR_NAME	jenkins
GIT_BRANCH	origin/master
GIT_COMMIT	1ee6758622f925c36fcaa9988f022b6747303bed
GIT_COMMITTER_EMAIL	builds@apache.org
GIT_COMMITTER_NAME	jenkins
GIT_PREVIOUS_COMMIT	1ee6758622f925c36fcaa9988f022b6747303bed
GIT_PREVIOUS_SUCCESSFUL_COMMIT	d53af50c9500d1eae1bfa88424396e515fcb04ad
GIT_URL	https://git-wip-us.apache.org/repos/asf/logging-log4j2.git
HOME	/home/jenkins
HUDSON_HOME	/x1/jenkins/jenkins-home
HUDSON_SERVER_COOKIE	f4ebd1e6b0d976e8
HUDSON_URL	https://builds.apache.org/
JAVA_HOME	/home/jenkins/jenkins-slave/tools/hudson.model.JDK/jdk-1.7u51
JENKINS_HOME	/x1/jenkins/jenkins-home
JENKINS_SERVER_COOKIE	f4ebd1e6b0d976e8
JENKINS_URL	https://builds.apache.org/
JOB_NAME	Log4j 2.x
JOB_URL	https://builds.apache.org/job/Log4j%202.x/
LANG	en_US.UTF-8
LOGNAME	jenkins
MAIL	/var/mail/jenkins
NLSPATH	/usr/dt/lib/nls/msg/%L/%N.cat
NODE_LABELS	H10 Ubuntu ubuntu
NODE_NAME	H10
OLDPWD	/home/jenkins
PATH	/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
PATH+JDK	/home/jenkins/jenkins-slave/tools/hudson.model.JDK/jdk-1.7u51/bin
PWD	/home/jenkins/jenkins-slave
ROOT_BUILD_CAUSE	SCMTRIGGER
ROOT_BUILD_CAUSE_SCMTRIGGER	true
SHELL	/bin/bash
SHLVL	1
SSH_AGENT_PID	28580
SSH_AUTH_SOCK	/tmp/ssh-DfYyIzNqtK0R/agent.28579
SSH_CLIENT	140.211.11.14 53585 22
SSH_CONNECTION	140.211.11.14 53585 67.195.81.154 22
TEMP	/tmp/user/10021
TEMPDIR	/tmp/user/10021
TMP	/tmp/user/10021
TMPDIR	/tmp/user/10021
USER	jenkins
WORKSPACE	/home/jenkins/jenkins-slave/workspace/Log4j 2.x
XDG_RUNTIME_DIR	/run/user/10021
XDG_SESSION_ID	51
XFILESEARCHPATH	/usr/dt/app-defaults/%L/Dt
{noformat}


was (Author: garydgregory):
I know [~ralph_goers@dslextreme.com] is on the road today, but he might be able to provide
this info...

I too am using Win7. The Jenkins build failure was with commit {{1ee6758622f925c36fcaa9988f022b6747303bed}}.
{quote}
Do you have Jenkins CI timeout setup to [ 50.035 s] ?
{quote}

Is the 50 seconds? I doubt that we have it set that low because the build takes at least 8
minutes on my (pretty beefy) laptop.

The Jenkins build env vars are:

{noformat}
Build #1520

Environment variables

Name  ↓
Value   
_	/home/jenkins/tools/java/jdk1.7.0_55/bin/java
BUILD_CAUSE	SCMTRIGGER
BUILD_CAUSE_SCMTRIGGER	true
BUILD_DISPLAY_NAME	#1520
BUILD_ID	1520
BUILD_NUMBER	1520
BUILD_TAG	jenkins-Log4j 2.x-1520
BUILD_URL	https://builds.apache.org/job/Log4j%202.x/1520/
EXECUTOR_NUMBER	1
GIT_AUTHOR_EMAIL	builds@apache.org
GIT_AUTHOR_NAME	jenkins
GIT_BRANCH	origin/master
GIT_COMMIT	1ee6758622f925c36fcaa9988f022b6747303bed
GIT_COMMITTER_EMAIL	builds@apache.org
GIT_COMMITTER_NAME	jenkins
GIT_PREVIOUS_COMMIT	1ee6758622f925c36fcaa9988f022b6747303bed
GIT_PREVIOUS_SUCCESSFUL_COMMIT	d53af50c9500d1eae1bfa88424396e515fcb04ad
GIT_URL	https://git-wip-us.apache.org/repos/asf/logging-log4j2.git
HOME	/home/jenkins
HUDSON_HOME	/x1/jenkins/jenkins-home
HUDSON_SERVER_COOKIE	f4ebd1e6b0d976e8
HUDSON_URL	https://builds.apache.org/
JAVA_HOME	/home/jenkins/jenkins-slave/tools/hudson.model.JDK/jdk-1.7u51
JENKINS_HOME	/x1/jenkins/jenkins-home
JENKINS_SERVER_COOKIE	f4ebd1e6b0d976e8
JENKINS_URL	https://builds.apache.org/
JOB_NAME	Log4j 2.x
JOB_URL	https://builds.apache.org/job/Log4j%202.x/
LANG	en_US.UTF-8
LOGNAME	jenkins
MAIL	/var/mail/jenkins
NLSPATH	/usr/dt/lib/nls/msg/%L/%N.cat
NODE_LABELS	H10 Ubuntu ubuntu
NODE_NAME	H10
OLDPWD	/home/jenkins
PATH	/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
PATH+JDK	/home/jenkins/jenkins-slave/tools/hudson.model.JDK/jdk-1.7u51/bin
PWD	/home/jenkins/jenkins-slave
ROOT_BUILD_CAUSE	SCMTRIGGER
ROOT_BUILD_CAUSE_SCMTRIGGER	true
SHELL	/bin/bash
SHLVL	1
SSH_AGENT_PID	28580
SSH_AUTH_SOCK	/tmp/ssh-DfYyIzNqtK0R/agent.28579
SSH_CLIENT	140.211.11.14 53585 22
SSH_CONNECTION	140.211.11.14 53585 67.195.81.154 22
TEMP	/tmp/user/10021
TEMPDIR	/tmp/user/10021
TMP	/tmp/user/10021
TMPDIR	/tmp/user/10021
USER	jenkins
WORKSPACE	/home/jenkins/jenkins-slave/workspace/Log4j 2.x
XDG_RUNTIME_DIR	/run/user/10021
XDG_SESSION_ID	51
XFILESEARCHPATH	/usr/dt/app-defaults/%L/Dt
{noformat}

> Surefire 2.19 hangs in the log4j build
> --------------------------------------
>
>                 Key: SUREFIRE-1193
>                 URL: https://issues.apache.org/jira/browse/SUREFIRE-1193
>             Project: Maven Surefire
>          Issue Type: Bug
>          Components: Maven Surefire Plugin
>    Affects Versions: 2.19
>            Reporter: Ralph Goers
>            Assignee: Tibor Digana
>         Attachments: SUREFIRE-1193.console.txt
>
>
> Log4j is getting periodic failures in Jenkins with the messages shown below. I am also
seeing running the tests hang in various log4j modules when building on my MacBook Pro. The
build never hung when using 2.18. We have reverted back to surefire 2.18 due to this.
> The full build output is temporarily available at https://builds.apache.org/job/Log4j%202.x/1520/console.
We only keep the last 15 builds.
> ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.19:test
(default-test) on project log4j-api: ExecutionException The forked VM terminated without properly
saying goodbye. VM crash or System.exit called?
> [ERROR] Command was /bin/sh -c cd "<https://builds.apache.org/job/Log4j%202.x/ws/log4j-api">
&& /home/jenkins/jenkins-slave/tools/hudson.model.JDK/jdk-1.7u51/jre/bin/java -XX:MaxPermSize=512m
-jar '<https://builds.apache.org/job/Log4j%202.x/ws/log4j-api/target/surefire/surefirebooter7073284324062596703.jar'>
'<https://builds.apache.org/job/Log4j%202.x/ws/log4j-api/target/surefire/surefire9073033079471575703tmp'>
'<https://builds.apache.org/job/Log4j%202.x/ws/log4j-api/target/surefire/surefire_84682619741166881372tmp'>
> [ERROR] -> [Help 1]
> [ERROR] 
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR] 
> [ERROR] For more information about the errors and possible solutions, please read the
following articles:
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
> [ERROR] 
> [ERROR] After correcting the problems, you can resume the build with the command
> [ERROR]   mvn <goals> -rf :log4j-api
> [JENKINS] Archiving <https://builds.apache.org/job/Log4j%202.x/ws/l



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message