[Bug 2131075] [NEW] jtreg: java/time/format/TestUTCFormat.java fails on LP builders
Pushkar Kulkarni
2131075 at bugs.launchpad.net
Tue Nov 11 12:34:05 UTC 2025
Public bug reported:
The test java/time/format/TestUTCFormat.java fails with LANG=C.UTF8
LC_ALL=C.UTF8 as set by [1]. The test fails on jj, nn, pp, qq and rr. It
does not fail on bb, cc because C.UTF8 is not recognized by the glibc
version on these Ubuntu versions.
---
test test.java.time.format.TestUTCParse.testUTCOffsetRoundTrip("UTC"): success [3ms]
test test.java.time.format.TestUTCParse.testUTCOffsetRoundTrip("UTC+01:30"): success [0ms]
test test.java.time.format.TestUTCParse.testUTCOffsetRoundTrip("UTC-01:30"): success [0ms]
test test.java.time.format.TestUTCParse.testUTCShortNameRoundTrip(): failure [13ms]
java.lang.AssertionError: expected [UTC−08:00] but found [PST]
at org.testng.Assert.fail(Assert.java:110)
at org.testng.Assert.failNotEquals(Assert.java:1413)
at org.testng.Assert.assertEqualsImpl(Assert.java:149)
at org.testng.Assert.assertEquals(Assert.java:131)
at org.testng.Assert.assertEquals(Assert.java:655)
at org.testng.Assert.assertEquals(Assert.java:665)
at test.java.time.format.TestUTCParse.testUTCShortNameRoundTrip(TestUTCParse.java:65)
---
[1] https://salsa.debian.org/openjdk-
team/openjdk/-/blob/openjdk-11/debian/tests/jtreg-
autopkgtest.sh?ref_type=heads#L101
** Affects: openjdk-lts (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to openjdk-lts in Ubuntu.
https://bugs.launchpad.net/bugs/2131075
Title:
jtreg: java/time/format/TestUTCFormat.java fails on LP builders
Status in openjdk-lts package in Ubuntu:
New
Bug description:
The test java/time/format/TestUTCFormat.java fails with LANG=C.UTF8
LC_ALL=C.UTF8 as set by [1]. The test fails on jj, nn, pp, qq and rr.
It does not fail on bb, cc because C.UTF8 is not recognized by the
glibc version on these Ubuntu versions.
---
test test.java.time.format.TestUTCParse.testUTCOffsetRoundTrip("UTC"): success [3ms]
test test.java.time.format.TestUTCParse.testUTCOffsetRoundTrip("UTC+01:30"): success [0ms]
test test.java.time.format.TestUTCParse.testUTCOffsetRoundTrip("UTC-01:30"): success [0ms]
test test.java.time.format.TestUTCParse.testUTCShortNameRoundTrip(): failure [13ms]
java.lang.AssertionError: expected [UTC−08:00] but found [PST]
at org.testng.Assert.fail(Assert.java:110)
at org.testng.Assert.failNotEquals(Assert.java:1413)
at org.testng.Assert.assertEqualsImpl(Assert.java:149)
at org.testng.Assert.assertEquals(Assert.java:131)
at org.testng.Assert.assertEquals(Assert.java:655)
at org.testng.Assert.assertEquals(Assert.java:665)
at test.java.time.format.TestUTCParse.testUTCShortNameRoundTrip(TestUTCParse.java:65)
---
[1] https://salsa.debian.org/openjdk-
team/openjdk/-/blob/openjdk-11/debian/tests/jtreg-
autopkgtest.sh?ref_type=heads#L101
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openjdk-lts/+bug/2131075/+subscriptions
More information about the foundations-bugs
mailing list