[ 
https://issues.apache.org/jira/browse/NIFI-14772?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

David Handermann resolved NIFI-14772.
-------------------------------------
    Resolution: Incomplete

Unfortunately it looks like the initial change did completely resolve the 
intermittent failures. As it is now committed to the main branch, I am marking 
this as Incomplete and I will create a new linked issue for additional work.

> FlowSynchronizationIT system test fails intermittently
> ------------------------------------------------------
>
>                 Key: NIFI-14772
>                 URL: https://issues.apache.org/jira/browse/NIFI-14772
>             Project: Apache NiFi
>          Issue Type: Bug
>            Reporter: Michael W Moser
>            Assignee: David Handermann
>            Priority: Minor
>             Fix For: 2.6.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> This system test fails often but intermittently.  We should take a look.
> ./mvnw verify -Pintegration-tests -pl nifi-system-tests/nifi-system-test-suite
> {noformat}
> Error:  Tests run: 14, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 
> 377.3 s <<< FAILURE! -- in 
> org.apache.nifi.tests.system.clustering.FlowSynchronizationIT
> Error:  
> org.apache.nifi.tests.system.clustering.FlowSynchronizationIT.testComponentsRecreatedOnRestart
>  -- Time elapsed: 308.4 s <<< ERROR!
> java.util.concurrent.TimeoutException: testComponentsRecreatedOnRestart() 
> 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.testComponentsRecreatedOnRestart(FlowSynchronizationIT.java:497)
>               at java.base/java.lang.reflect.Method.invoke(Method.java:580)
>               ... 2 more
>       Suppressed: org.apache.nifi.toolkit.client.NiFiClientException: Error 
> enabling or disabling controlling services: Node localhost:5671 is unable to 
> fulfill this request due to: 
> StandardControllerServiceNode[service=StandardCountService[id=152f83dd-0198-1000-0000-000047780af2],
>  name=StandardCountService, active=true] cannot be disabled because it is 
> referenced by 1 components that are currently running: 
> [152f8383-0198-1000-ffff-ffffffc363b7]
>               at 
> org.apache.nifi.toolkit.client.impl.AbstractJerseyClient.executeAction(AbstractJerseyClient.java:96)
>               at 
> org.apache.nifi.toolkit.client.impl.JerseyFlowClient.activateControllerServices(JerseyFlowClient.java:238)
>               at 
> org.apache.nifi.tests.system.NiFiClientUtil.disableControllerServices(NiFiClientUtil.java:1200)
>               at 
> org.apache.nifi.tests.system.NiFiSystemIT.destroyFlow(NiFiSystemIT.java:258)
>               at 
> org.apache.nifi.tests.system.NiFiSystemIT.teardown(NiFiSystemIT.java:174)
>               at java.base/java.lang.reflect.Method.invoke(Method.java:580)
>               ... 2 more
>       Caused by: jakarta.ws.rs.ClientErrorException: HTTP 409 Conflict
>               at 
> org.glassfish.jersey.client.JerseyInvocation.createExceptionForFamily(JerseyInvocation.java:1002)
>               at 
> org.glassfish.jersey.client.JerseyInvocation.convertToException(JerseyInvocation.java:984)
>               at 
> org.glassfish.jersey.client.JerseyInvocation.translate(JerseyInvocation.java:770)
>               at 
> org.glassfish.jersey.client.JerseyInvocation.lambda$invoke$1(JerseyInvocation.java:687)
>               at 
> org.glassfish.jersey.client.JerseyInvocation.call(JerseyInvocation.java:709)
>               at 
> org.glassfish.jersey.client.JerseyInvocation.lambda$runInScope$3(JerseyInvocation.java:703)
>               at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
>               at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
>               at org.glassfish.jersey.internal.Errors.process(Errors.java:205)
>               at 
> org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:391)
>               at 
> org.glassfish.jersey.client.JerseyInvocation.runInScope(JerseyInvocation.java:703)
>               at 
> org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:686)
>               at 
> org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:450)
>               at 
> org.glassfish.jersey.client.JerseyInvocation$Builder.put(JerseyInvocation.java:334)
>               at 
> org.apache.nifi.toolkit.client.impl.JerseyFlowClient.lambda$activateControllerServices$7(JerseyFlowClient.java:243)
>               at 
> org.apache.nifi.toolkit.client.impl.AbstractJerseyClient.executeAction(AbstractJerseyClient.java:81)
>               ... 7 more{noformat}



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

Reply via email to