device_type: B2260

job_name: benchmark_disk
timeouts:
  job:
    minutes: 60
  action:
    minutes: 60
  connection:
    minutes: 4
  test:
    minutes: 60

priority: medium
visibility: public

actions:

    - deploy:
        timeout:
          minutes: 5
        to: tftp
        dtb:
          url: file:///users/matb_data/soft4squash/SW13_tag_opensdk-image-weston-2.1.13_RC1_SW_decode_extra/stih410-b2260.dtb
        kernel:
          url: file:///users/matb_data/soft4squash/SW13_tag_opensdk-image-weston-2.1.13_RC1_SW_decode_extra/uImage
        nfsrootfs:
          url: file:///users/matb_data/soft4squash/SW13_tag_opensdk-image-weston-2.1.13_RC1_SW_decode_extra/opensdk-image-weston-st-core-extra-sti-lts.tar.xz
          compression: xz
        os: oe

    - boot:
        method: u-boot
        type: bootm

        failure_retry: 2
        commands: nfs
        prompts:
          - 'root@'
        timeout:
          minutes: 10

    - test:
        metadata:
          format: Lava-Test Test Definition 1.0
          name: BENCHMARK
          description: "BENCHMARK tests "
        timeout:
            minutes: 60
        definitions:
#10 minutes
        - from: git
          repository:  /local/dev/frq08954/dispatcher/lava-tests
          path: tests-def/benchmark/TC_BENCH_DISK_AIO_STRESS.yaml
          name: TC_BENCH_DISK_AIO_STRESS
#10 minutes
        - from: git
          repository:  /local/dev/frq08954/dispatcher/lava-tests
          path: tests-def/benchmark/TC_BENCH_DISK_HDPARM_READ.yaml
          name: TC_BENCH_DISK_HDPARM_READ
#10 minutes
        - from: git
          repository:  /local/dev/frq08954/dispatcher/lava-tests
          path: tests-def/benchmark/TC_BENCH_DISK_IOZONE_READ.yaml
          name: TC_BENCH_DISK_IOZONE_READ
#10 minutes
        - from: git
          repository:  /local/dev/frq08954/dispatcher/lava-tests
          path: tests-def/benchmark/TC_BENCH_DISK_IOZONE_WRITE.yaml
          name: TC_BENCH_DISK_IOZONE_WRITE

context:
  arch: armv7
