Home | History | Annotate | Download | only in longevity_Tracker
      1 # Copyright 2016 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 
      5 AUTHOR = 'scunningham'
      6 NAME = 'longevity_Tracker.riseplayer'
      7 PURPOSE = 'Tracks Chrome OS performance over long periods.'
      8 TIME = 'LONG'
      9 TEST_CATEGORY = 'Performance'
     10 TEST_CLASS = 'performance'
     11 TEST_TYPE = 'client'
     12 DEPENDENCIES = 'riseplayer'
     13 
     14 DOC = '''
     15 This script tracks performance of Chrome OS running the specified Kiosk App.
     16 It captures device resource data, including cpu and memory usage, and device
     17 temperature in the background with the specified Kiosk App running in the
     18 foreground. The script presumes the device is running the desired Chrome OS
     19 version, is enrolled, and the target App is launched and signed in.
     20 
     21 The script cycle shall terminate itself after the set duration, or soon after
     22 a longevity_terminate flag file is seen in the /tmp/ directory.
     23 '''
     24 
     25 kiosk_app_attributes = (
     26     'riseplayer:mfpgpdablffhbfofnhlpgmokokbahooi:index.html')
     27 
     28 job.run_test('longevity_Tracker',
     29              kiosk_app_attributes=kiosk_app_attributes,
     30              tag='riseplayer')
     31