Azure / Azure/azure-sdk-tools

[MONITOR-SPEC-PR]Artifact folder not found

Open
#9,519 4 comments 0 reactions 2 assignees Assigned to @haiyuazhang View on GitHub
Automation Tool SpecMonitor - Pipeline - .Net
Dominant language
C#
Stars
135
Forks
260
Avg merge
3d 1h
Merged PRs (30d)
143

Description

**Description:**
Artifact folder not found for artifacts/packages/Release/Azure.Messaging.EventGridV2.
```
10:05:26.558 cmdout E [.Net] [ERROR] Artifact folder not found for artifacts/packages/Release/Azure.Messaging.EventGridV2.
10:05:26.558 cmdout E [.Net] [ERROR] Please review the detail errors for potential fixes.
10:05:26.558 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.
10:05:26.558 cmdout E [.Net] [ERROR] Failed to generate sdk artifact. Please review the detail errors for potential fixes.
10:05:26.558 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.
```
```
10:02:47.160 cmdout [.Net] warning | Transform/DirectiveCodeError | Directive with 'where' clause '$.definitions' failed to execute transformation in path 'definitions':
10:02:47.160 cmdout [.Net]
10:02:47.161 cmdout [.Net] | $.ResourceActionCancelData["x-ms-client-name"] = "ResourceActionCancelEventData"; $.ResourceActionFailureData["x-ms-client-name"] = "ResourceActionFailureEventData"; $.ResourceActionSuccessData["x-ms-client-name"] = "ResourceActionSuccessEventData"; $.ResourceDeleteCancelData["x-ms-client-name"] = "ResourceDeleteCancelEventData"; $.ResourceDeleteFailureData["x-ms-client-name"] = "ResourceDeleteFailureEventData"; $.ResourceDeleteSuccessData["x-ms-client-name"] = "ResourceDeleteSuccessEventData"; $.ResourceWriteCancelData["x-ms-client-name"] = "ResourceWriteCancelEventData"; $.ResourceWriteFailureData["x-ms-client-name"] = "ResourceWriteFailureEventData"; $.ResourceWriteSuccessData["x-ms-client-name"] = "ResourceWriteSuccessEventData";
10:02:47.161 cmdout [.Net]
10:02:47.161 cmdout [.Net]
10:02:47.162 cmdout [.Net] 'Cannot set properties of undefined (setting 'x-ms-client-name')'
10:02:47.169 cmdout [.Net] warning | Transform/DirectiveCodeError | Directive with 'where' clause '$.definitions' failed to execute transformation in path 'definitions':
10:02:47.169 cmdout [.Net]
10:02:47.169 cmdout [.Net] | $.RedisExportRDBCompletedEventData["x-ms-client-name"] = "RedisExportRdbCompletedEventData"; $.RedisImportRDBCompletedEventData["x-ms-client-name"] = "RedisImportRdbCompletedEventData";
10:02:47.169 cmdout [.Net]
10:02:47.169 cmdout [.Net]
10:02:47.169 cmdout [.Net] 'Cannot set properties of undefined (setting 'x-ms-client-name')'
10:02:47.184 cmdout [.Net] warning | Transform/DirectiveCodeError | Directive with 'where' clause '$.definitions' failed to execute transformation in path 'definitions':
```

```
10:05:42.697 cmderr [.Net] MethodInvocationException: /mnt/vss/_work/1/s/azure-sdk-for-net/eng/scripts/automation/GenerateAndBuildLib.ps1:899
10:05:42.697 cmderr [.Net] Line |
10:05:42.698 cmderr [.Net] 899 | $csproj.Load($projectFile)
10:05:42.698 cmderr [.Net] | ~~~~~~~~~~~~~~~~~~~~~~~~~~
10:05:42.698 cmderr [.Net] | Exception calling "Load" with "1" argument(s): "Could not find file
10:05:42.698 cmderr [.Net] | '/mnt/vss/_work/1/s/azure-sdk-for-net/sdk/eventgrid/Azure.Messaging.EventGridV2/src/Azure.Messaging.EventGridV2.csproj'."
10:05:42.854 error Script return with result [failed] code [0] signal [null] cwd [azure-sdk-for-net]: pwsh ./eng/scripts/Invoke-GenerateAndBuildV2.ps1
10:05:42.854 endsection Call generateScript
10:05:42.854 info Read temp file azure-sdk-for-net_tmp/generateOutput.json with content:
10:05:42.855 info {
"packages": [
{
"version": "4.29.0-beta.1",
"result": "succeeded",
"artifacts": [
"./artifacts/packages/Release/Azure.Messaging.EventGrid/Azure.Messaging.EventGrid.4.29.0-alpha.20241209.1.nupkg"
],
```

**Additional context:**
link1:
https://github.com/Azure/azure-rest-api-specs/pull/31801/checks?check_run_id=34157979501
link2:
https://dev.azure.com/azure-sdk/internal/_build/results?buildId=4397070&view=logs&j=03afb3bb-7296-55ad-aa07-ceee610c73b2&t=0f320c29-1c90-5304-d2d3-c58a6bb76437&l=1224

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.