aboutsummaryrefslogtreecommitdiff
path: root/schneider-openembedded
diff options
context:
space:
mode:
authorRyan Harkin <ryan.harkin@linaro.org>2019-12-17 13:43:46 +0000
committerRyan Harkin <ryan.harkin@linaro.org>2019-12-17 14:11:21 +0000
commit143dc4c892a65a21aa7987f276f3f36aeb9c882c (patch)
treea984b0dfa8c96321ca55e3fad2c9250854133eb8 /schneider-openembedded
parentae1d41892b8e76c56e4a47dc7b410b0a03cdcd24 (diff)
se: add lces2 WIC testing
LAVA has been updated to add dictionary entries for the SDmux on LCES2, so add files to test the WIC images. Change-Id: Ic72cf7f9c32244ba06b655bcf6737c0f8ffe9ca1 Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
Diffstat (limited to 'schneider-openembedded')
-rw-r--r--schneider-openembedded/lava-job-definitions/rzn1d/wic-dev.yaml117
-rw-r--r--schneider-openembedded/lava-job-definitions/rzn1d/wic-edge.yaml119
-rw-r--r--schneider-openembedded/lava-job-definitions/rzn1d/wic.yaml118
-rw-r--r--schneider-openembedded/lava-job-definitions/soca9/wic-dev-ltp-1.yaml1
-rw-r--r--schneider-openembedded/lava-job-definitions/soca9/wic-dev-ltp-2.yaml1
-rw-r--r--schneider-openembedded/lava-job-definitions/soca9/wic-dev-ptest.yaml1
-rw-r--r--schneider-openembedded/lava-job-definitions/soca9/wic-dev.yaml1
-rw-r--r--schneider-openembedded/lava-job-definitions/soca9/wic.yaml1
-rwxr-xr-xschneider-openembedded/submit_for_testing.sh40
9 files changed, 399 insertions, 0 deletions
diff --git a/schneider-openembedded/lava-job-definitions/rzn1d/wic-dev.yaml b/schneider-openembedded/lava-job-definitions/rzn1d/wic-dev.yaml
new file mode 100644
index 00000000..4aa84e31
--- /dev/null
+++ b/schneider-openembedded/lava-job-definitions/rzn1d/wic-dev.yaml
@@ -0,0 +1,117 @@
+device_type: rzn1d
+job_name: SE ${MACHINE} WIC dev ${MANIFEST_BRANCH} ${BUILD_NUMBER}
+
+timeouts:
+ job:
+ minutes: 100
+ action:
+ minutes: 70
+ connection:
+ minutes: 2
+priority: medium
+visibility: public
+
+actions:
+
+- deploy:
+ namespace: dfu
+ to: tmpfs
+ images:
+ sf_fsbl:
+ image_arg: --alt sf_fsbl --download {sf_fsbl}
+ url: ${FSBL_URL}
+ sf_trustedfw:
+ image_arg: --alt sf_trustedfw --download {sf_trustedfw}
+ 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
+ name: set_boot_to_nand
+
+- boot:
+ namespace: dfu
+ method: dfu
+ timeout:
+ minutes: 10
+
+- command:
+ namespace: test
+ name: set_boot_to_qspi
+
+- deploy:
+ namespace: test
+ to: overlay
+
+- deploy:
+ namespace: dfu
+ timeout:
+ minutes: 100
+ to: flasher
+ images:
+ image:
+ url: ${WIC_DEV_IMAGE_URL}
+ compression: bz2
+
+- deploy:
+ namespace: test
+ to: overlay
+
+- boot:
+ namespace: test
+ connection-namespace: dfu
+ timeout:
+ minutes: 100
+ 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@rzn1-snarc:"
+
+- test:
+ namespace: test
+ timeout:
+ minutes: 10
+ interactive:
+ - name: basic-cmds
+ prompts: ["root@snarc-soca9", "root@rzn1-snarc"]
+ script:
+ - command: uname -a
+ - command: cat /proc/device-tree/model ; echo ""
+ - command: mount
+ - command: ps aux --sort -rss
+ - command: cat /proc/meminfo
+ - command: free -h
+ - command: ifconfig -a
+ - command: udhcpc -i eth1 -n || udhcpc -i eth0 -n
+ - command: ifconfig -a
+ - command: ping -c 3 github.com
+ - command: docker run hello-world
+
+metadata:
+ machine: ${MACHINE}
+ manifest branch: ${MANIFEST_BRANCH}
+ manifest commit: ${MANIFEST_COMMIT}
+ build url: ${BUILD_URL}
+ build location: ${PUBLISH_SERVER}${PUB_DEST}
+
+notify:
+ recipients:
+ - to:
+ method: email
+ email: ryan.harkin@linaro.org
+ criteria:
+ status: complete
+ verbosity: verbose
diff --git a/schneider-openembedded/lava-job-definitions/rzn1d/wic-edge.yaml b/schneider-openembedded/lava-job-definitions/rzn1d/wic-edge.yaml
new file mode 100644
index 00000000..f7b071a1
--- /dev/null
+++ b/schneider-openembedded/lava-job-definitions/rzn1d/wic-edge.yaml
@@ -0,0 +1,119 @@
+device_type: rzn1d
+job_name: SE ${MACHINE} WIC edge ${MANIFEST_BRANCH} ${BUILD_NUMBER}
+
+timeouts:
+ job:
+ minutes: 100
+ action:
+ minutes: 70
+ connection:
+ minutes: 2
+priority: medium
+visibility: public
+
+actions:
+
+- deploy:
+ namespace: dfu
+ to: tmpfs
+ images:
+ sf_fsbl:
+ image_arg: --alt sf_fsbl --download {sf_fsbl}
+ url: ${FSBL_URL}
+ sf_trustedfw:
+ image_arg: --alt sf_trustedfw --download {sf_trustedfw}
+ 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
+ name: set_boot_to_nand
+
+- boot:
+ namespace: dfu
+ method: dfu
+ timeout:
+ minutes: 10
+
+- command:
+ namespace: test
+ name: set_boot_to_qspi
+
+- deploy:
+ namespace: test
+ to: overlay
+
+- deploy:
+ namespace: dfu
+ timeout:
+ minutes: 100
+ to: flasher
+ images:
+ image:
+ url: ${WIC_EDGE_IMAGE_URL}
+ compression: bz2
+
+- deploy:
+ namespace: test
+ to: overlay
+
+- boot:
+ namespace: test
+ connection-namespace: dfu
+ timeout:
+ minutes: 100
+ 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
+ password_prompt: "Password:"
+ password: "P@ssword-1"
+ prompts:
+ - "root@rzn1-snarc:"
+
+- test:
+ namespace: test
+ timeout:
+ minutes: 10
+ interactive:
+ - name: basic-cmds
+ prompts: ["root@snarc-soca9", "root@rzn1-snarc"]
+ script:
+ - command: uname -a
+ - command: cat /proc/device-tree/model ; echo ""
+ - command: mount
+ - command: ps aux --sort -rss
+ - command: cat /proc/meminfo
+ - command: free -h
+ - command: ifconfig -a
+ - command: udhcpc -i eth1 -n || udhcpc -i eth0 -n
+ - command: ifconfig -a
+ - command: ping -c 3 github.com
+ - command: docker run hello-world
+
+metadata:
+ machine: ${MACHINE}
+ manifest branch: ${MANIFEST_BRANCH}
+ manifest commit: ${MANIFEST_COMMIT}
+ build url: ${BUILD_URL}
+ build location: ${PUBLISH_SERVER}${PUB_DEST}
+
+notify:
+ recipients:
+ - to:
+ method: email
+ email: ryan.harkin@linaro.org
+ criteria:
+ status: complete
+ verbosity: verbose
diff --git a/schneider-openembedded/lava-job-definitions/rzn1d/wic.yaml b/schneider-openembedded/lava-job-definitions/rzn1d/wic.yaml
new file mode 100644
index 00000000..76efeedd
--- /dev/null
+++ b/schneider-openembedded/lava-job-definitions/rzn1d/wic.yaml
@@ -0,0 +1,118 @@
+device_type: rzn1d
+job_name: SE ${MACHINE} WIC ${MANIFEST_BRANCH} ${BUILD_NUMBER}
+
+timeouts:
+ job:
+ minutes: 100
+ action:
+ minutes: 70
+ connection:
+ minutes: 2
+priority: medium
+visibility: public
+
+actions:
+
+- deploy:
+ namespace: dfu
+ to: tmpfs
+ images:
+ sf_fsbl:
+ image_arg: --alt sf_fsbl --download {sf_fsbl}
+ url: ${FSBL_URL}
+ sf_trustedfw:
+ image_arg: --alt sf_trustedfw --download {sf_trustedfw}
+ 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
+ name: set_boot_to_nand
+
+- boot:
+ namespace: dfu
+ method: dfu
+ timeout:
+ minutes: 10
+
+- command:
+ namespace: test
+ name: set_boot_to_qspi
+
+- deploy:
+ namespace: test
+ to: overlay
+
+- deploy:
+ namespace: dfu
+ timeout:
+ minutes: 100
+ to: flasher
+ images:
+ image:
+ url: ${WIC_IMAGE_URL}
+ compression: bz2
+
+- deploy:
+ namespace: test
+ to: overlay
+
+- boot:
+ namespace: test
+ connection-namespace: dfu
+ timeout:
+ minutes: 100
+ 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
+ password_prompt: "Password:"
+ password: "P@ssword-1"
+ prompts:
+ - "root@rzn1-snarc:"
+
+- test:
+ namespace: test
+ timeout:
+ minutes: 10
+ interactive:
+ - name: basic-cmds
+ prompts: ["root@snarc-soca9", "root@rzn1-snarc"]
+ script:
+ - command: uname -a
+ - command: cat /proc/device-tree/model ; echo ""
+ - command: mount
+ - command: ps aux --sort -rss
+ - command: cat /proc/meminfo
+ - command: free -h
+ - command: ifconfig -a
+ - command: udhcpc -i eth1 -n || udhcpc -i eth0 -n
+ - command: ifconfig -a
+ - command: ping -c 3 github.com
+
+metadata:
+ machine: ${MACHINE}
+ manifest branch: ${MANIFEST_BRANCH}
+ manifest commit: ${MANIFEST_COMMIT}
+ build url: ${BUILD_URL}
+ build location: ${PUBLISH_SERVER}${PUB_DEST}
+
+notify:
+ recipients:
+ - to:
+ method: email
+ email: ryan.harkin@linaro.org
+ criteria:
+ status: complete
+ verbosity: verbose
diff --git a/schneider-openembedded/lava-job-definitions/soca9/wic-dev-ltp-1.yaml b/schneider-openembedded/lava-job-definitions/soca9/wic-dev-ltp-1.yaml
index e958799f..5641ad77 100644
--- a/schneider-openembedded/lava-job-definitions/soca9/wic-dev-ltp-1.yaml
+++ b/schneider-openembedded/lava-job-definitions/soca9/wic-dev-ltp-1.yaml
@@ -45,6 +45,7 @@ actions:
script:
- command: uname -a
- command: cat /proc/device-tree/model ; echo ""
+ - command: mount
- command: ps aux --sort -rss
- command: cat /proc/meminfo
- command: free -h
diff --git a/schneider-openembedded/lava-job-definitions/soca9/wic-dev-ltp-2.yaml b/schneider-openembedded/lava-job-definitions/soca9/wic-dev-ltp-2.yaml
index dddedf22..27ef1aee 100644
--- a/schneider-openembedded/lava-job-definitions/soca9/wic-dev-ltp-2.yaml
+++ b/schneider-openembedded/lava-job-definitions/soca9/wic-dev-ltp-2.yaml
@@ -45,6 +45,7 @@ actions:
script:
- command: uname -a
- command: cat /proc/device-tree/model ; echo ""
+ - command: mount
- command: ps aux --sort -rss
- command: cat /proc/meminfo
- command: free -h
diff --git a/schneider-openembedded/lava-job-definitions/soca9/wic-dev-ptest.yaml b/schneider-openembedded/lava-job-definitions/soca9/wic-dev-ptest.yaml
index 3df799cb..744ce9a9 100644
--- a/schneider-openembedded/lava-job-definitions/soca9/wic-dev-ptest.yaml
+++ b/schneider-openembedded/lava-job-definitions/soca9/wic-dev-ptest.yaml
@@ -45,6 +45,7 @@ actions:
script:
- command: uname -a
- command: cat /proc/device-tree/model ; echo ""
+ - command: mount
- command: ps aux --sort -rss
- command: cat /proc/meminfo
- command: free -h
diff --git a/schneider-openembedded/lava-job-definitions/soca9/wic-dev.yaml b/schneider-openembedded/lava-job-definitions/soca9/wic-dev.yaml
index ca44b238..974904da 100644
--- a/schneider-openembedded/lava-job-definitions/soca9/wic-dev.yaml
+++ b/schneider-openembedded/lava-job-definitions/soca9/wic-dev.yaml
@@ -45,6 +45,7 @@ actions:
script:
- command: uname -a
- command: cat /proc/device-tree/model ; echo ""
+ - command: mount
- command: ps aux --sort -rss
- command: cat /proc/meminfo
- command: free -h
diff --git a/schneider-openembedded/lava-job-definitions/soca9/wic.yaml b/schneider-openembedded/lava-job-definitions/soca9/wic.yaml
index 8776262d..41be903b 100644
--- a/schneider-openembedded/lava-job-definitions/soca9/wic.yaml
+++ b/schneider-openembedded/lava-job-definitions/soca9/wic.yaml
@@ -52,6 +52,7 @@ actions:
script:
- command: uname -a
- command: cat /proc/device-tree/model ; echo ""
+ - command: mount
- command: ps aux --sort -rss
- command: cat /proc/meminfo
- command: free -h
diff --git a/schneider-openembedded/submit_for_testing.sh b/schneider-openembedded/submit_for_testing.sh
index d47517bc..a211489c 100755
--- a/schneider-openembedded/submit_for_testing.sh
+++ b/schneider-openembedded/submit_for_testing.sh
@@ -81,6 +81,46 @@ if [ "${DEVICE_TYPE}" == "rzn1d" ]; then
--template-names ubi-edge.yaml
fi
+
+if [ "${DEVICE_TYPE}" == "rzn1d" ]; then
+ python configs/openembedded-lkft/submit_for_testing.py \
+ --device-type ${DEVICE_TYPE} \
+ --build-number ${BUILD_NUMBER} \
+ --lava-server ${LAVA_SERVER} \
+ --qa-server ${QA_SERVER} \
+ --qa-server-team ${QA_SERVER_TEAM} \
+ --qa-server-project ${QA_SERVER_PROJECT} \
+ --git-commit ${MANIFEST_COMMIT} \
+ --template-path configs/schneider-openembedded/lava-job-definitions/ \
+ --template-names wic.yaml
+fi
+
+if [ "${DEVICE_TYPE}" == "rzn1d" ]; then
+ python configs/openembedded-lkft/submit_for_testing.py \
+ --device-type ${DEVICE_TYPE} \
+ --build-number ${BUILD_NUMBER} \
+ --lava-server ${LAVA_SERVER} \
+ --qa-server ${QA_SERVER} \
+ --qa-server-team ${QA_SERVER_TEAM} \
+ --qa-server-project ${QA_SERVER_PROJECT} \
+ --git-commit ${MANIFEST_COMMIT} \
+ --template-path configs/schneider-openembedded/lava-job-definitions/ \
+ --template-names wic-dev.yaml
+fi
+
+if [ "${DEVICE_TYPE}" == "rzn1d" ]; then
+ python configs/openembedded-lkft/submit_for_testing.py \
+ --device-type ${DEVICE_TYPE} \
+ --build-number ${BUILD_NUMBER} \
+ --lava-server ${LAVA_SERVER} \
+ --qa-server ${QA_SERVER} \
+ --qa-server-team ${QA_SERVER_TEAM} \
+ --qa-server-project ${QA_SERVER_PROJECT} \
+ --git-commit ${MANIFEST_COMMIT} \
+ --template-path configs/schneider-openembedded/lava-job-definitions/ \
+ --template-names wic-edge.yaml
+fi
+
if [ "${DEVICE_TYPE}" == "rzn1d" ]; then
python configs/openembedded-lkft/submit_for_testing.py \
--device-type ${DEVICE_TYPE} \