diff options
author | Aníbal Limón <anibal.limon@linaro.org> | 2019-05-14 19:26:34 -0500 |
---|---|---|
committer | Aníbal Limón <anibal.limon@linaro.org> | 2019-05-17 09:27:01 -0500 |
commit | 59e15644d150bba6c0fb2b3815071452ff8d89b3 (patch) | |
tree | e88d0a09994220570af46b8cc076b33b551776df /lt-qcom-linux-test | |
parent | b7d7c88251b5ed59c2a8a54317a366fdf8fd88f2 (diff) |
lt-qcom/lava-job-definitions: Migrate testplans for kernel testing to LKFT-like
This two testplans bootrr (boot regression) are run for kernel
kernel testing (integration, mainline, release).
Change-Id: I8c0ae2cb83faf9f2fdb77af27222102e67eb6546
Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
Diffstat (limited to 'lt-qcom-linux-test')
-rw-r--r-- | lt-qcom-linux-test/lava-job-definitions/boards/template-bootrr.yaml | 205 | ||||
-rw-r--r-- | lt-qcom-linux-test/lava-job-definitions/boards/template-functional.yaml | 128 |
2 files changed, 0 insertions, 333 deletions
diff --git a/lt-qcom-linux-test/lava-job-definitions/boards/template-bootrr.yaml b/lt-qcom-linux-test/lava-job-definitions/boards/template-bootrr.yaml deleted file mode 100644 index 904edf63..00000000 --- a/lt-qcom-linux-test/lava-job-definitions/boards/template-bootrr.yaml +++ /dev/null @@ -1,205 +0,0 @@ -device_type: ${LAVA_DEVICE_TYPE} -job_name: lt-qcom-${QA_SERVER_PROJECT}-bootrr-${BUILD_NUMBER} -timeouts: - job: - minutes: 90 - action: - minutes: 15 - connection: - minutes: 2 -priority: high -visibility: public - -metadata: - source: https://git.linaro.org/ci/job/configs.git - path: lt-qcom-linux-test/lava-job-definitions/${LAVA_DEVICE_TYPE}/template-bootrr.yaml - image.type: 'kernel-ci' - image.url: "${BOOT_URL}" - kernel.tree: "${KERNEL_TREE}" - kernel.version: "${KERNEL_VERSION}" - kernel.endian: 'little' - kernel.defconfig: 'defconfig' - kernel.defconfig_base: 'defconfig' - kernel.arch_defconfig: 'arm64_defconfig' - platform.dtb: "${KERNEL_DT}" - platform.dtb_short: "${KERNEL_DT}" - platform.fastboot: true - platform.name: "${KERNEL_CI_PLATFORM}" - platform.mach: "${KERNEL_CI_MACH}" - test.plan: 'qcom-bootrr' - git repo: "${KERNEL_REPO}" - git branch: "${KERNEL_BRANCH}" - git commit: "${KERNEL_COMMIT}" - git describe: "${KERNEL_VERSION}" - device.type: "${KERNEL_CI_PLATFORM}" - job.arch: 'arm64' - job.name: lt-qcom-${QA_SERVER_PROJECT}-bootrr-${BUILD_NUMBER} - job.kernel_url: "${KERNEL_IMAGE_URL}" - job.kernel_image: "${KERNEL_IMAGE}" - job.modules_url: "${KERNEL_MODULES_URL}" - job.initrd_url: "${RAMDISK_URL}" - job.nfsrootfs_url: '' - job.dtb_url: "${KERNEL_DT_URL}" - -notify: - criteria: - status: finished - callback: - url: https://api.kernelci.org/callback/lava/test?lab_name=lab-qcom&status={STATUS}&status_string={STATUS_STRING} - method: POST - dataset: all - token: kernelci-lab-qcom-callback - content-type: json - -protocols: - lava-lxc: - name: lxc-${LAVA_DEVICE_TYPE}-test - template: debian - distribution: debian - release: stretch - -actions: -- deploy: - namespace: tlxc - timeout: - minutes: 5 - to: lxc - packages: - - wget - - unzip - - abootimg - - cpio - - gzip - - git - - mktemp - os: debian - -- boot: - namespace: tlxc - prompts: - - 'root@(.*):/#' - - 'root@linaro-developer:~#' - timeout: - minutes: 5 - method: lxc - -- deploy: - timeout: - minutes: 40 - to: download - namespace: ${LAVA_DEVICE_TYPE} - images: - boot: - url: ${BOOT_URL} - compression: ${BOOT_URL_COMP} - apply-overlay: true - os: oe - -- test: - namespace: tlxc - timeout: - minutes: 30 - definitions: - - from: inline - name: ${LAVA_DEVICE_TYPE}-apply-test-overlay - path: inline/${LAVA_DEVICE_TYPE}-apply-test-overlay.yaml - repository: - metadata: - description: ${LAVA_DEVICE_TYPE} apply test overlay - format: Lava-Test Test Definition 1.0 - name: ${LAVA_DEVICE_TYPE}-apply-test-overlay - run: - steps: - - overlay_file=/lava-lxc/overlays/${LAVA_DEVICE_TYPE}/overlay.tar.gz - - if [ -f $$overlay_file ] - - then - - configs_dir=$$(mktemp -d /tmp/configs.XXXX) - - git clone --depth 1 http://git.linaro.org/ci/job/configs.git $$configs_dir - - $$configs_dir/lt-qcom-linux-test/copy_test_overlay.sh /lava-lxc/${LXC_BOOT_FILE} $$overlay_file - - echo "apply_test_overlay:" "pass" - - else - - echo "apply_test_overlay:" "skip" - - fi - -- test: - namespace: tlxc - timeout: - minutes: 10 - definitions: - - repository: https://git.linaro.org/qa/test-definitions.git - from: git - path: automated/linux/android-platform-tools/install.yaml - name: install-android-platform-tools-r2602 - parameters: - LINK: 'https://dl.google.com/android/repository/platform-tools_r26.0.2-linux.zip' - -- deploy: - timeout: - minutes: 40 - to: fastboot - namespace: ${LAVA_DEVICE_TYPE} - images: - boot: - url: lxc:///${LXC_BOOT_FILE} - os: oe - protocols: - lava-lxc: - - action: fastboot-deploy - request: pre-power-command - timeout: - minutes: 2 - -- boot: - namespace: ${LAVA_DEVICE_TYPE} - prompts: - - 'root@(.*):~#' - timeout: - minutes: 15 - method: fastboot - -- test: - namespace: ${LAVA_DEVICE_TYPE} - name: qcomlt-${QA_SERVER_PROJECT}-smoke - timeout: - minutes: 5 - definitions: - - from: inline - name: qcomlt-${QA_SERVER_PROJECT}-smoke - path: inline/qcomlt-${QA_SERVER_PROJECT}-smoke.yaml - repository: - metadata: - description: QCOM LT linux integration smoke - format: Lava-Test Test Definition 1.0 - name: qcomlt-${QA_SERVER_PROJECT}-smoke - run: - steps: - - uname -a - - df - - free - - ls -l /dev - - ls -l /sys - - ls -l /proc - - echo "linux_integration_smoke:" "pass" - -- test: - namespace: ${LAVA_DEVICE_TYPE} - name: qcomlt-${QA_SERVER_PROJECT}-bootrr - timeout: - minutes: 5 - definitions: - - from: inline - name: qcomlt-${QA_SERVER_PROJECT}-bootrr - path: inline/qcomlt-${QA_SERVER_PROJECT}-bootrr.yaml - repository: - metadata: - description: QCOM LT linux integration bootrr - format: Lava-Test Test Definition 1.0 - name: qcomlt-${QA_SERVER_PROJECT}-bootrr - run: - steps: - - for TEST in $$(tr "\0" "\n" < /proc/device-tree/compatible); do - - if [ -x "/usr/bin/$${TEST}" ]; then - - /usr/bin/$${TEST} - - fi - - done - - echo ~~~~~~~~~~~~~~~~~~~~~ diff --git a/lt-qcom-linux-test/lava-job-definitions/boards/template-functional.yaml b/lt-qcom-linux-test/lava-job-definitions/boards/template-functional.yaml deleted file mode 100644 index aa6a3d0c..00000000 --- a/lt-qcom-linux-test/lava-job-definitions/boards/template-functional.yaml +++ /dev/null @@ -1,128 +0,0 @@ -- test: - namespace: ${LAVA_DEVICE_TYPE} - name: qcomlt-smoke - timeout: - minutes: 10 - definitions: - - repository: https://git.linaro.org/qa/test-definitions.git - from: git - path: automated/linux/smoke/smoke.yaml - params: - TESTS: ${SMOKE_TESTS} - name: linux-smoke - - repository: https://git.linaro.org/qa/test-definitions.git - from: git - path: automated/linux/usb-smoke/usb-smoke-test.yaml - name: linux-usb-smoke - - repository: https://git.linaro.org/qa/test-definitions.git - from: git - path: automated/linux/hci-smoke/hci-smoke.yaml - params: - BOOT: auto - name: linux-hci-smoke - - repository: https://git.linaro.org/qa/test-definitions.git - from: git - path: automated/linux/wlan-smoke/wlan-smoke.yaml - params: - DEVICE: ${WLAN_DEVICE} - name: linux-wlan-smoke - -- test: - namespace: ${LAVA_DEVICE_TYPE} - name: qcomlt-wlan-download - timeout: - minutes: 20 - definitions: - - repository: https://git.linaro.org/qa/test-definitions.git - from: git - path: automated/linux/wlan-download/wlan-download.yaml - params: - DEVICE: ${WLAN_DEVICE} - ETHERNET_DEVICE: ${ETH_DEVICE} - SSID_NAME: LAVATESTX - SSID_PASSWORD: NepjqGbq - FILE_URL: http://testdata.validation.linaro.org/stress/stress-network.img - FILE_CHECKSUM: e5c834fbdaa6bfd8eac5eb9404eefdd4 - TIME_DELAY: ${WLAN_TIME_DELAY} - name: linux-wlan-download - -- test: - namespace: ${LAVA_DEVICE_TYPE} - name: qcomlt-storage - timeout: - minutes: 65 - definitions: - - repository: https://git.linaro.org/qa/test-definitions.git - from: git - path: automated/linux/dd-wr-speed/dd-wr-speed.yaml - name: linux-dd-wr-speed - - repository: https://git.linaro.org/qa/test-definitions.git - from: git - path: automated/linux/device-read-perf/device-read-perf.yaml - name: linux-device-read-perf - -- test: - namespace: ${LAVA_DEVICE_TYPE} - name: qcomlt-pm-qa - timeout: - minutes: 15 - definitions: - - repository: https://git.linaro.org/qa/test-definitions.git - from: git - path: automated/linux/pm-qa/pm-qa.yaml - name: linux-pm-qa - params: - TESTS: ${PM_QA_TESTS} - -device_type: ${LAVA_DEVICE_TYPE} -job_name: lt-qcom-${QA_SERVER_PROJECT}-functional-${BUILD_NUMBER} -timeouts: - job: - minutes: 150 - action: - minutes: 15 - connection: - minutes: 2 -priority: medium -visibility: public - -metadata: - source: https://git.linaro.org/ci/job/configs.git - path: lt-qcom-linux-test/lava-job-definitions/${LAVA_DEVICE_TYPE}/template-functional.yaml - image.type: 'kernel-ci' - image.url: "${BOOT_URL}" - kernel.tree: "${KERNEL_TREE}" - kernel.version: "${KERNEL_VERSION}" - kernel.endian: 'little' - kernel.defconfig: 'defconfig' - kernel.defconfig_base: 'defconfig' - kernel.arch_defconfig: 'arm64_defconfig' - platform.dtb: "${KERNEL_DT}" - platform.dtb_short: "${KERNEL_DT}" - platform.fastboot: true - platform.name: "${KERNEL_CI_PLATFORM}" - platform.mach: "${KERNEL_CI_MACH}" - test.plan: 'qcom-functional' - git repo: "${KERNEL_REPO}" - git branch: "${KERNEL_BRANCH}" - git commit: "${KERNEL_COMMIT}" - git describe: "${KERNEL_VERSION}" - device.type: "${KERNEL_CI_PLATFORM}" - job.arch: 'arm64' - job.name: lt-qcom-${QA_SERVER_PROJECT}-bootrr-${BUILD_NUMBER} - job.kernel_url: "${KERNEL_IMAGE_URL}" - job.kernel_image: "${KERNEL_IMAGE}" - job.modules_url: "${KERNEL_MODULES_URL}" - job.initrd_url: "${RAMDISK_URL}" - job.nfsrootfs_url: '' - job.dtb_url: "${KERNEL_DT_URL}" - -notify: - criteria: - status: finished - callback: - url: https://api.kernelci.org/callback/lava/test?lab_name=lab-qcom&status={STATUS}&status_string={STATUS_STRING} - method: POST - dataset: all - token: kernelci-lab-qcom-callback - content-type: json |