question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Using Docker to test android does not work properly

See original GitHub issue

Hi.

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:closed
  • Created 6 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
soulgalorecommented, Nov 24, 2017

This was released yesterday. Please re-open if you still have the problem!

1reaction
soulgalorecommented, Nov 23, 2017

This is fixed in master now (by upgrading browsertime), we will release it in one day or so.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found