1# Copyright 2021 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 = 'ChromeOS Team' 6NAME = 'tast.pvs-tast-cq' 7TIME = 'MEDIUM' 8TEST_TYPE = 'Server' 9ATTRIBUTES = 'suite:pvs-tast-cq' 10MAX_RESULT_SIZE_KB = 1024 * 1024 11PY_VERSION = 3 12 13# tast.py uses binaries installed from autotest_server_package.tar.bz2. 14REQUIRE_SSP = True 15 16DOC = ''' 17This test suite is part of the Platform Validation Suite and contains all 18critical (CQ-blocking) tast tests that can run on Moblab with no special 19test bed requirements. It is intended to mirror the bvt-tast-cq test suite as 20closely as possible. 21For more info on PVS, please check out go/cros-pvs 22For partner-facing docs, see https://chromeos.google.com/partner/dlm/docs/PVS/pvs_partner_documentation.html 23''' 24def run(machine): 25 job.run_test('tast', 26 host=hosts.create_host(machine), 27 test_exprs=['(' 28 '"group:mainline" && ' 29 '!informational && ' 30 '!"name:printer.AddBrotherPrinter" && ' # b/192458034 31 '!"name:printer.ResolutionBrother.*" && ' # b/192458034 32 '!"name:typec.Basic" && ' # typec.Basic requires a servo, which may not be available for PVS testing. 33 '!"name:hwsec.AttestationNoExternalServer" && ' # b/217752622 34 '!"name:apps.LaunchHelpApp.clamshell_logged_in_stable" && ' #b/218705871 35 '!"name:apps.LaunchHelpApp.clamshell_oobe_stable" && ' #b/218705871 36 '!"name:apps.LaunchHelpApp.tablet_logged_in_stable" && ' #b/218705871 37 '!"name:apps.LaunchHelpApp.tablet_oobe_stable" && ' #b/218705871 38 '!"name:arc.Drivefs" && ' #b/218705871 39 '!"name:arc.Drivefs.vm" && ' #b/218705871 40 '!"name:arc.Optin" && ' #b/218705871 41 '!"name:arc.Optin.vm" && ' #b/218705871 42 '!"name:arc.OptinNetworkError" && ' #b/218705871 43 '!"name:example.SecretVars" && ' #b/218705871 44 '!"name:filemanager.DrivefsUI" && ' #b/218705871 45 '!"name:inputs.VirtualKeyboardOOBE" && ' #b/218705871 46 '!"name:login.AuthError" && ' #b/218705871 47 '!"name:login.ChangePassword" && ' #b/218705871 48 '!"name:login.ChromeGAIA" && ' #b/218705871 49 '!"name:login.ExistingUser" && ' #b/218705871 50 '!"name:login.Offline" && ' #b/218705871 51 '!"name:login.ProfileExtension" && ' #b/218705871 52 '!"name:platform.Drivefs" && ' #b/218705871 53 '!"name:quicksettings.SignInScreen.audio" && ' #b/218705871 54 '!"name:quicksettings.SignInScreen.battery" && ' #b/218705871 55 '!"name:quicksettings.SignInScreen.noaudio_nobattery"' #b/218705871 56 ')'], 57 ignore_test_failures=False, max_run_sec=10800, 58 command_args=args, 59 clear_tmp=True, 60 retries=2) 61parallel_simple(run, machines) 62