logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anshu Garg (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LOG4J2-1247) Can not build Log4j from git master due to a test failure in Log4j Core
Date Fri, 08 Jan 2016 12:25:39 GMT

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

Anshu Garg commented on LOG4J2-1247:
------------------------------------

yes it was first time I ran "mvn install" and it did download many jars

If I run it again it completes in about 13 minutes with same test failure
and three more

Results :

Failed tests:
  RollingAppenderNoUnconditionalDeleteTest.testAppender:92 rolled over
lines expected:<17> but was:<18>
  RollingAppenderNoUnconditionalDeleteTest.testAppender:92 rolled over
lines expected:<17> but was:<18>
  RollingAppenderNoUnconditionalDeleteTest.testAppender:92 rolled over
lines expected:<17> but was:<18>

UdpSerializedSocketServerTest>AbstractSocketServerTest.test10ShortMessages:118->AbstractSocketServerTest.testServer:16
1->AbstractSocketServerTest.testServer:201 Incorrect number of events
received expected:<10> but was:<8>

Tests run: 1066, Failures: 4, Errors: 0, Skipped: 32

[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Log4j 2 ..................................... SUCCESS [
 1.752 s]
[INFO] Apache Log4j API ................................... SUCCESS [
15.117 s]
[INFO] Apache Log4j Core .................................. FAILURE [12:47
min]
[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: 13:06 min
[INFO] Finished at: 2016-01-08T17:42:38+05:30
[INFO] Final Memory: 31M/374M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test (default-test)
on project log4
j-core: There are test failures.
[ERROR]
[ERROR] Please refer to C:\ApacheLog4j2\log4j-core\target\surefire-reports
for the individual test results.
[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-core



*"mvn clean test" reported success !*







-- 
Thanks & Regards,
Anshu.


> Can not build Log4j from git master due to a test failure in Log4j Core
> -----------------------------------------------------------------------
>
>                 Key: LOG4J2-1247
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-1247
>             Project: Log4j 2
>          Issue Type: Bug
>          Components: Core
>         Environment: Windows 7
>            Reporter: Anshu Garg
>
> I checked out code from http://git-wip-us.apache.org/repos/asf/logging-log4j2.git
> And used maven 3.3.9 to build/install it with command  "mvn install"
> Build fails for Apache Log4j2 Core as below 
> **********************
> Results :
> Failed tests:
>   UdpSerializedSocketServerTest>AbstractSocketServerTest.test10ShortMessages:118->AbstractSocketServerTest.testServer:16
> 1->AbstractSocketServerTest.testServer:201 Incorrect number of events received expected:<10>
but was:<7>
> Tests run: 1066, Failures: 1, Errors: 0, Skipped: 32
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] Apache Log4j 2 ..................................... SUCCESS [06:08 min]
> [INFO] Apache Log4j API ................................... SUCCESS [03:02 min]
> [INFO] Apache Log4j Core .................................. FAILURE [18:41 min]
> [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: 29:59 min
> [INFO] Finished at: 2016-01-08T15:01:02+05:30
> [INFO] Final Memory: 33M/181M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test
(default-test) on project log4
> j-core: There are test failures.
> [ERROR]
> [ERROR] Please refer to C:\ApacheLog4j2\log4j-core\target\surefire-reports for the individual
test results.
> [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-core



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

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


Mime
View raw message