Github user ggthename commented on the issue:

    https://github.com/apache/nifi/pull/1937
  
    @pvillard31 I have one question.
    There were some problems on my side(maven 3.5.0)
    What is the meaning of failure? How can I solve this situation.  Thanks!
    
    `[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-surefire-plugin:2.
    18:test (default-test) on project nifi-write-ahead-log: There are test 
failures.
    
    [ERROR]
    [ERROR] Please refer to 
D:\github\nifi\nifi-commons\nifi-write-ahead-log\target\
    surefire-reports for the individual test results.
    [ERROR] -> [Help 1]
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute 
goal o
    rg.apache.maven.plugins:maven-surefire-plugin:2.18:test (default-test) on 
projec
    t nifi-write-ahead-log: There are test failures.
    
    Please refer to 
D:\github\nifi\nifi-commons\nifi-write-ahead-log\target\surefire
    -reports for the individual test results.
            at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor
    .java:213)
            at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor
    .java:154)
            at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor
    .java:146)
            at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProje
    ct(LifecycleModuleBuilder.java:117)
            at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProje
    ct(LifecycleModuleBuilder.java:81)
            at 
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThre
    adedBuilder.build(SingleThreadedBuilder.java:51)
            at 
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(Lifecycl
    eStarter.java:128)
            at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:309)
            at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:194)
            at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:107)
            at org.apache.maven.cli.MavenCli.execute(MavenCli.java:993)
            at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:345)
            at org.apache.maven.cli.MavenCli.main(MavenCli.java:191)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:62)
            at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:43)
            at java.lang.reflect.Method.invoke(Method.java:498)
            at 
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Laun
    cher.java:289)
            at 
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.jav
    a:229)
            at 
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(La
    uncher.java:415)
            at 
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:
    356)
    Caused by: org.apache.maven.plugin.MojoFailureException: There are test 
failures
    .
    `
    and It is the TestMinimalLockingWriteAheadLog.txt
    `
    
-------------------------------------------------------------------------------
    Test set: org.wali.TestMinimalLockingWriteAheadLog
    
-------------------------------------------------------------------------------
    Tests run: 12, Failures: 0, Errors: 1, Skipped: 2, Time elapsed: 7.641 sec 
<<< FAILURE! - in org.wali.TestMinimalLockingWriteAheadLog
    
testRecoverFileThatHasTrailingNULBytesAndTruncation(org.wali.TestMinimalLockingWriteAheadLog)
  Time elapsed: 0.03 sec  <<< ERROR!
    java.nio.channels.OverlappingFileLockException: null
        at sun.nio.ch.SharedFileLockTable.checkList(FileLockTable.java:255)
        at sun.nio.ch.SharedFileLockTable.add(FileLockTable.java:152)
        at sun.nio.ch.FileChannelImpl.lock(FileChannelImpl.java:1063)
        at java.nio.channels.FileChannel.lock(FileChannel.java:1053)
        at 
org.wali.MinimalLockingWriteAheadLog.<init>(MinimalLockingWriteAheadLog.java:187)
        at 
org.wali.MinimalLockingWriteAheadLog.<init>(MinimalLockingWriteAheadLog.java:108)
        at 
org.wali.TestMinimalLockingWriteAheadLog.testRecoverFileThatHasTrailingNULBytesAndTruncation(TestMinimalLockingWriteAheadLog.java:472)
    `



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to