Using Docker to test android does not work properly
See original GitHub issueHi.
os: ubuntu 16.04 TLS
run:
sudo docker run --privileged --shm-size=1g -v /dev/bus/usb:/dev/bus/usb -e START_ADB_SERVER=true --rm -v "$(pwd)":/sitespeed.io -v /etc/localtime:/etc/localtime:ro sitespeedio/sitespeed.io --browsertime.xvfb false --browsertime.chrome.android.package com.android.chrome https://www.sitespeed.io
output:
Google Chrome 60.0.3112.78 Mozilla Firefox 54.0
- daemon not running. starting it now on port 5037 *
- daemon started successfully * List of devices attached GWY0216C09005039 device
[2017-11-22 15:12:02] INFO: Versions OS: linux 4.10.0-38-generic nodejs: v6.11.1 sitespeed.io: 5.6.5 browsertime: 1.9.4 coach: 0.36.0 [2017-11-22 15:12:02] INFO: Starting chrome for analysing https://www.sitespeed.io 3 time(s)
then stop at:
[2017-11-22 15:12:02] INFO: Starting chrome for analysing https://www.sitespeed.io 3 time(s)
I tried Samsung S8, Nexus 6P and Huawei Mate 9 they all had the same problem. also I try to enter the docker container to use the adb shell command is working.
My English is not so good, Sorry about that.
Thanks!
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
How to run Android test inside a docker container ... - LinkedIn
How to run Android test inside a docker container using nested virtualization. · Step 1: Setup with your Linux machine [Ubuntu 21] ·...
Read more >Running Android Tests in Docker - Coveros
As part of the project I'm currently engaged on, my team is writing automated tests for an application which has a web interface, ......
Read more >How to run android automation scripts with docker environment.
Stop any running emulators with ADB. Start emulator in the background with flag -no-window and -gpu off . Turn off animation to avoid...
Read more >Run AndroidTest on Android Emulator In Docker
I run AndroidTest on emulator as part of the CI on docker using this image: https://hub.docker.com/r/chrisss404/android-emulator.
Read more >Build a Lightweight Docker Container For Android Testing
By using a Docker container, we can build and run tests for multiple feature branches, speeding up the development and increasing productivity.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
This was released yesterday. Please re-open if you still have the problem!
This is fixed in master now (by upgrading browsertime), we will release it in one day or so.