aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Harkin <ryan.harkin@linaro.org>2021-01-07 19:31:07 +0000
committerRyan Harkin <ryan.harkin@linaro.org>2021-01-07 19:35:26 +0000
commitf8f34750e01c06c6987a3eeb655523a862b699ce (patch)
tree7f330f7ab5ecebb486d1ac51ec540e4c10ce0f17
parentce6b27a754d7525971af3decd44a577f2f1c8790 (diff)
add mtu 1536 multinode jobs
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
-rw-r--r--automated/linux/network-test/lava-multinode-rzn1d-j17-mtu1536.yaml512
-rw-r--r--automated/linux/network-test/lava-multinode-rzn1d-j21-mtu1536.yaml512
-rw-r--r--automated/linux/network-test/lava-multinode-soca9-j17-mtu1536.yaml441
-rw-r--r--automated/linux/network-test/lava-multinode-soca9-j21-mtu1536.yaml441
4 files changed, 1906 insertions, 0 deletions
diff --git a/automated/linux/network-test/lava-multinode-rzn1d-j17-mtu1536.yaml b/automated/linux/network-test/lava-multinode-rzn1d-j17-mtu1536.yaml
new file mode 100644
index 0000000..b34c7cd
--- /dev/null
+++ b/automated/linux/network-test/lava-multinode-rzn1d-j17-mtu1536.yaml
@@ -0,0 +1,512 @@
+job_name: SE rzn1d network-test link-settings eth1/J17 MTU 1536
+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: https://releases.linaro.org/members/schneider/openembedded/2020.09-dunfell/rzn1d-5.4/rzn1d-snarc-fsbl-fip-linaro-rel-2020.09-dunfell-rc2-internal-dirty.spkg
+ sf_trustedfw:
+ image_arg: --alt sf_trustedfw --download {sf_trustedfw}
+ url: https://releases.linaro.org/members/schneider/openembedded/2020.09-dunfell/rzn1d-5.4/optee/optee-os-linaro-rel-2020.09-dunfell-rc2-internal-dirty.itb
+ sf_uboot0:
+ image_arg: --alt sf_uboot0 --download {sf_uboot0}
+ url: https://releases.linaro.org/members/schneider/openembedded/2020.09-dunfell/rzn1d-5.4/ubootfitImage-linaro-rel-2020.09-dunfell-rc2-internal-dirty-rzn1d.itb
+ sf_uboot1:
+ image_arg: --alt sf_uboot1 --download {sf_uboot1}
+ url: https://releases.linaro.org/members/schneider/openembedded/2020.09-dunfell/rzn1d-5.4/ubootfitImage-linaro-rel-2020.09-dunfell-rc2-internal-dirty-rzn1d.itb
+- 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
+
+
+###################
+# dip-image-dev.wic
+###################
+- deploy:
+ namespace: test-wic
+ role:
+ - daemon
+ - dut
+ timeout:
+ minutes: 100
+ to: flasher
+ images:
+ image:
+ url: https://releases.linaro.org/members/schneider/openembedded/2020.09-dunfell/rzn1d-5.4/dip-image-dev-rzn1-snarc-linaro-rel-2020.09-dunfell-rc2-internal-dirty-130.rootfs.wic.bz2
+ compression: bz2
+ layout:
+ url: https://releases.linaro.org/members/schneider/openembedded/2020.09-dunfell/rzn1d-5.4/dip-image-dev-rzn1-snarc-linaro-rel-2020.09-dunfell-rc2-internal-dirty-130.rootfs.wic.bmap
+
+
+- boot:
+ namespace: test-wic
+ role:
+ - daemon
+ - dut
+ connection-namespace: dfu-firmware
+ timeout:
+ minutes: 10
+ method: u-boot
+ commands:
+ - mmc rescan
+ - fatload mmc 0:1 80008000 zimage-rzn1-snarc.bin
+ - if test -e mmc 0:1 zImage-rzn1d400-snarc-bestla.dtb; then fatload mmc 0:1 80f00000
+ zImage-rzn1d400-snarc-bestla.dtb; else fatload mmc 0:1 80f00000 rzn1d400-snarc-bestla.dtb;
+ fi;
+ - setenv bootargs console=ttyS0,115200 root=/dev/mmcblk0p2 rw rootwait coherent_pool=2M
+ - bootz 80008000 - 80f00000
+ auto_login:
+ login_prompt: 'login:'
+ username: root
+ prompts:
+ - 'root@snarc-soca9:'
+ - 'root@rzn1-snarc:'
+ transfer_overlay:
+ download_command: udhcpc -i eth1 -n || udhcpc -i eth0 -n; wget
+ unpack_command: tar --touch -C / -xzf
+
+
+#################################
+# Turn off all Yepkit USB devices
+#################################
+- 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
+ name: yepkit-down-all
+ path: inline/yepkit-test.yaml
+
+
+#############################
+# We're finished with J21 now
+#############################
+- command:
+ namespace: test-wic
+ role:
+ - daemon
+ - dut
+ name: j21_off
+
+
+#################################
+# All nodes use J17
+#################################
+- command:
+ namespace: test-wic
+ role:
+ - daemon
+ - dut
+ name: j17_on
+
+- test:
+ namespace: test-wic
+ role:
+ - daemon
+ - dut
+ timeout:
+ minutes: 30
+ definitions:
+
+ #################################
+ # configure-interface
+ #################################
+ - repository: https://github.com/omnium21/test-definitions.git
+ branch: ethernet
+ from: git
+ path: automated/linux/network-test/network-test.yaml
+ name: configure-interface-j17
+ parameters:
+ CMD: configure-interface
+ ETH: eth1
+ EXPECTED_RESULT: pass
+
+
+
+#################################
+# Daemon
+#################################
+
+- test:
+ namespace: test-wic
+ role:
+ - daemon
+ timeout:
+ minutes: 300
+ definitions:
+ - repository: https://github.com/omnium21/test-definitions.git
+ branch: ethernet
+ from: git
+ path: automated/linux/network-test/network-test.yaml
+ name: daemon-j17
+ parameters:
+ CMD: daemon
+ ETH: eth1
+
+
+#################################
+# DUT
+#################################
+
+- test:
+ namespace: test-wic
+ role:
+ - dut
+ timeout:
+ minutes: 30
+ definitions:
+
+
+
+
+ #################################
+ # PING - before we mess with link-settings
+ #################################
+ - repository: https://github.com/omnium21/test-definitions.git
+ branch: ethernet
+ from: git
+ path: automated/linux/network-test/network-test.yaml
+ name: link-settings-default-ping-j17
+ parameters:
+ CMD: ping-request
+ ETH: eth1
+ EXPECTED_RESULT: pass
+
+
+
+
+ #################################
+ # link-settings on/?/?/1536
+ #################################
+ - repository: https://github.com/omnium21/test-definitions.git
+ branch: ethernet
+ from: git
+ path: automated/linux/network-test/network-test.yaml
+ name: link-settings-autoneg-j24
+ parameters:
+ CMD: link-settings
+ ETH: lan2
+ AUTONEG: "on"
+ MTU: 1536
+
+
+ - repository: https://github.com/omnium21/test-definitions.git
+ branch: ethernet
+ from: git
+ path: automated/linux/network-test/network-test.yaml
+ name: link-settings-autoneg-ping-j24
+ parameters:
+ CMD: ping-request
+ ETH: lan2
+ EXPECTED_RESULT: pass
+
+
+
+
+ #################################
+ # Switch port J17 (eth1) off
+ #################################
+- command:
+ namespace: test-wic
+ role:
+ - dut
+ name: j17_off
+
+- test:
+ namespace: test-wic
+ role:
+ - dut
+ timeout:
+ minutes: 10
+ interactive:
+ - name: sleep-j17
+ prompts: ["root@snarc-soca9", "root@rzn1-snarc"]
+ script:
+ - command: sleep 5
+
+
+ #################################
+ # Check that ping fails
+ #################################
+- test:
+ namespace: test-wic
+ role:
+ - dut
+ timeout:
+ minutes: 300
+ definitions:
+
+ - repository: https://github.com/omnium21/test-definitions.git
+ branch: ethernet
+ from: git
+ path: automated/linux/network-test/network-test.yaml
+ name: link-off-ping-j17
+ parameters:
+ CMD: ping-request
+ ETH: eth1
+ EXPECTED_RESULT: fail
+
+
+
+ #################################
+ # Switch port J17 (eth1) back on again
+ #################################
+- command:
+ namespace: test-wic
+ role:
+ - dut
+ name: j17_on
+
+- test:
+ namespace: test-wic
+ role:
+ - dut
+ timeout:
+ minutes: 10
+ interactive:
+ - name: sleep-j17
+ prompts: ["root@snarc-soca9", "root@rzn1-snarc"]
+ script:
+ - command: sleep 5
+
+
+ #################################
+ # Check that ping succeeds
+ #################################
+- test:
+ namespace: test-wic
+ role:
+ - dut
+ timeout:
+ minutes: 300
+ definitions:
+
+ - repository: https://github.com/omnium21/test-definitions.git
+ branch: ethernet
+ from: git
+ path: automated/linux/network-test/network-test.yaml
+ name: link-on-ping-j17
+ parameters:
+ CMD: ping-request
+ ETH: eth1
+ EXPECTED_RESULT: pass
+
+
+
+
+
+- test:
+ namespace: test-wic
+ role:
+ - dut
+ timeout:
+ minutes: 300
+ definitions:
+
+ #################################
+ # SCP from Target to Host
+ #################################
+ - repository: https://github.com/omnium21/test-definitions.git
+ branch: ethernet
+ from: git
+ path: automated/linux/network-test/network-test.yaml
+ name: scp-target-to-host-j17
+ parameters:
+ CMD: scp-target-to-host
+ ETH: eth1
+
+
+
+
+ #################################
+ # SCP from Host to Target
+ #################################
+ - repository: https://github.com/omnium21/test-definitions.git
+ branch: ethernet
+ from: git
+ path: automated/linux/network-test/network-test.yaml
+ name: scp-host-to-target-j17
+ parameters:
+ CMD: scp-host-to-target
+ ETH: eth1
+
+
+
+
+
+
+ #################################
+ # SSH from Host to Target
+ #################################
+ - repository: https://github.com/omnium21/test-definitions.git
+ branch: ethernet
+ from: git
+ path: automated/linux/network-test/network-test.yaml
+ name: ssh-host-to-target-j17
+ parameters:
+ CMD: ssh-host-to-target
+ ETH: eth1
+
+
+
+
+
+
+
+
+ #################################
+ # Finished
+ #################################
+ - repository: https://github.com/omnium21/test-definitions.git
+ branch: ethernet
+ from: git
+ path: automated/linux/network-test/network-test.yaml
+ name: finished-j17
+ 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
diff --git a/automated/linux/network-test/lava-multinode-rzn1d-j21-mtu1536.yaml b/automated/linux/network-test/lava-multinode-rzn1d-j21-mtu1536.yaml
new file mode 100644
index 0000000..ab91de3
--- /dev/null
+++ b/automated/linux/network-test/lava-multinode-rzn1d-j21-mtu1536.yaml
@@ -0,0 +1,512 @@
+job_name: SE rzn1d network-test link-settings eth1/J21 MTU 1536
+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: https://releases.linaro.org/members/schneider/openembedded/2020.09-dunfell/rzn1d-5.4/rzn1d-snarc-fsbl-fip-linaro-rel-2020.09-dunfell-rc2-internal-dirty.spkg
+ sf_trustedfw:
+ image_arg: --alt sf_trustedfw --download {sf_trustedfw}
+ url: https://releases.linaro.org/members/schneider/openembedded/2020.09-dunfell/rzn1d-5.4/optee/optee-os-linaro-rel-2020.09-dunfell-rc2-internal-dirty.itb
+ sf_uboot0:
+ image_arg: --alt sf_uboot0 --download {sf_uboot0}
+ url: https://releases.linaro.org/members/schneider/openembedded/2020.09-dunfell/rzn1d-5.4/ubootfitImage-linaro-rel-2020.09-dunfell-rc2-internal-dirty-rzn1d.itb
+ sf_uboot1:
+ image_arg: --alt sf_uboot1 --download {sf_uboot1}
+ url: https://releases.linaro.org/members/schneider/openembedded/2020.09-dunfell/rzn1d-5.4/ubootfitImage-linaro-rel-2020.09-dunfell-rc2-internal-dirty-rzn1d.itb
+- 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
+
+
+###################
+# dip-image-dev.wic
+###################
+- deploy:
+ namespace: test-wic
+ role:
+ - daemon
+ - dut
+ timeout:
+ minutes: 100
+ to: flasher
+ images:
+ image:
+ url: https://releases.linaro.org/members/schneider/openembedded/2020.09-dunfell/rzn1d-5.4/dip-image-dev-rzn1-snarc-linaro-rel-2020.09-dunfell-rc2-internal-dirty-130.rootfs.wic.bz2
+ compression: bz2
+ layout:
+ url: https://releases.linaro.org/members/schneider/openembedded/2020.09-dunfell/rzn1d-5.4/dip-image-dev-rzn1-snarc-linaro-rel-2020.09-dunfell-rc2-internal-dirty-130.rootfs.wic.bmap
+
+
+- boot:
+ namespace: test-wic
+ role:
+ - daemon
+ - dut
+ connection-namespace: dfu-firmware
+ timeout:
+ minutes: 10
+ method: u-boot
+ commands:
+ - mmc rescan
+ - fatload mmc 0:1 80008000 zimage-rzn1-snarc.bin
+ - if test -e mmc 0:1 zImage-rzn1d400-snarc-bestla.dtb; then fatload mmc 0:1 80f00000
+ zImage-rzn1d400-snarc-bestla.dtb; else fatload mmc 0:1 80f00000 rzn1d400-snarc-bestla.dtb;
+ fi;
+ - setenv bootargs console=ttyS0,115200 root=/dev/mmcblk0p2 rw rootwait coherent_pool=2M
+ - bootz 80008000 - 80f00000
+ auto_login:
+ login_prompt: 'login:'
+ username: root
+ prompts:
+ - 'root@snarc-soca9:'
+ - 'root@rzn1-snarc:'
+ transfer_overlay:
+ download_command: udhcpc -i eth1 -n || udhcpc -i eth0 -n; wget
+ unpack_command: tar --touch -C / -xzf
+
+
+#################################
+# Turn off all Yepkit USB devices
+#################################
+- 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
+ name: yepkit-down-all
+ path: inline/yepkit-test.yaml
+
+
+#############################
+# We're finished with J21 now
+#############################
+- command:
+ namespace: test-wic
+ role:
+ - daemon
+ - dut
+ name: j21_off
+
+
+#################################
+# All nodes use J21
+#################################
+- command:
+ namespace: test-wic
+ role:
+ - daemon
+ - dut
+ name: j21_on
+
+- test:
+ namespace: test-wic
+ role:
+ - daemon
+ - dut
+ timeout:
+ minutes: 30
+ definitions:
+
+ #################################
+ # configure-interface
+ #################################
+ - repository: https://github.com/omnium21/test-definitions.git
+ branch: ethernet
+ from: git
+ path: automated/linux/network-test/network-test.yaml
+ name: configure-interface-j21
+ parameters:
+ CMD: configure-interface
+ ETH: eth1
+ EXPECTED_RESULT: pass
+
+
+
+#################################
+# Daemon
+#################################
+
+- test:
+ namespace: test-wic
+ role:
+ - daemon
+ timeout:
+ minutes: 300
+ definitions:
+ - repository: https://github.com/omnium21/test-definitions.git
+ branch: ethernet
+ from: git
+ 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: 30
+ definitions:
+
+
+
+
+ #################################
+ # PING - before we mess with link-settings
+ #################################
+ - repository: https://github.com/omnium21/test-definitions.git
+ branch: ethernet
+ from: git
+ path: automated/linux/network-test/network-test.yaml
+ name: link-settings-default-ping-j21
+ parameters:
+ CMD: ping-request
+ ETH: eth1
+ EXPECTED_RESULT: pass
+
+
+
+
+ #################################
+ # link-settings on/?/?/1536
+ #################################
+ - repository: https://github.com/omnium21/test-definitions.git
+ branch: ethernet
+ from: git
+ path: automated/linux/network-test/network-test.yaml
+ name: link-settings-autoneg-j24
+ parameters:
+ CMD: link-settings
+ ETH: lan2
+ AUTONEG: "on"
+ MTU: 1536
+
+
+ - repository: https://github.com/omnium21/test-definitions.git
+ branch: ethernet
+ from: git
+ path: automated/linux/network-test/network-test.yaml
+ name: link-settings-autoneg-ping-j24
+ parameters:
+ CMD: ping-request
+ ETH: lan2
+ EXPECTED_RESULT: pass
+
+
+
+
+ #################################
+ # 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@rzn1-snarc"]
+ script:
+ - command: sleep 5
+
+
+ #################################
+ # Check that ping fails
+ #################################
+- test:
+ namespace: test-wic
+ role:
+ - dut
+ timeout:
+ minutes: 300
+ definitions:
+
+ - repository: https://github.com/omnium21/test-definitions.git
+ branch: ethernet
+ from: git
+ 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@rzn1-snarc"]
+ script:
+ - command: sleep 5
+
+
+ #################################
+ # Check that ping succeeds
+ #################################
+- test:
+ namespace: test-wic
+ role:
+ - dut
+ timeout:
+ minutes: 300
+ definitions:
+
+ - repository: https://github.com/omnium21/test-definitions.git
+ branch: ethernet
+ from: git
+ path: automated/linux/network-test/network-test.yaml
+ name: link-on-ping-j21
+ parameters:
+ CMD: ping-request
+ ETH: eth1
+ EXPECTED_RESULT: pass
+
+
+
+
+
+- test:
+ namespace: test-wic
+ role:
+ - dut
+ timeout:
+ minutes: 300
+ definitions:
+
+ #################################
+ # SCP from Target to Host
+ #################################
+ - repository: https://github.com/omnium21/test-definitions.git
+ branch: ethernet
+ from: git
+ 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://github.com/omnium21/test-definitions.git
+ branch: ethernet
+ from: git
+ 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://github.com/omnium21/test-definitions.git
+ branch: ethernet
+ from: git
+ path: automated/linux/network-test/network-test.yaml
+ name: ssh-host-to-target-j21
+ parameters:
+ CMD: ssh-host-to-target
+ ETH: eth1
+
+
+
+
+
+
+
+
+ #################################
+ # Finished
+ #################################
+ - repository: https://github.com/omnium21/test-definitions.git
+ branch: ethernet
+ from: git
+ 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
diff --git a/automated/linux/network-test/lava-multinode-soca9-j17-mtu1536.yaml b/automated/linux/network-test/lava-multinode-soca9-j17-mtu1536.yaml
new file mode 100644
index 0000000..05129db
--- /dev/null
+++ b/automated/linux/network-test/lava-multinode-soca9-j17-mtu1536.yaml
@@ -0,0 +1,441 @@
+job_name: SE soca9 network-test link-settings eth2/J17 MTU 1536
+timeouts:
+ job:
+ minutes: 1800
+ action:
+ minutes: 120
+ connection:
+ minutes: 20
+priority: medium
+visibility: public
+
+
+protocols:
+ lava-multinode:
+ roles:
+ dut:
+ device_type: soca9
+ count: 1
+ timeout:
+ minutes: 30
+ daemon:
+ device_type: soca9
+ count: 1
+ timeout:
+ minutes: 30
+
+
+
+actions:
+##################
+# Deploy WIC image
+##################
+- deploy:
+ role:
+ - daemon
+ - dut
+ timeout:
+ minutes: 20
+ to: flasher
+ images:
+ image:
+ url: https://releases.linaro.org/members/schneider/openembedded/2020.09-dunfell/soca9-5.4/dip-image-dev-snarc-soca9-linaro-rel-2020.09-dunfell-rc2-internal-dirty-130.rootfs.wic.bz2
+ compression: bz2
+ layout:
+ url: https://releases.linaro.org/members/schneider/openembedded/2020.09-dunfell/soca9-5.4/dip-image-dev-snarc-soca9-linaro-rel-2020.09-dunfell-rc2-internal-dirty-130.rootfs.wic.bmap
+
+
+##################
+# all ports off - except J21
+##################
+- command:
+ role:
+ - daemon
+ - dut
+ name: j17_off
+
+- command:
+ role:
+ - daemon
+ - dut
+ name: j21_on
+
+- command:
+ role:
+ - daemon
+ - dut
+ name: j22_off
+
+- command:
+ role:
+ - daemon
+ - dut
+ name: j23_off
+
+- command:
+ role:
+ - daemon
+ - dut
+ name: j24_off
+
+
+###################
+# dip-image-dev.wic
+###################
+# We already flashed the SDcard WIC image in the deploy step at the begging of this test run
+- boot:
+ role:
+ - daemon
+ - dut
+ timeout:
+ minutes: 10
+ method: u-boot
+ commands:
+ - run linux_sd
+ auto_login:
+ login_prompt: 'login:'
+ username: root
+ prompts:
+ - 'root@snarc-soca9:'
+ - 'root@rzn1-snarc:'
+ transfer_overlay:
+ download_command: udhcpc -i eth1 -n || udhcpc -i eth0 -n; wget
+ unpack_command: tar --touch -C / -xzf
+
+
+#################################
+# Turn off all Yepkit USB devices
+#################################
+- test:
+ 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
+ name: yepkit-down-all
+ path: inline/yepkit-test.yaml
+
+
+#############################
+# We're finished with J21 now
+#############################
+- command:
+ role:
+ - daemon
+ - dut
+ name: j21_off
+
+
+#################################
+# All nodes use J17
+#################################
+- command:
+ role:
+ - daemon
+ - dut
+ name: j17_on
+
+- test:
+ role:
+ - daemon
+ - dut
+ timeout:
+ minutes: 30
+ definitions:
+
+ #################################
+ # configure-interface
+ #################################
+ - repository: https://github.com/omnium21/test-definitions.git
+ branch: ethernet
+ from: git
+ path: automated/linux/network-test/network-test.yaml
+ name: configure-interface-j17
+ parameters:
+ CMD: configure-interface
+ ETH: eth2
+ EXPECTED_RESULT: pass
+
+
+
+#################################
+# Daemon
+#################################
+
+- test:
+ role:
+ - daemon
+ timeout:
+ minutes: 300
+ definitions:
+ - repository: https://github.com/omnium21/test-definitions.git
+ branch: ethernet
+ from: git
+ path: automated/linux/network-test/network-test.yaml
+ name: daemon-j17
+ parameters:
+ CMD: daemon
+ ETH: eth2
+
+
+#################################
+# DUT
+#################################
+
+- test:
+ role:
+ - dut
+ timeout:
+ minutes: 30
+ definitions:
+
+
+
+
+ #################################
+ # PING - before we mess with link-settings
+ #################################
+ - repository: https://github.com/omnium21/test-definitions.git
+ branch: ethernet
+ from: git
+ path: automated/linux/network-test/network-test.yaml
+ name: link-settings-default-ping-j17
+ parameters:
+ CMD: ping-request
+ ETH: eth2
+ EXPECTED_RESULT: pass
+
+
+
+
+ #################################
+ # link-settings on/?/?/1536
+ #################################
+ - repository: https://github.com/omnium21/test-definitions.git
+ branch: ethernet
+ from: git
+ path: automated/linux/network-test/network-test.yaml
+ name: link-settings-autoneg-j24
+ parameters:
+ CMD: link-settings
+ ETH: lan2
+ AUTONEG: "on"
+ MTU: 1536
+
+
+ - repository: https://github.com/omnium21/test-definitions.git
+ branch: ethernet
+ from: git
+ path: automated/linux/network-test/network-test.yaml
+ name: link-settings-autoneg-ping-j24
+ parameters:
+ CMD: ping-request
+ ETH: lan2
+ EXPECTED_RESULT: pass
+
+
+
+
+ #################################
+ # Switch port J17 (eth2) off
+ #################################
+- command:
+ role:
+ - dut
+ name: j17_off
+
+- test:
+ role:
+ - dut
+ timeout:
+ minutes: 10
+ interactive:
+ - name: sleep-j17
+ prompts: ["root@snarc-soca9", "root@rzn1-snarc"]
+ script:
+ - command: sleep 5
+
+
+ #################################
+ # Check that ping fails
+ #################################
+- test:
+ role:
+ - dut
+ timeout:
+ minutes: 300
+ definitions:
+
+ - repository: https://github.com/omnium21/test-definitions.git
+ branch: ethernet
+ from: git
+ path: automated/linux/network-test/network-test.yaml
+ name: link-off-ping-j17
+ parameters:
+ CMD: ping-request
+ ETH: eth2
+ EXPECTED_RESULT: fail
+
+
+
+ #################################
+ # Switch port J17 (eth2) back on again
+ #################################
+- command:
+ role:
+ - dut
+ name: j17_on
+
+- test:
+ role:
+ - dut
+ timeout:
+ minutes: 10
+ interactive:
+ - name: sleep-j17
+ prompts: ["root@snarc-soca9", "root@rzn1-snarc"]
+ script:
+ - command: sleep 5
+
+
+ #################################
+ # Check that ping succeeds
+ #################################
+- test:
+ role:
+ - dut
+ timeout:
+ minutes: 300
+ definitions:
+
+ - repository: https://github.com/omnium21/test-definitions.git
+ branch: ethernet
+ from: git
+ path: automated/linux/network-test/network-test.yaml
+ name: link-on-ping-j17
+ parameters:
+ CMD: ping-request
+ ETH: eth2
+ EXPECTED_RESULT: pass
+
+
+
+
+
+- test:
+ role:
+ - dut
+ timeout:
+ minutes: 300
+ definitions:
+
+ #################################
+ # SCP from Target to Host
+ #################################
+ - repository: https://github.com/omnium21/test-definitions.git
+ branch: ethernet
+ from: git
+ path: automated/linux/network-test/network-test.yaml
+ name: scp-target-to-host-j17
+ parameters:
+ CMD: scp-target-to-host
+ ETH: eth2
+
+
+
+
+ #################################
+ # SCP from Host to Target
+ #################################
+ - repository: https://github.com/omnium21/test-definitions.git
+ branch: ethernet
+ from: git
+ path: automated/linux/network-test/network-test.yaml
+ name: scp-host-to-target-j17
+ parameters:
+ CMD: scp-host-to-target
+ ETH: eth2
+
+
+
+
+
+
+ #################################
+ # SSH from Host to Target
+ #################################
+ - repository: https://github.com/omnium21/test-definitions.git
+ branch: ethernet
+ from: git
+ path: automated/linux/network-test/network-test.yaml
+ name: ssh-host-to-target-j17
+ parameters:
+ CMD: ssh-host-to-target
+ ETH: eth2
+
+
+
+
+
+
+
+
+ #################################
+ # Finished
+ #################################
+ - repository: https://github.com/omnium21/test-definitions.git
+ branch: ethernet
+ from: git
+ path: automated/linux/network-test/network-test.yaml
+ name: finished-j17
+ parameters:
+ ETH: eth2
+ CMD: finished
+
+
+ #################################
+ # Reset the port status
+ #################################
+- command:
+ role:
+ - daemon
+ - dut
+ name: j17_off
+
+- command:
+ role:
+ - daemon
+ - dut
+ name: j21_on
+
+- command:
+ role:
+ - daemon
+ - dut
+ name: j22_off
+
+- command:
+ role:
+ - daemon
+ - dut
+ name: j23_off
+
+- command:
+ role:
+ - daemon
+ - dut
+ name: j24_off
diff --git a/automated/linux/network-test/lava-multinode-soca9-j21-mtu1536.yaml b/automated/linux/network-test/lava-multinode-soca9-j21-mtu1536.yaml
new file mode 100644
index 0000000..214ac05
--- /dev/null
+++ b/automated/linux/network-test/lava-multinode-soca9-j21-mtu1536.yaml
@@ -0,0 +1,441 @@
+job_name: SE soca9 network-test link-settings eth1/J21 MTU 1536
+timeouts:
+ job:
+ minutes: 1800
+ action:
+ minutes: 120
+ connection:
+ minutes: 20
+priority: medium
+visibility: public
+
+
+protocols:
+ lava-multinode:
+ roles:
+ dut:
+ device_type: soca9
+ count: 1
+ timeout:
+ minutes: 30
+ daemon:
+ device_type: soca9
+ count: 1
+ timeout:
+ minutes: 30
+
+
+
+actions:
+##################
+# Deploy WIC image
+##################
+- deploy:
+ role:
+ - daemon
+ - dut
+ timeout:
+ minutes: 20
+ to: flasher
+ images:
+ image:
+ url: https://releases.linaro.org/members/schneider/openembedded/2020.09-dunfell/soca9-5.4/dip-image-dev-snarc-soca9-linaro-rel-2020.09-dunfell-rc2-internal-dirty-130.rootfs.wic.bz2
+ compression: bz2
+ layout:
+ url: https://releases.linaro.org/members/schneider/openembedded/2020.09-dunfell/soca9-5.4/dip-image-dev-snarc-soca9-linaro-rel-2020.09-dunfell-rc2-internal-dirty-130.rootfs.wic.bmap
+
+
+##################
+# all ports off - except J21
+##################
+- command:
+ role:
+ - daemon
+ - dut
+ name: j17_off
+
+- command:
+ role:
+ - daemon
+ - dut
+ name: j21_on
+
+- command:
+ role:
+ - daemon
+ - dut
+ name: j22_off
+
+- command:
+ role:
+ - daemon
+ - dut
+ name: j23_off
+
+- command:
+ role:
+ - daemon
+ - dut
+ name: j24_off
+
+
+###################
+# dip-image-dev.wic
+###################
+# We already flashed the SDcard WIC image in the deploy step at the begging of this test run
+- boot:
+ role:
+ - daemon
+ - dut
+ timeout:
+ minutes: 10
+ method: u-boot
+ commands:
+ - run linux_sd
+ auto_login:
+ login_prompt: 'login:'
+ username: root
+ prompts:
+ - 'root@snarc-soca9:'
+ - 'root@rzn1-snarc:'
+ transfer_overlay:
+ download_command: udhcpc -i eth1 -n || udhcpc -i eth0 -n; wget
+ unpack_command: tar --touch -C / -xzf
+
+
+#################################
+# Turn off all Yepkit USB devices
+#################################
+- test:
+ 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
+ name: yepkit-down-all
+ path: inline/yepkit-test.yaml
+
+
+#############################
+# We're finished with J21 now
+#############################
+- command:
+ role:
+ - daemon
+ - dut
+ name: j21_off
+
+
+#################################
+# All nodes use J21
+#################################
+- command:
+ role:
+ - daemon
+ - dut
+ name: j21_on
+
+- test:
+ role:
+ - daemon
+ - dut
+ timeout:
+ minutes: 30
+ definitions:
+
+ #################################
+ # configure-interface
+ #################################
+ - repository: https://github.com/omnium21/test-definitions.git
+ branch: ethernet
+ from: git
+ path: automated/linux/network-test/network-test.yaml
+ name: configure-interface-j21
+ parameters:
+ CMD: configure-interface
+ ETH: eth1
+ EXPECTED_RESULT: pass
+
+
+
+#################################
+# Daemon
+#################################
+
+- test:
+ role:
+ - daemon
+ timeout:
+ minutes: 300
+ definitions:
+ - repository: https://github.com/omnium21/test-definitions.git
+ branch: ethernet
+ from: git
+ path: automated/linux/network-test/network-test.yaml
+ name: daemon-j21
+ parameters:
+ CMD: daemon
+ ETH: eth1
+
+
+#################################
+# DUT
+#################################
+
+- test:
+ role:
+ - dut
+ timeout:
+ minutes: 30
+ definitions:
+
+
+
+
+ #################################
+ # PING - before we mess with link-settings
+ #################################
+ - repository: https://github.com/omnium21/test-definitions.git
+ branch: ethernet
+ from: git
+ path: automated/linux/network-test/network-test.yaml
+ name: link-settings-default-ping-j21
+ parameters:
+ CMD: ping-request
+ ETH: eth1
+ EXPECTED_RESULT: pass
+
+
+
+
+ #################################
+ # link-settings on/?/?/1536
+ #################################
+ - repository: https://github.com/omnium21/test-definitions.git
+ branch: ethernet
+ from: git
+ path: automated/linux/network-test/network-test.yaml
+ name: link-settings-autoneg-j24
+ parameters:
+ CMD: link-settings
+ ETH: lan2
+ AUTONEG: "on"
+ MTU: 1536
+
+
+ - repository: https://github.com/omnium21/test-definitions.git
+ branch: ethernet
+ from: git
+ path: automated/linux/network-test/network-test.yaml
+ name: link-settings-autoneg-ping-j24
+ parameters:
+ CMD: ping-request
+ ETH: lan2
+ EXPECTED_RESULT: pass
+
+
+
+
+ #################################
+ # Switch port J21 (eth1) off
+ #################################
+- command:
+ role:
+ - dut
+ name: j21_off
+
+- test:
+ role:
+ - dut
+ timeout:
+ minutes: 10
+ interactive:
+ - name: sleep-j21
+ prompts: ["root@snarc-soca9", "root@rzn1-snarc"]
+ script:
+ - command: sleep 5
+
+
+ #################################
+ # Check that ping fails
+ #################################
+- test:
+ role:
+ - dut
+ timeout:
+ minutes: 300
+ definitions:
+
+ - repository: https://github.com/omnium21/test-definitions.git
+ branch: ethernet
+ from: git
+ 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:
+ role:
+ - dut
+ name: j21_on
+
+- test:
+ role:
+ - dut
+ timeout:
+ minutes: 10
+ interactive:
+ - name: sleep-j21
+ prompts: ["root@snarc-soca9", "root@rzn1-snarc"]
+ script:
+ - command: sleep 5
+
+
+ #################################
+ # Check that ping succeeds
+ #################################
+- test:
+ role:
+ - dut
+ timeout:
+ minutes: 300
+ definitions:
+
+ - repository: https://github.com/omnium21/test-definitions.git
+ branch: ethernet
+ from: git
+ path: automated/linux/network-test/network-test.yaml
+ name: link-on-ping-j21
+ parameters:
+ CMD: ping-request
+ ETH: eth1
+ EXPECTED_RESULT: pass
+
+
+
+
+
+- test:
+ role:
+ - dut
+ timeout:
+ minutes: 300
+ definitions:
+
+ #################################
+ # SCP from Target to Host
+ #################################
+ - repository: https://github.com/omnium21/test-definitions.git
+ branch: ethernet
+ from: git
+ 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://github.com/omnium21/test-definitions.git
+ branch: ethernet
+ from: git
+ 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://github.com/omnium21/test-definitions.git
+ branch: ethernet
+ from: git
+ path: automated/linux/network-test/network-test.yaml
+ name: ssh-host-to-target-j21
+ parameters:
+ CMD: ssh-host-to-target
+ ETH: eth1
+
+
+
+
+
+
+
+
+ #################################
+ # Finished
+ #################################
+ - repository: https://github.com/omnium21/test-definitions.git
+ branch: ethernet
+ from: git
+ path: automated/linux/network-test/network-test.yaml
+ name: finished-j21
+ parameters:
+ ETH: eth1
+ CMD: finished
+
+
+ #################################
+ # Reset the port status
+ #################################
+- command:
+ role:
+ - daemon
+ - dut
+ name: j17_off
+
+- command:
+ role:
+ - daemon
+ - dut
+ name: j21_on
+
+- command:
+ role:
+ - daemon
+ - dut
+ name: j22_off
+
+- command:
+ role:
+ - daemon
+ - dut
+ name: j23_off
+
+- command:
+ role:
+ - daemon
+ - dut
+ name: j24_off