[jira] [Updated] (NIFI-9826) Test failure on Ubuntu when using C locale

2022-04-21 Thread Joe Witt (Jira)


 [ 
https://issues.apache.org/jira/browse/NIFI-9826?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joe Witt updated NIFI-9826:
---
Fix Version/s: 1.16.1

> Test failure on Ubuntu when using C locale
> --
>
> Key: NIFI-9826
> URL: https://issues.apache.org/jira/browse/NIFI-9826
> Project: Apache NiFi
>  Issue Type: Bug
> Environment: Ubuntu 20.04, openjdk-17 and openjdk-8
>Reporter: Marton Szasz
>Assignee: Paul Grey
>Priority: Minor
> Fix For: 1.17.0, 1.16.1
>
>  Time Spent: 2h 10m
>  Remaining Estimate: 0h
>
> When building NiFi, I ran into test failures:
> {code:java}
> [ERROR] Tests run: 7, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 2.689 
> s <<< FAILURE! - in org.apache.nifi.dbcp.HikariCPConnectionPoolTest
> [ERROR] org.apache.nifi.dbcp.HikariCPConnectionPoolTest.testGetConnection  
> Time elapsed: 1.113 s  <<< ERROR!
> org.apache.nifi.processor.exception.ProcessException: Connection retrieval 
> failed
> at 
> org.apache.nifi.dbcp.HikariCPConnectionPoolTest.testGetConnection(HikariCPConnectionPoolTest.java:152)
> Caused by: java.sql.SQLException: Failed to create database 
> '/tmp/HikariCPConnectionPoolTest-d9b0c324-86e6-4f15-818a-020c4de84ee2', see 
> the next exception for details.
> Caused by: org.apache.derby.iapi.error.StandardException: Failed to create 
> database 
> '/tmp/HikariCPConnectionPoolTest-d9b0c324-86e6-4f15-818a-020c4de84ee2', see 
> the next exception for details.
> Caused by: org.apache.derby.iapi.error.StandardException:
> Supplied locale description 'en_${USER.COUNTRY}' is invalid, expecting 
> ln[_CO[_variant]]
> ln=lower-case two-letter ISO-639 language code, CO=upper-case two-letter 
> ISO-3166 country codes, see java.util.Locale.
> [ERROR] 
> org.apache.nifi.dbcp.HikariCPConnectionPoolTest.testCreateInsertSelect  Time 
> elapsed: 1.019 s  <<< ERROR!
> org.apache.nifi.processor.exception.ProcessException: Connection retrieval 
> failed
> at 
> org.apache.nifi.dbcp.HikariCPConnectionPoolTest.testCreateInsertSelect(HikariCPConnectionPoolTest.java:172)
> Caused by: java.sql.SQLException: Failed to create database 
> '/tmp/HikariCPConnectionPoolTest-e933e90f-c201-46d3-88f6-74bbcec53ab6', see 
> the next exception for details.
> Caused by: org.apache.derby.iapi.error.StandardException: Failed to create 
> database 
> '/tmp/HikariCPConnectionPoolTest-e933e90f-c201-46d3-88f6-74bbcec53ab6', see 
> the next exception for details.
> Caused by: org.apache.derby.iapi.error.StandardException:
> Supplied locale description 'en_${USER.COUNTRY}' is invalid, expecting 
> ln[_CO[_variant]]
> ln=lower-case two-letter ISO-639 language code, CO=upper-case two-letter 
> ISO-3166 country codes, see java.util.Locale. {code}
>  
> My system locale was set to C.UTF-8. When changed to en_US.UTF-8, the build 
> succeeded.
> Steps to reproduce:
> {code:java}
> export LANG=C.UTF-8
> export LC_ALL=C.UTF-8
> mvn package{code}



--
This message was sent by Atlassian Jira
(v8.20.7#820007)


[jira] [Updated] (NIFI-9826) Test failure on Ubuntu when using C locale

2022-04-20 Thread David Handermann (Jira)


 [ 
https://issues.apache.org/jira/browse/NIFI-9826?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

David Handermann updated NIFI-9826:
---
Fix Version/s: 1.17.0
   Resolution: Fixed
   Status: Resolved  (was: Patch Available)

> Test failure on Ubuntu when using C locale
> --
>
> Key: NIFI-9826
> URL: https://issues.apache.org/jira/browse/NIFI-9826
> Project: Apache NiFi
>  Issue Type: Bug
> Environment: Ubuntu 20.04, openjdk-17 and openjdk-8
>Reporter: Marton Szasz
>Assignee: Paul Grey
>Priority: Minor
> Fix For: 1.17.0
>
>  Time Spent: 2h 10m
>  Remaining Estimate: 0h
>
> When building NiFi, I ran into test failures:
> {code:java}
> [ERROR] Tests run: 7, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 2.689 
> s <<< FAILURE! - in org.apache.nifi.dbcp.HikariCPConnectionPoolTest
> [ERROR] org.apache.nifi.dbcp.HikariCPConnectionPoolTest.testGetConnection  
> Time elapsed: 1.113 s  <<< ERROR!
> org.apache.nifi.processor.exception.ProcessException: Connection retrieval 
> failed
> at 
> org.apache.nifi.dbcp.HikariCPConnectionPoolTest.testGetConnection(HikariCPConnectionPoolTest.java:152)
> Caused by: java.sql.SQLException: Failed to create database 
> '/tmp/HikariCPConnectionPoolTest-d9b0c324-86e6-4f15-818a-020c4de84ee2', see 
> the next exception for details.
> Caused by: org.apache.derby.iapi.error.StandardException: Failed to create 
> database 
> '/tmp/HikariCPConnectionPoolTest-d9b0c324-86e6-4f15-818a-020c4de84ee2', see 
> the next exception for details.
> Caused by: org.apache.derby.iapi.error.StandardException:
> Supplied locale description 'en_${USER.COUNTRY}' is invalid, expecting 
> ln[_CO[_variant]]
> ln=lower-case two-letter ISO-639 language code, CO=upper-case two-letter 
> ISO-3166 country codes, see java.util.Locale.
> [ERROR] 
> org.apache.nifi.dbcp.HikariCPConnectionPoolTest.testCreateInsertSelect  Time 
> elapsed: 1.019 s  <<< ERROR!
> org.apache.nifi.processor.exception.ProcessException: Connection retrieval 
> failed
> at 
> org.apache.nifi.dbcp.HikariCPConnectionPoolTest.testCreateInsertSelect(HikariCPConnectionPoolTest.java:172)
> Caused by: java.sql.SQLException: Failed to create database 
> '/tmp/HikariCPConnectionPoolTest-e933e90f-c201-46d3-88f6-74bbcec53ab6', see 
> the next exception for details.
> Caused by: org.apache.derby.iapi.error.StandardException: Failed to create 
> database 
> '/tmp/HikariCPConnectionPoolTest-e933e90f-c201-46d3-88f6-74bbcec53ab6', see 
> the next exception for details.
> Caused by: org.apache.derby.iapi.error.StandardException:
> Supplied locale description 'en_${USER.COUNTRY}' is invalid, expecting 
> ln[_CO[_variant]]
> ln=lower-case two-letter ISO-639 language code, CO=upper-case two-letter 
> ISO-3166 country codes, see java.util.Locale. {code}
>  
> My system locale was set to C.UTF-8. When changed to en_US.UTF-8, the build 
> succeeded.
> Steps to reproduce:
> {code:java}
> export LANG=C.UTF-8
> export LC_ALL=C.UTF-8
> mvn package{code}



--
This message was sent by Atlassian Jira
(v8.20.7#820007)


[jira] [Updated] (NIFI-9826) Test failure on Ubuntu when using C locale

2022-04-19 Thread Paul Grey (Jira)


 [ 
https://issues.apache.org/jira/browse/NIFI-9826?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Paul Grey updated NIFI-9826:

Status: Patch Available  (was: In Progress)

https://github.com/apache/nifi/pull/5980

> Test failure on Ubuntu when using C locale
> --
>
> Key: NIFI-9826
> URL: https://issues.apache.org/jira/browse/NIFI-9826
> Project: Apache NiFi
>  Issue Type: Bug
> Environment: Ubuntu 20.04, openjdk-17 and openjdk-8
>Reporter: Marton Szasz
>Assignee: Paul Grey
>Priority: Minor
>  Time Spent: 40m
>  Remaining Estimate: 0h
>
> When building NiFi, I ran into test failures:
> {code:java}
> [ERROR] Tests run: 7, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 2.689 
> s <<< FAILURE! - in org.apache.nifi.dbcp.HikariCPConnectionPoolTest
> [ERROR] org.apache.nifi.dbcp.HikariCPConnectionPoolTest.testGetConnection  
> Time elapsed: 1.113 s  <<< ERROR!
> org.apache.nifi.processor.exception.ProcessException: Connection retrieval 
> failed
> at 
> org.apache.nifi.dbcp.HikariCPConnectionPoolTest.testGetConnection(HikariCPConnectionPoolTest.java:152)
> Caused by: java.sql.SQLException: Failed to create database 
> '/tmp/HikariCPConnectionPoolTest-d9b0c324-86e6-4f15-818a-020c4de84ee2', see 
> the next exception for details.
> Caused by: org.apache.derby.iapi.error.StandardException: Failed to create 
> database 
> '/tmp/HikariCPConnectionPoolTest-d9b0c324-86e6-4f15-818a-020c4de84ee2', see 
> the next exception for details.
> Caused by: org.apache.derby.iapi.error.StandardException:
> Supplied locale description 'en_${USER.COUNTRY}' is invalid, expecting 
> ln[_CO[_variant]]
> ln=lower-case two-letter ISO-639 language code, CO=upper-case two-letter 
> ISO-3166 country codes, see java.util.Locale.
> [ERROR] 
> org.apache.nifi.dbcp.HikariCPConnectionPoolTest.testCreateInsertSelect  Time 
> elapsed: 1.019 s  <<< ERROR!
> org.apache.nifi.processor.exception.ProcessException: Connection retrieval 
> failed
> at 
> org.apache.nifi.dbcp.HikariCPConnectionPoolTest.testCreateInsertSelect(HikariCPConnectionPoolTest.java:172)
> Caused by: java.sql.SQLException: Failed to create database 
> '/tmp/HikariCPConnectionPoolTest-e933e90f-c201-46d3-88f6-74bbcec53ab6', see 
> the next exception for details.
> Caused by: org.apache.derby.iapi.error.StandardException: Failed to create 
> database 
> '/tmp/HikariCPConnectionPoolTest-e933e90f-c201-46d3-88f6-74bbcec53ab6', see 
> the next exception for details.
> Caused by: org.apache.derby.iapi.error.StandardException:
> Supplied locale description 'en_${USER.COUNTRY}' is invalid, expecting 
> ln[_CO[_variant]]
> ln=lower-case two-letter ISO-639 language code, CO=upper-case two-letter 
> ISO-3166 country codes, see java.util.Locale. {code}
>  
> My system locale was set to C.UTF-8. When changed to en_US.UTF-8, the build 
> succeeded.
> Steps to reproduce:
> {code:java}
> export LANG=C.UTF-8
> export LC_ALL=C.UTF-8
> mvn package{code}



--
This message was sent by Atlassian Jira
(v8.20.7#820007)


[jira] [Updated] (NIFI-9826) Test failure on Ubuntu when using C locale

2022-03-23 Thread Marton Szasz (Jira)


 [ 
https://issues.apache.org/jira/browse/NIFI-9826?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Marton Szasz updated NIFI-9826:
---
Description: 
When building NiFi, I ran into test failures:
{code:java}
[ERROR] Tests run: 7, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 2.689 s 
<<< FAILURE! - in org.apache.nifi.dbcp.HikariCPConnectionPoolTest
[ERROR] org.apache.nifi.dbcp.HikariCPConnectionPoolTest.testGetConnection  Time 
elapsed: 1.113 s  <<< ERROR!
org.apache.nifi.processor.exception.ProcessException: Connection retrieval 
failed
at 
org.apache.nifi.dbcp.HikariCPConnectionPoolTest.testGetConnection(HikariCPConnectionPoolTest.java:152)
Caused by: java.sql.SQLException: Failed to create database 
'/tmp/HikariCPConnectionPoolTest-d9b0c324-86e6-4f15-818a-020c4de84ee2', see the 
next exception for details.
Caused by: org.apache.derby.iapi.error.StandardException: Failed to create 
database 
'/tmp/HikariCPConnectionPoolTest-d9b0c324-86e6-4f15-818a-020c4de84ee2', see the 
next exception for details.
Caused by: org.apache.derby.iapi.error.StandardException:
Supplied locale description 'en_${USER.COUNTRY}' is invalid, expecting 
ln[_CO[_variant]]
ln=lower-case two-letter ISO-639 language code, CO=upper-case two-letter 
ISO-3166 country codes, see java.util.Locale.

[ERROR] org.apache.nifi.dbcp.HikariCPConnectionPoolTest.testCreateInsertSelect  
Time elapsed: 1.019 s  <<< ERROR!
org.apache.nifi.processor.exception.ProcessException: Connection retrieval 
failed
at 
org.apache.nifi.dbcp.HikariCPConnectionPoolTest.testCreateInsertSelect(HikariCPConnectionPoolTest.java:172)
Caused by: java.sql.SQLException: Failed to create database 
'/tmp/HikariCPConnectionPoolTest-e933e90f-c201-46d3-88f6-74bbcec53ab6', see the 
next exception for details.
Caused by: org.apache.derby.iapi.error.StandardException: Failed to create 
database 
'/tmp/HikariCPConnectionPoolTest-e933e90f-c201-46d3-88f6-74bbcec53ab6', see the 
next exception for details.
Caused by: org.apache.derby.iapi.error.StandardException:
Supplied locale description 'en_${USER.COUNTRY}' is invalid, expecting 
ln[_CO[_variant]]
ln=lower-case two-letter ISO-639 language code, CO=upper-case two-letter 
ISO-3166 country codes, see java.util.Locale. {code}
 

My system locale was set to C.UTF-8. When changed to en_US.UTF-8, the build 
succeeded.

Steps to reproduce:
{code:java}
export LANG=C.UTF-8
export LC_ALL=C.UTF-8
mvn package{code}

  was:
When building NiFi, I ran into test failures:


{code:java}
[ERROR] Tests run: 7, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 2.689 s 
<<< FAILURE! - in org.apache.nifi.dbcp.HikariCPConnectionPoolTest
[ERROR] org.apache.nifi.dbcp.HikariCPConnectionPoolTest.testGetConnection Time 
elapsed: 1.113 s <<< ERROR!
org.apache.nifi.processor.exception.ProcessException: Connection retrieval 
failed
at 
org.apache.nifi.dbcp.HikariCPConnectionPoolTest.testGetConnection(HikariCPConnectionPoolTest.java:152)
Caused by: java.sql.SQLException: Failed to create database 
'/tmp/HikariCPConnectionPoolTest-d9b0c324-86e6-4f15-818a-020c4de84ee2', see the 
next exception for details.
Caused by: org.apache.derby.iapi.error.StandardException: Failed to create 
database 
'/tmp/HikariCPConnectionPoolTest-d9b0c324-86e6-4f15-818a-020c4de84ee2', see the 
next exception for details.
Caused by: org.apache.derby.iapi.error.StandardException:
Supplied locale description 'en_${USER.COUNTRY}' is invalid, expecting 
ln[_CO[_variant]]
ln=lower-case two-letter ISO-639 language code, CO=upper-case two-letter 
ISO-3166 country codes, see java.util.Locale.
[ERROR] org.apache.nifi.dbcp.HikariCPConnectionPoolTest.testCreateInsertSelect 
Time elapsed: 1.019 s <<< ERROR!
org.apache.nifi.processor.exception.ProcessException: Connection retrieval 
failed
at 
org.apache.nifi.dbcp.HikariCPConnectionPoolTest.testCreateInsertSelect(HikariCPConnectionPoolTest.java:172)
Caused by: java.sql.SQLException: Failed to create database 
'/tmp/HikariCPConnectionPoolTest-e933e90f-c201-46d3-88f6-74bbcec53ab6', see the 
next exception for details.
Caused by: org.apache.derby.iapi.error.StandardException: Failed to create 
database 
'/tmp/HikariCPConnectionPoolTest-e933e90f-c201-46d3-88f6-74bbcec53ab6', see the 
next exception for details.
Caused by: org.apache.derby.iapi.error.StandardException:
Supplied locale description 'en_${USER.COUNTRY}' is invalid, expecting 
ln[_CO[_variant]]
ln=lower-case two-letter ISO-639 language code, CO=upper-case two-letter 
ISO-3166 country codes, see java.util.Locale.
{code}
 

My system locale was set to C.UTF-8. When changed to en_US.UTF-8, the build 
succeeded.

Steps to reproduce:
{code:java}
export LANG=C.UTF-8
export LC_ALL=C.UTF-8
mvn package{code}


> Test failure on Ubuntu when using C locale
> --
>
> Key: NIFI-9826
> URL: https://issues.apache.org/jira/browse/NIFI-9826
> Project: 

[jira] [Updated] (NIFI-9826) Test failure on Ubuntu when using C locale

2022-03-23 Thread Marton Szasz (Jira)


 [ 
https://issues.apache.org/jira/browse/NIFI-9826?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Marton Szasz updated NIFI-9826:
---
Description: 
When building NiFi, I ran into test failures:


{code:java}
[ERROR] Tests run: 7, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 2.689 s 
<<< FAILURE! - in org.apache.nifi.dbcp.HikariCPConnectionPoolTest
[ERROR] org.apache.nifi.dbcp.HikariCPConnectionPoolTest.testGetConnection Time 
elapsed: 1.113 s <<< ERROR!
org.apache.nifi.processor.exception.ProcessException: Connection retrieval 
failed
at 
org.apache.nifi.dbcp.HikariCPConnectionPoolTest.testGetConnection(HikariCPConnectionPoolTest.java:152)
Caused by: java.sql.SQLException: Failed to create database 
'/tmp/HikariCPConnectionPoolTest-d9b0c324-86e6-4f15-818a-020c4de84ee2', see the 
next exception for details.
Caused by: org.apache.derby.iapi.error.StandardException: Failed to create 
database 
'/tmp/HikariCPConnectionPoolTest-d9b0c324-86e6-4f15-818a-020c4de84ee2', see the 
next exception for details.
Caused by: org.apache.derby.iapi.error.StandardException:
Supplied locale description 'en_${USER.COUNTRY}' is invalid, expecting 
ln[_CO[_variant]]
ln=lower-case two-letter ISO-639 language code, CO=upper-case two-letter 
ISO-3166 country codes, see java.util.Locale.
[ERROR] org.apache.nifi.dbcp.HikariCPConnectionPoolTest.testCreateInsertSelect 
Time elapsed: 1.019 s <<< ERROR!
org.apache.nifi.processor.exception.ProcessException: Connection retrieval 
failed
at 
org.apache.nifi.dbcp.HikariCPConnectionPoolTest.testCreateInsertSelect(HikariCPConnectionPoolTest.java:172)
Caused by: java.sql.SQLException: Failed to create database 
'/tmp/HikariCPConnectionPoolTest-e933e90f-c201-46d3-88f6-74bbcec53ab6', see the 
next exception for details.
Caused by: org.apache.derby.iapi.error.StandardException: Failed to create 
database 
'/tmp/HikariCPConnectionPoolTest-e933e90f-c201-46d3-88f6-74bbcec53ab6', see the 
next exception for details.
Caused by: org.apache.derby.iapi.error.StandardException:
Supplied locale description 'en_${USER.COUNTRY}' is invalid, expecting 
ln[_CO[_variant]]
ln=lower-case two-letter ISO-639 language code, CO=upper-case two-letter 
ISO-3166 country codes, see java.util.Locale.
{code}
 

My system locale was set to C.UTF-8. When changed to en_US.UTF-8, the build 
succeeded.

Steps to reproduce:
{code:java}
export LANG=C.UTF-8
export LC_ALL=C.UTF-8
mvn package{code}

  was:
When building NiFi, I ran into test failures:
```
[ERROR] Tests run: 7, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 2.689 s 
<<< FAILURE! - in org.apache.nifi.dbcp.HikariCPConnectionPoolTest
[ERROR] org.apache.nifi.dbcp.HikariCPConnectionPoolTest.testGetConnection  Time 
elapsed: 1.113 s  <<< ERROR!
org.apache.nifi.processor.exception.ProcessException: Connection retrieval 
failed
at 
org.apache.nifi.dbcp.HikariCPConnectionPoolTest.testGetConnection(HikariCPConnectionPoolTest.java:152)
Caused by: java.sql.SQLException: Failed to create database 
'/tmp/HikariCPConnectionPoolTest-d9b0c324-86e6-4f15-818a-020c4de84ee2', see the 
next exception for details.
Caused by: org.apache.derby.iapi.error.StandardException: Failed to create 
database 
'/tmp/HikariCPConnectionPoolTest-d9b0c324-86e6-4f15-818a-020c4de84ee2', see the 
next exception for details.
Caused by: org.apache.derby.iapi.error.StandardException:
Supplied locale description 'en_${USER.COUNTRY}' is invalid, expecting 
ln[_CO[_variant]]
ln=lower-case two-letter ISO-639 language code, CO=upper-case two-letter 
ISO-3166 country codes, see java.util.Locale.

[ERROR] org.apache.nifi.dbcp.HikariCPConnectionPoolTest.testCreateInsertSelect  
Time elapsed: 1.019 s  <<< ERROR!
org.apache.nifi.processor.exception.ProcessException: Connection retrieval 
failed
at 
org.apache.nifi.dbcp.HikariCPConnectionPoolTest.testCreateInsertSelect(HikariCPConnectionPoolTest.java:172)
Caused by: java.sql.SQLException: Failed to create database 
'/tmp/HikariCPConnectionPoolTest-e933e90f-c201-46d3-88f6-74bbcec53ab6', see the 
next exception for details.
Caused by: org.apache.derby.iapi.error.StandardException: Failed to create 
database 
'/tmp/HikariCPConnectionPoolTest-e933e90f-c201-46d3-88f6-74bbcec53ab6', see the 
next exception for details.
Caused by: org.apache.derby.iapi.error.StandardException:
Supplied locale description 'en_${USER.COUNTRY}' is invalid, expecting 
ln[_CO[_variant]]
ln=lower-case two-letter ISO-639 language code, CO=upper-case two-letter 
ISO-3166 country codes, see java.util.Locale.
```

My system locale was set to C.UTF-8. When changed to en_US.UTF-8, the build 
succeeded.

Steps to reproduce:
```
export LANG=C.UTF-8
export LC_ALL=C.UTF-8
mvn package
```


> Test failure on Ubuntu when using C locale
> --
>
> Key: NIFI-9826
> URL: https://issues.apache.org/jira/browse/NIFI-9826
> Project: Apache NiFi
>