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/05/16 14:04]
rajmarshall update all the example BBB outputs and remove the B@D version number
civilinfrastructureplatform:ciptestingreferencetestcases [2018/06/11 10:38]
rajmarshall [Procedure:] correct formatting
Line 284: Line 284:
    * An IWG20M that is powered up, connected to the LAN with an ethernet cable and connected to the host machine with a USB cable.    * An IWG20M that is powered up, connected to the LAN with an ethernet cable and connected to the host machine with a USB cable.
    * A locally built CIP kernel and initramfs.    * A locally built CIP kernel and initramfs.
-   * A Remote Power on Switcher - we have tested with... // - need connection info in the board page//+   * A Remote Power on Switcher - see [[renesasboard|Renesas IWG20M]] for these details.
  
 ==== Procedure: ==== ==== Procedure: ====
Line 331: Line 331:
 This is what the start of the Health Check looks like: This is what the start of the Health Check looks like:
  
-   // ​insert log section ​//+   lava-dispatcher,​ installed at version: 2018.4-2~bpo9+1 
 +   ​start:​ 0 validate 
 +   Start time: 2018-05-17 12:​20:​24.171357+00:​00 (UTC) 
 +   ​Validating that http://localhost:​8010/initramfs/initramfs.cpio.gz exists 
 +   ​Validating that http://​localhost:​8010/​cip-checks/​cip_v4.4.126/​v4.4.126-cip22/​arm/​shmobile_defconfig/​zImage exists 
 +   ​Validating that http://​localhost:​8010/​cip-checks/​cip_v4.4.126/​v4.4.126-cip22/​arm/​shmobile_defconfig/​dtbs/​r8a7743-iwg20d-q7.dtb exists 
 +   ​Specifying a type in the boot action is deprecated. Please specify the kernel type in the deploy parameters. 
 +   ​validate duration: 0.02 
 +   case: validate 
 +   ​case_id:​ 114 
 +   ​definition:​ lava 
 +   ​result:​ pass 
 +   ​start:​ 1 tftp-deploy (timeout 00:05:00) [common] 
 +   ​start:​ 1.1 download-retry (timeout 00:05:00) [common] 
 +   ​start:​ 1.1.1 http-download (timeout 00:05:00) [common] 
 +   Not decompressing ramdisk as can be used compressed. 
 +   ​downloading http://​localhost:​8010/​initramfs/​initramfs.cpio.gz 
 +   ​saving as /​var/​lib/​lava/​dispatcher/​tmp/​9/​tftp-deploy-ge8cmxso/​ramdisk/​initramfs.cpio.gz 
 +   total size: 5813656 (5MB)
    <​snip>​    <​snip>​
  
Line 337: Line 355:
  
    </​snip>​    </​snip>​
-   case: finalize+   Finalising connection for namespace '​common'​ 
 +   end4.2 read-feedback (duration 00:00:01) [common] 
 +   end: 4 finalize ​(duration 00:00:01) [common] 
 +   ​Cleaning after the job 
 +   ​Cleaning up download directory: /​var/​lib/​lava/​dispatcher/​tmp/​9/​tftp-deploy-ge8cmxso/​ramdisk 
 +   ​Cleaning up download directory: /​var/​lib/​lava/​dispatcher/​tmp/​9/​tftp-deploy-ge8cmxso/​kernel 
 +   ​Cleaning up download directory: /​var/​lib/​lava/​dispatcher/​tmp/​9/​tftp-deploy-ge8cmxso/​dtb 
 +   ​Override tmp directory removed at /​var/​lib/​lava/​dispatcher/​tmp/​9 
 +   Root tmp directory removed at /​var/​lib/​lava/​dispatcher/​tmp/​9 
 +   Job finished correctly 
 +   case: job 
 +   ​case_id:​ 127
    ​definition:​ lava    ​definition:​ lava
    ​result:​ pass    ​result:​ pass
-   ​level:​ 4 
-   ​extra:​ ... 
-   ​Cleanup:​ removing /​var/​lib/​lava/​dispatcher/​tmp/​22 
  
  
  
  
-11. You can see an example of a successful test log file [[ link | the Renesas IWG20M Test results ]]. +11. You can see an example of a successful test log file [[ https://​gitlab.com/​snippets/​1716407 ​| the Renesas IWG20M Test results ]]. 
  
 ---- ----
Line 355: Line 381:
  
    * A working CIP Board-at-Desk Single-Developer (B@D) Virtual Machine    * A working CIP Board-at-Desk Single-Developer (B@D) Virtual Machine
-   * A Beaglebone Black that is powered up, connected to the LAN with an ethernet cable and connected to the host machine with an FTDI cable. +   * A Beaglebone Black or a Renesas IWG20M board that is powered up, connected to the LAN with an ethernet cable and connected to the host machine with an FTDI cable. 
-   * A built kernel for the Beaglebone Black (see Test #3) +   * A built kernel for the appropriate board (see Test #3 or #5 depending upon your board
-   * The Beaglebone Black has a current successful health check (it is marked as online in LAVA)+   * The board has a current successful health check (it is marked as online in LAVA)
  
 ==== Procedure: ==== ==== Procedure: ====
Line 368: Line 394:
     In the LAVA web interface, click on API->​Authentication Tokens and then on the '​new'​ button, ​     In the LAVA web interface, click on API->​Authentication Tokens and then on the '​new'​ button, ​
     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 ''​lava-tool auth-add http://​lavauser@localhost:​8080/​RPC2+    Then:  
 +'' ​vagrant@guest:​~/​git-repos/​linux-cip$ **lava-tool auth-add http://​lavauser@localhost:​8080/​RPC2** ''​
  
     Paste token for http://​lavauser@localhost:​8080/​RPC2/:​ **paste token - which will not be echoed**     Paste token for http://​lavauser@localhost:​8080/​RPC2/:​ **paste token - which will not be echoed**
civilinfrastructureplatform/ciptestingreferencetestcases.txt · Last modified: 2018/11/08 13:24 by rajmarshall