[ 
https://issues.apache.org/jira/browse/NIFI-15655?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18062480#comment-18062480
 ] 

ASF subversion and git services commented on NIFI-15655:
--------------------------------------------------------

Commit 34bf8af191c30056465bd7c47f1be964397eafb0 in nifi's branch 
refs/heads/main from Pierre Villard
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=34bf8af191c ]

NIFI-15655 Fixed handling of missing port in Cluster Leader Address

- Checked for empty Participant identifier from ZooKeeper Leader Election 
Manager
- Checked for missing port before parsing Heartbeat Address
- Improved stability of 
FlowSynchronizationIT.testUnnecessaryProcessorsAndConnectionsRemoved with 
better exception handling

This closes #10946

Signed-off-by: David Handermann <[email protected]>


> 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
>            Priority: Major
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> 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