• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
5AUTHOR = "scunningham"
6NAME = "enterprise_LongevityTrackerServer.stratosmedia"
7PURPOSE = "Tracks Chrome OS performance over long periods."
8TIME = "LONG"
9TEST_CATEGORY = "Performance"
10TEST_CLASS = "performance"
11TEST_TYPE = "server"
12ATTRIBUTES = "suite:longevity"
13DEPENDENCIES = "stratosmedia"
14
15DOC = """
16This test enrolls ChromeOS device into kiosk mode and captures device resource
17data including cpu and memory usage, and temperature data after the kiosk app
18auto launches.
19"""
20
21
22def run_test(machine):
23    host = hosts.create_host(machine)
24    # Kiosk app attributes include app name, extension id and extension page
25    kiosk_app_attributes = \
26            'stratosmedia:alhlkpgheiefedomljbenmkpconkffhk:index.html'
27    job.run_test('enterprise_LongevityTrackerServer', host=host,
28            kiosk_app_attributes=kiosk_app_attributes, tag='stratosmedia')
29
30
31parallel_simple(run_test, machines)
32