aboutsummaryrefslogtreecommitdiff
path: root/armnn-ci-build/lava-job-definitions/synquacer/template.yaml
blob: 9f125c5e12a1b28991ce5d7780b225eaa792ca9f (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
device_type: synquacer

job_name: synquacer-debian-armnn-test
timeouts:
  job:
    minutes: 90
  action:
   minutes: 60

priority: medium
visibility: public

actions:

  - deploy:
      timeout:
        minutes: 10
      to: tftp
      kernel:
          url: http://images.validation.linaro.org/synquacer/hc/vmlinuz
          type: zimage
      nfsrootfs:
          url: http://images.validation.linaro.org/synquacer/hc/rootfs.tar.xz
          compression: xz
          prefix: binary/
      ramdisk:
          url: http://images.validation.linaro.org/synquacer/hc/initrd.img
          compression: gz
      os: debian

  - boot:
      timeout:
        minutes: 15
      method: grub
      commands: nfs
      parameters:
        shutdown-message: "reboot: Restarting system"
      auto_login:
        login_prompt: 'login:'
        username: root
        password_prompt: 'Password:'
        password: Linaro123
      prompts:
        - '\(initramfs\)'
        - 'root@linaro-test'
        - 'root@linaro-developer:'
        - 'root@lng(.*)'
        - 'root@local(.*)'
        - 'localhost(.*)' 

  - test:
      timeout:
        minutes: 15
      definitions:
        - repository:
            metadata:
              format: Lava-Test Test Definition 1.0
              name: armnn test
              description: "armnn test"
              os:
              - debian
              scope:
              - functional
            run:
              steps:
              - dhclient
              - wget https://snapshots.linaro.org/components/armnn/${BUILD_NUMBER}/armnn.tar.xz
              - tar xf armnn.tar.xz
              - cd home/buildslave/workspace/armnn-ci-build
              - export BASEDIR=`pwd`
              - cd $BASEDIR/armnn/build
              - ln -s $BASEDIR/protobuf-host/lib/libprotobuf.so.15 ./libprotobuf.so.15
              - export LD_LIBRARY_PATH=`pwd`
              - chmod a+x UnitTests
              - lava-test-case ArmNN-Unit-Tests --shell ./UnitTests
          from: inline
          path: inline/armnn.yaml
          name: armnn