[
https://issues.apache.org/jira/browse/NIFI-8304?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
David Handermann reopened NIFI-8304:
------------------------------------
After three successful GitHub CI runs across all environments, JDK 11 failed
after the merge to main on {{TestListenHTTP}}. Replacing HttpsURLConnection
with OkHttpClient may provide more consistent results in the test class.
{quote}javax.net.ssl.SSLException: arraycopy: last source index 32 out of
bounds for byte[31]
at
org.apache.nifi.processors.standard.TestListenHTTP.postMessage(TestListenHTTP.java:488)
at
org.apache.nifi.processors.standard.TestListenHTTP.startWebServerAndSendMessages(TestListenHTTP.java:555)
at
org.apache.nifi.processors.standard.TestListenHTTP.testPOSTRequestsReceived(TestListenHTTP.java:509)
at
org.apache.nifi.processors.standard.TestListenHTTP.testSecurePOSTRequestsReceivedWithEL(TestListenHTTP.java:277)
Caused by: java.lang.ArrayIndexOutOfBoundsException: arraycopy: last source
index 32 out of bounds for byte[31]
at
org.apache.nifi.processors.standard.TestListenHTTP.postMessage(TestListenHTTP.java:488)
at
org.apache.nifi.processors.standard.TestListenHTTP.startWebServerAndSendMessages(TestListenHTTP.java:555)
at
org.apache.nifi.processors.standard.TestListenHTTP.testPOSTRequestsReceived(TestListenHTTP.java:509)
at
org.apache.nifi.processors.standard.TestListenHTTP.testSecurePOSTRequestsReceivedWithEL(TestListenHTTP.java:277)
{quote}
> Improve reliability of TLS unit tests
> -------------------------------------
>
> Key: NIFI-8304
> URL: https://issues.apache.org/jira/browse/NIFI-8304
> Project: Apache NiFi
> Issue Type: Bug
> Components: Tools and Build
> Affects Versions: 1.13.0
> Reporter: David Handermann
> Assignee: David Handermann
> Priority: Major
> Fix For: 1.14.0
>
> Time Spent: 4h 10m
> Remaining Estimate: 0h
>
> Automated unit test execution through the GitHub CI runner fails periodically
> on unit tests for InvokeHTTP and PutTCP where TLS is being used for socket
> communication. These unit tests should be evaluated and modified to improve
> reliability and reduce the potential for timeouts.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)