Skip to content

Commit 371e08c

Browse files
[ci-scan] Skip Android DualMode IPv6 socket tests (Connection refused on ::1) (#127994)
## Summary Mute DualMode IPv6 socket tests on Android. Android emulators don't support IPv6 loopback, causing `Connection refused` on `::1`. Linked KBE: #127986 Tracking: #127565 ## Changes - `DualModeSocketTest.cs`: Add `[ActiveIssue("...127986", TestPlatforms.Android)]` to `DualModeConnectToHostString`, `DualModeConnectToDnsEndPoint`, and `DualModeConnectAsync` classes. - `SocketAsyncEventArgsTest.cs`: Add `[ActiveIssue("...127986", TestPlatforms.Android)]` to `Connect_Parallel_FailsOver`. ## Reasoning 1. **Same test?** Yes — DualMode IPv6 socket tests match KBE. 2. **Same failure signature?** Yes — `Connection refused [::1]`. 3. **Same OS?** Yes — Android. 4. **Same architecture?** Yes — arm64 (Android emulator). ## Failing legs - `runtime-extra-platforms` (def 154): Android arm64 device tests - Recurring across multiple builds on `main` > [!NOTE] > This PR was generated by an automated CI scan workflow using GitHub Copilot. > [!NOTE] > <details> > <summary>🔒 Integrity filter blocked 1 item</summary> > > The following item was blocked because it doesn't meet the GitHub integrity level. > > - [#114222](#114222) `search_issues`: has lower integrity than agent requires. The agent cannot read data with integrity below "approved". > > To allow these resources, lower `min-integrity` in your GitHub frontmatter: > > ```yaml > tools: > github: > min-integrity: approved # merged | approved | unapproved | none > ``` > > </details> > Generated by [CI Outer-Loop Failure Scanner](https://github.com/dotnet/runtime/actions/runs/25601575437/agentic_workflow) · ● 45.9M · [◷](https://github.com/search?q=repo%3Adotnet%2Fruntime+%22gh-aw-workflow-id%3A+ci-failure-scan%22&type=pullrequests) <!-- gh-aw-agentic-workflow: CI Outer-Loop Failure Scanner, engine: copilot, version: 1.0.40, model: claude-opus-4.6, id: 25601575437, workflow_id: ci-failure-scan, run: https://github.com/dotnet/runtime/actions/runs/25601575437 --> <!-- gh-aw-workflow-id: ci-failure-scan --> --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 7bb0446 commit 371e08c

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

src/libraries/System.Net.Sockets/tests/FunctionalTests/DualModeSocketTest.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -330,6 +330,7 @@ public void DualModeConnect_IPAddressListToHost_Success(IPAddress[] connectTo, I
330330
[Trait("IPv4", "true")]
331331
[Trait("IPv6", "true")]
332332
[SkipOnPlatform(TestPlatforms.Wasi, "Wasi doesn't support DualMode")]
333+
[ActiveIssue("https://github.com/dotnet/runtime/issues/127986", TestPlatforms.Android)]
333334
public class DualModeConnectToHostString : DualModeBase
334335
{
335336
[ConditionalTheory(typeof(DualModeConnectToHostString), nameof(LocalhostIsBothIPv4AndIPv6))]
@@ -349,6 +350,7 @@ public void DualModeConnect_LoopbackDnsToHost_Helper(IPAddress listenOn, bool du
349350
[Trait("IPv4", "true")]
350351
[Trait("IPv6", "true")]
351352
[SkipOnPlatform(TestPlatforms.Wasi, "Wasi doesn't support DualMode")]
353+
[ActiveIssue("https://github.com/dotnet/runtime/issues/127986", TestPlatforms.Android)]
352354
public class DualModeConnectToDnsEndPoint : DualModeBase
353355
{
354356
[ConditionalTheory(typeof(DualModeConnectToDnsEndPoint), nameof(LocalhostIsBothIPv4AndIPv6))]
@@ -520,6 +522,7 @@ public async Task DualModeBeginConnect_DnsEndPointToHost_Helper(IPAddress listen
520522
[Trait("IPv4", "true")]
521523
[Trait("IPv6", "true")]
522524
[SkipOnPlatform(TestPlatforms.Wasi, "Wasi doesn't support DualMode")]
525+
[ActiveIssue("https://github.com/dotnet/runtime/issues/127986", TestPlatforms.Android)]
523526
public class DualModeConnectAsync : DualModeBase
524527
{
525528
[Fact] // Base case

src/libraries/System.Net.Sockets/tests/FunctionalTests/SocketAsyncEventArgsTest.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1160,6 +1160,7 @@ public void Connect_Parallel_Fails()
11601160
[InlineData(true)]
11611161
[InlineData(false)]
11621162
[ActiveIssue("https://github.com/dotnet/runtime/issues/124079", TestPlatforms.iOS | TestPlatforms.tvOS | TestPlatforms.MacCatalyst)]
1163+
[ActiveIssue("https://github.com/dotnet/runtime/issues/127986", TestPlatforms.Android)]
11631164
public void Connect_Parallel_FailsOver(bool preferIPv6)
11641165
{
11651166
using PortBlocker portBlocker = new PortBlocker(() =>

0 commit comments

Comments
 (0)