Skip to content

[iOS,Catalyst] Essentials device tests failing #29678

@rmarinho

Description

@rmarinho

Description

Our device tests for Essentials for iOS and Catalyst are failing since moving to P5

Steps to Reproduce

  1. Checkout net10.0 project
  2. dotnet cake --target=dotnet-buildtasks
  3. .dotnet/dotnet cake eng/devices/catalyst.cake --target="buildOnly" --project="/Users/ruimarinho/dotnet/maui/src/Essentials/test/DeviceTests/Essentials.DeviceTests.csproj" --workloads=local
  4. .dotnet/dotnet cake eng/devices/catalyst.cake --target="testOnly" --project="./src/Essentials/test/DeviceTests/Essentials.DeviceTests.csproj" --workloads=local

Link to public reproduction project repository

dotnet/maui

Version with bug

10.0.0-preview.5

Is this a regression from previous behavior?

Yes, this used to work in .NET MAUI

Last version that worked well

10.0.0-preview.4

Affected platforms

iOS, macOS

test-results.zip

logs.zip

Relevant log output

09:43:48.4956110]    at <unknown> <0xffffffff>
[09:43:48.4956210]    at SystemConfiguration.NetworkReachability:SCNetworkReachabilityScheduleWithRunLoop <0xffffffff>
[09:43:48.4956300]    at SystemConfiguration.NetworkReachability:SCNetworkReachabilityScheduleWithRunLoop <0xffffffff>
[09:43:48.4956380]    at SystemConfiguration.NetworkReachability:Schedule <0x000ae>
[09:43:48.4956520]    at Microsoft.Maui.Networking.ReachabilityListener:.ctor <0x000ca>
[09:43:48.4956580]    at Microsoft.Maui.Networking.ConnectivityImplementation:StartListeners <0x0000a>
[09:43:48.4956710]    at Microsoft.Maui.Networking.ConnectivityImplementation:add_ConnectivityChanged <0x0004e>
[09:43:48.4956790]    at Microsoft.Maui.Networking.Connectivity:add_ConnectivityChanged <0x0001e>
[09:43:48.4956860]    at <ConnectivityChanged_Does_Not_Crash>d__3:MoveNext <0x00074>
[09:43:48.4956930]    at System.Runtime.CompilerServices.AsyncMethodBuilderCore:Start <0x00076>
[09:43:48.4956980]    at System.Runtime.CompilerServices.AsyncTaskMethodBuilder:Start <0x0000e>
[09:43:48.4957150]    at Microsoft.Maui.Essentials.DeviceTests.Connectivity_Tests:ConnectivityChanged_Does_Not_Crash <0x00074>
[09:43:48.4957270]    at <Module>:runtime_invoke_direct_Task__this__ <0x0004a>
[09:43:48.4957300]    at <unknown> <0x00000>
[09:43:48.4957390]    at <unknown> <0xffffffff>

[09:43:48.4876670]  0x1804eaef8 - /Library/Developer/CoreSimulator/Volumes/iOS_22A3351/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 18.0.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation : ___CFBasicHashFindBucket_Linear
[09:43:48.4876910]  0x180425110 - /Library/Developer/CoreSimulator/Volumes/iOS_22A3351/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 18.0.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation : CFSetGetValue
[09:43:48.4876980]  0x1804143b4 - /Library/Developer/CoreSimulator/Volumes/iOS_22A3351/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 18.0.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation : __CFRunLoopCopyMode
[09:43:48.4877080]  0x180416470 - /Library/Developer/CoreSimulator/Volumes/iOS_22A3351/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 18.0.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation : CFRunLoopAddSource
[09:43:48.4877160]  0x180789178 - /Library/Developer/CoreSimulator/Volumes/iOS_22A3351/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 18.0.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/SystemConfiguration.framework/SystemConfiguration : SCNetworkReachabilityScheduleWithRunLoop
[09:43:48.4923320]  0x100cd5a6c - /Users/builder/Library/Developer/CoreSimulator/Devices/8B6D8B24-E450-4080-BB28-D8614BFADB04/data/Containers/Bundle/Application/FA6351DC-50AE-459D-8F1F-3EB03D5A9B2D/Microsoft.Maui.Essentials.DeviceTests.app/Microsoft.Maui.Essentials.DeviceTests : interp_to_native_trampoline

Metadata

Metadata

Assignees

Labels

area-essentialsEssentials: Device, Display, Connectivity, Secure Storage, Sensors, App Infopartner/maciosIssues for the Mac / iOS SDKplatform/ioss/triagedIssue has been reviewedt/bugSomething isn't working

Type

No type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions