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

lanuch wda failed to connect with iOS 17.4.1 device #492

Open
loading0 opened this issue Oct 10, 2024 · 0 comments
Open

lanuch wda failed to connect with iOS 17.4.1 device #492

loading0 opened this issue Oct 10, 2024 · 0 comments

Comments

@loading0
Copy link

To Reproduce
Steps to reproduce the behavior:

  1. tunnel start --userspace
  2. ios runwda --udid={udid} --bundleid={bundleid} --testrunnerbundleid={bundleid} --xctestconfig=WebDriverAgentRuner.xctest -v
  3. See error:
    {"level":"info","msg":"Set Debug mode","time":"2024-10-10T15:37:39+08:00"}
    {"level":"debug","msg":"map[--address:\u003cnil\u003e --all:false --apps:false --arg:[] --basedir:\u003cnil\u003e --binary:false --bundle-id:\u003cnil\u003e --bundleid:appium.xctrunner --certfile:\u003cnil\u003e --details:false --dstPath:\u003cnil\u003e --enable-post-restart:false --env:[] --filesharing:false --font:\u003cnil\u003e --force:false --gpxfilepath:\u003cnil\u003e --help:false --iface:\u003cnil\u003e --kill-existing:false --lang:false --lat:\u003cnil\u003e --list:false --locale:false --log-output:\u003cnil\u003e --lon:\u003cnil\u003e --mode:\u003cnil\u003e --nojson:false --orgname:\u003cnil\u003e --output:\u003cnil\u003e --p12file:\u003cnil\u003e --pair-record-path:\u003cnil\u003e --password:\u003cnil\u003e --path:\u003cnil\u003e --pid:\u003cnil\u003e --plist:false --port:\u003cnil\u003e --pretty:false --process:\u003cnil\u003e --proxyurl:\u003cnil\u003e --r:false --rsd-port:\u003cnil\u003e --setlang:\u003cnil\u003e --setlocale:\u003cnil\u003e --skip:[] --skip-all:false --srcPath:\u003cnil\u003e --stop-at-entry:false --stream:false --system:false --test-runner-bundle-id:\u003cnil\u003e --test-to-run:[] --test-to-skip:[] --testrunnerbundleid:appium.xctrunner --trace:false --tunnel-info-port:\u003cnil\u003e --udid:00008110-000651691186201E --userspace:false --userspace-port:\u003cnil\u003e --verbose:true --version:false --wait:false --xctest:false --xctest-config:\u003cnil\u003e --xctestconfig:WebDriverAgentRuner.xctest 12h:false 24h:false \u003capp_path\u003e:\u003cnil\u003e \u003cbundleID\u003e:\u003cnil\u003e \u003ccwd\u003e:\u003cnil\u003e \u003chost\u003e:\u003cnil\u003e \u003chostPort\u003e:\u003cnil\u003e \u003ckey\u003e:[] \u003cpass\u003e:\u003cnil\u003e \u003cpattern\u003e:\u003cnil\u003e \u003cport\u003e:\u003cnil\u003e \u003cprofileFile\u003e:\u003cnil\u003e \u003cprofileId\u003e:\u003cnil\u003e \u003cprofileName\u003e:\u003cnil\u003e \u003cprofileTypeId\u003e:\u003cnil\u003e \u003csrcpattern\u003e:\u003cnil\u003e \u003ctarget\u003e:\u003cnil\u003e \u003ctargetPort\u003e:\u003cnil\u003e \u003cuser\u003e:\u003cnil\u003e activate:false add:false apps:false assistivetouch:false auto:false ax:false batterycheck:false cp:false crash:false create-cert:false date:false debug:false devicename:false devicestate:false devmode:false diagnostics:false disable:false diskspace:false display:false dproxy:false enable:false erase:false forward:false fsync:false get:false httpproxy:false image:false info:false install:false instruments:false ip:false kill:false lang:false launch:false list:false listen:false lockdown:false ls:false mkdir:false mobilegestalt:false mount:false notifications:false pair:false pcap:false prepare:false printskip:false profile:false ps:false pull:false push:false readpair:false reboot:false remove:false resetlocation:false rm:false rsd:false runtest:false runwda:true screenshot:false setlocation:false setlocationgpx:false start:false stopagent:false syslog:false timeformat:false toggle:false tree:false tunnel:false uninstall:false unmount:false version:false voiceover:false zoomtouch:false]","time":"2024-10-10T15:37:39+08:00"}
    {"level":"debug","msg":"Looking for device '00008110-000651691186201E'","time":"2024-10-10T15:37:39+08:00"}
    {"level":"debug","msg":"execute handshake","time":"2024-10-10T15:37:40+08:00"}
    {"level":"debug","msg":"Looking for device '00008110-000651691186201E'","time":"2024-10-10T15:37:40+08:00"}
    {"bundleid":"appium.xctrunner","level":"info","msg":"Running wda","testbundleid":"appium.xctrunner","time":"2024-10-10T15:37:40+08:00","xctestconfig":"WebDriverAgentRuner.xctest"}
    {"level":"debug","msg":"iOS version: 17.4.1 detected, running with ios17 support","time":"2024-10-10T15:37:40+08:00"}
    {"level":"debug","msg":"DTX Connection with EOF","time":"2024-10-10T15:37:40+08:00"}
    {"level":"debug","msg":"DTX Connection with EOF","time":"2024-10-10T15:37:40+08:00"}
    {"EnableServiceSSL":false,"Port":49515,"Request":"StartService","Service":"com.apple.mobile.installation_proxy","level":"debug","msg":"Service started on device","time":"2024-10-10T15:37:40+08:00"}
    {"channel_id":"dtxproxy:XCTestManager_IDEInterface:XCTestManager_DaemonConnectionInterface","level":"debug","msg":"Requesting channel","time":"2024-10-10T15:37:40+08:00"}
    {"level":"debug","msg":"i0.0 c0 t:Ack mlen:0 aux_len0 paylen0","time":"2024-10-10T15:37:45+08:00"}
    {"channel_id":"dtxproxy:XCTestManager_IDEInterface:XCTestManager_DaemonConnectionInterface","error":"Timed out waiting for response for message:5 channel:0","level":"error","msg":"failed requesting channel","time":"2024-10-10T15:37:45+08:00"}
    {"channel_id":"dtxproxy:XCTestManager_IDEInterface:XCTestManager_DaemonConnectionInterface","level":"debug","msg":"Channel open","time":"2024-10-10T15:37:45+08:00"}
    {"level":"error","msg":"DeviceConnection failed writing 1297 bytes, only 0 sent","time":"2024-10-10T15:37:45+08:00"}
    {"level":"error","msg":"Failed sending: write tcp 127.0.0.1:64780-\u003e127.0.0.1:60106: write: broken pipe","time":"2024-10-10T15:37:45+08:00"}
    {"channel_id":"dtxproxy:XCTestManager_IDEInterface:XCTestManager_DaemonConnectionInterface","error":"write tcp 127.0.0.1:64780-\u003e127.0.0.1:60106: write: broken pipe","level":"info","methodselector":"_IDE_initiateSessionWithIdentifier:capabilities:","msg":"failed starting invoking method","time":"2024-10-10T15:37:45+08:00"}
    {"level":"error","msg":"initiateSessionWithIdentifierAndCaps failed: write tcp 127.0.0.1:64780-\u003e127.0.0.1:60106: write: broken pipe","time":"2024-10-10T15:37:45+08:00"}
    {"error":"runXUITestWithBundleIdsXcode15Ctx: cannot initiate a IDE session: write tcp 127.0.0.1:64780-\u003e127.0.0.1:60106: write: broken pipe","level":"error","msg":"Failed running WDA","time":"2024-10-10T15:37:45+08:00"}

Smartphone

  • Device: [e.g. iPhone13]
  • OS: [e.g. iOS17.4.1]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant