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

tvOS: capture error and exit 0 #241

Closed
vdelendik opened this issue Sep 5, 2023 · 3 comments
Closed

tvOS: capture error and exit 0 #241

vdelendik opened this issue Sep 5, 2023 · 3 comments
Labels
enhancement New feature or request
Milestone

Comments

@vdelendik
Copy link
Contributor

As only we see write: broken pipe for appleTV we can exit with 0 and error message which should says that developer options should be verified manually and/or AppleTV should be rebooted

[05/09/2023 15:19:21] populating device info
{"channel_id":"com.apple.instruments.server.services.deviceinfo","error":"Timed out waiting for response for message:5 channel:0","level":"error","msg":"failed requesting channel","time":"2023-09-05T15:19:27Z"}
{"channel_id":"com.apple.instruments.server.services.deviceinfo","error":"Timed out waiting for response for message:1 channel:1","level":"info","methodselector":"networkInformation","msg":"failed starting invoking method","time":"2023-09-05T15:19:32Z"}
{"level":"error","msg":"DeviceConnection failed writing 207 bytes, only 0 sent","time":"2023-09-05T15:19:32Z"}
{"level":"error","msg":"Failed sending: write tcp 172.19.0.2:59088-\u003e10.146.80.25:2222: write: broken pipe","time":"2023-09-05T15:19:32Z"}
{"channel_id":"com.apple.instruments.server.services.deviceinfo","error":"write tcp 172.19.0.2:59088-\u003e10.146.80.25:2222: write: broken pipe","level":"info","methodselector":"hardwareInformation","msg":"failed starting invoking method","time":"2023-09-05T15:19:32Z"}
device info:  {"channel_id":"com.apple.instruments.server.services.deviceinfo","error":"Timed out waiting for response for message:5 channel:0","level":"error","msg":"failed requesting channel","time":"2023-09-05T15:19:37Z"} {"channel_id":"com.apple.instruments.server.services.deviceinfo","error":"Timed out waiting for response for message:1 channel:1","level":"info","methodselector":"networkInformation","msg":"failed starting invoking method","time":"2023-09-05T15:19:42Z"} {"level":"error","msg":"DeviceConnection failed writing 207 bytes, only 0 sent","time":"2023-09-05T15:19:42Z"} {"level":"error","msg":"Failed sending: write tcp 172.19.0.2:38596-\u003e10.146.80.25:2222: write: broken pipe","time":"2023-09-05T15:19:42Z"} {"channel_id":"com.apple.instruments.server.services.deviceinfo","error":"write tcp 172.19.0.2:38596-\u003e10.146.80.25:2222: write: broken pipe","level":"info","methodselector":"hardwareInformation","msg":"failed starting invoking method","time":"2023-09-05T15:19:42Z"} {"ActivationState":"Activated","ActivationStateAcknowledged":true,"BasebandStatus":"NoTelephonyCapabilty","BluetoothAddress":"44:c6:5d:73:ec:ca","BoardId":52,"BootSessionID":"20EFCD5E-6ADB-488F-9549-EC13843D04BB","BrickState":false,"BuildVersion":"20M73","CPUArchitecture":"arm64","ChipID":28672,"DeviceClass":"AppleTV","DeviceColor":"unknown","DeviceName":"ATV_4_Gen_2","DieID":4012775077019686,"EthernetAddress":"44:c6:5d:84:20:21","FirmwareVersion":"iBoot-8422.140.59","HardwareModel":"J42dAP","HardwarePlatform":"t7000","HostAttached":true,"HumanReadableProductVersionString":"16.6","MLBSerialNumber":"C0711030E6SJHRGAW","ModelNumber":"MR912","NonVolatileRAM":{"SystemAudioVolumeSaved":"dHJ1ZQ==","auto-boot":"dHJ1ZQ==","boot-args":"","bootdelay":"MA==","obliteration":"RUFDUyBEb25lIEAxNjQ5MzU4NjgzLCBDYWxsZXI6IE4vQSwgVHlwZTogT2JsaXRlcmF0ZURhdGFQYXJ0aXRpb24sIFJlYXNvbjogTi9BIFtnRjogMHgwMDAwMDAwMDA0MDAwMDgwXQ==","ota-original-base-os-version":"MjBMNTYz"},"PairRecordProtectionClass":4,"PartitionType":"GUID_partition_scheme","PasswordProtected":false,"ProductName":"Apple TVOS","ProductType":"AppleTV5,3","ProductVersion":"16.6","ProductionSOC":true,"ProtocolVersion":"2","RegionInfo":"LL/A","SerialNumber":"DY3FC4FLJG2X","SoftwareBundleVersion":"","SupportedDeviceFamilies":[3],"TelephonyCapability":false,"TimeIntervalSince1970":1693927172.580815,"TimeZone":"America/New_York","TimeZoneOffsetFromUTC":-14400,"TrustedHostAttached":true,"UniqueChipID":4012775077019686,"UniqueDeviceID":"d050bc1212f0671b41b617ee2fd2de463b5f0bba","UseRaptorCerts":true,"Uses24HourClock":false,"WiFiAddress":"44:c6:5d:72:76:4e"}
[05/09/2023 15:19:42] Allow to download and mount DeveloperDiskImages automatically

@vdelendik
Copy link
Contributor Author

same applicable for iphones as well

[06/09/2023 14:44:37] populating device info
{"channel_id":"com.apple.instruments.server.services.deviceinfo","error":"Timed out waiting for response for message:5 channel:0","level":"error","msg":"failed requesting channel","time":"2023-09-06T14:44:44Z"}
{"channel_id":"com.apple.instruments.server.services.deviceinfo","error":"Timed out waiting for response for message:1 channel:1","level":"info","methodselector":"networkInformation","msg":"failed starting invoking method","time":"2023-09-06T14:44:49Z"}
{"channel_id":"com.apple.instruments.server.services.deviceinfo","error":"Timed out waiting for response for message:2 channel:1","level":"info","methodselector":"hardwareInformation","msg":"failed starting invoking method","time":"2023-09-06T14:44:54Z"}
device info:  {"channel_id":"com.apple.instruments.server.services.deviceinfo","error":"Timed out waiting for response for message:5 channel:0","level":"error","msg":"failed requesting channel","time":"2023-09-06T14:45:00Z"} {"channel_id":"com.apple.instruments.server.services.deviceinfo","error":"Timed out waiting for response for message:1 channel:1","level":"info","methodselector":"networkInformation","msg":"failed starting invoking method","time":"2023-09-06T14:45:05Z"} {"channel_id":"com.apple.instruments.server.services.deviceinfo","error":"Timed out waiting for response for message:2 channel:1","level":"info","methodselector":"hardwareInformation","msg":"failed starting invoking method","time":"2023-09-06T14:45:10Z"} 

@vdelendik
Copy link
Contributor Author

fix should be available in public.ecr.aws/zebrunner/appium:2.0.6-beta5

@vdelendik
Copy link
Contributor Author

verified on my own. the similar should be delivered for stf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Archived in project
Development

No branches or pull requests

1 participant