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] [KEEP] Emitter "@azure-tools/typespec-csharp" crashed #9555

Open
jianingwang123 opened this issue Dec 18, 2024 · 1 comment

Comments

@jianingwang123
Copy link

jianingwang123 commented Dec 18, 2024

Description:
ExternalError: Emitter "@azure-tools/typespec-csharp" crashed!

Additional context:
link1: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=4404510&view=logs&j=03afb3bb-7296-55ad-aa07-ceee610c73b2&t=0f320c29-1c90-5304-d2d3-c58a6bb76437&l=225

11:31:01.920 cmderr 	[.Net] ExternalError: Emitter "@azure-tools/typespec-csharp" crashed! This is a bug.
11:31:01.920 cmderr 	[.Net] Please file an issue at https://github.com/Azure/autorest.csharp/issues
11:31:01.921 cmderr 	[.Net] Error: Command failed: dotnet --roll-forward Major /mnt/vss/_work/1/s/azure-sdk-for-net/sdk/documentintelligence/Azure.AI.DocumentIntelligence/TempTypeSpecFiles/node_modules/@autorest/csharp/AutoRest.CSharp.dll --project-path /mnt/vss/_work/1/s/azure-sdk-for-net/sdk/documentintelligence/Azure.AI.DocumentIntelligence   --clear-output-folder false
11:31:01.921 cmderr 	[.Net]     at checkExecSyncError (node:child_process:890:11)
11:31:01.921 cmderr 	[.Net]     at execSync (node:child_process:962:15)
11:31:01.921 cmderr 	[.Net]     at Object.$onEmit [as emitFunction] (file:///mnt/vss/_work/1/s/azure-sdk-for-net/sdk/documentintelligence/Azure.AI.DocumentIntelligence/TempTypeSpecFiles/node_modules/@azure-tools/typespec-csharp/dist/src/emitter.js:75:13)
11:31:01.921 cmderr 	[.Net]     at async runEmitter (file:///mnt/vss/_work/1/s/azure-sdk-for-net/sdk/documentintelligence/Azure.AI.DocumentIntelligence/TempTypeSpecFiles/node_modules/@typespec/compiler/dist/src/core/program.js:366:13)
11:31:01.922 cmderr 	[.Net]     at async compile (file:///mnt/vss/_work/1/s/azure-sdk-for-net/sdk/documentintelligence/Azure.AI.DocumentIntelligence/TempTypeSpecFiles/node_modules/@typespec/compiler/dist/src/core/program.js:123:9)
11:31:01.924 cmderr 	[.Net]     at async compileTsp (file:///home/cloudtest/.npm/_npx/6d3fef9cb048a1df/node_modules/@azure-tools/typespec-client-generator-cli/dist/typespec.js:97:21)
11:31:01.924 cmderr 	[.Net]     at async generateCommand (file:///home/cloudtest/.npm/_npx/6d3fef9cb048a1df/node_modules/@azure-tools/typespec-client-generator-cli/dist/commands.js:248:35)
11:31:01.924 cmderr 	[.Net]     at async initCommand (file:///home/cloudtest/.npm/_npx/6d3fef9cb048a1df/node_modules/@azure-tools/typespec-client-generator-cli/dist/commands.js:125:9)
11:31:01.925 cmderr 	[.Net]     at async Object.handler (file:///home/cloudtest/.npm/_npx/6d3fef9cb048a1df/node_modules/@azure-tools/typespec-client-generator-cli/dist/index.js:98:5)

link2: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=4416322&view=logs&j=03afb3bb-7296-55ad-aa07-ceee610c73b2&t=0f320c29-1c90-5304-d2d3-c58a6bb76437&l=213

08:47:56.230 cmderr 	[.Net] ExternalError: Emitter "@azure-tools/typespec-csharp" crashed! This is a bug.
08:47:56.230 cmderr 	[.Net] Please file an issue at https://github.com/Azure/autorest.csharp/issues
08:47:56.231 cmderr 	[.Net] Error: Command failed: dotnet --roll-forward Major /mnt/vss/_work/1/s/azure-sdk-for-net/sdk/standbypool/Azure.ResourceManager.StandbyPool/TempTypeSpecFiles/node_modules/@autorest/csharp/AutoRest.CSharp.dll --project-path /mnt/vss/_work/1/s/azure-sdk-for-net/sdk/standbypool/Azure.ResourceManager.StandbyPool   --clear-output-folder true
08:47:56.231 cmderr 	[.Net]     at checkExecSyncError (node:child_process:890:11)
08:47:56.231 cmderr 	[.Net]     at execSync (node:child_process:962:15)
08:47:56.231 cmderr 	[.Net]     at Object.$onEmit [as emitFunction] (file:///mnt/vss/_work/1/s/azure-sdk-for-net/sdk/standbypool/Azure.ResourceManager.StandbyPool/TempTypeSpecFiles/node_modules/@azure-tools/typespec-csharp/dist/src/emitter.js:75:13)
08:47:56.232 cmderr 	[.Net]     at async runEmitter (file:///mnt/vss/_work/1/s/azure-sdk-for-net/sdk/standbypool/Azure.ResourceManager.StandbyPool/TempTypeSpecFiles/node_modules/@typespec/compiler/dist/src/core/program.js:366:13)
08:47:56.232 cmderr 	[.Net]     at async compile (file:///mnt/vss/_work/1/s/azure-sdk-for-net/sdk/standbypool/Azure.ResourceManager.StandbyPool/TempTypeSpecFiles/node_modules/@typespec/compiler/dist/src/core/program.js:123:9)
08:47:56.232 cmderr 	[.Net]     at async compileTsp (file:///home/cloudtest/.npm/_npx/6d3fef9cb048a1df/node_modules/@azure-tools/typespec-client-generator-cli/dist/typespec.js:97:21)
08:47:56.233 cmderr 	[.Net]     at async generateCommand (file:///home/cloudtest/.npm/_npx/6d3fef9cb048a1df/node_modules/@azure-tools/typespec-client-generator-cli/dist/commands.js:248:35)
08:47:56.233 cmderr 	[.Net]     at async initCommand (file:///home/cloudtest/.npm/_npx/6d3fef9cb048a1df/node_modules/@azure-tools/typespec-client-generator-cli/dist/commands.js:125:9)
08:47:56.233 cmderr 	[.Net]     at async Object.handler (file:///home/cloudtest/.npm/_npx/6d3fef9cb048a1df/node_modules/@azure-tools/typespec-client-generator-cli/dist/index.js:98:5)

link3: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=4422805&view=logs&j=03afb3bb-7296-55ad-aa07-ceee610c73b2&t=0f320c29-1c90-5304-d2d3-c58a6bb76437&l=211

09:25:34.928 cmderr 	[.Net] ExternalError: Emitter "@azure-tools/typespec-csharp" crashed! This is a bug.
09:25:34.928 cmderr 	[.Net] Please file an issue at https://github.com/Azure/autorest.csharp/issues
09:25:34.929 cmderr 	[.Net] Error: Command failed: dotnet --roll-forward Major /mnt/vss/_work/1/s/azure-sdk-for-net/sdk/qumulo/Azure.ResourceManager.Qumulo/TempTypeSpecFiles/node_modules/@autorest/csharp/AutoRest.CSharp.dll --project-path /mnt/vss/_work/1/s/azure-sdk-for-net/sdk/qumulo/Azure.ResourceManager.Qumulo   --clear-output-folder true
09:25:34.929 cmderr 	[.Net]     at checkExecSyncError (node:child_process:890:11)
09:25:34.929 cmderr 	[.Net]     at execSync (node:child_process:962:15)
09:25:34.929 cmderr 	[.Net]     at Object.$onEmit [as emitFunction] (file:///mnt/vss/_work/1/s/azure-sdk-for-net/sdk/qumulo/Azure.ResourceManager.Qumulo/TempTypeSpecFiles/node_modules/@azure-tools/typespec-csharp/dist/src/emitter.js:75:13)
09:25:34.929 cmderr 	[.Net]     at async runEmitter (file:///mnt/vss/_work/1/s/azure-sdk-for-net/sdk/qumulo/Azure.ResourceManager.Qumulo/TempTypeSpecFiles/node_modules/@typespec/compiler/dist/src/core/program.js:366:13)
09:25:34.930 cmderr 	[.Net]     at async compile (file:///mnt/vss/_work/1/s/azure-sdk-for-net/sdk/qumulo/Azure.ResourceManager.Qumulo/TempTypeSpecFiles/node_modules/@typespec/compiler/dist/src/core/program.js:123:9)
09:25:34.930 cmderr 	[.Net]     at async compileTsp (file:///home/cloudtest/.npm/_npx/6d3fef9cb048a1df/node_modules/@azure-tools/typespec-client-generator-cli/dist/typespec.js:97:21)
09:25:34.930 cmderr 	[.Net]     at async generateCommand (file:///home/cloudtest/.npm/_npx/6d3fef9cb048a1df/node_modules/@azure-tools/typespec-client-generator-cli/dist/commands.js:248:35)
09:25:34.930 cmderr 	[.Net]     at async initCommand (file:///home/cloudtest/.npm/_npx/6d3fef9cb048a1df/node_modules/@azure-tools/typespec-client-generator-cli/dist/commands.js:125:9)
09:25:34.930 cmderr 	[.Net]     at async Object.handler (file:///home/cloudtest/.npm/_npx/6d3fef9cb048a1df/node_modules/@azure-tools/typespec-client-generator-cli/dist/index.js:98:5)

link4: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=4467263&view=logs&j=03afb3bb-7296-55ad-aa07-ceee610c73b2&t=0f320c29-1c90-5304-d2d3-c58a6bb76437&l=323

07:41:57.125 cmderr 	[.Net] ExternalError: Emitter "@azure-tools/typespec-csharp" crashed! This is a bug.
07:41:57.125 cmderr 	[.Net] Please file an issue at https://github.com/Azure/autorest.csharp/issues
07:41:57.126 cmderr 	[.Net] Error: Command failed: dotnet --roll-forward Major /mnt/vss/_work/1/s/azure-sdk-for-net/sdk/playwrighttesting/Azure.ResourceManager.PlaywrightTesting/TempTypeSpecFiles/node_modules/@autorest/csharp/AutoRest.CSharp.dll --project-path /mnt/vss/_work/1/s/azure-sdk-for-net/sdk/playwrighttesting/Azure.ResourceManager.PlaywrightTesting   --clear-output-folder true
07:41:57.126 cmderr 	[.Net]     at checkExecSyncError (node:child_process:890:11)
07:41:57.126 cmderr 	[.Net]     at execSync (node:child_process:962:15)
07:41:57.126 cmderr 	[.Net]     at Object.$onEmit [as emitFunction] (file:///mnt/vss/_work/1/s/azure-sdk-for-net/sdk/playwrighttesting/Azure.ResourceManager.PlaywrightTesting/TempTypeSpecFiles/node_modules/@azure-tools/typespec-csharp/dist/src/emitter.js:75:13)
07:41:57.126 cmderr 	[.Net]     at async runEmitter (file:///mnt/vss/_work/1/s/azure-sdk-for-net/sdk/playwrighttesting/Azure.ResourceManager.PlaywrightTesting/TempTypeSpecFiles/node_modules/@typespec/compiler/dist/src/core/program.js:366:13)
07:41:57.127 cmderr 	[.Net]     at async compile (file:///mnt/vss/_work/1/s/azure-sdk-for-net/sdk/playwrighttesting/Azure.ResourceManager.PlaywrightTesting/TempTypeSpecFiles/node_modules/@typespec/compiler/dist/src/core/program.js:123:9)
07:41:57.127 cmderr 	[.Net]     at async compileTsp (file:///home/cloudtest/.npm/_npx/6d3fef9cb048a1df/node_modules/@azure-tools/typespec-client-generator-cli/dist/typespec.js:106:21)
07:41:57.127 cmderr 	[.Net]     at async generateCommand (file:///home/cloudtest/.npm/_npx/6d3fef9cb048a1df/node_modules/@azure-tools/typespec-client-generator-cli/dist/commands.js:248:35)
07:41:57.127 cmderr 	[.Net]     at async initCommand (file:///home/cloudtest/.npm/_npx/6d3fef9cb048a1df/node_modules/@azure-tools/typespec-client-generator-cli/dist/commands.js:125:9)
07:41:57.127 cmderr 	[.Net]     at async Object.handler (file:///home/cloudtest/.npm/_npx/6d3fef9cb048a1df/node_modules/@azure-tools/typespec-client-generator-cli/dist/index.js:98:5)
07:41:57.127 cmderr 	[.Net] --------------------------------------------------
07:41:57.127 cmderr 	[.Net] Library Version                0.2.0-beta.20250109.1
07:41:57.128 cmderr 	[.Net] TypeSpec Compiler Version      0.63.0
07:41:57.128 cmderr 	[.Net] --------------------------------------------------

link5: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=4473023&view=logs&j=03afb3bb-7296-55ad-aa07-ceee610c73b2&t=0f320c29-1c90-5304-d2d3-c58a6bb76437&l=214

05:21:56.364 cmderr 	[.Net] ExternalError: Emitter "@azure-tools/typespec-csharp" crashed! This is a bug.
05:21:56.364 cmderr 	[.Net] Please file an issue at https://github.com/Azure/autorest.csharp/issues
05:21:56.365 cmderr 	[.Net] Error: Command failed: dotnet --roll-forward Major /mnt/vss/_work/1/s/azure-sdk-for-net/sdk/chaos/Azure.ResourceManager.Chaos/TempTypeSpecFiles/node_modules/@autorest/csharp/AutoRest.CSharp.dll --project-path /mnt/vss/_work/1/s/azure-sdk-for-net/sdk/chaos/Azure.ResourceManager.Chaos   --clear-output-folder true
05:21:56.365 cmderr 	[.Net]     at checkExecSyncError (node:child_process:890:11)
05:21:56.365 cmderr 	[.Net]     at execSync (node:child_process:962:15)
05:21:56.366 cmderr 	[.Net]     at Object.$onEmit [as emitFunction] (file:///mnt/vss/_work/1/s/azure-sdk-for-net/sdk/chaos/Azure.ResourceManager.Chaos/TempTypeSpecFiles/node_modules/@azure-tools/typespec-csharp/dist/src/emitter.js:75:13)
05:21:56.366 cmderr 	[.Net]     at async runEmitter (file:///mnt/vss/_work/1/s/azure-sdk-for-net/sdk/chaos/Azure.ResourceManager.Chaos/TempTypeSpecFiles/node_modules/@typespec/compiler/dist/src/core/program.js:366:13)
05:21:56.366 cmderr 	[.Net]     at async compile (file:///mnt/vss/_work/1/s/azure-sdk-for-net/sdk/chaos/Azure.ResourceManager.Chaos/TempTypeSpecFiles/node_modules/@typespec/compiler/dist/src/core/program.js:123:9)
05:21:56.366 cmderr 	[.Net]     at async compileTsp (file:///home/cloudtest/.npm/_npx/6d3fef9cb048a1df/node_modules/@azure-tools/typespec-client-generator-cli/dist/typespec.js:106:21)
05:21:56.366 cmderr 	[.Net]     at async generateCommand (file:///home/cloudtest/.npm/_npx/6d3fef9cb048a1df/node_modules/@azure-tools/typespec-client-generator-cli/dist/commands.js:248:35)
05:21:56.367 cmderr 	[.Net]     at async initCommand (file:///home/cloudtest/.npm/_npx/6d3fef9cb048a1df/node_modules/@azure-tools/typespec-client-generator-cli/dist/commands.js:125:9)
05:21:56.367 cmderr 	[.Net]     at async Object.handler (file:///home/cloudtest/.npm/_npx/6d3fef9cb048a1df/node_modules/@azure-tools/typespec-client-generator-cli/dist/index.js:98:5)
05:21:56.367 cmderr 	[.Net] --------------------------------------------------
05:21:56.367 cmderr 	[.Net] Library Version                0.2.0-beta.20250109.1
05:21:56.367 cmderr 	[.Net] TypeSpec Compiler Version      0.63.0
05:21:56.367 cmderr 	[.Net] --------------------------------------------------
@wanlwanl
Copy link
Member

@chunyu3 could you take a look at the crash?

@jianingwang123 jianingwang123 changed the title [MONITOR-SPEC-PR] Emitter "@azure-tools/typespec-csharp" crashed [MONITOR-SPEC-PR] [KEEP] Emitter "@azure-tools/typespec-csharp" crashed Jan 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Backlog
Development

No branches or pull requests

3 participants