Error while creating CI/CD pipeline in Azure for a UiPath project

Dear Community,

I am facing some issues with Azure CI/CD Pipeline for a UiPath project

So I have a project with separate dispatcher and performer. in Azure devops repository and pipeline have been created. Once i push a new version the pipeline is automatically updated. I have created a release in order to create and update the version automatically in orchestrator. But during the step UiPath deploy for the performer i am facing the following error:

2024-06-11T07:09:11.8545748Z ##[section]Starting: UiPath Deploy
2024-06-11T07:09:11.8687478Z ==============================================================================
2024-06-11T07:09:11.8687699Z Task : UiPath Deploy
2024-06-11T07:09:11.8687774Z Description : Deploys a UiPath NuGet package onto UiPath Orchestrator.
2024-06-11T07:09:11.8687881Z Version : 4.2.5875113
2024-06-11T07:09:11.8687950Z Author : UiPath
**2024-06-11T07:09:11.8688569Z Help : **
2024-06-11T07:09:11.8688643Z ==============================================================================
2024-06-11T07:09:12.1978432Z cli selected WIN_23.10.8894.39673
2024-06-11T07:09:12.2079105Z Found tool in cache: uipcli 23.10.8894-39673 x64
2024-06-11T07:09:12.2130780Z cli selected WIN_23.10.8894.39673
2024-06-11T07:09:12.2204132Z Found tool in cache: uipcli 23.10.8894-39673 x64
2024-06-11T07:09:12.2206950Z cli selected WIN_23.10.8894.39673
2024-06-11T07:09:12.2282171Z [command]“C:\Program Files\dotnet\dotnet.exe” “C:\vsts-agent-win-x64-3.232.3 (2)_work_tool\uipcli\23.10.8894-39673\x64\uipcli.dll” --version
2024-06-11T07:09:12.5605366Z uipcli 23.10.0
2024-06-11T07:09:12.5605805Z Copyright (C) 2024 UiPath
**2024-06-11T07:09:12.5605951Z **
2024-06-11T07:09:12.5606317Z --help Display this help screen.
**2024-06-11T07:09:12.5607661Z **
2024-06-11T07:09:12.5607994Z --version Display version information.
**2024-06-11T07:09:12.5608156Z **
**2024-06-11T07:09:12.5608292Z **
2024-06-11T07:09:12.5748942Z Uipcli args contents: {“type”:“DeployOptions”,“options”:{“packagesPath”:“C:\vsts-agent-win-x64-3.232.3 (2)\_work\r17\a\_PDE0003_GlobalStoreManagement_Performer_Pipeline\drop\Output”,“orchestratorUrl”:“https://azras021.mypuma.net/“,“orchestratorTenant”:”***“,“organizationUnit”:“EUROPE/Germany/IT”,“environments”:null,“username”:”“,“password”:”“,“accountName”:”“,“refreshToken”:”“,“accountForApp”:”“,“applicationId”:”***“,“applicationSecret”:***,“applicationScope”:”***“,“language”:“en-US”,“traceLevel”:“Information”,“entryPointPaths”:[“Main.xaml”],“telemetryOrigin”:“Azure”,“createProcess”:true,“pipelineCorrelationId”:“2f8b104d-318e-4020-a119-1ef955e20aec7fd4aa81-eb01-4690-8d84-0b4d0e3dc6132081”,“extensionClientOrganizationId”:“2f8b104d-318e-4020-a119-1ef955e20aec”,“extensionClientProjectId”:“7fd4aa81-eb01-4690-8d84-0b4d0e3dc613”,“telemetryOriginVersion”:“4.2.5875113”,“cliGetFlow”:“CachedTool”,“authorizationUrl”:””}}
2024-06-11T07:09:12.5756718Z cli selected WIN_23.10.8894.39673
2024-06-11T07:09:12.5833834Z [command]“C:\Program Files\dotnet\dotnet.exe” “C:\vsts-agent-win-x64-3.232.3 (2)_work_tool\uipcli\23.10.8894-39673\x64\uipcli.dll” run “C:\vsts-agent-win-x64-3.232.3 (2)_work_tasks\UiPathDeploy_72167370-9f1d-47d5-be00-6f2554c20001\4.2.5875113\DeployOptions.json”
2024-06-11T07:09:13.0771013Z uipcli: Data collection is enabled. For more information, please visit Automation Ops - UiPath CLI
2024-06-11T07:09:14.5375828Z uipcli Information: 0 : Deploying package PDE0003_GlobalStoreManagement_Performer.1.0.0 to tenant *** on https://azras021.mypuma.net/
2024-06-11T07:09:14.6609747Z FeedId for FolderId 35: .
2024-06-11T07:09:14.6619637Z uipcli Information: 0 : Deploying project(s) C:\vsts-agent-win-x64-3.232.3 (2)_work\r17\a_PDE0003_GlobalStoreManagement_Performer_Pipeline\drop\Output\PDE0003_GlobalStoreManagement_Performer.1.0.0.nupkg to https://azras021.mypuma.net/ and tenant *** to Package feed.
2024-06-11T07:09:14.9302767Z System.InvalidOperationException: Microsoft.Rest.HttpOperationException: Operation returned an invalid status code ‘InternalServerError’
2024-06-11T07:09:14.9303569Z at UiPath.Web.Client20_4.Processes.UploadPackageWithHttpMessagesAsync(Stream file, Nullable1 feedId, Stream file1, Stream file2, Stream file3, Stream file4, Stream file5, Stream file6, Stream file7, Stream file8, Stream file9, Dictionary2 customHeaders, CancellationToken cancellationToken)
2024-06-11T07:09:14.9304004Z at UiPath.Orchestrator.Client.Util.ExceptionsHandler.RunWithFriendlyExceptionMessages[T](Func1 func)** **2024-06-11T07:09:14.9305847Z {"message":"An error has occurred.","errorCode":0,"traceId":"00-8abda6a66308520d07578eff4dee3304-bb07b5b802814bcd-00","resourceIds":null}** **2024-06-11T07:09:14.9306145Z at UiPath.Orchestrator.Client.Util.ExceptionsHandler.RunWithFriendlyExceptionMessages[T](Func1 func)
2024-06-11T07:09:14.9306447Z at UiPath.Orchestrator.Client.Endpoints.Processes.UploadPackagesAsync(List1 files, Nullable1 feedId, Dictionary2 customHeaders, CancellationToken cancellationToken)** **2024-06-11T07:09:14.9306945Z at UiPath.CommandLine.Services.Impl.DeployService.UploadPackage(String correlationId, IOrchestratorClient client, String packagePath, PackageType packageType, String orchestratorUrl, String orchestratorTenant) in C:\ao-ag-334badc1-we\_work\1\s\UiPath.Extensions.CommandLine.Core\Services\Impl\DeployService.cs:line 165** **2024-06-11T07:09:14.9307467Z at UiPath.CommandLine.Services.Impl.DeployService.<>c__DisplayClass5_0.<<UploadPackageAsync>b__0>d.MoveNext() in C:\ao-ag-334badc1-we\_work\1\s\UiPath.Extensions.CommandLine.Core\Services\Impl\DeployService.cs:line 106** **2024-06-11T07:09:14.9307931Z --- End of stack trace from previous location ---** **2024-06-11T07:09:14.9308385Z at UiPath.CommandLine.Extensions.EnumerableExtensions.<>c__DisplayClass0_02.<b__2>d.MoveNext() in C:\ao-ag-334badc1-we_work\1\s\UiPath.Extensions.CommandLine.Core\Extensions\EnumerableExtensions.cs:line 23
2024-06-11T07:09:14.9308871Z — End of stack trace from previous location —
2024-06-11T07:09:14.9309494Z at UiPath.CommandLine.Extensions.EnumerableExtensions.SelectParallel[TIn,TOut](IEnumerable1 inputList, Func2 function, Int32 numberOfObjectsInParallel, CancellationToken token) in C:\ao-ag-334badc1-we_work\1\s\UiPath.Extensions.CommandLine.Core\Extensions\EnumerableExtensions.cs:line 0
2024-06-11T07:09:14.9310360Z at UiPath.CommandLine.Services.Impl.DeployService.Run(DeployOptions options) in C:\ao-ag-334badc1-we_work\1\s\UiPath.Extensions.CommandLine.Core\Services\Impl\DeployService.cs:line 48
2024-06-11T07:09:14.9311086Z at UiPath.CommandLine.Services.Impl.OptionsParser.<>c__DisplayClass11_0.<b__0>d.MoveNext() in C:\ao-ag-334badc1-we_work\1\s\UiPath.Extensions.CommandLine.Core\Services\Impl\OptionsParser.cs:line 170
2024-06-11T07:09:14.9311570Z — End of stack trace from previous location —
2024-06-11T07:09:14.9312082Z at UiPath.CommandLine.Services.Impl.OptionsParser.<>c__DisplayClass10_0.<b__0>d.MoveNext() in C:\ao-ag-334badc1-we_work\1\s\UiPath.Extensions.CommandLine.Core\Services\Impl\OptionsParser.cs:line 153
2024-06-11T07:09:14.9313437Z — End of stack trace from previous location —
2024-06-11T07:09:14.9313837Z at UiPath.CommandLine.Services.Impl.OptionsParser.<>c__DisplayClass9_0.<b__0>d.MoveNext() in C:\ao-ag-334badc1-we_work\1\s\UiPath.Extensions.CommandLine.Core\Services\Impl\OptionsParser.cs:line 142
2024-06-11T07:09:14.9314157Z — End of stack trace from previous location —
2024-06-11T07:09:14.9314482Z at UiPath.CommandLine.Services.Impl.OptionsParser.RunOptions(String[] args, Func`3 notParsedFunc) in C:\ao-ag-334badc1-we_work\1\s\UiPath.Extensions.CommandLine.Core\Services\Impl\OptionsParser.cs:line 111
2024-06-11T07:09:15.0174899Z ##[error]Error deploying package: Error: The process ‘C:\Program Files\dotnet\dotnet.exe’ failed with exit code 1.
2024-06-11T07:09:15.0204906Z ##[section]Finishing: UiPath Deploy

and the release is failing everytime. But the releases for the dispatcher pipeline which is based on the same repository is working fine

Any idea what could be the reason for this??
Any tip, idea will be much appreciated

Thanks in advance

Regards

@tarif.mohammad

As per error looks like the package might be little huge or it is a one of issue

as it says internalservererror

cheers

Hi Anil,

Thanks for the feedback. it is a process according to the requirement. Can you give some ideas on how to adjust the size of the package ?

Thanks in advance

@tarif.mohammad

you can delete the screenshot folders or any unnecessary files you dont need in package

cheers

Hi Anil,

Deleted them but did not really help :frowning:

You need to raise a case with the UiPath Technical support team, as the issue is on the Orchestrator, and they need to figure it out more details about the An error has occurred.

You will see more details in the Event Viewer in the Orchestrator Server VM (where you have the IIS installed).

Did you try to upload manually the nupkg in Orchestrator UI → Tenant → Packages? If, no, are you receiving the same error?

found a solution solved it

thnx for sharing! thnx for sharing!