-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation
Description
Sometimes we can observe the ERROR! Unable to get WDA status successfully! on Apple TV
log:
docker logs -f device-Apple_TV-bd03d002eae5d3087074198596cec3a0faf72a7d
{"deviceList":["bd03d002eae5d3087074198596cec3a0faf72a7d","d6afc6b3a65584ca0813eb8957c6479b9b6ebb11"]}
device info: {"ActivationState":"Activated","ActivationStateAcknowledged":true,"BasebandStatus":"NoTelephonyCapabilty","BluetoothAddress":"28:ff:3c:a0:36:9b","BoardId":52,"BootSessionID":"1982206E-7714-4CD0-9DCE-23773024D189","BrickState":false,"BuildVersion":"20M73","CPUArchitecture":"arm64","ChipID":28672,"DeviceClass":"AppleTV","DeviceColor":"unknown","DeviceName":"Mercury","DieID":2820045745492134,"EthernetAddress":"28:ff:3c:a3:ac:f2","FirmwareVersion":"iBoot-8422.140.59","HardwareModel":"J42dAP","HardwarePlatform":"t7000","HostAttached":true,"HumanReadableProductVersionString":"16.6","MLBSerialNumber":"C0790940A19JHRGAF","ModelNumber":"MR912","NonVolatileRAM":{"SystemAudioVolumeSaved":"dHJ1ZQ==","auto-boot":"dHJ1ZQ==","boot-args":"","com.apple.System.tz0-size":"MHg4MDAwMDA=","ota-original-base-os-version":"MjBMNDk4"},"PairRecordProtectionClass":4,"PartitionType":"GUID_partition_scheme","PasswordProtected":false,"ProductName":"Apple TVOS","ProductType":"AppleTV5,3","ProductVersion":"16.6","ProductionSOC":true,"ProtocolVersion":"2","RegionInfo":"RS/A","SerialNumber":"C07YDB91JG2X","SoftwareBundleVersion":"","SupportedDeviceFamilies":[3],"TelephonyCapability":false,"TimeIntervalSince1970":1692367161.662465,"TimeZone":"Europe/Minsk","TimeZoneOffsetFromUTC":10800,"TrustedHostAttached":true,"UniqueChipID":2820045745492134,"UniqueDeviceID":"bd03d002eae5d3087074198596cec3a0faf72a7d","UseRaptorCerts":true,"Uses24HourClock":false,"WiFiAddress":"28:ff:3c:99:e1:3e","instruments:hardwareInformation":{"hwCPU64BitCapable":1,"hwCPUsubtype":1,"hwCPUtype":16777228,"numberOfCpus":2,"numberOfPhysicalCpus":2},"instruments:networkInformation":{"en0":"Ethernet en0","en1":"Wi-Fi","en3":"Ethernet Adapter (en3)","lo0":"Loopback"}}
ERROR! Unable to get WDA status successfully!
Workaround:
- Open Xcode
- Open WebDriverAgent.xcodeproj in Xcode.
- Remove your WebDriverAgent folder from DerivedData and run Clean build folder (just in case).
- Build the application by selecting the WebDriverAgentRunner target and build for Generic iOS Device. Run Product -> Build for testing. This will create a Products/Debug-iphoneos in the specified project directory.
Example: /Users/$USER/Library/Developer/Xcode/DerivedData/WebDriverAgent-dzxbpamuepiwamhdbyvyfkbecyer/Build/Products/Debug-iphoneos - Go to the "Products/Debug-iphoneos" directory and run: mkdir Payload
- Copy the WebDriverAgentRunner-Runner.app to the Payload directory: cp -r WebDriverAgentRunner-Runner.app Payload
- Zip up the project as an *.ipa file: zip -r WebDriverAgent.ipa ./Payload
- Make sure to specify relative ./Payload to archive only Payload folder content
- Share built ipa via WDA_FILE roles/mac-devices/vars/main.yml
- Run ansible playbook. -
ansible-playbook -vvv -i hosts mac-devices.yml --tag registerDevices
- Restart Apple TV
- ./zebrunner.sh start udid
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation