blob: 58593fd16e4f986ba2f3d2c39278976e8c44d0bd [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
Pau Espin Pedrolc3cf6822020-06-12 17:54:55 +020018config:
19 suite:
20 test_suite:
21 test_timeout:
22 timeout: '1'
Neels Hofmeyr3531a192017-03-28 14:30:28 +020023resources:
24 bts:
Pau Espin Pedrolcbc72422017-09-14 15:55:49 +020025 - label: sysmoCell 5000
26 times: '2'
Neels Hofmeyr3531a192017-03-28 14:30:28 +020027 - times: '1'
Pau Espin Pedrolcbc72422017-09-14 15:55:49 +020028 type: sysmo
Neels Hofmeyr76d81032017-05-18 18:35:32 +020029 ip_address:
30 - times: '1'
Neels Hofmeyr3531a192017-03-28 14:30:28 +020031 modem:
32 - times: '2'
Neels Hofmeyr3531a192017-03-28 14:30:28 +020033
34- run hello world test
Pau Espin Pedrola75f85a2020-06-12 17:13:26 +020035tst test_suite: DBG: {combining='config'}
Pau Espin Pedrolc3cf6822020-06-12 17:54:55 +020036tst {combining_scenarios='config'}: DBG: {definition_conf={suite={test_suite={test_timeout={timeout='1'}}}}} [test_suite↪{combining_scenarios='config'}]
Neels Hofmeyr6ccda112017-06-06 19:41:17 +020037
38---------------------------------------------------------------------
39trial test_suite
40---------------------------------------------------------------------
Neels Hofmeyr7e2e8f12017-05-14 03:37:13 +020041tst test_suite: reserving resources in [PATH]/selftest/suite_test/test_work/state_dir ...
Neels Hofmeyr31e83202017-06-06 19:44:32 +020042tst test_suite: DBG: {combining='resources'}
Pau Espin Pedrolcbc72422017-09-14 15:55:49 +020043tst {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 +020044tst test_suite: DBG: {combining='modifiers'}
45tst {combining_scenarios='modifiers'}: DBG: {definition_conf={}} [test_suite↪{combining_scenarios='modifiers'}]
Pau Espin Pedrol0b302792017-09-10 16:33:10 +020046tst test_suite: Reserving 3 x bts (candidates: 6)
Pau Espin Pedrol0d455042018-08-27 17:07:41 +020047tst test_suite: DBG: Picked - _hash: a59640b8ba6a373552b24a6f9f65cadd2347bace
Pau Espin Pedrolcbc72422017-09-14 15:55:49 +020048 addr: 10.42.42.53
49 band: GSM-1800
50 ipa_unit_id: '7'
51 label: sysmoCell 5000
Pau Espin Pedrol0d455042018-08-27 17:07:41 +020052 osmo_trx:
53 clock_reference: external
54 launch_trx: 'False'
55 trx_ip: 10.42.42.112
Pau Espin Pedrolcbc72422017-09-14 15:55:49 +020056 trx_list:
57 - max_power_red: '3'
58 nominal_power: '10'
59 - max_power_red: '0'
60 nominal_power: '12'
Pau Espin Pedrolcbc72422017-09-14 15:55:49 +020061 type: osmo-bts-trx
Pau Espin Pedrol0d455042018-08-27 17:07:41 +020062- _hash: c2feabd082c36a1cdeccb9a5237dfff7dbadb009
Pau Espin Pedrolcbc72422017-09-14 15:55:49 +020063 addr: 10.42.42.53
64 band: GSM-1800
65 ipa_unit_id: '7'
66 label: sysmoCell 5000
Pau Espin Pedrol0d455042018-08-27 17:07:41 +020067 osmo_trx:
68 clock_reference: external
69 launch_trx: 'False'
70 trx_ip: 10.42.42.112
Pau Espin Pedrolcbc72422017-09-14 15:55:49 +020071 trx_list:
72 - nominal_power: '10'
73 - max_power_red: '1'
74 nominal_power: '12'
Pau Espin Pedrolcbc72422017-09-14 15:55:49 +020075 type: osmo-bts-trx
76- _hash: 07d9c8aaa940b674efcbbabdd69f58a6ce4e94f9
Neels Hofmeyr17c139e2017-04-12 02:42:02 +020077 addr: 10.42.42.114
78 band: GSM-1800
79 ipa_unit_id: '1'
80 label: sysmoBTS 1002
81 type: sysmo
Neels Hofmeyr31e83202017-06-06 19:44:32 +020082tst test_suite: Reserving 1 x ip_address (candidates: 3)
Neels Hofmeyr76d81032017-05-18 18:35:32 +020083tst test_suite: DBG: Picked - _hash: cde1debf28f07f94f92c761b4b7c6bf35785ced4
84 addr: 10.42.42.1
Neels Hofmeyr31e83202017-06-06 19:44:32 +020085tst test_suite: Reserving 2 x modem (candidates: 16)
Neels Hofmeyrcccbe592017-05-07 01:16:07 +020086tst test_suite: DBG: Picked - _hash: 19c69e45aa090fb511446bd00797690aa82ff52f
Neels Hofmeyr17c139e2017-04-12 02:42:02 +020087 imsi: '901700000007801'
88 ki: D620F48487B1B782DA55DF6717F08FF9
89 label: m7801
90 path: /wavecom_0
91- _hash: e1a46516a1fb493b2617ab14fc1693a9a45ec254
92 imsi: '901700000007802'
93 ki: 47FDB2D55CE6A10A85ABDAD034A5B7B3
94 label: m7802
95 path: /wavecom_1
Neels Hofmeyr6ccda112017-06-06 19:41:17 +020096
97----------------------------------------------
98trial test_suite hello_world.py
99----------------------------------------------
Neels Hofmeyrd1bedb12017-05-07 03:02:23 +0200100tst hello_world.py:[LINENR]: hello world [test_suitehello_world.py:[LINENR]]
101tst hello_world.py:[LINENR]: I am 'test_suite' / 'hello_world.py:[LINENR]' [test_suitehello_world.py:[LINENR]]
102tst hello_world.py:[LINENR]: one [test_suitehello_world.py:[LINENR]]
103tst hello_world.py:[LINENR]: two [test_suitehello_world.py:[LINENR]]
104tst hello_world.py:[LINENR]: three [test_suitehello_world.py:[LINENR]]
Neels Hofmeyr6ccda112017-06-06 19:41:17 +0200105tst hello_world.py:[LINENR] Test passed (N.N sec) [test_suitehello_world.py]
106---------------------------------------------------------------------
107trial test_suite PASS
108---------------------------------------------------------------------
Pau Espin Pedrolc3cf6822020-06-12 17:54:55 +0200109PASS: test_suite (pass: 1, skip: 7)
Neels Hofmeyr6ccda112017-06-06 19:41:17 +0200110 pass: hello_world.py (N.N sec)
111 skip: mo_mt_sms.py
112 skip: mo_sms.py
113 skip: test_error.py
114 skip: test_fail.py
115 skip: test_fail_raise.py
Pau Espin Pedrol30637302020-05-06 21:11:02 +0200116 skip: test_suite_params.py
Pau Espin Pedrolc3cf6822020-06-12 17:54:55 +0200117 skip: test_timeout.py
Neels Hofmeyr3531a192017-03-28 14:30:28 +0200118
119- a test with an error
Neels Hofmeyr6ccda112017-06-06 19:41:17 +0200120
121---------------------------------------------------------------------
122trial test_suite
123---------------------------------------------------------------------
124
125----------------------------------------------
126trial test_suite test_error.py
127----------------------------------------------
Neels Hofmeyrd1bedb12017-05-07 03:02:23 +0200128tst 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 +0200129tst 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 +0100130tst test_error.py:[LINENR]: Test FAILED (N.N sec) [test_suitetest_error.py:[LINENR]] [test.py:[LINENR]]
Neels Hofmeyr6ccda112017-06-06 19:41:17 +0200131---------------------------------------------------------------------
132trial test_suite FAIL
133---------------------------------------------------------------------
Pau Espin Pedrolc3cf6822020-06-12 17:54:55 +0200134FAIL: test_suite (fail: 1, skip: 7)
Neels Hofmeyr6ccda112017-06-06 19:41:17 +0200135 skip: hello_world.py (N.N sec)
136 skip: mo_mt_sms.py
137 skip: mo_sms.py
Neels Hofmeyr1a7a3f02017-06-10 01:18:27 +0200138 FAIL: test_error.py (N.N sec) AssertionError: test_error.py:[LINENR]: assert False
Neels Hofmeyr6ccda112017-06-06 19:41:17 +0200139 skip: test_fail.py
140 skip: test_fail_raise.py
Pau Espin Pedrol30637302020-05-06 21:11:02 +0200141 skip: test_suite_params.py
Pau Espin Pedrolc3cf6822020-06-12 17:54:55 +0200142 skip: test_timeout.py
Pau Espin Pedrol0ffb4142017-05-15 18:24:35 +0200143
144- a test with a failure
Neels Hofmeyr6ccda112017-06-06 19:41:17 +0200145
146---------------------------------------------------------------------
147trial test_suite
148---------------------------------------------------------------------
149
150----------------------------------------------
151trial test_suite test_fail.py
152----------------------------------------------
Pau Espin Pedrol0ffb4142017-05-15 18:24:35 +0200153tst 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 +0200154tst 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 +0100155tst test_fail.py:[LINENR]: Test FAILED (N.N sec) [test_suitetest_fail.py:[LINENR]] [test.py:[LINENR]]
Neels Hofmeyr6ccda112017-06-06 19:41:17 +0200156---------------------------------------------------------------------
157trial test_suite FAIL
158---------------------------------------------------------------------
Pau Espin Pedrolc3cf6822020-06-12 17:54:55 +0200159FAIL: test_suite (fail: 1, skip: 7)
Neels Hofmeyr6ccda112017-06-06 19:41:17 +0200160 skip: hello_world.py (N.N sec)
161 skip: mo_mt_sms.py
162 skip: mo_sms.py
163 skip: test_error.py (N.N sec)
164 FAIL: test_fail.py (N.N sec) EpicFail: This failure is expected
165 skip: test_fail_raise.py
Pau Espin Pedrol30637302020-05-06 21:11:02 +0200166 skip: test_suite_params.py
Pau Espin Pedrolc3cf6822020-06-12 17:54:55 +0200167 skip: test_timeout.py
Pau Espin Pedrol0ffb4142017-05-15 18:24:35 +0200168
169- a test with a raised failure
Neels Hofmeyr6ccda112017-06-06 19:41:17 +0200170
171---------------------------------------------------------------------
172trial test_suite
173---------------------------------------------------------------------
174
175----------------------------------------------
176trial test_suite test_fail_raise.py
177----------------------------------------------
Neels Hofmeyr1a7a3f02017-06-10 01:18:27 +0200178tst 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 +0100179tst 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 +0200180---------------------------------------------------------------------
181trial test_suite FAIL
182---------------------------------------------------------------------
Pau Espin Pedrolc3cf6822020-06-12 17:54:55 +0200183FAIL: test_suite (fail: 1, skip: 7)
Neels Hofmeyr6ccda112017-06-06 19:41:17 +0200184 skip: hello_world.py (N.N sec)
185 skip: mo_mt_sms.py
186 skip: mo_sms.py
187 skip: test_error.py (N.N sec)
188 skip: test_fail.py (N.N sec)
Neels Hofmeyr1a7a3f02017-06-10 01:18:27 +0200189 FAIL: test_fail_raise.py (N.N sec) ExpectedFail: This failure is expected
Pau Espin Pedrol30637302020-05-06 21:11:02 +0200190 skip: test_suite_params.py
Pau Espin Pedrolc3cf6822020-06-12 17:54:55 +0200191 skip: test_timeout.py
Pau Espin Pedrol0b302792017-09-10 16:33:10 +0200192- test with half empty scenario
Pau Espin Pedrola75f85a2020-06-12 17:13:26 +0200193tst test_suite: DBG: {combining='config'} [suite.py:[LINENR]]
Pau Espin Pedrolc3cf6822020-06-12 17:54:55 +0200194tst {combining_scenarios='config'}: DBG: {definition_conf={suite={test_suite={test_timeout={timeout='1'}}}}} [test_suite↪{combining_scenarios='config'}] [suite.py:[LINENR]]
Pau Espin Pedrola75f85a2020-06-12 17:13:26 +0200195tst {combining_scenarios='config', scenario='foo'}: DBG: {conf={}, scenario='foo'} [test_suite↪{combining_scenarios='config', scenario='foo'}] [suite.py:[LINENR]]
Pau Espin Pedrol0b302792017-09-10 16:33:10 +0200196
197---------------------------------------------------------------------
198trial test_suite
199---------------------------------------------------------------------
200tst test_suite: reserving resources in [PATH]/selftest/suite_test/test_work/state_dir ... [suite.py:[LINENR]]
201tst test_suite: DBG: {combining='resources'} [suite.py:[LINENR]]
Pau Espin Pedrolcbc72422017-09-14 15:55:49 +0200202tst {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 +0200203tst {combining_scenarios='resources', scenario='foo'}: [RESOURCE_DICT]
Pau Espin Pedrolaab56922018-08-21 14:58:29 +0200204tst test_suite: DBG: {combining='modifiers'} [suite.py:[LINENR]]
205tst {combining_scenarios='modifiers'}: DBG: {definition_conf={}} [test_suite↪{combining_scenarios='modifiers'}] [suite.py:[LINENR]]
206tst {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 +0200207tst test_suite: Reserving 3 x bts (candidates: 6) [resource.py:[LINENR]]
Pau Espin Pedrol0d455042018-08-27 17:07:41 +0200208tst test_suite: DBG: Picked - _hash: a59640b8ba6a373552b24a6f9f65cadd2347bace
Pau Espin Pedrolcbc72422017-09-14 15:55:49 +0200209 addr: 10.42.42.53
210 band: GSM-1800
211 ipa_unit_id: '7'
212 label: sysmoCell 5000
Pau Espin Pedrol0d455042018-08-27 17:07:41 +0200213 osmo_trx:
214 clock_reference: external
215 launch_trx: 'False'
216 trx_ip: 10.42.42.112
Pau Espin Pedrolcbc72422017-09-14 15:55:49 +0200217 trx_list:
218 - max_power_red: '3'
219 nominal_power: '10'
220 - max_power_red: '0'
221 nominal_power: '12'
Pau Espin Pedrolcbc72422017-09-14 15:55:49 +0200222 type: osmo-bts-trx
Pau Espin Pedrol0d455042018-08-27 17:07:41 +0200223- _hash: c2feabd082c36a1cdeccb9a5237dfff7dbadb009
Pau Espin Pedrolcbc72422017-09-14 15:55:49 +0200224 addr: 10.42.42.53
225 band: GSM-1800
226 ipa_unit_id: '7'
227 label: sysmoCell 5000
Pau Espin Pedrol0d455042018-08-27 17:07:41 +0200228 osmo_trx:
229 clock_reference: external
230 launch_trx: 'False'
231 trx_ip: 10.42.42.112
Pau Espin Pedrolcbc72422017-09-14 15:55:49 +0200232 trx_list:
233 - nominal_power: '10'
234 - max_power_red: '1'
235 nominal_power: '12'
Pau Espin Pedrolcbc72422017-09-14 15:55:49 +0200236 type: osmo-bts-trx
237- _hash: 07d9c8aaa940b674efcbbabdd69f58a6ce4e94f9
Pau Espin Pedrol0b302792017-09-10 16:33:10 +0200238 addr: 10.42.42.114
239 band: GSM-1800
240 ipa_unit_id: '1'
241 label: sysmoBTS 1002
242 type: sysmo
Pau Espin Pedrol0b302792017-09-10 16:33:10 +0200243 [resource.py:[LINENR]]
244tst test_suite: Reserving 1 x ip_address (candidates: 3) [resource.py:[LINENR]]
245tst test_suite: DBG: Picked - _hash: cde1debf28f07f94f92c761b4b7c6bf35785ced4
246 addr: 10.42.42.1
247 [resource.py:[LINENR]]
248tst test_suite: Reserving 2 x modem (candidates: 16) [resource.py:[LINENR]]
249tst test_suite: DBG: Picked - _hash: 19c69e45aa090fb511446bd00797690aa82ff52f
250 imsi: '901700000007801'
251 ki: D620F48487B1B782DA55DF6717F08FF9
252 label: m7801
253 path: /wavecom_0
254- _hash: e1a46516a1fb493b2617ab14fc1693a9a45ec254
255 imsi: '901700000007802'
256 ki: 47FDB2D55CE6A10A85ABDAD034A5B7B3
257 label: m7802
258 path: /wavecom_1
259 [resource.py:[LINENR]]
260
261----------------------------------------------
262trial test_suite hello_world.py
263----------------------------------------------
264tst hello_world.py:[LINENR]: hello world [test_suitehello_world.py:[LINENR]] [hello_world.py:[LINENR]]
265tst hello_world.py:[LINENR]: I am 'test_suite' / 'hello_world.py:[LINENR]' [test_suitehello_world.py:[LINENR]] [hello_world.py:[LINENR]]
266tst hello_world.py:[LINENR]: one [test_suitehello_world.py:[LINENR]] [hello_world.py:[LINENR]]
267tst hello_world.py:[LINENR]: two [test_suitehello_world.py:[LINENR]] [hello_world.py:[LINENR]]
268tst hello_world.py:[LINENR]: three [test_suitehello_world.py:[LINENR]] [hello_world.py:[LINENR]]
Pau Espin Pedrolfd5de3d2017-11-09 14:26:35 +0100269tst hello_world.py:[LINENR] Test passed (N.N sec) [test_suitehello_world.py] [test.py:[LINENR]]
Pau Espin Pedrol0b302792017-09-10 16:33:10 +0200270---------------------------------------------------------------------
271trial test_suite PASS
272---------------------------------------------------------------------
Pau Espin Pedrolc3cf6822020-06-12 17:54:55 +0200273PASS: test_suite (pass: 1, skip: 7)
Pau Espin Pedrol0b302792017-09-10 16:33:10 +0200274 pass: hello_world.py (N.N sec)
275 skip: mo_mt_sms.py
276 skip: mo_sms.py
277 skip: test_error.py
278 skip: test_fail.py
279 skip: test_fail_raise.py
Pau Espin Pedrol30637302020-05-06 21:11:02 +0200280 skip: test_suite_params.py
Pau Espin Pedrolc3cf6822020-06-12 17:54:55 +0200281 skip: test_timeout.py
Pau Espin Pedrol0b302792017-09-10 16:33:10 +0200282- test with scenario
Pau Espin Pedrola75f85a2020-06-12 17:13:26 +0200283tst test_suite: DBG: {combining='config'} [suite.py:[LINENR]]
Pau Espin Pedrolc3cf6822020-06-12 17:54:55 +0200284tst {combining_scenarios='config'}: DBG: {definition_conf={suite={test_suite={test_timeout={timeout='1'}}}}} [test_suite↪{combining_scenarios='config'}] [suite.py:[LINENR]]
Pau Espin Pedrola75f85a2020-06-12 17:13:26 +0200285tst {combining_scenarios='config', scenario='foo'}: DBG: {conf={}, scenario='foo'} [test_suite↪{combining_scenarios='config', scenario='foo'}] [suite.py:[LINENR]]
Pau Espin Pedrol0b302792017-09-10 16:33:10 +0200286
287---------------------------------------------------------------------
288trial test_suite
289---------------------------------------------------------------------
290tst test_suite: reserving resources in [PATH]/selftest/suite_test/test_work/state_dir ... [suite.py:[LINENR]]
291tst test_suite: DBG: {combining='resources'} [suite.py:[LINENR]]
Pau Espin Pedrolcbc72422017-09-14 15:55:49 +0200292tst {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 +0200293tst {combining_scenarios='resources', scenario='foo'}: [RESOURCE_DICT]
Pau Espin Pedrolaab56922018-08-21 14:58:29 +0200294tst test_suite: DBG: {combining='modifiers'} [suite.py:[LINENR]]
295tst {combining_scenarios='modifiers'}: DBG: {definition_conf={}} [test_suite↪{combining_scenarios='modifiers'}] [suite.py:[LINENR]]
296tst {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 +0200297tst test_suite: Reserving 3 x bts (candidates: 6) [resource.py:[LINENR]]
Pau Espin Pedrol0d455042018-08-27 17:07:41 +0200298tst test_suite: DBG: Picked - _hash: a59640b8ba6a373552b24a6f9f65cadd2347bace
Pau Espin Pedrol0b302792017-09-10 16:33:10 +0200299 addr: 10.42.42.53
300 band: GSM-1800
301 ipa_unit_id: '7'
302 label: sysmoCell 5000
Pau Espin Pedrol0d455042018-08-27 17:07:41 +0200303 osmo_trx:
304 clock_reference: external
305 launch_trx: 'False'
306 trx_ip: 10.42.42.112
Pau Espin Pedrol0b302792017-09-10 16:33:10 +0200307 trx_list:
Pau Espin Pedrol58475512017-09-14 15:33:15 +0200308 - max_power_red: '3'
309 nominal_power: '10'
310 - max_power_red: '0'
311 nominal_power: '12'
Pau Espin Pedrol0b302792017-09-10 16:33:10 +0200312 type: osmo-bts-trx
Pau Espin Pedrol0d455042018-08-27 17:07:41 +0200313- _hash: c2feabd082c36a1cdeccb9a5237dfff7dbadb009
Pau Espin Pedrolcbc72422017-09-14 15:55:49 +0200314 addr: 10.42.42.53
315 band: GSM-1800
316 ipa_unit_id: '7'
317 label: sysmoCell 5000
Pau Espin Pedrol0d455042018-08-27 17:07:41 +0200318 osmo_trx:
319 clock_reference: external
320 launch_trx: 'False'
321 trx_ip: 10.42.42.112
Pau Espin Pedrolcbc72422017-09-14 15:55:49 +0200322 trx_list:
323 - nominal_power: '10'
324 - max_power_red: '1'
325 nominal_power: '12'
Pau Espin Pedrolcbc72422017-09-14 15:55:49 +0200326 type: osmo-bts-trx
Pau Espin Pedrol0b302792017-09-10 16:33:10 +0200327- _hash: 07d9c8aaa940b674efcbbabdd69f58a6ce4e94f9
328 addr: 10.42.42.114
329 band: GSM-1800
330 ipa_unit_id: '1'
331 label: sysmoBTS 1002
332 type: sysmo
333 [resource.py:[LINENR]]
334tst test_suite: Reserving 1 x ip_address (candidates: 3) [resource.py:[LINENR]]
335tst test_suite: DBG: Picked - _hash: cde1debf28f07f94f92c761b4b7c6bf35785ced4
336 addr: 10.42.42.1
337 [resource.py:[LINENR]]
338tst test_suite: Reserving 2 x modem (candidates: 16) [resource.py:[LINENR]]
339tst test_suite: DBG: Picked - _hash: 19c69e45aa090fb511446bd00797690aa82ff52f
340 imsi: '901700000007801'
341 ki: D620F48487B1B782DA55DF6717F08FF9
342 label: m7801
343 path: /wavecom_0
344- _hash: e1a46516a1fb493b2617ab14fc1693a9a45ec254
345 imsi: '901700000007802'
346 ki: 47FDB2D55CE6A10A85ABDAD034A5B7B3
347 label: m7802
348 path: /wavecom_1
349 [resource.py:[LINENR]]
350
351----------------------------------------------
352trial test_suite hello_world.py
353----------------------------------------------
354tst hello_world.py:[LINENR]: hello world [test_suitehello_world.py:[LINENR]] [hello_world.py:[LINENR]]
355tst hello_world.py:[LINENR]: I am 'test_suite' / 'hello_world.py:[LINENR]' [test_suitehello_world.py:[LINENR]] [hello_world.py:[LINENR]]
356tst hello_world.py:[LINENR]: one [test_suitehello_world.py:[LINENR]] [hello_world.py:[LINENR]]
357tst hello_world.py:[LINENR]: two [test_suitehello_world.py:[LINENR]] [hello_world.py:[LINENR]]
358tst hello_world.py:[LINENR]: three [test_suitehello_world.py:[LINENR]] [hello_world.py:[LINENR]]
Pau Espin Pedrolfd5de3d2017-11-09 14:26:35 +0100359tst hello_world.py:[LINENR] Test passed (N.N sec) [test_suitehello_world.py] [test.py:[LINENR]]
Pau Espin Pedrol0b302792017-09-10 16:33:10 +0200360---------------------------------------------------------------------
361trial test_suite PASS
362---------------------------------------------------------------------
Pau Espin Pedrolc3cf6822020-06-12 17:54:55 +0200363PASS: test_suite (pass: 1, skip: 7)
Pau Espin Pedrol0b302792017-09-10 16:33:10 +0200364 pass: hello_world.py (N.N sec)
365 skip: mo_mt_sms.py
366 skip: mo_sms.py
367 skip: test_error.py
368 skip: test_fail.py
369 skip: test_fail_raise.py
Pau Espin Pedrol30637302020-05-06 21:11:02 +0200370 skip: test_suite_params.py
Pau Espin Pedrolc3cf6822020-06-12 17:54:55 +0200371 skip: test_timeout.py
Pau Espin Pedrolaab56922018-08-21 14:58:29 +0200372- test with scenario and modifiers
Pau Espin Pedrola75f85a2020-06-12 17:13:26 +0200373tst test_suite: DBG: {combining='config'} [suite.py:[LINENR]]
Pau Espin Pedrolc3cf6822020-06-12 17:54:55 +0200374tst {combining_scenarios='config'}: DBG: {definition_conf={suite={test_suite={test_timeout={timeout='1'}}}}} [test_suite↪{combining_scenarios='config'}] [suite.py:[LINENR]]
Pau Espin Pedrola75f85a2020-06-12 17:13:26 +0200375tst {combining_scenarios='config', scenario='foo'}: DBG: {conf={}, scenario='foo'} [test_suite↪{combining_scenarios='config', scenario='foo'}] [suite.py:[LINENR]]
Pau Espin Pedrolaab56922018-08-21 14:58:29 +0200376tst test_suite: reserving resources in [PATH]/selftest/suite_test/test_work/state_dir ... [suite.py:[LINENR]]
377tst test_suite: DBG: {combining='resources'} [suite.py:[LINENR]]
378tst {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]]
379tst {combining_scenarios='resources', scenario='foo'}: [RESOURCE_DICT]
380tst test_suite: DBG: {combining='modifiers'} [suite.py:[LINENR]]
381tst {combining_scenarios='modifiers'}: DBG: {definition_conf={}} [test_suite↪{combining_scenarios='modifiers'}] [suite.py:[LINENR]]
382tst {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]]
383tst test_suite: Reserving 3 x bts (candidates: 6) [resource.py:[LINENR]]
Pau Espin Pedrol0d455042018-08-27 17:07:41 +0200384tst test_suite: DBG: Picked - _hash: a59640b8ba6a373552b24a6f9f65cadd2347bace
Pau Espin Pedrolaab56922018-08-21 14:58:29 +0200385 addr: 10.42.42.53
386 band: GSM-1800
387 ipa_unit_id: '7'
388 label: sysmoCell 5000
Pau Espin Pedrol0d455042018-08-27 17:07:41 +0200389 osmo_trx:
390 clock_reference: external
391 launch_trx: 'False'
392 trx_ip: 10.42.42.112
Pau Espin Pedrolaab56922018-08-21 14:58:29 +0200393 trx_list:
394 - max_power_red: '3'
395 nominal_power: '10'
396 - max_power_red: '0'
397 nominal_power: '12'
Pau Espin Pedrolaab56922018-08-21 14:58:29 +0200398 type: osmo-bts-trx
Pau Espin Pedrol0d455042018-08-27 17:07:41 +0200399- _hash: c2feabd082c36a1cdeccb9a5237dfff7dbadb009
Pau Espin Pedrolaab56922018-08-21 14:58:29 +0200400 addr: 10.42.42.53
401 band: GSM-1800
402 ipa_unit_id: '7'
403 label: sysmoCell 5000
Pau Espin Pedrol0d455042018-08-27 17:07:41 +0200404 osmo_trx:
405 clock_reference: external
406 launch_trx: 'False'
407 trx_ip: 10.42.42.112
Pau Espin Pedrolaab56922018-08-21 14:58:29 +0200408 trx_list:
409 - nominal_power: '10'
410 - max_power_red: '1'
411 nominal_power: '12'
Pau Espin Pedrolaab56922018-08-21 14:58:29 +0200412 type: osmo-bts-trx
413- _hash: 07d9c8aaa940b674efcbbabdd69f58a6ce4e94f9
414 addr: 10.42.42.114
415 band: GSM-1800
416 ipa_unit_id: '1'
417 label: sysmoBTS 1002
418 type: sysmo
419 [resource.py:[LINENR]]
420tst test_suite: Reserving 1 x ip_address (candidates: 3) [resource.py:[LINENR]]
421tst test_suite: DBG: Picked - _hash: cde1debf28f07f94f92c761b4b7c6bf35785ced4
422 addr: 10.42.42.1
423 [resource.py:[LINENR]]
424tst test_suite: Reserving 2 x modem (candidates: 16) [resource.py:[LINENR]]
425tst test_suite: DBG: Picked - _hash: 19c69e45aa090fb511446bd00797690aa82ff52f
426 imsi: '901700000007801'
427 ki: D620F48487B1B782DA55DF6717F08FF9
428 label: m7801
429 path: /wavecom_0
430- _hash: e1a46516a1fb493b2617ab14fc1693a9a45ec254
431 imsi: '901700000007802'
432 ki: 47FDB2D55CE6A10A85ABDAD034A5B7B3
433 label: m7802
434 path: /wavecom_1
435 [resource.py:[LINENR]]
Pau Espin Pedrol0d455042018-08-27 17:07:41 +0200436resources(test_suite)={'bts': [{'_hash': 'a59640b8ba6a373552b24a6f9f65cadd2347bace',
Pau Espin Pedrolaab56922018-08-21 14:58:29 +0200437 '_reserved_by': 'test_suite-[ID_NUM]-[ID_NUM]',
438 'addr': '10.42.42.53',
439 'band': 'GSM-1800',
440 'ipa_unit_id': '7',
441 'label': 'sysmoCell 5000',
Pau Espin Pedrol0d455042018-08-27 17:07:41 +0200442 'osmo_trx': {'clock_reference': 'external',
443 'launch_trx': 'False',
444 'trx_ip': '10.42.42.112'},
Pau Espin Pedrolaab56922018-08-21 14:58:29 +0200445 'trx_list': [{'max_power_red': '3', 'nominal_power': '20'},
446 {'max_power_red': '0', 'nominal_power': '20'}],
Pau Espin Pedrolaab56922018-08-21 14:58:29 +0200447 'type': 'osmo-bts-trx'},
Pau Espin Pedrol0d455042018-08-27 17:07:41 +0200448 {'_hash': 'c2feabd082c36a1cdeccb9a5237dfff7dbadb009',
Pau Espin Pedrolaab56922018-08-21 14:58:29 +0200449 '_reserved_by': 'test_suite-[ID_NUM]-[ID_NUM]',
450 'addr': '10.42.42.53',
451 'band': 'GSM-1800',
452 'ipa_unit_id': '7',
453 'label': 'sysmoCell 5000',
Pau Espin Pedrol0d455042018-08-27 17:07:41 +0200454 'osmo_trx': {'clock_reference': 'external',
455 'launch_trx': 'False',
456 'trx_ip': '10.42.42.112'},
Pau Espin Pedrolaab56922018-08-21 14:58:29 +0200457 'trx_list': [{'nominal_power': '20'},
458 {'max_power_red': '1', 'nominal_power': '20'}],
Pau Espin Pedrolaab56922018-08-21 14:58:29 +0200459 'type': 'osmo-bts-trx'},
460 {'_hash': '07d9c8aaa940b674efcbbabdd69f58a6ce4e94f9',
461 '_reserved_by': 'test_suite-[ID_NUM]-[ID_NUM]',
462 'addr': '10.42.42.114',
463 'band': 'GSM-1800',
464 'ipa_unit_id': '1',
465 'label': 'sysmoBTS 1002',
466 'type': 'sysmo'}],
467 'ip_address': [{'_hash': 'cde1debf28f07f94f92c761b4b7c6bf35785ced4',
468 '_reserved_by': 'test_suite-[ID_NUM]-[ID_NUM]',
469 'addr': '10.42.42.1'}],
470 'modem': [{'_hash': '19c69e45aa090fb511446bd00797690aa82ff52f',
471 '_reserved_by': 'test_suite-[ID_NUM]-[ID_NUM]',
472 'imsi': '901700000007801',
473 'ki': 'D620F48487B1B782DA55DF6717F08FF9',
474 'label': 'm7801',
475 'path': '/wavecom_0'},
476 {'_hash': 'e1a46516a1fb493b2617ab14fc1693a9a45ec254',
477 '_reserved_by': 'test_suite-[ID_NUM]-[ID_NUM]',
478 'imsi': '901700000007802',
479 'ki': '47FDB2D55CE6A10A85ABDAD034A5B7B3',
480 'label': 'm7802',
481 'path': '/wavecom_1'}]}
482
483---------------------------------------------------------------------
484trial test_suite
485---------------------------------------------------------------------
486
487----------------------------------------------
488trial test_suite hello_world.py
489----------------------------------------------
490tst hello_world.py:[LINENR]: hello world [test_suitehello_world.py:[LINENR]] [hello_world.py:[LINENR]]
491tst hello_world.py:[LINENR]: I am 'test_suite' / 'hello_world.py:[LINENR]' [test_suitehello_world.py:[LINENR]] [hello_world.py:[LINENR]]
492tst hello_world.py:[LINENR]: one [test_suitehello_world.py:[LINENR]] [hello_world.py:[LINENR]]
493tst hello_world.py:[LINENR]: two [test_suitehello_world.py:[LINENR]] [hello_world.py:[LINENR]]
494tst hello_world.py:[LINENR]: three [test_suitehello_world.py:[LINENR]] [hello_world.py:[LINENR]]
495tst hello_world.py:[LINENR] Test passed (N.N sec) [test_suitehello_world.py] [test.py:[LINENR]]
496---------------------------------------------------------------------
497trial test_suite PASS
498---------------------------------------------------------------------
Pau Espin Pedrolc3cf6822020-06-12 17:54:55 +0200499PASS: test_suite (pass: 1, skip: 7)
Pau Espin Pedrolaab56922018-08-21 14:58:29 +0200500 pass: hello_world.py (N.N sec)
501 skip: mo_mt_sms.py
502 skip: mo_sms.py
503 skip: test_error.py
504 skip: test_fail.py
505 skip: test_fail_raise.py
Pau Espin Pedrol30637302020-05-06 21:11:02 +0200506 skip: test_suite_params.py
Pau Espin Pedrolc3cf6822020-06-12 17:54:55 +0200507 skip: test_timeout.py
Pau Espin Pedrol30637302020-05-06 21:11:02 +0200508- test with suite-specific config
Pau Espin Pedrola75f85a2020-06-12 17:13:26 +0200509tst test_suite: DBG: {combining='config'} [suite.py:[LINENR]]
Pau Espin Pedrolc3cf6822020-06-12 17:54:55 +0200510tst {combining_scenarios='config'}: DBG: {definition_conf={suite={test_suite={test_timeout={timeout='1'}}}}} [test_suite↪{combining_scenarios='config'}] [suite.py:[LINENR]]
Pau Espin Pedrola75f85a2020-06-12 17:13:26 +0200511tst {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]]
Pau Espin Pedrol30637302020-05-06 21:11:02 +0200512tst test_suite: reserving resources in [PATH]/selftest/suite_test/test_work/state_dir ... [suite.py:[LINENR]]
513tst test_suite: DBG: {combining='resources'} [suite.py:[LINENR]]
514tst {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]]
515tst {combining_scenarios='resources', scenario='foo'}: [RESOURCE_DICT]
516tst test_suite: DBG: {combining='modifiers'} [suite.py:[LINENR]]
517tst {combining_scenarios='modifiers'}: DBG: {definition_conf={}} [test_suite↪{combining_scenarios='modifiers'}] [suite.py:[LINENR]]
518tst {combining_scenarios='modifiers', scenario='foo'}: DBG: {conf={}, scenario='foo'} [test_suite↪{combining_scenarios='modifiers', scenario='foo'}] [suite.py:[LINENR]]
519tst test_suite: Reserving 3 x bts (candidates: 6) [resource.py:[LINENR]]
520tst test_suite: DBG: Picked - _hash: a59640b8ba6a373552b24a6f9f65cadd2347bace
521 addr: 10.42.42.53
522 band: GSM-1800
523 ipa_unit_id: '7'
524 label: sysmoCell 5000
525 osmo_trx:
526 clock_reference: external
527 launch_trx: 'False'
528 trx_ip: 10.42.42.112
529 trx_list:
530 - max_power_red: '3'
531 nominal_power: '10'
532 - max_power_red: '0'
533 nominal_power: '12'
534 type: osmo-bts-trx
535- _hash: c2feabd082c36a1cdeccb9a5237dfff7dbadb009
536 addr: 10.42.42.53
537 band: GSM-1800
538 ipa_unit_id: '7'
539 label: sysmoCell 5000
540 osmo_trx:
541 clock_reference: external
542 launch_trx: 'False'
543 trx_ip: 10.42.42.112
544 trx_list:
545 - nominal_power: '10'
546 - max_power_red: '1'
547 nominal_power: '12'
548 type: osmo-bts-trx
549- _hash: 07d9c8aaa940b674efcbbabdd69f58a6ce4e94f9
550 addr: 10.42.42.114
551 band: GSM-1800
552 ipa_unit_id: '1'
553 label: sysmoBTS 1002
554 type: sysmo
555 [resource.py:[LINENR]]
556tst test_suite: Reserving 1 x ip_address (candidates: 3) [resource.py:[LINENR]]
557tst test_suite: DBG: Picked - _hash: cde1debf28f07f94f92c761b4b7c6bf35785ced4
558 addr: 10.42.42.1
559 [resource.py:[LINENR]]
560tst test_suite: Reserving 2 x modem (candidates: 16) [resource.py:[LINENR]]
561tst test_suite: DBG: Picked - _hash: 19c69e45aa090fb511446bd00797690aa82ff52f
562 imsi: '901700000007801'
563 ki: D620F48487B1B782DA55DF6717F08FF9
564 label: m7801
565 path: /wavecom_0
566- _hash: e1a46516a1fb493b2617ab14fc1693a9a45ec254
567 imsi: '901700000007802'
568 ki: 47FDB2D55CE6A10A85ABDAD034A5B7B3
569 label: m7802
570 path: /wavecom_1
571 [resource.py:[LINENR]]
572resources(test_suite)={'bts': [{'_hash': 'a59640b8ba6a373552b24a6f9f65cadd2347bace',
573 '_reserved_by': 'test_suite-[ID_NUM]-[ID_NUM]',
574 'addr': '10.42.42.53',
575 'band': 'GSM-1800',
576 'ipa_unit_id': '7',
577 'label': 'sysmoCell 5000',
578 'osmo_trx': {'clock_reference': 'external',
579 'launch_trx': 'False',
580 'trx_ip': '10.42.42.112'},
581 'trx_list': [{'max_power_red': '3', 'nominal_power': '10'},
582 {'max_power_red': '0', 'nominal_power': '12'}],
583 'type': 'osmo-bts-trx'},
584 {'_hash': 'c2feabd082c36a1cdeccb9a5237dfff7dbadb009',
585 '_reserved_by': 'test_suite-[ID_NUM]-[ID_NUM]',
586 'addr': '10.42.42.53',
587 'band': 'GSM-1800',
588 'ipa_unit_id': '7',
589 'label': 'sysmoCell 5000',
590 'osmo_trx': {'clock_reference': 'external',
591 'launch_trx': 'False',
592 'trx_ip': '10.42.42.112'},
593 'trx_list': [{'nominal_power': '10'},
594 {'max_power_red': '1', 'nominal_power': '12'}],
595 'type': 'osmo-bts-trx'},
596 {'_hash': '07d9c8aaa940b674efcbbabdd69f58a6ce4e94f9',
597 '_reserved_by': 'test_suite-[ID_NUM]-[ID_NUM]',
598 'addr': '10.42.42.114',
599 'band': 'GSM-1800',
600 'ipa_unit_id': '1',
601 'label': 'sysmoBTS 1002',
602 'type': 'sysmo'}],
603 'ip_address': [{'_hash': 'cde1debf28f07f94f92c761b4b7c6bf35785ced4',
604 '_reserved_by': 'test_suite-[ID_NUM]-[ID_NUM]',
605 'addr': '10.42.42.1'}],
606 'modem': [{'_hash': '19c69e45aa090fb511446bd00797690aa82ff52f',
607 '_reserved_by': 'test_suite-[ID_NUM]-[ID_NUM]',
608 'imsi': '901700000007801',
609 'ki': 'D620F48487B1B782DA55DF6717F08FF9',
610 'label': 'm7801',
611 'path': '/wavecom_0'},
612 {'_hash': 'e1a46516a1fb493b2617ab14fc1693a9a45ec254',
613 '_reserved_by': 'test_suite-[ID_NUM]-[ID_NUM]',
614 'imsi': '901700000007802',
615 'ki': '47FDB2D55CE6A10A85ABDAD034A5B7B3',
616 'label': 'm7802',
617 'path': '/wavecom_1'}]}
618
619---------------------------------------------------------------------
620trial test_suite
621---------------------------------------------------------------------
622
623----------------------------------------------
624trial test_suite test_suite_params.py
625----------------------------------------------
626tst test_suite_params.py:[LINENR]: starting test [test_suitetest_suite_params.py:[LINENR]] [test_suite_params.py:[LINENR]]
Pau Espin Pedrol30637302020-05-06 21:11:02 +0200627tst test_suite_params.py:[LINENR]: SPECIFIC SUITE CONFIG: {'some_suite_global_param': 'heyho', [test_suitetest_suite_params.py:[LINENR]] [test_suite_params.py:[LINENR]]
628tst test_suite_params.py:[LINENR]: 'test_suite_params': {'one_bool_parameter': 'true', [test_suitetest_suite_params.py:[LINENR]] [test_suite_params.py:[LINENR]]
Pau Espin Pedrolc3cf6822020-06-12 17:54:55 +0200629tst test_suite_params.py:[LINENR]: 'second_list_parameter': ['23', '45']}, [test_suitetest_suite_params.py:[LINENR]] [test_suite_params.py:[LINENR]]
630tst test_suite_params.py:[LINENR]: 'test_timeout': {'timeout': '1'}} [test_suitetest_suite_params.py:[LINENR]] [test_suite_params.py:[LINENR]]
Pau Espin Pedrol30637302020-05-06 21:11:02 +0200631tst 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]]
632tst test_suite_params.py:[LINENR] Test passed (N.N sec) [test_suitetest_suite_params.py] [test.py:[LINENR]]
Pau Espin Pedrolc3cf6822020-06-12 17:54:55 +0200633
634----------------------------------------------
635trial test_suite test_timeout.py
636----------------------------------------------
637tst test_timeout.py:[LINENR]: starting test and waiting to receive Timeout after 1 seconds [test_suitetest_timeout.py:[LINENR]] [test_timeout.py:[LINENR]]
638tst test_timeout.py:[LINENR]: ERR: Error: test_timeout.py:[LINENR] Test Timeout triggered: 1 seconds elapsed [test_suitetest_timeout.py:[LINENR]↪test_timeout.py] [test_suitetest_timeout.py:[LINENR]] [testenv.py:[LINENR]: raise log_module.Error('Test Timeout triggered: %d seconds elapsed' % self._test.elapsed_time())]
639tst test_timeout.py:[LINENR]: Test FAILED (N.N sec) [test_suitetest_timeout.py:[LINENR]] [test.py:[LINENR]]
Pau Espin Pedrol30637302020-05-06 21:11:02 +0200640---------------------------------------------------------------------
Pau Espin Pedrolc3cf6822020-06-12 17:54:55 +0200641trial test_suite FAIL
Pau Espin Pedrol30637302020-05-06 21:11:02 +0200642---------------------------------------------------------------------
Pau Espin Pedrolc3cf6822020-06-12 17:54:55 +0200643FAIL: test_suite (fail: 1, pass: 1, skip: 6)
Pau Espin Pedrol30637302020-05-06 21:11:02 +0200644 skip: hello_world.py
645 skip: mo_mt_sms.py
646 skip: mo_sms.py
647 skip: test_error.py
648 skip: test_fail.py
649 skip: test_fail_raise.py
650 pass: test_suite_params.py (N.N sec)
Pau Espin Pedrolc3cf6822020-06-12 17:54:55 +0200651 FAIL: test_timeout.py (N.N sec) Error: test_timeout.py:[LINENR] Test Timeout triggered: 1 seconds elapsed [test_suitetest_timeout.py:[LINENR]↪test_timeout.py]
Pau Espin Pedrol166dc102020-06-04 18:44:42 +0200652- test with template overlay
653cnf suiteC: DBG: reading suite.conf [suite.py:[LINENR]]
Pau Espin Pedrola75f85a2020-06-12 17:13:26 +0200654tst suiteC: DBG: {combining='config'} [suite.py:[LINENR]]
655tst {combining_scenarios='config'}: DBG: {definition_conf={}} [suiteC↪{combining_scenarios='config'}] [suite.py:[LINENR]]
Pau Espin Pedrol166dc102020-06-04 18:44:42 +0200656
657---------------------------------------------------------------------
658trial suiteC
659---------------------------------------------------------------------
660tst suiteC: reserving resources in [PATH]/selftest/suite_test/test_work/state_dir ... [suite.py:[LINENR]]
661tst suiteC: DBG: {combining='resources'} [suite.py:[LINENR]]
662tst {combining_scenarios='resources'}: DBG: {definition_conf={ip_address=[{'addr': '10.42.42.2'}]}} [suiteC↪{combining_scenarios='resources'}] [suite.py:[LINENR]]
663tst suiteC: DBG: {combining='modifiers'} [suite.py:[LINENR]]
664tst {combining_scenarios='modifiers'}: DBG: {definition_conf={}} [suiteC↪{combining_scenarios='modifiers'}] [suite.py:[LINENR]]
665tst suiteC: Reserving 1 x ip_address (candidates: 3) [resource.py:[LINENR]]
666tst suiteC: DBG: Picked - _hash: fd103b22c7cf2480d609150e06f4bbd92ac78d8c
667 addr: 10.42.42.2
668 [resource.py:[LINENR]]
669
670----------------------------------------------
671trial suiteC test_template_overlay.py
672----------------------------------------------
673tst test_template_overlay.py:[LINENR]: - Testing: expect to fail on invalid templates overlay dir [suiteCtest_template_overlay.py:[LINENR]] [test_template_overlay.py:[LINENR]]
Pau Espin Pedrola4bb6d32020-06-11 16:14:47 +0200674tst test_template_overlay.py:[LINENR] DBG: template dir overlay set: [PATH]/selftest/suite_test/suitedirB/suiteC/nonexistent-templatedir [suiteCtest_template_overlay.py:[LINENR]↪test_template_overlay.py] [testenv.py:[LINENR]]
Pau Espin Pedrol166dc102020-06-04 18:44:42 +0200675tst test_template_overlay.py:[LINENR]: sucess: setting non-existing templates dir raised RuntimeError [suiteCtest_template_overlay.py:[LINENR]] [test_template_overlay.py:[LINENR]]
676tst test_template_overlay.py:[LINENR]: [suiteCtest_template_overlay.py:[LINENR]] [test_template_overlay.py:[LINENR]]
Pau Espin Pedrola4bb6d32020-06-11 16:14:47 +0200677tst test_template_overlay.py:[LINENR] DBG: template dir overlay set: [PATH]/selftest/suite_test/suitedirB/suiteC/mytemplatedir [suiteCtest_template_overlay.py:[LINENR]↪test_template_overlay.py] [testenv.py:[LINENR]]
Pau Espin Pedrol166dc102020-06-04 18:44:42 +0200678--- ReservedResources: DBG: requesting use of ip_address {specifics={}} [resource.py:[LINENR]]
679tst suiteC: Using 1 x ip_address (candidates: 1) [resource.py:[LINENR]]
680tst suiteC: DBG: Picked - _hash: fd103b22c7cf2480d609150e06f4bbd92ac78d8c
681 _reserved_by: suiteC-[ID_NUM]-[ID_NUM]
682 addr: 10.42.42.2
683 [resource.py:[LINENR]]
684--- ReservedResources: DBG: {available=1} [resource.py:[LINENR]]
685--- ReservedResources: DBG: {using={_hash='fd103b22c7cf2480d609150e06f4bbd92ac78d8c', _reserved_by='suiteC-[ID_NUM]-[ID_NUM]', addr='10.42.42.2'}} [resource.py:[LINENR]]
686tst test_template_overlay.py:[LINENR]: - Testing: original template [suiteCtest_template_overlay.py:[LINENR]] [test_template_overlay.py:[LINENR]]
687run osmo-stp_10.42.42.2: DBG: {config_file='test_trial_tmp/test_run_6/suiteC/test_template_overlay.py/osmo-stp_10.42.42.2/osmo-stp.cfg'} [suiteCtest_template_overlay.py:[LINENR]↪test_template_overlay.pyosmo-stp_10.42.42.2] [stp_osmo.py:[LINENR]]
Pau Espin Pedrol166dc102020-06-04 18:44:42 +0200688run osmo-stp_10.42.42.2: DBG: STP CONFIG:
689{'stp': {'ip_address': {'_hash': 'fd103b22c7cf2480d609150e06f4bbd92ac78d8c',
690 '_reserved_by': 'suiteC-[ID_NUM]-[ID_NUM]',
691 '_used': True,
692 'addr': '10.42.42.2'}}} [suiteCtest_template_overlay.py:[LINENR]↪test_template_overlay.pyosmo-stp_10.42.42.2] [stp_osmo.py:[LINENR]]
693cnf Templates: DBG: rendering osmo-stp.cfg.tmpl [suiteCtest_template_overlay.py:[LINENR]↪test_template_overlay.pyTemplates] [template.py:[LINENR]]
694run osmo-stp_10.42.42.2: DBG: ! Configuration rendered by osmo-gsm-tester
695log stderr
696 logging filter all 1
697 logging color 1
698 logging print category 1
699 logging print extended-timestamp 1
700 logging level set-all debug
701line vty
702 no login
703 bind 10.42.42.2
704!ctrl
705! bind 10.42.42.2
706cs7 instance 0
707 xua rkm routing-key-allocation dynamic-permitted
708 listen m3ua 2905
709 accept-asp-connections dynamic-permitted
710 local-ip 10.42.42.2
711 [suiteCtest_template_overlay.py:[LINENR]↪test_template_overlay.pyosmo-stp_10.42.42.2] [stp_osmo.py:[LINENR]]
712tst test_template_overlay.py:[LINENR]: - Testing:overlay template [suiteCtest_template_overlay.py:[LINENR]] [test_template_overlay.py:[LINENR]]
713tst test_template_overlay.py:[LINENR]: - After creating the new template, still old template is used [suiteCtest_template_overlay.py:[LINENR]] [test_template_overlay.py:[LINENR]]
714run osmo-stp_10.42.42.2: DBG: {config_file='test_trial_tmp/test_run_6/suiteC/test_template_overlay.py/osmo-stp_10.42.42_2.2/osmo-stp.cfg'} [suiteCtest_template_overlay.py:[LINENR]↪test_template_overlay.pyosmo-stp_10.42.42.2] [stp_osmo.py:[LINENR]]
715run osmo-stp_10.42.42.2: DBG: STP CONFIG:
716{'stp': {'ip_address': {'_hash': 'fd103b22c7cf2480d609150e06f4bbd92ac78d8c',
717 '_reserved_by': 'suiteC-[ID_NUM]-[ID_NUM]',
718 '_used': True,
719 'addr': '10.42.42.2'}}} [suiteCtest_template_overlay.py:[LINENR]↪test_template_overlay.pyosmo-stp_10.42.42.2] [stp_osmo.py:[LINENR]]
720cnf Templates: DBG: rendering osmo-stp.cfg.tmpl [suiteCtest_template_overlay.py:[LINENR]↪test_template_overlay.pyTemplates] [template.py:[LINENR]]
721run osmo-stp_10.42.42.2: DBG: ! Configuration rendered by osmo-gsm-tester
722log stderr
723 logging filter all 1
724 logging color 1
725 logging print category 1
726 logging print extended-timestamp 1
727 logging level set-all debug
728line vty
729 no login
730 bind 10.42.42.2
731!ctrl
732! bind 10.42.42.2
733cs7 instance 0
734 xua rkm routing-key-allocation dynamic-permitted
735 listen m3ua 2905
736 accept-asp-connections dynamic-permitted
737 local-ip 10.42.42.2
738 [suiteCtest_template_overlay.py:[LINENR]↪test_template_overlay.pyosmo-stp_10.42.42.2] [stp_osmo.py:[LINENR]]
739tst test_template_overlay.py:[LINENR]: - New template is used after re-generating cache with set_overlay_template_dir: [suiteCtest_template_overlay.py:[LINENR]] [test_template_overlay.py:[LINENR]]
Pau Espin Pedrola4bb6d32020-06-11 16:14:47 +0200740tst test_template_overlay.py:[LINENR] DBG: template dir overlay set: [PATH]/selftest/suite_test/suitedirB/suiteC/mytemplatedir [suiteCtest_template_overlay.py:[LINENR]↪test_template_overlay.py] [testenv.py:[LINENR]]
Pau Espin Pedrol166dc102020-06-04 18:44:42 +0200741run osmo-stp_10.42.42.2: DBG: {config_file='test_trial_tmp/test_run_6/suiteC/test_template_overlay.py/osmo-stp_10.42.42_3.2/osmo-stp.cfg'} [suiteCtest_template_overlay.py:[LINENR]↪test_template_overlay.pyosmo-stp_10.42.42.2] [stp_osmo.py:[LINENR]]
742run osmo-stp_10.42.42.2: DBG: STP CONFIG:
743{'stp': {'ip_address': {'_hash': 'fd103b22c7cf2480d609150e06f4bbd92ac78d8c',
744 '_reserved_by': 'suiteC-[ID_NUM]-[ID_NUM]',
745 '_used': True,
746 'addr': '10.42.42.2'}}} [suiteCtest_template_overlay.py:[LINENR]↪test_template_overlay.pyosmo-stp_10.42.42.2] [stp_osmo.py:[LINENR]]
747cnf Templates: DBG: rendering osmo-stp.cfg.tmpl [suiteCtest_template_overlay.py:[LINENR]↪test_template_overlay.pyTemplates] [template.py:[LINENR]]
748run osmo-stp_10.42.42.2: DBG: ! Overlay Config file genreated by test
749line vty
750 no login
751 bind 10.42.42.2
752 [suiteCtest_template_overlay.py:[LINENR]↪test_template_overlay.pyosmo-stp_10.42.42.2] [stp_osmo.py:[LINENR]]
753tst test_template_overlay.py:[LINENR] Test passed (N.N sec) [suiteCtest_template_overlay.py] [test.py:[LINENR]]
754---------------------------------------------------------------------
755trial suiteC PASS
756---------------------------------------------------------------------
757PASS: suiteC (pass: 1)
758 pass: test_template_overlay.py (N.N sec)
Neels Hofmeyr3531a192017-03-28 14:30:28 +0200759
760- graceful exit.