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 "Gary Gregory (JIRA)" <ji...@apache.org> on 2016/01/08 12:04:39 UTC

[jira] [Commented] (LOG4J2-1247) Can not build Log4j from git master due to a test failure in Log4j Core

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

Gary Gregory commented on LOG4J2-1247:
--------------------------------------

30 mins to run a build seems quite long. Was this the first time you ran the build and it downloaded a bunch of jars? The last time I ran 'mvn clean test' it took about 13 minutes. What happens if you do it again? I wonder if this could be a timing issue when your CPU get bogged down by other processes for example.

> 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