You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What is the issue or idea you have?
When I run a parallel automation or when I try open two devices with in appium with the same OS version, the devices cross and the execution is damaged. If I send the automatization to the serial devices 12345 and 67890 both with android 11, it breaks the execution, but if I run on a single device it works properly. It is sent in the capabilities the udid and the deviceName for each device.
Does it only happen on a specific device? Please run adb devices -l and paste the corresponding row.
happens on different devices with the same OS version
Please provide the steps to reproduce the issue.
With appium, open a session in one device with his capabilities:
{
"platformName": "android",
"platformVersion": "10",
"automationName": "uiautomator2",
"deviceName": "XXXXXXXXXXX",
"appPackage": "com.XXXXXXXXXX.personas",
"appActivity": "com.XXXXXXXXXX.personas.GifActivity",
"noReset": true,
"udid": "10.30.60.146:7465"
}
What is the expected behavior?
I want to execute automation in two devices with the same SO version
Do you see errors or warnings in the stf local output? If so, please paste them or the full log here.
----this is the log when I run parallel with same OS version:
This is log when I run parallel with diferent OS version
2021-09-27T14:23:24.330Z IMP/device:plugins:group 155 [47BNU20915202850] Now owned by "[email protected]"
stf | 2021-09-27T14:23:24.331Z INF/device:plugins:group 155 [47BNU20915202850] Subscribing to group channel "3nC2XrMKSB2wMY8tfmeFZg=="
stf | 2021-09-27T14:23:24.334Z IMP/device:plugins:group 160 [5200f9c0eeddc4e5] Now owned by "[email protected]"
stf | 2021-09-27T14:23:24.335Z INF/device:plugins:group 160 [5200f9c0eeddc4e5] Subscribing to group channel "3nC2XrMKSB2wMY8tfmeFZg=="
stf | 2021-09-27T14:23:24.732Z INF/device:plugins:connect 155 [47BNU20915202850] Listening on port 7405
stf | 2021-09-27T14:23:24.732Z INF/device:plugins:connect 160 [5200f9c0eeddc4e5] Listening on port 7409
stf | 2021-09-27T14:23:24.733Z IMP/device:plugins:connect 155 [47BNU20915202850] Remote Connect Started for device "47BNU20915202850" at "10.30.60.146:7405"
stf | 2021-09-27T14:23:24.733Z IMP/device:plugins:connect 160 [5200f9c0eeddc4e5] Remote Connect Started for device "5200f9c0eeddc4e5" at "10.30.60.146:7409"
stf | 2021-09-27T14:23:24.848Z INF/device:plugins:connect 160 [5200f9c0eeddc4e5] New remote ADB connection from ::ffff:10.30.60.121
stf | 2021-09-27T14:23:24.848Z INF/device:plugins:connect 155 [47BNU20915202850] New remote ADB connection from ::ffff:10.30.60.121
stf | 2021-09-27T14:23:58.025Z IMP/device:plugins:connect 155 [47BNU20915202850] Remote Connect Stopped for device "47BNU20915202850"
stf | 2021-09-27T14:23:58.067Z IMP/device:plugins:group 155 [47BNU20915202850] No longer owned by "[email protected]"
stf | 2021-09-27T14:23:58.067Z INF/device:plugins:group 155 [47BNU20915202850] Unsubscribing from group channel "3nC2XrMKSB2wMY8tfmeFZg=="
stf | 2021-09-27T14:23:59.396Z IMP/device:plugins:connect 160 [5200f9c0eeddc4e5] Remote Connect Stopped for device "5200f9c0eeddc4e5"
stf | 2021-09-27T14:23:59.443Z IMP/device:plugins:group 160 [5200f9c0eeddc4e5] No longer owned by "[email protected]"
stf | 2021-09-27T14:23:59.443Z INF/device:plugins:group 160 [5200f9c0eeddc4e5] Unsubscribing from group channel "3nC2XrMKSB2wMY8tfmeFZg=="
Please run stf doctor and paste the output here.
The text was updated successfully, but these errors were encountered:
cmesav
changed the title
error running android in parallel with the same OS verision
error running android in parallel with the same OS version
Sep 27, 2021
What is the issue or idea you have?
When I run a parallel automation or when I try open two devices with in appium with the same OS version, the devices cross and the execution is damaged. If I send the automatization to the serial devices 12345 and 67890 both with android 11, it breaks the execution, but if I run on a single device it works properly. It is sent in the capabilities the udid and the deviceName for each device.
Does it only happen on a specific device? Please run
adb devices -l
and paste the corresponding row.happens on different devices with the same OS version
Please provide the steps to reproduce the issue.
With appium, open a session in one device with his capabilities:
{
"platformName": "android",
"platformVersion": "10",
"automationName": "uiautomator2",
"deviceName": "XXXXXXXXXXX",
"appPackage": "com.XXXXXXXXXX.personas",
"appActivity": "com.XXXXXXXXXX.personas.GifActivity",
"noReset": true,
"udid": "10.30.60.146:7465"
}
What is the expected behavior?
I want to execute automation in two devices with the same SO version
Do you see errors or warnings in the
stf local
output? If so, please paste them or the full log here.----this is the log when I run parallel with same OS version:
2021-09-27T14:02:59.872Z INF/device:plugins:touch 150 [9FT9K20622909997] Touch origin is top left
stf | 2021-09-27T14:02:59.873Z INF/device:plugins:touch 150 [9FT9K20622909997] Requesting touch consumer to start
stf | 2021-09-27T14:02:59.873Z INF/device:plugins:touch 150 [9FT9K20622909997] Launching touch service
stf | 2021-09-27T14:02:59.883Z INF/device:plugins:touch 150 [9FT9K20622909997] Connecting to minitouch service
stf | 2021-09-27T14:02:59.923Z INF/device:plugins:touch 150 [9FT9K20622909997] minitouch says: "open: Permission denied"
stf | 2021-09-27T14:02:59.923Z INF/device:plugins:touch 150 [9FT9K20622909997] minitouch says: "Unable to open device /dev/input/event0 for inspectionopen: Permission denied"
stf | 2021-09-27T14:02:59.923Z INF/device:plugins:touch 150 [9FT9K20622909997] minitouch says: "Unable to open device /dev/input/event1 for inspectionopen: Permission denied"
stf | 2021-09-27T14:02:59.924Z INF/device:plugins:touch 150 [9FT9K20622909997] minitouch says: "Unable to open device /dev/input/event2 for inspectionUnable to find a suitable touch device"
stf | 2021-09-27T14:02:59.924Z INF/device:plugins:touch 150 [9FT9K20622909997] minitouch says: "using Android InputManager"
stf | 2021-09-27T14:02:59.989Z INF/device:plugins:touch 150 [9FT9K20622909997] Reading minitouch banner
stf | 2021-09-27T14:02:59.989Z INF/device:plugins:touch 150 [9FT9K20622909997] minitouch says: "Connection established"
stf | 2021-09-27T14:03:00.031Z INF/device:plugins:vnc 150 [9FT9K20622909997] Starting VNC server on port 7402
stf | 2021-09-27T14:03:00.032Z INF/device:plugins:browser 150 [9FT9K20622909997] Loading browser list
stf | 2021-09-27T14:03:00.045Z INF/device:plugins:browser 150 [9FT9K20622909997] Updating browser list
stf | 2021-09-27T14:03:00.045Z WRN/device:plugins:browser 150 [9FT9K20622909997] Unmapped browser "com.huawei.browser"
stf | 2021-09-27T14:03:00.047Z INF/device:plugins:mute 150 [9FT9K20622909997] Will not mute master volume
stf | 2021-09-27T14:03:00.335Z INF/device:resources:minirev 150 [9FT9K20622909997] Installing "/app/vendor/minirev/armeabi-v7a/minirev" as "/data/local/tmp/minirev"
stf | 2021-09-27T14:03:00.396Z INF/device:plugins:forward 150 [9FT9K20622909997] Launching reverse port forwarding service
stf | 2021-09-27T14:03:00.407Z INF/device:plugins:forward 150 [9FT9K20622909997] Connecting to reverse port forwarding service
stf | 2021-09-27T14:03:00.601Z INF/device 150 [9FT9K20622909997] Fully operational
stf | 2021-09-27T14:03:02.734Z INF/provider 39 [*] Providing all 3 device(s)
stf | 2021-09-27T14:05:38.004Z IMP/device:plugins:group 151 [47BNU20915202850] Now owned by "[email protected]"
stf | 2021-09-27T14:05:38.005Z INF/device:plugins:group 151 [47BNU20915202850] Subscribing to group channel "3nC2XrMKSB2wMY8tfmeFZg=="
stf | 2021-09-27T14:05:38.009Z IMP/device:plugins:group 150 [9FT9K20622909997] Now owned by "[email protected]"
stf | 2021-09-27T14:05:38.009Z INF/device:plugins:group 150 [9FT9K20622909997] Subscribing to group channel "3nC2XrMKSB2wMY8tfmeFZg=="
stf | 2021-09-27T14:05:38.431Z INF/device:plugins:connect 150 [9FT9K20622909997] Listening on port 7401
stf | 2021-09-27T14:05:38.432Z IMP/device:plugins:connect 150 [9FT9K20622909997] Remote Connect Started for device "9FT9K20622909997" at "10.30.60.146:7401"
stf | 2021-09-27T14:05:38.434Z INF/device:plugins:connect 151 [47BNU20915202850] Listening on port 7405
stf | 2021-09-27T14:05:38.435Z IMP/device:plugins:connect 151 [47BNU20915202850] Remote Connect Started for device "47BNU20915202850" at "10.30.60.146:7405"
stf | 2021-09-27T14:05:40.614Z INF/device:plugins:connect 150 [9FT9K20622909997] New remote ADB connection from ::ffff:10.30.60.121
stf | 2021-09-27T14:05:43.659Z INF/device:plugins:screen:stream 151 [47BNU20915202850] Setting frame producer projection to 574x824
stf | 2021-09-27T14:05:43.659Z INF/device:plugins:screen:stream 151 [47BNU20915202850] Requesting frame producer to start
stf | 2021-09-27T14:05:43.660Z INF/device:plugins:screen:stream 151 [47BNU20915202850] Launching screen service minicap-bin
stf | 2021-09-27T14:05:43.661Z INF/device:resources:minicap 151 [47BNU20915202850] LD_LIBRARY_PATH=/data/local/tmp exec /data/local/tmp/minicap -S -Q 80 -P 1200x1920@574x824/90
stf | 2021-09-27T14:05:43.804Z IMP/device:plugins:connect 151 [47BNU20915202850] Remote Connect Started for device "47BNU20915202850" at "10.30.60.146:7405"
stf | 2021-09-27T14:05:43.878Z INF/device:plugins:screen:stream 151 [47BNU20915202850] minicap says: "PID: 5949"
stf | 2021-09-27T14:05:43.879Z INF/device:plugins:screen:stream 151 [47BNU20915202850] minicap says: "INFO: Using projection 1200x1920@515x824/1"
stf | 2021-09-27T14:05:43.879Z INF/device:plugins:screen:stream 151 [47BNU20915202850] minicap says: "INFO: (external/MY_minicap/src/minicap_29.cpp:241) Creating SurfaceComposerClient"
stf | 2021-09-27T14:05:43.880Z INF/device:plugins:screen:stream 151 [47BNU20915202850] Connecting to minicap service
stf | 2021-09-27T14:05:43.889Z INF/device:plugins:screen:stream 151 [47BNU20915202850] minicap says: "INFO: (external/MY_minicap/src/minicap_29.cpp:244) Performing SurfaceComposerClient init check"
stf | 2021-09-27T14:05:43.890Z INF/device:plugins:screen:stream 151 [47BNU20915202850] minicap says: "INFO: (external/MY_minicap/src/minicap_29.cpp:255) Creating virtual display"
stf | 2021-09-27T14:05:43.892Z INF/device:plugins:screen:stream 151 [47BNU20915202850] minicap says: "INFO: (external/MY_minicap/src/minicap_29.cpp:261) Creating buffer queue"
stf | 2021-09-27T14:05:43.892Z INF/device:plugins:screen:stream 151 [47BNU20915202850] minicap says: "INFO: (external/MY_minicap/src/minicap_29.cpp:264) Setting buffer options"
stf | 2021-09-27T14:05:43.892Z INF/device:plugins:screen:stream 151 [47BNU20915202850] minicap says: "INFO: (external/MY_minicap/src/minicap_29.cpp:268) Creating CPU consumer"
stf | 2021-09-27T14:05:43.892Z INF/device:plugins:screen:stream 151 [47BNU20915202850] minicap says: "INFO: (external/MY_minicap/src/minicap_29.cpp:272) Creating frame waiter"
stf | 2021-09-27T14:05:43.893Z INF/device:plugins:screen:stream 151 [47BNU20915202850] minicap says: "INFO: (external/MY_minicap/src/minicap_29.cpp:276) Publishing virtual display"
stf | 2021-09-27T14:05:43.917Z INF/device:plugins:screen:stream 151 [47BNU20915202850] minicap says: "INFO: (jni/minicap/JpgEncoder.cpp:64) Allocating 6914052 bytes for JPG encoder"
stf | 2021-09-27T14:05:43.988Z INF/device:plugins:screen:stream 151 [47BNU20915202850] Reading minicap banner
stf | 2021-09-27T14:05:43.995Z INF/device:plugins:screen:stream 151 [47BNU20915202850] minicap says: "INFO: (jni/minicap/minicap.cpp:464) New client connection"
stf | 2021-09-27T14:06:07.506Z IMP/device:plugins:group 151 [47BNU20915202850] No longer owned by "[email protected]"
stf | 2021-09-27T14:06:07.507Z INF/device:plugins:group 151 [47BNU20915202850] Unsubscribing from group channel "3nC2XrMKSB2wMY8tfmeFZg=="
stf | 2021-09-27T14:06:07.512Z INF/device:plugins:screen:stream 151 [47BNU20915202850] Requesting frame producer to stop
stf | 2021-09-27T14:06:07.512Z INF/device:plugins:screen:stream 151 [47BNU20915202850] Disconnecting from minicap service
stf | 2021-09-27T14:06:07.515Z INF/device:plugins:screen:stream 151 [47BNU20915202850] Stopping minicap service
stf | 2021-09-27T14:06:07.516Z INF/device:plugins:screen:stream 151 [47BNU20915202850] Sending SIGTERM to minicap
stf | 2021-09-27T14:06:07.555Z INF/device:plugins:screen:stream 151 [47BNU20915202850] minicap says: "INFO: (jni/minicap/minicap.cpp:200) Received SIGTERM, stopping"
stf | 2021-09-27T14:06:07.607Z INF/device:plugins:screen:stream 150 [9FT9K20622909997] Setting frame producer projection to 574x824
stf | 2021-09-27T14:06:07.608Z INF/device:plugins:screen:stream 150 [9FT9K20622909997] Requesting frame producer to start
stf | 2021-09-27T14:06:07.608Z INF/device:plugins:screen:stream 150 [9FT9K20622909997] Launching screen service minicap-bin
stf | 2021-09-27T14:06:07.609Z INF/device:resources:minicap 150 [9FT9K20622909997] LD_LIBRARY_PATH=/data/local/tmp exec /data/local/tmp/minicap -S -Q 80 -P 720x1440@574x824/0
stf | 2021-09-27T14:06:07.616Z INF/device:plugins:screen:stream 151 [47BNU20915202850] minicap says: "INFO: (jni/minicap/minicap.cpp:536) Closing client connection"
stf | 2021-09-27T14:06:07.617Z INF/device:plugins:screen:stream 151 [47BNU20915202850] minicap says: "INFO: (external/MY_minicap/src/minicap_29.cpp:291) Destroying virtual display"
stf | 2021-09-27T14:06:07.777Z IMP/device:plugins:connect 150 [9FT9K20622909997] Remote Connect Started for device "9FT9K20622909997" at "10.30.60.146:7401"
stf | 2021-09-27T14:06:07.796Z INF/device:plugins:screen:stream 150 [9FT9K20622909997] minicap says: "PID: 7054"
stf | 2021-09-27T14:06:07.796Z INF/device:plugins:screen:stream 150 [9FT9K20622909997] minicap says: "INFO: Using projection 720x1440@412x824/0"
stf | 2021-09-27T14:06:07.796Z INF/device:plugins:screen:stream 150 [9FT9K20622909997] minicap says: "INFO: (external/MY_minicap/src/minicap_29.cpp:241) Creating SurfaceComposerClient"
stf | 2021-09-27T14:06:07.797Z INF/device:plugins:screen:stream 150 [9FT9K20622909997] Connecting to minicap service
stf | 2021-09-27T14:06:07.799Z INF/device:plugins:screen:stream 150 [9FT9K20622909997] minicap says: "INFO: (external/MY_minicap/src/minicap_29.cpp:244) Performing SurfaceComposerClient init check"
stf | 2021-09-27T14:06:07.800Z INF/device:plugins:screen:stream 150 [9FT9K20622909997] minicap says: "INFO: (external/MY_minicap/src/minicap_29.cpp:255) Creating virtual display"
stf | 2021-09-27T14:06:07.802Z INF/device:plugins:screen:stream 150 [9FT9K20622909997] minicap says: "INFO: (external/MY_minicap/src/minicap_29.cpp:261) Creating buffer queue"
stf | 2021-09-27T14:06:07.802Z INF/device:plugins:screen:stream 150 [9FT9K20622909997] minicap says: "INFO: (external/MY_minicap/src/minicap_29.cpp:264) Setting buffer options"
stf | 2021-09-27T14:06:07.802Z INF/device:plugins:screen:stream 150 [9FT9K20622909997] minicap says: "INFO: (external/MY_minicap/src/minicap_29.cpp:268) Creating CPU consumer"
stf | 2021-09-27T14:06:07.802Z INF/device:plugins:screen:stream 150 [9FT9K20622909997] minicap says: "INFO: (external/MY_minicap/src/minicap_29.cpp:272) Creating frame waiter"
stf | 2021-09-27T14:06:07.802Z INF/device:plugins:screen:stream 150 [9FT9K20622909997] minicap says: "INFO: (external/MY_minicap/src/minicap_29.cpp:276) Publishing virtual display"
stf | 2021-09-27T14:06:07.809Z INF/device:plugins:screen:stream 150 [9FT9K20622909997] minicap says: "INFO: (jni/minicap/JpgEncoder.cpp:64) Allocating 3112452 bytes for JPG encoder"
stf | 2021-09-27T14:06:07.818Z INF/device:plugins:display 151 [47BNU20915202850] Rotation changed to 0
stf | 2021-09-27T14:06:07.818Z INF/device:plugins:screen:stream 151 [47BNU20915202850] Setting frame producer rotation to 0
stf | 2021-09-27T14:06:07.906Z INF/device:plugins:screen:stream 150 [9FT9K20622909997] Reading minicap banner
stf | 2021-09-27T14:06:07.908Z INF/device:plugins:screen:stream 150 [9FT9K20622909997] minicap says: "INFO: (jni/minicap/minicap.cpp:464) New client connection"
stf | 2021-09-27T14:06:10.392Z IMP/device:plugins:group 150 [9FT9K20622909997] No longer owned by "[email protected]"
stf | 2021-09-27T14:06:10.392Z INF/device:plugins:group 150 [9FT9K20622909997] Unsubscribing from group channel "3nC2XrMKSB2wMY8tfmeFZg=="
stf | 2021-09-27T14:06:10.397Z INF/device:plugins:screen:stream 150 [9FT9K20622909997] Requesting frame producer to stop
stf | 2021-09-27T14:06:10.398Z INF/device:plugins:screen:stream 150 [9FT9K20622909997] Disconnecting from minicap service
stf | 2021-09-27T14:06:10.399Z INF/device:plugins:screen:stream 150 [9FT9K20622909997] Stopping minicap service
stf | 2021-09-27T14:06:10.399Z INF/device:plugins:screen:stream 150 [9FT9K20622909997] Sending SIGTERM to minicap
stf | 2021-09-27T14:06:10.425Z INF/device:plugins:screen:stream 150 [9FT9K20622909997] minicap says: "INFO: (jni/minicap/minicap.cpp:200) Received SIGTERM, stopping"
stf | 2021-09-27T14:06:10.434Z INF/device:plugins:screen:stream 150 [9FT9K20622909997] minicap says: "INFO: (jni/minicap/minicap.cpp:536) Closing client connection"
stf | 2021-09-27T14:06:10.434Z INF/device:plugins:screen:stream 150 [9FT9K20622909997] minicap says: "INFO: (external/MY_minicap/src/minicap_29.cpp:291) Destroying virtual display"
This is log when I run parallel with diferent OS version
2021-09-27T14:23:24.330Z IMP/device:plugins:group 155 [47BNU20915202850] Now owned by "[email protected]"
stf | 2021-09-27T14:23:24.331Z INF/device:plugins:group 155 [47BNU20915202850] Subscribing to group channel "3nC2XrMKSB2wMY8tfmeFZg=="
stf | 2021-09-27T14:23:24.334Z IMP/device:plugins:group 160 [5200f9c0eeddc4e5] Now owned by "[email protected]"
stf | 2021-09-27T14:23:24.335Z INF/device:plugins:group 160 [5200f9c0eeddc4e5] Subscribing to group channel "3nC2XrMKSB2wMY8tfmeFZg=="
stf | 2021-09-27T14:23:24.732Z INF/device:plugins:connect 155 [47BNU20915202850] Listening on port 7405
stf | 2021-09-27T14:23:24.732Z INF/device:plugins:connect 160 [5200f9c0eeddc4e5] Listening on port 7409
stf | 2021-09-27T14:23:24.733Z IMP/device:plugins:connect 155 [47BNU20915202850] Remote Connect Started for device "47BNU20915202850" at "10.30.60.146:7405"
stf | 2021-09-27T14:23:24.733Z IMP/device:plugins:connect 160 [5200f9c0eeddc4e5] Remote Connect Started for device "5200f9c0eeddc4e5" at "10.30.60.146:7409"
stf | 2021-09-27T14:23:24.848Z INF/device:plugins:connect 160 [5200f9c0eeddc4e5] New remote ADB connection from ::ffff:10.30.60.121
stf | 2021-09-27T14:23:24.848Z INF/device:plugins:connect 155 [47BNU20915202850] New remote ADB connection from ::ffff:10.30.60.121
stf | 2021-09-27T14:23:58.025Z IMP/device:plugins:connect 155 [47BNU20915202850] Remote Connect Stopped for device "47BNU20915202850"
stf | 2021-09-27T14:23:58.067Z IMP/device:plugins:group 155 [47BNU20915202850] No longer owned by "[email protected]"
stf | 2021-09-27T14:23:58.067Z INF/device:plugins:group 155 [47BNU20915202850] Unsubscribing from group channel "3nC2XrMKSB2wMY8tfmeFZg=="
stf | 2021-09-27T14:23:59.396Z IMP/device:plugins:connect 160 [5200f9c0eeddc4e5] Remote Connect Stopped for device "5200f9c0eeddc4e5"
stf | 2021-09-27T14:23:59.443Z IMP/device:plugins:group 160 [5200f9c0eeddc4e5] No longer owned by "[email protected]"
stf | 2021-09-27T14:23:59.443Z INF/device:plugins:group 160 [5200f9c0eeddc4e5] Unsubscribing from group channel "3nC2XrMKSB2wMY8tfmeFZg=="
Please run
stf doctor
and paste the output here.The text was updated successfully, but these errors were encountered: