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

[Metrics Advisor] test failing in nightly runs #22043

Closed
v-yilinhu opened this issue Jun 22, 2021 · 0 comments · Fixed by #25406
Closed

[Metrics Advisor] test failing in nightly runs #22043

v-yilinhu opened this issue Jun 22, 2021 · 0 comments · Fixed by #25406
Assignees
Labels
Client This issue points to a problem in the data-plane of the library. Cognitive - Metrics Advisor test-reliability Issue that causes tests to be unreliable
Milestone

Comments

@v-yilinhu
Copy link
Contributor

Metrics Advisor nightly test runs are failing with:

Error Message
Azure.RequestFailedException : Service request failed.
Status: 400 (Bad Request)

Content:
{"code":"BadRequest","message":""}

Headers:
X-Request-ID: 4f5804dc-ac45-4a4d-8e86-cb6cbe613fb3
x-envoy-upstream-service-time: 273
apim-request-id: 4f5804dc-ac45-4a4d-8e86-cb6cbe613fb3
Strict-Transport-Security: max-age=31536000; includeSubDomains; preload
X-Content-Type-Options: nosniff
Date: Fri, 11 Jun 2021 19:03:45 GMT
Content-Length: 34
Content-Type: application/json; charset=utf-8

Stack Trace
at Azure.AI.MetricsAdvisor.MicrosoftAzureMetricsAdvisorRestAPIOpenAPIV2RestClient.CreateMetricFeedback(MetricFeedback body, CancellationToken cancellationToken) in //sdk/metricsadvisor/Azure.AI.MetricsAdvisor/src/Generated/MicrosoftAzureMetricsAdvisorRestAPIOpenAPIV2RestClient.cs:line 2239
at Azure.AI.MetricsAdvisor.MetricsAdvisorClient.AddFeedback(MetricFeedback feedback, CancellationToken cancellationToken) in /
/sdk/metricsadvisor/Azure.AI.MetricsAdvisor/src/MetricsAdvisorClient.cs:line 726
--- End of stack trace from previous location where exception was thrown ---
at Azure.Core.TestFramework.DiagnosticScopeValidatingInterceptor.<>c__DisplayClass4_01.<<WrapAsyncResultCore>g__Await|0>d.MoveNext() in /mnt/vss/_work/1/s/sdk/core/Azure.Core.TestFramework/src/Instrumentation/DiagnosticScopeValidatingInterceptor.cs:line 91 --- End of stack trace from previous location where exception was thrown --- at System.Threading.Tasks.ValueTask1.get_Result()
at Azure.Core.TestFramework.DiagnosticScopeValidatingInterceptor.<>c__DisplayClass5_01.<<ValidateDiagnosticScopeInterceptor>b__0>d.MoveNext() in /mnt/vss/_work/1/s/sdk/core/Azure.Core.TestFramework/src/Instrumentation/DiagnosticScopeValidatingInterceptor.cs:line 142 --- End of stack trace from previous location where exception was thrown --- at System.Threading.Tasks.ValueTask1.get_Result()
at Azure.Core.TestFramework.DiagnosticScopeValidatingInterceptor.ValidateDiagnosticScope[T](Func1 action, MethodInfo methodInfo, String source) in /mnt/vss/_work/1/s/sdk/core/Azure.Core.TestFramework/src/Instrumentation/DiagnosticScopeValidatingInterceptor.cs:line 165 at Azure.AI.MetricsAdvisor.Tests.MetricFeedbackLiveTests.AddAndGetAnomalyFeedbackWithMinimumSetup(Boolean useTokenCredential) in /mnt/vss/_work/1/s/sdk/metricsadvisor/Azure.AI.MetricsAdvisor/tests/MetricsAdvisorClient/MetricFeedbackLiveTests.cs:line 41 at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter1.GetResult()
at NUnit.Framework.Internal.AsyncToSyncAdapter.Await(Func`1 invoke)
at NUnit.Framework.Internal.Commands.TestMethodCommand.RunTestMethod(TestExecutionContext context)
at NUnit.Framework.Internal.Commands.TestMethodCommand.Execute(TestExecutionContext context)
at NUnit.Framework.Internal.Commands.BeforeAndAfterTestCommand.<>c__DisplayClass1_0.b__0()
at NUnit.Framework.Internal.Commands.BeforeAndAfterTestCommand.RunTestMethodInThreadAbortSafeZone(TestExecutionContext context, Action action)

For more details check here:

@ghost ghost added the needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. label Jun 22, 2021
@v-xuto v-xuto added Client This issue points to a problem in the data-plane of the library. Cognitive - Metrics Advisor test-reliability Issue that causes tests to be unreliable and removed needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. labels Jun 22, 2021
@kinelski kinelski added this to the [2021] July milestone Jun 22, 2021
@kinelski kinelski modified the milestones: [2021] July, [2021] August Jul 9, 2021
@kinelski kinelski modified the milestones: [2021] August, Backlog Aug 11, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Mar 27, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Client This issue points to a problem in the data-plane of the library. Cognitive - Metrics Advisor test-reliability Issue that causes tests to be unreliable
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants