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 #16742

Closed
v-jiaodi opened this issue Aug 4, 2021 · 1 comment
Closed

[Metrics Advisor] test failing in nightly runs #16742

v-jiaodi opened this issue Aug 4, 2021 · 1 comment
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

Comments

@v-jiaodi
Copy link
Member

v-jiaodi commented Aug 4, 2021

Metrics Advisor nightly test runs are failing with:

Error message:
body.metricAlertingConfigurations.anomalyDetectionConfigurationId cannot be null or undefined.

Stack trace:
Error: body.metricAlertingConfigurations.anomalyDetectionConfigurationId cannot be null or undefined.
at Serializer.serialize (D:\a_work\1\s\sdk\core\core-http\src\serializer.ts:131:13)
at serializeCompositeType (D:\a_work\1\s\sdk\core\core-http\src\serializer.ts:744:44)
at Serializer.serialize (D:\a_work\1\s\sdk\core\core-http\src\serializer.ts:176:19)
at serializeSequenceType (D:\a_work\1\s\sdk\core\core-http\src\serializer.ts:540:40)
at Serializer.serialize (D:\a_work\1\s\sdk\core\core-http\src\serializer.ts:158:19)
at serializeCompositeType (D:\a_work\1\s\sdk\core\core-http\src\serializer.ts:744:44)
at Serializer.serialize (D:\a_work\1\s\sdk\core\core-http\src\serializer.ts:176:19)
at getOperationArgumentValueFromParameterPath (D:\a_work\1\s\sdk\core\core-http\src\serviceClient.ts:914:18)
at getOperationArgumentValueFromParameter (D:\a_work\1\s\sdk\core\core-http\src\serviceClient.ts:866:10)
at serializeRequestBody (D:\a_work\1\s\sdk\core\core-http\src\serviceClient.ts:566:24)
at GeneratedClient.sendOperationRequest (D:\a_work\1\s\sdk\core\core-http\src\serviceClient.ts:509:7)
at GeneratedClient.createAnomalyAlertingConfiguration (D:\a_work\1\s\sdk\metricsadvisor\ai-metrics-advisor\src\generated\generatedClient.ts:148:4)
at MetricsAdvisorAdministrationClient.createAlertConfig (D:\a_work\1\s\sdk\metricsadvisor\ai-metrics-advisor\dist-esm\src\metricsAdvisorAdministrationClient.js:122:491)
at Context. (D:\a_work\1\s\sdk\metricsadvisor\ai-metrics-advisor\test\public\adminclient.spec.ts:282:39)
at callFn (D:\a_work\1\s\common\temp\node_modules.pnpm\mocha@7.2.0\node_modules\mocha\lib\runnable.js:374:21)
at Test.Runnable.run (D:\a_work\1\s\common\temp\node_modules.pnpm\mocha@7.2.0\node_modules\mocha\lib\runnable.js:361:7)
at Runner.runTest (D:\a_work\1\s\common\temp\node_modules.pnpm\mocha@7.2.0\node_modules\mocha\lib\runner.js:619:10)
at D:\a_work\1\s\common\temp\node_modules.pnpm\mocha@7.2.0\node_modules\mocha\lib\runner.js:745:12
at next (D:\a_work\1\s\common\temp\node_modules.pnpm\mocha@7.2.0\node_modules\mocha\lib\runner.js:536:14)
at D:\a_work\1\s\common\temp\node_modules.pnpm\mocha@7.2.0\node_modules\mocha\lib\runner.js:546:7
at next (D:\a_work\1\s\common\temp\node_modules.pnpm\mocha@7.2.0\node_modules\mocha\lib\runner.js:448:14)
at Immediate. (D:\a_work\1\s\common\temp\node_modules.pnpm\mocha@7.2.0\node_modules\mocha\lib\runner.js:514:5)
at processImmediate (internal/timers.js:461:21)

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 Aug 4, 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 Aug 4, 2021
@maorleger maorleger assigned KarishmaGhiya and unassigned maorleger Aug 4, 2021
@KarishmaGhiya
Copy link
Contributor

These issues are caused by service side permission issues. We were expecting a fix by the end of last week, but the tests are still failing. So will close all these issues and let only one of them be to track.

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

No branches or pull requests

4 participants