Collective Knowledge Aggregator proof-of-concept
Crowd results Raw CK browser Graphs Reports Datasets Models Home

This page is outdated! New version is available here.


wa-youtube

Added by: cTuning foundation
Date: 2016-10-02 16:18:40.631701
License: See CK LICENSE.txt for licensing details
Module: program
Repo: ck-wa-workloads
CID (DOI-like distributed ID): b0ac08fe1d3c2615:1f0867a77f9a418b
Tags: wa,workload-automation,youtube

Files:

Cross-linking (dependencies):

Meta:
{
  "apk": {
    "name": "com.google.android.youtube"
  }, 
  "backup_data_uid": "1f0867a77f9a418b", 
  "ck_to_env": {
    "CK_WA_SCRIPTS_PATH": "script:39157fb314f399ae"
  }, 
  "clean_dirs": [
    "wa_output"
  ], 
  "data_name": "WA workload: youtube", 
  "deps": {
    "wa": {
      "env_key": "WA", 
      "force_target_as_host": "yes", 
      "local": "yes", 
      "name": "ARM Workload Automation", 
      "sort": 10, 
      "tags": "tool,wa"
    }
  }, 
  "no_compile": "yes", 
  "no_target_file": "yes", 
  "params": {
    "check_abi": {
      "allowed_values": null, 
      "default": false, 
      "desc": "If ``True``, workload will check that the APK matches the target device ABI, otherwise any APK found will be used.", 
      "mandatory": null, 
      "type": "boolean"
    }, 
    "check_apk": {
      "allowed_values": null, 
      "default": true, 
      "desc": "When set to True the APK file on the host will be prefered if it is a valid version and ABI, if not it will fall back to the version on the targer. When set to False the target version is prefered.", 
      "mandatory": null, 
      "type": "boolean"
    }, 
    "clean_assets": {
      "allowed_values": null, 
      "default": false, 
      "desc": "If ``True`` pushed assets will be deleted at the end of each iteration", 
      "mandatory": null, 
      "type": "boolean"
    }, 
    "force_install": {
      "allowed_values": null, 
      "default": false, 
      "desc": "Always re-install the APK, even if matching version is found already installed on the device. Runs ``adb install -r`` to ensure existing APK is replaced. When this is set, check_apk is ignored.", 
      "mandatory": null, 
      "type": "boolean"
    }, 
    "force_push_assets": {
      "allowed_values": null, 
      "default": false, 
      "desc": "If ``True`` always push assets on each iteration, even if the assets already exists in the device path", 
      "mandatory": null, 
      "type": "boolean"
    }, 
    "install_timeout": {
      "allowed_values": null, 
      "default": 300, 
      "desc": "Timeout for the installation of the apk.", 
      "mandatory": null, 
      "type": "integer"
    }, 
    "markers_enabled": {
      "allowed_values": null, 
      "default": false, 
      "desc": "If ``True``, UX_PERF action markers will be emitted to logcat during the test run.", 
      "mandatory": null, 
      "type": "boolean"
    }, 
    "modules": {
      "allowed_values": null, 
      "default": null, 
      "desc": "Lists the modules to be loaded by this extension. A module is a plug-in that further extends functionality of an extension.", 
      "mandatory": null, 
      "type": "list"
    }, 
    "search_term": {
      "allowed_values": null, 
      "default": "Big Buck Bunny 60fps 4K - Official Blender Foundation Short Film", 
      "desc": "The search term to use when ``video_source`` is set to ``search``. Ignored otherwise.", 
      "mandatory": null, 
      "type": "str"
    }, 
    "uninstall_apk": {
      "allowed_values": null, 
      "default": false, 
      "desc": "If ``True``, will uninstall workload's APK as part of teardown.", 
      "mandatory": null, 
      "type": "boolean"
    }, 
    "video_source": {
      "allowed_values": [
        "home", 
        "my_videos", 
        "search", 
        "trending"
      ], 
      "default": "search", 
      "desc": "Determines where to play the video from. This can either be from the YouTube home, my videos section, trending videos or found in search.", 
      "mandatory": null, 
      "type": "str"
    }
  }, 
  "print_files_after_run": [
    "tmp-output2.tmp", 
    "wa_output/status.txt", 
    "wa_output/youtube_1_1/result.txt"
  ], 
  "process_in_tmp": "yes", 
  "program": "yes", 
  "required_device_access_type": [
    "wa_android", 
    "wa_linux"
  ], 
  "run_cmds": {
    "default": {
      "ignore_return_code": "no", 
      "run_time": {
        "fine_grain_timer_file": "tmp-ck-timer.json", 
        "post_process_cmds": [
          "python $<>$$#dir_sep#$postprocess_workload.py"
        ], 
        "post_process_via_ck": "yes", 
        "pre_process_via_ck": {
          "data_uoa": "process-wa", 
          "module_uoa": "script", 
          "script_name": "preprocess_workload"
        }, 
        "run_cmd_main": "wa run $<>$", 
        "run_cmd_out1": "tmp-output1.tmp", 
        "run_cmd_out2": "tmp-output2.tmp", 
        "run_output_files": []
      }
    }
  }, 
  "run_via_third_party": "yes", 
  "tags": [
    "wa", 
    "workload-automation", 
    "youtube"
  ], 
  "wa_alias": "youtube", 
  "wa_desc": "A workload to perform standard productivity tasks within YouTube"
}

API desc:
{}

If you notice copyrighted, inappropriate or illegal content that should not be here, please report us as soon as possible and we will try to remove it within 48hours!

Developed by Grigori Fursin           
Implemented as a CK workflow
                         
   
                      Hosted at