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

mlaunch doesn't exit when iOS app quits on iOS devices #574

Closed
premun opened this issue Apr 28, 2021 · 3 comments · Fixed by #643
Closed

mlaunch doesn't exit when iOS app quits on iOS devices #574

premun opened this issue Apr 28, 2021 · 3 comments · Fixed by #643
Assignees
Labels
apple iOS/tvOS/WatchOS/Mac Catalyst area bug critical device Related to a real HW device

Comments

@premun
Copy link
Member

premun commented Apr 28, 2021

When running an app on iOS 14.4.2 device, mlaunch doesn't catch the notification about app quitting and it stays hanging until we timeout.
The test then succeeds as everything completed fine.

Logs:

15:21:29.7005910 *** Executing 'System.Buffers.Tests' on ios-device 'iPremek' ***
15:21:29.7134050 Running /Users/prvysoky/Documents/maccore/tools/mlaunch/Xamarin.Hosting/Xamarin.Launcher/bin/Debug/mlaunch.app/Contents/MacOS/mlaunch --sdkroot /Applications/Xcode_12.4.0.app --list-crash-reports=/var/folders/t7/vdyhybv55ks5z6hft_zl9cww0000gp/T/tmpcS4Vf1.tmp --devname iPremek -v -v -v -v -v

15:21:30.0581440 Using Xcode 12.4 found in /Applications/Xcode_12.4.0.app
15:21:30.5862690 Process mlaunch exited with 0
15:21:30.5886520 Starting TCP tunnel between mac port: 58360 and device port 58360
15:21:30.5891820 [TCP tunnel] Running /Users/prvysoky/Documents/maccore/tools/mlaunch/Xamarin.Hosting/Xamarin.Launcher/bin/Debug/mlaunch.app/Contents/MacOS/mlaunch --sdkroot /Applications/Xcode_12.4.0.app --tcp-tunnel=58360:58360 --devname 00008030-000A08D234DA802E -v -v -v -v -v


15:21:30.9574640 [TCP tunnel] Using Xcode 12.4 found in /Applications/Xcode_12.4.0.app

15:21:36.1777670 [TCP tunnel] Please connect the device 'Tcp tunnel started on device port 58360 to host port 58360 for device 00008030-000A08D234DA802E'...

15:21:36.1778230 TCP tunnel created on port 5836015:21:36.1778320 Starting test run
15:21:36.1784980 Running /Users/prvysoky/Documents/maccore/tools/mlaunch/Xamarin.Hosting/Xamarin.Launcher/bin/Debug/mlaunch.app/Contents/MacOS/mlaunch --sdkroot /Applications/Xcode_12.4.0.app -setenv=NUNIT_AUTOEXIT=true -setenv=NUNIT_HOSTPORT=58360 -setenv=NUNIT_ENABLE_XML_OUTPUT=true -setenv=NUNIT_XML_VERSION=xUnit -setenv=NUNIT_HOSTNAME=127.0.0.1 --disable-memory-limits --devname 00008030-000A08D234DA802E -setenv=USE_TCP_TUNNEL=true --launchdev /Users/prvysoky/Documents/work/System.Buffers.Tests.app --wait-for-exit -v -v -v -v -v

15:21:36.5216270 Using Xcode 12.4 found in /Applications/Xcode_12.4.0.app
15:21:36.5236850 Xamarin.Hosting: Xamarin.Hosting
15:21:36.5237940 Xamarin.Hosting:     Version: cddbd1915d (main)
15:21:36.5238340 Xamarin.Hosting:     Xcode: /Applications/Xcode_12.4.0.app
15:21:36.5268330 Xamarin.Hosting:     Xcode Version: 12.4
15:21:36.5275220 Xamarin.Hosting:     Verbosity: 5
15:21:36.5413490 Xamarin.Hosting: Loaded /Applications/Xcode_12.4.0.app/Contents/SharedFrameworks/DVTFoundation.framework/Versions/A/DVTFoundation
15:21:36.5484070 Xamarin.Hosting: Loaded /Applications/Xcode_12.4.0.app/Contents/SharedFrameworks/DVTiPhoneSimulatorRemoteClient.framework/DVTiPhoneSimulatorRemoteClient
15:21:36.5485640 Xamarin.Hosting: Loaded /Library/Developer/PrivateFrameworks/CoreSimulator.framework/CoreSimulator
15:21:36.5487450 Xamarin.Hosting: Loaded /Applications/Xcode_12.4.0.app/Contents/SharedFrameworks/DTDeviceKitBase.framework/DTDeviceKitBase
15:21:36.5823620 Xamarin.Hosting: Loaded /Applications/Xcode_12.4.0.app/Contents/SharedFrameworks/DVTKit.framework/DVTKit
15:21:36.5831940 Xamarin.Hosting: Loaded /Applications/Xcode_12.4.0.app/Contents/SharedFrameworks/DTDeviceKit.framework/DTDeviceKit
15:21:36.5833690 Xamarin.Hosting: Loaded /Applications/Xcode_12.4.0.app/Contents/SharedFrameworks/DTXConnectionServices.framework/DTXConnectionServices
15:21:36.5858050 Xamarin.Hosting: Loaded /Applications/Xcode_12.4.0.app/Contents/SharedFrameworks/DVTSourceControl.framework/DVTSourceControl
15:21:36.5860970 Xamarin.Hosting: Loaded /Applications/Xcode_12.4.0.app/Contents/SharedFrameworks/DVTServices.framework/DVTServices
15:21:36.5863240 Xamarin.Hosting: Loaded /Applications/Xcode_12.4.0.app/Contents/SharedFrameworks/DVTPortal.framework/DVTPortal
15:21:36.5966840 Xamarin.Hosting: Loaded /Applications/Xcode_12.4.0.app/Contents/SharedFrameworks/DVTDocumentation.framework/DVTDocumentation
15:21:36.5978240 Xamarin.Hosting: Loaded /Applications/Xcode_12.4.0.app/Contents/SharedFrameworks/DVTAnalyticsClient.framework/DVTAnalyticsClient
15:21:36.5987960 Xamarin.Hosting: Loaded /Applications/Xcode_12.4.0.app/Contents/SharedFrameworks/DVTAppStoreConnect.framework/DVTAppStoreConnect
15:21:36.6050260 Xamarin.Hosting: Loaded /Applications/Xcode_12.4.0.app/Contents/SharedFrameworks/ContentDeliveryServices.framework/ContentDeliveryServices
15:21:36.6064510 Xamarin.Hosting: Loaded /Applications/Xcode_12.4.0.app/Contents/SharedFrameworks/DVTAnalytics.framework/DVTAnalytics
15:21:36.6090030 Xamarin.Hosting: Loaded /Applications/Xcode_12.4.0.app/Contents/SharedFrameworks/SourceKit.framework/SourceKit
15:21:36.6321200 Xamarin.Hosting: Loaded /Applications/Xcode_12.4.0.app/Contents/Frameworks/IDEFoundation.framework/IDEFoundation
15:21:36.6335990 Xamarin.Hosting: Loaded /Applications/Xcode_12.4.0.app/Contents/SharedFrameworks/IDEProducts.framework/IDEProducts
15:21:36.6721580 Xamarin.Hosting: Loaded /Applications/Xcode_12.4.0.app/Contents/SharedFrameworks/DTGraphKit.framework/DTGraphKit
15:21:36.6727930 Xamarin.Hosting: Loaded /Applications/Xcode_12.4.0.app/Contents/SharedFrameworks/DVTDeveloperModeHelper.framework/DVTDeveloperModeHelper
15:21:36.6767680 Xamarin.Hosting: Loaded /Applications/Xcode_12.4.0.app/Contents/SharedFrameworks/DVTAnalyticsKit.framework/DVTAnalyticsKit
15:21:36.6933140 Xamarin.Hosting: Loaded /Applications/Xcode_12.4.0.app/Contents/Frameworks/IDEKit.framework/IDEKit
15:21:36.6979210 Xamarin.Hosting: Loaded /Applications/Xcode_12.4.0.app/Contents/Frameworks/IBFoundation.framework/IBFoundation
15:21:36.7003290 Xamarin.Hosting: Loaded /Applications/Xcode_12.4.0.app/Contents/Frameworks/IBAutolayoutFoundation.framework/IBAutolayoutFoundation
15:21:36.7013110 Xamarin.Hosting: Loaded /Applications/Xcode_12.4.0.app/Contents/SharedFrameworks/DebugHierarchyFoundation.framework/DebugHierarchyFoundation
15:21:36.7022290 Xamarin.Hosting: Loaded /Applications/Xcode_12.4.0.app/Contents/SharedFrameworks/DebugHierarchyKit.framework/DebugHierarchyKit
15:21:37.2662710 Xamarin.Hosting: Loaded Xcode plugins successfully.
15:21:37.2770340 Xamarin.Hosting: Device discovery started
15:21:37.4442080 Xamarin.Hosting: Device discovery event: Connected (00008030-000A08D234DA802E)
15:21:37.4547820 Xamarin.Hosting: Connected to iPremek (00008030-000A08D234DA802E) in 00:00:00.0023214
15:21:37.6586550 Xamarin.Hosting: Connecting to 'iPremek', token is 0x7fec6a851350
15:21:38.3241800 Xamarin.Hosting: Connected to 'iPremek'
15:21:38.3242410 Xamarin.Hosting: Mounting developer image on 'iPremek'
15:21:38.3242560 Xamarin.Hosting: Mounted developer image on 'iPremek'
15:21:38.3242700 Xamarin.Hosting: Launched net.dot.System.Buffers.Tests with PID: 8873
15:21:38.3242820 Launched application 'net.dot.System.Buffers.Tests' on 'iPremek' with pid 8873
15:21:38.7414810 2021-04-28 15:21:38.665 System.Buffers.Tests[8873:516686] ProcessorCount = 6
15:21:38.7415370 2021-04-28 15:21:38.665 System.Buffers.Tests[8873:516686] Args: 
15:21:38.7415970 2021-04-28 15:21:38.665 System.Buffers.Tests[8873:516686] .
15:21:38.7757720 2021-04-28 15:21:38.700 System.Buffers.Tests[8873:516686] Test libs: 
15:21:38.7758220 2021-04-28 15:21:38.701 System.Buffers.Tests[8873:516686] /private/var/containers/Bundle/Application/4ED590FD-2C08-4E20-8C1F-0E9C7E93DC7B/System.Buffers.Tests.app/System.Buffers.Tests.dll
15:21:38.7758470 2021-04-28 15:21:38.701 System.Buffers.Tests[8873:516686] .
15:21:38.9401650 Test log server listening on: 127.0.0.1:58360
15:21:38.9420380 Connection from 127.0.0.1:58360 saving logs to /Users/prvysoky/Documents/work/o/test-ios-device-20210428_152129.log
15:21:38.9536920 2021-04-28 15:21:38.879 System.Buffers.Tests[8873:516686] [Runner executing:	Run everythi
15:21:38.9537350 2021-04-28 15:21:38.879 System.Buffers.Tests[8873:516686] ng]
15:21:38.9538340 2021-04-28 15:21:38.879 System.Buffers.Tests[8873:516686] [:	 v]
15:21:38.9539330 2021-04-28 15:21:38.879 System.Buffers.Tests[8873:516686] [Device Name:	]
15:21:38.9539540 2021-04-28 15:21:38.879 System.Buffers.Tests[8873:516686] [Device UDID:	]
15:21:38.9539630 2021-04-28 15:21:38.879 System.Buffers.Tests[8873:516686] [Device Locale:	]
15:21:38.9580710 2021-04-28 15:21:38.883 System.Buffers.Tests[8873:516686] [Device Date/Time:	04/28/2021 13:21:38]
15:21:38.9581240 2021-04-28 15:21:38.883 System.Buffers.Tests[8873:516686] [Bundle:	net.dot.System.Buffers.Tests]
15:21:38.9934010 2021-04-28 15:21:38.918 System.Buffers.Tests[8873:516700] Configured filters:
15:21:38.9934770 2021-04-28 15:21:38.919 System.Buffers.Tests[8873:516700]   XUnitFilter [Type: Trait; exclude; Trait name: category; Trait value: OuterLoop]
15:21:38.9935850 2021-04-28 15:21:38.919 System.Buffers.Tests[8873:516700]   XUnitFilter [Type: Trait; exclude; Trait name: category; Trait value: failing]
15:21:39.0737700 2021-04-28 15:21:38.999 System.Buffers.Tests[8873:516700] Assembly: System.Buffers.Tests, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51 (/private/var/containers/Bundle/Application/4ED590FD-2C08-4E20-8C1F-0E9C7E93DC7B/System.Buffers.Tests.app/System.Buffers.Tests.dll)
15:21:39.1804550 2021-04-28 15:21:39.105 System.Buffers.Tests[8873:516700] [Test environment: 64-bit .NET  [collection-per-class, non-parallel]]
15:21:39.1804990 2021-04-28 15:21:39.105 System.Buffers.Tests[8873:516700] [Test framework: xUnit.net 2.4.1.0]
15:21:39.1885880 2021-04-28 15:21:39.113 System.Buffers.Tests[8873:516700] 
15:21:39.1886330 Test collection for System.Buffers.ArrayPool.Tests.ArrayPoolUnitTests
15:21:39.2160750 2021-04-28 15:21:39.141 System.Buffers.Tests[8873:516700] 	[PASS] System.Buffers.ArrayPool.Tests.ArrayPoolUnitTests.RentingAfterPoolExhaustionReturnsSizeForCorrespondingBucket_JustBelowLimit
15:21:39.2257100 2021-04-28 15:21:39.151 System.Buffers.Tests[8873:516700] 	[PASS] System.Buffers.ArrayPool.Tests.ArrayPoolUnitTests.RentingSpecificLengthsYieldsExpectedLengths(requestedMinimum: 15, expectedLength: 16)
15:21:39.2272020 2021-04-28 15:21:39.152 System.Buffers.Tests[8873:516700] 	[PASS] System.Buffers.ArrayPool.Tests.ArrayPoolUnitTests.RentingSpecificLengthsYieldsExpectedLengths(requestedMinimum: 16, expectedLength: 16)
15:21:39.2272920 2021-04-28 15:21:39.153 System.Buffers.Tests[8873:516700] 	[PASS] System.Buffers.ArrayPool.Tests.ArrayPoolUnitTests.RentingSpecificLengthsYieldsExpectedLengths(requestedMinimum: 1023, expectedLength: 1024)
15:21:39.2381240 2021-04-28 15:21:39.163 System.Buffers.Tests[8873:516700] 	[PASS] System.Buffers.ArrayPool.Tests.ArrayPoolUnitTests.RentingSpecificLengthsYieldsExpectedLengths(requestedMinimum: 1048576, expectedLength: 1048576)
15:21:39.2547770 2021-04-28 15:21:39.180 System.Buffers.Tests[8873:516700] 	[PASS] System.Buffers.ArrayPool.Tests.ArrayPoolUnitTests.RentingSpecificLengthsYieldsExpectedLengths(requestedMinimum: 1048577, expectedLength: 1048577)
15:21:39.2551050 2021-04-28 15:21:39.181 System.Buffers.Tests[8873:516700] 	[PASS] System.Buffers.ArrayPool.Tests.ArrayPoolUnitTests.RentingSpecificLengthsYieldsExpectedLengths(requestedMinimum: 1, expectedLength: 16)
15:21:39.2887060 2021-04-28 15:21:39.214 System.Buffers.Tests[8873:516700] 	[PASS] System.Buffers.ArrayPool.Tests.ArrayPoolUnitTests.RentingSpecificLengthsYieldsExpectedLengths(requestedMinimum: 2097152, expectedLength: 2097152)
15:21:39.2906180 2021-04-28 15:21:39.216 System.Buffers.Tests[8873:516700] 	[PASS] System.Buffers.ArrayPool.Tests.ArrayPoolUnitTests.RentingSpecificLengthsYieldsExpectedLengths(requestedMinimum: 1024, expectedLength: 1024)
15:21:39.2908040 2021-04-28 15:21:39.216 System.Buffers.Tests[8873:516700] 	[PASS] System.Buffers.ArrayPool.Tests.ArrayPoolUnitTests.RentingSpecificLengthsYieldsExpectedLengths(requestedMinimum: 4096, expectedLength: 4096)
15:21:39.2909760 2021-04-28 15:21:39.217 System.Buffers.Tests[8873:516700] 	[PASS] System.Buffers.ArrayPool.Tests.ArrayPoolUnitTests.RentCanReturnBiggerArraySizeThanRequested
15:21:39.2916520 2021-04-28 15:21:39.217 System.Buffers.Tests[8873:516700] 	[IGNORED] System.Buffers.ArrayPool.Tests.ArrayPoolUnitTests.RentingBufferOverConfiguredMaximumSizeFiresDiagnosticEvent
15:21:39.2922950 2021-04-28 15:21:39.218 System.Buffers.Tests[8873:516700] 	[PASS] System.Buffers.ArrayPool.Tests.ArrayPoolUnitTests.RentingMoreArraysThanSpecifiedInCreateWillStillSucceed
15:21:39.3068630 2021-04-28 15:21:39.232 System.Buffers.Tests[8873:516700] 	[PASS] System.Buffers.ArrayPool.Tests.ArrayPoolUnitTests.CanRentManySizedBuffers
15:21:39.8309130 2021-04-28 15:21:39.240 System.Buffers.Tests[8873:516700] 	[PASS] System.Buffers.ArrayPool.Tests.ArrayPoolUnitTests.CanRentManySizedBuffers
15:21:39.8309710 2021-04-28 15:21:39.249 System.Buffers.Tests[8873:516700] 	[PASS] System.Buffers.ArrayPool.Tests.ArrayPoolUnitTests.CanRentManySizedBuffers
15:21:39.8310070 2021-04-28 15:21:39.255 System.Buffers.Tests[8873:516700] 	[PASS] System.Buffers.ArrayPool.Tests.ArrayPoolUnitTests.CanRentManySizedBuffers
15:21:39.8310180 2021-04-28 15:21:39.256 System.Buffers.Tests[8873:516700] 	[PASS] System.Buffers.ArrayPool.Tests.ArrayPoolUnitTests.SharedInstanceOnlyCreatesOneInstanceOfOneTypep
15:21:39.8310250 2021-04-28 15:21:39.257 System.Buffers.Tests[8873:516700] 	[PASS] System.Buffers.ArrayPool.Tests.ArrayPoolUnitTests.CreatingAPoolWithInvalidMaximumArraySizeThrows(length: 0)
15:21:39.8310320 2021-04-28 15:21:39.258 System.Buffers.Tests[8873:516700] 	[PASS] System.Buffers.ArrayPool.Tests.ArrayPoolUnitTests.CreatingAPoolWithInvalidMaximumArraySizeThrows(length: -1)
15:21:39.8310650 2021-04-28 15:21:39.431 System.Buffers.Tests[8873:516700] 	[PASS] System.Buffers.ArrayPool.Tests.ArrayPoolUnitTests.ConfigurablePool_AllocatedArraysAreCleared_DateTime
15:21:39.8310760 2021-04-28 15:21:39.432 System.Buffers.Tests[8873:516700] 	[PASS] System.Buffers.ArrayPool.Tests.ArrayPoolUnitTests.CreateWillCreateMultipleInstancesOfTheSameType
15:21:39.8310830 2021-04-28 15:21:39.433 System.Buffers.Tests[8873:516700] 	[PASS] System.Buffers.ArrayPool.Tests.ArrayPoolUnitTests.ReturningANonPooledBufferOfDifferentSizeToThePoolThrows
15:21:39.8310900 2021-04-28 15:21:39.433 System.Buffers.Tests[8873:516700] 	[PASS] System.Buffers.ArrayPool.Tests.ArrayPoolUnitTests.ReturningANonPooledBufferOfDifferentSizeToThePoolThrows
15:21:39.8310970 2021-04-28 15:21:39.433 System.Buffers.Tests[8873:516700] 	[PASS] System.Buffers.ArrayPool.Tests.ArrayPoolUnitTests.ReturningANonPooledBufferOfDifferentSizeToThePoolThrows
15:21:39.8311110 2021-04-28 15:21:39.433 System.Buffers.Tests[8873:516700] 	[PASS] System.Buffers.ArrayPool.Tests.ArrayPoolUnitTests.ReturningANonPooledBufferOfDifferentSizeToThePoolThrows
15:21:39.8311290 2021-04-28 15:21:39.595 System.Buffers.Tests[8873:516700] 	[PASS] System.Buffers.ArrayPool.Tests.ArrayPoolUnitTests.ConfigurablePool_AllocatedArraysAreCleared_string
15:21:39.8311420 2021-04-28 15:21:39.595 System.Buffers.Tests[8873:516700] 	[IGNORED] System.Buffers.ArrayPool.Tests.ArrayPoolUnitTests.ReturnBufferWhenFullFiresDroppedDiagnosticEvent
15:21:39.8311750 2021-04-28 15:21:39.595 System.Buffers.Tests[8873:516700] 	[PASS] System.Buffers.ArrayPool.Tests.ArrayPoolUnitTests.RentingAllBuffersAndCallingRentAgainWillAllocateBufferAndReturnIt
15:21:39.8311830 2021-04-28 15:21:39.596 System.Buffers.Tests[8873:516700] 	[PASS] System.Buffers.ArrayPool.Tests.ArrayPoolUnitTests.CreatingAPoolWithInvalidArrayCountThrows(length: -1)
15:21:39.8311900 2021-04-28 15:21:39.596 System.Buffers.Tests[8873:516700] 	[PASS] System.Buffers.ArrayPool.Tests.ArrayPoolUnitTests.CreatingAPoolWithInvalidArrayCountThrows(length: 0)
15:21:39.8311970 2021-04-28 15:21:39.596 System.Buffers.Tests[8873:516700] 	[PASS] System.Buffers.ArrayPool.Tests.ArrayPoolUnitTests.RentingWithInvalidLengthThrows
15:21:39.8312190 2021-04-28 15:21:39.597 System.Buffers.Tests[8873:516700] 	[PASS] System.Buffers.ArrayPool.Tests.ArrayPoolUnitTests.RentingWithInvalidLengthThrows
15:21:39.8312280 2021-04-28 15:21:39.597 System.Buffers.Tests[8873:516700] 	[PASS] System.Buffers.ArrayPool.Tests.ArrayPoolUnitTests.RentingWithInvalidLengthThrows
15:21:39.8312340 2021-04-28 15:21:39.597 System.Buffers.Tests[8873:516700] 	[PASS] System.Buffers.ArrayPool.Tests.ArrayPoolUnitTests.RentingWithInvalidLengthThrows
15:21:39.8312410 2021-04-28 15:21:39.597 System.Buffers.Tests[8873:516700] 	[PASS] System.Buffers.ArrayPool.Tests.ArrayPoolUnitTests.RentingGiganticArraySucceedsOrOOMs
15:21:40.0262540 2021-04-28 15:21:39.951 System.Buffers.Tests[8873:516700] 	[PASS] System.Buffers.ArrayPool.Tests.ArrayPoolUnitTests.ConfigurablePool_AllocatedArraysAreCleared_byte
15:21:40.0264700 2021-04-28 15:21:39.952 System.Buffers.Tests[8873:516700] 	[PASS] System.Buffers.ArrayPool.Tests.ArrayPoolUnitTests.RentingReturningThenRentingABufferShouldNotAllocate
15:21:40.0267750 2021-04-28 15:21:39.952 System.Buffers.Tests[8873:516700] 	[PASS] System.Buffers.ArrayPool.Tests.ArrayPoolUnitTests.RentingAfterPoolExhaustionReturnsSizeForCorrespondingBucket_AtLimit
15:21:40.0268870 2021-04-28 15:21:39.952 System.Buffers.Tests[8873:516700] 	[PASS] System.Buffers.ArrayPool.Tests.ArrayPoolUnitTests.SharedInstanceCreatesAnInstanceOnFirstCall
15:21:40.0270710 2021-04-28 15:21:39.952 System.Buffers.Tests[8873:516700] 	[PASS] System.Buffers.ArrayPool.Tests.ArrayPoolUnitTests.CreatingAPoolWithValidMaximumArraySizeSucceeds(length: 1073741824)
15:21:40.0273860 2021-04-28 15:21:39.953 System.Buffers.Tests[8873:516700] 	[PASS] System.Buffers.ArrayPool.Tests.ArrayPoolUnitTests.CreatingAPoolWithValidMaximumArraySizeSucceeds(length: 16)
15:21:40.0275240 2021-04-28 15:21:39.953 System.Buffers.Tests[8873:516700] 	[PASS] System.Buffers.ArrayPool.Tests.ArrayPoolUnitTests.CreatingAPoolWithValidMaximumArraySizeSucceeds(length: 1)
15:21:40.0276100 2021-04-28 15:21:39.953 System.Buffers.Tests[8873:516700] 	[PASS] System.Buffers.ArrayPool.Tests.ArrayPoolUnitTests.CreatingAPoolWithValidMaximumArraySizeSucceeds(length: 2147483647)
15:21:40.0289640 2021-04-28 15:21:39.954 System.Buffers.Tests[8873:516700] 	[PASS] System.Buffers.ArrayPool.Tests.ArrayPoolUnitTests.CallingReturnWithoutClearingDoesNotClearTheBuffer
15:21:40.0290580 2021-04-28 15:21:39.954 System.Buffers.Tests[8873:516700] 	[PASS] System.Buffers.ArrayPool.Tests.ArrayPoolUnitTests.CallingReturnWithoutClearingDoesNotClearTheBuffer
15:21:40.0291680 2021-04-28 15:21:39.954 System.Buffers.Tests[8873:516700] 	[PASS] System.Buffers.ArrayPool.Tests.ArrayPoolUnitTests.CallingReturnWithoutClearingDoesNotClearTheBuffer
15:21:40.0292420 2021-04-28 15:21:39.954 System.Buffers.Tests[8873:516700] 	[PASS] System.Buffers.ArrayPool.Tests.ArrayPoolUnitTests.CallingReturnWithoutClearingDoesNotClearTheBuffer
15:21:40.0348590 2021-04-28 15:21:39.960 System.Buffers.Tests[8873:516700] 	[PASS] System.Buffers.ArrayPool.Tests.ArrayPoolUnitTests.CallingReturnOnValueTypeWithInternalReferenceTypesAndClearingSetsValueTypeToDefault
15:21:40.0352460 2021-04-28 15:21:39.960 System.Buffers.Tests[8873:516700] 	[PASS] System.Buffers.ArrayPool.Tests.ArrayPoolUnitTests.Renting0LengthArrayReturnsSingleton
15:21:40.0354240 2021-04-28 15:21:39.961 System.Buffers.Tests[8873:516700] 	[PASS] System.Buffers.ArrayPool.Tests.ArrayPoolUnitTests.Renting0LengthArrayReturnsSingleton
15:21:40.0355170 2021-04-28 15:21:39.961 System.Buffers.Tests[8873:516700] 	[PASS] System.Buffers.ArrayPool.Tests.ArrayPoolUnitTests.Renting0LengthArrayReturnsSingleton
15:21:40.0356310 2021-04-28 15:21:39.961 System.Buffers.Tests[8873:516700] 	[PASS] System.Buffers.ArrayPool.Tests.ArrayPoolUnitTests.Renting0LengthArrayReturnsSingleton
15:21:40.6679140 2021-04-28 15:21:40.593 System.Buffers.Tests[8873:516700] 	[PASS] System.Buffers.ArrayPool.Tests.ArrayPoolUnitTests.UsePoolInParallel
15:21:41.3173040 2021-04-28 15:21:41.242 System.Buffers.Tests[8873:516700] 	[PASS] System.Buffers.ArrayPool.Tests.ArrayPoolUnitTests.UsePoolInParallel
15:21:41.8363980 Test execution started
15:21:41.9457810 2021-04-28 15:21:41.871 System.Buffers.Tests[8873:516700] 	[PASS] System.Buffers.ArrayPool.Tests.ArrayPoolUnitTests.UsePoolInParallel
15:21:42.3066110 2021-04-28 15:21:42.229 System.Buffers.Tests[8873:516700] 	[PASS] System.Buffers.ArrayPool.Tests.ArrayPoolUnitTests.UsePoolInParallel
15:21:42.3067260 2021-04-28 15:21:42.229 System.Buffers.Tests[8873:516700] 	[PASS] System.Buffers.ArrayPool.Tests.ArrayPoolUnitTests.RentingAfterPoolExhaustionReturnsSizeForCorrespondingBucket_SmallerThanLimit
15:21:42.3067440 2021-04-28 15:21:42.229 System.Buffers.Tests[8873:516700] 	[IGNORED] System.Buffers.ArrayPool.Tests.ArrayPoolUnitTests.ReturnBufferFiresDiagnosticEvent
15:21:42.3067560 2021-04-28 15:21:42.230 System.Buffers.Tests[8873:516700] 	[IGNORED] System.Buffers.ArrayPool.Tests.ArrayPoolUnitTests.RentBufferFiresRentedDiagnosticEvent
15:21:42.3067660 2021-04-28 15:21:42.230 System.Buffers.Tests[8873:516700] 	[PASS] System.Buffers.ArrayPool.Tests.ArrayPoolUnitTests.CallingReturnOnReferenceTypeArrayAndClearingSetsTypesToNull
15:21:42.3067820 2021-04-28 15:21:42.230 System.Buffers.Tests[8873:516700] 	[PASS] System.Buffers.ArrayPool.Tests.ArrayPoolUnitTests.ReturningABufferGreaterThanMaxSizeDoesNotThrow
15:21:42.3067940 2021-04-28 15:21:42.231 System.Buffers.Tests[8873:516700] 	[PASS] System.Buffers.ArrayPool.Tests.ArrayPoolUnitTests.RentingAnArrayWithLengthGreaterThanSpecifiedInCreateStillSucceeds
15:21:42.3068180 2021-04-28 15:21:42.231 System.Buffers.Tests[8873:516700] 	[PASS] System.Buffers.ArrayPool.Tests.ArrayPoolUnitTests.CallingReturnWithClearingDoesClearTheBuffer
15:21:42.3068350 2021-04-28 15:21:42.231 System.Buffers.Tests[8873:516700] 	[PASS] System.Buffers.ArrayPool.Tests.ArrayPoolUnitTests.CallingReturnWithClearingDoesClearTheBuffer
15:21:42.3068540 2021-04-28 15:21:42.231 System.Buffers.Tests[8873:516700] 	[PASS] System.Buffers.ArrayPool.Tests.ArrayPoolUnitTests.CallingReturnWithClearingDoesClearTheBuffer
15:21:42.3068660 2021-04-28 15:21:42.232 System.Buffers.Tests[8873:516700] 	[PASS] System.Buffers.ArrayPool.Tests.ArrayPoolUnitTests.CallingReturnWithClearingDoesClearTheBuffer
15:21:42.3068770 2021-04-28 15:21:42.232 System.Buffers.Tests[8873:516700] 	[PASS] System.Buffers.ArrayPool.Tests.ArrayPoolUnitTests.RentingMultipleArraysGivesBackDifferentInstances
15:21:42.3071270 2021-04-28 15:21:42.232 System.Buffers.Tests[8873:516700] 	[PASS] System.Buffers.ArrayPool.Tests.ArrayPoolUnitTests.NewDefaultArrayPoolWithSmallBufferSizeRoundsToOurSmallestSupportedSize
15:21:42.3089800 2021-04-28 15:21:42.234 System.Buffers.Tests[8873:516700] 	[PASS] System.Buffers.ArrayPool.Tests.ArrayPoolUnitTests.RentAndReturnManyOfTheSameSize_NoneAreSame
15:21:42.3108720 2021-04-28 15:21:42.236 System.Buffers.Tests[8873:516700] 	[PASS] System.Buffers.ArrayPool.Tests.ArrayPoolUnitTests.RentAndReturnManyOfTheSameSize_NoneAreSame
15:21:42.3132680 2021-04-28 15:21:42.238 System.Buffers.Tests[8873:516700] 	[PASS] System.Buffers.ArrayPool.Tests.ArrayPoolUnitTests.RentAndReturnManyOfTheSameSize_NoneAreSame
15:21:42.3153590 2021-04-28 15:21:42.241 System.Buffers.Tests[8873:516700] 	[PASS] System.Buffers.ArrayPool.Tests.ArrayPoolUnitTests.RentAndReturnManyOfTheSameSize_NoneAreSame
15:21:42.3160250 2021-04-28 15:21:42.241 System.Buffers.Tests[8873:516700] 	[PASS] System.Buffers.ArrayPool.Tests.ArrayPoolUnitTests.CallingReturnOnReferenceTypeArrayDoesNotClearTheArray
15:21:42.3166560 2021-04-28 15:21:42.242 System.Buffers.Tests[8873:516700] 	[PASS] System.Buffers.ArrayPool.Tests.ArrayPoolUnitTests.CallingReturnBufferWithNullBufferThrows
15:21:42.3168420 2021-04-28 15:21:42.242 System.Buffers.Tests[8873:516700] 	[PASS] System.Buffers.ArrayPool.Tests.ArrayPoolUnitTests.CallingReturnBufferWithNullBufferThrows
15:21:42.3170400 2021-04-28 15:21:42.242 System.Buffers.Tests[8873:516700] 	[PASS] System.Buffers.ArrayPool.Tests.ArrayPoolUnitTests.CallingReturnBufferWithNullBufferThrows
15:21:42.3172420 2021-04-28 15:21:42.242 System.Buffers.Tests[8873:516700] 	[PASS] System.Buffers.ArrayPool.Tests.ArrayPoolUnitTests.CallingReturnBufferWithNullBufferThrows
15:21:42.3174480 2021-04-28 15:21:42.243 System.Buffers.Tests[8873:516700] 	[IGNORED] System.Buffers.ArrayPool.Tests.ArrayPoolUnitTests.RentingNonExistentBufferFiresAllocatedDiagnosticEvent
15:21:42.3175740 2021-04-28 15:21:42.243 System.Buffers.Tests[8873:516700] 	[IGNORED] System.Buffers.ArrayPool.Tests.ArrayPoolUnitTests.RentingManyBuffersFiresExpectedDiagnosticEvents
15:21:42.3176860 2021-04-28 15:21:42.243 System.Buffers.Tests[8873:516700] 	[PASS] System.Buffers.ArrayPool.Tests.ArrayPoolUnitTests.TakingAllBuffersFromABucketPlusAnAllocatedOneShouldAllowReturningAllBuffers
15:21:42.3186390 2021-04-28 15:21:42.244 System.Buffers.Tests[8873:516700] System.Buffers.ArrayPool.Tests.ArrayPoolUnitTests 3.0741864 ms
15:21:42.3191990 2021-04-28 15:21:42.245 System.Buffers.Tests[8873:516700] 
15:21:42.3192490 Test collection for System.Buffers.ArrayPool.Tests.CollectionTests
15:21:42.3194350 2021-04-28 15:21:42.245 System.Buffers.Tests[8873:516700] 	[IGNORED] System.Buffers.ArrayPool.Tests.CollectionTests.ThreadLocalIsCollectedUnderHighPressure
15:21:42.3196730 2021-04-28 15:21:42.245 System.Buffers.Tests[8873:516700] System.Buffers.ArrayPool.Tests.CollectionTests 0 ms
15:21:42.3332670 2021-04-28 15:21:42.258 System.Buffers.Tests[8873:516716] Xml file was written to the provided writer.
15:21:42.3333810 2021-04-28 15:21:42.258 System.Buffers.Tests[8873:516716] Tests run: 84 Passed: 75 Inconclusive: 0 Failed: 0 Ignored: 9
15:21:42.3333950 2021-04-28 15:21:42.258 System.Buffers.Tests[8873:516716] [TerminateWithSuccess]
15:21:42.3334930 2021-04-28 15:21:42.259 System.Buffers.Tests[8873:516716] ----- Done -----
15:22:56.2593360 Killing process 4120 as it was cancelled
15:22:56.2606890 Killing process 4115 as it was cancelled
15:22:56.2680210 Process mlaunch exited with 137
15:22:56.2696630 Test run failed
15:23:01.2748200 Killing process tree of 4117...
15:23:01.2930420 Pids to kill: 4117
15:23:01.2955760 [TCP tunnel] Killing process 4119 as it was cancelled

15:23:01.2994130 Tests have finished executing
15:23:01.2995650 [TCP tunnel] Process mlaunch exited with 137

15:23:01.2998650 A capture of the device log is: /Users/prvysoky/Documents/work/o/device-iPremek-20210428_152129.log
15:23:01.3148600 Test run succeeded
@premun premun added bug apple iOS/tvOS/WatchOS/Mac Catalyst area labels Apr 28, 2021
@premun premun mentioned this issue Apr 28, 2021
premun added a commit that referenced this issue Apr 29, 2021
- The port wasn't opened on the device so the tunnel was never connected properly
- Fixing multiple timestamps in logs (cascades of callback/aggregated logs)
- Fixing how we log details when waiting for connections

Resolves #570

Testing showed that mlaunch doesn't quit when app is finished though (#574)
@premun premun self-assigned this May 4, 2021
@premun premun added the critical label May 5, 2021
premun added a commit that referenced this issue May 5, 2021
…t` commands (#588)

Tests are not turned on yet because of #590 and #574
@premun premun reopened this Jun 3, 2021
@premun
Copy link
Member Author

premun commented Jun 14, 2021

Seems like we stopped receiving the pidDiedCallback in mlaunch

@premun
Copy link
Member Author

premun commented Sep 15, 2021

This has been fixed in mlaunch

@premun premun reopened this Sep 15, 2021
@premun
Copy link
Member Author

premun commented Oct 20, 2021

Closing and will open a new issue

@premun premun closed this as completed Oct 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
apple iOS/tvOS/WatchOS/Mac Catalyst area bug critical device Related to a real HW device
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants