Closed
Description
2022-03-16 09:27:49,202 109 i.j.o.p.e.EventProcessor [DEBUG] Event processing finished. Scope: ExecutionScope{ resource id: CustomResourceID{name='876c69ed-4f6e-414a-a9dc-da0045f42a44', namespace='default-event-handler-test'}, version: 1}, PostExecutionControl: PostExecutionControl{onlyFinalizerHandled=false, updatedCustomResource=null, runtimeException=null}
2022-03-16 09:27:49,202 109 i.j.o.p.e.EventProcessor [DEBUG] Cleanup for successful execution for resource: 876c69ed-4f6e-414a-a9dc-da0045f42a44
2022-03-16 09:27:49,228 1 i.j.o.p.e.EventProcessor [DEBUG] Received event: ResourceEvent{action=UPDATED, associated resource id=CustomResourceID{name='2f4492ba-015d-45ab-92ac-d3119c9e6997', namespace='default-event-handler-test'}}
2022-03-16 09:27:49,228 1 i.j.o.p.e.EventProcessor [DEBUG] Marking event received for: CustomResourceID{name='2f4492ba-015d-45ab-92ac-d3119c9e6997', namespace='default-event-handler-test'}
2022-03-16 09:27:49,229 1 i.j.o.p.e.EventProcessor [DEBUG] Executing events for custom resource. Scope: ExecutionScope{ resource id: CustomResourceID{name='2f4492ba-015d-45ab-92ac-d3119c9e6997', namespace='default-event-handler-test'}, version: 1}
2022-03-16 09:27:49,229 1 i.j.o.p.e.EventProcessor [DEBUG] Received event: ResourceEvent{action=UPDATED, associated resource id=CustomResourceID{name='2f4492ba-015d-45ab-92ac-d3119c9e6997', namespace='default-event-handler-test'}}
2022-03-16 09:27:49,229 1 i.j.o.p.e.EventProcessor [DEBUG] Marking event received for: CustomResourceID{name='2f4492ba-015d-45ab-92ac-d3119c9e6997', namespace='default-event-handler-test'}
2022-03-16 09:27:49,229 1 i.j.o.p.e.EventProcessor [DEBUG] Skipping executing controller for resource id: CustomResourceID{name='2f4492ba-015d-45ab-92ac-d3119c9e6997', namespace='default-event-handler-test'}. Controller in execution: true. Latest Resource present: true
2022-03-16 09:27:49,231 112 i.j.o.p.e.EventProcessor [DEBUG] Event processing finished. Scope: ExecutionScope{ resource id: CustomResourceID{name='2f4492ba-015d-45ab-92ac-d3119c9e6997', namespace='default-event-handler-test'}, version: 1}, PostExecutionControl: PostExecutionControl{onlyFinalizerHandled=false, updatedCustomResource=null, runtimeException=java.lang.RuntimeException: test}
2022-03-16 09:27:49,231 112 i.j.o.p.e.EventProcessor [DEBUG] New events exists for for resource id: CustomResourceID{name='2f4492ba-015d-45ab-92ac-d3119c9e6997', namespace='default-event-handler-test'}
2022-03-16 09:27:49,232 112 i.j.o.p.e.EventProcessor [DEBUG] Executing events for custom resource. Scope: ExecutionScope{ resource id: CustomResourceID{name='2f4492ba-015d-45ab-92ac-d3119c9e6997', namespace='default-event-handler-test'}, version: 1}
2022-03-16 09:27:49,233 112 i.j.o.p.e.EventProcessor [DEBUG] Event processing finished. Scope: ExecutionScope{ resource id: CustomResourceID{name='2f4492ba-015d-45ab-92ac-d3119c9e6997', namespace='default-event-handler-test'}, version: 1}, PostExecutionControl: PostExecutionControl{onlyFinalizerHandled=false, updatedCustomResource=null, runtimeException=null}
2022-03-16 09:27:49,233 112 i.j.o.p.e.EventProcessor [DEBUG] Cleanup for successful execution for resource: 2f4492ba-015d-45ab-92ac-d3119c9e6997
2022-03-16 09:27:49,245 1 i.j.o.p.e.EventProcessor [DEBUG] Received event: ResourceEvent{action=UPDATED, associated resource id=CustomResourceID{name='f356f956-f239-4a4f-ac2e-0a61bf1f3fdc', namespace='default-event-handler-test'}}
2022-03-16 09:27:49,245 1 i.j.o.p.e.EventProcessor [DEBUG] Marking event received for: CustomResourceID{name='f356f956-f239-4a4f-ac2e-0a61bf1f3fdc', namespace='default-event-handler-test'}
2022-03-16 09:27:49,245 1 i.j.o.p.e.EventProcessor [DEBUG] Executing events for custom resource. Scope: ExecutionScope{ resource id: CustomResourceID{name='f356f956-f239-4a4f-ac2e-0a61bf1f3fdc', namespace='default-event-handler-test'}, version: 1}
2022-03-16 09:27:49,255 114 i.j.o.p.e.EventProcessor [DEBUG] Event processing finished. Scope: ExecutionScope{ resource id: CustomResourceID{name='f356f956-f239-4a4f-ac2e-0a61bf1f3fdc', namespace='default-event-handler-test'}, version: 1}, PostExecutionControl: null
2022-03-16 09:27:49,256 114 i.j.o.p.e.EventProcessor [DEBUG] Cleanup for successful execution for resource: f356f956-f239-4a4f-ac2e-0a61bf1f3fdc
Error: ] Tests run: 12, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.775 s <<< FAILURE! - in io.javaoperatorsdk.operator.processing.event.EventProcessorTest
Error: io.javaoperatorsdk.operator.processing.event.EventProcessorTest.successfulExecutionResetsTheRetry Time elapsed: 0.031 s <<< FAILURE!
org.opentest4j.AssertionFailedError:
expected: 1
but was: 0
at io.javaoperatorsdk.operator.processing.event.EventProcessorTest.successfulExecutionResetsTheRetry(EventProcessorTest.java:170)
Metadata
Metadata
Assignees
Labels
No labels