[
https://issues.apache.org/jira/browse/NIFI-7660?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17161483#comment-17161483
]
Andy LoPresto commented on NIFI-7660:
-------------------------------------
I can't reproduce this locally. I'm wondering what would have changed on the
CI/CD build machine recently other than the Java version.
{code}
..orkspace/nifi NIFI-7660 mvn clean install -Pcontrib-check
-Pavoid-archive-formats -Dsurefire.skipAfterFailureCount=1 -Pinclude-grpc
...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 46:29 min
[INFO] Finished at: 2020-07-20T12:19:41-07:00
[INFO] ------------------------------------------------------------------------
..orkspace/nifi NIFI-7660 java -version
12:19:42
openjdk version "1.8.0_262"
OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0_262-b10)
OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.262-b10, mixed mode)
..orkspace/nifi NIFI-7660 mvn -v
12:20:11
Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
Maven home: /usr/local/Cellar/maven/3.6.3_1/libexec
Java version: 1.8.0_262, vendor: AdoptOpenJDK, runtime:
/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "10.15.6", arch: "x86_64", family: "mac"
..orkspace/nifi NIFI-7660
{code}
> Change of Exception with latest Java 8
> --------------------------------------
>
> Key: NIFI-7660
> URL: https://issues.apache.org/jira/browse/NIFI-7660
> Project: Apache NiFi
> Issue Type: Bug
> Components: Tools and Build
> Environment: Apache Maven 3.6.3
> (cecedd343002696d0abb50b32b541b8a6ba2883f)
> Maven home: /usr/local/Cellar/maven/3.6.3_1/libexec
> Java version: 1.8.0_262, vendor: Azul Systems, Inc., runtime:
> /Users/runner/hostedtoolcache/jdk/8.0.262/x64/jre
> Default locale: en_JP, platform encoding: UTF-8
> OS name: "mac os x", version: "10.15.5", arch: "x86_64", family: "mac"
> Reporter: Pierre Villard
> Assignee: Andy LoPresto
> Priority: Major
> Fix For: 1.12.0
>
>
> {code:java}
> [ERROR] Tests run: 8, Failures: 1, Errors: 0, Skipped: 1, Time elapsed: 1.083
> s <<< FAILURE! - in org.apache.nifi.web.server.JettyServerGroovyTest
> 2231[ERROR]
> testShouldNotSupportTLSv1_3OnJava8(org.apache.nifi.web.server.JettyServerGroovyTest)
> Time elapsed: 0.689 s <<< FAILURE!
> 2232java.lang.AssertionError: Closure
> org.apache.nifi.web.server.JettyServerGroovyTest$_testShouldNotSupportTLSv1_3OnJava8_closure17@42435b98
> should have failed with an exception of type
> java.lang.IllegalArgumentException, instead got Exception
> javax.net.ssl.SSLHandshakeException: Received fatal alert: protocol_version
> 2233 at
> org.apache.nifi.web.server.JettyServerGroovyTest.testShouldNotSupportTLSv1_3OnJava8(JettyServerGroovyTest.groovy:322)
> 2234
> 2235[ERROR] Failures:
> 2236[ERROR]
> JettyServerGroovyTest.testShouldNotSupportTLSv1_3OnJava8:322->GroovyTestCase.shouldFail:221
> Closure
> org.apache.nifi.web.server.JettyServerGroovyTest$_testShouldNotSupportTLSv1_3OnJava8_closure17@42435b98
> should have failed with an exception of type
> java.lang.IllegalArgumentException, instead got Exception
> javax.net.ssl.SSLHandshakeException: Received fatal alert: protocol_version
> 2237[ERROR] Tests run: 22, Failures: 1, Errors: 0, Skipped: 1
> 2238[ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test (default-test) on
> project nifi-jetty: There are test failures.
> 2239[ERROR]
> 2240[ERROR] Please refer to
> /home/runner/work/nifi/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-jetty/target/surefire-reports
> for the individual test results.
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)