[jira] [Commented] (LOG4J2-3019) HtmlLayoutTest.testLayoutWithDatePatternFixedFormat test fails on windows
[ https://issues.apache.org/jira/browse/LOG4J2-3019?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17625764#comment-17625764 ] Volkan Yazici commented on LOG4J2-3019: --- Thanks for the PR [~adwsingh], LGTM, merged. > HtmlLayoutTest.testLayoutWithDatePatternFixedFormat test fails on windows > - > > Key: LOG4J2-3019 > URL: https://issues.apache.org/jira/browse/LOG4J2-3019 > Project: Log4j 2 > Issue Type: Bug > Components: Core >Affects Versions: 2.14.0 > Environment: OS: Windows 10 Enterprise > Version: 20H2 > OS Build: 19042.746 > Experience: Windows Feature Experience Pack 120.2212.551.0 > java version "1.8.0_192" > Java(TM) SE Runtime Environment (build 1.8.0_192-b12) > Java HotSpot(TM) 64-Bit Server VM (build 25.192-b12, mixed mode) >Reporter: Luc Kleeven >Assignee: Volkan Yazici >Priority: Minor > Fix For: 2.18.0 > > > When running a './mvnw verify' on the 'release-2.x' branche, last commit id > '9788f33fc62b3b4012489a603772433d3440e6b0'. The following test fails: > {code:java} > [ERROR] > HtmlLayoutTest.testLayoutWithDatePatternFixedFormat:242->testLayoutWithDatePatternFixedFormat:273 > Incorrect date=02 Nov 2012 21:34:02,123, format=DATE, > timezone=GMT+8 ==> expected: <02 nov 2012 21:34:02,123> but was: > <02 Nov 2012 21:34:02,123> {code} -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Commented] (LOG4J2-3019) HtmlLayoutTest.testLayoutWithDatePatternFixedFormat test fails on windows
[ https://issues.apache.org/jira/browse/LOG4J2-3019?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17624055#comment-17624055 ] Adwait Kumar Singh commented on LOG4J2-3019: This is not fixed if run in TimeZone which has minutes. I have raised a PR for the same, https://github.com/apache/logging-log4j2/pull/1127 > HtmlLayoutTest.testLayoutWithDatePatternFixedFormat test fails on windows > - > > Key: LOG4J2-3019 > URL: https://issues.apache.org/jira/browse/LOG4J2-3019 > Project: Log4j 2 > Issue Type: Bug > Components: Core >Affects Versions: 2.14.0 > Environment: OS: Windows 10 Enterprise > Version: 20H2 > OS Build: 19042.746 > Experience: Windows Feature Experience Pack 120.2212.551.0 > java version "1.8.0_192" > Java(TM) SE Runtime Environment (build 1.8.0_192-b12) > Java HotSpot(TM) 64-Bit Server VM (build 25.192-b12, mixed mode) >Reporter: Luc Kleeven >Assignee: Volkan Yazici >Priority: Minor > Fix For: 2.18.0 > > > When running a './mvnw verify' on the 'release-2.x' branche, last commit id > '9788f33fc62b3b4012489a603772433d3440e6b0'. The following test fails: > {code:java} > [ERROR] > HtmlLayoutTest.testLayoutWithDatePatternFixedFormat:242->testLayoutWithDatePatternFixedFormat:273 > Incorrect date=02 Nov 2012 21:34:02,123, format=DATE, > timezone=GMT+8 ==> expected: <02 nov 2012 21:34:02,123> but was: > <02 Nov 2012 21:34:02,123> {code} -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Commented] (LOG4J2-3019) HtmlLayoutTest.testLayoutWithDatePatternFixedFormat test fails on windows
[ https://issues.apache.org/jira/browse/LOG4J2-3019?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17509708#comment-17509708 ] ASF subversion and git services commented on LOG4J2-3019: - Commit 8f1fc1bf46cf054fd2dcf99faf1c731dc3e9e82d in logging-log4j2's branch refs/heads/LOG4J2-3393 from Gary Gregory [ https://gitbox.apache.org/repos/asf?p=logging-log4j2.git;h=8f1fc1b ] [LOG4J2-3019] HtmlLayoutTest.testLayoutWithDatePatternFixedFormat test fails on windows > HtmlLayoutTest.testLayoutWithDatePatternFixedFormat test fails on windows > - > > Key: LOG4J2-3019 > URL: https://issues.apache.org/jira/browse/LOG4J2-3019 > Project: Log4j 2 > Issue Type: Bug > Components: Core >Affects Versions: 2.14.0 > Environment: OS: Windows 10 Enterprise > Version: 20H2 > OS Build: 19042.746 > Experience: Windows Feature Experience Pack 120.2212.551.0 > java version "1.8.0_192" > Java(TM) SE Runtime Environment (build 1.8.0_192-b12) > Java HotSpot(TM) 64-Bit Server VM (build 25.192-b12, mixed mode) >Reporter: Luc Kleeven >Assignee: Volkan Yazici >Priority: Minor > Fix For: 2.17.3 > > > When running a './mvnw verify' on the 'release-2.x' branche, last commit id > '9788f33fc62b3b4012489a603772433d3440e6b0'. The following test fails: > {code:java} > [ERROR] > HtmlLayoutTest.testLayoutWithDatePatternFixedFormat:242->testLayoutWithDatePatternFixedFormat:273 > Incorrect date=02 Nov 2012 21:34:02,123, format=DATE, > timezone=GMT+8 ==> expected: <02 nov 2012 21:34:02,123> but was: > <02 Nov 2012 21:34:02,123> {code} -- This message was sent by Atlassian Jira (v8.20.1#820001)
[jira] [Commented] (LOG4J2-3019) HtmlLayoutTest.testLayoutWithDatePatternFixedFormat test fails on windows
[ https://issues.apache.org/jira/browse/LOG4J2-3019?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17508418#comment-17508418 ] ASF subversion and git services commented on LOG4J2-3019: - Commit 8f1fc1bf46cf054fd2dcf99faf1c731dc3e9e82d in logging-log4j2's branch refs/heads/dependabot/maven/org.apache.felix-org.apache.felix.framework-7.0.3 from Gary Gregory [ https://gitbox.apache.org/repos/asf?p=logging-log4j2.git;h=8f1fc1b ] [LOG4J2-3019] HtmlLayoutTest.testLayoutWithDatePatternFixedFormat test fails on windows > HtmlLayoutTest.testLayoutWithDatePatternFixedFormat test fails on windows > - > > Key: LOG4J2-3019 > URL: https://issues.apache.org/jira/browse/LOG4J2-3019 > Project: Log4j 2 > Issue Type: Bug > Components: Core >Affects Versions: 2.14.0 > Environment: OS: Windows 10 Enterprise > Version: 20H2 > OS Build: 19042.746 > Experience: Windows Feature Experience Pack 120.2212.551.0 > java version "1.8.0_192" > Java(TM) SE Runtime Environment (build 1.8.0_192-b12) > Java HotSpot(TM) 64-Bit Server VM (build 25.192-b12, mixed mode) >Reporter: Luc Kleeven >Assignee: Volkan Yazici >Priority: Minor > Fix For: 2.17.3 > > > When running a './mvnw verify' on the 'release-2.x' branche, last commit id > '9788f33fc62b3b4012489a603772433d3440e6b0'. The following test fails: > {code:java} > [ERROR] > HtmlLayoutTest.testLayoutWithDatePatternFixedFormat:242->testLayoutWithDatePatternFixedFormat:273 > Incorrect date=02 Nov 2012 21:34:02,123, format=DATE, > timezone=GMT+8 ==> expected: <02 nov 2012 21:34:02,123> but was: > <02 Nov 2012 21:34:02,123> {code} -- This message was sent by Atlassian Jira (v8.20.1#820001)
[jira] [Commented] (LOG4J2-3019) HtmlLayoutTest.testLayoutWithDatePatternFixedFormat test fails on windows
[ https://issues.apache.org/jira/browse/LOG4J2-3019?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17507668#comment-17507668 ] Gary D. Gregory commented on LOG4J2-3019: - [~LKleeven] and all, Please verify the release-2,x branch builds for you and close this ticket builds for you. TY! > HtmlLayoutTest.testLayoutWithDatePatternFixedFormat test fails on windows > - > > Key: LOG4J2-3019 > URL: https://issues.apache.org/jira/browse/LOG4J2-3019 > Project: Log4j 2 > Issue Type: Bug > Components: Core >Affects Versions: 2.14.0 > Environment: OS: Windows 10 Enterprise > Version: 20H2 > OS Build: 19042.746 > Experience: Windows Feature Experience Pack 120.2212.551.0 > java version "1.8.0_192" > Java(TM) SE Runtime Environment (build 1.8.0_192-b12) > Java HotSpot(TM) 64-Bit Server VM (build 25.192-b12, mixed mode) >Reporter: Luc Kleeven >Assignee: Volkan Yazici >Priority: Minor > Fix For: 2.17.3 > > > When running a './mvnw verify' on the 'release-2.x' branche, last commit id > '9788f33fc62b3b4012489a603772433d3440e6b0'. The following test fails: > {code:java} > [ERROR] > HtmlLayoutTest.testLayoutWithDatePatternFixedFormat:242->testLayoutWithDatePatternFixedFormat:273 > Incorrect date=02 Nov 2012 21:34:02,123, format=DATE, > timezone=GMT+8 ==> expected: <02 nov 2012 21:34:02,123> but was: > <02 Nov 2012 21:34:02,123> {code} -- This message was sent by Atlassian Jira (v8.20.1#820001)
[jira] [Commented] (LOG4J2-3019) HtmlLayoutTest.testLayoutWithDatePatternFixedFormat test fails on windows
[ https://issues.apache.org/jira/browse/LOG4J2-3019?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17507568#comment-17507568 ] ASF subversion and git services commented on LOG4J2-3019: - Commit 8f1fc1bf46cf054fd2dcf99faf1c731dc3e9e82d in logging-log4j2's branch refs/heads/release-2.x from Gary Gregory [ https://gitbox.apache.org/repos/asf?p=logging-log4j2.git;h=8f1fc1b ] [LOG4J2-3019] HtmlLayoutTest.testLayoutWithDatePatternFixedFormat test fails on windows > HtmlLayoutTest.testLayoutWithDatePatternFixedFormat test fails on windows > - > > Key: LOG4J2-3019 > URL: https://issues.apache.org/jira/browse/LOG4J2-3019 > Project: Log4j 2 > Issue Type: Bug > Components: Core >Affects Versions: 2.14.0 > Environment: OS: Windows 10 Enterprise > Version: 20H2 > OS Build: 19042.746 > Experience: Windows Feature Experience Pack 120.2212.551.0 > java version "1.8.0_192" > Java(TM) SE Runtime Environment (build 1.8.0_192-b12) > Java HotSpot(TM) 64-Bit Server VM (build 25.192-b12, mixed mode) >Reporter: Luc Kleeven >Assignee: Volkan Yazici >Priority: Minor > > When running a './mvnw verify' on the 'release-2.x' branche, last commit id > '9788f33fc62b3b4012489a603772433d3440e6b0'. The following test fails: > {code:java} > [ERROR] > HtmlLayoutTest.testLayoutWithDatePatternFixedFormat:242->testLayoutWithDatePatternFixedFormat:273 > Incorrect date=02 Nov 2012 21:34:02,123, format=DATE, > timezone=GMT+8 ==> expected: <02 nov 2012 21:34:02,123> but was: > <02 Nov 2012 21:34:02,123> {code} -- This message was sent by Atlassian Jira (v8.20.1#820001)
[jira] [Commented] (LOG4J2-3019) HtmlLayoutTest.testLayoutWithDatePatternFixedFormat test fails on windows
[ https://issues.apache.org/jira/browse/LOG4J2-3019?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17501254#comment-17501254 ] Atul Pendse commented on LOG4J2-3019: - I hit a failure in HtmlLayoutTest (Mac and CentOS). [ERROR] 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: <2012-11-02T14:34:02,123+05> My failure appears slightly different than reported one, but it's in same test. I am in GMT+0530 timezone. The test appears to ignore the 'minutes' part of timezone, and expect it to be just GMT+05, instead of GMT+0530 > HtmlLayoutTest.testLayoutWithDatePatternFixedFormat test fails on windows > - > > Key: LOG4J2-3019 > URL: https://issues.apache.org/jira/browse/LOG4J2-3019 > Project: Log4j 2 > Issue Type: Bug > Components: Core >Affects Versions: 2.14.0 > Environment: OS: Windows 10 Enterprise > Version: 20H2 > OS Build: 19042.746 > Experience: Windows Feature Experience Pack 120.2212.551.0 > java version "1.8.0_192" > Java(TM) SE Runtime Environment (build 1.8.0_192-b12) > Java HotSpot(TM) 64-Bit Server VM (build 25.192-b12, mixed mode) >Reporter: Luc Kleeven >Assignee: Volkan Yazici >Priority: Minor > > When running a './mvnw verify' on the 'release-2.x' branche, last commit id > '9788f33fc62b3b4012489a603772433d3440e6b0'. The following test fails: > {code:java} > [ERROR] > HtmlLayoutTest.testLayoutWithDatePatternFixedFormat:242->testLayoutWithDatePatternFixedFormat:273 > Incorrect date=02 Nov 2012 21:34:02,123, format=DATE, > timezone=GMT+8 ==> expected: <02 nov 2012 21:34:02,123> but was: > <02 Nov 2012 21:34:02,123> {code} -- This message was sent by Atlassian Jira (v8.20.1#820001)
[jira] [Commented] (LOG4J2-3019) HtmlLayoutTest.testLayoutWithDatePatternFixedFormat test fails on windows
[ https://issues.apache.org/jira/browse/LOG4J2-3019?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17285496#comment-17285496 ] Volkan Yazici commented on LOG4J2-3019: --- Sorry, I am a Windows noob – but a proud one! Could this discrepancy be due to environment variables? [~LKleeven], would you share a dump of your environment variables, please? And if possible, would you repeat the test in an _empty_ environment, that is, Windows-equivalent of {code:bash} env -i -- ./mvnw test -pl log4j-core -Dtest=HtmlLayoutTest {code} in Linux. > HtmlLayoutTest.testLayoutWithDatePatternFixedFormat test fails on windows > - > > Key: LOG4J2-3019 > URL: https://issues.apache.org/jira/browse/LOG4J2-3019 > Project: Log4j 2 > Issue Type: Bug > Components: Core >Affects Versions: 2.14.0 > Environment: OS: Windows 10 Enterprise > Version: 20H2 > OS Build: 19042.746 > Experience: Windows Feature Experience Pack 120.2212.551.0 > java version "1.8.0_192" > Java(TM) SE Runtime Environment (build 1.8.0_192-b12) > Java HotSpot(TM) 64-Bit Server VM (build 25.192-b12, mixed mode) >Reporter: Luc Kleeven >Assignee: Volkan Yazici >Priority: Minor > > When running a './mvnw verify' on the 'release-2.x' branche, last commit id > '9788f33fc62b3b4012489a603772433d3440e6b0'. The following test fails: > {code:java} > [ERROR] > HtmlLayoutTest.testLayoutWithDatePatternFixedFormat:242->testLayoutWithDatePatternFixedFormat:273 > Incorrect date=02 Nov 2012 21:34:02,123, format=DATE, > timezone=GMT+8 ==> expected: <02 nov 2012 21:34:02,123> but was: > <02 Nov 2012 21:34:02,123> {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (LOG4J2-3019) HtmlLayoutTest.testLayoutWithDatePatternFixedFormat test fails on windows
[ https://issues.apache.org/jira/browse/LOG4J2-3019?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17284286#comment-17284286 ] Gary D. Gregory commented on LOG4J2-3019: - OK for me: {noformat} mvn test -pl log4j-core -Dtest=HtmlLayoutTest {noformat} {noformat} [INFO] --- maven-surefire-plugin:2.22.2:test (default-test) @ log4j-core --- [INFO] [INFO] --- [INFO] T E S T S [INFO] --- [INFO] Running org.apache.logging.log4j.core.layout.HtmlLayoutTest [INFO] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.199 s - in org.apache.logging.log4j.core.layout.HtmlLayoutTest [INFO] [INFO] Results: [INFO] [INFO] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0 [INFO] [INFO] [INFO] BUILD SUCCESS [INFO] [INFO] Total time: 01:15 min [INFO] Finished at: 2021-02-13T15:45:37-05:00 [INFO] {noformat} Using: {noformat} Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f) Maven home: C:\Java\apache-maven-3.6.3\bin\.. Java version: 1.8.0_261, vendor: Oracle Corporation, runtime: C:\Program Files\Java\jdk1.8.0_261\jre Default locale: en_US, platform encoding: Cp1252 OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows" {noformat} {noformat} Microsoft Windows [Version 10.0.19041.746] {noformat} {noformat} commit 9788f33fc62b3b4012489a603772433d3440e6b0 (HEAD -> release-2.x, origin/release-2.x) Author: Ralph Goers Date: Sun Feb 7 14:58:24 2021 -0700 {noformat} > HtmlLayoutTest.testLayoutWithDatePatternFixedFormat test fails on windows > - > > Key: LOG4J2-3019 > URL: https://issues.apache.org/jira/browse/LOG4J2-3019 > Project: Log4j 2 > Issue Type: Bug > Components: Core >Affects Versions: 2.14.0 > Environment: OS: Windows 10 Enterprise > Version: 20H2 > OS Build: 19042.746 > Experience: Windows Feature Experience Pack 120.2212.551.0 > java version "1.8.0_192" > Java(TM) SE Runtime Environment (build 1.8.0_192-b12) > Java HotSpot(TM) 64-Bit Server VM (build 25.192-b12, mixed mode) >Reporter: Luc Kleeven >Assignee: Volkan Yazici >Priority: Minor > > When running a './mvnw verify' on the 'release-2.x' branche, last commit id > '9788f33fc62b3b4012489a603772433d3440e6b0'. The following test fails: > {code:java} > [ERROR] > HtmlLayoutTest.testLayoutWithDatePatternFixedFormat:242->testLayoutWithDatePatternFixedFormat:273 > Incorrect date=02 Nov 2012 21:34:02,123, format=DATE, > timezone=GMT+8 ==> expected: <02 nov 2012 21:34:02,123> but was: > <02 Nov 2012 21:34:02,123> {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (LOG4J2-3019) HtmlLayoutTest.testLayoutWithDatePatternFixedFormat test fails on windows
[ https://issues.apache.org/jira/browse/LOG4J2-3019?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17282646#comment-17282646 ] Gary D. Gregory commented on LOG4J2-3019: - [~vy] I'll try to get to it tonight. > HtmlLayoutTest.testLayoutWithDatePatternFixedFormat test fails on windows > - > > Key: LOG4J2-3019 > URL: https://issues.apache.org/jira/browse/LOG4J2-3019 > Project: Log4j 2 > Issue Type: Bug > Components: Core >Affects Versions: 2.14.0 > Environment: OS: Windows 10 Enterprise > Version: 20H2 > OS Build: 19042.746 > Experience: Windows Feature Experience Pack 120.2212.551.0 > java version "1.8.0_192" > Java(TM) SE Runtime Environment (build 1.8.0_192-b12) > Java HotSpot(TM) 64-Bit Server VM (build 25.192-b12, mixed mode) >Reporter: Luc Kleeven >Assignee: Volkan Yazici >Priority: Minor > > When running a './mvnw verify' on the 'release-2.x' branche, last commit id > '9788f33fc62b3b4012489a603772433d3440e6b0'. The following test fails: > {code:java} > [ERROR] > HtmlLayoutTest.testLayoutWithDatePatternFixedFormat:242->testLayoutWithDatePatternFixedFormat:273 > Incorrect date=02 Nov 2012 21:34:02,123, format=DATE, > timezone=GMT+8 ==> expected: <02 nov 2012 21:34:02,123> but was: > <02 Nov 2012 21:34:02,123> {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (LOG4J2-3019) HtmlLayoutTest.testLayoutWithDatePatternFixedFormat test fails on windows
[ https://issues.apache.org/jira/browse/LOG4J2-3019?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17282559#comment-17282559 ] Volkan Yazici commented on LOG4J2-3019: --- [~ggregory], IIRC you had a Windows development machine. Is that correct? If so, is this something you can investigate? > HtmlLayoutTest.testLayoutWithDatePatternFixedFormat test fails on windows > - > > Key: LOG4J2-3019 > URL: https://issues.apache.org/jira/browse/LOG4J2-3019 > Project: Log4j 2 > Issue Type: Bug > Components: Core >Affects Versions: 2.14.0 > Environment: OS: Windows 10 Enterprise > Version: 20H2 > OS Build: 19042.746 > Experience: Windows Feature Experience Pack 120.2212.551.0 > java version "1.8.0_192" > Java(TM) SE Runtime Environment (build 1.8.0_192-b12) > Java HotSpot(TM) 64-Bit Server VM (build 25.192-b12, mixed mode) >Reporter: Luc Kleeven >Assignee: Volkan Yazici >Priority: Minor > > When running a './mvnw verify' on the 'release-2.x' branche, last commit id > '9788f33fc62b3b4012489a603772433d3440e6b0'. The following test fails: > {code:java} > [ERROR] > HtmlLayoutTest.testLayoutWithDatePatternFixedFormat:242->testLayoutWithDatePatternFixedFormat:273 > Incorrect date=02 Nov 2012 21:34:02,123, format=DATE, > timezone=GMT+8 ==> expected: <02 nov 2012 21:34:02,123> but was: > <02 Nov 2012 21:34:02,123> {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)