[
https://issues.apache.org/jira/browse/LOG4J2-1247?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Matt Sicker resolved LOG4J2-1247.
---------------------------------
Resolution: Cannot Reproduce
Resolving as this issue doesn't appear to be a problem. Feel free to reopen if
it's still a problem for you.
> 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: [email protected]
For additional commands, e-mail: [email protected]