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
civilinfrastructureplatform:ciptestingreferencetestcases [2018/09/21 13:25]
rajmarshall
civilinfrastructureplatform:ciptestingreferencetestcases [2018/11/08 13:24] (current)
rajmarshall add nowiki to the lavacli command so that '--'s appear correctly
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 123: Line 123:
 ''​ vagrant@guest:​~/​git-repos/​linux-cip$ **export TREE_NAME=cip-example** ''​ ''​ vagrant@guest:​~/​git-repos/​linux-cip$ **export TREE_NAME=cip-example** ''​
  
-// Note: This should ​be the same name you used when you built the kernel. //+// Note: This must be the same name you used when you built the kernel. //
  
 6. Create a test - from within the ''​linux-cip''​ git repository. ​ 6. Create a test - from within the ''​linux-cip''​ git repository. ​
Line 309: Line 309:
 ''​ vagrant@guest:​~/​git-repos/​linux-cip$ **export TREE_NAME=cip-example** ''​ ''​ vagrant@guest:​~/​git-repos/​linux-cip$ **export TREE_NAME=cip-example** ''​
  
-// Note: This should ​be the same name you used when you built the kernel. //+// Note: This must be the same name you used when you built the kernel. //
  
 5. Create a test - from within the ''​linux-cip''​ git repository. ​ 5. Create a test - from within the ''​linux-cip''​ git repository. ​
Line 379: Line 379:
 ===== 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]].+Note that lava-tool is deprecated soin preferenceset up and use lavacli see [[ciptestingreferencetestcases#​test-7use-lavacli-utility|lavacli instructions]].
  
 ==== Prerequisites:​ ==== ==== Prerequisites:​ ====
Line 407: Line 407:
 ''​ vagrant@guest:​~/​git-repos/​linux-cip$ **export TREE_NAME=cip-example** ''​ ''​ vagrant@guest:​~/​git-repos/​linux-cip$ **export TREE_NAME=cip-example** ''​
  
-// Note: This should ​be the same name you used when you built the kernel. //+// Note: This must be the same name you used when you built the kernel. //
  
 4. Create a test for use with the ''​lava-tool''​ utility from within the ''​linux-cip''​ git repository. ​ 4. Create a test for use with the ''​lava-tool''​ utility from within the ''​linux-cip''​ git repository. ​
Line 499: Line 499:
  
 ''​vagrant@guest:​~$ **sudo apt install lavacli** ''​ ''​vagrant@guest:​~$ **sudo apt install lavacli** ''​
 +
 ''​vagrant@guest:​~$ ** mkdir ~/.config** ''​ ''​vagrant@guest:​~$ ** mkdir ~/.config** ''​
  
Line 505: 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 boardAtDesk** ''​+''​ vagrant@guest:​~/​git-repos/​linux-cip$ **<​nowiki>​lavacli identities add --token ​<paste token here--uri http://​localhost:​8080/​RPC2 --username lavauser boardAtDesk</​nowiki>​** ''​
  
  
Line 512: Line 513:
 ''​ vagrant@guest:​~/​git-repos/​linux-cip$ **export TREE_NAME=cip-example** ''​ ''​ vagrant@guest:​~/​git-repos/​linux-cip$ **export TREE_NAME=cip-example** ''​
  
-// Note: This should ​be the same name you used when you built the kernel. //+// Note: This must be the same name you used when you built the kernel. //
  
 5. Create a test for use with the ''​lava-tool''​ utility from within the ''​linux-cip''​ git repository. ​ 5. Create a test for use with the ''​lava-tool''​ utility from within the ''​linux-cip''​ git repository. ​
Line 533: 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 620: 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
        
 +So for the supported devices replace DeviceName with beaglebone-black.yaml or renesas-iwg20m.yaml as appropriate.
 +
 If you wish to just test then use the [[ciptestingreferencetestcases#​test-7use-lavacli-utility|lavacli 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.
 ---- ----
civilinfrastructureplatform/ciptestingreferencetestcases.1537536312.txt.gz ยท Last modified: 2018/09/21 13:25 by rajmarshall