Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CAT falls over at the analyze stage when running job file with allot of apps excluded #135

Closed
Gerard1967 opened this issue Mar 7, 2024 · 5 comments
Assignees
Labels
bug Something isn't working

Comments

@Gerard1967
Copy link

024-03-07 21:18:30,480 [INFO] ----------Analyze----------
2024-03-07 21:18:30,481 [INFO] .saas.appdynamics.com - Analyzing AppAgentsAPM
2024-03-07 21:18:30,508 [INFO] .saas.appdynamics.com - Analyzing MachineAgentsAPM
2024-03-07 21:18:30,519 [INFO] .saas.appdynamics.com - Analyzing BusinessTransactionsAPM
2024-03-07 21:18:30,530 [INFO] .saas.appdynamics.com - Analyzing BackendsAPM
2024-03-07 21:18:30,530 [ERROR] Traceback (most recent call last):
File "/backend/core/Engine.py", line 344, in process
jobStep.analyze(self.controllerData, self.thresholds)
File "/backend/extractionSteps/maturityAssessment/apm/BackendsAPM.py", line 120, in analyze
next(
StopIteration

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/backend/core/Engine.py", line 205, in run
await self.process()
RuntimeError: coroutine raised StopIteration

@alexafshar alexafshar self-assigned this Mar 7, 2024
@alexafshar alexafshar added the bug Something isn't working label Mar 7, 2024
@alexafshar
Copy link
Collaborator

verified bug

@alexafshar alexafshar moved this from To do to In progress in config-assessment-tool Mar 19, 2024
@alexafshar
Copy link
Collaborator

after debugging, this is not due to exclude filter at all. configuration attribute "backend.registration.limit" is not returned for certain apps while using an iterator and hence coroutine errors out which is not desirable. Fixed with error handler to set to default.

@Gerard1967
Copy link
Author

Gerard1967 commented Apr 2, 2024 via email

@bhjelmar
Copy link
Collaborator

bhjelmar commented Apr 7, 2024

gotta love flaky apis lol

@alexafshar alexafshar moved this from In Master to Relased in config-assessment-tool May 6, 2024
@alexafshar
Copy link
Collaborator

fix released with v1.6.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Relased
Development

No branches or pull requests

3 participants