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/05 13:57]
rajmarshall [Procedure:] get the URL correct
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://lavauser@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