You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gary D. Gregory (Jira)" <ji...@apache.org> on 2023/05/25 17:25:00 UTC
[jira] [Commented] (NET-720) Version 3.8.0 tests failed with OpenJDK 8
[ https://issues.apache.org/jira/browse/NET-720?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17726330#comment-17726330 ]
Gary D. Gregory commented on NET-720:
-------------------------------------
Hi [~fmhwong]
I'm guessing that Java removed protocols from the JDK/JRE used by those tests. You can compare with git master. I see errors with the 3.8.0 tag as well.
The 3.9.0 tag builds for me with Java 1.8.0_372 on Windows 10. We must have updated certificates or some TLS setting since 3.8.0 to account for this change in Java.
> Version 3.8.0 tests failed with OpenJDK 8
> -----------------------------------------
>
> Key: NET-720
> URL: https://issues.apache.org/jira/browse/NET-720
> Project: Commons Net
> Issue Type: Bug
> Affects Versions: 3.8.0
> Environment: Red Hat Enterprise Linux release 8.8 (Ootpa)
> openjdk version "1.8.0_372"
> OpenJDK Runtime Environment (build 1.8.0_372-b07)
> OpenJDK 64-Bit Server VM (build 25.372-b07, mixed mode)
> Reporter: Felix Wong
> Priority: Minor
>
> When I checked out tag rel/commons-net-3.8.0 and run "mvn clean install", I got the following failures.
>
> [ERROR] Tests run: 16, Failures: 0, Errors: 16, Skipped: 0, Time elapsed: 0.363 s <<< FAILURE! - in org.apache.commons.net.ftp.FTPSClientTest
> [ERROR] testOpenClose[endpointCheckingEnabled=false](org.apache.commons.net.ftp.FTPSClientTest) Time elapsed: 0.061 s <<< ERROR!
> javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate)
> at org.apache.commons.net.ftp.FTPSClientTest.loginClient(FTPSClientTest.java:177)
> at org.apache.commons.net.ftp.FTPSClientTest.testOpenClose(FTPSClientTest.java:282)
> [ERROR] testRetrieveFilePathNameRoot[endpointCheckingEnabled=false](org.apache.commons.net.ftp.FTPSClientTest) Time elapsed: 0.005 s <<< ERROR!
> javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate)
> at org.apache.commons.net.ftp.FTPSClientTest.loginClient(FTPSClientTest.java:177)
> at org.apache.commons.net.ftp.FTPSClientTest.retrieveFile(FTPSClientTest.java:196)
> at org.apache.commons.net.ftp.FTPSClientTest.testRetrieveFilePathNameRoot(FTPSClientTest.java:293)
> [ERROR] testListFilesPathNameJunk[endpointCheckingEnabled=false](org.apache.commons.net.ftp.FTPSClientTest) Time elapsed: 0.014 s <<< ERROR!
> javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate)
> at org.apache.commons.net.ftp.FTPSClientTest.loginClient(FTPSClientTest.java:177)
> at org.apache.commons.net.ftp.FTPSClientTest.testListFiles(FTPSClientTest.java:213)
> at org.apache.commons.net.ftp.FTPSClientTest.testListFilesPathNameJunk(FTPSClientTest.java:230)
> [ERROR] testListFilesPathNameNull[endpointCheckingEnabled=false](org.apache.commons.net.ftp.FTPSClientTest) Time elapsed: 0.004 s <<< ERROR!
> javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate)
> at org.apache.commons.net.ftp.FTPSClientTest.loginClient(FTPSClientTest.java:177)
> at org.apache.commons.net.ftp.FTPSClientTest.testListFiles(FTPSClientTest.java:213)
> at org.apache.commons.net.ftp.FTPSClientTest.testListFilesPathNameNull(FTPSClientTest.java:235)
> [ERROR] testListFilesPathNameRoot[endpointCheckingEnabled=false](org.apache.commons.net.ftp.FTPSClientTest) Time elapsed: 0.005 s <<< ERROR!
> javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate)
> at org.apache.commons.net.ftp.FTPSClientTest.loginClient(FTPSClientTest.java:177)
> at org.apache.commons.net.ftp.FTPSClientTest.testListFiles(FTPSClientTest.java:213)
> at org.apache.commons.net.ftp.FTPSClientTest.testListFilesPathNameRoot(FTPSClientTest.java:240)
> [ERROR] testListFilesPathNameEmpty[endpointCheckingEnabled=false](org.apache.commons.net.ftp.FTPSClientTest) Time elapsed: 0.004 s <<< ERROR!
> javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate)
> at org.apache.commons.net.ftp.FTPSClientTest.loginClient(FTPSClientTest.java:177)
> at org.apache.commons.net.ftp.FTPSClientTest.testListFiles(FTPSClientTest.java:213)
> at org.apache.commons.net.ftp.FTPSClientTest.testListFilesPathNameEmpty(FTPSClientTest.java:225)
> [ERROR] testHasFeature[endpointCheckingEnabled=false](org.apache.commons.net.ftp.FTPSClientTest) Time elapsed: 0.004 s <<< ERROR!
> javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate)
> at org.apache.commons.net.ftp.FTPSClientTest.loginClient(FTPSClientTest.java:177)
> at org.apache.commons.net.ftp.FTPSClientTest.testHasFeature(FTPSClientTest.java:209)
> [ERROR] testMdtmCalendar[endpointCheckingEnabled=false](org.apache.commons.net.ftp.FTPSClientTest) Time elapsed: 0.004 s <<< ERROR!
> javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate)
> at org.apache.commons.net.ftp.FTPSClientTest.loginClient(FTPSClientTest.java:177)
> at org.apache.commons.net.ftp.FTPSClientTest.testMdtmCalendar(FTPSClientTest.java:249)
> at org.apache.commons.net.ftp.FTPSClientTest.testMdtmCalendar(FTPSClientTest.java:245)
> [ERROR] testOpenClose[endpointCheckingEnabled=true](org.apache.commons.net.ftp.FTPSClientTest) Time elapsed: 0.005 s <<< ERROR!
> javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate)
> at org.apache.commons.net.ftp.FTPSClientTest.loginClient(FTPSClientTest.java:177)
> at org.apache.commons.net.ftp.FTPSClientTest.testOpenClose(FTPSClientTest.java:282)
> [ERROR] testRetrieveFilePathNameRoot[endpointCheckingEnabled=true](org.apache.commons.net.ftp.FTPSClientTest) Time elapsed: 0.005 s <<< ERROR!
> javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate)
> at org.apache.commons.net.ftp.FTPSClientTest.loginClient(FTPSClientTest.java:177)
> at org.apache.commons.net.ftp.FTPSClientTest.retrieveFile(FTPSClientTest.java:196)
> at org.apache.commons.net.ftp.FTPSClientTest.testRetrieveFilePathNameRoot(FTPSClientTest.java:293)
> [ERROR] testListFilesPathNameJunk[endpointCheckingEnabled=true](org.apache.commons.net.ftp.FTPSClientTest) Time elapsed: 0.005 s <<< ERROR!
> javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate)
> at org.apache.commons.net.ftp.FTPSClientTest.loginClient(FTPSClientTest.java:177)
> at org.apache.commons.net.ftp.FTPSClientTest.testListFiles(FTPSClientTest.java:213)
> at org.apache.commons.net.ftp.FTPSClientTest.testListFilesPathNameJunk(FTPSClientTest.java:230)
> [ERROR] testListFilesPathNameNull[endpointCheckingEnabled=true](org.apache.commons.net.ftp.FTPSClientTest) Time elapsed: 0.004 s <<< ERROR!
> javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate)
> at org.apache.commons.net.ftp.FTPSClientTest.loginClient(FTPSClientTest.java:177)
> at org.apache.commons.net.ftp.FTPSClientTest.testListFiles(FTPSClientTest.java:213)
> at org.apache.commons.net.ftp.FTPSClientTest.testListFilesPathNameNull(FTPSClientTest.java:235)
> [ERROR] testListFilesPathNameRoot[endpointCheckingEnabled=true](org.apache.commons.net.ftp.FTPSClientTest) Time elapsed: 0.006 s <<< ERROR!
> javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate)
> at org.apache.commons.net.ftp.FTPSClientTest.loginClient(FTPSClientTest.java:177)
> at org.apache.commons.net.ftp.FTPSClientTest.testListFiles(FTPSClientTest.java:213)
> at org.apache.commons.net.ftp.FTPSClientTest.testListFilesPathNameRoot(FTPSClientTest.java:240)
> [ERROR] testListFilesPathNameEmpty[endpointCheckingEnabled=true](org.apache.commons.net.ftp.FTPSClientTest) Time elapsed: 0.006 s <<< ERROR!
> javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate)
> at org.apache.commons.net.ftp.FTPSClientTest.loginClient(FTPSClientTest.java:177)
> at org.apache.commons.net.ftp.FTPSClientTest.testListFiles(FTPSClientTest.java:213)
> at org.apache.commons.net.ftp.FTPSClientTest.testListFilesPathNameEmpty(FTPSClientTest.java:225)
> [ERROR] testHasFeature[endpointCheckingEnabled=true](org.apache.commons.net.ftp.FTPSClientTest) Time elapsed: 0.005 s <<< ERROR!
> javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate)
> at org.apache.commons.net.ftp.FTPSClientTest.loginClient(FTPSClientTest.java:177)
> at org.apache.commons.net.ftp.FTPSClientTest.testHasFeature(FTPSClientTest.java:209)
> [ERROR] testMdtmCalendar[endpointCheckingEnabled=true](org.apache.commons.net.ftp.FTPSClientTest) Time elapsed: 0.005 s <<< ERROR!
> javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate)
> at org.apache.commons.net.ftp.FTPSClientTest.loginClient(FTPSClientTest.java:177)
> at org.apache.commons.net.ftp.FTPSClientTest.testMdtmCalendar(FTPSClientTest.java:249)
> at org.apache.commons.net.ftp.FTPSClientTest.testMdtmCalendar(FTPSClientTest.java:245)
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)