You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Andy LoPresto (Jira)" <ji...@apache.org> on 2019/12/10 13:04:00 UTC
[jira] [Commented] (NIFI-6935) nifi-socket-utils test failures on
linux
[ https://issues.apache.org/jira/browse/NIFI-6935?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16992525#comment-16992525 ]
Andy LoPresto commented on NIFI-6935:
-------------------------------------
I have a suspicion this is because the JRE version detection is getting confused and crafting the wrong relative path (see {{/usr/java/jdk1.8.0_191-amd64/jre/jre/lib/security/cacerts}} which should be {{/usr/java/jdk1.8.0_191-amd64/jre/lib/security/cacerts}} with only one {{jre/}}).
> nifi-socket-utils test failures on linux
> ----------------------------------------
>
> Key: NIFI-6935
> URL: https://issues.apache.org/jira/browse/NIFI-6935
> Project: Apache NiFi
> Issue Type: Task
> Components: Security
> Environment: Apache Maven 3.6.2 (40f52333136460af0dc0d7232c0dc0bcf0d9e117; 2019-08-27T11:06:16-04:00)
> Maven home: /development/apache-maven-3.6.2
> Java version: 1.8.0_191, vendor: Oracle Corporation, runtime: /usr/java/jdk1.8.0_191-amd64/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux", version: "5.3.14-300.fc31.x86_64", arch: "amd64", family: "unix"
> Reporter: Joe Witt
> Priority: Major
>
> [ERROR] Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.72 s <<< FAILURE! - in org.apache.nifi.io.socket.SSLContextFactoryTest
> [ERROR] testShouldVerifyKeystoreWithDifferentKeyPassword(org.apache.nifi.io.socket.SSLContextFactoryTest) Time elapsed: 0.04 s <<< ERROR!
> java.io.FileNotFoundException: /usr/java/jdk1.8.0_191-amd64/jre/jre/lib/security/cacerts (No such file or directory)
> at org.apache.nifi.io.socket.SSLContextFactoryTest.testShouldVerifyKeystoreWithDifferentKeyPassword(SSLContextFactoryTest.groovy:138)
> [ERROR] testShouldVerifyKeystoreWithSameKeyPassword(org.apache.nifi.io.socket.SSLContextFactoryTest) Time elapsed: 0.003 s <<< ERROR!
> java.io.FileNotFoundException: /usr/java/jdk1.8.0_191-amd64/jre/jre/lib/security/cacerts (No such file or directory)
> at org.apache.nifi.io.socket.SSLContextFactoryTest.testShouldVerifyKeystoreWithSameKeyPassword(SSLContextFactoryTest.groovy:113)
--
This message was sent by Atlassian Jira
(v8.3.4#803005)