User Tools

Site Tools


civilinfrastructureplatform:ciptestingreferencetestcases

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
civilinfrastructureplatform:ciptestingreferencetestcases [2018/09/21 13:14]
rajmarshall added documentation on lavacli
civilinfrastructureplatform:ciptestingreferencetestcases [2018/10/19 14:46]
rajmarshall [B@D Reference Test Cases (5/5)] comment on LAVA version updated for forward compatibility
Line 10: Line 10:
 If you have a kernel that you have built on another machine that you wish to test with B@D please refer to [[ciptestingreferencetestcases#​test-6testing-externally-built-kernels|Test 6]]. If you have a kernel that you have built on another machine that you wish to test with B@D please refer to [[ciptestingreferencetestcases#​test-6testing-externally-built-kernels|Test 6]].
  
-// Note that if you are using the latest version of B@D with LAVA 2018-4 (LAVA version is checkable by clicking the Help button and examining the header of that Help page) then see [[ciptestingreferencetestcases#​LAVA-2018-4|Version specific information]] //+// Note that if you are using the latest version of B@D with LAVA 2018-4 ​or greater ​(LAVA version is checkable by clicking the Help button and examining the header of that Help page) then see [[ciptestingreferencetestcases#​LAVA-2018-4|Version specific information]] //
  
 ===== Test #1: Running the Health Check for the QEMU Device ===== ===== Test #1: Running the Health Check for the QEMU Device =====
Line 378: Line 378:
  
 ===== Test #6: Use lava-tool utility ===== ===== Test #6: Use lava-tool utility =====
 +
 +Note that lava-tool is deprecated so, in preference, set up and use lavacli see [[ciptestingreferencetestcases#​test-7use-lavacli-utility|lavacli instructions]].
 +
 ==== Prerequisites:​ ==== ==== Prerequisites:​ ====
  
Line 496: Line 499:
  
 ''​vagrant@guest:​~$ **sudo apt install lavacli** ''​ ''​vagrant@guest:​~$ **sudo apt install lavacli** ''​
 +
 ''​vagrant@guest:​~$ ** mkdir ~/.config** ''​ ''​vagrant@guest:​~$ ** mkdir ~/.config** ''​
  
Line 502: Line 506:
     give it a description and then click the 'View Token Hash' button and copy the displayed hash value.     give it a description and then click the 'View Token Hash' button and copy the displayed hash value.
     Then:      Then: 
-''​ vagrant@guest:​~/​git-repos/​linux-cip$ **lavacli identities add --token <paste token here> --uri http://​localhost:​8080/​RPC2 --username lavauser ​boardAtDeskhttp://​lavauser@localhost:​8080/​RPC2** ''​+''​ vagrant@guest:​~/​git-repos/​linux-cip$ **lavacli identities add --token <paste token here> --uri <​nowiki>​http://​localhost:​8080/​RPC2</​nowiki> ​--username lavauser ​boardAtDesk** ''​
  
  
Line 530: Line 534:
 7. On your host machine, open a web browser and navigate to the LAVA Website: 7. On your host machine, open a web browser and navigate to the LAVA Website:
  
-''​**<​nowiki>​http://​localhost:​8080</​nowiki>​**''​+''​**http://​localhost:​8080**''​
  
 8. Click on the Scheduler menu and select the All Jobs option. 8. Click on the Scheduler menu and select the All Jobs option.
Line 617: Line 621:
    ​vagrant@guest:​~$ sudo cp testFileName.yaml /​etc/​lava-server/​dispatcher-config/​health-checks/​DeviceName.yaml    ​vagrant@guest:​~$ sudo cp testFileName.yaml /​etc/​lava-server/​dispatcher-config/​health-checks/​DeviceName.yaml
        
-If you wish to just test then use the [[ciptestingreferencetestcases#​test-6use-lava-tool-utility|lava-tool ​instructions]],​ replacing the file with your appropriate test.+If you wish to just test then use the [[ciptestingreferencetestcases#​test-7use-lavacli-utility|lavacli ​instructions]],​ replacing the file with your appropriate test.
 ---- ----
  
 Return to the B@D [[ciptestingboardatdesksingledevfeaturepage|feature page]] Return to the B@D [[ciptestingboardatdesksingledevfeaturepage|feature page]]
  
civilinfrastructureplatform/ciptestingreferencetestcases.txt ยท Last modified: 2018/11/08 13:24 by rajmarshall