diff options
author | Neil Williams <neil.williams@linaro.org> | 2018-06-29 09:14:53 +0000 |
---|---|---|
committer | Linaro Code Review <review@review.linaro.org> | 2018-06-29 09:14:53 +0000 |
commit | 33af982ad57f882bbff456964db0c03debefe305 (patch) | |
tree | bb0bf2af3aae6997f4915f53d7a22c5f96da5976 | |
parent | 2acc129ea0688c690d6965166efa9383e656d129 (diff) | |
parent | 49df7bfc9edde1cd837f620d9b97ac69faba743e (diff) |
Merge "Add support for testing images of Debian Buster"
-rw-r--r-- | buster-armmp-nfs-bbb.yaml | 99 | ||||
-rw-r--r-- | buster-armmp-nfs-cubietruck.yaml | 99 | ||||
-rw-r--r-- | qemu-server-buster.yaml (renamed from functional/qemu-server-pipeline-sid.yaml) | 26 | ||||
-rw-r--r-- | server-stretch-buster-debian.yaml | 99 |
4 files changed, 310 insertions, 13 deletions
diff --git a/buster-armmp-nfs-bbb.yaml b/buster-armmp-nfs-bbb.yaml new file mode 100644 index 0000000..8135fdc --- /dev/null +++ b/buster-armmp-nfs-bbb.yaml @@ -0,0 +1,99 @@ +device_type: beaglebone-black + +job_name: standard Debian buster ARMMP nfs test on bbb +timeouts: + job: + minutes: 15 + action: + minutes: 5 + connection: + minutes: 3 +priority: medium +visibility: public + +metadata: + source: https://git.linaro.org/lava-team/refactoring.git + path: standard/standard-armmp-nfs-bbb.yaml + lava.series: release-testing + build-readme: http://images.validation.linaro.org/snapshots.linaro.org/components/lava/standard/debian/buster/armhf/1/debian-buster-armmp-armhf-readme.html + build-console: https://ci.linaro.org/view/lava-ci/job/lava-debian-buster-armmp-armhf/1/console + build-script: http://images.validation.linaro.org/snapshots.linaro.org/components/lava/standard/debian/buster/armhf/1/armmp-nfs.sh + +notify: + criteria: + status: incomplete + verbosity: quiet + recipients: + - to: + user: neil.williams + method: email + - to: + user: matthew.hart + method: email + - to: + user: stevan.radakovic + method: email + - to: + user: remi.duraffort + method: email + - to: + user: senthil.kumaran + method: email + - to: + user: dean.arnold + method: email + +actions: +- deploy: + timeout: + minutes: 10 + to: tftp + kernel: + url: http://images.validation.linaro.org/snapshots.linaro.org/components/lava/standard/debian/buster/armhf/1/vmlinuz-4.16.0-2-armmp + sha256sum: 753431eaa3f7198a4bd28eabbb4c435260a3c20d27435c5ea745a4892fcdfffb + type: zimage + ramdisk: + url: http://images.validation.linaro.org/snapshots.linaro.org/components/lava/standard/debian/buster/armhf/1/initrd.img-4.16.0-2-armmp + sha256sum: 155988e264aba03801bf02ccd90db5d75882e33c013fbb26fa211062aa47d350 + compression: gz + # the bootloader needs a u-boot header on the modified ramdisk + add-header: u-boot + modules: + url: http://images.validation.linaro.org/snapshots.linaro.org/components/lava/standard/debian/buster/armhf/1/modules.tar.gz + sha256sum: 99f3c5df5ad279adc92530cbb89715ad3eee4f020c0b1341faeda525cc717b14 + compression: gz + nfsrootfs: + url: http://images.validation.linaro.org/snapshots.linaro.org/components/lava/standard/debian/buster/armhf/1/buster-armhf-nfs.tar.gz + sha256sum: 816cdd7acbc50244afbb897e28b1c0e5f57872b1b8416fa2798d25407a686d09 + compression: gz + os: debian + dtb: + url: http://images.validation.linaro.org/snapshots.linaro.org/components/lava/standard/debian/buster/armhf/1/dtbs/am335x-boneblack.dtb + +- boot: + method: u-boot + commands: nfs + auto_login: + login_prompt: 'login:' + username: root + prompts: + - 'root@buster:' + timeout: + minutes: 5 + +- test: + timeout: + minutes: 10 + definitions: + - repository: http://git.linaro.org/lava-team/lava-functional-tests.git + from: git + path: lava-test-shell/smoke-tests-basic.yaml + name: smoke-tests + - from: git + repository: http://git.linaro.org/lava-team/lava-functional-tests.git + path: lava-test-shell/params/nfs.yaml + name: nfs-dns + - from: git + repository: http://git.linaro.org/lava-team/lava-functional-tests.git + path: lava-test-shell/single-node/singlenode02.yaml + name: singlenode-intermediate diff --git a/buster-armmp-nfs-cubietruck.yaml b/buster-armmp-nfs-cubietruck.yaml new file mode 100644 index 0000000..5a41024 --- /dev/null +++ b/buster-armmp-nfs-cubietruck.yaml @@ -0,0 +1,99 @@ +device_type: cubietruck + +job_name: standard Debian buster ARMMP nfs test on cubietruck +timeouts: + job: + minutes: 15 + action: + minutes: 5 + connection: + minutes: 3 +priority: medium +visibility: public + +metadata: + source: https://git.linaro.org/lava-team/refactoring.git + path: standard/standard-armmp-nfs-cubietruck.yaml + lava.series: release-testing + build-readme: http://images.validation.linaro.org/snapshots.linaro.org/components/lava/standard/debian/buster/armhf/1/debian-buster-armmp-armhf-readme.html + build-console: https://ci.linaro.org/view/lava-ci/job/lava-debian-buster-armmp-armhf/1/console + build-script: http://images.validation.linaro.org/snapshots.linaro.org/components/lava/standard/debian/buster/armhf/1/armmp-nfs.sh + +notify: + criteria: + status: incomplete + verbosity: quiet + recipients: + - to: + user: neil.williams + method: email + - to: + user: matthew.hart + method: email + - to: + user: stevan.radakovic + method: email + - to: + user: remi.duraffort + method: email + - to: + user: senthil.kumaran + method: email + - to: + user: dean.arnold + method: email + +actions: +- deploy: + timeout: + minutes: 10 + to: tftp + kernel: + url: http://images.validation.linaro.org/snapshots.linaro.org/components/lava/standard/debian/buster/armhf/1/vmlinuz-4.16.0-2-armmp + sha256sum: 753431eaa3f7198a4bd28eabbb4c435260a3c20d27435c5ea745a4892fcdfffb + type: zimage + ramdisk: + url: http://images.validation.linaro.org/snapshots.linaro.org/components/lava/standard/debian/buster/armhf/1/initrd.img-4.16.0-2-armmp + sha256sum: 155988e264aba03801bf02ccd90db5d75882e33c013fbb26fa211062aa47d350 + compression: gz + # the bootloader needs a u-boot header on the modified ramdisk + add-header: u-boot + modules: + url: http://images.validation.linaro.org/snapshots.linaro.org/components/lava/standard/debian/buster/armhf/1/modules.tar.gz + sha256sum: 99f3c5df5ad279adc92530cbb89715ad3eee4f020c0b1341faeda525cc717b14 + compression: gz + nfsrootfs: + url: http://images.validation.linaro.org/snapshots.linaro.org/components/lava/standard/debian/buster/armhf/1/buster-armhf-nfs.tar.gz + sha256sum: 816cdd7acbc50244afbb897e28b1c0e5f57872b1b8416fa2798d25407a686d09 + compression: gz + os: debian + dtb: + url: http://images.validation.linaro.org/snapshots.linaro.org/components/lava/standard/debian/buster/armhf/1/dtbs/sun7i-a20-cubietruck.dtb + +- boot: + method: u-boot + commands: nfs + auto_login: + login_prompt: 'login:' + username: root + prompts: + - 'root@buster:' + timeout: + minutes: 5 + +- test: + timeout: + minutes: 10 + definitions: + - repository: http://git.linaro.org/lava-team/lava-functional-tests.git + from: git + path: lava-test-shell/smoke-tests-basic.yaml + name: smoke-tests + - from: git + repository: http://git.linaro.org/lava-team/lava-functional-tests.git + path: lava-test-shell/params/nfs.yaml + name: nfs-dns + - from: git + repository: http://git.linaro.org/lava-team/lava-functional-tests.git + path: lava-test-shell/single-node/singlenode02.yaml + name: singlenode-intermediate diff --git a/functional/qemu-server-pipeline-sid.yaml b/qemu-server-buster.yaml index da732cf..dccba91 100644 --- a/functional/qemu-server-pipeline-sid.yaml +++ b/qemu-server-buster.yaml @@ -1,5 +1,5 @@ device_type: qemu -job_name: lava server unit tests in Debian unstable +job_name: smoke tests in Debian buster VM timeouts: job: hours: 1 @@ -18,11 +18,11 @@ tags: metadata: source: https://git.linaro.org/lava-team/refactoring.git - path: functional/qemu-server-pipeline-sid.yaml + path: functional/qemu-server-buster.yaml lava.series: release-testing - build-readme: http://snapshots.linaro.org/components/lava/standard/debian/jessie/amd64/7/debian-sid-amd64-readme.html - build-console: https://ci.linaro.org/view/lava-ci/job/lava-debian-unstable-amd64-vm/7/console - build-log: http://snapshots.linaro.org/components/lava/standard/debian/sid/amd64/7/vmdebootstrap.log + build-readme: http://snapshots.linaro.org/components/lava/standard/debian/buster/amd64/1/debian-buster-amd64-readme.html + build-console: https://ci.linaro.org/view/lava-ci/job/lava-debian-buster-amd64-vm/1/console + build-log: http://snapshots.linaro.org/components/lava/standard/debian/buster/amd64/1/vmdebootstrap.log actions: @@ -30,11 +30,11 @@ actions: timeout: minutes: 20 to: tmpfs - images: - rootfs: + images: + rootfs: image_arg: -drive format=raw,file={rootfs} - url: http://snapshots.linaro.org/components/lava/standard/debian/sid/amd64/7/large-sid.img.gz - sha256sum: 42f4a314a6e5748edf42a46afe2bb519584d9d00942614992c670bce61e9b21f + url: http://snapshots.linaro.org/components/lava/standard/debian/buster/amd64/1/large-buster.img.gz + # sha256sum: 42f4a314a6e5748edf42a46afe2bb519584d9d00942614992c670bce61e9b21f compression: gz os: debian root_partition: 1 @@ -54,7 +54,7 @@ actions: timeout: minutes: 45 definitions: - - repository: http://git.linaro.org/lava-team/refactoring.git - from: git - path: functional/server-pipeline-unit-tests-sid.yaml - name: server-pipeline-unittests + - from: git + repository: http://git.linaro.org/lava-team/lava-functional-tests.git + path: lava-test-shell/single-node/singlenode01.yaml + name: singlenode-basic diff --git a/server-stretch-buster-debian.yaml b/server-stretch-buster-debian.yaml new file mode 100644 index 0000000..3ba69a5 --- /dev/null +++ b/server-stretch-buster-debian.yaml @@ -0,0 +1,99 @@ +device_type: lxc +job_name: Upgrade lava-server on stretch to buster using debian + +timeouts: + job: + hours: 1 + action: + minutes: 2 + connection: + minutes: 2 +priority: medium +visibility: public + +metadata: + source: https://git.linaro.org/lava-team/refactoring.git + path: functional/server-stretch-buster-debian.yaml + lava.series: release-testing + +protocols: + lava-lxc: + name: server-unittests + template: debian + distribution: debian + release: stretch + +actions: +- deploy: + timeout: + minutes: 20 + to: lxc + os: debian + +- boot: + method: lxc + timeout: + minutes: 3 + prompts: + - 'root@(.*):/#' + +- test: + timeout: + hours: 1 + definitions: + - repository: + metadata: + format: Lava-Test Test Definition 1.0 + name: stretch-buster-upgrade + description: "Install stretch base and upgrade to staging" + run: + steps: + - apt -q update + - echo "nameserver 8.8.8.8" >> /etc/resolv.conf + - lava-test-case postgres --shell apt-get -q -y install postgresql wget whiptail + # 2016.12-3 + - DEBIAN_FRONTEND=noninteractive apt-get -y install lava-dispatcher lava-server + - dpkg-query -W lava-server + - django-admin --version + - lava-test-case ensite --shell a2ensite lava-server + - a2dissite 000-default + - a2enmod proxy + - a2enmod proxy_http + - lava-test-case apache --shell apache2ctl restart + # add backports + - echo "deb http://mirror.bytemark.co.uk/debian stretch-backports main" > /etc/apt/sources.list.d/lava-backports.list + - apt -q update + # use current buster + - echo "deb http://mirror.bytemark.co.uk/debian buster main" > /etc/apt/sources.list.d/lava-test.list + - apt -q update + - django-admin --version + - DEBIAN_FRONTEND=noninteractive apt-get -y upgrade + - DEBIAN_FRONTEND=noninteractive apt-get -y dist-upgrade + # once helpers are available, add a device type, device & device dictionary here + - lava-test-case superuser --shell lava-server manage createsuperuser --username functional --noinput --email a@test.com + - lava-test-case nobody --shell lava-server manage users add nobody --email b@test.com + - lava-test-case staffer --shell lava-server manage users add staffer --email c@test.com --staff + - lava-test-case addworker --shell lava-server manage workers add functional + - lava-test-case disabledworker --shell lava-server manage workers add disabled --health MAINTENANCE + - lava-test-case adddevicetype --shell lava-server manage device-types add qemu + - lava-test-case listdevicetypes --shell lava-server manage device-types list --all + - lava-test-case adddevice --shell lava-server manage devices add --device-type qemu --worker functional qemu01 + - lava-test-case listdevices --shell lava-server manage devices list --all + - lava-test-case setdevice --shell lava-server manage devices update --private --health RETIRED qemu01 + - lava-server manage devices list --all + from: inline + name: buster-upgrade-inline + path: inline/buster-upgrade.yaml + +- test: + timeout: + minutes: 10 + definitions: + - repository: http://git.linaro.org/lava-team/lava-functional-tests.git + from: git + path: lava-test-shell/smoke-tests-basic.yaml + name: smoke-tests + - repository: http://git.linaro.org/lava-team/lava-functional-tests.git + from: git + path: lava-test-shell/single-node/singlenode03.yaml + name: singlenode-advanced |