logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Gregory <garydgreg...@gmail.com>
Subject Re: Build failed in Jenkins: Log4j 2.x #2206
Date Tue, 23 Aug 2016 23:28:17 GMT
On Tue, Aug 23, 2016 at 4:05 PM, Matt Sicker <boards@gmail.com> wrote:

> Java HotSpot(TM) 64-Bit Server VM warning: Insufficient space for shared memory file:
>    9519
> Try using the -Djava.io.tmpdir= option to select an alternate temp location.
>
>
To what though? Seems like an infra issue, no?

Gary


>
> This looks like the cause.
>
> On 23 August 2016 at 17:47, Gary Gregory <garydgregory@gmail.com> wrote:
>
>> How can this be?
>>
>>
>> [INFO] *--- maven-compiler-plugin:3.5.1:compile (default-compile) @ log4j-api ---
>> *[INFO] Changes detected - recompiling the module!
>> [INFO] Compiling 98 source files to /home/jenkins/jenkins-slave/workspace/Log4j 2.x/log4j-api/target/classes
>> [INFO] -------------------------------------------------------------[ERROR] COMPILATION
ERROR : [INFO] -------------------------------------------------------------[ERROR] javac:
no source filesUsage: javac <options> <source files>
>> use -help for a list of possible options
>>
>>
>> Gary
>>
>> ---------- Forwarded message ----------
>> From: Apache Jenkins Server <jenkins@builds.apache.org>
>> Date: Tue, Aug 23, 2016 at 3:45 PM
>> Subject: Build failed in Jenkins: Log4j 2.x #2206
>> To: log4j-dev@logging.apache.org
>>
>>
>> See <https://builds.apache.org/job/Log4j%202.x/2206/changes>
>>
>> Changes:
>>
>> [ggregory] [LOG4J2-1490] Log4j2 is creating empty log files. Update
>> changes.xml.
>>
>> ------------------------------------------
>> Started by user ggregory
>> [EnvInject] - Loading node environment variables.
>> Building remotely on ubuntu-us1 (Ubuntu golang-ppa ubuntu-us ubuntu) in
>> workspace <https://builds.apache.org/job/Log4j%202.x/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/*
>>  > git rev-parse refs/remotes/origin/master^{commit} # timeout=10
>>  > git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
>> Checking out Revision b48cc0af0e153bcc0f3c7c99b7f288ab2b64f264
>> (refs/remotes/origin/master)
>>  > git config core.sparsecheckout # timeout=10
>>  > git checkout -f b48cc0af0e153bcc0f3c7c99b7f288ab2b64f264
>>  > git rev-list 2f0919887a5211b8c3121a656e497ca0b44000a9 # 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.
>> Parsing POMs
>> Modules changed, recalculating dependency graph
>> Established TCP socket on 33787
>> maven32-agent.jar already up to date
>> maven32-interceptor.jar already up to date
>> maven3-interceptor-commons.jar already up to date
>> [Log4j 2.x] $ /home/jenkins/tools/java/latest1.7/bin/java -Xmx2g
>> -Xms256m -XX:MaxPermSize=512m -cp /home/jenkins/jenkins-slave/ma
>> ven32-agent.jar:/home/jenkins/tools/maven/apache-maven-3.2.1
>> /boot/plexus-classworlds-2.5.1.jar:/home/jenkins/tools/maven
>> /apache-maven-3.2.1/conf/logging jenkins.maven3.agent.Maven32Main
>> /home/jenkins/tools/maven/apache-maven-3.2.1
>> /home/jenkins/jenkins-slave/slave.jar /home/jenkins/jenkins-slave/maven32-interceptor.jar
>> /home/jenkins/jenkins-slave/maven3-interceptor-commons.jar 33787
>> Java HotSpot(TM) 64-Bit Server VM warning: Insufficient space for shared
>> memory file:
>>    9519
>> Try using the -Djava.io.tmpdir= option to select an alternate temp
>> location.
>>
>> <===[JENKINS REMOTING CAPACITY]===>   channel started
>> Executing Maven:  -B -f <https://builds.apache.org/job
>> /Log4j%202.x/ws/pom.xml> -Dmaven.repo.local=/home/jenki
>> ns/jenkins-slave/maven-repositories/0 clean install
>> [INFO] Scanning for projects...
>> [WARNING]
>> [WARNING] Some problems were encountered while building the effective
>> model for org.apache.logging.log4j:log4j-bom:pom:2.6.3-SNAPSHOT
>> [WARNING] 'parent.relativePath' points at org.apache.logging.log4j:log4j
>> instead of org.apache:apache, 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 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]
>> [INFO] Using the builder org.apache.maven.lifecycle.int
>> ernal.builder.singlethreaded.SingleThreadedBuilder with a thread count
>> of 1
>> [INFO]
>> [INFO] ------------------------------------------------------------
>> ------------
>> [INFO] Building Apache Log4j 2 2.6.3-SNAPSHOT
>> [INFO] ------------------------------------------------------------
>> ------------
>> [INFO]
>> [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ log4j ---
>> [INFO] Deleting <https://builds.apache.org/job/Log4j%202.x/ws/target>
>> [INFO]
>> [INFO] --- maven-remote-resources-plugin:1.1:process (default) @ log4j
>> ---
>> [INFO] Setting property: classpath.resource.loader.class =>
>> 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
>> [INFO] Setting property: velocimacro.messages.on => 'false'.
>> [INFO] Setting property: resource.loader => 'classpath'.
>> [INFO] Setting property: resource.manager.logwhenfound => 'false'.
>> [INFO]
>> [INFO] --- maven-failsafe-plugin:2.19.1:integration-test
>> (integration-tests) @ log4j ---
>> [INFO] No tests to run.
>> [JENKINS] Recording test results
>> [INFO]
>> [INFO] --- maven-failsafe-plugin:2.19.1:verify (verify) @ log4j ---
>> [JENKINS] Recording test results
>> [INFO]
>> [INFO] --- maven-source-plugin:3.0.1:jar-no-fork (attach-sources) @
>> log4j ---
>> [INFO]
>> [INFO] --- maven-install-plugin:2.3.1:install (default-install) @ log4j
>> ---
>> [INFO] Installing <https://builds.apache.org/job/Log4j%202.x/ws/pom.xml>
>> to /home/jenkins/jenkins-slave/maven-repositories/0/org/apache/
>> logging/log4j/log4j/2.6.3-SNAPSHOT/log4j-2.6.3-SNAPSHOT.pom
>> [INFO]
>> [INFO] ------------------------------------------------------------
>> ------------
>> [INFO] Building Apache Log4j API 2.6.3-SNAPSHOT
>> [INFO] ------------------------------------------------------------
>> ------------
>> [INFO]
>> [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ log4j-api ---
>> [INFO] Deleting <https://builds.apache.org/job
>> /Log4j%202.x/ws/log4j-api/target>
>> [INFO]
>> [INFO] --- maven-remote-resources-plugin:1.1:process (default) @
>> log4j-api ---
>> [INFO] Setting property: classpath.resource.loader.class =>
>> 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
>> [INFO] Setting property: velocimacro.messages.on => 'false'.
>> [INFO] Setting property: resource.loader => 'classpath'.
>> [INFO] Setting property: resource.manager.logwhenfound => 'false'.
>> [INFO]
>> [INFO] --- maven-resources-plugin:2.7:resources (default-resources) @
>> log4j-api ---
>> [INFO] Using 'UTF-8' encoding to copy filtered resources.
>> [INFO] skip non existing resourceDirectory <https://builds.apache.org/job
>> /Log4j%202.x/ws/log4j-api/src/main/resources>
>> [INFO] Copying 3 resources
>> [INFO]
>> [INFO] --- maven-compiler-plugin:3.5.1:compile (default-compile) @
>> log4j-api ---
>> [INFO] Changes detected - recompiling the module!
>> [INFO] Compiling 98 source files to <https://builds.apache.org/job
>> /Log4j%202.x/ws/log4j-api/target/classes>
>> [INFO] -------------------------------------------------------------
>> [ERROR] COMPILATION ERROR :
>> [INFO] -------------------------------------------------------------
>> [ERROR] javac: no source files
>> Usage: javac <options> <source files>
>> use -help for a list of possible options
>>
>> [INFO] 1 error
>> [INFO] -------------------------------------------------------------
>> [INFO] ------------------------------------------------------------
>> ------------
>> [INFO] Reactor Summary:
>> [INFO]
>> [INFO] Apache Log4j 2 .................................... SUCCESS [
>> 36.394 s]
>> [INFO] Apache Log4j API .................................. FAILURE [
>> 2.722 s]
>> [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 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] ------------------------------------------------------------
>> ------------
>> [INFO] BUILD FAILURE
>> [INFO] ------------------------------------------------------------
>> ------------
>> [INFO] Total time: 51.781 s
>> [INFO] Finished at: 2016-08-23T22:44:57+00:00
>> [INFO] Final Memory: 38M/453M
>> [INFO] ------------------------------------------------------------
>> ------------
>> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.5.1:compile
>> (default-compile) on project log4j-api: Compilation failure
>> [ERROR] javac: no source files
>> [ERROR] Usage: javac <options> <source files>
>> [ERROR] use -help for a list of possible options
>> [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/conflu
>> ence/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/log4j-nosql/pom.xml> to org.apache.logging.log4j/log4j
>> -nosql/2.6.3-SNAPSHOT/log4j-nosql-2.6.3-SNAPSHOT.pom
>> [JENKINS] Archiving <https://builds.apache.org/job
>> /Log4j%202.x/ws/log4j-taglib/pom.xml> to org.apache.logging.log4j/log4j
>> -taglib/2.6.3-SNAPSHOT/log4j-taglib-2.6.3-SNAPSHOT.pom
>> [JENKINS] Archiving <https://builds.apache.org/job
>> /Log4j%202.x/ws/log4j-samples/flume-remote/pom.xml> to
>> org.apache.logging.log4j.samples/log4j-samples-flume-remote/
>> 2.6.3-SNAPSHOT/log4j-samples-flume-remote-2.6.3-SNAPSHOT.pom
>> [JENKINS] Archiving <https://builds.apache.org/job
>> /Log4j%202.x/ws/log4j-1.2-api/pom.xml> to org.apache.logging.log4j/log4j
>> -1.2-api/2.6.3-SNAPSHOT/log4j-1.2-api-2.6.3-SNAPSHOT.pom
>> [JENKINS] Archiving <https://builds.apache.org/job
>> /Log4j%202.x/ws/log4j-jmx-gui/pom.xml> to org.apache.logging.log4j/log4j
>> -jmx-gui/2.6.3-SNAPSHOT/log4j-jmx-gui-2.6.3-SNAPSHOT.pom
>> [JENKINS] Archiving <https://builds.apache.org/job
>> /Log4j%202.x/ws/log4j-api/pom.xml> to org.apache.logging.log4j/log4j
>> -api/2.6.3-SNAPSHOT/log4j-api-2.6.3-SNAPSHOT.pom
>> [JENKINS] Archiving <https://builds.apache.org/job
>> /Log4j%202.x/ws/log4j-flume-ng/pom.xml> to org.apache.logging.log4j/log4j
>> -flume-ng/2.6.3-SNAPSHOT/log4j-flume-ng-2.6.3-SNAPSHOT.pom
>> [JENKINS] Archiving <https://builds.apache.org/job
>> /Log4j%202.x/ws/log4j-samples/pom.xml> to org.apache.logging.log4j.sampl
>> es/log4j-samples/2.6.3-SNAPSHOT/log4j-samples-2.6.3-SNAPSHOT.pom
>> [JENKINS] Archiving <https://builds.apache.org/job
>> /Log4j%202.x/ws/log4j-samples/configuration/pom.xml> to
>> org.apache.logging.log4j.samples/log4j-samples-configuration
>> /2.6.3-SNAPSHOT/log4j-samples-configuration-2.6.3-SNAPSHOT.pom
>> [JENKINS] Archiving <https://builds.apache.org/job
>> /Log4j%202.x/ws/log4j-core/pom.xml> to org.apache.logging.log4j/log4j
>> -core/2.6.3-SNAPSHOT/log4j-core-2.6.3-SNAPSHOT.pom
>> [JENKINS] Archiving <https://builds.apache.org/job
>> /Log4j%202.x/ws/log4j-perf/pom.xml> to org.apache.logging.log4j/log4j
>> -perf/2.6.3-SNAPSHOT/log4j-perf-2.6.3-SNAPSHOT.pom
>> [JENKINS] Archiving <https://builds.apache.org/job
>> /Log4j%202.x/ws/log4j-samples/loggerProperties/pom.xml> to
>> org.apache.logging.log4j.samples/log4j-samples-loggerPropert
>> ies/2.6.3-SNAPSHOT/log4j-samples-loggerProperties-2.6.3-SNAPSHOT.pom
>> [JENKINS] Archiving <https://builds.apache.org/job
>> /Log4j%202.x/ws/log4j-bom/pom.xml> to org.apache.logging.log4j/log4j
>> -bom/2.6.3-SNAPSHOT/log4j-bom-2.6.3-SNAPSHOT.pom
>> [JENKINS] Archiving <https://builds.apache.org/job
>> /Log4j%202.x/ws/log4j-samples/flume-embedded/pom.xml> to
>> org.apache.logging.log4j.samples/log4j-samples-flume-embedde
>> d/2.6.3-SNAPSHOT/log4j-samples-flume-embedded-2.6.3-SNAPSHOT.pom
>> [JENKINS] Archiving <https://builds.apache.org/job
>> /Log4j%202.x/ws/log4j-jul/pom.xml> to org.apache.logging.log4j/log4j
>> -jul/2.6.3-SNAPSHOT/log4j-jul-2.6.3-SNAPSHOT.pom
>> [JENKINS] Archiving <https://builds.apache.org/job
>> /Log4j%202.x/ws/log4j-slf4j-impl/pom.xml> to
>> org.apache.logging.log4j/log4j-slf4j-impl/2.6.3-SNAPSHOT/log
>> 4j-slf4j-impl-2.6.3-SNAPSHOT.pom
>> [JENKINS] Archiving <https://builds.apache.org/job
>> /Log4j%202.x/ws/log4j-iostreams/pom.xml> to
>> org.apache.logging.log4j/log4j-iostreams/2.6.3-SNAPSHOT/log4
>> j-iostreams-2.6.3-SNAPSHOT.pom
>> [JENKINS] Archiving <https://builds.apache.org/job/Log4j%202.x/ws/pom.xml>
>> to org.apache.logging.log4j/log4j/2.6.3-SNAPSHOT/log4j-2.6.3-SNAPSHOT.pom
>> Compressed 51.13 KB of artifacts by 62.6% relative to #2205
>> [JENKINS] Archiving <https://builds.apache.org/job
>> /Log4j%202.x/ws/log4j-to-slf4j/pom.xml> to org.apache.logging.log4j/log4j
>> -to-slf4j/2.6.3-SNAPSHOT/log4j-to-slf4j-2.6.3-SNAPSHOT.pom
>> [JENKINS] Archiving <https://builds.apache.org/job
>> /Log4j%202.x/ws/log4j-liquibase/pom.xml> to
>> org.apache.logging.log4j/log4j-liquibase/2.6.3-SNAPSHOT/log4
>> j-liquibase-2.6.3-SNAPSHOT.pom
>> [JENKINS] Archiving <https://builds.apache.org/job
>> /Log4j%202.x/ws/log4j-web/pom.xml> to org.apache.logging.log4j/log4j
>> -web/2.6.3-SNAPSHOT/log4j-web-2.6.3-SNAPSHOT.pom
>> [JENKINS] Archiving <https://builds.apache.org/job
>> /Log4j%202.x/ws/log4j-jcl/pom.xml> to org.apache.logging.log4j/log4j
>> -jcl/2.6.3-SNAPSHOT/log4j-jcl-2.6.3-SNAPSHOT.pom
>> [JENKINS] Archiving <https://builds.apache.org/job
>> /Log4j%202.x/ws/log4j-samples/flume-common/pom.xml> to
>> org.apache.logging.log4j.samples/log4j-samples-flume-common/
>> 2.6.3-SNAPSHOT/log4j-samples-flume-common-2.6.3-SNAPSHOT.pom
>> channel stopped
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
>> For additional commands, e-mail: log4j-dev-help@logging.apache.org
>>
>>
>>
>>
>> --
>> E-Mail: garydgregory@gmail.com | ggregory@apache.org
>> Java Persistence with Hibernate, Second Edition
>> <http://www.manning.com/bauer3/>
>> JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
>> Spring Batch in Action <http://www.manning.com/templier/>
>> Blog: http://garygregory.wordpress.com
>> Home: http://garygregory.com/
>> Tweet! http://twitter.com/GaryGregory
>>
>
>
>
> --
> Matt Sicker <boards@gmail.com>
>



-- 
E-Mail: garydgregory@gmail.com | ggregory@apache.org
Java Persistence with Hibernate, Second Edition
<http://www.manning.com/bauer3/>
JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
Spring Batch in Action <http://www.manning.com/templier/>
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory

Mime
View raw message