Github user kevdoran commented on a diff in the pull request:
https://github.com/apache/nifi/pull/2648#discussion_r182931924
--- Diff: nifi-toolkit/nifi-toolkit-encrypt-config/pom.xml ---
@@ -167,10 +167,12 @@
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
<configuration>
+ <consoleOutput>true</consoleOutput>
<excludes combine.children="append">
<exclude>src/test/resources/scrypt.py</exclude>
-
<exclude>src/test/resources/secure_hash.key</exclude>
-
<exclude>src/test/resources/secure_hash_128.key</exclude>
+ <!-- use wildcard for below files as tests
generate additional files during the build -->
+ <exclude>**/secure_hash.key</exclude>
+ <exclude>**/secure_hash_128.key</exclude>
--- End diff --
Thanks @ijokarumawak. That confirms what I and others have been able to
gather. It looks like that file is created by the command line tool that is
under test. I don't think there is a way to change its location, other than
perhaps changing the working directory of the test prior to executing the tool.
Reliably removing the file would be a good approach as well.
We may also want to disable these tests to get master building reliably on
all platforms and then re-enable them once we have sorted this out.
Thanks for jumping in to assist!
---