blob: 9d0493d8414cfde4f7f6579551d76be5698b71ca [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 Pedrol600c7992020-11-09 21:17:51 +010046tst test_suite: Verifying 3 x bts (candidates: 6)
47tst test_suite: DBG: Picked - _hash: a59640b8ba6a373552b24a6f9f65cadd2347bace
48 addr: 10.42.42.53
49 band: GSM-1800
50 ipa_unit_id: '7'
51 label: sysmoCell 5000
52 osmo_trx:
53 clock_reference: external
54 launch_trx: 'False'
55 trx_ip: 10.42.42.112
56 trx_list:
57 - max_power_red: '3'
58 nominal_power: '10'
59 - max_power_red: '0'
60 nominal_power: '12'
61 type: osmo-bts-trx
62- _hash: c2feabd082c36a1cdeccb9a5237dfff7dbadb009
63 addr: 10.42.42.53
64 band: GSM-1800
65 ipa_unit_id: '7'
66 label: sysmoCell 5000
67 osmo_trx:
68 clock_reference: external
69 launch_trx: 'False'
70 trx_ip: 10.42.42.112
71 trx_list:
72 - nominal_power: '10'
73 - max_power_red: '1'
74 nominal_power: '12'
75 type: osmo-bts-trx
76- _hash: 07d9c8aaa940b674efcbbabdd69f58a6ce4e94f9
77 addr: 10.42.42.114
78 band: GSM-1800
79 ipa_unit_id: '1'
80 label: sysmoBTS 1002
81 type: sysmo
82tst test_suite: Verifying 1 x ip_address (candidates: 3)
83tst test_suite: DBG: Picked - _hash: cde1debf28f07f94f92c761b4b7c6bf35785ced4
84 addr: 10.42.42.1
85tst test_suite: Verifying 2 x modem (candidates: 16)
86tst test_suite: DBG: Picked - _hash: 19c69e45aa090fb511446bd00797690aa82ff52f
87 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
96tst test_suite: DBG: FileWatch: scheduling watch for directory [PATH]/selftest/suite_test/test_work/state_dir
Pau Espin Pedrol0b302792017-09-10 16:33:10 +020097tst test_suite: Reserving 3 x bts (candidates: 6)
Pau Espin Pedrol0d455042018-08-27 17:07:41 +020098tst test_suite: DBG: Picked - _hash: a59640b8ba6a373552b24a6f9f65cadd2347bace
Pau Espin Pedrolcbc72422017-09-14 15:55:49 +020099 addr: 10.42.42.53
100 band: GSM-1800
101 ipa_unit_id: '7'
102 label: sysmoCell 5000
Pau Espin Pedrol0d455042018-08-27 17:07:41 +0200103 osmo_trx:
104 clock_reference: external
105 launch_trx: 'False'
106 trx_ip: 10.42.42.112
Pau Espin Pedrolcbc72422017-09-14 15:55:49 +0200107 trx_list:
108 - max_power_red: '3'
109 nominal_power: '10'
110 - max_power_red: '0'
111 nominal_power: '12'
Pau Espin Pedrolcbc72422017-09-14 15:55:49 +0200112 type: osmo-bts-trx
Pau Espin Pedrol0d455042018-08-27 17:07:41 +0200113- _hash: c2feabd082c36a1cdeccb9a5237dfff7dbadb009
Pau Espin Pedrolcbc72422017-09-14 15:55:49 +0200114 addr: 10.42.42.53
115 band: GSM-1800
116 ipa_unit_id: '7'
117 label: sysmoCell 5000
Pau Espin Pedrol0d455042018-08-27 17:07:41 +0200118 osmo_trx:
119 clock_reference: external
120 launch_trx: 'False'
121 trx_ip: 10.42.42.112
Pau Espin Pedrolcbc72422017-09-14 15:55:49 +0200122 trx_list:
123 - nominal_power: '10'
124 - max_power_red: '1'
125 nominal_power: '12'
Pau Espin Pedrolcbc72422017-09-14 15:55:49 +0200126 type: osmo-bts-trx
127- _hash: 07d9c8aaa940b674efcbbabdd69f58a6ce4e94f9
Neels Hofmeyr17c139e2017-04-12 02:42:02 +0200128 addr: 10.42.42.114
129 band: GSM-1800
130 ipa_unit_id: '1'
131 label: sysmoBTS 1002
132 type: sysmo
Neels Hofmeyr31e83202017-06-06 19:44:32 +0200133tst test_suite: Reserving 1 x ip_address (candidates: 3)
Neels Hofmeyr76d81032017-05-18 18:35:32 +0200134tst test_suite: DBG: Picked - _hash: cde1debf28f07f94f92c761b4b7c6bf35785ced4
135 addr: 10.42.42.1
Neels Hofmeyr31e83202017-06-06 19:44:32 +0200136tst test_suite: Reserving 2 x modem (candidates: 16)
Neels Hofmeyrcccbe592017-05-07 01:16:07 +0200137tst test_suite: DBG: Picked - _hash: 19c69e45aa090fb511446bd00797690aa82ff52f
Neels Hofmeyr17c139e2017-04-12 02:42:02 +0200138 imsi: '901700000007801'
139 ki: D620F48487B1B782DA55DF6717F08FF9
140 label: m7801
141 path: /wavecom_0
142- _hash: e1a46516a1fb493b2617ab14fc1693a9a45ec254
143 imsi: '901700000007802'
144 ki: 47FDB2D55CE6A10A85ABDAD034A5B7B3
145 label: m7802
146 path: /wavecom_1
Pau Espin Pedrol600c7992020-11-09 21:17:51 +0100147tst test_suite: DBG: FileWatch: unscheduling watch <ObservedWatch: path=[PATH]/selftest/suite_test/test_work/state_dir, is_recursive=False>
Neels Hofmeyr6ccda112017-06-06 19:41:17 +0200148
149----------------------------------------------
150trial test_suite hello_world.py
151----------------------------------------------
Neels Hofmeyrd1bedb12017-05-07 03:02:23 +0200152tst hello_world.py:[LINENR]: hello world [test_suitehello_world.py:[LINENR]]
153tst hello_world.py:[LINENR]: I am 'test_suite' / 'hello_world.py:[LINENR]' [test_suitehello_world.py:[LINENR]]
154tst hello_world.py:[LINENR]: one [test_suitehello_world.py:[LINENR]]
155tst hello_world.py:[LINENR]: two [test_suitehello_world.py:[LINENR]]
156tst hello_world.py:[LINENR]: three [test_suitehello_world.py:[LINENR]]
Neels Hofmeyr6ccda112017-06-06 19:41:17 +0200157tst hello_world.py:[LINENR] Test passed (N.N sec) [test_suitehello_world.py]
158---------------------------------------------------------------------
159trial test_suite PASS
160---------------------------------------------------------------------
Pau Espin Pedrolc3cf6822020-06-12 17:54:55 +0200161PASS: test_suite (pass: 1, skip: 7)
Neels Hofmeyr6ccda112017-06-06 19:41:17 +0200162 pass: hello_world.py (N.N sec)
163 skip: mo_mt_sms.py
164 skip: mo_sms.py
165 skip: test_error.py
166 skip: test_fail.py
167 skip: test_fail_raise.py
Pau Espin Pedrol30637302020-05-06 21:11:02 +0200168 skip: test_suite_params.py
Pau Espin Pedrolc3cf6822020-06-12 17:54:55 +0200169 skip: test_timeout.py
Neels Hofmeyr3531a192017-03-28 14:30:28 +0200170
171- a test with an error
Neels Hofmeyr6ccda112017-06-06 19:41:17 +0200172
173---------------------------------------------------------------------
174trial test_suite
175---------------------------------------------------------------------
176
177----------------------------------------------
178trial test_suite test_error.py
179----------------------------------------------
Neels Hofmeyrd1bedb12017-05-07 03:02:23 +0200180tst 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 +0200181tst 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 +0100182tst test_error.py:[LINENR]: Test FAILED (N.N sec) [test_suitetest_error.py:[LINENR]] [test.py:[LINENR]]
Neels Hofmeyr6ccda112017-06-06 19:41:17 +0200183---------------------------------------------------------------------
184trial test_suite FAIL
185---------------------------------------------------------------------
Pau Espin Pedrolc3cf6822020-06-12 17:54:55 +0200186FAIL: test_suite (fail: 1, skip: 7)
Neels Hofmeyr6ccda112017-06-06 19:41:17 +0200187 skip: hello_world.py (N.N sec)
188 skip: mo_mt_sms.py
189 skip: mo_sms.py
Neels Hofmeyr1a7a3f02017-06-10 01:18:27 +0200190 FAIL: test_error.py (N.N sec) AssertionError: test_error.py:[LINENR]: assert False
Neels Hofmeyr6ccda112017-06-06 19:41:17 +0200191 skip: test_fail.py
192 skip: test_fail_raise.py
Pau Espin Pedrol30637302020-05-06 21:11:02 +0200193 skip: test_suite_params.py
Pau Espin Pedrolc3cf6822020-06-12 17:54:55 +0200194 skip: test_timeout.py
Pau Espin Pedrol0ffb4142017-05-15 18:24:35 +0200195
196- a test with a failure
Neels Hofmeyr6ccda112017-06-06 19:41:17 +0200197
198---------------------------------------------------------------------
199trial test_suite
200---------------------------------------------------------------------
201
202----------------------------------------------
203trial test_suite test_fail.py
204----------------------------------------------
Pau Espin Pedrol0ffb4142017-05-15 18:24:35 +0200205tst 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 +0200206tst 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 +0100207tst test_fail.py:[LINENR]: Test FAILED (N.N sec) [test_suitetest_fail.py:[LINENR]] [test.py:[LINENR]]
Neels Hofmeyr6ccda112017-06-06 19:41:17 +0200208---------------------------------------------------------------------
209trial test_suite FAIL
210---------------------------------------------------------------------
Pau Espin Pedrolc3cf6822020-06-12 17:54:55 +0200211FAIL: test_suite (fail: 1, skip: 7)
Neels Hofmeyr6ccda112017-06-06 19:41:17 +0200212 skip: hello_world.py (N.N sec)
213 skip: mo_mt_sms.py
214 skip: mo_sms.py
215 skip: test_error.py (N.N sec)
216 FAIL: test_fail.py (N.N sec) EpicFail: This failure is expected
217 skip: test_fail_raise.py
Pau Espin Pedrol30637302020-05-06 21:11:02 +0200218 skip: test_suite_params.py
Pau Espin Pedrolc3cf6822020-06-12 17:54:55 +0200219 skip: test_timeout.py
Pau Espin Pedrol0ffb4142017-05-15 18:24:35 +0200220
221- a test with a raised failure
Neels Hofmeyr6ccda112017-06-06 19:41:17 +0200222
223---------------------------------------------------------------------
224trial test_suite
225---------------------------------------------------------------------
226
227----------------------------------------------
228trial test_suite test_fail_raise.py
229----------------------------------------------
Neels Hofmeyr1a7a3f02017-06-10 01:18:27 +0200230tst 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 +0100231tst 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 +0200232---------------------------------------------------------------------
233trial test_suite FAIL
234---------------------------------------------------------------------
Pau Espin Pedrolc3cf6822020-06-12 17:54:55 +0200235FAIL: test_suite (fail: 1, skip: 7)
Neels Hofmeyr6ccda112017-06-06 19:41:17 +0200236 skip: hello_world.py (N.N sec)
237 skip: mo_mt_sms.py
238 skip: mo_sms.py
239 skip: test_error.py (N.N sec)
240 skip: test_fail.py (N.N sec)
Neels Hofmeyr1a7a3f02017-06-10 01:18:27 +0200241 FAIL: test_fail_raise.py (N.N sec) ExpectedFail: This failure is expected
Pau Espin Pedrol30637302020-05-06 21:11:02 +0200242 skip: test_suite_params.py
Pau Espin Pedrolc3cf6822020-06-12 17:54:55 +0200243 skip: test_timeout.py
Pau Espin Pedrol0b302792017-09-10 16:33:10 +0200244- test with half empty scenario
Pau Espin Pedrola75f85a2020-06-12 17:13:26 +0200245tst test_suite: DBG: {combining='config'} [suite.py:[LINENR]]
Pau Espin Pedrolc3cf6822020-06-12 17:54:55 +0200246tst {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 +0200247tst {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 +0200248
249---------------------------------------------------------------------
250trial test_suite
251---------------------------------------------------------------------
252tst test_suite: reserving resources in [PATH]/selftest/suite_test/test_work/state_dir ... [suite.py:[LINENR]]
253tst test_suite: DBG: {combining='resources'} [suite.py:[LINENR]]
Pau Espin Pedrolcbc72422017-09-14 15:55:49 +0200254tst {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 +0200255tst {combining_scenarios='resources', scenario='foo'}: [RESOURCE_DICT]
Pau Espin Pedrolaab56922018-08-21 14:58:29 +0200256tst test_suite: DBG: {combining='modifiers'} [suite.py:[LINENR]]
257tst {combining_scenarios='modifiers'}: DBG: {definition_conf={}} [test_suite↪{combining_scenarios='modifiers'}] [suite.py:[LINENR]]
258tst {combining_scenarios='modifiers', scenario='foo'}: DBG: {conf={}, scenario='foo'} [test_suite↪{combining_scenarios='modifiers', scenario='foo'}] [suite.py:[LINENR]]
Pau Espin Pedrol600c7992020-11-09 21:17:51 +0100259tst test_suite: Verifying 3 x bts (candidates: 6) [resource.py:[LINENR]]
260tst test_suite: DBG: Picked - _hash: a59640b8ba6a373552b24a6f9f65cadd2347bace
261 addr: 10.42.42.53
262 band: GSM-1800
263 ipa_unit_id: '7'
264 label: sysmoCell 5000
265 osmo_trx:
266 clock_reference: external
267 launch_trx: 'False'
268 trx_ip: 10.42.42.112
269 trx_list:
270 - max_power_red: '3'
271 nominal_power: '10'
272 - max_power_red: '0'
273 nominal_power: '12'
274 type: osmo-bts-trx
275- _hash: c2feabd082c36a1cdeccb9a5237dfff7dbadb009
276 addr: 10.42.42.53
277 band: GSM-1800
278 ipa_unit_id: '7'
279 label: sysmoCell 5000
280 osmo_trx:
281 clock_reference: external
282 launch_trx: 'False'
283 trx_ip: 10.42.42.112
284 trx_list:
285 - nominal_power: '10'
286 - max_power_red: '1'
287 nominal_power: '12'
288 type: osmo-bts-trx
289- _hash: 07d9c8aaa940b674efcbbabdd69f58a6ce4e94f9
290 addr: 10.42.42.114
291 band: GSM-1800
292 ipa_unit_id: '1'
293 label: sysmoBTS 1002
294 type: sysmo
295 [resource.py:[LINENR]]
296tst test_suite: Verifying 1 x ip_address (candidates: 3) [resource.py:[LINENR]]
297tst test_suite: DBG: Picked - _hash: cde1debf28f07f94f92c761b4b7c6bf35785ced4
298 addr: 10.42.42.1
299 [resource.py:[LINENR]]
300tst test_suite: Verifying 2 x modem (candidates: 16) [resource.py:[LINENR]]
301tst test_suite: DBG: Picked - _hash: 19c69e45aa090fb511446bd00797690aa82ff52f
302 imsi: '901700000007801'
303 ki: D620F48487B1B782DA55DF6717F08FF9
304 label: m7801
305 path: /wavecom_0
306- _hash: e1a46516a1fb493b2617ab14fc1693a9a45ec254
307 imsi: '901700000007802'
308 ki: 47FDB2D55CE6A10A85ABDAD034A5B7B3
309 label: m7802
310 path: /wavecom_1
311 [resource.py:[LINENR]]
312tst test_suite: DBG: FileWatch: scheduling watch for directory [PATH]/selftest/suite_test/test_work/state_dir [util.py:[LINENR]]
Pau Espin Pedrol0b302792017-09-10 16:33:10 +0200313tst test_suite: Reserving 3 x bts (candidates: 6) [resource.py:[LINENR]]
Pau Espin Pedrol0d455042018-08-27 17:07:41 +0200314tst test_suite: DBG: Picked - _hash: a59640b8ba6a373552b24a6f9f65cadd2347bace
Pau Espin Pedrolcbc72422017-09-14 15:55:49 +0200315 addr: 10.42.42.53
316 band: GSM-1800
317 ipa_unit_id: '7'
318 label: sysmoCell 5000
Pau Espin Pedrol0d455042018-08-27 17:07:41 +0200319 osmo_trx:
320 clock_reference: external
321 launch_trx: 'False'
322 trx_ip: 10.42.42.112
Pau Espin Pedrolcbc72422017-09-14 15:55:49 +0200323 trx_list:
324 - max_power_red: '3'
325 nominal_power: '10'
326 - max_power_red: '0'
327 nominal_power: '12'
Pau Espin Pedrolcbc72422017-09-14 15:55:49 +0200328 type: osmo-bts-trx
Pau Espin Pedrol0d455042018-08-27 17:07:41 +0200329- _hash: c2feabd082c36a1cdeccb9a5237dfff7dbadb009
Pau Espin Pedrolcbc72422017-09-14 15:55:49 +0200330 addr: 10.42.42.53
331 band: GSM-1800
332 ipa_unit_id: '7'
333 label: sysmoCell 5000
Pau Espin Pedrol0d455042018-08-27 17:07:41 +0200334 osmo_trx:
335 clock_reference: external
336 launch_trx: 'False'
337 trx_ip: 10.42.42.112
Pau Espin Pedrolcbc72422017-09-14 15:55:49 +0200338 trx_list:
339 - nominal_power: '10'
340 - max_power_red: '1'
341 nominal_power: '12'
Pau Espin Pedrolcbc72422017-09-14 15:55:49 +0200342 type: osmo-bts-trx
343- _hash: 07d9c8aaa940b674efcbbabdd69f58a6ce4e94f9
Pau Espin Pedrol0b302792017-09-10 16:33:10 +0200344 addr: 10.42.42.114
345 band: GSM-1800
346 ipa_unit_id: '1'
347 label: sysmoBTS 1002
348 type: sysmo
Pau Espin Pedrol0b302792017-09-10 16:33:10 +0200349 [resource.py:[LINENR]]
350tst test_suite: Reserving 1 x ip_address (candidates: 3) [resource.py:[LINENR]]
351tst test_suite: DBG: Picked - _hash: cde1debf28f07f94f92c761b4b7c6bf35785ced4
352 addr: 10.42.42.1
353 [resource.py:[LINENR]]
354tst test_suite: Reserving 2 x modem (candidates: 16) [resource.py:[LINENR]]
355tst test_suite: DBG: Picked - _hash: 19c69e45aa090fb511446bd00797690aa82ff52f
356 imsi: '901700000007801'
357 ki: D620F48487B1B782DA55DF6717F08FF9
358 label: m7801
359 path: /wavecom_0
360- _hash: e1a46516a1fb493b2617ab14fc1693a9a45ec254
361 imsi: '901700000007802'
362 ki: 47FDB2D55CE6A10A85ABDAD034A5B7B3
363 label: m7802
364 path: /wavecom_1
365 [resource.py:[LINENR]]
Pau Espin Pedrol600c7992020-11-09 21:17:51 +0100366tst test_suite: DBG: FileWatch: unscheduling watch <ObservedWatch: path=[PATH]/selftest/suite_test/test_work/state_dir, is_recursive=False> [util.py:[LINENR]]
Pau Espin Pedrol0b302792017-09-10 16:33:10 +0200367
368----------------------------------------------
369trial test_suite hello_world.py
370----------------------------------------------
371tst hello_world.py:[LINENR]: hello world [test_suitehello_world.py:[LINENR]] [hello_world.py:[LINENR]]
372tst hello_world.py:[LINENR]: I am 'test_suite' / 'hello_world.py:[LINENR]' [test_suitehello_world.py:[LINENR]] [hello_world.py:[LINENR]]
373tst hello_world.py:[LINENR]: one [test_suitehello_world.py:[LINENR]] [hello_world.py:[LINENR]]
374tst hello_world.py:[LINENR]: two [test_suitehello_world.py:[LINENR]] [hello_world.py:[LINENR]]
375tst hello_world.py:[LINENR]: three [test_suitehello_world.py:[LINENR]] [hello_world.py:[LINENR]]
Pau Espin Pedrolfd5de3d2017-11-09 14:26:35 +0100376tst hello_world.py:[LINENR] Test passed (N.N sec) [test_suitehello_world.py] [test.py:[LINENR]]
Pau Espin Pedrol0b302792017-09-10 16:33:10 +0200377---------------------------------------------------------------------
378trial test_suite PASS
379---------------------------------------------------------------------
Pau Espin Pedrolc3cf6822020-06-12 17:54:55 +0200380PASS: test_suite (pass: 1, skip: 7)
Pau Espin Pedrol0b302792017-09-10 16:33:10 +0200381 pass: hello_world.py (N.N sec)
382 skip: mo_mt_sms.py
383 skip: mo_sms.py
384 skip: test_error.py
385 skip: test_fail.py
386 skip: test_fail_raise.py
Pau Espin Pedrol30637302020-05-06 21:11:02 +0200387 skip: test_suite_params.py
Pau Espin Pedrolc3cf6822020-06-12 17:54:55 +0200388 skip: test_timeout.py
Pau Espin Pedrol0b302792017-09-10 16:33:10 +0200389- test with scenario
Pau Espin Pedrola75f85a2020-06-12 17:13:26 +0200390tst test_suite: DBG: {combining='config'} [suite.py:[LINENR]]
Pau Espin Pedrolc3cf6822020-06-12 17:54:55 +0200391tst {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 +0200392tst {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 +0200393
394---------------------------------------------------------------------
395trial test_suite
396---------------------------------------------------------------------
397tst test_suite: reserving resources in [PATH]/selftest/suite_test/test_work/state_dir ... [suite.py:[LINENR]]
398tst test_suite: DBG: {combining='resources'} [suite.py:[LINENR]]
Pau Espin Pedrolcbc72422017-09-14 15:55:49 +0200399tst {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 +0200400tst {combining_scenarios='resources', scenario='foo'}: [RESOURCE_DICT]
Pau Espin Pedrolaab56922018-08-21 14:58:29 +0200401tst test_suite: DBG: {combining='modifiers'} [suite.py:[LINENR]]
402tst {combining_scenarios='modifiers'}: DBG: {definition_conf={}} [test_suite↪{combining_scenarios='modifiers'}] [suite.py:[LINENR]]
403tst {combining_scenarios='modifiers', scenario='foo'}: DBG: {conf={}, scenario='foo'} [test_suite↪{combining_scenarios='modifiers', scenario='foo'}] [suite.py:[LINENR]]
Pau Espin Pedrol600c7992020-11-09 21:17:51 +0100404tst test_suite: Verifying 3 x bts (candidates: 6) [resource.py:[LINENR]]
405tst test_suite: DBG: Picked - _hash: a59640b8ba6a373552b24a6f9f65cadd2347bace
406 addr: 10.42.42.53
407 band: GSM-1800
408 ipa_unit_id: '7'
409 label: sysmoCell 5000
410 osmo_trx:
411 clock_reference: external
412 launch_trx: 'False'
413 trx_ip: 10.42.42.112
414 trx_list:
415 - max_power_red: '3'
416 nominal_power: '10'
417 - max_power_red: '0'
418 nominal_power: '12'
419 type: osmo-bts-trx
420- _hash: c2feabd082c36a1cdeccb9a5237dfff7dbadb009
421 addr: 10.42.42.53
422 band: GSM-1800
423 ipa_unit_id: '7'
424 label: sysmoCell 5000
425 osmo_trx:
426 clock_reference: external
427 launch_trx: 'False'
428 trx_ip: 10.42.42.112
429 trx_list:
430 - nominal_power: '10'
431 - max_power_red: '1'
432 nominal_power: '12'
433 type: osmo-bts-trx
434- _hash: 07d9c8aaa940b674efcbbabdd69f58a6ce4e94f9
435 addr: 10.42.42.114
436 band: GSM-1800
437 ipa_unit_id: '1'
438 label: sysmoBTS 1002
439 type: sysmo
440 [resource.py:[LINENR]]
441tst test_suite: Verifying 1 x ip_address (candidates: 3) [resource.py:[LINENR]]
442tst test_suite: DBG: Picked - _hash: cde1debf28f07f94f92c761b4b7c6bf35785ced4
443 addr: 10.42.42.1
444 [resource.py:[LINENR]]
445tst test_suite: Verifying 2 x modem (candidates: 16) [resource.py:[LINENR]]
446tst test_suite: DBG: Picked - _hash: 19c69e45aa090fb511446bd00797690aa82ff52f
447 imsi: '901700000007801'
448 ki: D620F48487B1B782DA55DF6717F08FF9
449 label: m7801
450 path: /wavecom_0
451- _hash: e1a46516a1fb493b2617ab14fc1693a9a45ec254
452 imsi: '901700000007802'
453 ki: 47FDB2D55CE6A10A85ABDAD034A5B7B3
454 label: m7802
455 path: /wavecom_1
456 [resource.py:[LINENR]]
457tst test_suite: DBG: FileWatch: scheduling watch for directory [PATH]/selftest/suite_test/test_work/state_dir [util.py:[LINENR]]
Pau Espin Pedrol0b302792017-09-10 16:33:10 +0200458tst test_suite: Reserving 3 x bts (candidates: 6) [resource.py:[LINENR]]
Pau Espin Pedrol0d455042018-08-27 17:07:41 +0200459tst test_suite: DBG: Picked - _hash: a59640b8ba6a373552b24a6f9f65cadd2347bace
Pau Espin Pedrol0b302792017-09-10 16:33:10 +0200460 addr: 10.42.42.53
461 band: GSM-1800
462 ipa_unit_id: '7'
463 label: sysmoCell 5000
Pau Espin Pedrol0d455042018-08-27 17:07:41 +0200464 osmo_trx:
465 clock_reference: external
466 launch_trx: 'False'
467 trx_ip: 10.42.42.112
Pau Espin Pedrol0b302792017-09-10 16:33:10 +0200468 trx_list:
Pau Espin Pedrol58475512017-09-14 15:33:15 +0200469 - max_power_red: '3'
470 nominal_power: '10'
471 - max_power_red: '0'
472 nominal_power: '12'
Pau Espin Pedrol0b302792017-09-10 16:33:10 +0200473 type: osmo-bts-trx
Pau Espin Pedrol0d455042018-08-27 17:07:41 +0200474- _hash: c2feabd082c36a1cdeccb9a5237dfff7dbadb009
Pau Espin Pedrolcbc72422017-09-14 15:55:49 +0200475 addr: 10.42.42.53
476 band: GSM-1800
477 ipa_unit_id: '7'
478 label: sysmoCell 5000
Pau Espin Pedrol0d455042018-08-27 17:07:41 +0200479 osmo_trx:
480 clock_reference: external
481 launch_trx: 'False'
482 trx_ip: 10.42.42.112
Pau Espin Pedrolcbc72422017-09-14 15:55:49 +0200483 trx_list:
484 - nominal_power: '10'
485 - max_power_red: '1'
486 nominal_power: '12'
Pau Espin Pedrolcbc72422017-09-14 15:55:49 +0200487 type: osmo-bts-trx
Pau Espin Pedrol0b302792017-09-10 16:33:10 +0200488- _hash: 07d9c8aaa940b674efcbbabdd69f58a6ce4e94f9
489 addr: 10.42.42.114
490 band: GSM-1800
491 ipa_unit_id: '1'
492 label: sysmoBTS 1002
493 type: sysmo
494 [resource.py:[LINENR]]
495tst test_suite: Reserving 1 x ip_address (candidates: 3) [resource.py:[LINENR]]
496tst test_suite: DBG: Picked - _hash: cde1debf28f07f94f92c761b4b7c6bf35785ced4
497 addr: 10.42.42.1
498 [resource.py:[LINENR]]
499tst test_suite: Reserving 2 x modem (candidates: 16) [resource.py:[LINENR]]
500tst test_suite: DBG: Picked - _hash: 19c69e45aa090fb511446bd00797690aa82ff52f
501 imsi: '901700000007801'
502 ki: D620F48487B1B782DA55DF6717F08FF9
503 label: m7801
504 path: /wavecom_0
505- _hash: e1a46516a1fb493b2617ab14fc1693a9a45ec254
506 imsi: '901700000007802'
507 ki: 47FDB2D55CE6A10A85ABDAD034A5B7B3
508 label: m7802
509 path: /wavecom_1
510 [resource.py:[LINENR]]
Pau Espin Pedrol600c7992020-11-09 21:17:51 +0100511tst test_suite: DBG: FileWatch: unscheduling watch <ObservedWatch: path=[PATH]/selftest/suite_test/test_work/state_dir, is_recursive=False> [util.py:[LINENR]]
Pau Espin Pedrol0b302792017-09-10 16:33:10 +0200512
513----------------------------------------------
514trial test_suite hello_world.py
515----------------------------------------------
516tst hello_world.py:[LINENR]: hello world [test_suitehello_world.py:[LINENR]] [hello_world.py:[LINENR]]
517tst hello_world.py:[LINENR]: I am 'test_suite' / 'hello_world.py:[LINENR]' [test_suitehello_world.py:[LINENR]] [hello_world.py:[LINENR]]
518tst hello_world.py:[LINENR]: one [test_suitehello_world.py:[LINENR]] [hello_world.py:[LINENR]]
519tst hello_world.py:[LINENR]: two [test_suitehello_world.py:[LINENR]] [hello_world.py:[LINENR]]
520tst hello_world.py:[LINENR]: three [test_suitehello_world.py:[LINENR]] [hello_world.py:[LINENR]]
Pau Espin Pedrolfd5de3d2017-11-09 14:26:35 +0100521tst hello_world.py:[LINENR] Test passed (N.N sec) [test_suitehello_world.py] [test.py:[LINENR]]
Pau Espin Pedrol0b302792017-09-10 16:33:10 +0200522---------------------------------------------------------------------
523trial test_suite PASS
524---------------------------------------------------------------------
Pau Espin Pedrolc3cf6822020-06-12 17:54:55 +0200525PASS: test_suite (pass: 1, skip: 7)
Pau Espin Pedrol0b302792017-09-10 16:33:10 +0200526 pass: hello_world.py (N.N sec)
527 skip: mo_mt_sms.py
528 skip: mo_sms.py
529 skip: test_error.py
530 skip: test_fail.py
531 skip: test_fail_raise.py
Pau Espin Pedrol30637302020-05-06 21:11:02 +0200532 skip: test_suite_params.py
Pau Espin Pedrolc3cf6822020-06-12 17:54:55 +0200533 skip: test_timeout.py
Pau Espin Pedrolaab56922018-08-21 14:58:29 +0200534- test with scenario and modifiers
Pau Espin Pedrola75f85a2020-06-12 17:13:26 +0200535tst test_suite: DBG: {combining='config'} [suite.py:[LINENR]]
Pau Espin Pedrolc3cf6822020-06-12 17:54:55 +0200536tst {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 +0200537tst {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 +0200538tst test_suite: reserving resources in [PATH]/selftest/suite_test/test_work/state_dir ... [suite.py:[LINENR]]
539tst test_suite: DBG: {combining='resources'} [suite.py:[LINENR]]
540tst {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]]
541tst {combining_scenarios='resources', scenario='foo'}: [RESOURCE_DICT]
542tst test_suite: DBG: {combining='modifiers'} [suite.py:[LINENR]]
543tst {combining_scenarios='modifiers'}: DBG: {definition_conf={}} [test_suite↪{combining_scenarios='modifiers'}] [suite.py:[LINENR]]
544tst {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]]
Pau Espin Pedrol600c7992020-11-09 21:17:51 +0100545tst test_suite: Verifying 3 x bts (candidates: 6) [resource.py:[LINENR]]
546tst test_suite: DBG: Picked - _hash: a59640b8ba6a373552b24a6f9f65cadd2347bace
547 addr: 10.42.42.53
548 band: GSM-1800
549 ipa_unit_id: '7'
550 label: sysmoCell 5000
551 osmo_trx:
552 clock_reference: external
553 launch_trx: 'False'
554 trx_ip: 10.42.42.112
555 trx_list:
556 - max_power_red: '3'
557 nominal_power: '10'
558 - max_power_red: '0'
559 nominal_power: '12'
560 type: osmo-bts-trx
561- _hash: c2feabd082c36a1cdeccb9a5237dfff7dbadb009
562 addr: 10.42.42.53
563 band: GSM-1800
564 ipa_unit_id: '7'
565 label: sysmoCell 5000
566 osmo_trx:
567 clock_reference: external
568 launch_trx: 'False'
569 trx_ip: 10.42.42.112
570 trx_list:
571 - nominal_power: '10'
572 - max_power_red: '1'
573 nominal_power: '12'
574 type: osmo-bts-trx
575- _hash: 07d9c8aaa940b674efcbbabdd69f58a6ce4e94f9
576 addr: 10.42.42.114
577 band: GSM-1800
578 ipa_unit_id: '1'
579 label: sysmoBTS 1002
580 type: sysmo
581 [resource.py:[LINENR]]
582tst test_suite: Verifying 1 x ip_address (candidates: 3) [resource.py:[LINENR]]
583tst test_suite: DBG: Picked - _hash: cde1debf28f07f94f92c761b4b7c6bf35785ced4
584 addr: 10.42.42.1
585 [resource.py:[LINENR]]
586tst test_suite: Verifying 2 x modem (candidates: 16) [resource.py:[LINENR]]
587tst test_suite: DBG: Picked - _hash: 19c69e45aa090fb511446bd00797690aa82ff52f
588 imsi: '901700000007801'
589 ki: D620F48487B1B782DA55DF6717F08FF9
590 label: m7801
591 path: /wavecom_0
592- _hash: e1a46516a1fb493b2617ab14fc1693a9a45ec254
593 imsi: '901700000007802'
594 ki: 47FDB2D55CE6A10A85ABDAD034A5B7B3
595 label: m7802
596 path: /wavecom_1
597 [resource.py:[LINENR]]
598tst test_suite: DBG: FileWatch: scheduling watch for directory [PATH]/selftest/suite_test/test_work/state_dir [util.py:[LINENR]]
Pau Espin Pedrolaab56922018-08-21 14:58:29 +0200599tst test_suite: Reserving 3 x bts (candidates: 6) [resource.py:[LINENR]]
Pau Espin Pedrol0d455042018-08-27 17:07:41 +0200600tst test_suite: DBG: Picked - _hash: a59640b8ba6a373552b24a6f9f65cadd2347bace
Pau Espin Pedrolaab56922018-08-21 14:58:29 +0200601 addr: 10.42.42.53
602 band: GSM-1800
603 ipa_unit_id: '7'
604 label: sysmoCell 5000
Pau Espin Pedrol0d455042018-08-27 17:07:41 +0200605 osmo_trx:
606 clock_reference: external
607 launch_trx: 'False'
608 trx_ip: 10.42.42.112
Pau Espin Pedrolaab56922018-08-21 14:58:29 +0200609 trx_list:
610 - max_power_red: '3'
611 nominal_power: '10'
612 - max_power_red: '0'
613 nominal_power: '12'
Pau Espin Pedrolaab56922018-08-21 14:58:29 +0200614 type: osmo-bts-trx
Pau Espin Pedrol0d455042018-08-27 17:07:41 +0200615- _hash: c2feabd082c36a1cdeccb9a5237dfff7dbadb009
Pau Espin Pedrolaab56922018-08-21 14:58:29 +0200616 addr: 10.42.42.53
617 band: GSM-1800
618 ipa_unit_id: '7'
619 label: sysmoCell 5000
Pau Espin Pedrol0d455042018-08-27 17:07:41 +0200620 osmo_trx:
621 clock_reference: external
622 launch_trx: 'False'
623 trx_ip: 10.42.42.112
Pau Espin Pedrolaab56922018-08-21 14:58:29 +0200624 trx_list:
625 - nominal_power: '10'
626 - max_power_red: '1'
627 nominal_power: '12'
Pau Espin Pedrolaab56922018-08-21 14:58:29 +0200628 type: osmo-bts-trx
629- _hash: 07d9c8aaa940b674efcbbabdd69f58a6ce4e94f9
630 addr: 10.42.42.114
631 band: GSM-1800
632 ipa_unit_id: '1'
633 label: sysmoBTS 1002
634 type: sysmo
635 [resource.py:[LINENR]]
636tst test_suite: Reserving 1 x ip_address (candidates: 3) [resource.py:[LINENR]]
637tst test_suite: DBG: Picked - _hash: cde1debf28f07f94f92c761b4b7c6bf35785ced4
638 addr: 10.42.42.1
639 [resource.py:[LINENR]]
640tst test_suite: Reserving 2 x modem (candidates: 16) [resource.py:[LINENR]]
641tst test_suite: DBG: Picked - _hash: 19c69e45aa090fb511446bd00797690aa82ff52f
642 imsi: '901700000007801'
643 ki: D620F48487B1B782DA55DF6717F08FF9
644 label: m7801
645 path: /wavecom_0
646- _hash: e1a46516a1fb493b2617ab14fc1693a9a45ec254
647 imsi: '901700000007802'
648 ki: 47FDB2D55CE6A10A85ABDAD034A5B7B3
649 label: m7802
650 path: /wavecom_1
651 [resource.py:[LINENR]]
Pau Espin Pedrol600c7992020-11-09 21:17:51 +0100652tst test_suite: DBG: FileWatch: unscheduling watch <ObservedWatch: path=[PATH]/selftest/suite_test/test_work/state_dir, is_recursive=False> [util.py:[LINENR]]
Pau Espin Pedrol0d455042018-08-27 17:07:41 +0200653resources(test_suite)={'bts': [{'_hash': 'a59640b8ba6a373552b24a6f9f65cadd2347bace',
Pau Espin Pedrolaab56922018-08-21 14:58:29 +0200654 '_reserved_by': 'test_suite-[ID_NUM]-[ID_NUM]',
655 'addr': '10.42.42.53',
656 'band': 'GSM-1800',
657 'ipa_unit_id': '7',
658 'label': 'sysmoCell 5000',
Pau Espin Pedrol0d455042018-08-27 17:07:41 +0200659 'osmo_trx': {'clock_reference': 'external',
660 'launch_trx': 'False',
661 'trx_ip': '10.42.42.112'},
Pau Espin Pedrolaab56922018-08-21 14:58:29 +0200662 'trx_list': [{'max_power_red': '3', 'nominal_power': '20'},
663 {'max_power_red': '0', 'nominal_power': '20'}],
Pau Espin Pedrolaab56922018-08-21 14:58:29 +0200664 'type': 'osmo-bts-trx'},
Pau Espin Pedrol0d455042018-08-27 17:07:41 +0200665 {'_hash': 'c2feabd082c36a1cdeccb9a5237dfff7dbadb009',
Pau Espin Pedrolaab56922018-08-21 14:58:29 +0200666 '_reserved_by': 'test_suite-[ID_NUM]-[ID_NUM]',
667 'addr': '10.42.42.53',
668 'band': 'GSM-1800',
669 'ipa_unit_id': '7',
670 'label': 'sysmoCell 5000',
Pau Espin Pedrol0d455042018-08-27 17:07:41 +0200671 'osmo_trx': {'clock_reference': 'external',
672 'launch_trx': 'False',
673 'trx_ip': '10.42.42.112'},
Pau Espin Pedrolaab56922018-08-21 14:58:29 +0200674 'trx_list': [{'nominal_power': '20'},
675 {'max_power_red': '1', 'nominal_power': '20'}],
Pau Espin Pedrolaab56922018-08-21 14:58:29 +0200676 'type': 'osmo-bts-trx'},
677 {'_hash': '07d9c8aaa940b674efcbbabdd69f58a6ce4e94f9',
678 '_reserved_by': 'test_suite-[ID_NUM]-[ID_NUM]',
679 'addr': '10.42.42.114',
680 'band': 'GSM-1800',
681 'ipa_unit_id': '1',
682 'label': 'sysmoBTS 1002',
683 'type': 'sysmo'}],
684 'ip_address': [{'_hash': 'cde1debf28f07f94f92c761b4b7c6bf35785ced4',
685 '_reserved_by': 'test_suite-[ID_NUM]-[ID_NUM]',
686 'addr': '10.42.42.1'}],
687 'modem': [{'_hash': '19c69e45aa090fb511446bd00797690aa82ff52f',
688 '_reserved_by': 'test_suite-[ID_NUM]-[ID_NUM]',
689 'imsi': '901700000007801',
690 'ki': 'D620F48487B1B782DA55DF6717F08FF9',
691 'label': 'm7801',
692 'path': '/wavecom_0'},
693 {'_hash': 'e1a46516a1fb493b2617ab14fc1693a9a45ec254',
694 '_reserved_by': 'test_suite-[ID_NUM]-[ID_NUM]',
695 'imsi': '901700000007802',
696 'ki': '47FDB2D55CE6A10A85ABDAD034A5B7B3',
697 'label': 'm7802',
698 'path': '/wavecom_1'}]}
699
700---------------------------------------------------------------------
701trial test_suite
702---------------------------------------------------------------------
703
704----------------------------------------------
705trial test_suite hello_world.py
706----------------------------------------------
707tst hello_world.py:[LINENR]: hello world [test_suitehello_world.py:[LINENR]] [hello_world.py:[LINENR]]
708tst hello_world.py:[LINENR]: I am 'test_suite' / 'hello_world.py:[LINENR]' [test_suitehello_world.py:[LINENR]] [hello_world.py:[LINENR]]
709tst hello_world.py:[LINENR]: one [test_suitehello_world.py:[LINENR]] [hello_world.py:[LINENR]]
710tst hello_world.py:[LINENR]: two [test_suitehello_world.py:[LINENR]] [hello_world.py:[LINENR]]
711tst hello_world.py:[LINENR]: three [test_suitehello_world.py:[LINENR]] [hello_world.py:[LINENR]]
712tst hello_world.py:[LINENR] Test passed (N.N sec) [test_suitehello_world.py] [test.py:[LINENR]]
713---------------------------------------------------------------------
714trial test_suite PASS
715---------------------------------------------------------------------
Pau Espin Pedrolc3cf6822020-06-12 17:54:55 +0200716PASS: test_suite (pass: 1, skip: 7)
Pau Espin Pedrolaab56922018-08-21 14:58:29 +0200717 pass: hello_world.py (N.N sec)
718 skip: mo_mt_sms.py
719 skip: mo_sms.py
720 skip: test_error.py
721 skip: test_fail.py
722 skip: test_fail_raise.py
Pau Espin Pedrol30637302020-05-06 21:11:02 +0200723 skip: test_suite_params.py
Pau Espin Pedrolc3cf6822020-06-12 17:54:55 +0200724 skip: test_timeout.py
Pau Espin Pedrol30637302020-05-06 21:11:02 +0200725- test with suite-specific config
Pau Espin Pedrola75f85a2020-06-12 17:13:26 +0200726tst test_suite: DBG: {combining='config'} [suite.py:[LINENR]]
Pau Espin Pedrolc3cf6822020-06-12 17:54:55 +0200727tst {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 +0200728tst {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 +0200729tst test_suite: reserving resources in [PATH]/selftest/suite_test/test_work/state_dir ... [suite.py:[LINENR]]
730tst test_suite: DBG: {combining='resources'} [suite.py:[LINENR]]
731tst {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]]
732tst {combining_scenarios='resources', scenario='foo'}: [RESOURCE_DICT]
733tst test_suite: DBG: {combining='modifiers'} [suite.py:[LINENR]]
734tst {combining_scenarios='modifiers'}: DBG: {definition_conf={}} [test_suite↪{combining_scenarios='modifiers'}] [suite.py:[LINENR]]
735tst {combining_scenarios='modifiers', scenario='foo'}: DBG: {conf={}, scenario='foo'} [test_suite↪{combining_scenarios='modifiers', scenario='foo'}] [suite.py:[LINENR]]
Pau Espin Pedrol600c7992020-11-09 21:17:51 +0100736tst test_suite: Verifying 3 x bts (candidates: 6) [resource.py:[LINENR]]
737tst test_suite: DBG: Picked - _hash: a59640b8ba6a373552b24a6f9f65cadd2347bace
738 addr: 10.42.42.53
739 band: GSM-1800
740 ipa_unit_id: '7'
741 label: sysmoCell 5000
742 osmo_trx:
743 clock_reference: external
744 launch_trx: 'False'
745 trx_ip: 10.42.42.112
746 trx_list:
747 - max_power_red: '3'
748 nominal_power: '10'
749 - max_power_red: '0'
750 nominal_power: '12'
751 type: osmo-bts-trx
752- _hash: c2feabd082c36a1cdeccb9a5237dfff7dbadb009
753 addr: 10.42.42.53
754 band: GSM-1800
755 ipa_unit_id: '7'
756 label: sysmoCell 5000
757 osmo_trx:
758 clock_reference: external
759 launch_trx: 'False'
760 trx_ip: 10.42.42.112
761 trx_list:
762 - nominal_power: '10'
763 - max_power_red: '1'
764 nominal_power: '12'
765 type: osmo-bts-trx
766- _hash: 07d9c8aaa940b674efcbbabdd69f58a6ce4e94f9
767 addr: 10.42.42.114
768 band: GSM-1800
769 ipa_unit_id: '1'
770 label: sysmoBTS 1002
771 type: sysmo
772 [resource.py:[LINENR]]
773tst test_suite: Verifying 1 x ip_address (candidates: 3) [resource.py:[LINENR]]
774tst test_suite: DBG: Picked - _hash: cde1debf28f07f94f92c761b4b7c6bf35785ced4
775 addr: 10.42.42.1
776 [resource.py:[LINENR]]
777tst test_suite: Verifying 2 x modem (candidates: 16) [resource.py:[LINENR]]
778tst test_suite: DBG: Picked - _hash: 19c69e45aa090fb511446bd00797690aa82ff52f
779 imsi: '901700000007801'
780 ki: D620F48487B1B782DA55DF6717F08FF9
781 label: m7801
782 path: /wavecom_0
783- _hash: e1a46516a1fb493b2617ab14fc1693a9a45ec254
784 imsi: '901700000007802'
785 ki: 47FDB2D55CE6A10A85ABDAD034A5B7B3
786 label: m7802
787 path: /wavecom_1
788 [resource.py:[LINENR]]
789tst test_suite: DBG: FileWatch: scheduling watch for directory [PATH]/selftest/suite_test/test_work/state_dir [util.py:[LINENR]]
Pau Espin Pedrol30637302020-05-06 21:11:02 +0200790tst test_suite: Reserving 3 x bts (candidates: 6) [resource.py:[LINENR]]
791tst test_suite: DBG: Picked - _hash: a59640b8ba6a373552b24a6f9f65cadd2347bace
792 addr: 10.42.42.53
793 band: GSM-1800
794 ipa_unit_id: '7'
795 label: sysmoCell 5000
796 osmo_trx:
797 clock_reference: external
798 launch_trx: 'False'
799 trx_ip: 10.42.42.112
800 trx_list:
801 - max_power_red: '3'
802 nominal_power: '10'
803 - max_power_red: '0'
804 nominal_power: '12'
805 type: osmo-bts-trx
806- _hash: c2feabd082c36a1cdeccb9a5237dfff7dbadb009
807 addr: 10.42.42.53
808 band: GSM-1800
809 ipa_unit_id: '7'
810 label: sysmoCell 5000
811 osmo_trx:
812 clock_reference: external
813 launch_trx: 'False'
814 trx_ip: 10.42.42.112
815 trx_list:
816 - nominal_power: '10'
817 - max_power_red: '1'
818 nominal_power: '12'
819 type: osmo-bts-trx
820- _hash: 07d9c8aaa940b674efcbbabdd69f58a6ce4e94f9
821 addr: 10.42.42.114
822 band: GSM-1800
823 ipa_unit_id: '1'
824 label: sysmoBTS 1002
825 type: sysmo
826 [resource.py:[LINENR]]
827tst test_suite: Reserving 1 x ip_address (candidates: 3) [resource.py:[LINENR]]
828tst test_suite: DBG: Picked - _hash: cde1debf28f07f94f92c761b4b7c6bf35785ced4
829 addr: 10.42.42.1
830 [resource.py:[LINENR]]
831tst test_suite: Reserving 2 x modem (candidates: 16) [resource.py:[LINENR]]
832tst test_suite: DBG: Picked - _hash: 19c69e45aa090fb511446bd00797690aa82ff52f
833 imsi: '901700000007801'
834 ki: D620F48487B1B782DA55DF6717F08FF9
835 label: m7801
836 path: /wavecom_0
837- _hash: e1a46516a1fb493b2617ab14fc1693a9a45ec254
838 imsi: '901700000007802'
839 ki: 47FDB2D55CE6A10A85ABDAD034A5B7B3
840 label: m7802
841 path: /wavecom_1
842 [resource.py:[LINENR]]
Pau Espin Pedrol600c7992020-11-09 21:17:51 +0100843tst test_suite: DBG: FileWatch: unscheduling watch <ObservedWatch: path=[PATH]/selftest/suite_test/test_work/state_dir, is_recursive=False> [util.py:[LINENR]]
Pau Espin Pedrol30637302020-05-06 21:11:02 +0200844resources(test_suite)={'bts': [{'_hash': 'a59640b8ba6a373552b24a6f9f65cadd2347bace',
845 '_reserved_by': 'test_suite-[ID_NUM]-[ID_NUM]',
846 'addr': '10.42.42.53',
847 'band': 'GSM-1800',
848 'ipa_unit_id': '7',
849 'label': 'sysmoCell 5000',
850 'osmo_trx': {'clock_reference': 'external',
851 'launch_trx': 'False',
852 'trx_ip': '10.42.42.112'},
853 'trx_list': [{'max_power_red': '3', 'nominal_power': '10'},
854 {'max_power_red': '0', 'nominal_power': '12'}],
855 'type': 'osmo-bts-trx'},
856 {'_hash': 'c2feabd082c36a1cdeccb9a5237dfff7dbadb009',
857 '_reserved_by': 'test_suite-[ID_NUM]-[ID_NUM]',
858 'addr': '10.42.42.53',
859 'band': 'GSM-1800',
860 'ipa_unit_id': '7',
861 'label': 'sysmoCell 5000',
862 'osmo_trx': {'clock_reference': 'external',
863 'launch_trx': 'False',
864 'trx_ip': '10.42.42.112'},
865 'trx_list': [{'nominal_power': '10'},
866 {'max_power_red': '1', 'nominal_power': '12'}],
867 'type': 'osmo-bts-trx'},
868 {'_hash': '07d9c8aaa940b674efcbbabdd69f58a6ce4e94f9',
869 '_reserved_by': 'test_suite-[ID_NUM]-[ID_NUM]',
870 'addr': '10.42.42.114',
871 'band': 'GSM-1800',
872 'ipa_unit_id': '1',
873 'label': 'sysmoBTS 1002',
874 'type': 'sysmo'}],
875 'ip_address': [{'_hash': 'cde1debf28f07f94f92c761b4b7c6bf35785ced4',
876 '_reserved_by': 'test_suite-[ID_NUM]-[ID_NUM]',
877 'addr': '10.42.42.1'}],
878 'modem': [{'_hash': '19c69e45aa090fb511446bd00797690aa82ff52f',
879 '_reserved_by': 'test_suite-[ID_NUM]-[ID_NUM]',
880 'imsi': '901700000007801',
881 'ki': 'D620F48487B1B782DA55DF6717F08FF9',
882 'label': 'm7801',
883 'path': '/wavecom_0'},
884 {'_hash': 'e1a46516a1fb493b2617ab14fc1693a9a45ec254',
885 '_reserved_by': 'test_suite-[ID_NUM]-[ID_NUM]',
886 'imsi': '901700000007802',
887 'ki': '47FDB2D55CE6A10A85ABDAD034A5B7B3',
888 'label': 'm7802',
889 'path': '/wavecom_1'}]}
890
891---------------------------------------------------------------------
892trial test_suite
893---------------------------------------------------------------------
894
895----------------------------------------------
896trial test_suite test_suite_params.py
897----------------------------------------------
898tst 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 +0200899tst test_suite_params.py:[LINENR]: SPECIFIC SUITE CONFIG: {'some_suite_global_param': 'heyho', [test_suitetest_suite_params.py:[LINENR]] [test_suite_params.py:[LINENR]]
900tst 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 +0200901tst test_suite_params.py:[LINENR]: 'second_list_parameter': ['23', '45']}, [test_suitetest_suite_params.py:[LINENR]] [test_suite_params.py:[LINENR]]
902tst 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 +0200903tst 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]]
904tst 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 +0200905
906----------------------------------------------
907trial test_suite test_timeout.py
908----------------------------------------------
909tst test_timeout.py:[LINENR]: starting test and waiting to receive Timeout after 1 seconds [test_suitetest_timeout.py:[LINENR]] [test_timeout.py:[LINENR]]
910tst 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())]
911tst 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 +0200912---------------------------------------------------------------------
Pau Espin Pedrolc3cf6822020-06-12 17:54:55 +0200913trial test_suite FAIL
Pau Espin Pedrol30637302020-05-06 21:11:02 +0200914---------------------------------------------------------------------
Pau Espin Pedrolc3cf6822020-06-12 17:54:55 +0200915FAIL: test_suite (fail: 1, pass: 1, skip: 6)
Pau Espin Pedrol30637302020-05-06 21:11:02 +0200916 skip: hello_world.py
917 skip: mo_mt_sms.py
918 skip: mo_sms.py
919 skip: test_error.py
920 skip: test_fail.py
921 skip: test_fail_raise.py
922 pass: test_suite_params.py (N.N sec)
Pau Espin Pedrolc3cf6822020-06-12 17:54:55 +0200923 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 +0200924- test with template overlay
925cnf suiteC: DBG: reading suite.conf [suite.py:[LINENR]]
Pau Espin Pedrola75f85a2020-06-12 17:13:26 +0200926tst suiteC: DBG: {combining='config'} [suite.py:[LINENR]]
927tst {combining_scenarios='config'}: DBG: {definition_conf={}} [suiteC↪{combining_scenarios='config'}] [suite.py:[LINENR]]
Pau Espin Pedrol166dc102020-06-04 18:44:42 +0200928
929---------------------------------------------------------------------
930trial suiteC
931---------------------------------------------------------------------
932tst suiteC: reserving resources in [PATH]/selftest/suite_test/test_work/state_dir ... [suite.py:[LINENR]]
933tst suiteC: DBG: {combining='resources'} [suite.py:[LINENR]]
934tst {combining_scenarios='resources'}: DBG: {definition_conf={ip_address=[{'addr': '10.42.42.2'}]}} [suiteC↪{combining_scenarios='resources'}] [suite.py:[LINENR]]
935tst suiteC: DBG: {combining='modifiers'} [suite.py:[LINENR]]
936tst {combining_scenarios='modifiers'}: DBG: {definition_conf={}} [suiteC↪{combining_scenarios='modifiers'}] [suite.py:[LINENR]]
Pau Espin Pedrol600c7992020-11-09 21:17:51 +0100937tst suiteC: Verifying 1 x ip_address (candidates: 3) [resource.py:[LINENR]]
938tst suiteC: DBG: Picked - _hash: fd103b22c7cf2480d609150e06f4bbd92ac78d8c
939 addr: 10.42.42.2
940 [resource.py:[LINENR]]
941tst suiteC: DBG: FileWatch: scheduling watch for directory [PATH]/selftest/suite_test/test_work/state_dir [util.py:[LINENR]]
Pau Espin Pedrol166dc102020-06-04 18:44:42 +0200942tst suiteC: Reserving 1 x ip_address (candidates: 3) [resource.py:[LINENR]]
943tst suiteC: DBG: Picked - _hash: fd103b22c7cf2480d609150e06f4bbd92ac78d8c
944 addr: 10.42.42.2
945 [resource.py:[LINENR]]
Pau Espin Pedrol600c7992020-11-09 21:17:51 +0100946tst suiteC: DBG: FileWatch: unscheduling watch <ObservedWatch: path=[PATH]/selftest/suite_test/test_work/state_dir, is_recursive=False> [util.py:[LINENR]]
Pau Espin Pedrol166dc102020-06-04 18:44:42 +0200947
948----------------------------------------------
949trial suiteC test_template_overlay.py
950----------------------------------------------
951tst 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 +0200952tst 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 +0200953tst test_template_overlay.py:[LINENR]: sucess: setting non-existing templates dir raised RuntimeError [suiteCtest_template_overlay.py:[LINENR]] [test_template_overlay.py:[LINENR]]
954tst test_template_overlay.py:[LINENR]: [suiteCtest_template_overlay.py:[LINENR]] [test_template_overlay.py:[LINENR]]
Pau Espin Pedrola4bb6d32020-06-11 16:14:47 +0200955tst 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 +0200956--- ReservedResources: DBG: requesting use of ip_address {specifics={}} [resource.py:[LINENR]]
957tst suiteC: Using 1 x ip_address (candidates: 1) [resource.py:[LINENR]]
958tst suiteC: DBG: Picked - _hash: fd103b22c7cf2480d609150e06f4bbd92ac78d8c
959 _reserved_by: suiteC-[ID_NUM]-[ID_NUM]
960 addr: 10.42.42.2
961 [resource.py:[LINENR]]
962--- ReservedResources: DBG: {available=1} [resource.py:[LINENR]]
963--- ReservedResources: DBG: {using={_hash='fd103b22c7cf2480d609150e06f4bbd92ac78d8c', _reserved_by='suiteC-[ID_NUM]-[ID_NUM]', addr='10.42.42.2'}} [resource.py:[LINENR]]
964tst test_template_overlay.py:[LINENR]: - Testing: original template [suiteCtest_template_overlay.py:[LINENR]] [test_template_overlay.py:[LINENR]]
965run 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 +0200966run osmo-stp_10.42.42.2: DBG: STP CONFIG:
967{'stp': {'ip_address': {'_hash': 'fd103b22c7cf2480d609150e06f4bbd92ac78d8c',
968 '_reserved_by': 'suiteC-[ID_NUM]-[ID_NUM]',
969 '_used': True,
970 'addr': '10.42.42.2'}}} [suiteCtest_template_overlay.py:[LINENR]↪test_template_overlay.pyosmo-stp_10.42.42.2] [stp_osmo.py:[LINENR]]
971cnf Templates: DBG: rendering osmo-stp.cfg.tmpl [suiteCtest_template_overlay.py:[LINENR]↪test_template_overlay.pyTemplates] [template.py:[LINENR]]
972run osmo-stp_10.42.42.2: DBG: ! Configuration rendered by osmo-gsm-tester
973log stderr
974 logging filter all 1
975 logging color 1
976 logging print category 1
Neels Hofmeyrb5a3d672020-12-01 00:43:52 +0100977 logging print category-hex 0
978 logging print level 1
979 logging print file basename last
Pau Espin Pedrol166dc102020-06-04 18:44:42 +0200980 logging print extended-timestamp 1
981 logging level set-all debug
982line vty
983 no login
984 bind 10.42.42.2
985!ctrl
986! bind 10.42.42.2
987cs7 instance 0
988 xua rkm routing-key-allocation dynamic-permitted
989 listen m3ua 2905
990 accept-asp-connections dynamic-permitted
991 local-ip 10.42.42.2
992 [suiteCtest_template_overlay.py:[LINENR]↪test_template_overlay.pyosmo-stp_10.42.42.2] [stp_osmo.py:[LINENR]]
993tst test_template_overlay.py:[LINENR]: - Testing:overlay template [suiteCtest_template_overlay.py:[LINENR]] [test_template_overlay.py:[LINENR]]
994tst 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]]
995run 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]]
996run osmo-stp_10.42.42.2: DBG: STP CONFIG:
997{'stp': {'ip_address': {'_hash': 'fd103b22c7cf2480d609150e06f4bbd92ac78d8c',
998 '_reserved_by': 'suiteC-[ID_NUM]-[ID_NUM]',
999 '_used': True,
1000 'addr': '10.42.42.2'}}} [suiteCtest_template_overlay.py:[LINENR]↪test_template_overlay.pyosmo-stp_10.42.42.2] [stp_osmo.py:[LINENR]]
1001cnf Templates: DBG: rendering osmo-stp.cfg.tmpl [suiteCtest_template_overlay.py:[LINENR]↪test_template_overlay.pyTemplates] [template.py:[LINENR]]
1002run osmo-stp_10.42.42.2: DBG: ! Configuration rendered by osmo-gsm-tester
1003log stderr
1004 logging filter all 1
1005 logging color 1
1006 logging print category 1
Neels Hofmeyrb5a3d672020-12-01 00:43:52 +01001007 logging print category-hex 0
1008 logging print level 1
1009 logging print file basename last
Pau Espin Pedrol166dc102020-06-04 18:44:42 +02001010 logging print extended-timestamp 1
1011 logging level set-all debug
1012line vty
1013 no login
1014 bind 10.42.42.2
1015!ctrl
1016! bind 10.42.42.2
1017cs7 instance 0
1018 xua rkm routing-key-allocation dynamic-permitted
1019 listen m3ua 2905
1020 accept-asp-connections dynamic-permitted
1021 local-ip 10.42.42.2
1022 [suiteCtest_template_overlay.py:[LINENR]↪test_template_overlay.pyosmo-stp_10.42.42.2] [stp_osmo.py:[LINENR]]
1023tst 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 +02001024tst 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 +02001025run 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]]
1026run osmo-stp_10.42.42.2: DBG: STP CONFIG:
1027{'stp': {'ip_address': {'_hash': 'fd103b22c7cf2480d609150e06f4bbd92ac78d8c',
1028 '_reserved_by': 'suiteC-[ID_NUM]-[ID_NUM]',
1029 '_used': True,
1030 'addr': '10.42.42.2'}}} [suiteCtest_template_overlay.py:[LINENR]↪test_template_overlay.pyosmo-stp_10.42.42.2] [stp_osmo.py:[LINENR]]
1031cnf Templates: DBG: rendering osmo-stp.cfg.tmpl [suiteCtest_template_overlay.py:[LINENR]↪test_template_overlay.pyTemplates] [template.py:[LINENR]]
1032run osmo-stp_10.42.42.2: DBG: ! Overlay Config file genreated by test
1033line vty
1034 no login
1035 bind 10.42.42.2
1036 [suiteCtest_template_overlay.py:[LINENR]↪test_template_overlay.pyosmo-stp_10.42.42.2] [stp_osmo.py:[LINENR]]
1037tst test_template_overlay.py:[LINENR] Test passed (N.N sec) [suiteCtest_template_overlay.py] [test.py:[LINENR]]
1038---------------------------------------------------------------------
1039trial suiteC PASS
1040---------------------------------------------------------------------
1041PASS: suiteC (pass: 1)
1042 pass: test_template_overlay.py (N.N sec)
Neels Hofmeyr3531a192017-03-28 14:30:28 +02001043
1044- graceful exit.