|
| 1 | +job_name: MutliNode_xTS_template |
| 2 | +timeouts: |
| 3 | + job: |
| 4 | + hours: 2 |
| 5 | +priority: medium |
| 6 | +visibility: public |
| 7 | +reboot_to_fastboot: false |
| 8 | + |
| 9 | +protocols: |
| 10 | + lava-lxc: |
| 11 | + master: |
| 12 | + name: lxc-xts-master |
| 13 | + template: debian |
| 14 | + distribution: debian |
| 15 | + release: stretch |
| 16 | + worker: |
| 17 | + name: lxc-xts-worker |
| 18 | + template: debian |
| 19 | + distribution: debian |
| 20 | + release: stretch |
| 21 | + lava-multinode: |
| 22 | + # There must be one master and an arbitrary number of additional workers, so |
| 23 | + # that 1+n devices will be available in the TradeFed shell. |
| 24 | + roles: |
| 25 | + master: |
| 26 | + count: 1 |
| 27 | + device_type: # TODO (a Android device, e.g., nexus4) |
| 28 | + timeout: |
| 29 | + minutes: 30 |
| 30 | + worker: |
| 31 | + expect_role: master |
| 32 | + host_role: master |
| 33 | + count: 2 |
| 34 | + device_type: # TODO (a Android device, e.g., nexus4) |
| 35 | + timeout: |
| 36 | + minutes: 30 |
| 37 | + |
| 38 | +actions: |
| 39 | +- deploy: |
| 40 | + namespace: tlxc |
| 41 | + to: lxc |
| 42 | + os: debian |
| 43 | + role: |
| 44 | + - master |
| 45 | + - worker |
| 46 | + timeout: |
| 47 | + minutes: 10 |
| 48 | + packages: |
| 49 | + - adb |
| 50 | + - fastboot |
| 51 | + - unzip |
| 52 | + - wget |
| 53 | + - zip |
| 54 | + |
| 55 | +- boot: |
| 56 | + namespace: tlxc |
| 57 | + role: |
| 58 | + - master |
| 59 | + - worker |
| 60 | + prompts: |
| 61 | + - 'root@(.*):/#' |
| 62 | + timeout: |
| 63 | + minutes: 5 |
| 64 | + method: lxc |
| 65 | + |
| 66 | +# TODO: Device-type specific deployment. |
| 67 | +# - deploy: |
| 68 | +# namespace: droid |
| 69 | +# to: fastboot |
| 70 | +# role: |
| 71 | +# - master |
| 72 | +# - worker |
| 73 | +# timeout: |
| 74 | +# minutes: 30 |
| 75 | +# images: |
| 76 | +# # TODO |
| 77 | +# os: debian |
| 78 | + |
| 79 | +- boot: |
| 80 | + namespace: droid |
| 81 | + role: |
| 82 | + - master |
| 83 | + - worker |
| 84 | + timeout: |
| 85 | + minutes: 10 |
| 86 | + method: fastboot |
| 87 | + |
| 88 | +- test: |
| 89 | + namespace: tlxc |
| 90 | + role: |
| 91 | + - master |
| 92 | + - worker |
| 93 | + timeout: |
| 94 | + minutes: 20 |
| 95 | + definitions: |
| 96 | + - repository: https://review.linaro.org/qa/test-definitions |
| 97 | + from: git |
| 98 | + path: automated/android/wait-single-boot-completed.yaml |
| 99 | + name: wait-single-boot-completed |
| 100 | + |
| 101 | +- test: |
| 102 | + namespace: tlxc |
| 103 | + role: |
| 104 | + - worker |
| 105 | + timeout: |
| 106 | + minutes: 5 |
| 107 | + definitions: |
| 108 | + - repository: https://review.linaro.org/qa/test-definitions |
| 109 | + from: git |
| 110 | + path: automated/android/wait-single-network-connected.yaml |
| 111 | + name: wait-single-network-connected |
| 112 | + |
| 113 | +- test: |
| 114 | + namespace: tlxc |
| 115 | + role: |
| 116 | + - worker |
| 117 | + timeout: |
| 118 | + minutes: 15 |
| 119 | + definitions: |
| 120 | + - repository: https://review.linaro.org/qa/test-definitions |
| 121 | + from: git |
| 122 | + path: automated/android/multinode/share-local-device-over-adb-tcpip.yaml |
| 123 | + name: share-local-device-over-adb-tcpip |
| 124 | + params: |
| 125 | + TIMEOUT_SECS: "600" |
| 126 | + |
| 127 | +- test: |
| 128 | + namespace: tlxc |
| 129 | + role: |
| 130 | + - worker |
| 131 | + timeout: |
| 132 | + hours: 1 |
| 133 | + definitions: |
| 134 | + - repository: https://review.linaro.org/qa/test-definitions |
| 135 | + from: git |
| 136 | + path: automated/android/multinode/wait-and-keep-local-device-accessible.yaml |
| 137 | + name: wait-and-keep-local-device-accessible |
| 138 | + params: |
| 139 | + # The sum of these timeouts must be smaller than the lava-multinode timeout for the master. |
| 140 | + BOOT_TIMEOUT_SECS: "480" |
| 141 | + NETWORK_TIMEOUT_SECS: "300" |
| 142 | + ADB_CONNECT_TEST_TIMEOUT_SECS: "60" |
| 143 | + |
| 144 | +- test: |
| 145 | + namespace: tlxc |
| 146 | + role: |
| 147 | + - worker |
| 148 | + timeout: |
| 149 | + minutes: 15 |
| 150 | + definitions: |
| 151 | + - repository: https://review.linaro.org/qa/test-definitions |
| 152 | + from: git |
| 153 | + path: automated/android/multinode/wait-for-release-and-reset.yaml |
| 154 | + name: wait-for-release-and-reset |
| 155 | + |
| 156 | +- test: |
| 157 | + namespace: tlxc |
| 158 | + role: |
| 159 | + - master |
| 160 | + timeout: |
| 161 | + minutes: 15 |
| 162 | + definitions: |
| 163 | + - repository: https://review.linaro.org/qa/test-definitions |
| 164 | + from: git |
| 165 | + path: automated/android/multinode/connect-to-remote-adb-tcpip-devices.yaml |
| 166 | + name: connect-to-remote-adb-tcpip-devices |
| 167 | + params: |
| 168 | + ADB_CONNECT_TIMEOUT_SECS: 300 |
| 169 | + |
| 170 | +- test: |
| 171 | + namespace: tlxc |
| 172 | + role: |
| 173 | + - master |
| 174 | + timeout: |
| 175 | + hours: 1 |
| 176 | + definitions: |
| 177 | + - repository: https://review.linaro.org/qa/test-definitions |
| 178 | + from: git |
| 179 | + path: automated/android/multinode/tradefed/tradefed-multinode.yaml |
| 180 | + params: |
| 181 | + TEST_PARAMS: "run cts --disable-reboot --include-filter CtsNetTestCases" |
| 182 | + TEST_RETRY_PARAMS: "run cts --disable-reboot" |
| 183 | + TEST_PATH: "android-cts" |
| 184 | + TEST_URL: "https://dl.google.com/dl/android/cts/android-cts-7.1_r23-linux_x86-arm.zip" |
| 185 | + STATE_CHECK_FREQUENCY_SECS: "300" |
| 186 | + MAX_NUM_RUNS: "25" |
| 187 | + RUNS_IF_UNCHANGED: "5" |
| 188 | + FAILURES_PRINTED: "50" |
| 189 | + # For Artifactorial: |
| 190 | + # URL: "" |
| 191 | + # TOKEN: "" |
| 192 | + name: cts |
| 193 | + |
| 194 | +- test: |
| 195 | + namespace: tlxc |
| 196 | + role: |
| 197 | + - master |
| 198 | + timeout: |
| 199 | + minutes: 10 |
| 200 | + definitions: |
| 201 | + - repository: https://review.linaro.org/qa/test-definitions |
| 202 | + from: git |
| 203 | + path: automated/android/multinode/release-remote-adb-tcpip-devices.yaml |
| 204 | + name: release-remote-adb-tcpip-devices |
0 commit comments