I need to do a list of what we need to make the performance device lab happen:
Hardware
We need:
- Five Moto G5 Android phones. They should be sim free since we will only be using Wifi,
One server running Ubuntu/Debian. Not really sure how big it need to be though. The server should be connected through ethernet cable. It needs to run Linux (not OS X) because Linux supports sharing USB-devices in Docker, Mac OS X do not).We probably will use a Mac Mini so we also easily can run iOS devices.- One USB Hub, something like Anker that also charges the phones. Make sure it works together with Ubuntu/Debian.
- A modlet or something that can help us keep track of energy consumption.
Software
We need:
- The Android phones will run with the default setup, developer mode turned on etc. But we don't need to jailbreak them. They need to run latest version of Chrome.
- The Linux server needs to have Docker and NodeJs installed.
- We need to collect statistics from the phone using ADB, today we don't have something like that and we need to implement it in T214027
Setup
We need:
- The mobile phones needs to be connected to a Wifi. That wifi need to be setup and used only for these phones. Preferable the wifi should a have limited connectivity and setup matching a 3g profile.
- The server needs to be reachable for performance team members through ssh. The server needs to be able to update Docker containers and send metrics to Graphite (either our default instance or if we setup something new).
Maintenance
We need:
- Login to the server, stop testing, update Docker containers.
- Physically update the mobile phones with a new version of Chrome
- Replace a phone if something is wrong
Things we need to think about:
- How about staging (testing before we update the current versions)