[TypeSpec Migration] SecurityInsights 2025-09-01 - #38163
Closed
XiaofeiCao wants to merge 41 commits into
Closed
Azure Pipelines / SDK Validation - Go
failed
Feb 10, 2026 in 3m 59s
Build #20260210.9 failed
Annotations
Check failure on line 872 in Build log
azure-pipelines / SDK Validation - Go
Build log #L872
Errors occurred while generating SDK from specification/securityinsights. Follow the steps at https://aka.ms/azsdk/sdk-automation-faq#how-to-view-the-detailed-sdk-generation-errors to view detailed errors.
[ERROR] total 1 error(s):
[ERROR] failed to execute `tsp-client --prefix /mnt/vss/_work/1/s/azure-sdk-for-go/eng/common/tsp-client exec --no -- tsp-client init --update-if-exists --tsp-config /mnt/vss/_work/1/s/azure-rest-api-specs/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/SecurityInsights/tspconfig.yaml --commit 3c69f70ae1b0d6984d97734253dd5938d1d53475 --repo Azure/azure-rest-api-specs --local-spec-repo /mnt/vss/_work/1/s/azure-rest-api-specs/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/SecurityInsights --emitter-options module-version=0.1.0 --debug`
[ERROR] Error reading tsp-location.yaml: Error: ENOENT: no such file or directory, stat '/mnt/vss/_work/1/s/azure-sdk-for-go/sdk/resourcemanager/securityinsights/armsecurityinsights/tsp-location.yaml'
[ERROR] Diagnostics were reported during compilation. Use the `--debug` flag to see if there is warning diagnostic output.
[ERROR] /mnt/vss/_work/1/s/azure-sdk-for-go/sdk/resourcemanager/securityinsights/armsecurityinsights/TempTypeSpecFiles/SecurityInsights/AutomationRule.tsp:100:3 - error @azure-tools/typespec-go/InternalError: The emitter encountered an internal error during preprocessing. Please open an issue at https://github.com/Azure/autorest.go/issues and include the complete error message.
[ERROR] Error: didn't find HTTP response for kind union in method Delete
[ERROR] at ClientAdapter.adaptResponseEnvelope (file:///mnt/vss/_work/1/s/azure-sdk-for-go/sdk/resourcemanager/securityinsights/armsecurityinsights/TempTypeSpecFiles/node_modules/@azure-tools/typespec-go/src/tcgcadapter/clients.ts:1084:15)
[ERROR] at ClientAdapter.populateMethod (file:///mnt/vss/_work/1/s/azure-sdk-for-go/sdk/resourcemanager/securityinsights/armsecurityinsights/TempTypeSpecFiles/node_modules/@azure-tools/typespec-go/src/tcgcadapter/clients.ts:550:27)
[ERROR] at ClientAdapter.adaptMethod (file:///mnt/vss/_work/1/s/azure-sdk-for-go/sdk/resourcemanager/securityinsights/armsecurityinsights/TempTypeSpecFiles/node_modules/@azure-tools/typespec-go/src/tcgcadapter/clients.ts:520:10)
[ERROR] at ClientAdapter.recursiveAdaptClient (file:///mnt/vss/_work/1/s/azure-sdk-for-go/sdk/resourcemanager/securityinsights/armsecurityinsights/TempTypeSpecFiles/node_modules/@azure-tools/typespec-go/src/tcgcadapter/clients.ts:326:12)
[ERROR] at ClientAdapter.recursiveAdaptClient (file:///mnt/vss/_work/1/s/azure-sdk-for-go/sdk/resourcemanager/securityinsights/armsecurityinsights/TempTypeSpecFiles/node_modules/@azure-tools/typespec-go/src/tcgcadapter/clients.ts:318:32)
[ERROR] at ClientAdapter.adaptClients (file:///mnt/vss/_work/1/s/azure-sdk-for-go/sdk/resourcemanager/securityinsights/armsecurityinsights/TempTypeSpecFiles/node_modules/@azure-tools/typespec-go/src/tcgcadapter/clients.ts:41:14)
[ERROR] at Adapter.tcgcToGoCodeModel (file:///mnt/vss/_work/1/s/azure-sdk-for-go/sdk/resourcemanager/securityinsights/armsecurityinsights/TempTypeSpecFiles/node_modules/@azure-tools/typespec-go/src/tcgcadapter/adapter.ts:115:8)
[ERROR] Example of how to compile using the tsp commandline. NOTE: tsp-client does NOT directly run this command, results may vary:
[ERROR] npx tsp compile /mnt/vss/_work/1/s/azure-sdk-for-go/sdk/resourcemanager/securityinsights/armsecurityinsights/TempTypeSpecFiles/SecurityInsights/client.tsp --emit @azure-tools/typespec-go --option service-dir=sdk/resourcemanager/securityinsights --option emitter-output-dir=/mnt/vss/_work/1/s/azure-sdk-for-go/sdk/resourcemanager/securityinsights/armsecurityinsights --option module=github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/securityinsights/armsecurityinsights --option fix-const-stuttering=true --option flavor=azure --option generate-samples=true --option generate-fakes=true --option head-as-boolean=true --option inject-spans=true --option module-version=0.1.0
[ERROR] Failed to generate client
[ERROR] Refer to the detail errors for potential fixes.
[ERROR] If the issue persists, contact the Go language support channel at https://aka.ms/azsdk/go-lang-teams-channel and include this spec pull request.
Refer to the inner logs for details or report this issue through https://aka.ms/azsdk/support/specreview-channel.
ErrorStack: Error: [EXT-ERR] Failed to read generateOutput.json. Please check if the generate script is configured correctly.
Loading