Hi Mark, I just worked on these areas and those tests were passing successfully for me on Mac OS X 10.15.5 with OpenJDK 11.0.6 and Maven 3.6.3. They also passed on the GitHub Actions builds using Java 11. Do you have any custom DNS configurations or certificates imported in your OS keystore which might be affecting this?
Andy LoPresto alopre...@apache.org alopresto.apa...@gmail.com He/Him PGP Fingerprint: 70EC B3E5 98A6 5A3F D3C4 BACE 3C6E F65B 2F7D EF69 > On Jun 10, 2020, at 10:22 AM, Mark Bean <mark.o.b...@gmail.com> wrote: > > I am attempting to build master (01e42dfb) using Java 11, but getting test > failures. It builds fine with Java 8. There are two failing tests with > stack traces shown below. > > Anyone else experiencing similar issues? Or, are there suggestions on what > might be the problem? > > MacOS10.15.5 > openjdk-11.0.2 > Maven 3.6.3 > > [ERROR] > testSendSuccessHTTPS(org.apache.nifi.remote.client.http.TestHttpClient) > Time elapsed: 0.092 s <<< ERROR! > > java.io.IOException: Failed to complete transaction with Peer[url= > https://localhost:62046/nifi-api] due to java.io.IOException: [Url= > https://localhost:62046/nifi-api, TransferDirection=SEND, > State=TRANSACTION_CONFIRMED] Failed to receive a response from Peer[url= > https://localhost:62046/nifi-api] when expecting a TransactionFinished > Indicator. It is unknown whether or not the peer successfully > received/processed the data. javax.net.ssl.SSLPeerUnverifiedException: peer > not authenticated > > at > org.apache.nifi.remote.client.http.TestHttpClient.testSendIgnoreProxyError(TestHttpClient.java:931) > > at > org.apache.nifi.remote.client.http.TestHttpClient.testSend(TestHttpClient.java:789) > > at > org.apache.nifi.remote.client.http.TestHttpClient.testSendSuccessHTTPS(TestHttpClient.java:905) > > Caused by: java.io.IOException: [Url=https://localhost:62046/nifi-api, > TransferDirection=SEND, State=TRANSACTION_CONFIRMED] Failed to receive a > response from Peer[url=https://localhost:62046/nifi-api] when expecting a > TransactionFinished Indicator. It is unknown whether or not the peer > successfully received/processed the data. > javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated > > at > org.apache.nifi.remote.client.http.TestHttpClient.testSendIgnoreProxyError(TestHttpClient.java:931) > > at > org.apache.nifi.remote.client.http.TestHttpClient.testSend(TestHttpClient.java:789) > > at > org.apache.nifi.remote.client.http.TestHttpClient.testSendSuccessHTTPS(TestHttpClient.java:905) > > Caused by: javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated > > at > org.apache.nifi.remote.client.http.TestHttpClient.testSendIgnoreProxyError(TestHttpClient.java:931) > > at > org.apache.nifi.remote.client.http.TestHttpClient.testSend(TestHttpClient.java:789) > > at > org.apache.nifi.remote.client.http.TestHttpClient.testSendSuccessHTTPS(TestHttpClient.java:905) > > > [ERROR] > testSendLargeFileHTTPS(org.apache.nifi.remote.client.http.TestHttpClient) > Time elapsed: 0.068 s <<< ERROR! > > java.io.IOException: Failed to complete transaction with Peer[url= > https://localhost:62046/nifi-api] due to java.io.IOException: [Url= > https://localhost:62046/nifi-api, TransferDirection=SEND, > State=TRANSACTION_CONFIRMED] Failed to receive a response from Peer[url= > https://localhost:62046/nifi-api] when expecting a TransactionFinished > Indicator. It is unknown whether or not the peer successfully > received/processed the data. javax.net.ssl.SSLPeerUnverifiedException: peer > not authenticated > > at > org.apache.nifi.remote.client.http.TestHttpClient.testSendIgnoreProxyError(TestHttpClient.java:931) > > at > org.apache.nifi.remote.client.http.TestHttpClient.testSendLargeFile(TestHttpClient.java:944) > > at > org.apache.nifi.remote.client.http.TestHttpClient.testSendLargeFileHTTPS(TestHttpClient.java:1014) > > Caused by: java.io.IOException: [Url=https://localhost:62046/nifi-api, > TransferDirection=SEND, State=TRANSACTION_CONFIRMED] Failed to receive a > response from Peer[url=https://localhost:62046/nifi-api] when expecting a > TransactionFinished Indicator. It is unknown whether or not the peer > successfully received/processed the data. > javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated > > at > org.apache.nifi.remote.client.http.TestHttpClient.testSendIgnoreProxyError(TestHttpClient.java:931) > > at > org.apache.nifi.remote.client.http.TestHttpClient.testSendLargeFile(TestHttpClient.java:944) > > at > org.apache.nifi.remote.client.http.TestHttpClient.testSendLargeFileHTTPS(TestHttpClient.java:1014) > > Caused by: javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated > > at > org.apache.nifi.remote.client.http.TestHttpClient.testSendIgnoreProxyError(TestHttpClient.java:931) > > at > org.apache.nifi.remote.client.http.TestHttpClient.testSendLargeFile(TestHttpClient.java:944) > > at > org.apache.nifi.remote.client.http.TestHttpClient.testSendLargeFileHTTPS(TestHttpClient.java:1014)