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:28:01 UTC

Build failed in Jenkins: Log4j » OpenJDK 8 (on Ubuntu only) #4

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

Changes:

[Matt Sicker] Add maven wrapper script

------------------------------------------
Started by upstream project "Log4j" build number 4
originally caused by:
 Started by user Matt Sicker
[EnvInject] - Loading node environment variables.
Building remotely on H12 (Hadoop) in workspace <https://builds.apache.org/job/Log4j/jdk=OpenJDK%208%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 3e1f9c7a50e39b0de9d668d121be91f99d94704c (refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 3e1f9c7a50e39b0de9d668d121be91f99d94704c
 > git rev-list c826beb94de6912c3bbaa09726235d85aebd5bf5 # 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 8 (on Ubuntu only) ] $ /bin/bash -xe /tmp/hudson8046477964002787266.sh
+ ./mvnw
./mvnw: 190: local: 8: bad variable name
Error: Could not find or load main class org.apache.maven.wrapper.MavenWrapperMain
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 8 (on Ubuntu only) #6

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/Log4j/jdk=OpenJDK%208%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 H12 (Hadoop) in workspace <https://builds.apache.org/job/Log4j/jdk=OpenJDK%208%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 8 (on Ubuntu only) ] $ /bin/bash -xe /tmp/hudson2516453256914392564.sh
+ env
BUILD_URL=https://builds.apache.org/job/Log4j/jdk=OpenJDK%208%20(on%20Ubuntu%20only)%20/6/
XDG_SESSION_ID=154
HUDSON_SERVER_COOKIE=f4ebd1e6b0d976e8
SHELL=/bin/bash
SSH_CLIENT=140.211.11.14 55276 22
BUILD_TAG=jenkins-Log4j-jdk=OpenJDK 8 (on Ubuntu only) -6
GIT_PREVIOUS_COMMIT=291c7101b3ec6715cef411043f16b906bef07cfb
ROOT_BUILD_CAUSE=MANUALTRIGGER
WORKSPACE=<https://builds.apache.org/job/Log4j/jdk=OpenJDK%208%20(on%20Ubuntu%20only)%20/ws/>
JOB_URL=https://builds.apache.org/job/Log4j/jdk=OpenJDK%208%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-8-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%208%20(on%20Ubuntu%20only)%20/ws/>
JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64/
HUDSON_URL=https://builds.apache.org/
LANG=en_US.UTF-8
jdk=OpenJDK 8 (on Ubuntu only) 
JOB_NAME=Log4j/jdk=OpenJDK 8 (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 8 (on Ubuntu only) 
HOME=/home/jenkins
SHLVL=2
GIT_BRANCH=origin/master
JENKINS_SERVER_COOKIE=f4ebd1e6b0d976e8
EXECUTOR_NUMBER=1
GIT_URL=https://git-wip-us.apache.org/repos/asf/logging-log4j2.git
NODE_LABELS=H12 Hadoop
LOGNAME=jenkins
SSH_CONNECTION=140.211.11.14 55276 67.195.81.156 22
HUDSON_HOME=/x1/jenkins/jenkins-home
NODE_NAME=H12
BUILD_NUMBER=6
XDG_RUNTIME_DIR=/run/user/10025
HUDSON_COOKIE=d64f8dd3-9eae-4cc3-9b5a-3fdd6ccdf95c
ROOT_BUILD_CAUSE_MANUALTRIGGER=true
GIT_AUTHOR_EMAIL=builds@apache.org
+ ./mvnw
[INFO] Scanning for projects...
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.apache.logging.log4j:log4j-slf4j-impl:jar:2.8.1-SNAPSHOT
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.apache.logging.log4j:log4j-core:jar -> duplicate declaration of version (?) @ org.apache.logging.log4j:log4j-slf4j-impl:[unknown-version], <https://builds.apache.org/job/Log4j/jdk=OpenJDK%208%20(on%20Ubuntu%20only)%20/ws/log4j-slf4j-impl/pom.xml,> line 70, column 17
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.apache.logging.log4j:log4j-jmx-gui:jar:2.8.1-SNAPSHOT
[WARNING] 'dependencies.dependency.systemPath' for com.sun:jconsole:jar refers to a non-existing file /usr/lib/jvm/java-8-openjdk-amd64/jre/../lib/jconsole.jar. Please verify that you run Maven using a JDK and not just a JRE. @ org.apache.logging.log4j:log4j-jmx-gui:[unknown-version], <https://builds.apache.org/job/Log4j/jdk=OpenJDK%208%20(on%20Ubuntu%20only)%20/ws/log4j-jmx-gui/pom.xml,> line 199, column 23
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.apache.logging.log4j:log4j-bom:pom:2.8.1-SNAPSHOT
[WARNING] 'parent.relativePath' of POM org.apache.logging.log4j:log4j-bom:2.8.1-SNAPSHOT (<https://builds.apache.org/job/Log4j/jdk=OpenJDK%208%20(on%20Ubuntu%20only)%20/ws/log4j-bom/pom.xml)> points at org.apache.logging.log4j:log4j instead of org.apache.logging:logging-parent, please verify your project structure @ line 19, column 11
[WARNING] 
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING] 
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING] 
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO] 
[INFO] Apache Log4j 2
[INFO] Apache Log4j API
[INFO] Apache Log4j Core
[INFO] Apache Log4j 1.x Compatibility API
[INFO] Apache Log4j SLF4J Binding
[INFO] Apache Log4j to SLF4J Adapter
[INFO] Apache Log4j Commons Logging Bridge
[INFO] Apache Log4j Flume Bridge
[INFO] Apache Log4j Web
[INFO] Apache Log4j Tag Library
[INFO] Apache Log4j JMX GUI
[INFO] Apache Log4j Samples
[INFO] Apache Log4j Samples: Flume - Common
[INFO] Apache Log4j Samples: Flume - Remote
[INFO] Apache Log4j Samples: Flume - Embedded
[INFO] Apache Log4j Samples: Configuration
[INFO] Apache Log4j Samples: LoggerProperties
[INFO] Apache Log4j Scala 2.11 wrapper for Log4j API
[INFO] Apache Log4j Samples: Scala API
[INFO] Apache Log4j OSGi
[INFO] Apache Log4j BOM
[INFO] Apache Log4j NoSQL
[INFO] Apache Log4J Performance Tests
[INFO] Apache Log4j Streaming Interface
[INFO] Apache Log4j JUL Adapter
[INFO] Apache Log4j Liquibase Binding
[INFO] Apache Log4j Scala 2.10 wrapper for Log4j API
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache Log4j 2 ..................................... SKIPPED
[INFO] Apache Log4j API ................................... SKIPPED
[INFO] Apache Log4j Core .................................. SKIPPED
[INFO] Apache Log4j 1.x Compatibility API ................. SKIPPED
[INFO] Apache Log4j SLF4J Binding ......................... SKIPPED
[INFO] Apache Log4j to SLF4J Adapter ...................... SKIPPED
[INFO] Apache Log4j Commons Logging Bridge ................ SKIPPED
[INFO] Apache Log4j Flume Bridge .......................... SKIPPED
[INFO] Apache Log4j Web ................................... SKIPPED
[INFO] Apache Log4j Tag Library ........................... SKIPPED
[INFO] Apache Log4j JMX GUI ............................... SKIPPED
[INFO] Apache Log4j Samples ............................... SKIPPED
[INFO] Apache Log4j Samples: Flume - Common ............... SKIPPED
[INFO] Apache Log4j Samples: Flume - Remote ............... SKIPPED
[INFO] Apache Log4j Samples: Flume - Embedded ............. SKIPPED
[INFO] Apache Log4j Samples: Configuration ................ SKIPPED
[INFO] Apache Log4j Samples: LoggerProperties ............. SKIPPED
[INFO] Apache Log4j Scala 2.11 wrapper for Log4j API ...... SKIPPED
[INFO] Apache Log4j Samples: Scala API .................... SKIPPED
[INFO] Apache Log4j OSGi .................................. SKIPPED
[INFO] Apache Log4j BOM ................................... SKIPPED
[INFO] Apache Log4j NoSQL ................................. SKIPPED
[INFO] Apache Log4J Performance Tests ..................... SKIPPED
[INFO] Apache Log4j Streaming Interface ................... SKIPPED
[INFO] Apache Log4j JUL Adapter ........................... SKIPPED
[INFO] Apache Log4j Liquibase Binding ..................... SKIPPED
[INFO] Apache Log4j Scala 2.10 wrapper for Log4j API ...... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.292 s
[INFO] Finished at: 2017-02-13T06:09:14+00:00
[INFO] Final Memory: 35M/1447M
[INFO] ------------------------------------------------------------------------
[ERROR] No goals have been specified for this build. You must specify a valid lifecycle phase or a goal in the format <plugin-prefix>:<goal> or <plugin-group-id>:<plugin-artifact-id>[:<plugin-version>]:<goal>. Available lifecycle phases are: validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy, pre-clean, clean, post-clean, pre-site, site, post-site, site-deploy. -> [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/NoGoalSpecifiedException
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 8 (on Ubuntu only) #5

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/Log4j/jdk=OpenJDK%208%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 H12 (Hadoop) in workspace <https://builds.apache.org/job/Log4j/jdk=OpenJDK%208%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 8 (on Ubuntu only) ] $ /bin/bash -xe /tmp/hudson3970335307258678252.sh
+ ./mvnw
Downloading https://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.3.9/apache-maven-3.3.9-bin.zip
..............................................................................................................................................................................................................................................................................................................................................................................................................................................
Unzipping /home/jenkins/.m2/wrapper/dists/apache-maven-3.3.9-bin/2609u9g41na2l7ogackmif6fj2/apache-maven-3.3.9-bin.zip to /home/jenkins/.m2/wrapper/dists/apache-maven-3.3.9-bin/2609u9g41na2l7ogackmif6fj2
Set executable permissions for: /home/jenkins/.m2/wrapper/dists/apache-maven-3.3.9-bin/2609u9g41na2l7ogackmif6fj2/apache-maven-3.3.9/bin/mvn
[INFO] Scanning for projects...
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.apache.logging.log4j:log4j-slf4j-impl:jar:2.8.1-SNAPSHOT
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.apache.logging.log4j:log4j-core:jar -> duplicate declaration of version (?) @ org.apache.logging.log4j:log4j-slf4j-impl:[unknown-version], <https://builds.apache.org/job/Log4j/jdk=OpenJDK%208%20(on%20Ubuntu%20only)%20/ws/log4j-slf4j-impl/pom.xml,> line 70, column 17
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.apache.logging.log4j:log4j-jmx-gui:jar:2.8.1-SNAPSHOT
[WARNING] 'dependencies.dependency.systemPath' for com.sun:jconsole:jar refers to a non-existing file /usr/lib/jvm/java-8-openjdk-amd64/jre/../lib/jconsole.jar. Please verify that you run Maven using a JDK and not just a JRE. @ org.apache.logging.log4j:log4j-jmx-gui:[unknown-version], <https://builds.apache.org/job/Log4j/jdk=OpenJDK%208%20(on%20Ubuntu%20only)%20/ws/log4j-jmx-gui/pom.xml,> line 199, column 23
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.apache.logging.log4j:log4j-bom:pom:2.8.1-SNAPSHOT
[WARNING] 'parent.relativePath' of POM org.apache.logging.log4j:log4j-bom:2.8.1-SNAPSHOT (<https://builds.apache.org/job/Log4j/jdk=OpenJDK%208%20(on%20Ubuntu%20only)%20/ws/log4j-bom/pom.xml)> points at org.apache.logging.log4j:log4j instead of org.apache.logging:logging-parent, please verify your project structure @ line 19, column 11
[WARNING] 
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING] 
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING] 
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO] 
[INFO] Apache Log4j 2
[INFO] Apache Log4j API
[INFO] Apache Log4j Core
[INFO] Apache Log4j 1.x Compatibility API
[INFO] Apache Log4j SLF4J Binding
[INFO] Apache Log4j to SLF4J Adapter
[INFO] Apache Log4j Commons Logging Bridge
[INFO] Apache Log4j Flume Bridge
[INFO] Apache Log4j Web
[INFO] Apache Log4j Tag Library
[INFO] Apache Log4j JMX GUI
[INFO] Apache Log4j Samples
[INFO] Apache Log4j Samples: Flume - Common
[INFO] Apache Log4j Samples: Flume - Remote
[INFO] Apache Log4j Samples: Flume - Embedded
[INFO] Apache Log4j Samples: Configuration
[INFO] Apache Log4j Samples: LoggerProperties
[INFO] Apache Log4j Scala 2.11 wrapper for Log4j API
[INFO] Apache Log4j Samples: Scala API
[INFO] Apache Log4j OSGi
[INFO] Apache Log4j BOM
[INFO] Apache Log4j NoSQL
[INFO] Apache Log4J Performance Tests
[INFO] Apache Log4j Streaming Interface
[INFO] Apache Log4j JUL Adapter
[INFO] Apache Log4j Liquibase Binding
[INFO] Apache Log4j Scala 2.10 wrapper for Log4j API
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache Log4j 2 ..................................... SKIPPED
[INFO] Apache Log4j API ................................... SKIPPED
[INFO] Apache Log4j Core .................................. SKIPPED
[INFO] Apache Log4j 1.x Compatibility API ................. SKIPPED
[INFO] Apache Log4j SLF4J Binding ......................... SKIPPED
[INFO] Apache Log4j to SLF4J Adapter ...................... SKIPPED
[INFO] Apache Log4j Commons Logging Bridge ................ SKIPPED
[INFO] Apache Log4j Flume Bridge .......................... SKIPPED
[INFO] Apache Log4j Web ................................... SKIPPED
[INFO] Apache Log4j Tag Library ........................... SKIPPED
[INFO] Apache Log4j JMX GUI ............................... SKIPPED
[INFO] Apache Log4j Samples ............................... SKIPPED
[INFO] Apache Log4j Samples: Flume - Common ............... SKIPPED
[INFO] Apache Log4j Samples: Flume - Remote ............... SKIPPED
[INFO] Apache Log4j Samples: Flume - Embedded ............. SKIPPED
[INFO] Apache Log4j Samples: Configuration ................ SKIPPED
[INFO] Apache Log4j Samples: LoggerProperties ............. SKIPPED
[INFO] Apache Log4j Scala 2.11 wrapper for Log4j API ...... SKIPPED
[INFO] Apache Log4j Samples: Scala API .................... SKIPPED
[INFO] Apache Log4j OSGi .................................. SKIPPED
[INFO] Apache Log4j BOM ................................... SKIPPED
[INFO] Apache Log4j NoSQL ................................. SKIPPED
[INFO] Apache Log4J Performance Tests ..................... SKIPPED
[INFO] Apache Log4j Streaming Interface ................... SKIPPED
[INFO] Apache Log4j JUL Adapter ........................... SKIPPED
[INFO] Apache Log4j Liquibase Binding ..................... SKIPPED
[INFO] Apache Log4j Scala 2.10 wrapper for Log4j API ...... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.384 s
[INFO] Finished at: 2017-02-13T05:34:34+00:00
[INFO] Final Memory: 28M/1140M
[INFO] ------------------------------------------------------------------------
[ERROR] No goals have been specified for this build. You must specify a valid lifecycle phase or a goal in the format <plugin-prefix>:<goal> or <plugin-group-id>:<plugin-artifact-id>[:<plugin-version>]:<goal>. Available lifecycle phases are: validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy, pre-clean, clean, post-clean, pre-site, site, post-site, site-deploy. -> [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/NoGoalSpecifiedException
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