aboutsummaryrefslogtreecommitdiff
path: root/openembedded-lkft/lava-job-definitions/juno-r2/master-template-ltp.yaml.jinja2
blob: 94dac2a196de73aee89a568cb0339460b952b415 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
context:
 bootloader_prompt: juno#

device_type: juno-r2
job_name: lkft-ltp-{{testname}}-${KERNEL_BRANCH}-${BUILD_NUMBER}
timeouts:
  job:
    minutes: 60
  action:
    minutes: 10
priority: ${LAVA_JOB_PRIORITY}
visibility: public

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

actions:
- deploy:
    namespace: recovery
    timeout:
      minutes: 10
    to: vemsd
    recovery_image:
      url:  ${RECOVERY_IMAGE_URL}
      compression: zip

- deploy:
    namespace: oe
    timeout:
      minutes: 10
    to: tftp
    os: oe
    kernel:
      url: ${KERNEL_URL}
      type: image
    dtb:
      url: ${DTB_URL}
    nfsrootfs:
      url: ${NFSROOTFS_URL}
      compression: xz

- boot:
    namespace: oe
    timeout:
      minutes: 10
    connection-namespace: recovery
    method: u-boot
    commands: nfs
    auto_login:
      login_prompt: 'login:'
      username: root
    prompts:
    - root@(.*):~#

- test:
    namespace: oe
    timeout:
      minutes: 60
    definitions:
    - 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-lsk-juno'
        TIMEOUT_MULTIPLIER: 3
      name: ltp-{{testname}}-tests
      timeout:
        minutes: 60