dotnet / runtime

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

[mono] [tvos] System.IO.UnmanagedMemoryStream.Tests.WorkItemExecution fail #109282

Open jkurdek opened 1 week ago

jkurdek commented 1 week ago

tvos_arm64_release_allsubsets_mono

Stack trace:

[06:22:25.6218890] Xamarin.Hosting: Launched net.dot.System.IO.UnmanagedMemoryStream.Tests with PID: 24264
[06:22:25.6228770] Launched application 'net.dot.System.IO.UnmanagedMemoryStream.Tests' on 'DNCENGTVOS-111' with pid 24264
[06:22:26.6424500] 2024-10-18 03:22:26.741 System.IO.UnmanagedMemoryStream.Tests[24264:123018629] ProcessorCount = 2
[06:22:26.6424930] 2024-10-18 03:22:26.742 System.IO.UnmanagedMemoryStream.Tests[24264:123018629] Args: .
[06:22:26.7383710] 2024-10-18 03:22:26.841 System.IO.UnmanagedMemoryStream.Tests[24264:123018629] Test libs: /private/var/containers/Bundle/Application/1E5F1A13-C52B-42F5-8E8F-830FC842D73B/System.IO.UnmanagedMemoryStream.Tests.app/System.IO.UnmanagedMemoryStream.Tests.dll
[06:22:26.7384160] 2024-10-18 03:22:26.841 System.IO.UnmanagedMemoryStream.Tests[24264:123018629] .
[06:22:27.1980830] 2024-10-18 03:22:27.272 System.IO.UnmanagedMemoryStream.Tests[24264:123018629] [Runner executing:    Run everything]
[06:22:27.1981520] 2024-10-18 03:22:27.272 System.IO.UnmanagedMemoryStream.Tests[24264:123018629] [:     v]
[06:22:27.1981750] 2024-10-18 03:22:27.272 System.IO.UnmanagedMemoryStream.Tests[24264:123018629] [Device Name: ]
[06:22:27.1981930] 2024-10-18 03:22:27.272 System.IO.UnmanagedMemoryStream.Tests[24264:123018629] [Device UDID: ]
[06:22:27.1982090] 2024-10-18 03:22:27.272 System.IO.UnmanagedMemoryStream.Tests[24264:123018629] [Device Locale:   ]
[06:22:27.1982260] 2024-10-18 03:22:27.304 System.IO.UnmanagedMemoryStream.Tests[24264:123018629] [Device Date/Time:    10/18/2024 3:22:27 AM]
[06:22:27.1982570] 2024-10-18 03:22:27.304 System.IO.UnmanagedMemoryStream.Tests[24264:123018629] [Bundle:  net.dot.System.IO.UnmanagedMemoryStream.Tests]
[06:22:27.1982720] 2024-10-18 03:22:27.307 System.IO.UnmanagedMemoryStream.Tests[24264:123018629] [Runner executing:    Run everything]
[06:22:27.1982840] 2024-10-18 03:22:27.307 System.IO.UnmanagedMemoryStream.Tests[24264:123018629] [:     v]
[06:22:27.1983050] 2024-10-18 03:22:27.307 System.IO.UnmanagedMemoryStream.Tests[24264:123018629] [Device Name: ]
[06:22:27.1983180] 2024-10-18 03:22:27.307 System.IO.UnmanagedMemoryStream.Tests[24264:123018629] [Device UDID: ]
[06:22:27.1983300] 2024-10-18 03:22:27.307 System.IO.UnmanagedMemoryStream.Tests[24264:123018629] [Device Locale:   ]
[06:22:27.1983430] 2024-10-18 03:22:27.308 System.IO.UnmanagedMemoryStream.Tests[24264:123018629] [Device Date/Time:    10/18/2024 3:22:27 AM]
[06:22:27.1983560] 2024-10-18 03:22:27.308 System.IO.UnmanagedMemoryStream.Tests[24264:123018629] [Bundle:  net.dot.System.IO.UnmanagedMemoryStream.Tests]
[06:22:27.3209220] 2024-10-18 03:22:27.426 System.IO.UnmanagedMemoryStream.Tests[24264:123018689] Configured filters:
[06:22:27.3234370] 2024-10-18 03:22:27.434 System.IO.UnmanagedMemoryStream.Tests[24264:123018689]   XUnitFilter [Type: Trait; exclude; Trait name: category; Trait value: IgnoreForCI]
[06:22:27.3234920] 2024-10-18 03:22:27.434 System.IO.UnmanagedMemoryStream.Tests[24264:123018689]   XUnitFilter [Type: Trait; exclude; Trait name: category; Trait value: OuterLoop]
[06:22:27.3235060] 2024-10-18 03:22:27.434 System.IO.UnmanagedMemoryStream.Tests[24264:123018689]   XUnitFilter [Type: Trait; exclude; Trait name: category; Trait value: failing]
[06:22:27.3431050] 2024-10-18 03:22:27.451 System.IO.UnmanagedMemoryStream.Tests[24264:123018689] Assembly: System.IO.UnmanagedMemoryStream.Tests, Version=10.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51 (/private/var/containers/Bundle/Application/1E5F1A13-C52B-42F5-8E8F-830FC842D73B/System.IO.UnmanagedMemoryStream.Tests.app/System.IO.UnmanagedMemoryStream.Tests.dll)
[06:22:27.6232760] 2024-10-18 03:22:27.735 System.IO.UnmanagedMemoryStream.Tests[24264:123018689] [Test environment: 64-bit .NET .NET 10.0 [collection-per-class, non-parallel]]
[06:22:27.6233120] 2024-10-18 03:22:27.735 System.IO.UnmanagedMemoryStream.Tests[24264:123018689] [Test framework: xUnit.net 2.9.2.0]
[06:22:27.6404960] 2024-10-18 03:22:27.752 System.IO.UnmanagedMemoryStream.Tests[24264:123018689] 
[06:22:27.6405430] Test collection for System.IO.Tests.Uma_ReadWriteStructArray
[06:22:27.6904910] 2024-10-18 03:22:27.801 System.IO.UnmanagedMemoryStream.Tests[24264:123018689]   [PASS] System.IO.Tests.Uma_ReadWriteStructArray.UmaWriteStructArray_ReadMode
[06:22:27.7089690] 2024-10-18 03:22:27.820 System.IO.UnmanagedMemoryStream.Tests[24264:123018689]   [PASS] System.IO.Tests.Uma_ReadWriteStructArray.UmaReadWriteStructArray_OneItem
[06:22:27.7149440] 2024-10-18 03:22:27.825 System.IO.UnmanagedMemoryStream.Tests[24264:123018689]   [PASS] System.IO.Tests.Uma_ReadWriteStructArray.UmaReadWriteStructArray_Closed
[06:22:27.7160130] 2024-10-18 03:22:27.828 System.IO.UnmanagedMemoryStream.Tests[24264:123018689]   [PASS] System.IO.Tests.Uma_ReadWriteStructArray.UmaReadStructArray_WriteMode
[06:22:27.7297790] Xamarin.Hosting: Process '24264' exited with exit code 1 or crashing signal .

Build Information

Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=844451 Build error leg or test failing: System.IO.UnmanagedMemoryStream.Tests.WorkItemExecution

Error Message

Fill the error message using step by step known issues guidance.

{
  "ErrorPattern": "Xamarin\\.Hosting: Process '\\d+' exited with exit code 1 or crashing signal",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Known issue validation

Build: :mag_right: https://dev.azure.com/dnceng-public/public/_build/results?buildId=844451 Error message validated: [Xamarin\.Hosting: Process '\d+' exited with exit code 1 or crashing signal] Result validation: :x: Known issue did not match with the provided build. Validation performed at: 10/28/2024 2:34:47 PM UTC

Report

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 0 0
dotnet-policy-service[bot] commented 1 week ago

Tagging subscribers to 'os-tvos': @vitek-karas, @kotlarmilos, @ivanpovazan, @steveisok, @akoeplinger See info in area-owners.md if you want to be subscribed.

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

Tagging subscribers to this area: @dotnet/area-system-io See info in area-owners.md if you want to be subscribed.

ivanpovazan commented 1 week ago

Just FYI, the BuildAnalysis won't be able to match the error pattern because it does not process logs from physical iOS-like devices.

jkurdek commented 1 week ago

Also, this is one of those cases when XHarness reports TCP_CONNECTION_FAILED:

Main log fragment:

[06:45:14] dbug: Running /private/tmp/helix/working/B0E40946/p/microsoft.dotnet.xharness.cli/10.0.0-prerelease.24511.1/tools/net8.0/any/../../../runtimes/any/native/mlaunch/bin/mlaunch --sdkroot /Applications/Xcode_14.3.app --uninstalldevbundleid net.dot.System.IO.UnmanagedMemoryStream.Tests --devname 9c1fc29a13ecc303e8cd4ae13a481588db318694 -v -v -v -v -v
[06:45:15] dbug: Using Xcode 14.3 found in /Applications/Xcode_14.3.app
[06:45:15] dbug: Xamarin.Hosting: Device discovery started
[06:45:15] dbug: Xamarin.Hosting: Device discovery event: Connected (fff44:c6:5d:82:ac:e7fff)
[06:45:15] dbug: Xamarin.Hosting: Device discovery event: Connected (fff44:c6:5d:7e:84:2cfff)
[06:45:15] dbug: Xamarin.Hosting: Connected to Vsm-xam-appletv-01 (fff44:c6:5d:82:ac:e7fff) in 00:00:00.0102856
[06:45:15] dbug: Xamarin.Hosting: Connected to Vsm-xam-appletv-02 (fff44:c6:5d:7e:84:2cfff) in 00:00:00.0096911
[06:45:15] dbug: Xamarin.Hosting: Device discovery event: Connected (9c1fc29a13ecc303e8cd4ae13a481588db318694)
[06:45:15] dbug: Xamarin.Hosting: Connected to DNCENGTVOS-024 (9c1fc29a13ecc303e8cd4ae13a481588db318694) in 00:00:00.0013790
[06:45:15] dbug: Uninstalling application 'net.dot.System.IO.UnmanagedMemoryStream.Tests' from 'DNCENGTVOS-024'
[06:45:15] dbug: RemovingApplication: 75%
[06:45:15] dbug: PercentComplete: 50
[06:45:15] dbug: Status: RemovingApplication
[06:45:15] dbug: GeneratingApplicationMap: 95%
[06:45:15] dbug: PercentComplete: 90
[06:45:15] dbug: Status: GeneratingApplicationMap
[06:45:15] dbug: Application 'net.dot.System.IO.UnmanagedMemoryStream.Tests' uninstalled from 'DNCENGTVOS-024'
[06:45:16] dbug: Process mlaunch exited with 0
[06:45:16] info: Application 'net.dot.System.IO.UnmanagedMemoryStream.Tests' was uninstalled successfully
[06:45:16] dbug: Saving diagnostics data to '/tmp/helix/working/B0E40946/w/B0070986/e/diagnostics.json'
XHarness exit code: 92 (TCP_CONNECTION_FAILED)
Removing empty log files:
ls: /tmp/helix/working/B0E40946/w/B0070986/uploads/xunit-*.xml: No such file or directory
+ exit_code=92
+ '[' -f /tmp/helix/working/B0E40946/w/B0070986/e/.retry ']'
+ '[' -f /tmp/helix/working/B0E40946/w/B0070986/e/.reboot ']'
+ exit 92
+ export _commandExitCode=92
+ _commandExitCode=92
+ /usr/local/bin/python3 -u /tmp/helix/working/B0E40946/w/B0070986/u/xharness-event-processor.py
Reporting 1 events from diagnostics file `/tmp/helix/working/B0E40946/w/B0070986/e/diagnostics.json`

Related issue: https://github.com/dotnet/xharness/issues/1246