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

Time to time WdaMjpeg connection is lost with exit 1 error on mcloud-agent _Mac #225

Open
dhreben opened this issue Aug 28, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@dhreben
Copy link
Contributor

dhreben commented Aug 28, 2023

According to my monitoring it happens once every 1 hour, after that the device is restarted and available for 20-30 seconds.

log:

device info:  {"ActivationState":"Activated","BasebandActivationTicketVersion":"V2","BasebandCertId":2315222105,"BasebandChipID":241889,"BasebandKeyHashInformation":{"AKeyStatus":2,"SKeyHash":"u+/tcCwvaQ+1Y9t40I4yegCEmB28mALlaROhaIVGBWo=","SKeyStatus":0},"BasebandMasterKeyHash":"8CB15EE4C8002199070D9500BB8FB183B02713A5CA2A6B92DB5E75CE15536182","BasebandRegionSKU":"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==","BasebandSerialNumber":"L0d+sw==","BasebandStatus":"BBInfoAvailable","BasebandVersion":"8.50.04","BluetoothAddress":"e4:9a:dc:70:1f:bc","BoardId":2,"BootSessionID":"E3DA34E6-5E1C-427B-8641-0170D68E7528","BrickState":false,"BuildVersion":"20E252","CPUArchitecture":"arm64","CarrierBundleInfoArray":[],"CertID":2315222105,"ChipID":32789,"ChipSerialNo":"L0d+sw==","DeviceClass":"iPhone","DeviceColor":"1","DeviceName":"iPhone (5)","DieID":1153014174074938,"EthernetAddress":"e4:9a:dc:70:1f:bd","FirmwareVersion":"iBoot-8422.100.650","FusingStatus":3,"HardwareModel":"D20AP","HardwarePlatform":"t8015","HasSiDP":true,"HostAttached":true,"HumanReadableProductVersionString":"16.4.1","InternationalMobileEquipmentIdentity":"353000091172943","MLBSerialNumber":"C7H7413048FJ0Y1A1","MobileEquipmentIdentifier":"35300009117294","MobileSubscriberCountryCode":"","MobileSubscriberNetworkCode":"","ModelNumber":"NQ722","NonVolatileRAM":{"StartupMute":"MQ==","SystemAudioVolumeSaved":"MQ==","auto-boot":"dHJ1ZQ==","backlight-level":"MTUwMg==","backlight-nits":"MHgwMGFiOThmNw==","boot-args":"","com.apple.System.tz0-size":"MHgxN0NDMDAw","fm-activation-locked":"Tk8=","fm-spstatus":"WUVT","obliteration":"RUFDUyBEb25lIEAxNjc5MzIzMjUzLCBDYWxsZXI6IE4vQSwgUmVhc29uOiBtY19tb2JpbGVfdHVubmVsIGVyYXNlIGRldmljZSBjb21tYW5kIFtnRjogMHgwMDAwMDAwMDAwMDAwMDAwXQ==","ota-controllerVersion":"U1VTLTIuMA==","ota-original-base-os-version":"MjBDNjU=","usbcfwflasherResult":"Tm8gZXJyb3Jz"},"PairRecordProtectionClass":4,"PartitionType":"GUID_partition_scheme","PasswordProtected":false,"PkHash":"if98WU1oTt+jcaZlvUC9AOG/rlbJxZpIN+cg7Rv1bCY=","ProductName":"iPhone OS","ProductType":"iPhone10,1","ProductVersion":"16.4.1","ProductionSOC":true,"ProtocolVersion":"2","ProximitySensorCalibration":"f3oABTIAHgB2L3RB70e0QQAAyELRdk1BIsN9QQAAFkPRdk1BIsN9QQAAFkMSsslC7rOpwMFxaETMgmhE/RppRNfqaURNUsBBQgTGQVWj3kHQNepBAAAgQsq60EKVrfRBAABIQkD+jUPAZ41DGNweRvJKHUPuJYggASEYDgpPuEXpQlBDGNhFRQIAAAAAAADl","RegionInfo":"LL/A","SIMStatus":"kCTSIMSupportSIMStatusNotInserted","SIMTrayStatus":"kCTSIMSupportSIMTrayInsertedNoSIM","SerialNumber":"GGLWK0E5JC6C","SoftwareBehavior":"EQAAAAAAAAAAAAAAAAAAAA==","SoftwareBundleVersion":"","SupportedDeviceFamilies":[1],"TelephonyCapability":true,"TimeIntervalSince1970":1693251983.685973,"TimeZone":"Europe/Minsk","TimeZoneOffsetFromUTC":10800,"TrustedHostAttached":true,"UniqueChipID":1153014174074938,"UniqueDeviceID":"e18f63dd2e441bea17f95a50b1073bbbdeaddba8","UseRaptorCerts":true,"Uses24HourClock":false,"WiFiAddress":"e4:9a:dc:70:1f:bb","instruments:hardwareInformation":{"hwCPU64BitCapable":1,"hwCPUsubtype":1,"hwCPUtype":16777228,"numberOfCpus":6,"numberOfPhysicalCpus":6},"instruments:networkInformation":{"en0":"Wi-Fi","en1":"Ethernet Adapter (en1)","en2":"Ethernet Adapter (en2)","lo0":"Loopback"},"kCTPostponementInfoPRLName":0,"kCTPostponementInfoServiceProvisioningState":false,"kCTPostponementStatus":"kCTPostponementStatusActivated"}
Linked appium container is up and running.
2023-08-28T19:46:10.061Z INF/db 33 [e18f63dd2e441bea17f95a50b1073bbbdeaddba8] Connecting to demo.zebrunner.farm:28015
2023-08-28T19:46:10.090Z INF/device:support:push 33 [e18f63dd2e441bea17f95a50b1073bbbdeaddba8] Ios device sending output to "tcp://demo.zebrunner.farm:7270"
2023-08-28T19:46:10.093Z INF/ios-device 33 [e18f63dd2e441bea17f95a50b1073bbbdeaddba8] Preparing device options:  {
  serial: 'e18f63dd2e441bea17f95a50b1073bbbdeaddba8',
  provider: 'mcloud-ios-NEW',
  publicIp: 'demo.zebrunner.farm',
  endpoints: {
    sub: [ 'tcp://demo.zebrunner.farm:7250' ],
    push: [ 'tcp://demo.zebrunner.farm:7270' ],
    appDealer: [ 'tcp://demo.zebrunner.farm:7160' ],
    devDealer: [ 'tcp://demo.zebrunner.farm:7260' ]
  },
  groupTimeout: 3600000,
  storageUrl: 'https://demo.zebrunner.farm:443/',
  adbHost: '127.0.0.1',
  adbPort: 5037,
  screenJpegQuality: 30,
  screenPingInterval: 30000,
  screenPort: 7434,
  screenWsUrlPattern: 'wss://demo.zebrunner.farm:443/d/192.168.89.154/e18f63dd2e441bea17f95a50b1073bbbdeaddba8/7434/',
  connectUrlPattern: '192.168.89.154:<%= publicPort %>',
  connectPort: 8101,
  wdaHost: 'appium',
  wdaPort: 8100,
  vncInitialSize: [ 600, 800 ],
  heartbeatInterval: 10000,
  bootCompleteTimeout: 60000,
  muteMaster: 'never',
  lockRotation: false,
  cleanup: true,
  screenReset: true,
  udidStorage: false,
  iproxy: false,
  deviceName: 'iPhone_8',
  deviceType: 'Phone',
  host: '192.168.89.154'
}
2023-08-28T19:46:10.573Z INF/device:support:sub 33 [e18f63dd2e441bea17f95a50b1073bbbdeaddba8] Receiving input from "tcp://demo.zebrunner.farm:7250"
2023-08-28T19:46:10.575Z INF/device:support:sub 33 [e18f63dd2e441bea17f95a50b1073bbbdeaddba8] Subscribing to permanent channel "*ALL"
2023-08-28T19:46:10.579Z INF/device:plugins:solo 33 [e18f63dd2e441bea17f95a50b1073bbbdeaddba8] Subscribing to permanent channel "7pGR4hcuhWT9LMXgGgLQTAAE0rc="
2023-08-28T19:46:10.584Z INF/wdaClient 33 [e18f63dd2e441bea17f95a50b1073bbbdeaddba8] WdaClient.js initializing...
connecting to WdaMjpeg
2023-08-28T19:46:10.596Z INF/device:info 33 [e18f63dd2e441bea17f95a50b1073bbbdeaddba8] device.name: iPhone_8
Connected to WdaMjpeg appium:8101
WdaMjpeg connection was closed
2023-08-28T19:46:59.266Z INF/util:lifecycle 33 [e18f63dd2e441bea17f95a50b1073bbbdeaddba8] Winding down for graceful exit, with optional error :  WdaMjpeg connection is lost
2023-08-28T19:46:59.275Z FTL/util:lifecycle 33 [e18f63dd2e441bea17f95a50b1073bbbdeaddba8] Shutting down due to fatal error with optional error :  WdaMjpeg connection is lost
Exit status: 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Development

No branches or pull requests

2 participants