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

[ServiceBus] Failed to deploy test resource in weekly pipeline #26058

Closed
v-hongli1 opened this issue Dec 16, 2021 · 7 comments
Closed

[ServiceBus] Failed to deploy test resource in weekly pipeline #26058

v-hongli1 opened this issue Dec 16, 2021 · 7 comments
Assignees
Labels
Client This issue points to a problem in the data-plane of the library. needs-team-triage Workflow: This issue needs the team to triage. Service Bus test-sovereign-cloud
Milestone

Comments

@v-hongli1
Copy link
Member

We are running live tests against other clouds like US Gov and Azure China Cloud. The goal is to check whether new azure sdk package work with other clouds or not.

Error Description:
When running the ServiceBus pipeline on Public and UsGov and Azure China cloud, it runs failed at section Deploy test resource and the error messages is shown as following, for more details please check here:

image

Expected Behavior:
The deploy test resource can pass in weekly pipeline.

@benbp, @joshfree, @lilyjma, @ramya-rao-a and @conniey for notification.

@ghost ghost added the needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. label Dec 16, 2021
@v-xuto v-xuto added Client This issue points to a problem in the data-plane of the library. needs-team-triage Workflow: This issue needs the team to triage. Service Bus test-sovereign-cloud and removed needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. labels Dec 16, 2021
@benbp
Copy link
Member

benbp commented Dec 16, 2021

The deployment error found in the logs:

No registered resource provider found for location 'westus2' and API version '2021-05-01' for type 'namespaces'. The supported api-versions are '2014-09-01, 2015-08-01, 2017-04-01, 2018-01-01-preview, 2021-01-01-preview, 2021-06-01-preview'. The supported locations are 'australiaeast, australiasoutheast, centralus, eastus, eastus2, westus2, westus, northcentralus, southcentralus, westcentralus, eastasia, southeastasia, brazilsouth, japaneast, japanwest, northeurope, westeurope, centralindia, southindia, westindia, canadacentral, canadaeast, ukwest, uksouth, koreacentral, francecentral, southafricanorth, uaenorth, australiacentral, switzerlandnorth, germanywestcentral, norwayeast, jioindiawest, westus3, swedencentral, koreasouth, centraluseuap, eastus2euap'.

Looks like the 2021-05-01 api version might be wrong here?

@v-hongli1
Copy link
Member Author

v-hongli1 commented Dec 17, 2021

@benbp - Yes, the 2021-05-01 api version is wrong here.
This test resource deployment exception occurred on Public and Us Gov and Azure China Clouds. By error information, it was found that the latest API version compatible with Public and Us Gov and Azure China Clouds is 2021-01-01-preview. After fixed, it is confirmed by test that the test resources were successfully deployed. But we are currently experiencing a timeout error in section Run Tests on all clouds.
Weekly Pipeline Result: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=1254531&view=results
Do you think it can be repaired like this? If so, we will close this issue.

@benbp
Copy link
Member

benbp commented Dec 17, 2021

I don't know what the issue could be here, we might need a java sdk dev to investigate. @joshfree?

@joshfree joshfree assigned anuchandy and unassigned v-hongli1 Feb 1, 2022
@joshfree
Copy link
Member

joshfree commented Feb 1, 2022

@anuchandy @conniey could you help prioritize this in the amqp standup for the next monthly release?

@v-xuto
Copy link
Member

v-xuto commented Apr 19, 2022

@joshfree @anuchandy @conniey
For this issue, we have updated the setting value of API Version from 2021-05-01 to 2021-01-01-preview in PR #26594. This modification can solve this issue and successfully deploy test resource, and the PR #26594 has been merged.

Besides, we have tested the latest API Version 2021-06-01-preview, it deploys test resource that can pass in weekly pipeline. API Version 2021-05-01 still failed to deploy test resource.

Therefore, do we need to support API Version 2021-05-01 for this issue now, or do you have other ideas about this issue? If not, maybe we can close the issue.

@v-xuto
Copy link
Member

v-xuto commented Apr 26, 2022

@anuchandy Is there anything else you need to do about this issue? If not, we will close the issue.

@anuchandy
Copy link
Member

thank you @v-xuto! this is good to close.

@github-actions github-actions bot locked and limited conversation to collaborators Apr 11, 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. needs-team-triage Workflow: This issue needs the team to triage. Service Bus test-sovereign-cloud
Projects
None yet
Development

No branches or pull requests

5 participants