1# Copyright 2015 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 5AUTHOR = "mussa, chromeos-video" 6NAME = "video_VimeoVideoWPR" 7PURPOSE = "Verify that Vimeo (html5) video works" 8CRITERIA = "" 9ATTRIBUTES = "suite:bvt-perbuild" 10SUITE = "bvt-perbuild" 11TIME = "SHORT" 12TEST_CATEGORY = "General" 13TEST_CLASS = "video" 14TEST_TYPE = "server" 15 16# TODO(crbug.com/470962) This test can not use server-side package until gsutil 17# is supported in container. 18REQUIRE_SSP = False 19 20DOC = """ 21Pulls WebPageReplay archives from storage onto devices, and uses them to verify 22that vimeo videos play. 23 24""" 25 26from autotest_lib.server.cros import gsutil_wrapper 27from autotest_lib.server import autotest 28 29def run(machine): 30 host = hosts.create_host(machine) 31 32 gsutil_wrapper.copy_private_bucket(host=host, 33 bucket='gs://chrome-partner-telemetry', 34 filename='insight.wpr', 35 destination='/usr/local') 36 37 at = autotest.Autotest(host) 38 at.run_test('video_VimeoVideo') 39 40parallel_simple(run, machines) 41