Azure / azure-sdk-for-js

This repository is for active development of the Azure SDK for JavaScript (NodeJS & Browser). For consumers of the SDK we recommend visiting our public developer docs at https://docs.microsoft.com/javascript/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-js.
MIT License
2.1k stars 1.21k forks source link

[Digital Twins - Core] Deploy test resources failing in nightly runs #22346

Closed v-jiaodi closed 2 years ago

v-jiaodi commented 2 years ago

Digital Twins - Core nightly test runs are failing with:

Error message: BadRequest Headers: Cache-Control : no-cache Pragma : no-cache x-ms-failure-cause : gateway x-ms-ratelimit-remaining-subscription-writes: 1197 x-ms-request-id : f2aa134a-babe-48fd-8806-aa0c67f1fdcf x-ms-correlation-request-id : f2aa134a-babe-48fd-8806-aa0c67f1fdcf x-ms-routing-request-id : WESTUS:20220623T092439Z:f2aa134a-babe-48fd-8806-aa0c67f1fdcf Strict-Transport-Security : max-age=31536000; includeSubDomains X-Content-Type-Options : nosniff Date : Thu, 23 Jun 2022 09:24:38 GMT Body: { "error": { "code": "LocationNotAvailableForResourceType", "message": "The provided location 'westus' is not available for resource type 'Microsoft.DigitalTwins/digitalTwinsInstances'. List of available regions for the resource type is 'westcentralus,westus2,northeurope,australiaeast,westeurope,eastus,southcentralus,southeastasia,uksouth,eastus2'." } }

For more details check here:

azure-sdk commented 2 years ago

Label prediction was below confidence level 0.6 for Model:ServiceLabels: 'Storage:0.08382528,Cosmos:0.055322632,Service Bus:0.052121855' Label prediction was below confidence level 0.6 for Model:CategoryLabels: 'Mgmt:0.56830376,Client:0.39854106,Service:0.03153773'

johngallardo commented 2 years ago

Looks like @joheredi has addressed this: https://github.com/Azure/azure-sdk-for-js/commit/d562fa81aba0a68e7374b577adf1ce1a529a39a9

johngallardo commented 2 years ago

Not sure if @joheredi has the right fix. @sjiherzig can you please follow up.

joheredi commented 2 years ago

@johngallardo I was trying a quick fix to the error saying that westus was not a valid location for the test resource. This issue was fixed but it uncovered more issues. I would appreciate it if your team can continue with the investigation. Heres the link to the run with my change. Test failure (MSFT Internal)

sjiherzig commented 2 years ago

Looking into it - this is being tracked in #22086.

sjiherzig commented 2 years ago

This has now been resolved (see #22363). Nightly runs are green again: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=1671647&view=results