diff options
Diffstat (limited to 'schneider-openembedded/lava-job-definitions-test/rzn1d/lava-multinode-rzn1d-j21.yaml')
-rw-r--r-- | schneider-openembedded/lava-job-definitions-test/rzn1d/lava-multinode-rzn1d-j21.yaml | 528 |
1 files changed, 0 insertions, 528 deletions
diff --git a/schneider-openembedded/lava-job-definitions-test/rzn1d/lava-multinode-rzn1d-j21.yaml b/schneider-openembedded/lava-job-definitions-test/rzn1d/lava-multinode-rzn1d-j21.yaml deleted file mode 100644 index 93b6e42a1d..0000000000 --- a/schneider-openembedded/lava-job-definitions-test/rzn1d/lava-multinode-rzn1d-j21.yaml +++ /dev/null @@ -1,528 +0,0 @@ -job_name: SE ${MACHINE} network-test ${MANIFEST_BRANCH}-${KERNEL_VERSION_PATCHLEVEL} ${BUILD_NUMBER} eth1/J21 -timeouts: - job: - minutes: 1800 - action: - minutes: 120 - connection: - minutes: 20 -priority: medium -visibility: public - - -protocols: - lava-multinode: - roles: - dut: - device_type: rzn1d - count: 1 - timeout: - minutes: 30 - daemon: - device_type: rzn1d - count: 1 - timeout: - minutes: 30 - - - -actions: -#################### -# Deploy QSPI images -#################### -- deploy: - namespace: dfu-firmware - role: - - daemon - - dut - to: tmpfs - images: - sf_fsbl: - image_arg: --alt sf_fsbl --download {sf_fsbl} - url: ${FSBL_URL} - sf_trustedfw0: - image_arg: --alt sf_trustedfw0 --download {sf_trustedfw0} - url: ${OPTEE_ITB_URL} - sf_trustedfw1: - image_arg: --alt sf_trustedfw1 --download {sf_trustedfw1} - url: ${OPTEE_ITB_URL} - sf_uboot0: - image_arg: --alt sf_uboot0 --download {sf_uboot0} - url: ${UBOOT_ITB_URL} - sf_uboot1: - image_arg: --alt sf_uboot1 --download {sf_uboot1} - url: ${UBOOT_ITB_URL} - -- command: - namespace: dfu-firmware - role: - - daemon - - dut - name: set_boot_to_nand -- boot: - namespace: dfu-firmware - role: - - daemon - - dut - method: dfu - timeout: - minutes: 10 -- command: - namespace: test - role: - - daemon - - dut - name: set_boot_to_qspi - -################## -# all ports off - except J21 -################## -- command: - namespace: test - role: - - daemon - - dut - name: j17_off - -- command: - namespace: test - role: - - daemon - - dut - name: j21_on - -- command: - namespace: test - role: - - daemon - - dut - name: j22_off - -- command: - namespace: test - role: - - daemon - - dut - name: j23_off - -- command: - namespace: test - role: - - daemon - - dut - name: j24_off - - -################### -# dev-image.wic -################### -- deploy: - namespace: test-wic - role: - - daemon - - dut - timeout: - minutes: 100 - to: flasher - images: - image: - url: ${WIC_DEV_IMAGE_URL} - compression: bz2 - layout: - url: ${WIC_DEV_BMAP_URL} - - -- boot: - namespace: test-wic - role: - - daemon - - dut - connection-namespace: dfu-firmware - timeout: - minutes: 10 - method: u-boot - commands: - - run linux_sd - auto_login: - login_prompt: "login:" - username: root - prompts: - - "root@snarc-soca9:" - - "root@rzn1d400-bestla:" - transfer_overlay: - download_command: udhcpc -i eth1 -n; wget - unpack_command: tar --touch -C / -xzf - - -######################################################## -# Turn off all Yepkit USB devices and network interfaces -######################################################## -- test: - namespace: test-wic - role: - - daemon - - dut - timeout: - minutes: 60 - definitions: - - from: inline - repository: - metadata: - format: Lava-Test Test Definition 1.0 - name: yepkit-down-all - description: yepkit test - run: - steps: - - git clone https://github.com/Yepkit/ykush - - cd ykush - - make - - bin/ykushcmd -d a - - sleep 3 - - ifconfig eth0 down || true - - ifconfig eth1 down || true - - ifconfig eth2 down || true - - ifconfig lan0 down || true - - ifconfig lan1 down || true - - ifconfig lan2 down || true - name: yepkit-down-all - path: inline/yepkit-test.yaml - - - - -################################# -# Daemon -################################# - -- test: - namespace: test-wic - role: - - daemon - timeout: - minutes: 300 - definitions: - ################################# - # configure-interface - ################################# - - repository: https://git.linaro.org/landing-teams/working/schneider/test-definitions.git - branch: master - from: git - history: false - path: automated/linux/network-test/network-test.yaml - name: configure-interface-j21 - parameters: - CMD: configure-interface - ETH: eth1 - EXPECTED_RESULT: pass - - ################################# - # Start daemon - ################################# - - repository: https://git.linaro.org/landing-teams/working/schneider/test-definitions.git - branch: master - from: git - history: false - path: automated/linux/network-test/network-test.yaml - name: daemon-j21 - parameters: - CMD: daemon - ETH: eth1 - - -################################# -# DUT -################################# - -- test: - namespace: test-wic - role: - - dut - timeout: - minutes: 300 - definitions: - - - - - ################################# - # configure-interface - ################################# - - repository: https://git.linaro.org/landing-teams/working/schneider/test-definitions.git - branch: master - from: git - history: false - path: automated/linux/network-test/network-test.yaml - name: configure-interface-j21 - parameters: - CMD: configure-interface - ETH: eth1 - EXPECTED_RESULT: pass - MTU: 1500 - - - - - ################################# - # PING - before we mess with link-settings - ################################# - - repository: https://git.linaro.org/landing-teams/working/schneider/test-definitions.git - branch: master - from: git - history: false - path: automated/linux/network-test/network-test.yaml - name: link-settings-default-ping-j21 - parameters: - CMD: ping-request - ETH: eth1 - EXPECTED_RESULT: pass - - - - - ################################# - # Request server IP address - ################################# - - repository: https://git.linaro.org/landing-teams/working/schneider/test-definitions.git - branch: master - from: git - history: false - path: automated/linux/network-test/network-test.yaml - name: request-server-address-j21 - parameters: - CMD: request-server-address - ETH: eth1 - - - - - ################################# - # SCP from Target to Host - ################################# - - repository: https://git.linaro.org/landing-teams/working/schneider/test-definitions.git - branch: master - from: git - history: false - path: automated/linux/network-test/network-test.yaml - name: scp-target-to-host-j21 - parameters: - CMD: scp-target-to-host - ETH: eth1 - - - - - ################################# - # SCP from Host to Target - ################################# - - repository: https://git.linaro.org/landing-teams/working/schneider/test-definitions.git - branch: master - from: git - history: false - path: automated/linux/network-test/network-test.yaml - name: scp-host-to-target-j21 - parameters: - CMD: scp-host-to-target - ETH: eth1 - - - - - ################################# - # SSH from Host to Target - ################################# - - repository: https://git.linaro.org/landing-teams/working/schneider/test-definitions.git - branch: master - from: git - history: false - path: automated/linux/network-test/network-test.yaml - name: ssh-host-to-target-j21 - parameters: - CMD: ssh-host-to-target - ETH: eth1 - - - - - ################################# - # iperf - ################################# - - repository: https://git.linaro.org/landing-teams/working/schneider/test-definitions.git - branch: master - from: git - history: false - path: automated/linux/network-test/network-test.yaml - name: iperf-server-j21 - parameters: - CMD: iperf3-server - ETH: eth1 - - - repository: https://git.linaro.org/landing-teams/working/schneider/test-definitions.git - branch: master - from: git - history: false - path: automated/linux/network-test/network-test.yaml - name: iperf-j21 - parameters: - CMD: iperf3-client - ETH: eth1 - TIME: 60 - - - repository: https://git.linaro.org/landing-teams/working/schneider/test-definitions.git - branch: master - from: git - history: false - path: automated/linux/network-test/network-test.yaml - name: iperf-reverse-j21 - parameters: - CMD: iperf3-client - ETH: eth1 - TIME: 60 - REVERSE: "-R" - - - - - ################################# - # Switch port J21 (eth1) off - ################################# -- command: - namespace: test-wic - role: - - dut - name: j21_off - -- test: - namespace: test-wic - role: - - dut - timeout: - minutes: 10 - interactive: - - name: sleep-j21 - prompts: ["root@snarc-soca9", "root@rzn1d400-bestla"] - script: - - command: sleep 5 - - - ################################# - # Check that ping fails - ################################# -- test: - namespace: test-wic - role: - - dut - timeout: - minutes: 300 - definitions: - - - repository: https://git.linaro.org/landing-teams/working/schneider/test-definitions.git - branch: master - from: git - history: false - path: automated/linux/network-test/network-test.yaml - name: link-off-ping-j21 - parameters: - CMD: ping-request - ETH: eth1 - EXPECTED_RESULT: fail - - - - ################################# - # Switch port J21 (eth1) back on again - ################################# -- command: - namespace: test-wic - role: - - dut - name: j21_on - -- test: - namespace: test-wic - role: - - dut - timeout: - minutes: 10 - interactive: - - name: sleep-j21 - prompts: ["root@snarc-soca9", "root@rzn1d400-bestla"] - script: - - command: sleep 5 - - - ################################# - # Check that ping succeeds - ################################# -- test: - namespace: test-wic - role: - - dut - timeout: - minutes: 300 - definitions: - - - repository: https://git.linaro.org/landing-teams/working/schneider/test-definitions.git - branch: master - from: git - history: false - path: automated/linux/network-test/network-test.yaml - name: link-on-ping-j21 - parameters: - CMD: ping-request - ETH: eth1 - EXPECTED_RESULT: pass - - - - - ################################# - # Finished - ################################# - - repository: https://git.linaro.org/landing-teams/working/schneider/test-definitions.git - branch: master - from: git - history: false - path: automated/linux/network-test/network-test.yaml - name: finished-j21 - parameters: - ETH: eth1 - CMD: finished - - - ################################# - # Reset the port status - ################################# -- command: - namespace: test-wic - role: - - daemon - - dut - name: j17_off - -- command: - namespace: test-wic - role: - - daemon - - dut - name: j21_on - -- command: - namespace: test-wic - role: - - daemon - - dut - name: j22_off - -- command: - namespace: test-wic - role: - - daemon - - dut - name: j23_off - -- command: - namespace: test-wic - role: - - daemon - - dut - name: j24_off |