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

[MONITOR-SPEC-PR] Net: sdk isn't existed in code repo #9486

Closed
jianingwang123 opened this issue Dec 6, 2024 · 4 comments
Closed

[MONITOR-SPEC-PR] Net: sdk isn't existed in code repo #9486

jianingwang123 opened this issue Dec 6, 2024 · 4 comments

Comments

@jianingwang123
Copy link

jianingwang123 commented Dec 6, 2024

Description

04:27:19.771 cmderr 	[.Net] Get-Content: /mnt/vss/_work/1/s/azure-sdk-for-net/eng/scripts/automation/GenerateAndBuildLib.ps1:388
04:27:19.771 cmderr 	[.Net] Line |
04:27:19.771 cmderr 	[.Net]  388 |        (Get-Content $file) -replace $rquirefileRex, "$requirefile" | S …
04:27:19.772 cmderr 	[.Net]      |         ~~~~~~~~~~~~~~~~~
04:27:19.772 cmderr 	[.Net]      | Cannot find path
04:27:19.772 cmderr 	[.Net]      | '/mnt/vss/_work/1/s/azure-sdk-for-net/sdk/dashboard/Azure.ResourceManager.Dashboard/src/autorest.md' because it does not exist.
04:27:38.799 cmdout 	[.Net] GitError : error : pathspec 'CommitId' did not match any file(s) known to git [/mnt/vss/_work/1/s/azure-sdk-for-net/sdk/dashboard/Azure.ResourceManager.Dashboard/src/Azure.ResourceManager.Dashboard.csproj]
04:27:38.799 cmdout 	[.Net]   
04:27:38.800 cmdout 	[.Net]       at Object.action (file:///mnt/vss/_work/1/s/azure-sdk-for-net/sdk/dashboard/Azure.ResourceManager.Dashboard/node_modules/simple-git/dist/esm/index.js:4462:25)
04:27:38.800 cmdout 	[.Net]       at PluginStore.exec (file:///mnt/vss/_work/1/s/azure-sdk-for-net/sdk/dashboard/Azure.ResourceManager.Dashboard/node_modules/simple-git/dist/esm/index.js:4501:25)
04:27:38.800 cmdout 	[.Net]       at file:///mnt/vss/_work/1/s/azure-sdk-for-net/sdk/dashboard/Azure.ResourceManager.Dashboard/node_modules/simple-git/dist/esm/index.js:1369:43
04:27:38.800 cmdout 	[.Net]       at new Promise (<anonymous>)
04:27:38.801 cmdout 	[.Net]       at GitExecutorChain.handleTaskData (file:///mnt/vss/_work/1/s/azure-sdk-for-net/sdk/dashboard/Azure.ResourceManager.Dashboard/node_modules/simple-git/dist/esm/index.js:1367:16)
04:27:38.801 cmdout 	[.Net]       at GitExecutorChain.<anonymous> (file:///mnt/vss/_work/1/s/azure-sdk-for-net/sdk/dashboard/Azure.ResourceManager.Dashboard/node_modules/simple-git/dist/esm/index.js:1351:44)
04:27:38.801 cmdout 	[.Net]       at Generator.next (<anonymous>)
04:27:38.801 cmdout 	[.Net]       at fulfilled (file:///mnt/vss/_work/1/s/azure-sdk-for-net/sdk/dashboard/Azure.ResourceManager.Dashboard/node_modules/simple-git/dist/esm/index.js:45:24)
04:27:38.802 cmdout 	[.Net]       at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
04:27:38.802 cmdout 	[.Net]     task: {
04:27:38.802 cmdout 	[.Net]       commands: [ 'checkout', 'CommitId' ],
04:27:38.802 cmdout 	[.Net]       format: 'utf-8',
04:27:38.802 cmdout 	[.Net]       parser: [Function: parser]
04:27:38.803 cmdout 	[.Net]     }
04:27:38.803 cmdout 	[.Net]   }
04:27:38.803 cmdout 	[.Net] /home/cloudtest/.nuget/packages/microsoft.azure.autorest.csharp/3.0.0-beta.20241025.1/buildMultiTargeting/Microsoft.Azure.AutoRest.CSharp.targets(65,5): error MSB3073: The command "npx --no-install --package=@azure-tools/typespec-client-generator-cli --yes tsp-client update --no-prompt --output-dir /mnt/vss/_work/1/s/azure-sdk-for-net/sdk/dashboard/Azure.ResourceManager.Dashboard/src/../    " exited with code 1. [/mnt/vss/_work/1/s/azure-sdk-for-net/sdk/dashboard/Azure.ResourceManager.Dashboard/src/Azure.ResourceManager.Dashboard.csproj]
04:27:38.805 cmdout 	[.Net] Build FAILED.
04:27:38.805 cmdout 	[.Net] GitError : error : pathspec 'CommitId' did not match any file(s) known to git [/mnt/vss/_work/1/s/azure-sdk-for-net/sdk/dashboard/Azure.ResourceManager.Dashboard/src/Azure.ResourceManager.Dashboard.csproj]
04:27:38.805 cmdout 	[.Net] /home/cloudtest/.nuget/packages/microsoft.azure.autorest.csharp/3.0.0-beta.20241025.1/buildMultiTargeting/Microsoft.Azure.AutoRest.CSharp.targets(65,5): error MSB3073: The command "npx --no-install --package=@azure-tools/typespec-client-generator-cli --yes tsp-client update --no-prompt --output-dir /mnt/vss/_work/1/s/azure-sdk-for-net/sdk/dashboard/Azure.ResourceManager.Dashboard/src/../    " exited with code 1. [/mnt/vss/_work/1/s/azure-sdk-for-net/sdk/dashboard/Azure.ResourceManager.Dashboard/src/Azure.ResourceManager.Dashboard.csproj]
04:27:38.806 cmdout 	[.Net]     0 Warning(s)
04:27:38.806 cmdout 	[.Net]     2 Error(s)
04:27:38.806 cmdout 	[.Net] Time Elapsed 00:00:18.76
04:27:38.845 cmdout E 	[.Net] [ERROR] Failed to generate sdk for package:Azure.ResourceManager.Dashboard. Exit code: False.
04:27:38.845 cmdout E 	[.Net] [ERROR] Please review the detail errors for potential fixes.
04:27:38.845 cmdout E 	[.Net] [ERROR] If the issue persists, contact the DotNet language support channel at https://aka.ms/azsdk/donet-teams-channel and include this spec pull request.
04:27:38.848 cmdout 	[.Net] specName: dashboard, serviceType: resource-manager
04:27:39.369 cmdout 	[.Net] Updating autorest.md files for all the changed swaggers.
04:27:39.854 error 	Script return with result [failed] code [0] signal [null] cwd [azure-sdk-for-net]: pwsh ./eng/scripts/Invoke-GenerateAndBuildV2.ps1
04:27:39.854 endsection 	Call generateScript

Additional context:
Azure/azure-rest-api-specs#31419

@wanlwanl
Copy link
Member

management-plane scaffolding only typespec.
Has no decision if this is green field or brown field.
Please correct me if I'm wrong. @josefree

@wanlwanl
Copy link
Member

Tracked in Azure/azure-sdk-for-net#46862

@wanlwanl wanlwanl removed their assignment Dec 25, 2024
@wanlwanl
Copy link
Member

close it due to dup to Azure/azure-sdk-for-net#46862

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

No branches or pull requests

3 participants