| 1 | device_type: x86 |
| 2 | job_name: babeltrace_benchmark |
| 3 | timeouts: |
| 4 | job: |
| 5 | hours: 3 |
| 6 | action: |
| 7 | hours: 3 |
| 8 | connection: |
| 9 | minutes: 4 |
| 10 | connections: |
| 11 | lava-test-shell: |
| 12 | minutes: 4 |
| 13 | priority: medium |
| 14 | visibility: public |
| 15 | context: |
| 16 | extra_kernel_args: "cpuidle.off=1 idle=poll cpufreq.off=1 numa_balancing=disable" |
| 17 | extra_nfsroot_args: ",nfsvers=3 nfsrootdebug" |
| 18 | |
| 19 | tags: |
| 20 | - dev-sda1 |
| 21 | |
| 22 | environment: |
| 23 | SHELL: "/bin/bash" |
| 24 | |
| 25 | actions: |
| 26 | - deploy: |
| 27 | timeout: |
| 28 | minutes: 10 |
| 29 | to: tftp |
| 30 | kernel: |
| 31 | url: {{ kernel_url }} |
| 32 | type: zimage |
| 33 | nfsrootfs: |
| 34 | url: {{ nfsrootfs_url }} |
| 35 | sha256sum: {{ nfsrootfs_sha256 }} |
| 36 | compression: gz |
| 37 | |
| 38 | - boot: |
| 39 | timeout: |
| 40 | minutes: 10 |
| 41 | method: ipxe |
| 42 | commands: nfs |
| 43 | auto_login: |
| 44 | login_prompt: 'login:' |
| 45 | username: root |
| 46 | password_prompt: 'Password:' |
| 47 | password: root |
| 48 | prompts: |
| 49 | - 'root@linaro-server:~#' |
| 50 | |
| 51 | - test: |
| 52 | definitions: |
| 53 | # Base setup of environment # |
| 54 | - repository: |
| 55 | metadata: |
| 56 | format: Lava-Test Test Definition 1.0 |
| 57 | name: x86-env-setup |
| 58 | description: "Basic environment setup for x86 board" |
| 59 | os: |
| 60 | - ubuntu |
| 61 | devices: |
| 62 | - x86 |
| 63 | run: |
| 64 | steps: |
| 65 | - chmod 755 / |
| 66 | - systemctl start systemd-timesyncd |
| 67 | - echo nameserver 172.18.0.13 > /etc/resolv.conf |
| 68 | - ip a |
| 69 | - mount /dev/sda1 /tmp |
| 70 | - rm -rf /tmp/* |
| 71 | - locale-gen en_US.UTF-8 |
| 72 | - apt-get update |
| 73 | - apt-get upgrade |
| 74 | - hash -r |
| 75 | - sync |
| 76 | from: inline |
| 77 | name: x86-env-setup-inline |
| 78 | path: inline/x86-env-setup.yaml |
| 79 | - repository: https://github.com/lttng/lttng-ci.git |
| 80 | from: git |
| 81 | path: lava/benchmark/babeltrace/benchmark.yml |
| 82 | name: babeltrace-benchmark |
| 83 | params: |
| 84 | COMMIT: {{ commit_hash }} |