• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 2018 The Chromium OS Authors. All rights reserved.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5from autotest_lib.server import utils
6
7AUTHOR = "shijinabraham@chromium.org"
8NAME = "enterprise_CFM_LogitechMeetupUpdater"
9TIME = "MEDIUM"
10TEST_CATEGORY = "Functional"
11TEST_CLASS = "enterprise"
12ATTRIBUTES = "suite:hotrod"
13TEST_TYPE = "server"
14JOB_RETRIES = 0
15DEPENDENCIES = "meetup"
16
17
18DOC = """
19This test verifies that the Logitech Meetup firmware updater is working
20as intended. This test performs the following
21- Make the rootfs writable.
22- Backup the original firmware.
23- Copy older firmware bundled with test.
24- Force upgrade the Meetup device to older firmware.
25- Powercycle the usb port to trigger the firmware updater.
26- Confirm firmware has been updated.
27- Cleanup
28This test will work on guado and fizz Chromeboxes with Logitech Meetup
29device connected
30"""
31
32args_dict = utils.args_to_dict(args)
33
34def run_test(machine):
35    host = hosts.create_host(machine, servo_args=None)
36    job.run_test(NAME, host=host)
37
38parallel_simple(run_test, machines)
39