the Chromium logo

The Chromium Projects

Overview of MobLab

***DEPRECATED, PLEASE VISIT

https://www.chromium.org/chromium-os/testing/moblab *** (20170714)

Introduction

When qualifying a new board for release, the test engineering team for Chrome OS performs the following tasks:

Done manually, these tests take human testers multiple days to complete. While the tests cannot be performed in parallel, each one can be automated. To accelerate board bring-up and ensure quality, the Chrome OS team is in the process of automating the tests so that partners can run them on site.

Testing at the partner site has numerous benefits for both partners and Google:

What is MobLab?

Required Hardware

MobLab is a test system in a box: a customized Chrome OS image loaded onto a Chromebox. The MobLab tests are the same tests that the Chrome OS team at Google runs in the Chrome OS lab. A few customizations have been added to help partners, like extra processes to streamline interactions with the test suite.

The hardware specs for the supported Moblab platform as of Oct 1, 2015 are below. If your setup does not use the hardware below, our team will not be able to assist in troubleshooting.

Hardware Specification Details
Chromebox ASUS CN62 with Core i3 processor https://www.asus.com/Chrome-Devices/ASUS_Chromebox_CN62/specifications/
USB-to-ethernet adapter LINKSYS USB3GIG USB 3.0 GIGABIT ETHERNET ADAPTER --- Apple USB Ethernet adapter ==http://www.linksys.com/us/p/P-USB3GIG/== OR ==https://www.amazon.com/Linksys-Ethernet-Chromebook-Ultrabook-USB3GIG/dp/B00LIW8TBG/ref=sr_1_1?ie=UTF8&qid=1491807967&sr=8-1&keywords=linksys+usb+ethernet+adapter== --- http://www.apple.com/tw/shop/product/MC704FE/A/apple-usb-ethernet-adapter
Internal SSD Transcend 128 GB SATA III 6Gb/s MTS400 42 mm M.2 SSD Solid State Drive TS128GMTS400 http://www.amazon.com/Transcend-MTS400-Solid-State-TS128GMTS400/dp/B00KLTPUU0
Switching Hub (optional for multiple DUTs) Netgear GS105 Unmanaged Switch, Gigabit ethernet switch ==https://www.amazon.com/NETGEAR-GS105NA-Ethernet-Replacement-Unmanaged/dp/B0000BVYT3/ref=sr_1_1?srs=2529990011&ie=UTF8&qid=1492454601&sr=8-1&keywords=GS105==

Additional requirement for running CTS. Due to the large size of test results from CTS tests that can eat up 128GB quickly. We also noticed that upgrading from 4GB memory to 16GB will reduce the DUT crash rate, especially when running CTS against x86 DUTs.

Hardware Specification Example Details Comment
External Hard Drive 1TB USB 3.0 https://www.amazon.com/Elements-Portable-External-Drive-WDBUZG0010BBK-EESN/dp/B00CRZ2PRM/ please follow instruction here to label the HD correctly "MOBLAB-STORAGE".
RAM 16GB https://www.amazon.com/gp/product/B00J8U549K/ref=oh_aui_search_detailpage?ie=UTF8&psc=1

Note: All of these components can be purchased from:

Sanny Chiu

Synnex Technology International Corp.

Tel: 886-2-2506-3320 Ext 2033

Mobile : 0919-809-819

email: sannychiu@synnex.com.tw


Network Configuration

This diagram shows a typical configuration of MobLab on a partner’s network:

MobLab establishes a test subnet to isolate testing activities and machines from the rest of the corporate network. It handles network setup and configuration tasks, including requesting addresses and configuring services.

The connection to the corporate network and the Internet enables automatic updates of the MobLab server image, as well as access to Google Cloud Storage. The corporate network at the partner site should provide security features (firewall, VPN, etc.) to protect MobLab and the test subnet from potential external attacks.


Advantages

This section describes the advantages of setting up MobLab and running tests at your site.

Easy to set up and manage

MobLab requires virtually no administrative overhead. Storage, network communication, and software updates are all managed automatically. The latest software is used for testing, and versions of the operating system and test suite are always in sync.

Full lab feature support

Any Autotest suite or individual test case can be run on a single box. This includes test suites such as build validation tests (BVT), hardware component qualification tests, and custom automated tests. MobLab can run any test written using the Autotest framework.

Depending on the type of component being tested, additional equipment may be required. For example, a WiFi signal is required for wireless connectivity tests.

Scaleable

The Autotest framework enables running across multiple machines and scheduling tests. Simpler tools and test frameworks only support manually launching tests, or running them on a single machine. With Autotest, you can also define pools of multiple hosts, to group machines and set scheduling priorities.

Common ground

Moblab provides a common platform for test infrastructure. Using the same hardware, software, and test builds makes communication between partners and Google more efficient. When issues are found, having a common platform makes it much quicker and easier to reproduce them.

Open source project

Community support provides greater security and faster response time for questions and issues. Source files are available for inspection and customization, and partner contributions are welcome. The only feature unavailable to custom builds of MobLab is automatic server updates.

Summary

With MobLab, partners get a robust, low-maintenance test environment where they can: