Details
-
Sub-task
-
Status: Resolved
-
Blocker
-
Resolution: Fixed
-
None
-
None
-
None
Description
Build fails with the following errors on the current master when built on Windows 8. When running the units tests from Intellij I see a subset of the below errors. Typically it is: "testIndexAndCompressOnRolloverAndSubsequentEmptySearch", "testBackPressure" and "testIndexOnRolloverAndSubsequentSearch"
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.apache.nifi.provenance.lucene.TestCachingIndexManager
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.391 sec - in org.apache.nifi.provenance.lucene.TestCachingIndexManager
Running org.apache.nifi.provenance.lucene.TestSimpleIndexManager
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.046 sec - in org.apache.nifi.provenance.lucene.TestSimpleIndexManager
Running org.apache.nifi.provenance.TestPersistentProvenanceRepository
Tests run: 30, Failures: 1, Errors: 23, Skipped: 2, Time elapsed: 160.653 sec <<< FAILURE! - in org.apache.nifi.provenance.TestPersistentProvenanceRepository
testNotAuthorizedGetSpecificEvent(org.apache.nifi.provenance.TestPersistentProvenanceRepository) Time elapsed: 5.047 sec <<< ERROR!
java.io.IOException: Unable to delete C:\nifi\nifi-nar-bundles\nifi-provenance-repository-bundle\nifi-persistent-provenance-repository\target\storage\1ec64b68-d0b3-41a9-8c22-ae272e889ea1\0.prov.gz
at org.apache.nifi.util.file.FileUtils.deleteFile(FileUtils.java:252)
at org.apache.nifi.util.file.FileUtils.deleteFiles(FileUtils.java:242)
at org.apache.nifi.util.file.FileUtils.deleteFile(FileUtils.java:248)
at org.apache.nifi.provenance.TestPersistentProvenanceRepository.closeRepo(TestPersistentProvenanceRepository.java:149)
testModifyIndexWhileSearching(org.apache.nifi.provenance.TestPersistentProvenanceRepository) Time elapsed: 10.031 sec <<< ERROR!
java.io.IOException: Unable to delete C:\nifi\nifi-nar-bundles\nifi-provenance-repository-bundle\nifi-persistent-provenance-repository\target\storage\99589698-4b40-443f-9aaf-cac69807c243\0.prov.gz
at org.apache.nifi.util.file.FileUtils.deleteFile(FileUtils.java:252)
at org.apache.nifi.util.file.FileUtils.deleteFiles(FileUtils.java:242)
at org.apache.nifi.util.file.FileUtils.deleteFile(FileUtils.java:248)
at org.apache.nifi.provenance.TestPersistentProvenanceRepository.closeRepo(TestPersistentProvenanceRepository.java:149)
testNotAuthorizedQuery(org.apache.nifi.provenance.TestPersistentProvenanceRepository) Time elapsed: 5.11 sec <<< ERROR!
java.io.IOException: Unable to delete C:\nifi\nifi-nar-bundles\nifi-provenance-repository-bundle\nifi-persistent-provenance-repository\target\storage\107b3965-7143-429c-a4e3-8f40dde92250\0.prov.gz
at org.apache.nifi.util.file.FileUtils.deleteFile(FileUtils.java:252)
at org.apache.nifi.util.file.FileUtils.deleteFiles(FileUtils.java:242)
at org.apache.nifi.util.file.FileUtils.deleteFile(FileUtils.java:248)
at org.apache.nifi.provenance.TestPersistentProvenanceRepository.closeRepo(TestPersistentProvenanceRepository.java:149)
testIndexOnRolloverWithImmenseAttribute(org.apache.nifi.provenance.TestPersistentProvenanceRepository) Time elapsed: 5.141 sec <<< ERROR!
java.io.IOException: Unable to delete C:\nifi\nifi-nar-bundles\nifi-provenance-repository-bundle\nifi-persistent-provenance-repository\target\storage\5b5b1185-d38a-4284-91f1-cde93bfabebb\0.prov.gz
at org.apache.nifi.util.file.FileUtils.deleteFile(FileUtils.java:252)
at org.apache.nifi.util.file.FileUtils.deleteFiles(FileUtils.java:242)
at org.apache.nifi.util.file.FileUtils.deleteFile(FileUtils.java:248)
at org.apache.nifi.provenance.TestPersistentProvenanceRepository.closeRepo(TestPersistentProvenanceRepository.java:149)
testIndexAndCompressOnRolloverAndSubsequentEmptySearch(org.apache.nifi.provenance.TestPersistentProvenanceRepository) Time elapsed: 8.39 sec <<< ERROR!
java.io.IOException: Unable to delete C:\nifi\nifi-nar-bundles\nifi-provenance-repository-bundle\nifi-persistent-provenance-repository\target\storage\c8c56a43-c930-4f64-a496-66edcce8e39d\0.prov.gz
at org.apache.nifi.util.file.FileUtils.deleteFile(FileUtils.java:252)
at org.apache.nifi.util.file.FileUtils.deleteFiles(FileUtils.java:242)
at org.apache.nifi.util.file.FileUtils.deleteFile(FileUtils.java:248)
at org.apache.nifi.provenance.TestPersistentProvenanceRepository.closeRepo(TestPersistentProvenanceRepository.java:149)
testBackPressure(org.apache.nifi.provenance.TestPersistentProvenanceRepository) Time elapsed: 4.391 sec <<< ERROR!
java.io.IOException: Unable to delete C:\nifi\nifi-nar-bundles\nifi-provenance-repository-bundle\nifi-persistent-provenance-repository\target\storage\f60a6a1b-43df-4075-bfa8-9c5ba295eb5a\0.prov.gz
at org.apache.nifi.util.file.FileUtils.deleteFile(FileUtils.java:252)
at org.apache.nifi.util.file.FileUtils.deleteFiles(FileUtils.java:242)
at org.apache.nifi.util.file.FileUtils.deleteFile(FileUtils.java:248)
at org.apache.nifi.provenance.TestPersistentProvenanceRepository.closeRepo(TestPersistentProvenanceRepository.java:149)
testLineageReceiveDropAsync(org.apache.nifi.provenance.TestPersistentProvenanceRepository) Time elapsed: 5.121 sec <<< ERROR!
java.io.IOException: Unable to delete C:\nifi\nifi-nar-bundles\nifi-provenance-repository-bundle\nifi-persistent-provenance-repository\target\storage\09cb2345-84d0-432a-a837-61f13fb61351\0.prov.gz
at org.apache.nifi.util.file.FileUtils.deleteFile(FileUtils.java:252)
at org.apache.nifi.util.file.FileUtils.deleteFiles(FileUtils.java:242)
at org.apache.nifi.util.file.FileUtils.deleteFile(FileUtils.java:248)
at org.apache.nifi.provenance.TestPersistentProvenanceRepository.closeRepo(TestPersistentProvenanceRepository.java:149)
testIndexOnRolloverAndSubsequentSearch(org.apache.nifi.provenance.TestPersistentProvenanceRepository) Time elapsed: 5.14 sec <<< ERROR!
java.io.IOException: Unable to delete C:\nifi\nifi-nar-bundles\nifi-provenance-repository-bundle\nifi-persistent-provenance-repository\target\storage\1d234b32-407a-476c-a731-40ae737a7b0c\0.prov.gz
at org.apache.nifi.util.file.FileUtils.deleteFile(FileUtils.java:252)
at org.apache.nifi.util.file.FileUtils.deleteFiles(FileUtils.java:242)
at org.apache.nifi.util.file.FileUtils.deleteFile(FileUtils.java:248)
at org.apache.nifi.provenance.TestPersistentProvenanceRepository.closeRepo(TestPersistentProvenanceRepository.java:149)
testTruncateAttributes(org.apache.nifi.provenance.TestPersistentProvenanceRepository) Time elapsed: 6.969 sec <<< ERROR!
java.io.IOException: Unable to delete C:\nifi\nifi-nar-bundles\nifi-provenance-repository-bundle\nifi-persistent-provenance-repository\target\storage\fe894b4a-afa6-4ba1-a942-c266c9bc1bc1\0.prov.gz
at org.apache.nifi.util.file.FileUtils.deleteFile(FileUtils.java:252)
at org.apache.nifi.util.file.FileUtils.deleteFiles(FileUtils.java:242)
at org.apache.nifi.util.file.FileUtils.deleteFile(FileUtils.java:248)
at org.apache.nifi.provenance.TestPersistentProvenanceRepository.closeRepo(TestPersistentProvenanceRepository.java:149)
testAddAndRecover(org.apache.nifi.provenance.TestPersistentProvenanceRepository) Time elapsed: 4.73 sec <<< ERROR!
java.io.IOException: Unable to delete C:\nifi\nifi-nar-bundles\nifi-provenance-repository-bundle\nifi-persistent-provenance-repository\target\storage\9ba6f3f3-2d65-45a5-a4be-96645dc2fb43\0.prov.gz
at org.apache.nifi.util.file.FileUtils.deleteFile(FileUtils.java:252)
at org.apache.nifi.util.file.FileUtils.deleteFiles(FileUtils.java:242)
at org.apache.nifi.util.file.FileUtils.deleteFile(FileUtils.java:248)
at org.apache.nifi.provenance.TestPersistentProvenanceRepository.closeRepo(TestPersistentProvenanceRepository.java:149)
testLineageManyToOneSpawnAsync(org.apache.nifi.provenance.TestPersistentProvenanceRepository) Time elapsed: 5.125 sec <<< ERROR!
java.io.IOException: Unable to delete C:\nifi\nifi-nar-bundles\nifi-provenance-repository-bundle\nifi-persistent-provenance-repository\target\storage\de34a42a-04b4-4c50-9fd3-739fb18de6d4\0.prov.gz
at org.apache.nifi.util.file.FileUtils.deleteFile(FileUtils.java:252)
at org.apache.nifi.util.file.FileUtils.deleteFiles(FileUtils.java:242)
at org.apache.nifi.util.file.FileUtils.deleteFile(FileUtils.java:248)
at org.apache.nifi.provenance.TestPersistentProvenanceRepository.closeRepo(TestPersistentProvenanceRepository.java:149)
testLineageManyToOneSpawn(org.apache.nifi.provenance.TestPersistentProvenanceRepository) Time elapsed: 5.125 sec <<< ERROR!
java.io.IOException: Unable to delete C:\nifi\nifi-nar-bundles\nifi-provenance-repository-bundle\nifi-persistent-provenance-repository\target\storage\fd77008a-9a89-4eab-8d18-ba7ee053bba4\0.prov.gz
at org.apache.nifi.util.file.FileUtils.deleteFile(FileUtils.java:252)
at org.apache.nifi.util.file.FileUtils.deleteFiles(FileUtils.java:242)
at org.apache.nifi.util.file.FileUtils.deleteFile(FileUtils.java:248)
at org.apache.nifi.provenance.TestPersistentProvenanceRepository.closeRepo(TestPersistentProvenanceRepository.java:149)
testCompressOnRollover(org.apache.nifi.provenance.TestPersistentProvenanceRepository) Time elapsed: 5.016 sec <<< ERROR!
java.io.IOException: Unable to delete C:\nifi\nifi-nar-bundles\nifi-provenance-repository-bundle\nifi-persistent-provenance-repository\target\storage\a71dace9-0b6d-4a27-97c4-970381722076\0.prov.gz
at org.apache.nifi.util.file.FileUtils.deleteFile(FileUtils.java:252)
at org.apache.nifi.util.file.FileUtils.deleteFiles(FileUtils.java:242)
at org.apache.nifi.util.file.FileUtils.deleteFile(FileUtils.java:248)
at org.apache.nifi.provenance.TestPersistentProvenanceRepository.closeRepo(TestPersistentProvenanceRepository.java:149)
testIndexAndCompressOnRolloverAndSubsequentSearchMultipleStorageDirs(org.apache.nifi.provenance.TestPersistentProvenanceRepository) Time elapsed: 11.422 sec <<< ERROR!
java.io.IOException: Unable to delete C:\nifi\nifi-nar-bundles\nifi-provenance-repository-bundle\nifi-persistent-provenance-repository\target\storage\66b93cf7-0569-4fd1-8424-32a13b912453\0.prov.gz
at org.apache.nifi.util.file.FileUtils.deleteFile(FileUtils.java:252)
at org.apache.nifi.util.file.FileUtils.deleteFiles(FileUtils.java:242)
at org.apache.nifi.util.file.FileUtils.deleteFile(FileUtils.java:248)
at org.apache.nifi.provenance.TestPersistentProvenanceRepository.closeRepo(TestPersistentProvenanceRepository.java:149)
testWithWithEventFileMissingRecord(org.apache.nifi.provenance.TestPersistentProvenanceRepository) Time elapsed: 9.078 sec <<< FAILURE!
java.lang.AssertionError: null
at org.junit.Assert.fail(Assert.java:86)
at org.junit.Assert.assertTrue(Assert.java:41)
at org.junit.Assert.assertTrue(Assert.java:52)
at org.apache.nifi.provenance.TestPersistentProvenanceRepository.prepCorruptedEventFileTests(TestPersistentProvenanceRepository.java:1155)
at org.apache.nifi.provenance.TestPersistentProvenanceRepository.testWithWithEventFileMissingRecord(TestPersistentProvenanceRepository.java:1099)
testWithWithEventFileMissingRecord(org.apache.nifi.provenance.TestPersistentProvenanceRepository) Time elapsed: 9.078 sec <<< ERROR!
java.io.IOException: Unable to delete C:\nifi\nifi-nar-bundles\nifi-provenance-repository-bundle\nifi-persistent-provenance-repository\target\storage\9394f916-fec7-40f7-8394-ddfb16efd87c\0.prov.gz
at org.apache.nifi.util.file.FileUtils.deleteFile(FileUtils.java:252)
at org.apache.nifi.util.file.FileUtils.deleteFiles(FileUtils.java:242)
at org.apache.nifi.util.file.FileUtils.deleteFile(FileUtils.java:248)
at org.apache.nifi.provenance.TestPersistentProvenanceRepository.closeRepo(TestPersistentProvenanceRepository.java:149)
testWithWithEventFileCorrupted(org.apache.nifi.provenance.TestPersistentProvenanceRepository) Time elapsed: 9.308 sec <<< ERROR!
java.io.IOException: Unable to delete C:\nifi\nifi-nar-bundles\nifi-provenance-repository-bundle\nifi-persistent-provenance-repository\target\storage\a42ab75f-878e-4caf-895e-eb0129ec4087\10.prov.gz
at org.apache.nifi.util.file.FileUtils.deleteFile(FileUtils.java:252)
at org.apache.nifi.util.file.FileUtils.deleteFiles(FileUtils.java:242)
at org.apache.nifi.util.file.FileUtils.deleteFile(FileUtils.java:248)
at org.apache.nifi.provenance.TestPersistentProvenanceRepository.closeRepo(TestPersistentProvenanceRepository.java:149)
testAddToMultipleLogsAndRecover(org.apache.nifi.provenance.TestPersistentProvenanceRepository) Time elapsed: 7.282 sec <<< ERROR!
java.io.IOException: Unable to delete C:\nifi\nifi-nar-bundles\nifi-provenance-repository-bundle\nifi-persistent-provenance-repository\target\storage\5e0f4097-49e2-492c-a006-d5f2a37109b5\0.prov.gz
at org.apache.nifi.util.file.FileUtils.deleteFile(FileUtils.java:252)
at org.apache.nifi.util.file.FileUtils.deleteFiles(FileUtils.java:242)
at org.apache.nifi.util.file.FileUtils.deleteFile(FileUtils.java:248)
at org.apache.nifi.provenance.TestPersistentProvenanceRepository.closeRepo(TestPersistentProvenanceRepository.java:149)
testCorrectProvenanceEventIdOnRestore(org.apache.nifi.provenance.TestPersistentProvenanceRepository) Time elapsed: 5.125 sec <<< ERROR!
java.io.IOException: Unable to delete C:\nifi\nifi-nar-bundles\nifi-provenance-repository-bundle\nifi-persistent-provenance-repository\target\storage\bf40cbd6-a044-47d9-90f1-be8acd553b26\0.prov.gz
at org.apache.nifi.util.file.FileUtils.deleteFile(FileUtils.java:252)
at org.apache.nifi.util.file.FileUtils.deleteFiles(FileUtils.java:242)
at org.apache.nifi.util.file.FileUtils.deleteFile(FileUtils.java:248)
at org.apache.nifi.provenance.TestPersistentProvenanceRepository.closeRepo(TestPersistentProvenanceRepository.java:149)
testNotAuthorizedGetEventRange(org.apache.nifi.provenance.TestPersistentProvenanceRepository) Time elapsed: 5.011 sec <<< ERROR!
java.io.IOException: Unable to delete C:\nifi\nifi-nar-bundles\nifi-provenance-repository-bundle\nifi-persistent-provenance-repository\target\storage\dcd8a1c6-5b70-4ad8-8df0-80a8948ecc8e\0.prov.gz
at org.apache.nifi.util.file.FileUtils.deleteFile(FileUtils.java:252)
at org.apache.nifi.util.file.FileUtils.deleteFiles(FileUtils.java:242)
at org.apache.nifi.util.file.FileUtils.deleteFile(FileUtils.java:248)
at org.apache.nifi.provenance.TestPersistentProvenanceRepository.closeRepo(TestPersistentProvenanceRepository.java:149)
testNotAuthorizedLineage(org.apache.nifi.provenance.TestPersistentProvenanceRepository) Time elapsed: 5.25 sec <<< ERROR!
java.io.IOException: Unable to delete C:\nifi\nifi-nar-bundles\nifi-provenance-repository-bundle\nifi-persistent-provenance-repository\target\storage\f19833d2-d0e1-408b-8984-30285d635759\0.prov.gz
at org.apache.nifi.util.file.FileUtils.deleteFile(FileUtils.java:252)
at org.apache.nifi.util.file.FileUtils.deleteFiles(FileUtils.java:242)
at org.apache.nifi.util.file.FileUtils.deleteFile(FileUtils.java:248)
at org.apache.nifi.provenance.TestPersistentProvenanceRepository.closeRepo(TestPersistentProvenanceRepository.java:149)
testExceptionOnIndex(org.apache.nifi.provenance.TestPersistentProvenanceRepository) Time elapsed: 6.984 sec <<< ERROR!
java.io.IOException: Unable to delete C:\nifi\nifi-nar-bundles\nifi-provenance-repository-bundle\nifi-persistent-provenance-repository\target\storage\50872318-044a-4887-9d52-a297d7f2ee65\0.prov.gz
at org.apache.nifi.util.file.FileUtils.deleteFile(FileUtils.java:252)
at org.apache.nifi.util.file.FileUtils.deleteFiles(FileUtils.java:242)
at org.apache.nifi.util.file.FileUtils.deleteFile(FileUtils.java:248)
at org.apache.nifi.provenance.TestPersistentProvenanceRepository.closeRepo(TestPersistentProvenanceRepository.java:149)
testFailureToCreateWriterDoesNotPreventSubsequentRollover(org.apache.nifi.provenance.TestPersistentProvenanceRepository) Time elapsed: 3 sec <<< ERROR!
java.io.IOException: Unable to delete C:\nifi\nifi-nar-bundles\nifi-provenance-repository-bundle\nifi-persistent-provenance-repository\target\storage\2325c629-4914-4efc-b09d-53c0490d67d6\0.prov.gz
at org.apache.nifi.util.file.FileUtils.deleteFile(FileUtils.java:252)
at org.apache.nifi.util.file.FileUtils.deleteFiles(FileUtils.java:242)
at org.apache.nifi.util.file.FileUtils.deleteFile(FileUtils.java:248)
at org.apache.nifi.provenance.TestPersistentProvenanceRepository.closeRepo(TestPersistentProvenanceRepository.java:149)
testLineageReceiveDrop(org.apache.nifi.provenance.TestPersistentProvenanceRepository) Time elapsed: 5.11 sec <<< ERROR!
java.io.IOException: Unable to delete C:\nifi\nifi-nar-bundles\nifi-provenance-repository-bundle\nifi-persistent-provenance-repository\target\storage\844df2b6-0056-4660-b103-b4555e00d7f1\0.prov.gz
at org.apache.nifi.util.file.FileUtils.deleteFile(FileUtils.java:252)
at org.apache.nifi.util.file.FileUtils.deleteFiles(FileUtils.java:242)
at org.apache.nifi.util.file.FileUtils.deleteFile(FileUtils.java:248)
at org.apache.nifi.provenance.TestPersistentProvenanceRepository.closeRepo(TestPersistentProvenanceRepository.java:149)
Running org.apache.nifi.provenance.TestSchemaRecordReaderWriter
Tests run: 8, Failures: 0, Errors: 0, Skipped: 2, Time elapsed: 0.016 sec - in org.apache.nifi.provenance.TestSchemaRecordReaderWriter
Running org.apache.nifi.provenance.TestStandardRecordReaderWriter
Tests run: 6, Failures: 0, Errors: 0, Skipped: 2, Time elapsed: 0 sec - in org.apache.nifi.provenance.TestStandardRecordReaderWriter
Running org.apache.nifi.provenance.toc.TestStandardTocReader
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in org.apache.nifi.provenance.toc.TestStandardTocReader
Running org.apache.nifi.provenance.toc.TestStandardTocWriter
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in org.apache.nifi.provenance.toc.TestStandardTocWriter
Results :
Tests in error:
TestPersistentProvenanceRepository.closeRepo:149 ▒ IO Unable to delete C:\nifi...
TestPersistentProvenanceRepository.closeRepo:149 ▒ IO Unable to delete C:\nifi...
TestPersistentProvenanceRepository.closeRepo:149 ▒ IO Unable to delete C:\nifi...
TestPersistentProvenanceRepository.closeRepo:149 ▒ IO Unable to delete C:\nifi...
TestPersistentProvenanceRepository.closeRepo:149 ▒ IO Unable to delete C:\nifi...
TestPersistentProvenanceRepository.closeRepo:149 ▒ IO Unable to delete C:\nifi...
TestPersistentProvenanceRepository.closeRepo:149 ▒ IO Unable to delete C:\nifi...
TestPersistentProvenanceRepository.closeRepo:149 ▒ IO Unable to delete C:\nifi...
TestPersistentProvenanceRepository.closeRepo:149 ▒ IO Unable to delete C:\nifi...
TestPersistentProvenanceRepository.closeRepo:149 ▒ IO Unable to delete C:\nifi...
TestPersistentProvenanceRepository.closeRepo:149 ▒ IO Unable to delete C:\nifi...
TestPersistentProvenanceRepository.closeRepo:149 ▒ IO Unable to delete C:\nifi...
TestPersistentProvenanceRepository.closeRepo:149 ▒ IO Unable to delete C:\nifi...
TestPersistentProvenanceRepository.closeRepo:149 ▒ IO Unable to delete C:\nifi...
TestPersistentProvenanceRepository.closeRepo:149 ▒ IO Unable to delete C:\nifi...
TestPersistentProvenanceRepository.closeRepo:149 ▒ IO Unable to delete C:\nifi...
TestPersistentProvenanceRepository.closeRepo:149 ▒ IO Unable to delete C:\nifi...
TestPersistentProvenanceRepository.closeRepo:149 ▒ IO Unable to delete C:\nifi...
TestPersistentProvenanceRepository.closeRepo:149 ▒ IO Unable to delete C:\nifi...
TestPersistentProvenanceRepository.closeRepo:149 ▒ IO Unable to delete C:\nifi...
TestPersistentProvenanceRepository.closeRepo:149 ▒ IO Unable to delete C:\nifi...
TestPersistentProvenanceRepository.closeRepo:149 ▒ IO Unable to delete C:\nifi...
org.apache.nifi.provenance.TestPersistentProvenanceRepository.testWithWithEventFileMissingRecord(org.apache.nifi.provenance.TestPersistentProvenanceRepository)
Run 1: TestPersistentProvenanceRepository.testWithWithEventFileMissingRecord:1099->prepCorruptedEventFileTests:1155 null
Run 2: TestPersistentProvenanceRepository.closeRepo:149 ▒ IO Unable to delete C:\nifi...
Attachments
Issue Links
- links to