Error while building in TestMinimalLockingWriteAheadLog

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Error while building in TestMinimalLockingWriteAheadLog

Milan Chandna
Currently working on one of the feature but while running full build (mvn -Pcontrib-check clean install) at NIFI root, as suggested in Contribution Guide, the build is failing in other module in Test scope.
I am certain it's not in my module as it's coming in master branch as well. And I am hitting it consistently always.
Pasted the error stack in the end of mail.

I tried searching about it and figured out there is a similar issue reported and it's still unresolved.
Also have read somewhere that it is OK to skip it.
But that post is little older (around May), so is this still an issue?
So should I just skip this?
What is the flag to skip only single test and not all?

Running org.wali.TestMinimalLockingWriteAheadLog
Tests run: 12, Failures: 0, Errors: 1, Skipped: 2, Time elapsed: 7.901 sec <<< FAILURE! - in org.wali.TestMinimalLockingWriteAheadLog
testRecoverFileThatHasTrailingNULBytesAndTruncation(org.wali.TestMinimalLockingWriteAheadLog)  Time elapsed: 0.015 sec  <<< ERROR!
java.nio.channels.OverlappingFileLockException: null
        at java.nio.channels.FileChannel.lock(
        at org.wali.MinimalLockingWriteAheadLog.<init>(
        at org.wali.MinimalLockingWriteAheadLog.<init>(
        at org.wali.TestMinimalLockingWriteAheadLog.testRecoverFileThatHasTrailingNULBytesAndTruncation(

Results :

Tests in error:
  TestMinimalLockingWriteAheadLog.testRecoverFileThatHasTrailingNULBytesAndTruncation:472 ╗ OverlappingFileLock