You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Gary Gregory <ga...@gmail.com> on 2020/04/29 22:33:48 UTC

[log4j] InitTest fails in release-2.x

I always get this failure in release-2.x and 'mvn clean install -V':

[INFO] Running org.apache.logging.log4j.core.util.InitTest
Timer Log4j Initialization stopped. Elapsed time: 1.316873519 seconds
[ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed:
1.344 s <<< FAILURE! - in org.apache.logging.log4j.core.util.InitTest
[ERROR] initTest(org.apache.logging.log4j.core.util.InitTest)  Time
elapsed: 1.337 s  <<< FAILURE!
java.lang.AssertionError: Initialization time exceeded threshold; elapsed
1316873519
        at
org.apache.logging.log4j.core.util.InitTest.initTest(InitTest.java:39)

Using:

Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
Maven home: C:\Java\apache-maven-3.6.3\bin\..
Java version: 1.8.0_241, vendor: Oracle Corporation, runtime: C:\Program
Files\Java\jdk1.8.0_241\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"

Anyone else?

Gary

Fwd: [log4j] InitTest fails in release-2.x

Posted by Gary Gregory <ga...@gmail.com>.
---------- Forwarded message ---------
From: Gary Gregory <ga...@gmail.com>
Date: Wed, Apr 29, 2020, 18:33
Subject: [log4j] InitTest fails in release-2.x
To: Commons Developers List <de...@commons.apache.org>


I always get this failure in release-2.x and 'mvn clean install -V':

[INFO] Running org.apache.logging.log4j.core.util.InitTest
Timer Log4j Initialization stopped. Elapsed time: 1.316873519 seconds
[ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed:
1.344 s <<< FAILURE! - in org.apache.logging.log4j.core.util.InitTest
[ERROR] initTest(org.apache.logging.log4j.core.util.InitTest)  Time
elapsed: 1.337 s  <<< FAILURE!
java.lang.AssertionError: Initialization time exceeded threshold; elapsed
1316873519
        at
org.apache.logging.log4j.core.util.InitTest.initTest(InitTest.java:39)

Using:

Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
Maven home: C:\Java\apache-maven-3.6.3\bin\..
Java version: 1.8.0_241, vendor: Oracle Corporation, runtime: C:\Program
Files\Java\jdk1.8.0_241\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"

Anyone else?

Gary

Re: [log4j] InitTest fails in release-2.x

Posted by Gilles Sadowski <gi...@gmail.com>.
Wrong list.

2020-04-30 0:33 UTC+02:00, Gary Gregory <ga...@gmail.com>:
> I always get this failure in release-2.x and 'mvn clean install -V':
>
> [INFO] Running org.apache.logging.log4j.core.util.InitTest
> Timer Log4j Initialization stopped. Elapsed time: 1.316873519 seconds
> [ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed:
> 1.344 s <<< FAILURE! - in org.apache.logging.log4j.core.util.InitTest
> [ERROR] initTest(org.apache.logging.log4j.core.util.InitTest)  Time
> elapsed: 1.337 s  <<< FAILURE!
> java.lang.AssertionError: Initialization time exceeded threshold; elapsed
> 1316873519
>         at
> org.apache.logging.log4j.core.util.InitTest.initTest(InitTest.java:39)
>
> Using:
>
> Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
> Maven home: C:\Java\apache-maven-3.6.3\bin\..
> Java version: 1.8.0_241, vendor: Oracle Corporation, runtime: C:\Program
> Files\Java\jdk1.8.0_241\jre
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"
>
> Anyone else?
>
> Gary
>

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