aboutsummaryrefslogtreecommitdiff
path: root/openembedded-lkft/lava-job-definitions/hi6220-hikey/master-template-ltp.yaml.jinja2
diff options
context:
space:
mode:
Diffstat (limited to 'openembedded-lkft/lava-job-definitions/hi6220-hikey/master-template-ltp.yaml.jinja2')
-rw-r--r--openembedded-lkft/lava-job-definitions/hi6220-hikey/master-template-ltp.yaml.jinja2168
1 files changed, 0 insertions, 168 deletions
diff --git a/openembedded-lkft/lava-job-definitions/hi6220-hikey/master-template-ltp.yaml.jinja2 b/openembedded-lkft/lava-job-definitions/hi6220-hikey/master-template-ltp.yaml.jinja2
deleted file mode 100644
index 68a328be62..0000000000
--- a/openembedded-lkft/lava-job-definitions/hi6220-hikey/master-template-ltp.yaml.jinja2
+++ /dev/null
@@ -1,168 +0,0 @@
-context:
- test_character_delay: 10
-
-device_type: hi6220-hikey
-job_name: lkft-ltp-{{testname}}-${KERNEL_BRANCH}-${BUILD_NUMBER}
-timeouts:
- job:
- minutes: 60
- action:
- minutes: 10
- connection:
- minutes: 2
-priority: ${LAVA_JOB_PRIORITY}
-visibility: public
-
-# run udhcpc in the test shell before accessing the internet
-
-metadata:
- git branch: ${KERNEL_BRANCH}
- git repo: ${KERNEL_REPO}
- git commit: ${KERNEL_COMMIT}
- git describe: ${KERNEL_DESCRIBE}
- make_kernelversion: "${MAKE_KERNELVERSION}"
- kernel-config: ${KERNEL_CONFIG_URL}
- kernel-defconfig: ${KERNEL_DEFCONFIG_URL}
- ltp-{{testname}}-tests__url: ${LTP_URL}
- ltp-{{testname}}-tests__version: "${LTP_VERSION}"
- ltp-{{testname}}-tests__revision: "${LTP_REVISION}"
- build-url: ${BUILD_URL}
- build-location: ${SNAPSHOTS_URL}/${BASE_URL}
- series: lkft
-
-protocols:
- lava-lxc:
- name: lxc-hikey-oe
- template: debian
- distribution: debian
- release: jessie
- arch: amd64
- mirror: http://mirror.bytemark.co.uk/debian
-
-actions:
-- deploy:
- namespace: tlxc
- timeout:
- minutes: 15
- to: lxc
- packages:
- - wget
- - unzip
- os: debian
-
-- boot:
- namespace: tlxc
- prompts:
- - 'root@(.*):/#'
- - 'hikey:/'
- timeout:
- minutes: 5
- method: lxc
-
-- test:
- namespace: tlxc
- timeout:
- minutes: 10
- definitions:
- - from: inline
- name: install-google-fastboot
- path: inline/install-google-fastboot.yaml
- repository:
- metadata:
- format: Lava-Test Test Definition 1.0
- name: install-fastboot
- description: "Install fastboot provided by google"
- run:
- steps:
- - wget http://dl.google.com/android/repository/platform-tools_r26.0.0-linux.zip
- - unzip platform-tools_r26.0.0-linux.zip
- - ln -s `pwd`/platform-tools/fastboot /usr/bin/fastboot
- - ln -s `pwd`/platform-tools/adb /usr/bin/adb
- - fastboot --version
-
-- deploy:
- timeout:
- minutes: 15
- to: fastboot
- namespace: hikey-oe
- connection: lxc
- images:
- ptable:
- url: http://releases.linaro.org/reference-platform/embedded/hikey/16.12/rpb/bootloader/ptable-linux-8g.img
- reboot: hard-reset
- boot:
- url: ${BOOT_URL}
- reboot: hard-reset
- system:
- url: ${SYSTEM_URL}
- compression: gz
- apply-overlay: true
- # ensure that this job raises a network interface with DHCP before relying on internet access
- os: oe
- protocols:
- lava-lxc:
- - action: fastboot-deploy
- request: pre-power-command
- timeout:
- minutes: 2
-
-- boot:
- namespace: hikey-oe
- auto_login:
- login_prompt: 'login:'
- username: linaro
- login_commands:
- # Become super user to run tests
- - su
- prompts:
- - 'hikey:~'
- - 'root@(.*):/#'
- timeout:
- minutes: 5
- method: uefi-menu
- commands: fastboot
- protocols:
- lava-lxc:
- # other action could be boot-fastboot
- - action: uefi-commands
- request: pre-os-command
- timeout:
- minutes: 2
-- test:
- namespace: hikey-oe
- timeout:
- minutes: 60
- definitions:
- - from: inline
- repository:
- metadata:
- format: Lava-Test Test Definition 1.0
- name: prep-tests
- description: "Device preparation"
- run:
- steps:
- # the image does not raise the interface itself
- # force a DHCP request to avoid avahi using a zero conf address.
- - udhcpc
- - netstat
- - ip a
- - ifconfig
- - df
- - cat /sys/class/thermal/thermal_zone0/policy || true
- - echo "power_allocator" > /sys/class/thermal/thermal_zone0/policy || true
- - cat /sys/class/thermal/thermal_zone0/policy || true
- - cat /sys/devices/system/cpu/cpufreq/policy0/scaling_available_frequencies | awk '{ print $$(NF-1) }' > /sys/devices/system/cpu/cpufreq/policy0/scaling_max_freq
- - cat /sys/devices/system/cpu/cpufreq/policy0/scaling_max_freq || true
- name: prep-inline
- path: inline/prep.yaml
- - repository: git://git.linaro.org/qa/test-definitions.git
- from: git
- path: automated/linux/ltp/ltp.yaml
- parameters:
- SKIP_INSTALL: 'true'
- TST_CMDFILES: '{{testname}}'
- SKIPFILE: 'skipfile-lkft-hikey'
- TIMEOUT_MULTIPLIER: 3
- name: ltp-{{testname}}-tests
- timeout:
- minutes: 60