Pierre Villard created NIFI-15655:
-------------------------------------

             Summary: Flaky System Test 
FlowSynchronizationIT.testUnnecessaryProcessorsAndConnectionsRemoved
                 Key: NIFI-15655
                 URL: https://issues.apache.org/jira/browse/NIFI-15655
             Project: Apache NiFi
          Issue Type: Improvement
            Reporter: Pierre Villard
            Assignee: Pierre Villard


I have seen some occurrences of the below failure when building locally. After 
investigating the troubleshooting logs of the system tests, it seems to be 
around transient errors around heartbeating when using zookeeper.
{code:java}
[ERROR] Tests run: 14, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 382.2 
s <<< FAILURE! -- in 
org.apache.nifi.tests.system.clustering.FlowSynchronizationIT
[ERROR] 
org.apache.nifi.tests.system.clustering.FlowSynchronizationIT.testUnnecessaryProcessorsAndConnectionsRemoved
 -- Time elapsed: 312.5 s <<< ERROR!
java.util.concurrent.TimeoutException: 
testUnnecessaryProcessorsAndConnectionsRemoved() timed out after 5 minutes
        at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
        at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
        Suppressed: java.lang.InterruptedException: sleep interrupted
                at java.base/java.lang.Thread.sleep0(Native Method)
                at java.base/java.lang.Thread.sleep(Thread.java:509)
                at 
org.apache.nifi.tests.system.NiFiSystemIT.waitFor(NiFiSystemIT.java:420)
                at 
org.apache.nifi.tests.system.NiFiSystemIT.waitFor(NiFiSystemIT.java:407)
                at 
org.apache.nifi.tests.system.clustering.FlowSynchronizationIT.testUnnecessaryProcessorsAndConnectionsRemoved(FlowSynchronizationIT.java:718)
{code}
This may be also the reason for some flakiness on additional system tests.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to