You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by Apache Jenkins Server <je...@builds.apache.org> on 2017/02/13 05:34:31 UTC

Build failed in Jenkins: Log4j » OpenJDK 7 (on Ubuntu only) #5

See <https://builds.apache.org/job/Log4j/jdk=OpenJDK%207%20(on%20Ubuntu%20only)%20/5/changes>

Changes:

[Matt Sicker] Try out specifying bash in mvnw to make Jenkins happy

------------------------------------------
Started by upstream project "Log4j" build number 5
originally caused by:
 Started by user Matt Sicker
[EnvInject] - Loading node environment variables.
Building remotely on H13 (Hadoop) in workspace <https://builds.apache.org/job/Log4j/jdk=OpenJDK%207%20(on%20Ubuntu%20only)%20/ws/>
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url https://git-wip-us.apache.org/repos/asf/logging-log4j2.git # timeout=10
Fetching upstream changes from https://git-wip-us.apache.org/repos/asf/logging-log4j2.git
 > git --version # timeout=10
 > git -c core.askpass=true fetch --tags --progress https://git-wip-us.apache.org/repos/asf/logging-log4j2.git +refs/heads/*:refs/remotes/origin/*
Checking out Revision 291c7101b3ec6715cef411043f16b906bef07cfb (refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 291c7101b3ec6715cef411043f16b906bef07cfb
 > git rev-list 3e1f9c7a50e39b0de9d668d121be91f99d94704c # timeout=10
[EnvInject] - Executing scripts and injecting environment variables after the SCM step.
[EnvInject] - Injecting as environment variables the properties content 
LANG=en_US.UTF-8

[EnvInject] - Variables injected successfully.
[OpenJDK 7 (on Ubuntu only) ] $ /bin/bash -xe /tmp/hudson83761371197985802.sh
+ ./mvnw
Error: JAVA_HOME is not defined correctly.
  We cannot execute /usr/lib/jvm/java-7-openjdk-amd64//bin/java
Build step 'Execute shell' marked build as failure

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org


Build failed in Jenkins: Log4j » OpenJDK 7 (on Ubuntu only) #6

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/Log4j/jdk=OpenJDK%207%20(on%20Ubuntu%20only)%20/6/>

------------------------------------------
Started by upstream project "Log4j" build number 6
originally caused by:
 Started by user Matt Sicker
[EnvInject] - Loading node environment variables.
Building remotely on H13 (Hadoop) in workspace <https://builds.apache.org/job/Log4j/jdk=OpenJDK%207%20(on%20Ubuntu%20only)%20/ws/>
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url https://git-wip-us.apache.org/repos/asf/logging-log4j2.git # timeout=10
Fetching upstream changes from https://git-wip-us.apache.org/repos/asf/logging-log4j2.git
 > git --version # timeout=10
 > git -c core.askpass=true fetch --tags --progress https://git-wip-us.apache.org/repos/asf/logging-log4j2.git +refs/heads/*:refs/remotes/origin/*
Checking out Revision 291c7101b3ec6715cef411043f16b906bef07cfb (refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 291c7101b3ec6715cef411043f16b906bef07cfb
 > git rev-list 291c7101b3ec6715cef411043f16b906bef07cfb # timeout=10
[EnvInject] - Executing scripts and injecting environment variables after the SCM step.
[EnvInject] - Injecting as environment variables the properties content 
LANG=en_US.UTF-8

[EnvInject] - Variables injected successfully.
[OpenJDK 7 (on Ubuntu only) ] $ /bin/bash -xe /tmp/hudson7673527319246842671.sh
+ env
BUILD_URL=https://builds.apache.org/job/Log4j/jdk=OpenJDK%207%20(on%20Ubuntu%20only)%20/6/
XDG_SESSION_ID=186
HUDSON_SERVER_COOKIE=f4ebd1e6b0d976e8
SHELL=/bin/bash
SSH_CLIENT=140.211.11.14 37121 22
BUILD_TAG=jenkins-Log4j-jdk=OpenJDK 7 (on Ubuntu only) -6
GIT_PREVIOUS_COMMIT=291c7101b3ec6715cef411043f16b906bef07cfb
ROOT_BUILD_CAUSE=MANUALTRIGGER
WORKSPACE=<https://builds.apache.org/job/Log4j/jdk=OpenJDK%207%20(on%20Ubuntu%20only)%20/ws/>
JOB_URL=https://builds.apache.org/job/Log4j/jdk=OpenJDK%207%20(on%20Ubuntu%20only)%20/
USER=jenkins
BUILD_CAUSE_UPSTREAMTRIGGER=true
GIT_AUTHOR_NAME=jenkins
GIT_COMMITTER_NAME=jenkins
NLSPATH=/usr/dt/lib/nls/msg/%L/%N.cat
GIT_COMMIT=291c7101b3ec6715cef411043f16b906bef07cfb
JENKINS_HOME=/x1/jenkins/jenkins-home
PATH=/usr/lib/jvm/java-7-openjdk-amd64//bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
MAIL=/var/mail/jenkins
_=/usr/bin/env
GIT_COMMITTER_EMAIL=builds@apache.org
PWD=<https://builds.apache.org/job/Log4j/jdk=OpenJDK%207%20(on%20Ubuntu%20only)%20/ws/>
JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64/
HUDSON_URL=https://builds.apache.org/
LANG=en_US.UTF-8
jdk=OpenJDK 7 (on Ubuntu only) 
JOB_NAME=Log4j/jdk=OpenJDK 7 (on Ubuntu only) 
BUILD_DISPLAY_NAME=#6
XFILESEARCHPATH=/usr/dt/app-defaults/%L/Dt
BUILD_CAUSE=UPSTREAMTRIGGER
BUILD_ID=6
JENKINS_URL=https://builds.apache.org/
JOB_BASE_NAME=jdk=OpenJDK 7 (on Ubuntu only) 
HOME=/home/jenkins
SHLVL=2
GIT_BRANCH=origin/master
JENKINS_SERVER_COOKIE=f4ebd1e6b0d976e8
EXECUTOR_NUMBER=0
GIT_URL=https://git-wip-us.apache.org/repos/asf/logging-log4j2.git
NODE_LABELS=H13 Hadoop
LOGNAME=jenkins
SSH_CONNECTION=140.211.11.14 37121 67.195.81.157 22
HUDSON_HOME=/x1/jenkins/jenkins-home
NODE_NAME=H13
BUILD_NUMBER=6
XDG_RUNTIME_DIR=/run/user/10025
HUDSON_COOKIE=8b3e3358-3608-4ecf-9cc7-8c1178bf6213
ROOT_BUILD_CAUSE_MANUALTRIGGER=true
GIT_AUTHOR_EMAIL=builds@apache.org
+ ./mvnw
Error: JAVA_HOME is not defined correctly.
  We cannot execute /usr/lib/jvm/java-7-openjdk-amd64//bin/java
Build step 'Execute shell' marked build as failure

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org