RFR: 8272358: Some tests may fail when executed with other locales than the US

Jie Fu jiefu at openjdk.java.net
Sat Sep 25 03:26:53 UTC 2021


On Sat, 25 Sep 2021 03:10:30 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:

> These are the only tests reported in Fr and Ru locales in t1/t2/t3. Are you sure that 1500 failures are caused by the tests issues and not a problem in JDK?

If I test with `JTREG="VM_OPTIONS=-Duser.language=en -Duser.country=US"`, most of the failures would disappear.

make test  TEST="tier1 tier2 tier3" with your patch

==============================
Test summary
==============================
   TEST                                              TOTAL  PASS  FAIL ERROR
>> jtreg:test/hotspot/jtreg:tier1                     1810  1809     1     0 <<
>> jtreg:test/jdk:tier1                               2069  2065     4     0 <<
>> jtreg:test/langtools:tier1                         4238  2643  1593     2 <<
   jtreg:test/jaxp:tier1                                 0     0     0     0
   jtreg:test/lib-test:tier1                             0     0     0     0
   jtreg:test/hotspot/jtreg:tier2                      444   444     0     0
>> jtreg:test/jdk:tier2                               3765  3727    38     0 <<
>> jtreg:test/langtools:tier2                           12    10     2     0 <<
>> jtreg:test/jaxp:tier2                               452   449     3     0 <<
   jtreg:test/hotspot/jtreg:tier3                       85    85     0     0
   jtreg:test/jdk:tier3                                174   174     0     0
   jtreg:test/langtools:tier3                            0     0     0     0
   jtreg:test/jaxp:tier3                                 0     0     0     0
==============================
TEST FAILURE


------

make test JTREG="VM_OPTIONS=-Duser.language=en -Duser.country=US" TEST="tier1 tier2 tier3" with your patch

==============================
Test summary
==============================
   TEST                                              TOTAL  PASS  FAIL ERROR
>> jtreg:test/hotspot/jtreg:tier1                     1810  1809     1     0 <<
   jtreg:test/jdk:tier1                               2069  2069     0     0
>> jtreg:test/langtools:tier1                         4238  4230     8     0 <<
   jtreg:test/jaxp:tier1                                 0     0     0     0
   jtreg:test/lib-test:tier1                             0     0     0     0
   jtreg:test/hotspot/jtreg:tier2                      444   444     0     0
>> jtreg:test/jdk:tier2                               3765  3747    18     0 <<
   jtreg:test/langtools:tier2                           12    12     0     0
>> jtreg:test/jaxp:tier2                               452   451     1     0 <<
   jtreg:test/hotspot/jtreg:tier3                       85    85     0     0   
   jtreg:test/jdk:tier3                                174   174     0     0
   jtreg:test/langtools:tier3                            0     0     0     0
   jtreg:test/jaxp:tier3                                 0     0     0     0
==============================
TEST FAILURE

-------------

PR: https://git.openjdk.java.net/jdk/pull/5098


More information about the compiler-dev mailing list