blob: 3790e1a54c155e8e7bd7946ef395ffed84972c8e [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 Hofmeyrf07114f2020-11-28 10:06:14 +0100148tst test_suite: RESERVED RESOURCES for test_suite:
149bts
150 sysmoCell 5000
151 sysmoCell 5000
152 sysmoBTS 1002
153ip_address
154 10.42.42.1
155modem
156 m7801
157 m7802
Neels Hofmeyr6ccda112017-06-06 19:41:17 +0200158
159----------------------------------------------
160trial test_suite hello_world.py
161----------------------------------------------
Neels Hofmeyrd1bedb12017-05-07 03:02:23 +0200162tst hello_world.py:[LINENR]: hello world [test_suitehello_world.py:[LINENR]]
Neels Hofmeyr081e89f2020-12-04 17:25:23 +0100163tst hello_world.py:[LINENR]: I am 'test_suite' / 'hello_world.py' [test_suitehello_world.py:[LINENR]]
Neels Hofmeyr3b493f32020-12-01 03:51:27 +0100164tst hello_world.py:[LINENR]: one
165two
166three [test_suitehello_world.py:[LINENR]]
Neels Hofmeyr6ccda112017-06-06 19:41:17 +0200167tst hello_world.py:[LINENR] Test passed (N.N sec) [test_suitehello_world.py]
168---------------------------------------------------------------------
169trial test_suite PASS
170---------------------------------------------------------------------
Pau Espin Pedrolc3cf6822020-06-12 17:54:55 +0200171PASS: test_suite (pass: 1, skip: 7)
Neels Hofmeyr6ccda112017-06-06 19:41:17 +0200172 pass: hello_world.py (N.N sec)
173 skip: mo_mt_sms.py
174 skip: mo_sms.py
175 skip: test_error.py
176 skip: test_fail.py
177 skip: test_fail_raise.py
Pau Espin Pedrol30637302020-05-06 21:11:02 +0200178 skip: test_suite_params.py
Pau Espin Pedrolc3cf6822020-06-12 17:54:55 +0200179 skip: test_timeout.py
Neels Hofmeyr3531a192017-03-28 14:30:28 +0200180
181- a test with an error
Neels Hofmeyr6ccda112017-06-06 19:41:17 +0200182
183---------------------------------------------------------------------
184trial test_suite
185---------------------------------------------------------------------
186
187----------------------------------------------
188trial test_suite test_error.py
189----------------------------------------------
Neels Hofmeyr081e89f2020-12-04 17:25:23 +0100190tst test_error.py:[LINENR]: I am 'test_suite' / 'test_error.py' [test_suitetest_error.py:[LINENR]] [test_error.py:[LINENR]]
Neels Hofmeyr1a7a3f02017-06-10 01:18:27 +0200191tst 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 +0100192tst test_error.py:[LINENR]: Test FAILED (N.N sec) [test_suitetest_error.py:[LINENR]] [test.py:[LINENR]]
Neels Hofmeyr6ccda112017-06-06 19:41:17 +0200193---------------------------------------------------------------------
194trial test_suite FAIL
195---------------------------------------------------------------------
Pau Espin Pedrolc3cf6822020-06-12 17:54:55 +0200196FAIL: test_suite (fail: 1, skip: 7)
Neels Hofmeyr6ccda112017-06-06 19:41:17 +0200197 skip: hello_world.py (N.N sec)
198 skip: mo_mt_sms.py
199 skip: mo_sms.py
Neels Hofmeyr1a7a3f02017-06-10 01:18:27 +0200200 FAIL: test_error.py (N.N sec) AssertionError: test_error.py:[LINENR]: assert False
Neels Hofmeyr6ccda112017-06-06 19:41:17 +0200201 skip: test_fail.py
202 skip: test_fail_raise.py
Pau Espin Pedrol30637302020-05-06 21:11:02 +0200203 skip: test_suite_params.py
Pau Espin Pedrolc3cf6822020-06-12 17:54:55 +0200204 skip: test_timeout.py
Pau Espin Pedrol0ffb4142017-05-15 18:24:35 +0200205
206- a test with a failure
Neels Hofmeyr6ccda112017-06-06 19:41:17 +0200207
208---------------------------------------------------------------------
209trial test_suite
210---------------------------------------------------------------------
211
212----------------------------------------------
213trial test_suite test_fail.py
214----------------------------------------------
Neels Hofmeyr081e89f2020-12-04 17:25:23 +0100215tst test_fail.py:[LINENR]: I am 'test_suite' / 'test_fail.py' [test_suitetest_fail.py:[LINENR]] [test_fail.py:[LINENR]]
Neels Hofmeyr1a7a3f02017-06-10 01:18:27 +0200216tst 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 +0100217tst test_fail.py:[LINENR]: Test FAILED (N.N sec) [test_suitetest_fail.py:[LINENR]] [test.py:[LINENR]]
Neels Hofmeyr6ccda112017-06-06 19:41:17 +0200218---------------------------------------------------------------------
219trial test_suite FAIL
220---------------------------------------------------------------------
Pau Espin Pedrolc3cf6822020-06-12 17:54:55 +0200221FAIL: test_suite (fail: 1, skip: 7)
Neels Hofmeyr6ccda112017-06-06 19:41:17 +0200222 skip: hello_world.py (N.N sec)
223 skip: mo_mt_sms.py
224 skip: mo_sms.py
225 skip: test_error.py (N.N sec)
226 FAIL: test_fail.py (N.N sec) EpicFail: This failure is expected
227 skip: test_fail_raise.py
Pau Espin Pedrol30637302020-05-06 21:11:02 +0200228 skip: test_suite_params.py
Pau Espin Pedrolc3cf6822020-06-12 17:54:55 +0200229 skip: test_timeout.py
Pau Espin Pedrol0ffb4142017-05-15 18:24:35 +0200230
231- a test with a raised failure
Neels Hofmeyr6ccda112017-06-06 19:41:17 +0200232
233---------------------------------------------------------------------
234trial test_suite
235---------------------------------------------------------------------
236
237----------------------------------------------
238trial test_suite test_fail_raise.py
239----------------------------------------------
Neels Hofmeyr1a7a3f02017-06-10 01:18:27 +0200240tst 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 +0100241tst 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 +0200242---------------------------------------------------------------------
243trial test_suite FAIL
244---------------------------------------------------------------------
Pau Espin Pedrolc3cf6822020-06-12 17:54:55 +0200245FAIL: test_suite (fail: 1, skip: 7)
Neels Hofmeyr6ccda112017-06-06 19:41:17 +0200246 skip: hello_world.py (N.N sec)
247 skip: mo_mt_sms.py
248 skip: mo_sms.py
249 skip: test_error.py (N.N sec)
250 skip: test_fail.py (N.N sec)
Neels Hofmeyr1a7a3f02017-06-10 01:18:27 +0200251 FAIL: test_fail_raise.py (N.N sec) ExpectedFail: This failure is expected
Pau Espin Pedrol30637302020-05-06 21:11:02 +0200252 skip: test_suite_params.py
Pau Espin Pedrolc3cf6822020-06-12 17:54:55 +0200253 skip: test_timeout.py
Pau Espin Pedrol0b302792017-09-10 16:33:10 +0200254- test with half empty scenario
Pau Espin Pedrola75f85a2020-06-12 17:13:26 +0200255tst test_suite: DBG: {combining='config'} [suite.py:[LINENR]]
Pau Espin Pedrolc3cf6822020-06-12 17:54:55 +0200256tst {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 +0200257tst {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 +0200258
259---------------------------------------------------------------------
260trial test_suite
261---------------------------------------------------------------------
262tst test_suite: reserving resources in [PATH]/selftest/suite_test/test_work/state_dir ... [suite.py:[LINENR]]
263tst test_suite: DBG: {combining='resources'} [suite.py:[LINENR]]
Pau Espin Pedrolcbc72422017-09-14 15:55:49 +0200264tst {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 +0200265tst {combining_scenarios='resources', scenario='foo'}: [RESOURCE_DICT]
Pau Espin Pedrolaab56922018-08-21 14:58:29 +0200266tst test_suite: DBG: {combining='modifiers'} [suite.py:[LINENR]]
267tst {combining_scenarios='modifiers'}: DBG: {definition_conf={}} [test_suite↪{combining_scenarios='modifiers'}] [suite.py:[LINENR]]
268tst {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 +0100269tst test_suite: Verifying 3 x bts (candidates: 6) [resource.py:[LINENR]]
270tst test_suite: DBG: Picked - _hash: a59640b8ba6a373552b24a6f9f65cadd2347bace
271 addr: 10.42.42.53
272 band: GSM-1800
273 ipa_unit_id: '7'
274 label: sysmoCell 5000
275 osmo_trx:
276 clock_reference: external
277 launch_trx: 'False'
278 trx_ip: 10.42.42.112
279 trx_list:
280 - max_power_red: '3'
281 nominal_power: '10'
282 - max_power_red: '0'
283 nominal_power: '12'
284 type: osmo-bts-trx
285- _hash: c2feabd082c36a1cdeccb9a5237dfff7dbadb009
286 addr: 10.42.42.53
287 band: GSM-1800
288 ipa_unit_id: '7'
289 label: sysmoCell 5000
290 osmo_trx:
291 clock_reference: external
292 launch_trx: 'False'
293 trx_ip: 10.42.42.112
294 trx_list:
295 - nominal_power: '10'
296 - max_power_red: '1'
297 nominal_power: '12'
298 type: osmo-bts-trx
299- _hash: 07d9c8aaa940b674efcbbabdd69f58a6ce4e94f9
300 addr: 10.42.42.114
301 band: GSM-1800
302 ipa_unit_id: '1'
303 label: sysmoBTS 1002
304 type: sysmo
305 [resource.py:[LINENR]]
306tst test_suite: Verifying 1 x ip_address (candidates: 3) [resource.py:[LINENR]]
307tst test_suite: DBG: Picked - _hash: cde1debf28f07f94f92c761b4b7c6bf35785ced4
308 addr: 10.42.42.1
309 [resource.py:[LINENR]]
310tst test_suite: Verifying 2 x modem (candidates: 16) [resource.py:[LINENR]]
311tst test_suite: DBG: Picked - _hash: 19c69e45aa090fb511446bd00797690aa82ff52f
312 imsi: '901700000007801'
313 ki: D620F48487B1B782DA55DF6717F08FF9
314 label: m7801
315 path: /wavecom_0
316- _hash: e1a46516a1fb493b2617ab14fc1693a9a45ec254
317 imsi: '901700000007802'
318 ki: 47FDB2D55CE6A10A85ABDAD034A5B7B3
319 label: m7802
320 path: /wavecom_1
321 [resource.py:[LINENR]]
322tst 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 +0200323tst test_suite: Reserving 3 x bts (candidates: 6) [resource.py:[LINENR]]
Pau Espin Pedrol0d455042018-08-27 17:07:41 +0200324tst test_suite: DBG: Picked - _hash: a59640b8ba6a373552b24a6f9f65cadd2347bace
Pau Espin Pedrolcbc72422017-09-14 15:55:49 +0200325 addr: 10.42.42.53
326 band: GSM-1800
327 ipa_unit_id: '7'
328 label: sysmoCell 5000
Pau Espin Pedrol0d455042018-08-27 17:07:41 +0200329 osmo_trx:
330 clock_reference: external
331 launch_trx: 'False'
332 trx_ip: 10.42.42.112
Pau Espin Pedrolcbc72422017-09-14 15:55:49 +0200333 trx_list:
334 - max_power_red: '3'
335 nominal_power: '10'
336 - max_power_red: '0'
337 nominal_power: '12'
Pau Espin Pedrolcbc72422017-09-14 15:55:49 +0200338 type: osmo-bts-trx
Pau Espin Pedrol0d455042018-08-27 17:07:41 +0200339- _hash: c2feabd082c36a1cdeccb9a5237dfff7dbadb009
Pau Espin Pedrolcbc72422017-09-14 15:55:49 +0200340 addr: 10.42.42.53
341 band: GSM-1800
342 ipa_unit_id: '7'
343 label: sysmoCell 5000
Pau Espin Pedrol0d455042018-08-27 17:07:41 +0200344 osmo_trx:
345 clock_reference: external
346 launch_trx: 'False'
347 trx_ip: 10.42.42.112
Pau Espin Pedrolcbc72422017-09-14 15:55:49 +0200348 trx_list:
349 - nominal_power: '10'
350 - max_power_red: '1'
351 nominal_power: '12'
Pau Espin Pedrolcbc72422017-09-14 15:55:49 +0200352 type: osmo-bts-trx
353- _hash: 07d9c8aaa940b674efcbbabdd69f58a6ce4e94f9
Pau Espin Pedrol0b302792017-09-10 16:33:10 +0200354 addr: 10.42.42.114
355 band: GSM-1800
356 ipa_unit_id: '1'
357 label: sysmoBTS 1002
358 type: sysmo
Pau Espin Pedrol0b302792017-09-10 16:33:10 +0200359 [resource.py:[LINENR]]
360tst test_suite: Reserving 1 x ip_address (candidates: 3) [resource.py:[LINENR]]
361tst test_suite: DBG: Picked - _hash: cde1debf28f07f94f92c761b4b7c6bf35785ced4
362 addr: 10.42.42.1
363 [resource.py:[LINENR]]
364tst test_suite: Reserving 2 x modem (candidates: 16) [resource.py:[LINENR]]
365tst test_suite: DBG: Picked - _hash: 19c69e45aa090fb511446bd00797690aa82ff52f
366 imsi: '901700000007801'
367 ki: D620F48487B1B782DA55DF6717F08FF9
368 label: m7801
369 path: /wavecom_0
370- _hash: e1a46516a1fb493b2617ab14fc1693a9a45ec254
371 imsi: '901700000007802'
372 ki: 47FDB2D55CE6A10A85ABDAD034A5B7B3
373 label: m7802
374 path: /wavecom_1
375 [resource.py:[LINENR]]
Pau Espin Pedrol600c7992020-11-09 21:17:51 +0100376tst test_suite: DBG: FileWatch: unscheduling watch <ObservedWatch: path=[PATH]/selftest/suite_test/test_work/state_dir, is_recursive=False> [util.py:[LINENR]]
Neels Hofmeyrf07114f2020-11-28 10:06:14 +0100377tst test_suite: RESERVED RESOURCES for test_suite:
378bts
379 sysmoCell 5000
380 sysmoCell 5000
381 sysmoBTS 1002
382ip_address
383 10.42.42.1
384modem
385 m7801
386 m7802 [suite.py:[LINENR]]
Pau Espin Pedrol0b302792017-09-10 16:33:10 +0200387
388----------------------------------------------
389trial test_suite hello_world.py
390----------------------------------------------
391tst hello_world.py:[LINENR]: hello world [test_suitehello_world.py:[LINENR]] [hello_world.py:[LINENR]]
Neels Hofmeyr081e89f2020-12-04 17:25:23 +0100392tst hello_world.py:[LINENR]: I am 'test_suite' / 'hello_world.py' [test_suitehello_world.py:[LINENR]] [hello_world.py:[LINENR]]
Neels Hofmeyr3b493f32020-12-01 03:51:27 +0100393tst hello_world.py:[LINENR]: one
394two
395three [test_suitehello_world.py:[LINENR]] [hello_world.py:[LINENR]]
Pau Espin Pedrolfd5de3d2017-11-09 14:26:35 +0100396tst hello_world.py:[LINENR] Test passed (N.N sec) [test_suitehello_world.py] [test.py:[LINENR]]
Pau Espin Pedrol0b302792017-09-10 16:33:10 +0200397---------------------------------------------------------------------
398trial test_suite PASS
399---------------------------------------------------------------------
Pau Espin Pedrolc3cf6822020-06-12 17:54:55 +0200400PASS: test_suite (pass: 1, skip: 7)
Pau Espin Pedrol0b302792017-09-10 16:33:10 +0200401 pass: hello_world.py (N.N sec)
402 skip: mo_mt_sms.py
403 skip: mo_sms.py
404 skip: test_error.py
405 skip: test_fail.py
406 skip: test_fail_raise.py
Pau Espin Pedrol30637302020-05-06 21:11:02 +0200407 skip: test_suite_params.py
Pau Espin Pedrolc3cf6822020-06-12 17:54:55 +0200408 skip: test_timeout.py
Pau Espin Pedrol0b302792017-09-10 16:33:10 +0200409- test with scenario
Pau Espin Pedrola75f85a2020-06-12 17:13:26 +0200410tst test_suite: DBG: {combining='config'} [suite.py:[LINENR]]
Pau Espin Pedrolc3cf6822020-06-12 17:54:55 +0200411tst {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 +0200412tst {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 +0200413
414---------------------------------------------------------------------
415trial test_suite
416---------------------------------------------------------------------
417tst test_suite: reserving resources in [PATH]/selftest/suite_test/test_work/state_dir ... [suite.py:[LINENR]]
418tst test_suite: DBG: {combining='resources'} [suite.py:[LINENR]]
Pau Espin Pedrolcbc72422017-09-14 15:55:49 +0200419tst {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 +0200420tst {combining_scenarios='resources', scenario='foo'}: [RESOURCE_DICT]
Pau Espin Pedrolaab56922018-08-21 14:58:29 +0200421tst test_suite: DBG: {combining='modifiers'} [suite.py:[LINENR]]
422tst {combining_scenarios='modifiers'}: DBG: {definition_conf={}} [test_suite↪{combining_scenarios='modifiers'}] [suite.py:[LINENR]]
423tst {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 +0100424tst test_suite: Verifying 3 x bts (candidates: 6) [resource.py:[LINENR]]
425tst test_suite: DBG: Picked - _hash: a59640b8ba6a373552b24a6f9f65cadd2347bace
426 addr: 10.42.42.53
427 band: GSM-1800
428 ipa_unit_id: '7'
429 label: sysmoCell 5000
430 osmo_trx:
431 clock_reference: external
432 launch_trx: 'False'
433 trx_ip: 10.42.42.112
434 trx_list:
435 - max_power_red: '3'
436 nominal_power: '10'
437 - max_power_red: '0'
438 nominal_power: '12'
439 type: osmo-bts-trx
440- _hash: c2feabd082c36a1cdeccb9a5237dfff7dbadb009
441 addr: 10.42.42.53
442 band: GSM-1800
443 ipa_unit_id: '7'
444 label: sysmoCell 5000
445 osmo_trx:
446 clock_reference: external
447 launch_trx: 'False'
448 trx_ip: 10.42.42.112
449 trx_list:
450 - nominal_power: '10'
451 - max_power_red: '1'
452 nominal_power: '12'
453 type: osmo-bts-trx
454- _hash: 07d9c8aaa940b674efcbbabdd69f58a6ce4e94f9
455 addr: 10.42.42.114
456 band: GSM-1800
457 ipa_unit_id: '1'
458 label: sysmoBTS 1002
459 type: sysmo
460 [resource.py:[LINENR]]
461tst test_suite: Verifying 1 x ip_address (candidates: 3) [resource.py:[LINENR]]
462tst test_suite: DBG: Picked - _hash: cde1debf28f07f94f92c761b4b7c6bf35785ced4
463 addr: 10.42.42.1
464 [resource.py:[LINENR]]
465tst test_suite: Verifying 2 x modem (candidates: 16) [resource.py:[LINENR]]
466tst test_suite: DBG: Picked - _hash: 19c69e45aa090fb511446bd00797690aa82ff52f
467 imsi: '901700000007801'
468 ki: D620F48487B1B782DA55DF6717F08FF9
469 label: m7801
470 path: /wavecom_0
471- _hash: e1a46516a1fb493b2617ab14fc1693a9a45ec254
472 imsi: '901700000007802'
473 ki: 47FDB2D55CE6A10A85ABDAD034A5B7B3
474 label: m7802
475 path: /wavecom_1
476 [resource.py:[LINENR]]
477tst 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 +0200478tst test_suite: Reserving 3 x bts (candidates: 6) [resource.py:[LINENR]]
Pau Espin Pedrol0d455042018-08-27 17:07:41 +0200479tst test_suite: DBG: Picked - _hash: a59640b8ba6a373552b24a6f9f65cadd2347bace
Pau Espin Pedrol0b302792017-09-10 16:33:10 +0200480 addr: 10.42.42.53
481 band: GSM-1800
482 ipa_unit_id: '7'
483 label: sysmoCell 5000
Pau Espin Pedrol0d455042018-08-27 17:07:41 +0200484 osmo_trx:
485 clock_reference: external
486 launch_trx: 'False'
487 trx_ip: 10.42.42.112
Pau Espin Pedrol0b302792017-09-10 16:33:10 +0200488 trx_list:
Pau Espin Pedrol58475512017-09-14 15:33:15 +0200489 - max_power_red: '3'
490 nominal_power: '10'
491 - max_power_red: '0'
492 nominal_power: '12'
Pau Espin Pedrol0b302792017-09-10 16:33:10 +0200493 type: osmo-bts-trx
Pau Espin Pedrol0d455042018-08-27 17:07:41 +0200494- _hash: c2feabd082c36a1cdeccb9a5237dfff7dbadb009
Pau Espin Pedrolcbc72422017-09-14 15:55:49 +0200495 addr: 10.42.42.53
496 band: GSM-1800
497 ipa_unit_id: '7'
498 label: sysmoCell 5000
Pau Espin Pedrol0d455042018-08-27 17:07:41 +0200499 osmo_trx:
500 clock_reference: external
501 launch_trx: 'False'
502 trx_ip: 10.42.42.112
Pau Espin Pedrolcbc72422017-09-14 15:55:49 +0200503 trx_list:
504 - nominal_power: '10'
505 - max_power_red: '1'
506 nominal_power: '12'
Pau Espin Pedrolcbc72422017-09-14 15:55:49 +0200507 type: osmo-bts-trx
Pau Espin Pedrol0b302792017-09-10 16:33:10 +0200508- _hash: 07d9c8aaa940b674efcbbabdd69f58a6ce4e94f9
509 addr: 10.42.42.114
510 band: GSM-1800
511 ipa_unit_id: '1'
512 label: sysmoBTS 1002
513 type: sysmo
514 [resource.py:[LINENR]]
515tst test_suite: Reserving 1 x ip_address (candidates: 3) [resource.py:[LINENR]]
516tst test_suite: DBG: Picked - _hash: cde1debf28f07f94f92c761b4b7c6bf35785ced4
517 addr: 10.42.42.1
518 [resource.py:[LINENR]]
519tst test_suite: Reserving 2 x modem (candidates: 16) [resource.py:[LINENR]]
520tst test_suite: DBG: Picked - _hash: 19c69e45aa090fb511446bd00797690aa82ff52f
521 imsi: '901700000007801'
522 ki: D620F48487B1B782DA55DF6717F08FF9
523 label: m7801
524 path: /wavecom_0
525- _hash: e1a46516a1fb493b2617ab14fc1693a9a45ec254
526 imsi: '901700000007802'
527 ki: 47FDB2D55CE6A10A85ABDAD034A5B7B3
528 label: m7802
529 path: /wavecom_1
530 [resource.py:[LINENR]]
Pau Espin Pedrol600c7992020-11-09 21:17:51 +0100531tst test_suite: DBG: FileWatch: unscheduling watch <ObservedWatch: path=[PATH]/selftest/suite_test/test_work/state_dir, is_recursive=False> [util.py:[LINENR]]
Neels Hofmeyrf07114f2020-11-28 10:06:14 +0100532tst test_suite: RESERVED RESOURCES for test_suite:
533bts
534 sysmoCell 5000
535 sysmoCell 5000
536 sysmoBTS 1002
537ip_address
538 10.42.42.1
539modem
540 m7801
541 m7802 [suite.py:[LINENR]]
Pau Espin Pedrol0b302792017-09-10 16:33:10 +0200542
543----------------------------------------------
544trial test_suite hello_world.py
545----------------------------------------------
546tst hello_world.py:[LINENR]: hello world [test_suitehello_world.py:[LINENR]] [hello_world.py:[LINENR]]
Neels Hofmeyr081e89f2020-12-04 17:25:23 +0100547tst hello_world.py:[LINENR]: I am 'test_suite' / 'hello_world.py' [test_suitehello_world.py:[LINENR]] [hello_world.py:[LINENR]]
Neels Hofmeyr3b493f32020-12-01 03:51:27 +0100548tst hello_world.py:[LINENR]: one
549two
550three [test_suitehello_world.py:[LINENR]] [hello_world.py:[LINENR]]
Pau Espin Pedrolfd5de3d2017-11-09 14:26:35 +0100551tst hello_world.py:[LINENR] Test passed (N.N sec) [test_suitehello_world.py] [test.py:[LINENR]]
Pau Espin Pedrol0b302792017-09-10 16:33:10 +0200552---------------------------------------------------------------------
553trial test_suite PASS
554---------------------------------------------------------------------
Pau Espin Pedrolc3cf6822020-06-12 17:54:55 +0200555PASS: test_suite (pass: 1, skip: 7)
Pau Espin Pedrol0b302792017-09-10 16:33:10 +0200556 pass: hello_world.py (N.N sec)
557 skip: mo_mt_sms.py
558 skip: mo_sms.py
559 skip: test_error.py
560 skip: test_fail.py
561 skip: test_fail_raise.py
Pau Espin Pedrol30637302020-05-06 21:11:02 +0200562 skip: test_suite_params.py
Pau Espin Pedrolc3cf6822020-06-12 17:54:55 +0200563 skip: test_timeout.py
Pau Espin Pedrolaab56922018-08-21 14:58:29 +0200564- test with scenario and modifiers
Pau Espin Pedrola75f85a2020-06-12 17:13:26 +0200565tst test_suite: DBG: {combining='config'} [suite.py:[LINENR]]
Pau Espin Pedrolc3cf6822020-06-12 17:54:55 +0200566tst {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 +0200567tst {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 +0200568tst test_suite: reserving resources in [PATH]/selftest/suite_test/test_work/state_dir ... [suite.py:[LINENR]]
569tst test_suite: DBG: {combining='resources'} [suite.py:[LINENR]]
570tst {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]]
571tst {combining_scenarios='resources', scenario='foo'}: [RESOURCE_DICT]
572tst test_suite: DBG: {combining='modifiers'} [suite.py:[LINENR]]
573tst {combining_scenarios='modifiers'}: DBG: {definition_conf={}} [test_suite↪{combining_scenarios='modifiers'}] [suite.py:[LINENR]]
574tst {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 +0100575tst test_suite: Verifying 3 x bts (candidates: 6) [resource.py:[LINENR]]
576tst test_suite: DBG: Picked - _hash: a59640b8ba6a373552b24a6f9f65cadd2347bace
577 addr: 10.42.42.53
578 band: GSM-1800
579 ipa_unit_id: '7'
580 label: sysmoCell 5000
581 osmo_trx:
582 clock_reference: external
583 launch_trx: 'False'
584 trx_ip: 10.42.42.112
585 trx_list:
586 - max_power_red: '3'
587 nominal_power: '10'
588 - max_power_red: '0'
589 nominal_power: '12'
590 type: osmo-bts-trx
591- _hash: c2feabd082c36a1cdeccb9a5237dfff7dbadb009
592 addr: 10.42.42.53
593 band: GSM-1800
594 ipa_unit_id: '7'
595 label: sysmoCell 5000
596 osmo_trx:
597 clock_reference: external
598 launch_trx: 'False'
599 trx_ip: 10.42.42.112
600 trx_list:
601 - nominal_power: '10'
602 - max_power_red: '1'
603 nominal_power: '12'
604 type: osmo-bts-trx
605- _hash: 07d9c8aaa940b674efcbbabdd69f58a6ce4e94f9
606 addr: 10.42.42.114
607 band: GSM-1800
608 ipa_unit_id: '1'
609 label: sysmoBTS 1002
610 type: sysmo
611 [resource.py:[LINENR]]
612tst test_suite: Verifying 1 x ip_address (candidates: 3) [resource.py:[LINENR]]
613tst test_suite: DBG: Picked - _hash: cde1debf28f07f94f92c761b4b7c6bf35785ced4
614 addr: 10.42.42.1
615 [resource.py:[LINENR]]
616tst test_suite: Verifying 2 x modem (candidates: 16) [resource.py:[LINENR]]
617tst test_suite: DBG: Picked - _hash: 19c69e45aa090fb511446bd00797690aa82ff52f
618 imsi: '901700000007801'
619 ki: D620F48487B1B782DA55DF6717F08FF9
620 label: m7801
621 path: /wavecom_0
622- _hash: e1a46516a1fb493b2617ab14fc1693a9a45ec254
623 imsi: '901700000007802'
624 ki: 47FDB2D55CE6A10A85ABDAD034A5B7B3
625 label: m7802
626 path: /wavecom_1
627 [resource.py:[LINENR]]
628tst 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 +0200629tst test_suite: Reserving 3 x bts (candidates: 6) [resource.py:[LINENR]]
Pau Espin Pedrol0d455042018-08-27 17:07:41 +0200630tst test_suite: DBG: Picked - _hash: a59640b8ba6a373552b24a6f9f65cadd2347bace
Pau Espin Pedrolaab56922018-08-21 14:58:29 +0200631 addr: 10.42.42.53
632 band: GSM-1800
633 ipa_unit_id: '7'
634 label: sysmoCell 5000
Pau Espin Pedrol0d455042018-08-27 17:07:41 +0200635 osmo_trx:
636 clock_reference: external
637 launch_trx: 'False'
638 trx_ip: 10.42.42.112
Pau Espin Pedrolaab56922018-08-21 14:58:29 +0200639 trx_list:
640 - max_power_red: '3'
641 nominal_power: '10'
642 - max_power_red: '0'
643 nominal_power: '12'
Pau Espin Pedrolaab56922018-08-21 14:58:29 +0200644 type: osmo-bts-trx
Pau Espin Pedrol0d455042018-08-27 17:07:41 +0200645- _hash: c2feabd082c36a1cdeccb9a5237dfff7dbadb009
Pau Espin Pedrolaab56922018-08-21 14:58:29 +0200646 addr: 10.42.42.53
647 band: GSM-1800
648 ipa_unit_id: '7'
649 label: sysmoCell 5000
Pau Espin Pedrol0d455042018-08-27 17:07:41 +0200650 osmo_trx:
651 clock_reference: external
652 launch_trx: 'False'
653 trx_ip: 10.42.42.112
Pau Espin Pedrolaab56922018-08-21 14:58:29 +0200654 trx_list:
655 - nominal_power: '10'
656 - max_power_red: '1'
657 nominal_power: '12'
Pau Espin Pedrolaab56922018-08-21 14:58:29 +0200658 type: osmo-bts-trx
659- _hash: 07d9c8aaa940b674efcbbabdd69f58a6ce4e94f9
660 addr: 10.42.42.114
661 band: GSM-1800
662 ipa_unit_id: '1'
663 label: sysmoBTS 1002
664 type: sysmo
665 [resource.py:[LINENR]]
666tst test_suite: Reserving 1 x ip_address (candidates: 3) [resource.py:[LINENR]]
667tst test_suite: DBG: Picked - _hash: cde1debf28f07f94f92c761b4b7c6bf35785ced4
668 addr: 10.42.42.1
669 [resource.py:[LINENR]]
670tst test_suite: Reserving 2 x modem (candidates: 16) [resource.py:[LINENR]]
671tst test_suite: DBG: Picked - _hash: 19c69e45aa090fb511446bd00797690aa82ff52f
672 imsi: '901700000007801'
673 ki: D620F48487B1B782DA55DF6717F08FF9
674 label: m7801
675 path: /wavecom_0
676- _hash: e1a46516a1fb493b2617ab14fc1693a9a45ec254
677 imsi: '901700000007802'
678 ki: 47FDB2D55CE6A10A85ABDAD034A5B7B3
679 label: m7802
680 path: /wavecom_1
681 [resource.py:[LINENR]]
Pau Espin Pedrol600c7992020-11-09 21:17:51 +0100682tst test_suite: DBG: FileWatch: unscheduling watch <ObservedWatch: path=[PATH]/selftest/suite_test/test_work/state_dir, is_recursive=False> [util.py:[LINENR]]
Neels Hofmeyrf07114f2020-11-28 10:06:14 +0100683tst test_suite: RESERVED RESOURCES for test_suite:
684bts
685 sysmoCell 5000
686 sysmoCell 5000
687 sysmoBTS 1002
688ip_address
689 10.42.42.1
690modem
691 m7801
692 m7802 [suite.py:[LINENR]]
Pau Espin Pedrol0d455042018-08-27 17:07:41 +0200693resources(test_suite)={'bts': [{'_hash': 'a59640b8ba6a373552b24a6f9f65cadd2347bace',
Pau Espin Pedrolaab56922018-08-21 14:58:29 +0200694 '_reserved_by': 'test_suite-[ID_NUM]-[ID_NUM]',
695 'addr': '10.42.42.53',
696 'band': 'GSM-1800',
697 'ipa_unit_id': '7',
698 'label': 'sysmoCell 5000',
Pau Espin Pedrol0d455042018-08-27 17:07:41 +0200699 'osmo_trx': {'clock_reference': 'external',
700 'launch_trx': 'False',
701 'trx_ip': '10.42.42.112'},
Pau Espin Pedrolaab56922018-08-21 14:58:29 +0200702 'trx_list': [{'max_power_red': '3', 'nominal_power': '20'},
703 {'max_power_red': '0', 'nominal_power': '20'}],
Pau Espin Pedrolaab56922018-08-21 14:58:29 +0200704 'type': 'osmo-bts-trx'},
Pau Espin Pedrol0d455042018-08-27 17:07:41 +0200705 {'_hash': 'c2feabd082c36a1cdeccb9a5237dfff7dbadb009',
Pau Espin Pedrolaab56922018-08-21 14:58:29 +0200706 '_reserved_by': 'test_suite-[ID_NUM]-[ID_NUM]',
707 'addr': '10.42.42.53',
708 'band': 'GSM-1800',
709 'ipa_unit_id': '7',
710 'label': 'sysmoCell 5000',
Pau Espin Pedrol0d455042018-08-27 17:07:41 +0200711 'osmo_trx': {'clock_reference': 'external',
712 'launch_trx': 'False',
713 'trx_ip': '10.42.42.112'},
Pau Espin Pedrolaab56922018-08-21 14:58:29 +0200714 'trx_list': [{'nominal_power': '20'},
715 {'max_power_red': '1', 'nominal_power': '20'}],
Pau Espin Pedrolaab56922018-08-21 14:58:29 +0200716 'type': 'osmo-bts-trx'},
717 {'_hash': '07d9c8aaa940b674efcbbabdd69f58a6ce4e94f9',
718 '_reserved_by': 'test_suite-[ID_NUM]-[ID_NUM]',
719 'addr': '10.42.42.114',
720 'band': 'GSM-1800',
721 'ipa_unit_id': '1',
722 'label': 'sysmoBTS 1002',
723 'type': 'sysmo'}],
724 'ip_address': [{'_hash': 'cde1debf28f07f94f92c761b4b7c6bf35785ced4',
725 '_reserved_by': 'test_suite-[ID_NUM]-[ID_NUM]',
726 'addr': '10.42.42.1'}],
727 'modem': [{'_hash': '19c69e45aa090fb511446bd00797690aa82ff52f',
728 '_reserved_by': 'test_suite-[ID_NUM]-[ID_NUM]',
729 'imsi': '901700000007801',
730 'ki': 'D620F48487B1B782DA55DF6717F08FF9',
731 'label': 'm7801',
732 'path': '/wavecom_0'},
733 {'_hash': 'e1a46516a1fb493b2617ab14fc1693a9a45ec254',
734 '_reserved_by': 'test_suite-[ID_NUM]-[ID_NUM]',
735 'imsi': '901700000007802',
736 'ki': '47FDB2D55CE6A10A85ABDAD034A5B7B3',
737 'label': 'm7802',
738 'path': '/wavecom_1'}]}
739
740---------------------------------------------------------------------
741trial test_suite
742---------------------------------------------------------------------
743
744----------------------------------------------
745trial test_suite hello_world.py
746----------------------------------------------
747tst hello_world.py:[LINENR]: hello world [test_suitehello_world.py:[LINENR]] [hello_world.py:[LINENR]]
Neels Hofmeyr081e89f2020-12-04 17:25:23 +0100748tst hello_world.py:[LINENR]: I am 'test_suite' / 'hello_world.py' [test_suitehello_world.py:[LINENR]] [hello_world.py:[LINENR]]
Neels Hofmeyr3b493f32020-12-01 03:51:27 +0100749tst hello_world.py:[LINENR]: one
750two
751three [test_suitehello_world.py:[LINENR]] [hello_world.py:[LINENR]]
Pau Espin Pedrolaab56922018-08-21 14:58:29 +0200752tst hello_world.py:[LINENR] Test passed (N.N sec) [test_suitehello_world.py] [test.py:[LINENR]]
753---------------------------------------------------------------------
754trial test_suite PASS
755---------------------------------------------------------------------
Pau Espin Pedrolc3cf6822020-06-12 17:54:55 +0200756PASS: test_suite (pass: 1, skip: 7)
Pau Espin Pedrolaab56922018-08-21 14:58:29 +0200757 pass: hello_world.py (N.N sec)
758 skip: mo_mt_sms.py
759 skip: mo_sms.py
760 skip: test_error.py
761 skip: test_fail.py
762 skip: test_fail_raise.py
Pau Espin Pedrol30637302020-05-06 21:11:02 +0200763 skip: test_suite_params.py
Pau Espin Pedrolc3cf6822020-06-12 17:54:55 +0200764 skip: test_timeout.py
Pau Espin Pedrol30637302020-05-06 21:11:02 +0200765- test with suite-specific config
Pau Espin Pedrola75f85a2020-06-12 17:13:26 +0200766tst test_suite: DBG: {combining='config'} [suite.py:[LINENR]]
Pau Espin Pedrolc3cf6822020-06-12 17:54:55 +0200767tst {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 +0200768tst {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 +0200769tst test_suite: reserving resources in [PATH]/selftest/suite_test/test_work/state_dir ... [suite.py:[LINENR]]
770tst test_suite: DBG: {combining='resources'} [suite.py:[LINENR]]
771tst {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]]
772tst {combining_scenarios='resources', scenario='foo'}: [RESOURCE_DICT]
773tst test_suite: DBG: {combining='modifiers'} [suite.py:[LINENR]]
774tst {combining_scenarios='modifiers'}: DBG: {definition_conf={}} [test_suite↪{combining_scenarios='modifiers'}] [suite.py:[LINENR]]
775tst {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 +0100776tst test_suite: Verifying 3 x bts (candidates: 6) [resource.py:[LINENR]]
777tst test_suite: DBG: Picked - _hash: a59640b8ba6a373552b24a6f9f65cadd2347bace
778 addr: 10.42.42.53
779 band: GSM-1800
780 ipa_unit_id: '7'
781 label: sysmoCell 5000
782 osmo_trx:
783 clock_reference: external
784 launch_trx: 'False'
785 trx_ip: 10.42.42.112
786 trx_list:
787 - max_power_red: '3'
788 nominal_power: '10'
789 - max_power_red: '0'
790 nominal_power: '12'
791 type: osmo-bts-trx
792- _hash: c2feabd082c36a1cdeccb9a5237dfff7dbadb009
793 addr: 10.42.42.53
794 band: GSM-1800
795 ipa_unit_id: '7'
796 label: sysmoCell 5000
797 osmo_trx:
798 clock_reference: external
799 launch_trx: 'False'
800 trx_ip: 10.42.42.112
801 trx_list:
802 - nominal_power: '10'
803 - max_power_red: '1'
804 nominal_power: '12'
805 type: osmo-bts-trx
806- _hash: 07d9c8aaa940b674efcbbabdd69f58a6ce4e94f9
807 addr: 10.42.42.114
808 band: GSM-1800
809 ipa_unit_id: '1'
810 label: sysmoBTS 1002
811 type: sysmo
812 [resource.py:[LINENR]]
813tst test_suite: Verifying 1 x ip_address (candidates: 3) [resource.py:[LINENR]]
814tst test_suite: DBG: Picked - _hash: cde1debf28f07f94f92c761b4b7c6bf35785ced4
815 addr: 10.42.42.1
816 [resource.py:[LINENR]]
817tst test_suite: Verifying 2 x modem (candidates: 16) [resource.py:[LINENR]]
818tst test_suite: DBG: Picked - _hash: 19c69e45aa090fb511446bd00797690aa82ff52f
819 imsi: '901700000007801'
820 ki: D620F48487B1B782DA55DF6717F08FF9
821 label: m7801
822 path: /wavecom_0
823- _hash: e1a46516a1fb493b2617ab14fc1693a9a45ec254
824 imsi: '901700000007802'
825 ki: 47FDB2D55CE6A10A85ABDAD034A5B7B3
826 label: m7802
827 path: /wavecom_1
828 [resource.py:[LINENR]]
829tst 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 +0200830tst test_suite: Reserving 3 x bts (candidates: 6) [resource.py:[LINENR]]
831tst test_suite: DBG: Picked - _hash: a59640b8ba6a373552b24a6f9f65cadd2347bace
832 addr: 10.42.42.53
833 band: GSM-1800
834 ipa_unit_id: '7'
835 label: sysmoCell 5000
836 osmo_trx:
837 clock_reference: external
838 launch_trx: 'False'
839 trx_ip: 10.42.42.112
840 trx_list:
841 - max_power_red: '3'
842 nominal_power: '10'
843 - max_power_red: '0'
844 nominal_power: '12'
845 type: osmo-bts-trx
846- _hash: c2feabd082c36a1cdeccb9a5237dfff7dbadb009
847 addr: 10.42.42.53
848 band: GSM-1800
849 ipa_unit_id: '7'
850 label: sysmoCell 5000
851 osmo_trx:
852 clock_reference: external
853 launch_trx: 'False'
854 trx_ip: 10.42.42.112
855 trx_list:
856 - nominal_power: '10'
857 - max_power_red: '1'
858 nominal_power: '12'
859 type: osmo-bts-trx
860- _hash: 07d9c8aaa940b674efcbbabdd69f58a6ce4e94f9
861 addr: 10.42.42.114
862 band: GSM-1800
863 ipa_unit_id: '1'
864 label: sysmoBTS 1002
865 type: sysmo
866 [resource.py:[LINENR]]
867tst test_suite: Reserving 1 x ip_address (candidates: 3) [resource.py:[LINENR]]
868tst test_suite: DBG: Picked - _hash: cde1debf28f07f94f92c761b4b7c6bf35785ced4
869 addr: 10.42.42.1
870 [resource.py:[LINENR]]
871tst test_suite: Reserving 2 x modem (candidates: 16) [resource.py:[LINENR]]
872tst test_suite: DBG: Picked - _hash: 19c69e45aa090fb511446bd00797690aa82ff52f
873 imsi: '901700000007801'
874 ki: D620F48487B1B782DA55DF6717F08FF9
875 label: m7801
876 path: /wavecom_0
877- _hash: e1a46516a1fb493b2617ab14fc1693a9a45ec254
878 imsi: '901700000007802'
879 ki: 47FDB2D55CE6A10A85ABDAD034A5B7B3
880 label: m7802
881 path: /wavecom_1
882 [resource.py:[LINENR]]
Pau Espin Pedrol600c7992020-11-09 21:17:51 +0100883tst test_suite: DBG: FileWatch: unscheduling watch <ObservedWatch: path=[PATH]/selftest/suite_test/test_work/state_dir, is_recursive=False> [util.py:[LINENR]]
Neels Hofmeyrf07114f2020-11-28 10:06:14 +0100884tst test_suite: RESERVED RESOURCES for test_suite:
885bts
886 sysmoCell 5000
887 sysmoCell 5000
888 sysmoBTS 1002
889ip_address
890 10.42.42.1
891modem
892 m7801
893 m7802 [suite.py:[LINENR]]
Pau Espin Pedrol30637302020-05-06 21:11:02 +0200894resources(test_suite)={'bts': [{'_hash': 'a59640b8ba6a373552b24a6f9f65cadd2347bace',
895 '_reserved_by': 'test_suite-[ID_NUM]-[ID_NUM]',
896 'addr': '10.42.42.53',
897 'band': 'GSM-1800',
898 'ipa_unit_id': '7',
899 'label': 'sysmoCell 5000',
900 'osmo_trx': {'clock_reference': 'external',
901 'launch_trx': 'False',
902 'trx_ip': '10.42.42.112'},
903 'trx_list': [{'max_power_red': '3', 'nominal_power': '10'},
904 {'max_power_red': '0', 'nominal_power': '12'}],
905 'type': 'osmo-bts-trx'},
906 {'_hash': 'c2feabd082c36a1cdeccb9a5237dfff7dbadb009',
907 '_reserved_by': 'test_suite-[ID_NUM]-[ID_NUM]',
908 'addr': '10.42.42.53',
909 'band': 'GSM-1800',
910 'ipa_unit_id': '7',
911 'label': 'sysmoCell 5000',
912 'osmo_trx': {'clock_reference': 'external',
913 'launch_trx': 'False',
914 'trx_ip': '10.42.42.112'},
915 'trx_list': [{'nominal_power': '10'},
916 {'max_power_red': '1', 'nominal_power': '12'}],
917 'type': 'osmo-bts-trx'},
918 {'_hash': '07d9c8aaa940b674efcbbabdd69f58a6ce4e94f9',
919 '_reserved_by': 'test_suite-[ID_NUM]-[ID_NUM]',
920 'addr': '10.42.42.114',
921 'band': 'GSM-1800',
922 'ipa_unit_id': '1',
923 'label': 'sysmoBTS 1002',
924 'type': 'sysmo'}],
925 'ip_address': [{'_hash': 'cde1debf28f07f94f92c761b4b7c6bf35785ced4',
926 '_reserved_by': 'test_suite-[ID_NUM]-[ID_NUM]',
927 'addr': '10.42.42.1'}],
928 'modem': [{'_hash': '19c69e45aa090fb511446bd00797690aa82ff52f',
929 '_reserved_by': 'test_suite-[ID_NUM]-[ID_NUM]',
930 'imsi': '901700000007801',
931 'ki': 'D620F48487B1B782DA55DF6717F08FF9',
932 'label': 'm7801',
933 'path': '/wavecom_0'},
934 {'_hash': 'e1a46516a1fb493b2617ab14fc1693a9a45ec254',
935 '_reserved_by': 'test_suite-[ID_NUM]-[ID_NUM]',
936 'imsi': '901700000007802',
937 'ki': '47FDB2D55CE6A10A85ABDAD034A5B7B3',
938 'label': 'm7802',
939 'path': '/wavecom_1'}]}
940
941---------------------------------------------------------------------
942trial test_suite
943---------------------------------------------------------------------
944
945----------------------------------------------
946trial test_suite test_suite_params.py
947----------------------------------------------
948tst test_suite_params.py:[LINENR]: starting test [test_suitetest_suite_params.py:[LINENR]] [test_suite_params.py:[LINENR]]
Neels Hofmeyr3b493f32020-12-01 03:51:27 +0100949tst test_suite_params.py:[LINENR]: SPECIFIC SUITE CONFIG: {'some_suite_global_param': 'heyho',
950 'test_suite_params': {'one_bool_parameter': 'true',
951 'second_list_parameter': ['23', '45']},
952 'test_timeout': {'timeout': '1'}} [test_suitetest_suite_params.py:[LINENR]] [test_suite_params.py:[LINENR]]
Pau Espin Pedrol30637302020-05-06 21:11:02 +0200953tst 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]]
954tst 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 +0200955
956----------------------------------------------
957trial test_suite test_timeout.py
958----------------------------------------------
959tst test_timeout.py:[LINENR]: starting test and waiting to receive Timeout after 1 seconds [test_suitetest_timeout.py:[LINENR]] [test_timeout.py:[LINENR]]
960tst 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())]
961tst 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 +0200962---------------------------------------------------------------------
Pau Espin Pedrolc3cf6822020-06-12 17:54:55 +0200963trial test_suite FAIL
Pau Espin Pedrol30637302020-05-06 21:11:02 +0200964---------------------------------------------------------------------
Pau Espin Pedrolc3cf6822020-06-12 17:54:55 +0200965FAIL: test_suite (fail: 1, pass: 1, skip: 6)
Pau Espin Pedrol30637302020-05-06 21:11:02 +0200966 skip: hello_world.py
967 skip: mo_mt_sms.py
968 skip: mo_sms.py
969 skip: test_error.py
970 skip: test_fail.py
971 skip: test_fail_raise.py
972 pass: test_suite_params.py (N.N sec)
Pau Espin Pedrolc3cf6822020-06-12 17:54:55 +0200973 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 +0200974- test with template overlay
975cnf suiteC: DBG: reading suite.conf [suite.py:[LINENR]]
Pau Espin Pedrola75f85a2020-06-12 17:13:26 +0200976tst suiteC: DBG: {combining='config'} [suite.py:[LINENR]]
977tst {combining_scenarios='config'}: DBG: {definition_conf={}} [suiteC↪{combining_scenarios='config'}] [suite.py:[LINENR]]
Pau Espin Pedrol166dc102020-06-04 18:44:42 +0200978
979---------------------------------------------------------------------
980trial suiteC
981---------------------------------------------------------------------
982tst suiteC: reserving resources in [PATH]/selftest/suite_test/test_work/state_dir ... [suite.py:[LINENR]]
983tst suiteC: DBG: {combining='resources'} [suite.py:[LINENR]]
984tst {combining_scenarios='resources'}: DBG: {definition_conf={ip_address=[{'addr': '10.42.42.2'}]}} [suiteC↪{combining_scenarios='resources'}] [suite.py:[LINENR]]
985tst suiteC: DBG: {combining='modifiers'} [suite.py:[LINENR]]
986tst {combining_scenarios='modifiers'}: DBG: {definition_conf={}} [suiteC↪{combining_scenarios='modifiers'}] [suite.py:[LINENR]]
Pau Espin Pedrol600c7992020-11-09 21:17:51 +0100987tst suiteC: Verifying 1 x ip_address (candidates: 3) [resource.py:[LINENR]]
988tst suiteC: DBG: Picked - _hash: fd103b22c7cf2480d609150e06f4bbd92ac78d8c
989 addr: 10.42.42.2
990 [resource.py:[LINENR]]
991tst 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 +0200992tst suiteC: Reserving 1 x ip_address (candidates: 3) [resource.py:[LINENR]]
993tst suiteC: DBG: Picked - _hash: fd103b22c7cf2480d609150e06f4bbd92ac78d8c
994 addr: 10.42.42.2
995 [resource.py:[LINENR]]
Pau Espin Pedrol600c7992020-11-09 21:17:51 +0100996tst suiteC: DBG: FileWatch: unscheduling watch <ObservedWatch: path=[PATH]/selftest/suite_test/test_work/state_dir, is_recursive=False> [util.py:[LINENR]]
Neels Hofmeyrf07114f2020-11-28 10:06:14 +0100997tst suiteC: RESERVED RESOURCES for suiteC:
998ip_address
999 10.42.42.2 [suite.py:[LINENR]]
Pau Espin Pedrol166dc102020-06-04 18:44:42 +02001000
1001----------------------------------------------
1002trial suiteC test_template_overlay.py
1003----------------------------------------------
1004tst 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 +02001005tst 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]]
Neels Hofmeyr112da032020-12-04 18:03:22 +01001006tst test_template_overlay.py:[LINENR]: success: setting non-existing templates dir raised RuntimeError [suiteCtest_template_overlay.py:[LINENR]] [test_template_overlay.py:[LINENR]]
Pau Espin Pedrola4bb6d32020-06-11 16:14:47 +02001007tst 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 +02001008--- ReservedResources: DBG: requesting use of ip_address {specifics={}} [resource.py:[LINENR]]
1009tst suiteC: Using 1 x ip_address (candidates: 1) [resource.py:[LINENR]]
1010tst suiteC: DBG: Picked - _hash: fd103b22c7cf2480d609150e06f4bbd92ac78d8c
1011 _reserved_by: suiteC-[ID_NUM]-[ID_NUM]
1012 addr: 10.42.42.2
1013 [resource.py:[LINENR]]
1014--- ReservedResources: DBG: {available=1} [resource.py:[LINENR]]
1015--- ReservedResources: DBG: {using={_hash='fd103b22c7cf2480d609150e06f4bbd92ac78d8c', _reserved_by='suiteC-[ID_NUM]-[ID_NUM]', addr='10.42.42.2'}} [resource.py:[LINENR]]
1016tst test_template_overlay.py:[LINENR]: - Testing: original template [suiteCtest_template_overlay.py:[LINENR]] [test_template_overlay.py:[LINENR]]
1017run 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 +02001018run osmo-stp_10.42.42.2: DBG: STP CONFIG:
1019{'stp': {'ip_address': {'_hash': 'fd103b22c7cf2480d609150e06f4bbd92ac78d8c',
1020 '_reserved_by': 'suiteC-[ID_NUM]-[ID_NUM]',
1021 '_used': True,
1022 'addr': '10.42.42.2'}}} [suiteCtest_template_overlay.py:[LINENR]↪test_template_overlay.pyosmo-stp_10.42.42.2] [stp_osmo.py:[LINENR]]
1023cnf Templates: DBG: rendering osmo-stp.cfg.tmpl [suiteCtest_template_overlay.py:[LINENR]↪test_template_overlay.pyTemplates] [template.py:[LINENR]]
1024run osmo-stp_10.42.42.2: DBG: ! Configuration rendered by osmo-gsm-tester
1025log stderr
1026 logging filter all 1
1027 logging color 1
1028 logging print category 1
Neels Hofmeyrb5a3d672020-12-01 00:43:52 +01001029 logging print category-hex 0
1030 logging print level 1
1031 logging print file basename last
Pau Espin Pedrol166dc102020-06-04 18:44:42 +02001032 logging print extended-timestamp 1
1033 logging level set-all debug
1034line vty
1035 no login
1036 bind 10.42.42.2
1037!ctrl
1038! bind 10.42.42.2
1039cs7 instance 0
1040 xua rkm routing-key-allocation dynamic-permitted
1041 listen m3ua 2905
1042 accept-asp-connections dynamic-permitted
1043 local-ip 10.42.42.2
1044 [suiteCtest_template_overlay.py:[LINENR]↪test_template_overlay.pyosmo-stp_10.42.42.2] [stp_osmo.py:[LINENR]]
1045tst test_template_overlay.py:[LINENR]: - Testing:overlay template [suiteCtest_template_overlay.py:[LINENR]] [test_template_overlay.py:[LINENR]]
1046tst 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]]
1047run 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]]
1048run osmo-stp_10.42.42.2: DBG: STP CONFIG:
1049{'stp': {'ip_address': {'_hash': 'fd103b22c7cf2480d609150e06f4bbd92ac78d8c',
1050 '_reserved_by': 'suiteC-[ID_NUM]-[ID_NUM]',
1051 '_used': True,
1052 'addr': '10.42.42.2'}}} [suiteCtest_template_overlay.py:[LINENR]↪test_template_overlay.pyosmo-stp_10.42.42.2] [stp_osmo.py:[LINENR]]
1053cnf Templates: DBG: rendering osmo-stp.cfg.tmpl [suiteCtest_template_overlay.py:[LINENR]↪test_template_overlay.pyTemplates] [template.py:[LINENR]]
1054run osmo-stp_10.42.42.2: DBG: ! Configuration rendered by osmo-gsm-tester
1055log stderr
1056 logging filter all 1
1057 logging color 1
1058 logging print category 1
Neels Hofmeyrb5a3d672020-12-01 00:43:52 +01001059 logging print category-hex 0
1060 logging print level 1
1061 logging print file basename last
Pau Espin Pedrol166dc102020-06-04 18:44:42 +02001062 logging print extended-timestamp 1
1063 logging level set-all debug
1064line vty
1065 no login
1066 bind 10.42.42.2
1067!ctrl
1068! bind 10.42.42.2
1069cs7 instance 0
1070 xua rkm routing-key-allocation dynamic-permitted
1071 listen m3ua 2905
1072 accept-asp-connections dynamic-permitted
1073 local-ip 10.42.42.2
1074 [suiteCtest_template_overlay.py:[LINENR]↪test_template_overlay.pyosmo-stp_10.42.42.2] [stp_osmo.py:[LINENR]]
1075tst 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 +02001076tst 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 +02001077run 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]]
1078run osmo-stp_10.42.42.2: DBG: STP CONFIG:
1079{'stp': {'ip_address': {'_hash': 'fd103b22c7cf2480d609150e06f4bbd92ac78d8c',
1080 '_reserved_by': 'suiteC-[ID_NUM]-[ID_NUM]',
1081 '_used': True,
1082 'addr': '10.42.42.2'}}} [suiteCtest_template_overlay.py:[LINENR]↪test_template_overlay.pyosmo-stp_10.42.42.2] [stp_osmo.py:[LINENR]]
1083cnf Templates: DBG: rendering osmo-stp.cfg.tmpl [suiteCtest_template_overlay.py:[LINENR]↪test_template_overlay.pyTemplates] [template.py:[LINENR]]
1084run osmo-stp_10.42.42.2: DBG: ! Overlay Config file genreated by test
1085line vty
1086 no login
1087 bind 10.42.42.2
1088 [suiteCtest_template_overlay.py:[LINENR]↪test_template_overlay.pyosmo-stp_10.42.42.2] [stp_osmo.py:[LINENR]]
1089tst test_template_overlay.py:[LINENR] Test passed (N.N sec) [suiteCtest_template_overlay.py] [test.py:[LINENR]]
1090---------------------------------------------------------------------
1091trial suiteC PASS
1092---------------------------------------------------------------------
1093PASS: suiteC (pass: 1)
1094 pass: test_template_overlay.py (N.N sec)
Neels Hofmeyr3531a192017-03-28 14:30:28 +02001095
1096- graceful exit.