Skip to content

[Storage] Added breaking change warning message for upcoming cmdlet output change#12846

Closed
blueww wants to merge 1 commit intoAzure:masterfrom
wastoresh:warn
Closed

[Storage] Added breaking change warning message for upcoming cmdlet output change#12846
blueww wants to merge 1 commit intoAzure:masterfrom
wastoresh:warn

Conversation

@blueww
Copy link
Member

@blueww blueww commented Sep 3, 2020

Description

Checklist

  • I have read the Submitting Changes section of CONTRIBUTING.md
  • The title of the PR is clear and informative
  • The appropriate ChangeLog.md file(s) has been updated:
    • For any service, the ChangeLog.md file can be found at src/{{SERVICE}}/{{SERVICE}}/ChangeLog.md
    • A snippet outlining the change(s) made in the PR should be written under the ## Upcoming Release header -- no new version header should be added
  • The PR does not introduce breaking changes
  • If applicable, the changes made in the PR have proper test coverage
  • For public API changes to cmdlets:
    • a cmdlet design review was approved for the changes in this repository (Microsoft internal only)
    • the markdown help files have been regenerated using the commands listed here

@blueww blueww changed the title [Storage] Added breaking change warning message for upcoming cmdlet o… [Storage] Added breaking change warning message for upcoming cmdlet output change Sep 3, 2020
@blueww
Copy link
Member Author

blueww commented Sep 4, 2020

/azp run

@azure-pipelines
Copy link
Contributor

Azure Pipelines successfully started running 3 pipeline(s).

@blueww
Copy link
Member Author

blueww commented Sep 4, 2020

It seems the CI failure is not related with my code change, rerun it.

2020-09-03T09:07:30.5451823Z System.Management.Automation.RuntimeException : Test failed due to a non-empty error stream. First error : PowerShell Error Record: The specified module 'D:\a\1\s\artifacts\Debug\Az.KeyVault\Az.KeyVault.psd1' was not loaded because no valid module file was found in any module directory. [D:\a\1\s\build.proj]
2020-09-03T09:07:30.5453414Z Exception:System.IO.FileNotFoundException: The specified module 'D:\a\1\s\artifacts\Debug\Az.KeyVault\Az.KeyVault.psd1' was not loaded because no valid module file was found in any module directory.
2020-09-03T09:07:30.5453919Z Details:
2020-09-03T09:07:30.5454186Z Script Stack Trace: at , : line 1
2020-09-03T09:07:30.5454517Z : Target: D:\a\1\s\artifacts\Debug\Az.KeyVault\Az.KeyVault.psd1

@blueww
Copy link
Member Author

blueww commented Sep 4, 2020

/azp run

@azure-pipelines
Copy link
Contributor

Azure Pipelines successfully started running 3 pipeline(s).

@blueww
Copy link
Member Author

blueww commented Sep 4, 2020

@msJinLei
Would you please help to look at the CI failure?
I only added several warning message in storage cmdlets, should can't caused following test failure。
Do you have any idea how to fix it?
Thanks!

2020-09-04T12:45:21.8382561Z Exception:System.IO.FileNotFoundException: The specified module '/home/vsts/work/1/s/artifacts/Debug/Az.KeyVault/Az.KeyVault.psd1' was not loaded because no valid module file was found in any module directory.
2020-09-04T12:45:21.8450706Z Details:
2020-09-04T12:45:21.8451318Z Script Stack Trace: at , : line 1
2020-09-04T12:45:21.8451905Z : Target: /home/vsts/work/1/s/artifacts/Debug/Az.KeyVault/Az.KeyVault.psd1
2020-09-04T12:45:21.8452425Z Check the error stream in the test log for additional errors.
2020-09-04T12:45:21.8453182Z at Microsoft.WindowsAzure.Commands.ScenarioTest.EnvironmentSetupHelper.RunPowerShellTest(String[] scripts) in /home/vsts/work/1/s/tools/ScenarioTest.ResourceManager/EnvironmentSetupHelper.cs:line 580
2020-09-04T12:45:21.8454870Z Message : Test failed due to a non-empty error stream. First error : PowerShell Error Record: The specified module '/home/vsts/work/1/s/artifacts/Debug/Az.KeyVault/Az.KeyVault.psd1' was not loaded because no valid module file was found in any module directory. [/home/vsts/work/1/s/build.proj]

@blueww
Copy link
Member Author

blueww commented Sep 7, 2020

/azp run

@azure-pipelines
Copy link
Contributor

Azure Pipelines successfully started running 3 pipeline(s).

@blueww
Copy link
Member Author

blueww commented Sep 8, 2020

@msJinLei
I have rebased the code to latest master branch, but CI still fail with same error.
Would you please help to look?

@msJinLei msJinLei self-assigned this Sep 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants