Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
182 changes: 91 additions & 91 deletions eng/pipelines/coreclr/templates/helix-queues-setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,68 +32,68 @@ jobs:
shouldContinueOnError: ${{ parameters.shouldContinueOnError }}
helixQueues:

# iOS Simulator/Mac Catalyst arm64
- ${{ if in(parameters.platform, 'maccatalyst_arm64', 'iossimulator_arm64') }}:
- OSX.1200.Arm64.Open

# iOS/tvOS Simulator x64 & MacCatalyst x64
- ${{ if in(parameters.platform, 'iossimulator_x64', 'tvossimulator_x64', 'maccatalyst_x64') }}:
- OSX.1200.Amd64.Open

# Android arm64
- ${{ if in(parameters.platform, 'android_arm64') }}:
- Windows.11.Amd64.Android.Open

# Android x64
- ${{ if in(parameters.platform, 'android_x64') }}:
- Ubuntu.2204.Amd64.Android.29.Open

# Browser wasm
- ${{ if eq(parameters.platform, 'browser_wasm') }}:
- (Ubuntu.2204.Amd64)[email protected]/dotnet-buildtools/prereqs:ubuntu-22.04-helix-webassembly

# iOS devices
- ${{ if in(parameters.platform, 'ios_arm64') }}:
- OSX.13.Amd64.Iphone.Open

# tvOS devices
- ${{ if in(parameters.platform, 'tvos_arm64') }}:
- OSX.13.Amd64.AppleTV.Open

# Linux arm
- ${{ if eq(parameters.platform, 'linux_arm') }}:
- ${{ if eq(variables['System.TeamProject'], 'public') }}:
- (Debian.12.Arm32.Open)[email protected]/dotnet-buildtools/prereqs:debian-12-helix-arm32v7
- ${{ if eq(variables['System.TeamProject'], 'internal') }}:
- (Debian.12.Arm32)[email protected]/dotnet-buildtools/prereqs:debian-12-helix-arm32v7

# Linux arm64
- ${{ if eq(parameters.platform, 'linux_arm64') }}:
- ${{ if eq(variables['System.TeamProject'], 'public') }}:
- (Ubuntu.2404.Arm64.Open)[email protected]/dotnet-buildtools/prereqs:ubuntu-24.04-helix-arm64v8
- ${{ if eq(variables['System.TeamProject'], 'internal') }}:
- (Ubuntu.2404.Arm64)[email protected]/dotnet-buildtools/prereqs:ubuntu-24.04-helix-arm64v8

# Linux musl x64
- ${{ if eq(parameters.platform, 'linux_musl_x64') }}:
- ${{ if eq(variables['System.TeamProject'], 'public') }}:
- (Alpine.321.Amd64.Open)[email protected]/dotnet-buildtools/prereqs:alpine-3.21-helix-amd64
- ${{ if eq(variables['System.TeamProject'], 'internal') }}:
- (Alpine.321.Amd64)[email protected]/dotnet-buildtools/prereqs:alpine-3.21-helix-amd64

# Linux musl arm32
- ${{ if eq(parameters.platform, 'linux_musl_arm') }}:
- ${{ if eq(variables['System.TeamProject'], 'public') }}:
- (Alpine.321.Arm32.Open)[email protected]/dotnet-buildtools/prereqs:alpine-3.21-helix-arm32v7
- ${{ if eq(variables['System.TeamProject'], 'internal') }}:
- (Alpine.321.Arm32)[email protected]/dotnet-buildtools/prereqs:alpine-3.21-helix-arm32v7

# Linux musl arm64
- ${{ if eq(parameters.platform, 'linux_musl_arm64') }}:
- ${{ if eq(variables['System.TeamProject'], 'public') }}:
- (Alpine.321.Arm64.Open)[email protected]/dotnet-buildtools/prereqs:alpine-3.21-helix-arm64v8
- ${{ if eq(variables['System.TeamProject'], 'internal') }}:
- (Alpine.321.Arm64)[email protected]/dotnet-buildtools/prereqs:alpine-3.21-helix-arm64v8
# # iOS Simulator/Mac Catalyst arm64
# - ${{ if in(parameters.platform, 'maccatalyst_arm64', 'iossimulator_arm64') }}:
# - OSX.1200.Arm64.Open

# # iOS/tvOS Simulator x64 & MacCatalyst x64
# - ${{ if in(parameters.platform, 'iossimulator_x64', 'tvossimulator_x64', 'maccatalyst_x64') }}:
# - OSX.1200.Amd64.Open

# # Android arm64
# - ${{ if in(parameters.platform, 'android_arm64') }}:
# - Windows.11.Amd64.Android.Open

# # Android x64
# - ${{ if in(parameters.platform, 'android_x64') }}:
# - Ubuntu.2204.Amd64.Android.29.Open

# # Browser wasm
# - ${{ if eq(parameters.platform, 'browser_wasm') }}:
# - (Ubuntu.2204.Amd64)[email protected]/dotnet-buildtools/prereqs:ubuntu-22.04-helix-webassembly

# # iOS devices
# - ${{ if in(parameters.platform, 'ios_arm64') }}:
# - OSX.13.Amd64.Iphone.Open

# # tvOS devices
# - ${{ if in(parameters.platform, 'tvos_arm64') }}:
# - OSX.13.Amd64.AppleTV.Open

# # Linux arm
# - ${{ if eq(parameters.platform, 'linux_arm') }}:
# - ${{ if eq(variables['System.TeamProject'], 'public') }}:
# - (Debian.12.Arm32.Open)[email protected]/dotnet-buildtools/prereqs:debian-12-helix-arm32v7
# - ${{ if eq(variables['System.TeamProject'], 'internal') }}:
# - (Debian.12.Arm32)[email protected]/dotnet-buildtools/prereqs:debian-12-helix-arm32v7

# # Linux arm64
# - ${{ if eq(parameters.platform, 'linux_arm64') }}:
# - ${{ if eq(variables['System.TeamProject'], 'public') }}:
# - (Ubuntu.2404.Arm64.Open)[email protected]/dotnet-buildtools/prereqs:ubuntu-24.04-helix-arm64v8
# - ${{ if eq(variables['System.TeamProject'], 'internal') }}:
# - (Ubuntu.2404.Arm64)[email protected]/dotnet-buildtools/prereqs:ubuntu-24.04-helix-arm64v8

# # Linux musl x64
# - ${{ if eq(parameters.platform, 'linux_musl_x64') }}:
# - ${{ if eq(variables['System.TeamProject'], 'public') }}:
# - (Alpine.321.Amd64.Open)[email protected]/dotnet-buildtools/prereqs:alpine-3.21-helix-amd64
# - ${{ if eq(variables['System.TeamProject'], 'internal') }}:
# - (Alpine.321.Amd64)[email protected]/dotnet-buildtools/prereqs:alpine-3.21-helix-amd64

# # Linux musl arm32
# - ${{ if eq(parameters.platform, 'linux_musl_arm') }}:
# - ${{ if eq(variables['System.TeamProject'], 'public') }}:
# - (Alpine.321.Arm32.Open)[email protected]/dotnet-buildtools/prereqs:alpine-3.21-helix-arm32v7
# - ${{ if eq(variables['System.TeamProject'], 'internal') }}:
# - (Alpine.321.Arm32)[email protected]/dotnet-buildtools/prereqs:alpine-3.21-helix-arm32v7

# # Linux musl arm64
# - ${{ if eq(parameters.platform, 'linux_musl_arm64') }}:
# - ${{ if eq(variables['System.TeamProject'], 'public') }}:
# - (Alpine.321.Arm64.Open)[email protected]/dotnet-buildtools/prereqs:alpine-3.21-helix-arm64v8
# - ${{ if eq(variables['System.TeamProject'], 'internal') }}:
# - (Alpine.321.Arm64)[email protected]/dotnet-buildtools/prereqs:alpine-3.21-helix-arm64v8

# Linux x64
- ${{ if eq(parameters.platform, 'linux_x64') }}:
Expand All @@ -103,42 +103,42 @@ jobs:
- azurelinux.3.amd64

# OSX arm64
- ${{ if eq(parameters.platform, 'osx_arm64') }}:
- ${{ if eq(variables['System.TeamProject'], 'public') }}:
- osx.13.arm64.open
- ${{ if eq(variables['System.TeamProject'], 'internal') }}:
- OSX.1200.ARM64
# - ${{ if eq(parameters.platform, 'osx_arm64') }}:
# - ${{ if eq(variables['System.TeamProject'], 'public') }}:
# - osx.13.arm64.open
# - ${{ if eq(variables['System.TeamProject'], 'internal') }}:
# - OSX.1200.ARM64

# OSX x64
- ${{ if eq(parameters.platform, 'osx_x64') }}:
- ${{ if eq(variables['System.TeamProject'], 'public') }}:
- OSX.1200.Amd64.Open
- ${{ if eq(variables['System.TeamProject'], 'internal') }}:
- OSX.1200.Amd64
# - ${{ if eq(parameters.platform, 'osx_x64') }}:
# - ${{ if eq(variables['System.TeamProject'], 'public') }}:
# - OSX.1200.Amd64.Open
# - ${{ if eq(variables['System.TeamProject'], 'internal') }}:
# - OSX.1200.Amd64

# windows x64
- ${{ if eq(parameters.platform, 'windows_x64') }}:
- ${{ if and(eq(variables['System.TeamProject'], 'public'), ne(parameters.jobParameters.helixQueueGroup, 'cet')) }}:
- Windows.10.Amd64.Open
- ${{ if and(eq(variables['System.TeamProject'], 'public'), eq(parameters.jobParameters.helixQueueGroup, 'cet')) }}:
- Windows.11.Amd64.Cet.Open
- ${{ if and(eq(variables['System.TeamProject'], 'internal'), in(parameters.jobParameters.helixQueueGroup, 'superpmi')) }}:
- Windows.10.Amd64.X86.Rt
- ${{ if and(eq(variables['System.TeamProject'], 'internal'), notIn(parameters.jobParameters.helixQueueGroup, 'superpmi')) }}:
- Windows.10.Amd64
# - ${{ if eq(parameters.platform, 'windows_x64') }}:
# - ${{ if and(eq(variables['System.TeamProject'], 'public'), ne(parameters.jobParameters.helixQueueGroup, 'cet')) }}:
# - Windows.10.Amd64.Open
# - ${{ if and(eq(variables['System.TeamProject'], 'public'), eq(parameters.jobParameters.helixQueueGroup, 'cet')) }}:
# - Windows.11.Amd64.Cet.Open
# - ${{ if and(eq(variables['System.TeamProject'], 'internal'), in(parameters.jobParameters.helixQueueGroup, 'superpmi')) }}:
# - Windows.10.Amd64.X86.Rt
# - ${{ if and(eq(variables['System.TeamProject'], 'internal'), notIn(parameters.jobParameters.helixQueueGroup, 'superpmi')) }}:
# - Windows.10.Amd64

# windows x86
- ${{ if eq(parameters.platform, 'windows_x86') }}:
- ${{ if eq(variables['System.TeamProject'], 'public') }}:
- Windows.10.Amd64.Open
- ${{ if eq(variables['System.TeamProject'], 'internal') }}:
- Windows.10.Amd64.X86.Rt
# - ${{ if eq(parameters.platform, 'windows_x86') }}:
# - ${{ if eq(variables['System.TeamProject'], 'public') }}:
# - Windows.10.Amd64.Open
# - ${{ if eq(variables['System.TeamProject'], 'internal') }}:
# - Windows.10.Amd64.X86.Rt

# windows arm64
- ${{ if eq(parameters.platform, 'windows_arm64') }}:
- ${{ if eq(variables['System.TeamProject'], 'public') }}:
- Windows.11.Arm64.Open
- ${{ if eq(variables['System.TeamProject'], 'internal') }}:
- Windows.11.Arm64
# - ${{ if eq(parameters.platform, 'windows_arm64') }}:
# - ${{ if eq(variables['System.TeamProject'], 'public') }}:
# - Windows.11.Arm64.Open
# - ${{ if eq(variables['System.TeamProject'], 'internal') }}:
# - Windows.11.Arm64

${{ insert }}: ${{ parameters.jobParameters }}
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,21 @@ static QuicTestBase()
}
}

private readonly CancellationTokenSource _timer;
private readonly CancellationTokenRegistration _registration;
public QuicTestBase(ITestOutputHelper output)
{
_output = output;
_timer = new CancellationTokenSource(TimeSpan.FromMinutes(2));
_registration = _timer.Token.UnsafeRegister(static (_) => {
Environment.FailFast("2 minutes timeout on a test expired ==> generate dump");
}, null);
}

public void Dispose()
{
_registration.Dispose();
_timer.Dispose();
ServerCertificate.Dispose();
ClientCertificate.Dispose();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
using Xunit;

using static Microsoft.Quic.MsQuic;
using System.Diagnostics;

namespace System.Net.Quic.Tests;

Expand Down Expand Up @@ -39,6 +40,11 @@ public QuicTestCollection()
{
Console.WriteLine($"Unable to set MsQuic MaxWorkerQueueDelayUs.");
}

using (Process p = Process.Start(new ProcessStartInfo("sudo", "tdnf history list all") { RedirectStandardOutput = true }))
{
Console.WriteLine(p.StandardOutput.ReadToEnd());
}
}

EventHandler<UnobservedTaskExceptionEventArgs> eventHandler = (_, e) =>
Expand Down
Loading