dotnet / runtime

.NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
https://docs.microsoft.com/dotnet/core/
MIT License
14.94k stars 4.64k forks source link

[ppc64le] Unable to load the service index for source https://pkgs.dev.azure.com/dnceng/public/..../index.json #106074

Closed vikasgupta8 closed 6 days ago

vikasgupta8 commented 1 month ago

Description

Note: We are observing this issue in the last two days. Before that build was working.

Not able to build runtime or any other package on ubuntu and RHEL vm due to below error. Error is observed in restore step.

/home/ubuntu/vikas/aspnetcore/artifacts/toolset/restore.proj : error :
  Could not resolve SDK "Microsoft.DotNet.Arcade.Sdk". Exactly one of the probing messages below indicates why we could not resolve the SDK. Investigate and
  resolve that message to correctly specify the SDK.
    SDK resolver "Microsoft.DotNet.MSBuildWorkloadSdkResolver" returned null.
    Unable to find package Microsoft.DotNet.Arcade.Sdk. No packages exist with this id in source(s): dotnet-eng, dotnet-public, dotnet-tools, dotnet31-transp
  ort, dotnet5-transport, dotnet6-transport, dotnet7, dotnet7-transport, dotnet8, dotnet8-transport, dotnet9, dotnet9-transport, richnav
/home/ubuntu/vikas/aspnetcore/artifacts/toolset/restore.proj : error : Unable to load the service index for source https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-eng/nuget/v3/index.json.
/home/ubuntu/vikas/aspnetcore/artifacts/toolset/restore.proj : error : Unable to load the service index for source https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools/nuget/v3/index.json.
/home/ubuntu/vikas/aspnetcore/artifacts/toolset/restore.proj : error : Unable to load the service index for source https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet9/nuget/v3/index.json.
/home/ubuntu/vikas/aspnetcore/artifacts/toolset/restore.proj : error : Unable to load the service index for source https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet9-transport/nuget/v3/index.json.
/home/ubuntu/vikas/aspnetcore/artifacts/toolset/restore.proj : error : Unable to load the service index for source https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet8/nuget/v3/index.json.
/home/ubuntu/vikas/aspnetcore/artifacts/toolset/restore.proj : error : Unable to load the service index for source https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet7/nuget/v3/index.json.
/home/ubuntu/vikas/aspnetcore/artifacts/toolset/restore.proj : error : Unable to load the service index for source https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet8-transport/nuget/v3/index.json.
/home/ubuntu/vikas/aspnetcore/artifacts/toolset/restore.proj : error : Unable to load the service index for source https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-public/nuget/v3/index.json.
/home/ubuntu/vikas/aspnetcore/artifacts/toolset/restore.proj : error : Unable to load the service index for source https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet3.1-transport/nuget/v3/index.json.
/home/ubuntu/vikas/aspnetcore/artifacts/toolset/restore.proj : error : Unable to load the service index for source https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet5-transport/nuget/v3/index.json.
/home/ubuntu/vikas/aspnetcore/artifacts/toolset/restore.proj : error : Unable to load the service index for source https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet6-transport/nuget/v3/index.json.
/home/ubuntu/vikas/aspnetcore/artifacts/toolset/restore.proj : error : Unable to load the service index for source https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet7-transport/nuget/v3/index.json.
/home/ubuntu/vikas/aspnetcore/artifacts/toolset/restore.proj : error : Unable to load the service index for source https://pkgs.dev.azure.com/azure-public/vside/_packaging/vs-buildservices/nuget/v3/index.json.
  restore failed with 1 error(s) (0.0s)
    /home/ubuntu/vikas/aspnetcore/artifacts/toolset/restore.proj : error MSB4236: The SDK 'Microsoft.DotNet.Arcade.Sdk' specified could not be found.

Build failed with 15 error(s) in 143.6s
Build failed with exit code 1. Check errors above.

Reproduction Steps

  1. Using cross build dotnet for ppc64le
  2. Clone runtime git clone --recurse https://github.com/dotnet/runtime.git
  3. Update the global.json file
  4. Build the runtime ./build.sh -s mono -c Release

dotnet --info

.NET SDK:
 Version:           9.0.100-preview.6.24328.19
 Commit:            ef4c241666
 Workload version:  9.0.100-manifests.bbb3781c
 MSBuild version:   17.11.0-preview-24318-05+4a45d5633

Runtime Environment:
 OS Name:     ubuntu
 OS Version:  22.04
 OS Platform: Linux
 RID:         linux-ppc64le
 Base Path:   /home/ubuntu/vikas/pipeline_issue/preview.6.hangissue/.dotnet/sdk/9.0.100-preview.6.24328.19/

.NET workloads installed:
Configured to use loose manifests when installing new manifests.
There are no installed workloads to display.

Host:
  Version:      9.0.0-preview.6.24327.7
  Architecture: ppc64le
  Commit:       static

.NET SDKs installed:
  9.0.100-preview.6.24328.19 [/home/ubuntu/vikas/pipeline_issue/preview.6.hangissue/.dotnet/sdk]

.NET runtimes installed:
  Microsoft.AspNetCore.App 9.0.0-preview.6.24328.4 [/home/ubuntu/vikas/pipeline_issue/preview.6.hangissue/.dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 9.0.0-preview.6.24327.7 [/home/ubuntu/vikas/pipeline_issue/preview.6.hangissue/.dotnet/shared/Microsoft.NETCore.App]

Other architectures found:
  None

Environment variables:
  DOTNET_ROOT       [/home/ubuntu/vikas/pipeline_issue/preview.6.hangissue/.dotnet/]

global.json file:
  /home/ubuntu/vikas/pipeline_issue/runtime/global.json

Learn more:
  https://aka.ms/dotnet/info

Download .NET:
  https://aka.ms/dotnet/download

Expected behavior

Build should be successful.

Actual behavior

Build is failing with error.

Regression?

No response

Known Workarounds

No response

Configuration

No response

Other information

No response

dotnet-policy-service[bot] commented 1 month ago

Tagging subscribers to this area: @directhex, @matouskozak See info in area-owners.md if you want to be subscribed.

akoeplinger commented 1 month ago

Can you please try and see whether this also happens on x64? It might be a ppc64 specific issue (though maybe triggered by some change on the Azure DevOps side).

dotnet-policy-service[bot] commented 1 month ago

This issue has been marked needs-author-action and may be missing some important information.

dotnet-policy-service[bot] commented 3 weeks ago

This issue has been automatically marked no-recent-activity because it has not had any activity for 14 days. It will be closed if no further activity occurs within 14 more days. Any new comment (by anyone, not necessarily the author) will remove no-recent-activity.

dotnet-policy-service[bot] commented 6 days ago

This issue will now be closed since it had been marked no-recent-activity but received no further activity in the past 14 days. It is still possible to reopen or comment on the issue, but please note that the issue will be locked if it remains inactive for another 30 days.