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

Fix random windows CI failure #1057

Closed
wants to merge 17 commits into from
Closed

Fix random windows CI failure #1057

wants to merge 17 commits into from

Conversation

guotuofeng
Copy link
Collaborator

@guotuofeng guotuofeng commented Apr 8, 2024

Describe your changes

  1. According to https://learn.microsoft.com/en-us/azure/devops/pipelines/release/troubleshoot-workload-identity?view=azure-devops#error-messages, the AzureCLI task not work well with az account get-access-token since our CI pipelines will fail on Windows_CI_Test_Examples resnet_ptq_cpu. the error message is like:
  1. In Olive, we need only change the azure logging level if the user doesn't specify them.

Checklist before requesting a review

  • Add unit tests for this change.
  • Make sure all tests can pass.
  • Update documents if necessary.
  • Lint and apply fixes to your code by running lintrunner -a
  • Is this a user-facing change? If yes, give a description of this change to be included in the release notes.
  • Is this PR including examples changes? If yes, please remember to update example documentation in a follow-up PR.

(Optional) Issue link

examples/test/utils.py Fixed Show fixed Hide fixed
@guotuofeng guotuofeng changed the title WIP: enable azure identity logging Fix random windows CI failure Apr 8, 2024
@guotuofeng guotuofeng closed this Apr 9, 2024
@guotuofeng
Copy link
Collaborator Author

#1060 fix the issue by managed identity.

@guotuofeng guotuofeng deleted the myguo/ci_fail branch April 24, 2024 10:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant