See
<https://builds.apache.org/job/Log4jWindows/Windows%20Slaves=Windows,jdk=JDK%201.7%20(unlimited%20security)%2064-bit%20Windows%20only/20/changes>
Changes:
[ggregory] Fix build on Windows (as seen on my machine and the build VM).
------------------------------------------
[...truncated 16632 lines...]
16044/16508 KB
16048/16508 KB
16052/16508 KB
16056/16508 KB
16060/16508 KB
16064/16508 KB
16068/16508 KB
16072/16508 KB
16076/16508 KB
16080/16508 KB
16084/16508 KB
16088/16508 KB
16092/16508 KB
16096/16508 KB
16100/16508 KB
16104/16508 KB
16108/16508 KB
16112/16508 KB
16116/16508 KB
16120/16508 KB
16124/16508 KB
16128/16508 KB
16132/16508 KB
16136/16508 KB
16140/16508 KB
16144/16508 KB
16148/16508 KB
16152/16508 KB
16156/16508 KB
16160/16508 KB
16164/16508 KB
16168/16508 KB
16172/16508 KB
16176/16508 KB
16180/16508 KB
16184/16508 KB
16188/16508 KB
16192/16508 KB
16196/16508 KB
16200/16508 KB
16204/16508 KB
16208/16508 KB
16212/16508 KB
16216/16508 KB
16220/16508 KB
16224/16508 KB
16228/16508 KB
16232/16508 KB
16236/16508 KB
16240/16508 KB
16244/16508 KB
16248/16508 KB
16252/16508 KB
16256/16508 KB
16260/16508 KB
16264/16508 KB
16268/16508 KB
16272/16508 KB
16276/16508 KB
16280/16508 KB
16284/16508 KB
16288/16508 KB
16292/16508 KB
16296/16508 KB
16300/16508 KB
16304/16508 KB
16308/16508 KB
16312/16508 KB
16316/16508 KB
16320/16508 KB
16324/16508 KB
16328/16508 KB
16332/16508 KB
16336/16508 KB
16340/16508 KB
16344/16508 KB
16348/16508 KB
16352/16508 KB
16356/16508 KB
16360/16508 KB
16364/16508 KB
16368/16508 KB
16372/16508 KB
16376/16508 KB
16380/16508 KB
16384/16508 KB
16388/16508 KB
16392/16508 KB
16396/16508 KB
16400/16508 KB
16404/16508 KB
16408/16508 KB
16412/16508 KB
16416/16508 KB
16420/16508 KB
16424/16508 KB
16428/16508 KB
16432/16508 KB
16436/16508 KB
16440/16508 KB
16444/16508 KB
16448/16508 KB
16452/16508 KB
16456/16508 KB
16460/16508 KB
16464/16508 KB
16468/16508 KB
16472/16508 KB
16476/16508 KB
16480/16508 KB
16484/16508 KB
16488/16508 KB
16492/16508 KB
16496/16508 KB
16500/16508 KB
16504/16508 KB
16508/16508 KB
Downloaded:
https://repo.maven.apache.org/maven2/it/unimi/dsi/fastutil/6.5.7/fastutil-6.5.7.jar
(16508 KB at 15006.7 KB/sec)
[INFO]
[INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ log4j-nosql ---
[INFO]
[INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles)
@ log4j-nosql ---
[INFO]
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ log4j-nosql ---
[INFO]
[INFO] --- maven-resources-plugin:3.0.1:resources (default-resources) @
log4j-nosql ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory
F:\jenkins\jenkins-slave\workspace\Log4jWindows\Windows Slaves\Windows\jdk\JDK
1.7 (unlimited security) 64-bit Windows only\log4j-nosql\src\main\resources
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.6.0:compile (default-compile) @ log4j-nosql
---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 19 source files to
F:\jenkins\jenkins-slave\workspace\Log4jWindows\Windows Slaves\Windows\jdk\JDK
1.7 (unlimited security) 64-bit Windows only\log4j-nosql\target\classes
[WARNING] F:\jenkins\jenkins-slave\workspace\Log4jWindows\Windows
Slaves\Windows\jdk\JDK 1.7 (unlimited security) 64-bit Windows
only\log4j-nosql\src\main\java\org\apache\logging\log4j\nosql\appender\NoSqlDatabaseManager.java:[153,56]
[rawtypes] found raw type: NoSqlObject
missing type arguments for generic class NoSqlObject<W>
where W is a type-variable:
W extends Object declared in interface NoSqlObject
[WARNING] F:\jenkins\jenkins-slave\workspace\Log4jWindows\Windows
Slaves\Windows\jdk\JDK 1.7 (unlimited security) 64-bit Windows
only\log4j-nosql\src\main\java\org\apache\logging\log4j\nosql\appender\NoSqlDatabaseManager.java:[221,23]
[rawtypes] found raw type: NoSqlDatabaseManager
missing type arguments for generic class NoSqlDatabaseManager<W>
where W is a type-variable:
W extends Object declared in class NoSqlDatabaseManager
[WARNING] F:\jenkins\jenkins-slave\workspace\Log4jWindows\Windows
Slaves\Windows\jdk\JDK 1.7 (unlimited security) 64-bit Windows
only\log4j-nosql\src\main\java\org\apache\logging\log4j\nosql\appender\mongodb\MongoDbProvider.java:[121,57]
[deprecation] getDB(String) in Mongo has been deprecated
[WARNING] F:\jenkins\jenkins-slave\workspace\Log4jWindows\Windows
Slaves\Windows\jdk\JDK 1.7 (unlimited security) 64-bit Windows
only\log4j-nosql\src\main\java\org\apache\logging\log4j\nosql\appender\mongodb\MongoDbProvider.java:[170,91]
[deprecation] getDB(String) in Mongo has been deprecated
[INFO]
[INFO] --- maven-bundle-plugin:3.2.0:manifest (default) @ log4j-nosql ---
[INFO]
[INFO] --- maven-resources-plugin:3.0.1:testResources (default-testResources) @
log4j-nosql ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 4 resources
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.6.0:testCompile (default-testCompile) @
log4j-nosql ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 6 source files to
F:\jenkins\jenkins-slave\workspace\Log4jWindows\Windows Slaves\Windows\jdk\JDK
1.7 (unlimited security) 64-bit Windows only\log4j-nosql\target\test-classes
[WARNING] ad path element
"C:\Users\jenkins\.m2\repository\org\apache\cassandra\cassandra-all\2.2.8\apache-cassandra-thrift-2.2.8.jar":
no such file or directory
warning: No processor claimed any of these annotations:
org.junit.experimental.categories.Category,org.junit.Ignore,org.junit.Before,org.mockito.Captor,org.junit.Rule,org.junit.ClassRule,org.junit.runner.RunWith,org.junit.Test,org.mockito.Mock
F:\jenkins\jenkins-slave\workspace\Log4jWindows\Windows Slaves\Windows\jdk\JDK
1.7 (unlimited security) 64-bit Windows
only\log4j-nosql\src\test\java\org\apache\logging\log4j\nosql\appender\NoSqlDatabaseManagerTest.java:[215,16]
[deprecation] setContextMap(Map<String,String>) in Builder has been deprecated
[WARNING] F:\jenkins\jenkins-slave\workspace\Log4jWindows\Windows
Slaves\Windows\jdk\JDK 1.7 (unlimited security) 64-bit Windows
only\log4j-nosql\src\test\java\org\apache\logging\log4j\nosql\appender\NoSqlDatabaseManagerTest.java:[316,16]
[deprecation] setContextMap(Map<String,String>) in Builder has been deprecated
[INFO]
[INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ log4j-nosql ---
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.apache.logging.log4j.nosql.appender.MongoDbAuthTest
Running org.apache.logging.log4j.nosql.appender.MongoDbTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.025 sec - in
org.apache.logging.log4j.nosql.appender.MongoDbAuthTest
Running org.apache.logging.log4j.nosql.appender.NoSqlAppenderTest
Running org.apache.logging.log4j.nosql.appender.NoSqlDatabaseManagerTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.059 sec - in
org.apache.logging.log4j.nosql.appender.MongoDbTest
ERROR StatusLogger NoSQL provider not specified for appender [myName01].
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.287 sec - in
org.apache.logging.log4j.nosql.appender.NoSqlAppenderTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.662 sec - in
org.apache.logging.log4j.nosql.appender.NoSqlDatabaseManagerTest
Results :
Tests run: 11, Failures: 0, Errors: 0, Skipped: 2
[INFO]
[INFO] --- maven-jar-plugin:3.0.0:jar (default-jar) @ log4j-nosql ---
[INFO] Building jar: F:\jenkins\jenkins-slave\workspace\Log4jWindows\Windows
Slaves\Windows\jdk\JDK 1.7 (unlimited security) 64-bit Windows
only\log4j-nosql\target\log4j-nosql-2.8.1-SNAPSHOT.jar
[INFO]
[INFO] --- maven-site-plugin:3.4:attach-descriptor (attach-descriptor) @
log4j-nosql ---
[INFO]
[INFO] --- maven-failsafe-plugin:2.19.1:integration-test (integration-tests) @
log4j-nosql ---
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.apache.logging.log4j.nosql.appender.cassandra.CassandraAppenderIT
ERROR StatusLogger No log4j2 configuration file found. Using default
configuration: logging only errors to the console. Set system property
'org.apache.logging.log4j.simplelog.StatusLogger.level' to TRACE to show Log4j2
internal initialization logging.
06:19:48.565 [Log4j2-TF-1-Cassandra-1] ERROR
org.apache.cassandra.service.StartupChecks - cassandra.jmx.local.port missing
from cassandra-env.sh, unable to start local JMX service.
ERROR StatusLogger No log4j2 configuration file found. Using default
configuration: logging only errors to the console. Set system property
'org.apache.logging.log4j.simplelog.StatusLogger.level' to TRACE to show Log4j2
internal initialization logging.
Results :
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO] --- maven-failsafe-plugin:2.19.1:verify (verify) @ log4j-nosql ---
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Log4j 2 ..................................... SUCCESS [ 2.670 s]
[INFO] Apache Log4j API ................................... SUCCESS [ 18.984 s]
[INFO] Apache Log4j Core .................................. SUCCESS [22:55 min]
[INFO] Apache Log4j 1.x Compatibility API ................. SUCCESS [ 10.458 s]
[INFO] Apache Log4j SLF4J Binding ......................... SUCCESS [ 7.946 s]
[INFO] Apache Log4j to SLF4J Adapter ...................... SUCCESS [ 4.214 s]
[INFO] Apache Log4j Commons Logging Bridge ................ SUCCESS [ 4.306 s]
[INFO] Apache Log4j Flume Bridge .......................... SUCCESS [ 27.384 s]
[INFO] Apache Log4j Web ................................... SUCCESS [ 8.490 s]
[INFO] Apache Log4j Tag Library ........................... SUCCESS [ 22.550 s]
[INFO] Apache Log4j JMX GUI ............................... SUCCESS [ 1.899 s]
[INFO] Apache Log4j Samples ............................... SUCCESS [ 0.614 s]
[INFO] Apache Log4j Samples: Flume - Common ............... SUCCESS [ 2.610 s]
[INFO] Apache Log4j Samples: Flume - Remote ............... SUCCESS [ 2.349 s]
[INFO] Apache Log4j Samples: Flume - Embedded ............. SUCCESS [ 5.593 s]
[INFO] Apache Log4j Samples: Configuration ................ SUCCESS [ 4.002 s]
[INFO] Apache Log4j Samples: LoggerProperties ............. SUCCESS [ 4.605 s]
[INFO] Apache Log4j Scala 2.11 wrapper for Log4j API ...... SUCCESS [ 30.796 s]
[INFO] Apache Log4j Samples: Scala API .................... SUCCESS [ 5.568 s]
[INFO] Apache Log4j OSGi .................................. SUCCESS [ 6.582 s]
[INFO] Apache Log4j BOM ................................... SUCCESS [ 1.805 s]
[INFO] Apache Log4j NoSQL ................................. FAILURE [ 30.057 s]
[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: 26:21 min
[INFO] Finished at: 2017-02-15T06:20:05+00:00
[INFO] Final Memory: 59M/791M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-failsafe-plugin:2.19.1:verify (verify) on
project log4j-nosql: There was a timeout or other error in the fork -> [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/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :log4j-nosql
Build step 'Execute Windows batch command' marked build as failure
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]