[
https://issues.apache.org/jira/browse/NIFI-9793?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17510083#comment-17510083
]
David Handermann commented on NIFI-9793:
----------------------------------------
The ReportingTaskIT also appears to fail with a similar error for
Controller-level Service:
{noformat}
Error: Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 54.492
s <<< FAILURE! - in org.apache.nifi.tests.system.reportingtask.ReportingTaskIT
Error:
org.apache.nifi.tests.system.reportingtask.ReportingTaskIT.testReportingTaskDependingOnControllerService
Time elapsed: 52.371 s <<< ERROR!
org.apache.nifi.toolkit.cli.impl.client.nifi.NiFiClientException: Error
enabling or disabling controller service: 9fbbce78-017f-1000-2f3d-72705ac13954
cannot be disabled because it is referenced by 1 components that are currently
running: [9fbbcf28-017f-1000-838b-46236e76dd9e]
Caused by: javax.ws.rs.ClientErrorException: HTTP 409 Conflict
Error:
ReportingTaskIT>NiFiSystemIT.teardown:126->NiFiSystemIT.destroyFlow:175 »
NiFiClient
{noformat}
> System Integration Test Failure with HTTP 409
> ---------------------------------------------
>
> Key: NIFI-9793
> URL: https://issues.apache.org/jira/browse/NIFI-9793
> Project: Apache NiFi
> Issue Type: Bug
> Components: Tools and Build
> Reporter: David Handermann
> Assignee: David Handermann
> Priority: Minor
> Time Spent: 20m
> Remaining Estimate: 0h
>
> System Integration tests for NiFi reported the following failure in a recent
> automated build on GitHub:
> {noformat}
> Error:
> org.apache.nifi.tests.system.verification.ClusteredVerifiableControllerServiceSystemIT.testVerificationWithValidConfigWhenComponentRunning
> Time elapsed: 1.096 s <<< ERROR!
> org.apache.nifi.toolkit.cli.impl.client.nifi.NiFiClientException: Error
> deleting Controller Service: Node localhost:5671 is unable to fulfill this
> request due to: Controller Service 85f6b66c-017f-1000-0000-000068457893
> cannot be deleted because it is not disabled
> Caused by: javax.ws.rs.ClientErrorException: HTTP 409 Conflict
> Error:
> ClusteredVerifiableControllerServiceSystemIT>NiFiSystemIT.teardown:126->NiFiSystemIT.destroyFlow:177
> » NiFiClient
> {noformat}
> The impacted portion of the test should be adjusted to retry when receiving a
> response with HTTP 409.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)