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

Helix testing on public PR coming from fork fails #4886

Closed
smitpatel opened this issue Feb 21, 2020 · 6 comments
Closed

Helix testing on public PR coming from fork fails #4886

smitpatel opened this issue Feb 21, 2020 · 6 comments

Comments

@smitpatel
Copy link
Member

  • Is this issue blocking (yes/no) no
  • Is this issue causing unreasonable pain (yes/no) no

Error message

  Starting Azure Pipelines Test Run Ubuntu.1804.Amd64.Open
/home/vsts/.nuget/packages/microsoft.dotnet.helix.sdk/5.0.0-beta.20116.1/tools/azure-pipelines/AzurePipelines.MultiQueue.targets(16,5): error : Request to https://dev.azure.com/dnceng/public/_apis/test/runs?api-version=5.0-preview.2 returned failed status 401 Unauthorized [/home/vsts/work/1/s/eng/helix.proj]
/home/vsts/.nuget/packages/microsoft.dotnet.helix.sdk/5.0.0-beta.20116.1/tools/azure-pipelines/AzurePipelines.MultiQueue.targets(16,5): error :  [/home/vsts/work/1/s/eng/helix.proj]
/home/vsts/.nuget/packages/microsoft.dotnet.helix.sdk/5.0.0-beta.20116.1/tools/azure-pipelines/AzurePipelines.MultiQueue.targets(16,5): error :  [/home/vsts/work/1/s/eng/helix.proj]

Run: https://dev.azure.com/dnceng/public/_build/results?buildId=530301&view=logs&jobId=107b6447-6976-5e9d-0de1-92099cc60ad8&j=107b6447-6976-5e9d-0de1-92099cc60ad8&t=d41080c9-6b6f-523e-8424-6273a8737d4d

I am not sure what kind of authentication needs to be passed here.

@jonfortescue
Copy link
Member

@smitpatel Yes, this is an authorization thing that everyone runs into -- you have to do on the build to make it accept forks (in AzDO). I don't remember what it is off the top of my head (been a while since I've seen it) but I'll track it down for you as soon as I can.

@jonfortescue
Copy link
Member

jonfortescue commented Feb 21, 2020

@jonfortescue
Copy link
Member

Ensure that you don't check "make secrets available," however.

@smitpatel
Copy link
Member Author

This is current settings which allows PR from forks still it has failed. Anymore checkbox I have to tick?

image

@jonfortescue
Copy link
Member

Talked to Smit offline and this should be resolved; I was mistaken on checking "make secrets available." @smitpatel please close this after you've confirmed it's working!

@smitpatel
Copy link
Member Author

Verified working.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants