Re: MacOS: Unit tests failing on release-2.x branch

2022-03-04 Thread Volkan Yazıcı
rs to ignore the ‘minutes’ > part of timezone. > > The test works fine when I set my region to US, or something which has > ‘00’ in minutes part. > > > > Thanks, > > Atul > > > > From: Atul Pendse > > Date: Thursday, 3 March 2022 at 7:28 AM > > To: d

Re: MacOS: Unit tests failing on release-2.x branch

2022-03-03 Thread Matt Sicker
tul Pendse > Date: Thursday, 3 March 2022 at 7:28 AM > To: dev@logging.apache.org > Subject: Re: MacOS: Unit tests failing on release-2.x branch > It also fails when I run it individually from eclipse, with the same log. > I will have a look at my firewall settings like Matt sug

Re: MacOS: Unit tests failing on release-2.x branch

2022-03-02 Thread Atul Pendse
set my region to US, or something which has ‘00’ in minutes part. Thanks, Atul From: Atul Pendse Date: Thursday, 3 March 2022 at 7:28 AM To: dev@logging.apache.org Subject: Re: MacOS: Unit tests failing on release-2.x branch It also fails when I run it individually from eclipse, with the same

Re: MacOS: Unit tests failing on release-2.x branch

2022-03-02 Thread Atul Pendse
@logging.apache.org Subject: Re: MacOS: Unit tests failing on release-2.x branch Maybe you have a firewall rule blocking java from making the connection? I recall having to grant permissions to java before for this type of thing on macOS. — Matt Sicker > On Mar 2, 2022, at 07:21, Atul Pendse wr

Re: MacOS: Unit tests failing on release-2.x branch

2022-03-02 Thread Atul Pendse
t; > [ERROR] Run 3: > HtmlLayoutTest.testLayoutWithDatePatternFixedFormat:242->testLayoutWithDatePatternFixedFormat:273 > Incorrect date=2012-11-02T14:34:02,123+05, > format=ISO8601_OFFSET_DATE_TIME_HH, timezone=null ==> expected: > <2012-11-02T14:34:02,123+0530> but was: &

Re: MacOS: Unit tests failing on release-2.x branch

2022-03-02 Thread Ralph Goers
123+05> > > [ERROR] Run 3: > HtmlLayoutTest.testLayoutWithDatePatternFixedFormat:242->testLayoutWithDatePatternFixedFormat:273 > Incorrect date=2012-11-02T14:34:02,123+05, > format=ISO8601_OFFSET_DATE_TIME_HH, timezone=null ==> expected: > <2012-11-02T14:34:02,12

Re: MacOS: Unit tests failing on release-2.x branch

2022-03-02 Thread Matt Sicker
null ==> expected: > <2012-11-02T14:34:02,123+0530> but was: > <2012-11-02T14:34:02,123+05> > > [ERROR] Run 3: > HtmlLayoutTest.testLayoutWithDatePatternFixedFormat:242->testLayoutWithDatePatternFixedFormat:273 > Incorrect date=2012-11-02T14:34:02,123+05, >

Re: MacOS: Unit tests failing on release-2.x branch

2022-03-02 Thread Atul Pendse
02,123+0530> but was: <2012-11-02T14:34:02,123+05> [INFO] [ERROR] Errors: [ERROR] org.apache.logging.log4j.core.appender.SocketAppenderTest.null [ERROR] Run 1: SocketAppenderTest.setupClass:80 » Bind Address already in use (Bind failed) [ERROR] Run 2: SocketAppenderTest.setupClass:80

Re: MacOS: Unit tests failing on release-2.x branch

2022-03-02 Thread Atul Pendse
Hi Gary, Setting locale to US didn't help. The tests failed with same error. Thanks, Atul From: Atul Pendse Sent: Wednesday, March 2, 2022 5:55 PM To: Apache Logging Developers List Subject: Re: MacOS: Unit tests failing on release-2.x branch This has been

Re: MacOS: Unit tests failing on release-2.x branch

2022-03-02 Thread Atul Pendse
This has been failing consistently. Thanks for the suggestion. I will try and get back with results. From: Gary Gregory Sent: Wednesday, March 2, 2022 5:54 PM To: Apache Logging Developers List Subject: Re: MacOS: Unit tests failing on release-2.x branch Hi

Re: MacOS: Unit tests failing on release-2.x branch

2022-03-02 Thread Gary Gregory
Hi Atul, Is this random or consistently repeatable? I wonder if this could be a locale issue. Could you try building with the default locale set to US, something like this: -Duser.language=en -Duser.region=US Gary On Wed, Mar 2, 2022, 03:30 Atul Pendse wrote: > Hi, > > > > I have checked

Re: MacOS: Unit tests failing on release-2.x branch

2022-03-02 Thread Volkan Yazıcı
Unstable HtmlLayoutTest is a known issue, see LOG4J2-3019 . For others, I don't have an idea. Though I would advise using the following command instead: `./mvnw clean verify -Dsurefire.rerunFailingTestsCount=2`. `./mvnw` will align the used Maven

MacOS: Unit tests failing on release-2.x branch

2022-03-02 Thread Atul Pendse
Hi, I have checked out latest code from log4j release-2.x branch. While trying to run ‘mvn clean install’, few unit tests in log4j-core are failing with below error [INFO] Results: [INFO] [ERROR] Failures: [ERROR] SocketAppenderTest.testUdpAppender:211 No event retrieved [ERROR]