On Thu, 10 Jan 2019 at 08:29, tomato seoji@nexell.co.kr wrote:
Hi, I have trouble with using multiple devices under one device type.
[cut]
I wanted test device named 's5p4418-navi-ref-qt'. But test is run under the device named 's5p4418-navi-ref'.
Everything looks OK to me. You're confusing device with device-type. When you request LAVA to run a test on a device-type it is assumed that all devices of this type are equal. So LAVA scheduler picks first available and assigns it to the job. If you want to use a specific device, you have to add a label to device (I think it has to be done from admin ui) and request this label in the job yaml.
I hope this helps.
milosz
This is test yaml file I submitted.
device_type: s5p4418-navi-type job_name: s5p4418-navi-ref-qt-deploy-test timeouts: job: minutes: 60 action: minutes: 30 connection: minutes: 20 priority: medium visibility: public
protocols: lava-lxc: name: s5p4418-test template: debian distribution: debian release: jessie arch: amd64
actions:
- deploy: failure_retry: 3 namespace: s5p4418-deploy timeout: minutes: 10 to: fastboot images: nexell_ext: url: /home/lava-slave/LAVA-TEST/ dir_name: result-s5p4418-navi-ref-qt deploy_script: /home/lava/bin/nexell-lava-commands.sh deploy_command1: reboot-bootloader deploy_command2: fastboot-download #deploy_command1: test1 #deploy_command2: test2 device_path: '/dev/ttyUSB0' afterdeploy_command1: 'False' afterdeploy_command2: 'False' test: nothing os: oe
- boot: namespace: s5p4418-deploy method: fastboot prompts:
auto_login: login_prompt: 's5p4418-navi-ref login:' username: root parameters: shutdown-message: "reboot: Restarting system" timeout: minutes: 10 nexell_ext: command: /home/lava/bin/nexell-lava-commands.sh dir_name: result-s5p4418-navi-ref-qt command_param: boot command_param2: enter device_path: '/dev/ttyUSB0'
- 'root@s5p4418-navi-ref:~#'
- test: namespace: s5p4418-deploy connection: serial timeout: minutes: 3 failure_retry: 3 name: s5p4418-navi-qt-test definitions: - repository: http://git.linaro.org/lava-team/lava-functional-tests.git from: git path: lava-test-shell/smoke-tests-basic.yaml name: smoke-tests
Lava-users mailing list Lava-users@lists.lavasoftware.org https://lists.lavasoftware.org/mailman/listinfo/lava-users