blob: fee07d00b66c4031d1095010c20b7a30ca7fff58 [file] [log] [blame]
Neels Hofmeyr3531a192017-03-28 14:30:28 +02001- non-existing suite dir
Pau Espin Pedrol6c6c0e82020-05-11 18:30:58 +02002cnf -: DBG: Found main configuration file in [PATH]/selftest/suite_test/paths.conf which is [PATH]/selftest/suite_test/paths.conf
3cnf -: DBG: MAIN CONFIG:
4{'default_suites_conf_path': '[PATH]/selftest/suite_test/default-suites.conf',
5 'defaults_conf_path': '[PATH]/selftest/suite_test/defaults.conf',
6 'resource_conf_path': '[PATH]/selftest/suite_test/resources.conf',
Pau Espin Pedrol66ef9452020-05-25 13:26:41 +02007 'scenarios_dir': ['[PATH]/selftest/suite_test/scenarios'],
Pau Espin Pedrol6c6c0e82020-05-11 18:30:58 +02008 'state_dir': '[PATH]/selftest/suite_test/test_work/state_dir',
Pau Espin Pedrol66ef9452020-05-25 13:26:41 +02009 'suites_dir': ['[PATH]/selftest/suite_test/suitedirA',
10 '[PATH]/selftest/suite_test/suitedirB'],
Pau Espin Pedrole972c9c2020-05-12 15:06:55 +020011 'trial_dir': '[PATH]/selftest/suite_test/trial'}
Pau Espin Pedrol66ef9452020-05-25 13:26:41 +020012--- -: ERR: RuntimeError: Suite not found: 'does_not_exist' in [[PATH]/selftest/suite_test/suitedirA, [PATH]/selftest/suite_test/suitedirB]
Neels Hofmeyr3531a192017-03-28 14:30:28 +020013- no suite.conf
Neels Hofmeyr31e83202017-06-06 19:44:32 +020014cnf empty_dir: DBG: reading suite.conf
Pau Espin Pedrol66ef9452020-05-25 13:26:41 +020015cnf [PATH]/selftest/suite_test/suitedirA/empty_dir/suite.conf: ERR: FileNotFoundError: [Errno 2] No such file or directory: '[PATH]/selftest/suite_test/suitedirA/empty_dir/suite.conf' [empty_dir↪[PATH]/selftest/suite_test/suitedirA/empty_dir/suite.conf]
Neels Hofmeyr3531a192017-03-28 14:30:28 +020016- valid suite dir
Neels Hofmeyr31e83202017-06-06 19:44:32 +020017cnf test_suite: DBG: reading suite.conf
Neels Hofmeyr3531a192017-03-28 14:30:28 +020018defaults:
19 timeout: 60s
20resources:
21 bts:
Pau Espin Pedrolcbc72422017-09-14 15:55:49 +020022 - label: sysmoCell 5000
23 times: '2'
Neels Hofmeyr3531a192017-03-28 14:30:28 +020024 - times: '1'
Pau Espin Pedrolcbc72422017-09-14 15:55:49 +020025 type: sysmo
Neels Hofmeyr76d81032017-05-18 18:35:32 +020026 ip_address:
27 - times: '1'
Neels Hofmeyr3531a192017-03-28 14:30:28 +020028 modem:
29 - times: '2'
Neels Hofmeyr3531a192017-03-28 14:30:28 +020030
31- run hello world test
Neels Hofmeyr6ccda112017-06-06 19:41:17 +020032
33---------------------------------------------------------------------
34trial test_suite
35---------------------------------------------------------------------
Neels Hofmeyr7e2e8f12017-05-14 03:37:13 +020036tst test_suite: reserving resources in [PATH]/selftest/suite_test/test_work/state_dir ...
Neels Hofmeyr31e83202017-06-06 19:44:32 +020037tst test_suite: DBG: {combining='resources'}
Pau Espin Pedrolcbc72422017-09-14 15:55:49 +020038tst {combining_scenarios='resources'}: DBG: {definition_conf={bts=[{'label': 'sysmoCell 5000'}, {'label': 'sysmoCell 5000'}, {'type': 'sysmo'}], ip_address=[{}], modem=[{}, {}]}} [test_suite↪{combining_scenarios='resources'}]
Pau Espin Pedrolaab56922018-08-21 14:58:29 +020039tst test_suite: DBG: {combining='modifiers'}
40tst {combining_scenarios='modifiers'}: DBG: {definition_conf={}} [test_suite↪{combining_scenarios='modifiers'}]
Pau Espin Pedrol0b302792017-09-10 16:33:10 +020041tst test_suite: Reserving 3 x bts (candidates: 6)
Pau Espin Pedrol0d455042018-08-27 17:07:41 +020042tst test_suite: DBG: Picked - _hash: a59640b8ba6a373552b24a6f9f65cadd2347bace
Pau Espin Pedrolcbc72422017-09-14 15:55:49 +020043 addr: 10.42.42.53
44 band: GSM-1800
45 ipa_unit_id: '7'
46 label: sysmoCell 5000
Pau Espin Pedrol0d455042018-08-27 17:07:41 +020047 osmo_trx:
48 clock_reference: external
49 launch_trx: 'False'
50 trx_ip: 10.42.42.112
Pau Espin Pedrolcbc72422017-09-14 15:55:49 +020051 trx_list:
52 - max_power_red: '3'
53 nominal_power: '10'
54 - max_power_red: '0'
55 nominal_power: '12'
Pau Espin Pedrolcbc72422017-09-14 15:55:49 +020056 type: osmo-bts-trx
Pau Espin Pedrol0d455042018-08-27 17:07:41 +020057- _hash: c2feabd082c36a1cdeccb9a5237dfff7dbadb009
Pau Espin Pedrolcbc72422017-09-14 15:55:49 +020058 addr: 10.42.42.53
59 band: GSM-1800
60 ipa_unit_id: '7'
61 label: sysmoCell 5000
Pau Espin Pedrol0d455042018-08-27 17:07:41 +020062 osmo_trx:
63 clock_reference: external
64 launch_trx: 'False'
65 trx_ip: 10.42.42.112
Pau Espin Pedrolcbc72422017-09-14 15:55:49 +020066 trx_list:
67 - nominal_power: '10'
68 - max_power_red: '1'
69 nominal_power: '12'
Pau Espin Pedrolcbc72422017-09-14 15:55:49 +020070 type: osmo-bts-trx
71- _hash: 07d9c8aaa940b674efcbbabdd69f58a6ce4e94f9
Neels Hofmeyr17c139e2017-04-12 02:42:02 +020072 addr: 10.42.42.114
73 band: GSM-1800
74 ipa_unit_id: '1'
75 label: sysmoBTS 1002
76 type: sysmo
Neels Hofmeyr31e83202017-06-06 19:44:32 +020077tst test_suite: Reserving 1 x ip_address (candidates: 3)
Neels Hofmeyr76d81032017-05-18 18:35:32 +020078tst test_suite: DBG: Picked - _hash: cde1debf28f07f94f92c761b4b7c6bf35785ced4
79 addr: 10.42.42.1
Neels Hofmeyr31e83202017-06-06 19:44:32 +020080tst test_suite: Reserving 2 x modem (candidates: 16)
Neels Hofmeyrcccbe592017-05-07 01:16:07 +020081tst test_suite: DBG: Picked - _hash: 19c69e45aa090fb511446bd00797690aa82ff52f
Neels Hofmeyr17c139e2017-04-12 02:42:02 +020082 imsi: '901700000007801'
83 ki: D620F48487B1B782DA55DF6717F08FF9
84 label: m7801
85 path: /wavecom_0
86- _hash: e1a46516a1fb493b2617ab14fc1693a9a45ec254
87 imsi: '901700000007802'
88 ki: 47FDB2D55CE6A10A85ABDAD034A5B7B3
89 label: m7802
90 path: /wavecom_1
Neels Hofmeyr6ccda112017-06-06 19:41:17 +020091
92----------------------------------------------
93trial test_suite hello_world.py
94----------------------------------------------
Neels Hofmeyrd1bedb12017-05-07 03:02:23 +020095tst hello_world.py:[LINENR]: hello world [test_suitehello_world.py:[LINENR]]
96tst hello_world.py:[LINENR]: I am 'test_suite' / 'hello_world.py:[LINENR]' [test_suitehello_world.py:[LINENR]]
97tst hello_world.py:[LINENR]: one [test_suitehello_world.py:[LINENR]]
98tst hello_world.py:[LINENR]: two [test_suitehello_world.py:[LINENR]]
99tst hello_world.py:[LINENR]: three [test_suitehello_world.py:[LINENR]]
Neels Hofmeyr6ccda112017-06-06 19:41:17 +0200100tst hello_world.py:[LINENR] Test passed (N.N sec) [test_suitehello_world.py]
101---------------------------------------------------------------------
102trial test_suite PASS
103---------------------------------------------------------------------
Pau Espin Pedrol30637302020-05-06 21:11:02 +0200104PASS: test_suite (pass: 1, skip: 6)
Neels Hofmeyr6ccda112017-06-06 19:41:17 +0200105 pass: hello_world.py (N.N sec)
106 skip: mo_mt_sms.py
107 skip: mo_sms.py
108 skip: test_error.py
109 skip: test_fail.py
110 skip: test_fail_raise.py
Pau Espin Pedrol30637302020-05-06 21:11:02 +0200111 skip: test_suite_params.py
Neels Hofmeyr3531a192017-03-28 14:30:28 +0200112
113- a test with an error
Neels Hofmeyr6ccda112017-06-06 19:41:17 +0200114
115---------------------------------------------------------------------
116trial test_suite
117---------------------------------------------------------------------
118
119----------------------------------------------
120trial test_suite test_error.py
121----------------------------------------------
Neels Hofmeyrd1bedb12017-05-07 03:02:23 +0200122tst test_error.py:[LINENR]: I am 'test_suite' / 'test_error.py:[LINENR]' [test_suitetest_error.py:[LINENR]] [test_error.py:[LINENR]]
Neels Hofmeyr1a7a3f02017-06-10 01:18:27 +0200123tst test_error.py:[LINENR]: ERR: AssertionError: test_error.py:[LINENR]: assert False [test_suitetest_error.py:[LINENR]] [test_error.py:[LINENR]: assert False]
Pau Espin Pedrolfd5de3d2017-11-09 14:26:35 +0100124tst test_error.py:[LINENR]: Test FAILED (N.N sec) [test_suitetest_error.py:[LINENR]] [test.py:[LINENR]]
Neels Hofmeyr6ccda112017-06-06 19:41:17 +0200125---------------------------------------------------------------------
126trial test_suite FAIL
127---------------------------------------------------------------------
Pau Espin Pedrol30637302020-05-06 21:11:02 +0200128FAIL: test_suite (fail: 1, skip: 6)
Neels Hofmeyr6ccda112017-06-06 19:41:17 +0200129 skip: hello_world.py (N.N sec)
130 skip: mo_mt_sms.py
131 skip: mo_sms.py
Neels Hofmeyr1a7a3f02017-06-10 01:18:27 +0200132 FAIL: test_error.py (N.N sec) AssertionError: test_error.py:[LINENR]: assert False
Neels Hofmeyr6ccda112017-06-06 19:41:17 +0200133 skip: test_fail.py
134 skip: test_fail_raise.py
Pau Espin Pedrol30637302020-05-06 21:11:02 +0200135 skip: test_suite_params.py
Pau Espin Pedrol0ffb4142017-05-15 18:24:35 +0200136
137- a test with a failure
Neels Hofmeyr6ccda112017-06-06 19:41:17 +0200138
139---------------------------------------------------------------------
140trial test_suite
141---------------------------------------------------------------------
142
143----------------------------------------------
144trial test_suite test_fail.py
145----------------------------------------------
Pau Espin Pedrol0ffb4142017-05-15 18:24:35 +0200146tst test_fail.py:[LINENR]: I am 'test_suite' / 'test_fail.py:[LINENR]' [test_suitetest_fail.py:[LINENR]] [test_fail.py:[LINENR]]
Neels Hofmeyr1a7a3f02017-06-10 01:18:27 +0200147tst test_fail.py:[LINENR]: ERR: EpicFail: This failure is expected [test_suitetest_fail.py:[LINENR]] [test_fail.py:[LINENR]]
Pau Espin Pedrolfd5de3d2017-11-09 14:26:35 +0100148tst test_fail.py:[LINENR]: Test FAILED (N.N sec) [test_suitetest_fail.py:[LINENR]] [test.py:[LINENR]]
Neels Hofmeyr6ccda112017-06-06 19:41:17 +0200149---------------------------------------------------------------------
150trial test_suite FAIL
151---------------------------------------------------------------------
Pau Espin Pedrol30637302020-05-06 21:11:02 +0200152FAIL: test_suite (fail: 1, skip: 6)
Neels Hofmeyr6ccda112017-06-06 19:41:17 +0200153 skip: hello_world.py (N.N sec)
154 skip: mo_mt_sms.py
155 skip: mo_sms.py
156 skip: test_error.py (N.N sec)
157 FAIL: test_fail.py (N.N sec) EpicFail: This failure is expected
158 skip: test_fail_raise.py
Pau Espin Pedrol30637302020-05-06 21:11:02 +0200159 skip: test_suite_params.py
Pau Espin Pedrol0ffb4142017-05-15 18:24:35 +0200160
161- a test with a raised failure
Neels Hofmeyr6ccda112017-06-06 19:41:17 +0200162
163---------------------------------------------------------------------
164trial test_suite
165---------------------------------------------------------------------
166
167----------------------------------------------
168trial test_suite test_fail_raise.py
169----------------------------------------------
Neels Hofmeyr1a7a3f02017-06-10 01:18:27 +0200170tst test_fail_raise.py:[LINENR]: ERR: ExpectedFail: This failure is expected [test_suitetest_fail_raise.py:[LINENR]] [test_fail_raise.py:[LINENR]: raise ExpectedFail('This failure is expected')]
Pau Espin Pedrolfd5de3d2017-11-09 14:26:35 +0100171tst test_fail_raise.py:[LINENR]: Test FAILED (N.N sec) [test_suitetest_fail_raise.py:[LINENR]] [test.py:[LINENR]]
Neels Hofmeyr6ccda112017-06-06 19:41:17 +0200172---------------------------------------------------------------------
173trial test_suite FAIL
174---------------------------------------------------------------------
Pau Espin Pedrol30637302020-05-06 21:11:02 +0200175FAIL: test_suite (fail: 1, skip: 6)
Neels Hofmeyr6ccda112017-06-06 19:41:17 +0200176 skip: hello_world.py (N.N sec)
177 skip: mo_mt_sms.py
178 skip: mo_sms.py
179 skip: test_error.py (N.N sec)
180 skip: test_fail.py (N.N sec)
Neels Hofmeyr1a7a3f02017-06-10 01:18:27 +0200181 FAIL: test_fail_raise.py (N.N sec) ExpectedFail: This failure is expected
Pau Espin Pedrol30637302020-05-06 21:11:02 +0200182 skip: test_suite_params.py
Pau Espin Pedrol0b302792017-09-10 16:33:10 +0200183- test with half empty scenario
Pau Espin Pedrol0b302792017-09-10 16:33:10 +0200184
185---------------------------------------------------------------------
186trial test_suite
187---------------------------------------------------------------------
188tst test_suite: reserving resources in [PATH]/selftest/suite_test/test_work/state_dir ... [suite.py:[LINENR]]
189tst test_suite: DBG: {combining='resources'} [suite.py:[LINENR]]
Pau Espin Pedrolcbc72422017-09-14 15:55:49 +0200190tst {combining_scenarios='resources'}: DBG: {definition_conf={bts=[{'label': 'sysmoCell 5000'}, {'label': 'sysmoCell 5000'}, {'type': 'sysmo'}], ip_address=[{}], modem=[{}, {}]}} [test_suite↪{combining_scenarios='resources'}] [suite.py:[LINENR]]
Pau Espin Pedrol0b302792017-09-10 16:33:10 +0200191tst {combining_scenarios='resources', scenario='foo'}: [RESOURCE_DICT]
Pau Espin Pedrolaab56922018-08-21 14:58:29 +0200192tst test_suite: DBG: {combining='modifiers'} [suite.py:[LINENR]]
193tst {combining_scenarios='modifiers'}: DBG: {definition_conf={}} [test_suite↪{combining_scenarios='modifiers'}] [suite.py:[LINENR]]
194tst {combining_scenarios='modifiers', scenario='foo'}: DBG: {conf={}, scenario='foo'} [test_suite↪{combining_scenarios='modifiers', scenario='foo'}] [suite.py:[LINENR]]
Pau Espin Pedrol0b302792017-09-10 16:33:10 +0200195tst test_suite: Reserving 3 x bts (candidates: 6) [resource.py:[LINENR]]
Pau Espin Pedrol0d455042018-08-27 17:07:41 +0200196tst test_suite: DBG: Picked - _hash: a59640b8ba6a373552b24a6f9f65cadd2347bace
Pau Espin Pedrolcbc72422017-09-14 15:55:49 +0200197 addr: 10.42.42.53
198 band: GSM-1800
199 ipa_unit_id: '7'
200 label: sysmoCell 5000
Pau Espin Pedrol0d455042018-08-27 17:07:41 +0200201 osmo_trx:
202 clock_reference: external
203 launch_trx: 'False'
204 trx_ip: 10.42.42.112
Pau Espin Pedrolcbc72422017-09-14 15:55:49 +0200205 trx_list:
206 - max_power_red: '3'
207 nominal_power: '10'
208 - max_power_red: '0'
209 nominal_power: '12'
Pau Espin Pedrolcbc72422017-09-14 15:55:49 +0200210 type: osmo-bts-trx
Pau Espin Pedrol0d455042018-08-27 17:07:41 +0200211- _hash: c2feabd082c36a1cdeccb9a5237dfff7dbadb009
Pau Espin Pedrolcbc72422017-09-14 15:55:49 +0200212 addr: 10.42.42.53
213 band: GSM-1800
214 ipa_unit_id: '7'
215 label: sysmoCell 5000
Pau Espin Pedrol0d455042018-08-27 17:07:41 +0200216 osmo_trx:
217 clock_reference: external
218 launch_trx: 'False'
219 trx_ip: 10.42.42.112
Pau Espin Pedrolcbc72422017-09-14 15:55:49 +0200220 trx_list:
221 - nominal_power: '10'
222 - max_power_red: '1'
223 nominal_power: '12'
Pau Espin Pedrolcbc72422017-09-14 15:55:49 +0200224 type: osmo-bts-trx
225- _hash: 07d9c8aaa940b674efcbbabdd69f58a6ce4e94f9
Pau Espin Pedrol0b302792017-09-10 16:33:10 +0200226 addr: 10.42.42.114
227 band: GSM-1800
228 ipa_unit_id: '1'
229 label: sysmoBTS 1002
230 type: sysmo
Pau Espin Pedrol0b302792017-09-10 16:33:10 +0200231 [resource.py:[LINENR]]
232tst test_suite: Reserving 1 x ip_address (candidates: 3) [resource.py:[LINENR]]
233tst test_suite: DBG: Picked - _hash: cde1debf28f07f94f92c761b4b7c6bf35785ced4
234 addr: 10.42.42.1
235 [resource.py:[LINENR]]
236tst test_suite: Reserving 2 x modem (candidates: 16) [resource.py:[LINENR]]
237tst test_suite: DBG: Picked - _hash: 19c69e45aa090fb511446bd00797690aa82ff52f
238 imsi: '901700000007801'
239 ki: D620F48487B1B782DA55DF6717F08FF9
240 label: m7801
241 path: /wavecom_0
242- _hash: e1a46516a1fb493b2617ab14fc1693a9a45ec254
243 imsi: '901700000007802'
244 ki: 47FDB2D55CE6A10A85ABDAD034A5B7B3
245 label: m7802
246 path: /wavecom_1
247 [resource.py:[LINENR]]
248
249----------------------------------------------
250trial test_suite hello_world.py
251----------------------------------------------
252tst hello_world.py:[LINENR]: hello world [test_suitehello_world.py:[LINENR]] [hello_world.py:[LINENR]]
253tst hello_world.py:[LINENR]: I am 'test_suite' / 'hello_world.py:[LINENR]' [test_suitehello_world.py:[LINENR]] [hello_world.py:[LINENR]]
254tst hello_world.py:[LINENR]: one [test_suitehello_world.py:[LINENR]] [hello_world.py:[LINENR]]
255tst hello_world.py:[LINENR]: two [test_suitehello_world.py:[LINENR]] [hello_world.py:[LINENR]]
256tst hello_world.py:[LINENR]: three [test_suitehello_world.py:[LINENR]] [hello_world.py:[LINENR]]
Pau Espin Pedrolfd5de3d2017-11-09 14:26:35 +0100257tst hello_world.py:[LINENR] Test passed (N.N sec) [test_suitehello_world.py] [test.py:[LINENR]]
Pau Espin Pedrol0b302792017-09-10 16:33:10 +0200258---------------------------------------------------------------------
259trial test_suite PASS
260---------------------------------------------------------------------
Pau Espin Pedrol30637302020-05-06 21:11:02 +0200261PASS: test_suite (pass: 1, skip: 6)
Pau Espin Pedrol0b302792017-09-10 16:33:10 +0200262 pass: hello_world.py (N.N sec)
263 skip: mo_mt_sms.py
264 skip: mo_sms.py
265 skip: test_error.py
266 skip: test_fail.py
267 skip: test_fail_raise.py
Pau Espin Pedrol30637302020-05-06 21:11:02 +0200268 skip: test_suite_params.py
Pau Espin Pedrol0b302792017-09-10 16:33:10 +0200269- test with scenario
Pau Espin Pedrol0b302792017-09-10 16:33:10 +0200270
271---------------------------------------------------------------------
272trial test_suite
273---------------------------------------------------------------------
274tst test_suite: reserving resources in [PATH]/selftest/suite_test/test_work/state_dir ... [suite.py:[LINENR]]
275tst test_suite: DBG: {combining='resources'} [suite.py:[LINENR]]
Pau Espin Pedrolcbc72422017-09-14 15:55:49 +0200276tst {combining_scenarios='resources'}: DBG: {definition_conf={bts=[{'label': 'sysmoCell 5000'}, {'label': 'sysmoCell 5000'}, {'type': 'sysmo'}], ip_address=[{}], modem=[{}, {}]}} [test_suite↪{combining_scenarios='resources'}] [suite.py:[LINENR]]
Pau Espin Pedrol0b302792017-09-10 16:33:10 +0200277tst {combining_scenarios='resources', scenario='foo'}: [RESOURCE_DICT]
Pau Espin Pedrolaab56922018-08-21 14:58:29 +0200278tst test_suite: DBG: {combining='modifiers'} [suite.py:[LINENR]]
279tst {combining_scenarios='modifiers'}: DBG: {definition_conf={}} [test_suite↪{combining_scenarios='modifiers'}] [suite.py:[LINENR]]
280tst {combining_scenarios='modifiers', scenario='foo'}: DBG: {conf={}, scenario='foo'} [test_suite↪{combining_scenarios='modifiers', scenario='foo'}] [suite.py:[LINENR]]
Pau Espin Pedrol0b302792017-09-10 16:33:10 +0200281tst test_suite: Reserving 3 x bts (candidates: 6) [resource.py:[LINENR]]
Pau Espin Pedrol0d455042018-08-27 17:07:41 +0200282tst test_suite: DBG: Picked - _hash: a59640b8ba6a373552b24a6f9f65cadd2347bace
Pau Espin Pedrol0b302792017-09-10 16:33:10 +0200283 addr: 10.42.42.53
284 band: GSM-1800
285 ipa_unit_id: '7'
286 label: sysmoCell 5000
Pau Espin Pedrol0d455042018-08-27 17:07:41 +0200287 osmo_trx:
288 clock_reference: external
289 launch_trx: 'False'
290 trx_ip: 10.42.42.112
Pau Espin Pedrol0b302792017-09-10 16:33:10 +0200291 trx_list:
Pau Espin Pedrol58475512017-09-14 15:33:15 +0200292 - max_power_red: '3'
293 nominal_power: '10'
294 - max_power_red: '0'
295 nominal_power: '12'
Pau Espin Pedrol0b302792017-09-10 16:33:10 +0200296 type: osmo-bts-trx
Pau Espin Pedrol0d455042018-08-27 17:07:41 +0200297- _hash: c2feabd082c36a1cdeccb9a5237dfff7dbadb009
Pau Espin Pedrolcbc72422017-09-14 15:55:49 +0200298 addr: 10.42.42.53
299 band: GSM-1800
300 ipa_unit_id: '7'
301 label: sysmoCell 5000
Pau Espin Pedrol0d455042018-08-27 17:07:41 +0200302 osmo_trx:
303 clock_reference: external
304 launch_trx: 'False'
305 trx_ip: 10.42.42.112
Pau Espin Pedrolcbc72422017-09-14 15:55:49 +0200306 trx_list:
307 - nominal_power: '10'
308 - max_power_red: '1'
309 nominal_power: '12'
Pau Espin Pedrolcbc72422017-09-14 15:55:49 +0200310 type: osmo-bts-trx
Pau Espin Pedrol0b302792017-09-10 16:33:10 +0200311- _hash: 07d9c8aaa940b674efcbbabdd69f58a6ce4e94f9
312 addr: 10.42.42.114
313 band: GSM-1800
314 ipa_unit_id: '1'
315 label: sysmoBTS 1002
316 type: sysmo
317 [resource.py:[LINENR]]
318tst test_suite: Reserving 1 x ip_address (candidates: 3) [resource.py:[LINENR]]
319tst test_suite: DBG: Picked - _hash: cde1debf28f07f94f92c761b4b7c6bf35785ced4
320 addr: 10.42.42.1
321 [resource.py:[LINENR]]
322tst test_suite: Reserving 2 x modem (candidates: 16) [resource.py:[LINENR]]
323tst test_suite: DBG: Picked - _hash: 19c69e45aa090fb511446bd00797690aa82ff52f
324 imsi: '901700000007801'
325 ki: D620F48487B1B782DA55DF6717F08FF9
326 label: m7801
327 path: /wavecom_0
328- _hash: e1a46516a1fb493b2617ab14fc1693a9a45ec254
329 imsi: '901700000007802'
330 ki: 47FDB2D55CE6A10A85ABDAD034A5B7B3
331 label: m7802
332 path: /wavecom_1
333 [resource.py:[LINENR]]
334
335----------------------------------------------
336trial test_suite hello_world.py
337----------------------------------------------
338tst hello_world.py:[LINENR]: hello world [test_suitehello_world.py:[LINENR]] [hello_world.py:[LINENR]]
339tst hello_world.py:[LINENR]: I am 'test_suite' / 'hello_world.py:[LINENR]' [test_suitehello_world.py:[LINENR]] [hello_world.py:[LINENR]]
340tst hello_world.py:[LINENR]: one [test_suitehello_world.py:[LINENR]] [hello_world.py:[LINENR]]
341tst hello_world.py:[LINENR]: two [test_suitehello_world.py:[LINENR]] [hello_world.py:[LINENR]]
342tst hello_world.py:[LINENR]: three [test_suitehello_world.py:[LINENR]] [hello_world.py:[LINENR]]
Pau Espin Pedrolfd5de3d2017-11-09 14:26:35 +0100343tst hello_world.py:[LINENR] Test passed (N.N sec) [test_suitehello_world.py] [test.py:[LINENR]]
Pau Espin Pedrol0b302792017-09-10 16:33:10 +0200344---------------------------------------------------------------------
345trial test_suite PASS
346---------------------------------------------------------------------
Pau Espin Pedrol30637302020-05-06 21:11:02 +0200347PASS: test_suite (pass: 1, skip: 6)
Pau Espin Pedrol0b302792017-09-10 16:33:10 +0200348 pass: hello_world.py (N.N sec)
349 skip: mo_mt_sms.py
350 skip: mo_sms.py
351 skip: test_error.py
352 skip: test_fail.py
353 skip: test_fail_raise.py
Pau Espin Pedrol30637302020-05-06 21:11:02 +0200354 skip: test_suite_params.py
Pau Espin Pedrolaab56922018-08-21 14:58:29 +0200355- test with scenario and modifiers
Pau Espin Pedrolaab56922018-08-21 14:58:29 +0200356tst test_suite: reserving resources in [PATH]/selftest/suite_test/test_work/state_dir ... [suite.py:[LINENR]]
357tst test_suite: DBG: {combining='resources'} [suite.py:[LINENR]]
358tst {combining_scenarios='resources'}: DBG: {definition_conf={bts=[{'label': 'sysmoCell 5000'}, {'label': 'sysmoCell 5000'}, {'type': 'sysmo'}], ip_address=[{}], modem=[{}, {}]}} [test_suite↪{combining_scenarios='resources'}] [suite.py:[LINENR]]
359tst {combining_scenarios='resources', scenario='foo'}: [RESOURCE_DICT]
360tst test_suite: DBG: {combining='modifiers'} [suite.py:[LINENR]]
361tst {combining_scenarios='modifiers'}: DBG: {definition_conf={}} [test_suite↪{combining_scenarios='modifiers'}] [suite.py:[LINENR]]
362tst {combining_scenarios='modifiers', scenario='foo'}: DBG: {conf={bts=[{'trx_list': [{'nominal_power': '20'}, {'nominal_power': '20'}]}, {'trx_list': [{'nominal_power': '20'}, {'nominal_power': '20'}]}, {'type': 'sysmo'}]}, scenario='foo'} [test_suite↪{combining_scenarios='modifiers', scenario='foo'}] [suite.py:[LINENR]]
363tst test_suite: Reserving 3 x bts (candidates: 6) [resource.py:[LINENR]]
Pau Espin Pedrol0d455042018-08-27 17:07:41 +0200364tst test_suite: DBG: Picked - _hash: a59640b8ba6a373552b24a6f9f65cadd2347bace
Pau Espin Pedrolaab56922018-08-21 14:58:29 +0200365 addr: 10.42.42.53
366 band: GSM-1800
367 ipa_unit_id: '7'
368 label: sysmoCell 5000
Pau Espin Pedrol0d455042018-08-27 17:07:41 +0200369 osmo_trx:
370 clock_reference: external
371 launch_trx: 'False'
372 trx_ip: 10.42.42.112
Pau Espin Pedrolaab56922018-08-21 14:58:29 +0200373 trx_list:
374 - max_power_red: '3'
375 nominal_power: '10'
376 - max_power_red: '0'
377 nominal_power: '12'
Pau Espin Pedrolaab56922018-08-21 14:58:29 +0200378 type: osmo-bts-trx
Pau Espin Pedrol0d455042018-08-27 17:07:41 +0200379- _hash: c2feabd082c36a1cdeccb9a5237dfff7dbadb009
Pau Espin Pedrolaab56922018-08-21 14:58:29 +0200380 addr: 10.42.42.53
381 band: GSM-1800
382 ipa_unit_id: '7'
383 label: sysmoCell 5000
Pau Espin Pedrol0d455042018-08-27 17:07:41 +0200384 osmo_trx:
385 clock_reference: external
386 launch_trx: 'False'
387 trx_ip: 10.42.42.112
Pau Espin Pedrolaab56922018-08-21 14:58:29 +0200388 trx_list:
389 - nominal_power: '10'
390 - max_power_red: '1'
391 nominal_power: '12'
Pau Espin Pedrolaab56922018-08-21 14:58:29 +0200392 type: osmo-bts-trx
393- _hash: 07d9c8aaa940b674efcbbabdd69f58a6ce4e94f9
394 addr: 10.42.42.114
395 band: GSM-1800
396 ipa_unit_id: '1'
397 label: sysmoBTS 1002
398 type: sysmo
399 [resource.py:[LINENR]]
400tst test_suite: Reserving 1 x ip_address (candidates: 3) [resource.py:[LINENR]]
401tst test_suite: DBG: Picked - _hash: cde1debf28f07f94f92c761b4b7c6bf35785ced4
402 addr: 10.42.42.1
403 [resource.py:[LINENR]]
404tst test_suite: Reserving 2 x modem (candidates: 16) [resource.py:[LINENR]]
405tst test_suite: DBG: Picked - _hash: 19c69e45aa090fb511446bd00797690aa82ff52f
406 imsi: '901700000007801'
407 ki: D620F48487B1B782DA55DF6717F08FF9
408 label: m7801
409 path: /wavecom_0
410- _hash: e1a46516a1fb493b2617ab14fc1693a9a45ec254
411 imsi: '901700000007802'
412 ki: 47FDB2D55CE6A10A85ABDAD034A5B7B3
413 label: m7802
414 path: /wavecom_1
415 [resource.py:[LINENR]]
Pau Espin Pedrol0d455042018-08-27 17:07:41 +0200416resources(test_suite)={'bts': [{'_hash': 'a59640b8ba6a373552b24a6f9f65cadd2347bace',
Pau Espin Pedrolaab56922018-08-21 14:58:29 +0200417 '_reserved_by': 'test_suite-[ID_NUM]-[ID_NUM]',
418 'addr': '10.42.42.53',
419 'band': 'GSM-1800',
420 'ipa_unit_id': '7',
421 'label': 'sysmoCell 5000',
Pau Espin Pedrol0d455042018-08-27 17:07:41 +0200422 'osmo_trx': {'clock_reference': 'external',
423 'launch_trx': 'False',
424 'trx_ip': '10.42.42.112'},
Pau Espin Pedrolaab56922018-08-21 14:58:29 +0200425 'trx_list': [{'max_power_red': '3', 'nominal_power': '20'},
426 {'max_power_red': '0', 'nominal_power': '20'}],
Pau Espin Pedrolaab56922018-08-21 14:58:29 +0200427 'type': 'osmo-bts-trx'},
Pau Espin Pedrol0d455042018-08-27 17:07:41 +0200428 {'_hash': 'c2feabd082c36a1cdeccb9a5237dfff7dbadb009',
Pau Espin Pedrolaab56922018-08-21 14:58:29 +0200429 '_reserved_by': 'test_suite-[ID_NUM]-[ID_NUM]',
430 'addr': '10.42.42.53',
431 'band': 'GSM-1800',
432 'ipa_unit_id': '7',
433 'label': 'sysmoCell 5000',
Pau Espin Pedrol0d455042018-08-27 17:07:41 +0200434 'osmo_trx': {'clock_reference': 'external',
435 'launch_trx': 'False',
436 'trx_ip': '10.42.42.112'},
Pau Espin Pedrolaab56922018-08-21 14:58:29 +0200437 'trx_list': [{'nominal_power': '20'},
438 {'max_power_red': '1', 'nominal_power': '20'}],
Pau Espin Pedrolaab56922018-08-21 14:58:29 +0200439 'type': 'osmo-bts-trx'},
440 {'_hash': '07d9c8aaa940b674efcbbabdd69f58a6ce4e94f9',
441 '_reserved_by': 'test_suite-[ID_NUM]-[ID_NUM]',
442 'addr': '10.42.42.114',
443 'band': 'GSM-1800',
444 'ipa_unit_id': '1',
445 'label': 'sysmoBTS 1002',
446 'type': 'sysmo'}],
447 'ip_address': [{'_hash': 'cde1debf28f07f94f92c761b4b7c6bf35785ced4',
448 '_reserved_by': 'test_suite-[ID_NUM]-[ID_NUM]',
449 'addr': '10.42.42.1'}],
450 'modem': [{'_hash': '19c69e45aa090fb511446bd00797690aa82ff52f',
451 '_reserved_by': 'test_suite-[ID_NUM]-[ID_NUM]',
452 'imsi': '901700000007801',
453 'ki': 'D620F48487B1B782DA55DF6717F08FF9',
454 'label': 'm7801',
455 'path': '/wavecom_0'},
456 {'_hash': 'e1a46516a1fb493b2617ab14fc1693a9a45ec254',
457 '_reserved_by': 'test_suite-[ID_NUM]-[ID_NUM]',
458 'imsi': '901700000007802',
459 'ki': '47FDB2D55CE6A10A85ABDAD034A5B7B3',
460 'label': 'm7802',
461 'path': '/wavecom_1'}]}
462
463---------------------------------------------------------------------
464trial test_suite
465---------------------------------------------------------------------
466
467----------------------------------------------
468trial test_suite hello_world.py
469----------------------------------------------
470tst hello_world.py:[LINENR]: hello world [test_suitehello_world.py:[LINENR]] [hello_world.py:[LINENR]]
471tst hello_world.py:[LINENR]: I am 'test_suite' / 'hello_world.py:[LINENR]' [test_suitehello_world.py:[LINENR]] [hello_world.py:[LINENR]]
472tst hello_world.py:[LINENR]: one [test_suitehello_world.py:[LINENR]] [hello_world.py:[LINENR]]
473tst hello_world.py:[LINENR]: two [test_suitehello_world.py:[LINENR]] [hello_world.py:[LINENR]]
474tst hello_world.py:[LINENR]: three [test_suitehello_world.py:[LINENR]] [hello_world.py:[LINENR]]
475tst hello_world.py:[LINENR] Test passed (N.N sec) [test_suitehello_world.py] [test.py:[LINENR]]
476---------------------------------------------------------------------
477trial test_suite PASS
478---------------------------------------------------------------------
Pau Espin Pedrol30637302020-05-06 21:11:02 +0200479PASS: test_suite (pass: 1, skip: 6)
Pau Espin Pedrolaab56922018-08-21 14:58:29 +0200480 pass: hello_world.py (N.N sec)
481 skip: mo_mt_sms.py
482 skip: mo_sms.py
483 skip: test_error.py
484 skip: test_fail.py
485 skip: test_fail_raise.py
Pau Espin Pedrol30637302020-05-06 21:11:02 +0200486 skip: test_suite_params.py
487- test with suite-specific config
Pau Espin Pedrol30637302020-05-06 21:11:02 +0200488tst test_suite: reserving resources in [PATH]/selftest/suite_test/test_work/state_dir ... [suite.py:[LINENR]]
489tst test_suite: DBG: {combining='resources'} [suite.py:[LINENR]]
490tst {combining_scenarios='resources'}: DBG: {definition_conf={bts=[{'label': 'sysmoCell 5000'}, {'label': 'sysmoCell 5000'}, {'type': 'sysmo'}], ip_address=[{}], modem=[{}, {}]}} [test_suite↪{combining_scenarios='resources'}] [suite.py:[LINENR]]
491tst {combining_scenarios='resources', scenario='foo'}: [RESOURCE_DICT]
492tst test_suite: DBG: {combining='modifiers'} [suite.py:[LINENR]]
493tst {combining_scenarios='modifiers'}: DBG: {definition_conf={}} [test_suite↪{combining_scenarios='modifiers'}] [suite.py:[LINENR]]
494tst {combining_scenarios='modifiers', scenario='foo'}: DBG: {conf={}, scenario='foo'} [test_suite↪{combining_scenarios='modifiers', scenario='foo'}] [suite.py:[LINENR]]
495tst test_suite: Reserving 3 x bts (candidates: 6) [resource.py:[LINENR]]
496tst test_suite: DBG: Picked - _hash: a59640b8ba6a373552b24a6f9f65cadd2347bace
497 addr: 10.42.42.53
498 band: GSM-1800
499 ipa_unit_id: '7'
500 label: sysmoCell 5000
501 osmo_trx:
502 clock_reference: external
503 launch_trx: 'False'
504 trx_ip: 10.42.42.112
505 trx_list:
506 - max_power_red: '3'
507 nominal_power: '10'
508 - max_power_red: '0'
509 nominal_power: '12'
510 type: osmo-bts-trx
511- _hash: c2feabd082c36a1cdeccb9a5237dfff7dbadb009
512 addr: 10.42.42.53
513 band: GSM-1800
514 ipa_unit_id: '7'
515 label: sysmoCell 5000
516 osmo_trx:
517 clock_reference: external
518 launch_trx: 'False'
519 trx_ip: 10.42.42.112
520 trx_list:
521 - nominal_power: '10'
522 - max_power_red: '1'
523 nominal_power: '12'
524 type: osmo-bts-trx
525- _hash: 07d9c8aaa940b674efcbbabdd69f58a6ce4e94f9
526 addr: 10.42.42.114
527 band: GSM-1800
528 ipa_unit_id: '1'
529 label: sysmoBTS 1002
530 type: sysmo
531 [resource.py:[LINENR]]
532tst test_suite: Reserving 1 x ip_address (candidates: 3) [resource.py:[LINENR]]
533tst test_suite: DBG: Picked - _hash: cde1debf28f07f94f92c761b4b7c6bf35785ced4
534 addr: 10.42.42.1
535 [resource.py:[LINENR]]
536tst test_suite: Reserving 2 x modem (candidates: 16) [resource.py:[LINENR]]
537tst test_suite: DBG: Picked - _hash: 19c69e45aa090fb511446bd00797690aa82ff52f
538 imsi: '901700000007801'
539 ki: D620F48487B1B782DA55DF6717F08FF9
540 label: m7801
541 path: /wavecom_0
542- _hash: e1a46516a1fb493b2617ab14fc1693a9a45ec254
543 imsi: '901700000007802'
544 ki: 47FDB2D55CE6A10A85ABDAD034A5B7B3
545 label: m7802
546 path: /wavecom_1
547 [resource.py:[LINENR]]
548resources(test_suite)={'bts': [{'_hash': 'a59640b8ba6a373552b24a6f9f65cadd2347bace',
549 '_reserved_by': 'test_suite-[ID_NUM]-[ID_NUM]',
550 'addr': '10.42.42.53',
551 'band': 'GSM-1800',
552 'ipa_unit_id': '7',
553 'label': 'sysmoCell 5000',
554 'osmo_trx': {'clock_reference': 'external',
555 'launch_trx': 'False',
556 'trx_ip': '10.42.42.112'},
557 'trx_list': [{'max_power_red': '3', 'nominal_power': '10'},
558 {'max_power_red': '0', 'nominal_power': '12'}],
559 'type': 'osmo-bts-trx'},
560 {'_hash': 'c2feabd082c36a1cdeccb9a5237dfff7dbadb009',
561 '_reserved_by': 'test_suite-[ID_NUM]-[ID_NUM]',
562 'addr': '10.42.42.53',
563 'band': 'GSM-1800',
564 'ipa_unit_id': '7',
565 'label': 'sysmoCell 5000',
566 'osmo_trx': {'clock_reference': 'external',
567 'launch_trx': 'False',
568 'trx_ip': '10.42.42.112'},
569 'trx_list': [{'nominal_power': '10'},
570 {'max_power_red': '1', 'nominal_power': '12'}],
571 'type': 'osmo-bts-trx'},
572 {'_hash': '07d9c8aaa940b674efcbbabdd69f58a6ce4e94f9',
573 '_reserved_by': 'test_suite-[ID_NUM]-[ID_NUM]',
574 'addr': '10.42.42.114',
575 'band': 'GSM-1800',
576 'ipa_unit_id': '1',
577 'label': 'sysmoBTS 1002',
578 'type': 'sysmo'}],
579 'ip_address': [{'_hash': 'cde1debf28f07f94f92c761b4b7c6bf35785ced4',
580 '_reserved_by': 'test_suite-[ID_NUM]-[ID_NUM]',
581 'addr': '10.42.42.1'}],
582 'modem': [{'_hash': '19c69e45aa090fb511446bd00797690aa82ff52f',
583 '_reserved_by': 'test_suite-[ID_NUM]-[ID_NUM]',
584 'imsi': '901700000007801',
585 'ki': 'D620F48487B1B782DA55DF6717F08FF9',
586 'label': 'm7801',
587 'path': '/wavecom_0'},
588 {'_hash': 'e1a46516a1fb493b2617ab14fc1693a9a45ec254',
589 '_reserved_by': 'test_suite-[ID_NUM]-[ID_NUM]',
590 'imsi': '901700000007802',
591 'ki': '47FDB2D55CE6A10A85ABDAD034A5B7B3',
592 'label': 'm7802',
593 'path': '/wavecom_1'}]}
594
595---------------------------------------------------------------------
596trial test_suite
597---------------------------------------------------------------------
598
599----------------------------------------------
600trial test_suite test_suite_params.py
601----------------------------------------------
602tst test_suite_params.py:[LINENR]: starting test [test_suitetest_suite_params.py:[LINENR]] [test_suite_params.py:[LINENR]]
603tst test_suite: DBG: {combining='config'} [suite.py:[LINENR]]
604tst {combining_scenarios='config'}: DBG: {definition_conf={}} [test_suite↪{combining_scenarios='config'}] [suite.py:[LINENR]]
605tst {combining_scenarios='config', scenario='foo'}: DBG: {conf={suite={test_suite={some_suite_global_param='heyho', test_suite_params={one_bool_parameter='true', second_list_parameter=['23', '45']}}}}, scenario='foo'} [test_suite↪{combining_scenarios='config', scenario='foo'}] [suite.py:[LINENR]]
606tst test_suite_params.py:[LINENR]: SPECIFIC SUITE CONFIG: {'some_suite_global_param': 'heyho', [test_suitetest_suite_params.py:[LINENR]] [test_suite_params.py:[LINENR]]
607tst test_suite_params.py:[LINENR]: 'test_suite_params': {'one_bool_parameter': 'true', [test_suitetest_suite_params.py:[LINENR]] [test_suite_params.py:[LINENR]]
608tst test_suite_params.py:[LINENR]: 'second_list_parameter': ['23', '45']}} [test_suitetest_suite_params.py:[LINENR]] [test_suite_params.py:[LINENR]]
609tst test_suite_params.py:[LINENR]: SPECIFIC TEST CONFIG: {'one_bool_parameter': 'true', 'second_list_parameter': ['23', '45']} [test_suitetest_suite_params.py:[LINENR]] [test_suite_params.py:[LINENR]]
610tst test_suite_params.py:[LINENR] Test passed (N.N sec) [test_suitetest_suite_params.py] [test.py:[LINENR]]
611---------------------------------------------------------------------
612trial test_suite PASS
613---------------------------------------------------------------------
614PASS: test_suite (pass: 1, skip: 6)
615 skip: hello_world.py
616 skip: mo_mt_sms.py
617 skip: mo_sms.py
618 skip: test_error.py
619 skip: test_fail.py
620 skip: test_fail_raise.py
621 pass: test_suite_params.py (N.N sec)
Neels Hofmeyr3531a192017-03-28 14:30:28 +0200622
623- graceful exit.