timeouts:
  job:
    minutes: 75
  action:
    minutes: 10
  connection:
    minutes: 2
context:
  test_character_delay: 10
device_type: x15
job_name: lkft-ssuite-master-346
priority: 50
visibility: public
metadata:
  git branch: master
  git repo: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
  git commit: ff5abbe799e29099695cb8b5b2f198dd8b8bdf26
  git describe: v4.14-rc4-84-gff5abbe799e2
  make_kernelversion: 4.14.0-rc4
  kernel-config: http://snapshots.linaro.org/openembedded/lkft/morty/hikey/rpb/linux-mainline/346/config
  kernel-defconfig: http://snapshots.linaro.org/openembedded/lkft/morty/hikey/rpb/linux-mainline/346/defconfig
  build-url: https://ci.linaro.org/job/openembedded-lkft-linux-mainline/DISTRO=rpb,MACHINE=hikey,label=docker-stretch-amd64/346/
  build-location: http://snapshots.linaro.org/openembedded/lkft/morty/hikey/rpb/linux-mainline/346
  toolchain: arm-linaro-linux-gnueabi linaro-6.2
  series: lkft
  email-notification: ''
  ssuite__url: unknown
  ssuite__version: unknown
  ssuite__revision: unknown
protocols:
  lava-lxc:
    name: lxc-target
    template: debian
    distribution: debian
    release: jessie
    arch: amd64
    mirror: http://deb.debian.org/debian
actions:
- deploy:
    namespace: tlxc
    timeout:
      minutes: 15
    to: lxc
    packages:
    - wget
    - unzip
    os: debian
- boot:
    namespace: tlxc
    prompts:
    - root@(.*):/#
    timeout:
      minutes: 5
    method: lxc
- test:
    namespace: tlxc
    timeout:
      minutes: 10
    definitions:
    - repository: https://github.com/Linaro/test-definitions.git
      from: git
      path: automated/linux/android-platform-tools/install.yaml
      name: install-android-platform-tools-r2600
      parameters:
        LINK: https://dl.google.com/android/repository/platform-tools_r26.0.0-linux.zip
- deploy:
    timeout:
      minutes: 25
    to: fastboot
    namespace: target
    connection: lxc
    images:
      userdata:
        url: http://snapshots.linaro.org/openembedded/lkft/morty/hikey/rpb/linux-mainline/346/rpb-console-image-hikey-20171012090440-346.rootfs.img.gz
        compression: gz
        apply-overlay: true
    os: oe
- boot:
    namespace: target
    auto_login:
      login_prompt: 'am57xx-evm login:'
      username: root
    prompts:
    - 'root@am57xx-evm:'
    commands:
    - setenv fdtfile am57xx-beagle-x15.dtb
    - setenv console ttyS2,115200n8
    - setenv mmcdev 1
    - setenv bootpart 1:9
    - run mmcboot
    timeout:
      minutes: 15
    method: u-boot
- test:
    namespace: target
    timeout:
      minutes: 75
    definitions:
    - from: inline
      repository:
        metadata:
          format: Lava-Test Test Definition 1.0
          name: prep-tmp-disk
          description: Mount local disk for tmp space
        run:
          steps:
          - lsblk -il| grep " /$"| awk '{ print $1 }'|tee /tmp/my-device-or-partition
          - chmod 777 /tmp/my-device-or-partition
      name: prep-tmp-disk
      path: inline/prep.yaml
    - repository: https://github.com/Linaro/test-definitions.git
      from: git
      path: automated/linux/ssuite/ssuite-bench.yaml
      name: ssuite
      parameters:
        SKIP_INSTALL: 'true'
        TESTS: throughput replayed-startup
        TEST_DEV: "'$(cat /tmp/my-device-or-partition)'"
        S_PATH: /opt/S-suite/
      timeout:
        minutes: 75
