tomkerkhove / promitor

Bringing Azure Monitor metrics where you need them.
https://promitor.io
MIT License
248 stars 91 forks source link

test: Increase timeout for automated tests #2445

Closed tomkerkhove closed 4 months ago

tomkerkhove commented 4 months ago

Increase timeout for automated tests given CI is failing and might be related to this.

github-actions[bot] commented 4 months ago

Thank you for your contribution! 🙏 We will review it as soon as possible.

hkfgo commented 4 months ago

From resource discovery logs:

Azure.Identity.AuthenticationFailedException: ClientSecretCredential authentication failed: A configuration issue is preventing authentication - check the error message from the server for details. You can modify the configuration in the application registration portal. See https://aka.ms/msal-net-invalid-client for details. Original exception: AADSTS7000222: The provided client secret keys for app '90a927a2-fa24-414a-a961-70f574d14df9' are expired. Visit the Azure portal to create new keys for your app: https://aka.ms/NewClientSecret, or consider using certificate credentials for added security: https://aka.ms/certCreds. Trace ID: 3bb23f7b-2375-43b7-b003-1576bf552a00 Correlation ID: ef23dd7b-0809-4e23-86d5-8495b52a120e Timestamp: 2024-02-25 19:51:09Z

I think this is it?

tomkerkhove commented 4 months ago

/azp run Promitor CI - Resource Discovery Agent

azure-pipelines[bot] commented 4 months ago
Azure Pipelines successfully started running 1 pipeline(s).
tomkerkhove commented 4 months ago

/azp run Promitor CI - Scraper Agent

azure-pipelines[bot] commented 4 months ago
Azure Pipelines successfully started running 1 pipeline(s).
tomkerkhove commented 4 months ago

From resource discovery logs:

Azure.Identity.AuthenticationFailedException: ClientSecretCredential authentication failed: A configuration issue is preventing authentication - check the error message from the server for details. You can modify the configuration in the application registration portal. See aka.ms/msal-net-invalid-client for details. Original exception: AADSTS7000222: The provided client secret keys for app '90a927a2-fa24-414a-a961-70f574d14df9' are expired. Visit the Azure portal to create new keys for your app: aka.ms/NewClientSecret, or consider using certificate credentials for added security: aka.ms/certCreds. Trace ID: 3bb23f7b-2375-43b7-b003-1576bf552a00 Correlation ID: ef23dd7b-0809-4e23-86d5-8495b52a120e Timestamp: 2024-02-25 19:51:09Z

I think this is it?

Thanks, I did not have time yet to check but that makes sense.

Helped a ton!

hkfgo commented 4 months ago

No worries. Would you mind updating that Azure secret then?

tomkerkhove commented 4 months ago

I'm already on that since yesterday but turns out it was not working properly so starting another run

tomkerkhove commented 4 months ago

/azp run Promitor CI - Scraper Agent

tomkerkhove commented 4 months ago

/azp run Promitor CI - Resource Discovery Agent

azure-pipelines[bot] commented 4 months ago
Azure Pipelines successfully started running 1 pipeline(s).
azure-pipelines[bot] commented 4 months ago
Azure Pipelines successfully started running 1 pipeline(s).
tomkerkhove commented 4 months ago

Timeout works, most of tests recovered. Let's run from main and see what is still broken