Github user mgroves commented on the issue:

    https://github.com/apache/nifi/pull/2750
  
    Hi @ijokarumawak I tried building this today (on Windows). I'm not much of 
a Java developer, so this could easily be a noob mistake. It looks like there 
was an error here:
    
    ```
    > [ERROR] Errors: 
    > [ERROR]   
TestMinimalLockingWriteAheadLog.testRecoverFileThatHasTrailingNULBytesAndTruncation:503
 ╗ OverlappingFileLock
    > [INFO] 
    > [ERROR] Tests run: 30, Failures: 0, Errors: 1, Skipped: 3
    > 
    ```
    
    Which leads to a build failure at the end:
    
    ```
    > [INFO] 
------------------------------------------------------------------------
    > [INFO] BUILD FAILURE
    > [INFO] 
------------------------------------------------------------------------
    > [INFO] Total time: 01:38 min
    > [INFO] Finished at: 2018-06-04T11:44:56-07:00
    > [INFO] Final Memory: 134M/920M
    > [INFO] 
------------------------------------------------------------------------
    > [ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-surefire-plugin:2.20.1:test (default-test) on 
project nifi-write-ahead-log: There are test failures.
    > [ERROR] 
    > [ERROR] Please refer to 
C:\zproj\nifi-ijokarumawak\nifi-commons\nifi-write-ahead-log\target\surefire-reports
 for the individual test results.
    > [ERROR] Please refer to dump files (if any exist) [date]-jvmRun[N].dump, 
[date].dumpstream and [date]-jvmRun[N].dumpstream.
    > [ERROR] -> [Help 1]
    > [ERROR] 
    > [ERROR] To see the full stack trace of the errors, re-run Maven with the 
-e switch.
    > [ERROR] Re-run Maven using the -X switch to enable full debug logging.
    > [ERROR] 
    > [ERROR] For more information about the errors and possible solutions, 
please read the following articles:
    > [ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
    > [ERROR] 
    > [ERROR] After correcting the problems, you can resume the build with the 
command
    > [ERROR]   mvn <goals> -rf :nifi-write-ahead-log
    ```
    
    I've put the entire output into a pastebin here: 
https://pastebin.com/Am3k3xn4
    Is there something I'm missing or doing wrong?



---

Reply via email to