[ 
https://issues.apache.org/jira/browse/NIFI-3796?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15997003#comment-15997003
 ] 

ASF subversion and git services commented on NIFI-3796:
-------------------------------------------------------

Commit 7f2f38be5237a2f8064ca58b52f9587b4f0920a3 in nifi's branch 
refs/heads/master from [~alopresto]
[ https://git-wip-us.apache.org/repos/asf?p=nifi.git;h=7f2f38b ]

NIFI-3796
Added test logic to only run POSIX permission set on *nix OS.
Separated missing and unreadable key providers to different tests and run 
unreadable on POSIX-compliant OS only.
This closes #1751


> Encrypted provenance repository test failure on Win10
> -----------------------------------------------------
>
>                 Key: NIFI-3796
>                 URL: https://issues.apache.org/jira/browse/NIFI-3796
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Core Framework
>         Environment: Apache Maven 3.3.9 
> (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T11:41:47-05:00)
> Maven home: C:\development\tools\apache-maven-3.3.9
> Java version: 1.8.0_102, vendor: Oracle Corporation
> Java home: C:\Program Files\Java\jdk1.8.0_102\jre
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows 10", version: "10.0", arch: "amd64", family: "dos"
>            Reporter: Joseph Witt
>            Assignee: Andy LoPresto
>            Priority: Critical
>             Fix For: 1.2.0
>
>
> {code}
> Tests run: 15, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.109 sec 
> <<< FAILURE! - in org.apache.nifi.provenance.CryptoUtilsTest
> testShouldNotValidateUnreadableOrMissingFileBasedKeyProvider(org.apache.nifi.provenance.CryptoUtilsTest)
>   Time elapsed: 0.016 sec  <<< ERROR!
> java.lang.UnsupportedOperationException: null
>         at java.nio.file.Files.setPosixFilePermissions(Files.java:2044)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>         at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:498)
>         at 
> org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93)
>         at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
>         at 
> org.codehaus.groovy.runtime.callsite.StaticMetaMethodSite.invoke(StaticMetaMethodSite.java:46)
>         at 
> org.codehaus.groovy.runtime.callsite.StaticMetaMethodSite.call(StaticMetaMethodSite.java:91)
>         at 
> org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)
>         at 
> org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)
>         at 
> org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:133)
>         at 
> org.apache.nifi.provenance.CryptoUtilsTest.testShouldNotValidateUnreadableOrMissingFileBasedKeyProvider(CryptoUtilsTest.groovy:187)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to