blob: 3264fe2b3b81da5389a9173ec7aa10010f67d4ef [file] [log] [blame]
Neels Hofmeyr3531a192017-03-28 14:30:28 +02001- non-existing suite dir
Pau Espin Pedrol6c6c0e82020-05-11 18:30:58 +02002cnf -: DBG: Found main configuration file in [PATH]/selftest/suite_test/paths.conf which is [PATH]/selftest/suite_test/paths.conf
3cnf -: DBG: MAIN CONFIG:
4{'default_suites_conf_path': '[PATH]/selftest/suite_test/default-suites.conf',
5 'defaults_conf_path': '[PATH]/selftest/suite_test/defaults.conf',
6 'resource_conf_path': '[PATH]/selftest/suite_test/resources.conf',
Pau Espin Pedrol66ef9452020-05-25 13:26:41 +02007 'scenarios_dir': ['[PATH]/selftest/suite_test/scenarios'],
Pau Espin Pedrol6c6c0e82020-05-11 18:30:58 +02008 'state_dir': '[PATH]/selftest/suite_test/test_work/state_dir',
Pau Espin Pedrol66ef9452020-05-25 13:26:41 +02009 'suites_dir': ['[PATH]/selftest/suite_test/suitedirA',
10 '[PATH]/selftest/suite_test/suitedirB'],
Pau Espin Pedrole972c9c2020-05-12 15:06:55 +020011 'trial_dir': '[PATH]/selftest/suite_test/trial'}
Pau Espin Pedrol66ef9452020-05-25 13:26:41 +020012--- -: ERR: RuntimeError: Suite not found: 'does_not_exist' in [[PATH]/selftest/suite_test/suitedirA, [PATH]/selftest/suite_test/suitedirB]
Neels Hofmeyr3531a192017-03-28 14:30:28 +020013- no suite.conf
Neels Hofmeyr31e83202017-06-06 19:44:32 +020014cnf empty_dir: DBG: reading suite.conf
Pau Espin Pedrol66ef9452020-05-25 13:26:41 +020015cnf [PATH]/selftest/suite_test/suitedirA/empty_dir/suite.conf: ERR: FileNotFoundError: [Errno 2] No such file or directory: '[PATH]/selftest/suite_test/suitedirA/empty_dir/suite.conf' [empty_dir↪[PATH]/selftest/suite_test/suitedirA/empty_dir/suite.conf]
Neels Hofmeyr3531a192017-03-28 14:30:28 +020016- valid suite dir
Neels Hofmeyr31e83202017-06-06 19:44:32 +020017cnf test_suite: DBG: reading suite.conf
Neels Hofmeyr3531a192017-03-28 14:30:28 +020018resources:
19 bts:
Pau Espin Pedrolcbc72422017-09-14 15:55:49 +020020 - label: sysmoCell 5000
21 times: '2'
Neels Hofmeyr3531a192017-03-28 14:30:28 +020022 - times: '1'
Pau Espin Pedrolcbc72422017-09-14 15:55:49 +020023 type: sysmo
Neels Hofmeyr76d81032017-05-18 18:35:32 +020024 ip_address:
25 - times: '1'
Neels Hofmeyr3531a192017-03-28 14:30:28 +020026 modem:
27 - times: '2'
Neels Hofmeyr3531a192017-03-28 14:30:28 +020028
29- run hello world test
Neels Hofmeyr6ccda112017-06-06 19:41:17 +020030
31---------------------------------------------------------------------
32trial test_suite
33---------------------------------------------------------------------
Neels Hofmeyr7e2e8f12017-05-14 03:37:13 +020034tst test_suite: reserving resources in [PATH]/selftest/suite_test/test_work/state_dir ...
Neels Hofmeyr31e83202017-06-06 19:44:32 +020035tst test_suite: DBG: {combining='resources'}
Pau Espin Pedrolcbc72422017-09-14 15:55:49 +020036tst {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 +020037tst test_suite: DBG: {combining='modifiers'}
38tst {combining_scenarios='modifiers'}: DBG: {definition_conf={}} [test_suite↪{combining_scenarios='modifiers'}]
Pau Espin Pedrol0b302792017-09-10 16:33:10 +020039tst test_suite: Reserving 3 x bts (candidates: 6)
Pau Espin Pedrol0d455042018-08-27 17:07:41 +020040tst test_suite: DBG: Picked - _hash: a59640b8ba6a373552b24a6f9f65cadd2347bace
Pau Espin Pedrolcbc72422017-09-14 15:55:49 +020041 addr: 10.42.42.53
42 band: GSM-1800
43 ipa_unit_id: '7'
44 label: sysmoCell 5000
Pau Espin Pedrol0d455042018-08-27 17:07:41 +020045 osmo_trx:
46 clock_reference: external
47 launch_trx: 'False'
48 trx_ip: 10.42.42.112
Pau Espin Pedrolcbc72422017-09-14 15:55:49 +020049 trx_list:
50 - max_power_red: '3'
51 nominal_power: '10'
52 - max_power_red: '0'
53 nominal_power: '12'
Pau Espin Pedrolcbc72422017-09-14 15:55:49 +020054 type: osmo-bts-trx
Pau Espin Pedrol0d455042018-08-27 17:07:41 +020055- _hash: c2feabd082c36a1cdeccb9a5237dfff7dbadb009
Pau Espin Pedrolcbc72422017-09-14 15:55:49 +020056 addr: 10.42.42.53
57 band: GSM-1800
58 ipa_unit_id: '7'
59 label: sysmoCell 5000
Pau Espin Pedrol0d455042018-08-27 17:07:41 +020060 osmo_trx:
61 clock_reference: external
62 launch_trx: 'False'
63 trx_ip: 10.42.42.112
Pau Espin Pedrolcbc72422017-09-14 15:55:49 +020064 trx_list:
65 - nominal_power: '10'
66 - max_power_red: '1'
67 nominal_power: '12'
Pau Espin Pedrolcbc72422017-09-14 15:55:49 +020068 type: osmo-bts-trx
69- _hash: 07d9c8aaa940b674efcbbabdd69f58a6ce4e94f9
Neels Hofmeyr17c139e2017-04-12 02:42:02 +020070 addr: 10.42.42.114
71 band: GSM-1800
72 ipa_unit_id: '1'
73 label: sysmoBTS 1002
74 type: sysmo
Neels Hofmeyr31e83202017-06-06 19:44:32 +020075tst test_suite: Reserving 1 x ip_address (candidates: 3)
Neels Hofmeyr76d81032017-05-18 18:35:32 +020076tst test_suite: DBG: Picked - _hash: cde1debf28f07f94f92c761b4b7c6bf35785ced4
77 addr: 10.42.42.1
Neels Hofmeyr31e83202017-06-06 19:44:32 +020078tst test_suite: Reserving 2 x modem (candidates: 16)
Neels Hofmeyrcccbe592017-05-07 01:16:07 +020079tst test_suite: DBG: Picked - _hash: 19c69e45aa090fb511446bd00797690aa82ff52f
Neels Hofmeyr17c139e2017-04-12 02:42:02 +020080 imsi: '901700000007801'
81 ki: D620F48487B1B782DA55DF6717F08FF9
82 label: m7801
83 path: /wavecom_0
84- _hash: e1a46516a1fb493b2617ab14fc1693a9a45ec254
85 imsi: '901700000007802'
86 ki: 47FDB2D55CE6A10A85ABDAD034A5B7B3
87 label: m7802
88 path: /wavecom_1
Neels Hofmeyr6ccda112017-06-06 19:41:17 +020089
90----------------------------------------------
91trial test_suite hello_world.py
92----------------------------------------------
Neels Hofmeyrd1bedb12017-05-07 03:02:23 +020093tst hello_world.py:[LINENR]: hello world [test_suitehello_world.py:[LINENR]]
94tst hello_world.py:[LINENR]: I am 'test_suite' / 'hello_world.py:[LINENR]' [test_suitehello_world.py:[LINENR]]
95tst hello_world.py:[LINENR]: one [test_suitehello_world.py:[LINENR]]
96tst hello_world.py:[LINENR]: two [test_suitehello_world.py:[LINENR]]
97tst hello_world.py:[LINENR]: three [test_suitehello_world.py:[LINENR]]
Neels Hofmeyr6ccda112017-06-06 19:41:17 +020098tst hello_world.py:[LINENR] Test passed (N.N sec) [test_suitehello_world.py]
99---------------------------------------------------------------------
100trial test_suite PASS
101---------------------------------------------------------------------
Pau Espin Pedrol30637302020-05-06 21:11:02 +0200102PASS: test_suite (pass: 1, skip: 6)
Neels Hofmeyr6ccda112017-06-06 19:41:17 +0200103 pass: hello_world.py (N.N sec)
104 skip: mo_mt_sms.py
105 skip: mo_sms.py
106 skip: test_error.py
107 skip: test_fail.py
108 skip: test_fail_raise.py
Pau Espin Pedrol30637302020-05-06 21:11:02 +0200109 skip: test_suite_params.py
Neels Hofmeyr3531a192017-03-28 14:30:28 +0200110
111- a test with an error
Neels Hofmeyr6ccda112017-06-06 19:41:17 +0200112
113---------------------------------------------------------------------
114trial test_suite
115---------------------------------------------------------------------
116
117----------------------------------------------
118trial test_suite test_error.py
119----------------------------------------------
Neels Hofmeyrd1bedb12017-05-07 03:02:23 +0200120tst 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 +0200121tst 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 +0100122tst test_error.py:[LINENR]: Test FAILED (N.N sec) [test_suitetest_error.py:[LINENR]] [test.py:[LINENR]]
Neels Hofmeyr6ccda112017-06-06 19:41:17 +0200123---------------------------------------------------------------------
124trial test_suite FAIL
125---------------------------------------------------------------------
Pau Espin Pedrol30637302020-05-06 21:11:02 +0200126FAIL: test_suite (fail: 1, skip: 6)
Neels Hofmeyr6ccda112017-06-06 19:41:17 +0200127 skip: hello_world.py (N.N sec)
128 skip: mo_mt_sms.py
129 skip: mo_sms.py
Neels Hofmeyr1a7a3f02017-06-10 01:18:27 +0200130 FAIL: test_error.py (N.N sec) AssertionError: test_error.py:[LINENR]: assert False
Neels Hofmeyr6ccda112017-06-06 19:41:17 +0200131 skip: test_fail.py
132 skip: test_fail_raise.py
Pau Espin Pedrol30637302020-05-06 21:11:02 +0200133 skip: test_suite_params.py
Pau Espin Pedrol0ffb4142017-05-15 18:24:35 +0200134
135- a test with a failure
Neels Hofmeyr6ccda112017-06-06 19:41:17 +0200136
137---------------------------------------------------------------------
138trial test_suite
139---------------------------------------------------------------------
140
141----------------------------------------------
142trial test_suite test_fail.py
143----------------------------------------------
Pau Espin Pedrol0ffb4142017-05-15 18:24:35 +0200144tst 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 +0200145tst 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 +0100146tst test_fail.py:[LINENR]: Test FAILED (N.N sec) [test_suitetest_fail.py:[LINENR]] [test.py:[LINENR]]
Neels Hofmeyr6ccda112017-06-06 19:41:17 +0200147---------------------------------------------------------------------
148trial test_suite FAIL
149---------------------------------------------------------------------
Pau Espin Pedrol30637302020-05-06 21:11:02 +0200150FAIL: test_suite (fail: 1, skip: 6)
Neels Hofmeyr6ccda112017-06-06 19:41:17 +0200151 skip: hello_world.py (N.N sec)
152 skip: mo_mt_sms.py
153 skip: mo_sms.py
154 skip: test_error.py (N.N sec)
155 FAIL: test_fail.py (N.N sec) EpicFail: This failure is expected
156 skip: test_fail_raise.py
Pau Espin Pedrol30637302020-05-06 21:11:02 +0200157 skip: test_suite_params.py
Pau Espin Pedrol0ffb4142017-05-15 18:24:35 +0200158
159- a test with a raised failure
Neels Hofmeyr6ccda112017-06-06 19:41:17 +0200160
161---------------------------------------------------------------------
162trial test_suite
163---------------------------------------------------------------------
164
165----------------------------------------------
166trial test_suite test_fail_raise.py
167----------------------------------------------
Neels Hofmeyr1a7a3f02017-06-10 01:18:27 +0200168tst 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 +0100169tst 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 +0200170---------------------------------------------------------------------
171trial test_suite FAIL
172---------------------------------------------------------------------
Pau Espin Pedrol30637302020-05-06 21:11:02 +0200173FAIL: test_suite (fail: 1, skip: 6)
Neels Hofmeyr6ccda112017-06-06 19:41:17 +0200174 skip: hello_world.py (N.N sec)
175 skip: mo_mt_sms.py
176 skip: mo_sms.py
177 skip: test_error.py (N.N sec)
178 skip: test_fail.py (N.N sec)
Neels Hofmeyr1a7a3f02017-06-10 01:18:27 +0200179 FAIL: test_fail_raise.py (N.N sec) ExpectedFail: This failure is expected
Pau Espin Pedrol30637302020-05-06 21:11:02 +0200180 skip: test_suite_params.py
Pau Espin Pedrol0b302792017-09-10 16:33:10 +0200181- test with half empty scenario
Pau Espin Pedrol0b302792017-09-10 16:33:10 +0200182
183---------------------------------------------------------------------
184trial test_suite
185---------------------------------------------------------------------
186tst test_suite: reserving resources in [PATH]/selftest/suite_test/test_work/state_dir ... [suite.py:[LINENR]]
187tst test_suite: DBG: {combining='resources'} [suite.py:[LINENR]]
Pau Espin Pedrolcbc72422017-09-14 15:55:49 +0200188tst {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 +0200189tst {combining_scenarios='resources', scenario='foo'}: [RESOURCE_DICT]
Pau Espin Pedrolaab56922018-08-21 14:58:29 +0200190tst test_suite: DBG: {combining='modifiers'} [suite.py:[LINENR]]
191tst {combining_scenarios='modifiers'}: DBG: {definition_conf={}} [test_suite↪{combining_scenarios='modifiers'}] [suite.py:[LINENR]]
192tst {combining_scenarios='modifiers', scenario='foo'}: DBG: {conf={}, scenario='foo'} [test_suite↪{combining_scenarios='modifiers', scenario='foo'}] [suite.py:[LINENR]]
Pau Espin Pedrol0b302792017-09-10 16:33:10 +0200193tst test_suite: Reserving 3 x bts (candidates: 6) [resource.py:[LINENR]]
Pau Espin Pedrol0d455042018-08-27 17:07:41 +0200194tst test_suite: DBG: Picked - _hash: a59640b8ba6a373552b24a6f9f65cadd2347bace
Pau Espin Pedrolcbc72422017-09-14 15:55:49 +0200195 addr: 10.42.42.53
196 band: GSM-1800
197 ipa_unit_id: '7'
198 label: sysmoCell 5000
Pau Espin Pedrol0d455042018-08-27 17:07:41 +0200199 osmo_trx:
200 clock_reference: external
201 launch_trx: 'False'
202 trx_ip: 10.42.42.112
Pau Espin Pedrolcbc72422017-09-14 15:55:49 +0200203 trx_list:
204 - max_power_red: '3'
205 nominal_power: '10'
206 - max_power_red: '0'
207 nominal_power: '12'
Pau Espin Pedrolcbc72422017-09-14 15:55:49 +0200208 type: osmo-bts-trx
Pau Espin Pedrol0d455042018-08-27 17:07:41 +0200209- _hash: c2feabd082c36a1cdeccb9a5237dfff7dbadb009
Pau Espin Pedrolcbc72422017-09-14 15:55:49 +0200210 addr: 10.42.42.53
211 band: GSM-1800
212 ipa_unit_id: '7'
213 label: sysmoCell 5000
Pau Espin Pedrol0d455042018-08-27 17:07:41 +0200214 osmo_trx:
215 clock_reference: external
216 launch_trx: 'False'
217 trx_ip: 10.42.42.112
Pau Espin Pedrolcbc72422017-09-14 15:55:49 +0200218 trx_list:
219 - nominal_power: '10'
220 - max_power_red: '1'
221 nominal_power: '12'
Pau Espin Pedrolcbc72422017-09-14 15:55:49 +0200222 type: osmo-bts-trx
223- _hash: 07d9c8aaa940b674efcbbabdd69f58a6ce4e94f9
Pau Espin Pedrol0b302792017-09-10 16:33:10 +0200224 addr: 10.42.42.114
225 band: GSM-1800
226 ipa_unit_id: '1'
227 label: sysmoBTS 1002
228 type: sysmo
Pau Espin Pedrol0b302792017-09-10 16:33:10 +0200229 [resource.py:[LINENR]]
230tst test_suite: Reserving 1 x ip_address (candidates: 3) [resource.py:[LINENR]]
231tst test_suite: DBG: Picked - _hash: cde1debf28f07f94f92c761b4b7c6bf35785ced4
232 addr: 10.42.42.1
233 [resource.py:[LINENR]]
234tst test_suite: Reserving 2 x modem (candidates: 16) [resource.py:[LINENR]]
235tst test_suite: DBG: Picked - _hash: 19c69e45aa090fb511446bd00797690aa82ff52f
236 imsi: '901700000007801'
237 ki: D620F48487B1B782DA55DF6717F08FF9
238 label: m7801
239 path: /wavecom_0
240- _hash: e1a46516a1fb493b2617ab14fc1693a9a45ec254
241 imsi: '901700000007802'
242 ki: 47FDB2D55CE6A10A85ABDAD034A5B7B3
243 label: m7802
244 path: /wavecom_1
245 [resource.py:[LINENR]]
246
247----------------------------------------------
248trial test_suite hello_world.py
249----------------------------------------------
250tst hello_world.py:[LINENR]: hello world [test_suitehello_world.py:[LINENR]] [hello_world.py:[LINENR]]
251tst hello_world.py:[LINENR]: I am 'test_suite' / 'hello_world.py:[LINENR]' [test_suitehello_world.py:[LINENR]] [hello_world.py:[LINENR]]
252tst hello_world.py:[LINENR]: one [test_suitehello_world.py:[LINENR]] [hello_world.py:[LINENR]]
253tst hello_world.py:[LINENR]: two [test_suitehello_world.py:[LINENR]] [hello_world.py:[LINENR]]
254tst hello_world.py:[LINENR]: three [test_suitehello_world.py:[LINENR]] [hello_world.py:[LINENR]]
Pau Espin Pedrolfd5de3d2017-11-09 14:26:35 +0100255tst hello_world.py:[LINENR] Test passed (N.N sec) [test_suitehello_world.py] [test.py:[LINENR]]
Pau Espin Pedrol0b302792017-09-10 16:33:10 +0200256---------------------------------------------------------------------
257trial test_suite PASS
258---------------------------------------------------------------------
Pau Espin Pedrol30637302020-05-06 21:11:02 +0200259PASS: test_suite (pass: 1, skip: 6)
Pau Espin Pedrol0b302792017-09-10 16:33:10 +0200260 pass: hello_world.py (N.N sec)
261 skip: mo_mt_sms.py
262 skip: mo_sms.py
263 skip: test_error.py
264 skip: test_fail.py
265 skip: test_fail_raise.py
Pau Espin Pedrol30637302020-05-06 21:11:02 +0200266 skip: test_suite_params.py
Pau Espin Pedrol0b302792017-09-10 16:33:10 +0200267- test with scenario
Pau Espin Pedrol0b302792017-09-10 16:33:10 +0200268
269---------------------------------------------------------------------
270trial test_suite
271---------------------------------------------------------------------
272tst test_suite: reserving resources in [PATH]/selftest/suite_test/test_work/state_dir ... [suite.py:[LINENR]]
273tst test_suite: DBG: {combining='resources'} [suite.py:[LINENR]]
Pau Espin Pedrolcbc72422017-09-14 15:55:49 +0200274tst {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 +0200275tst {combining_scenarios='resources', scenario='foo'}: [RESOURCE_DICT]
Pau Espin Pedrolaab56922018-08-21 14:58:29 +0200276tst test_suite: DBG: {combining='modifiers'} [suite.py:[LINENR]]
277tst {combining_scenarios='modifiers'}: DBG: {definition_conf={}} [test_suite↪{combining_scenarios='modifiers'}] [suite.py:[LINENR]]
278tst {combining_scenarios='modifiers', scenario='foo'}: DBG: {conf={}, scenario='foo'} [test_suite↪{combining_scenarios='modifiers', scenario='foo'}] [suite.py:[LINENR]]
Pau Espin Pedrol0b302792017-09-10 16:33:10 +0200279tst test_suite: Reserving 3 x bts (candidates: 6) [resource.py:[LINENR]]
Pau Espin Pedrol0d455042018-08-27 17:07:41 +0200280tst test_suite: DBG: Picked - _hash: a59640b8ba6a373552b24a6f9f65cadd2347bace
Pau Espin Pedrol0b302792017-09-10 16:33:10 +0200281 addr: 10.42.42.53
282 band: GSM-1800
283 ipa_unit_id: '7'
284 label: sysmoCell 5000
Pau Espin Pedrol0d455042018-08-27 17:07:41 +0200285 osmo_trx:
286 clock_reference: external
287 launch_trx: 'False'
288 trx_ip: 10.42.42.112
Pau Espin Pedrol0b302792017-09-10 16:33:10 +0200289 trx_list:
Pau Espin Pedrol58475512017-09-14 15:33:15 +0200290 - max_power_red: '3'
291 nominal_power: '10'
292 - max_power_red: '0'
293 nominal_power: '12'
Pau Espin Pedrol0b302792017-09-10 16:33:10 +0200294 type: osmo-bts-trx
Pau Espin Pedrol0d455042018-08-27 17:07:41 +0200295- _hash: c2feabd082c36a1cdeccb9a5237dfff7dbadb009
Pau Espin Pedrolcbc72422017-09-14 15:55:49 +0200296 addr: 10.42.42.53
297 band: GSM-1800
298 ipa_unit_id: '7'
299 label: sysmoCell 5000
Pau Espin Pedrol0d455042018-08-27 17:07:41 +0200300 osmo_trx:
301 clock_reference: external
302 launch_trx: 'False'
303 trx_ip: 10.42.42.112
Pau Espin Pedrolcbc72422017-09-14 15:55:49 +0200304 trx_list:
305 - nominal_power: '10'
306 - max_power_red: '1'
307 nominal_power: '12'
Pau Espin Pedrolcbc72422017-09-14 15:55:49 +0200308 type: osmo-bts-trx
Pau Espin Pedrol0b302792017-09-10 16:33:10 +0200309- _hash: 07d9c8aaa940b674efcbbabdd69f58a6ce4e94f9
310 addr: 10.42.42.114
311 band: GSM-1800
312 ipa_unit_id: '1'
313 label: sysmoBTS 1002
314 type: sysmo
315 [resource.py:[LINENR]]
316tst test_suite: Reserving 1 x ip_address (candidates: 3) [resource.py:[LINENR]]
317tst test_suite: DBG: Picked - _hash: cde1debf28f07f94f92c761b4b7c6bf35785ced4
318 addr: 10.42.42.1
319 [resource.py:[LINENR]]
320tst test_suite: Reserving 2 x modem (candidates: 16) [resource.py:[LINENR]]
321tst test_suite: DBG: Picked - _hash: 19c69e45aa090fb511446bd00797690aa82ff52f
322 imsi: '901700000007801'
323 ki: D620F48487B1B782DA55DF6717F08FF9
324 label: m7801
325 path: /wavecom_0
326- _hash: e1a46516a1fb493b2617ab14fc1693a9a45ec254
327 imsi: '901700000007802'
328 ki: 47FDB2D55CE6A10A85ABDAD034A5B7B3
329 label: m7802
330 path: /wavecom_1
331 [resource.py:[LINENR]]
332
333----------------------------------------------
334trial test_suite hello_world.py
335----------------------------------------------
336tst hello_world.py:[LINENR]: hello world [test_suitehello_world.py:[LINENR]] [hello_world.py:[LINENR]]
337tst hello_world.py:[LINENR]: I am 'test_suite' / 'hello_world.py:[LINENR]' [test_suitehello_world.py:[LINENR]] [hello_world.py:[LINENR]]
338tst hello_world.py:[LINENR]: one [test_suitehello_world.py:[LINENR]] [hello_world.py:[LINENR]]
339tst hello_world.py:[LINENR]: two [test_suitehello_world.py:[LINENR]] [hello_world.py:[LINENR]]
340tst hello_world.py:[LINENR]: three [test_suitehello_world.py:[LINENR]] [hello_world.py:[LINENR]]
Pau Espin Pedrolfd5de3d2017-11-09 14:26:35 +0100341tst hello_world.py:[LINENR] Test passed (N.N sec) [test_suitehello_world.py] [test.py:[LINENR]]
Pau Espin Pedrol0b302792017-09-10 16:33:10 +0200342---------------------------------------------------------------------
343trial test_suite PASS
344---------------------------------------------------------------------
Pau Espin Pedrol30637302020-05-06 21:11:02 +0200345PASS: test_suite (pass: 1, skip: 6)
Pau Espin Pedrol0b302792017-09-10 16:33:10 +0200346 pass: hello_world.py (N.N sec)
347 skip: mo_mt_sms.py
348 skip: mo_sms.py
349 skip: test_error.py
350 skip: test_fail.py
351 skip: test_fail_raise.py
Pau Espin Pedrol30637302020-05-06 21:11:02 +0200352 skip: test_suite_params.py
Pau Espin Pedrolaab56922018-08-21 14:58:29 +0200353- test with scenario and modifiers
Pau Espin Pedrolaab56922018-08-21 14:58:29 +0200354tst test_suite: reserving resources in [PATH]/selftest/suite_test/test_work/state_dir ... [suite.py:[LINENR]]
355tst test_suite: DBG: {combining='resources'} [suite.py:[LINENR]]
356tst {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]]
357tst {combining_scenarios='resources', scenario='foo'}: [RESOURCE_DICT]
358tst test_suite: DBG: {combining='modifiers'} [suite.py:[LINENR]]
359tst {combining_scenarios='modifiers'}: DBG: {definition_conf={}} [test_suite↪{combining_scenarios='modifiers'}] [suite.py:[LINENR]]
360tst {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]]
361tst test_suite: Reserving 3 x bts (candidates: 6) [resource.py:[LINENR]]
Pau Espin Pedrol0d455042018-08-27 17:07:41 +0200362tst test_suite: DBG: Picked - _hash: a59640b8ba6a373552b24a6f9f65cadd2347bace
Pau Espin Pedrolaab56922018-08-21 14:58:29 +0200363 addr: 10.42.42.53
364 band: GSM-1800
365 ipa_unit_id: '7'
366 label: sysmoCell 5000
Pau Espin Pedrol0d455042018-08-27 17:07:41 +0200367 osmo_trx:
368 clock_reference: external
369 launch_trx: 'False'
370 trx_ip: 10.42.42.112
Pau Espin Pedrolaab56922018-08-21 14:58:29 +0200371 trx_list:
372 - max_power_red: '3'
373 nominal_power: '10'
374 - max_power_red: '0'
375 nominal_power: '12'
Pau Espin Pedrolaab56922018-08-21 14:58:29 +0200376 type: osmo-bts-trx
Pau Espin Pedrol0d455042018-08-27 17:07:41 +0200377- _hash: c2feabd082c36a1cdeccb9a5237dfff7dbadb009
Pau Espin Pedrolaab56922018-08-21 14:58:29 +0200378 addr: 10.42.42.53
379 band: GSM-1800
380 ipa_unit_id: '7'
381 label: sysmoCell 5000
Pau Espin Pedrol0d455042018-08-27 17:07:41 +0200382 osmo_trx:
383 clock_reference: external
384 launch_trx: 'False'
385 trx_ip: 10.42.42.112
Pau Espin Pedrolaab56922018-08-21 14:58:29 +0200386 trx_list:
387 - nominal_power: '10'
388 - max_power_red: '1'
389 nominal_power: '12'
Pau Espin Pedrolaab56922018-08-21 14:58:29 +0200390 type: osmo-bts-trx
391- _hash: 07d9c8aaa940b674efcbbabdd69f58a6ce4e94f9
392 addr: 10.42.42.114
393 band: GSM-1800
394 ipa_unit_id: '1'
395 label: sysmoBTS 1002
396 type: sysmo
397 [resource.py:[LINENR]]
398tst test_suite: Reserving 1 x ip_address (candidates: 3) [resource.py:[LINENR]]
399tst test_suite: DBG: Picked - _hash: cde1debf28f07f94f92c761b4b7c6bf35785ced4
400 addr: 10.42.42.1
401 [resource.py:[LINENR]]
402tst test_suite: Reserving 2 x modem (candidates: 16) [resource.py:[LINENR]]
403tst test_suite: DBG: Picked - _hash: 19c69e45aa090fb511446bd00797690aa82ff52f
404 imsi: '901700000007801'
405 ki: D620F48487B1B782DA55DF6717F08FF9
406 label: m7801
407 path: /wavecom_0
408- _hash: e1a46516a1fb493b2617ab14fc1693a9a45ec254
409 imsi: '901700000007802'
410 ki: 47FDB2D55CE6A10A85ABDAD034A5B7B3
411 label: m7802
412 path: /wavecom_1
413 [resource.py:[LINENR]]
Pau Espin Pedrol0d455042018-08-27 17:07:41 +0200414resources(test_suite)={'bts': [{'_hash': 'a59640b8ba6a373552b24a6f9f65cadd2347bace',
Pau Espin Pedrolaab56922018-08-21 14:58:29 +0200415 '_reserved_by': 'test_suite-[ID_NUM]-[ID_NUM]',
416 'addr': '10.42.42.53',
417 'band': 'GSM-1800',
418 'ipa_unit_id': '7',
419 'label': 'sysmoCell 5000',
Pau Espin Pedrol0d455042018-08-27 17:07:41 +0200420 'osmo_trx': {'clock_reference': 'external',
421 'launch_trx': 'False',
422 'trx_ip': '10.42.42.112'},
Pau Espin Pedrolaab56922018-08-21 14:58:29 +0200423 'trx_list': [{'max_power_red': '3', 'nominal_power': '20'},
424 {'max_power_red': '0', 'nominal_power': '20'}],
Pau Espin Pedrolaab56922018-08-21 14:58:29 +0200425 'type': 'osmo-bts-trx'},
Pau Espin Pedrol0d455042018-08-27 17:07:41 +0200426 {'_hash': 'c2feabd082c36a1cdeccb9a5237dfff7dbadb009',
Pau Espin Pedrolaab56922018-08-21 14:58:29 +0200427 '_reserved_by': 'test_suite-[ID_NUM]-[ID_NUM]',
428 'addr': '10.42.42.53',
429 'band': 'GSM-1800',
430 'ipa_unit_id': '7',
431 'label': 'sysmoCell 5000',
Pau Espin Pedrol0d455042018-08-27 17:07:41 +0200432 'osmo_trx': {'clock_reference': 'external',
433 'launch_trx': 'False',
434 'trx_ip': '10.42.42.112'},
Pau Espin Pedrolaab56922018-08-21 14:58:29 +0200435 'trx_list': [{'nominal_power': '20'},
436 {'max_power_red': '1', 'nominal_power': '20'}],
Pau Espin Pedrolaab56922018-08-21 14:58:29 +0200437 'type': 'osmo-bts-trx'},
438 {'_hash': '07d9c8aaa940b674efcbbabdd69f58a6ce4e94f9',
439 '_reserved_by': 'test_suite-[ID_NUM]-[ID_NUM]',
440 'addr': '10.42.42.114',
441 'band': 'GSM-1800',
442 'ipa_unit_id': '1',
443 'label': 'sysmoBTS 1002',
444 'type': 'sysmo'}],
445 'ip_address': [{'_hash': 'cde1debf28f07f94f92c761b4b7c6bf35785ced4',
446 '_reserved_by': 'test_suite-[ID_NUM]-[ID_NUM]',
447 'addr': '10.42.42.1'}],
448 'modem': [{'_hash': '19c69e45aa090fb511446bd00797690aa82ff52f',
449 '_reserved_by': 'test_suite-[ID_NUM]-[ID_NUM]',
450 'imsi': '901700000007801',
451 'ki': 'D620F48487B1B782DA55DF6717F08FF9',
452 'label': 'm7801',
453 'path': '/wavecom_0'},
454 {'_hash': 'e1a46516a1fb493b2617ab14fc1693a9a45ec254',
455 '_reserved_by': 'test_suite-[ID_NUM]-[ID_NUM]',
456 'imsi': '901700000007802',
457 'ki': '47FDB2D55CE6A10A85ABDAD034A5B7B3',
458 'label': 'm7802',
459 'path': '/wavecom_1'}]}
460
461---------------------------------------------------------------------
462trial test_suite
463---------------------------------------------------------------------
464
465----------------------------------------------
466trial test_suite hello_world.py
467----------------------------------------------
468tst hello_world.py:[LINENR]: hello world [test_suitehello_world.py:[LINENR]] [hello_world.py:[LINENR]]
469tst hello_world.py:[LINENR]: I am 'test_suite' / 'hello_world.py:[LINENR]' [test_suitehello_world.py:[LINENR]] [hello_world.py:[LINENR]]
470tst hello_world.py:[LINENR]: one [test_suitehello_world.py:[LINENR]] [hello_world.py:[LINENR]]
471tst hello_world.py:[LINENR]: two [test_suitehello_world.py:[LINENR]] [hello_world.py:[LINENR]]
472tst hello_world.py:[LINENR]: three [test_suitehello_world.py:[LINENR]] [hello_world.py:[LINENR]]
473tst hello_world.py:[LINENR] Test passed (N.N sec) [test_suitehello_world.py] [test.py:[LINENR]]
474---------------------------------------------------------------------
475trial test_suite PASS
476---------------------------------------------------------------------
Pau Espin Pedrol30637302020-05-06 21:11:02 +0200477PASS: test_suite (pass: 1, skip: 6)
Pau Espin Pedrolaab56922018-08-21 14:58:29 +0200478 pass: hello_world.py (N.N sec)
479 skip: mo_mt_sms.py
480 skip: mo_sms.py
481 skip: test_error.py
482 skip: test_fail.py
483 skip: test_fail_raise.py
Pau Espin Pedrol30637302020-05-06 21:11:02 +0200484 skip: test_suite_params.py
485- test with suite-specific config
Pau Espin Pedrol30637302020-05-06 21:11:02 +0200486tst test_suite: reserving resources in [PATH]/selftest/suite_test/test_work/state_dir ... [suite.py:[LINENR]]
487tst test_suite: DBG: {combining='resources'} [suite.py:[LINENR]]
488tst {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]]
489tst {combining_scenarios='resources', scenario='foo'}: [RESOURCE_DICT]
490tst test_suite: DBG: {combining='modifiers'} [suite.py:[LINENR]]
491tst {combining_scenarios='modifiers'}: DBG: {definition_conf={}} [test_suite↪{combining_scenarios='modifiers'}] [suite.py:[LINENR]]
492tst {combining_scenarios='modifiers', scenario='foo'}: DBG: {conf={}, scenario='foo'} [test_suite↪{combining_scenarios='modifiers', scenario='foo'}] [suite.py:[LINENR]]
493tst test_suite: Reserving 3 x bts (candidates: 6) [resource.py:[LINENR]]
494tst test_suite: DBG: Picked - _hash: a59640b8ba6a373552b24a6f9f65cadd2347bace
495 addr: 10.42.42.53
496 band: GSM-1800
497 ipa_unit_id: '7'
498 label: sysmoCell 5000
499 osmo_trx:
500 clock_reference: external
501 launch_trx: 'False'
502 trx_ip: 10.42.42.112
503 trx_list:
504 - max_power_red: '3'
505 nominal_power: '10'
506 - max_power_red: '0'
507 nominal_power: '12'
508 type: osmo-bts-trx
509- _hash: c2feabd082c36a1cdeccb9a5237dfff7dbadb009
510 addr: 10.42.42.53
511 band: GSM-1800
512 ipa_unit_id: '7'
513 label: sysmoCell 5000
514 osmo_trx:
515 clock_reference: external
516 launch_trx: 'False'
517 trx_ip: 10.42.42.112
518 trx_list:
519 - nominal_power: '10'
520 - max_power_red: '1'
521 nominal_power: '12'
522 type: osmo-bts-trx
523- _hash: 07d9c8aaa940b674efcbbabdd69f58a6ce4e94f9
524 addr: 10.42.42.114
525 band: GSM-1800
526 ipa_unit_id: '1'
527 label: sysmoBTS 1002
528 type: sysmo
529 [resource.py:[LINENR]]
530tst test_suite: Reserving 1 x ip_address (candidates: 3) [resource.py:[LINENR]]
531tst test_suite: DBG: Picked - _hash: cde1debf28f07f94f92c761b4b7c6bf35785ced4
532 addr: 10.42.42.1
533 [resource.py:[LINENR]]
534tst test_suite: Reserving 2 x modem (candidates: 16) [resource.py:[LINENR]]
535tst test_suite: DBG: Picked - _hash: 19c69e45aa090fb511446bd00797690aa82ff52f
536 imsi: '901700000007801'
537 ki: D620F48487B1B782DA55DF6717F08FF9
538 label: m7801
539 path: /wavecom_0
540- _hash: e1a46516a1fb493b2617ab14fc1693a9a45ec254
541 imsi: '901700000007802'
542 ki: 47FDB2D55CE6A10A85ABDAD034A5B7B3
543 label: m7802
544 path: /wavecom_1
545 [resource.py:[LINENR]]
546resources(test_suite)={'bts': [{'_hash': 'a59640b8ba6a373552b24a6f9f65cadd2347bace',
547 '_reserved_by': 'test_suite-[ID_NUM]-[ID_NUM]',
548 'addr': '10.42.42.53',
549 'band': 'GSM-1800',
550 'ipa_unit_id': '7',
551 'label': 'sysmoCell 5000',
552 'osmo_trx': {'clock_reference': 'external',
553 'launch_trx': 'False',
554 'trx_ip': '10.42.42.112'},
555 'trx_list': [{'max_power_red': '3', 'nominal_power': '10'},
556 {'max_power_red': '0', 'nominal_power': '12'}],
557 'type': 'osmo-bts-trx'},
558 {'_hash': 'c2feabd082c36a1cdeccb9a5237dfff7dbadb009',
559 '_reserved_by': 'test_suite-[ID_NUM]-[ID_NUM]',
560 'addr': '10.42.42.53',
561 'band': 'GSM-1800',
562 'ipa_unit_id': '7',
563 'label': 'sysmoCell 5000',
564 'osmo_trx': {'clock_reference': 'external',
565 'launch_trx': 'False',
566 'trx_ip': '10.42.42.112'},
567 'trx_list': [{'nominal_power': '10'},
568 {'max_power_red': '1', 'nominal_power': '12'}],
569 'type': 'osmo-bts-trx'},
570 {'_hash': '07d9c8aaa940b674efcbbabdd69f58a6ce4e94f9',
571 '_reserved_by': 'test_suite-[ID_NUM]-[ID_NUM]',
572 'addr': '10.42.42.114',
573 'band': 'GSM-1800',
574 'ipa_unit_id': '1',
575 'label': 'sysmoBTS 1002',
576 'type': 'sysmo'}],
577 'ip_address': [{'_hash': 'cde1debf28f07f94f92c761b4b7c6bf35785ced4',
578 '_reserved_by': 'test_suite-[ID_NUM]-[ID_NUM]',
579 'addr': '10.42.42.1'}],
580 'modem': [{'_hash': '19c69e45aa090fb511446bd00797690aa82ff52f',
581 '_reserved_by': 'test_suite-[ID_NUM]-[ID_NUM]',
582 'imsi': '901700000007801',
583 'ki': 'D620F48487B1B782DA55DF6717F08FF9',
584 'label': 'm7801',
585 'path': '/wavecom_0'},
586 {'_hash': 'e1a46516a1fb493b2617ab14fc1693a9a45ec254',
587 '_reserved_by': 'test_suite-[ID_NUM]-[ID_NUM]',
588 'imsi': '901700000007802',
589 'ki': '47FDB2D55CE6A10A85ABDAD034A5B7B3',
590 'label': 'm7802',
591 'path': '/wavecom_1'}]}
592
593---------------------------------------------------------------------
594trial test_suite
595---------------------------------------------------------------------
596
597----------------------------------------------
598trial test_suite test_suite_params.py
599----------------------------------------------
600tst test_suite_params.py:[LINENR]: starting test [test_suitetest_suite_params.py:[LINENR]] [test_suite_params.py:[LINENR]]
601tst test_suite: DBG: {combining='config'} [suite.py:[LINENR]]
602tst {combining_scenarios='config'}: DBG: {definition_conf={}} [test_suite↪{combining_scenarios='config'}] [suite.py:[LINENR]]
603tst {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]]
604tst test_suite_params.py:[LINENR]: SPECIFIC SUITE CONFIG: {'some_suite_global_param': 'heyho', [test_suitetest_suite_params.py:[LINENR]] [test_suite_params.py:[LINENR]]
605tst test_suite_params.py:[LINENR]: 'test_suite_params': {'one_bool_parameter': 'true', [test_suitetest_suite_params.py:[LINENR]] [test_suite_params.py:[LINENR]]
606tst test_suite_params.py:[LINENR]: 'second_list_parameter': ['23', '45']}} [test_suitetest_suite_params.py:[LINENR]] [test_suite_params.py:[LINENR]]
607tst 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]]
608tst test_suite_params.py:[LINENR] Test passed (N.N sec) [test_suitetest_suite_params.py] [test.py:[LINENR]]
609---------------------------------------------------------------------
610trial test_suite PASS
611---------------------------------------------------------------------
612PASS: test_suite (pass: 1, skip: 6)
613 skip: hello_world.py
614 skip: mo_mt_sms.py
615 skip: mo_sms.py
616 skip: test_error.py
617 skip: test_fail.py
618 skip: test_fail_raise.py
619 pass: test_suite_params.py (N.N sec)
Pau Espin Pedrol166dc102020-06-04 18:44:42 +0200620- test with template overlay
621cnf suiteC: DBG: reading suite.conf [suite.py:[LINENR]]
622
623---------------------------------------------------------------------
624trial suiteC
625---------------------------------------------------------------------
626tst suiteC: reserving resources in [PATH]/selftest/suite_test/test_work/state_dir ... [suite.py:[LINENR]]
627tst suiteC: DBG: {combining='resources'} [suite.py:[LINENR]]
628tst {combining_scenarios='resources'}: DBG: {definition_conf={ip_address=[{'addr': '10.42.42.2'}]}} [suiteC↪{combining_scenarios='resources'}] [suite.py:[LINENR]]
629tst suiteC: DBG: {combining='modifiers'} [suite.py:[LINENR]]
630tst {combining_scenarios='modifiers'}: DBG: {definition_conf={}} [suiteC↪{combining_scenarios='modifiers'}] [suite.py:[LINENR]]
631tst suiteC: Reserving 1 x ip_address (candidates: 3) [resource.py:[LINENR]]
632tst suiteC: DBG: Picked - _hash: fd103b22c7cf2480d609150e06f4bbd92ac78d8c
633 addr: 10.42.42.2
634 [resource.py:[LINENR]]
635
636----------------------------------------------
637trial suiteC test_template_overlay.py
638----------------------------------------------
639tst 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 +0200640tst 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 +0200641tst test_template_overlay.py:[LINENR]: sucess: setting non-existing templates dir raised RuntimeError [suiteCtest_template_overlay.py:[LINENR]] [test_template_overlay.py:[LINENR]]
642tst test_template_overlay.py:[LINENR]: [suiteCtest_template_overlay.py:[LINENR]] [test_template_overlay.py:[LINENR]]
Pau Espin Pedrola4bb6d32020-06-11 16:14:47 +0200643tst 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 +0200644--- ReservedResources: DBG: requesting use of ip_address {specifics={}} [resource.py:[LINENR]]
645tst suiteC: Using 1 x ip_address (candidates: 1) [resource.py:[LINENR]]
646tst suiteC: DBG: Picked - _hash: fd103b22c7cf2480d609150e06f4bbd92ac78d8c
647 _reserved_by: suiteC-[ID_NUM]-[ID_NUM]
648 addr: 10.42.42.2
649 [resource.py:[LINENR]]
650--- ReservedResources: DBG: {available=1} [resource.py:[LINENR]]
651--- ReservedResources: DBG: {using={_hash='fd103b22c7cf2480d609150e06f4bbd92ac78d8c', _reserved_by='suiteC-[ID_NUM]-[ID_NUM]', addr='10.42.42.2'}} [resource.py:[LINENR]]
652tst test_template_overlay.py:[LINENR]: - Testing: original template [suiteCtest_template_overlay.py:[LINENR]] [test_template_overlay.py:[LINENR]]
653run 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]]
654tst suiteC: DBG: {combining='config'} [suite.py:[LINENR]]
655tst {combining_scenarios='config'}: DBG: {definition_conf={}} [suiteC↪{combining_scenarios='config'}] [suite.py:[LINENR]]
656run osmo-stp_10.42.42.2: DBG: STP CONFIG:
657{'stp': {'ip_address': {'_hash': 'fd103b22c7cf2480d609150e06f4bbd92ac78d8c',
658 '_reserved_by': 'suiteC-[ID_NUM]-[ID_NUM]',
659 '_used': True,
660 'addr': '10.42.42.2'}}} [suiteCtest_template_overlay.py:[LINENR]↪test_template_overlay.pyosmo-stp_10.42.42.2] [stp_osmo.py:[LINENR]]
661cnf Templates: DBG: rendering osmo-stp.cfg.tmpl [suiteCtest_template_overlay.py:[LINENR]↪test_template_overlay.pyTemplates] [template.py:[LINENR]]
662run osmo-stp_10.42.42.2: DBG: ! Configuration rendered by osmo-gsm-tester
663log stderr
664 logging filter all 1
665 logging color 1
666 logging print category 1
667 logging print extended-timestamp 1
668 logging level set-all debug
669line vty
670 no login
671 bind 10.42.42.2
672!ctrl
673! bind 10.42.42.2
674cs7 instance 0
675 xua rkm routing-key-allocation dynamic-permitted
676 listen m3ua 2905
677 accept-asp-connections dynamic-permitted
678 local-ip 10.42.42.2
679 [suiteCtest_template_overlay.py:[LINENR]↪test_template_overlay.pyosmo-stp_10.42.42.2] [stp_osmo.py:[LINENR]]
680tst test_template_overlay.py:[LINENR]: - Testing:overlay template [suiteCtest_template_overlay.py:[LINENR]] [test_template_overlay.py:[LINENR]]
681tst 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]]
682run 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]]
683run osmo-stp_10.42.42.2: DBG: STP CONFIG:
684{'stp': {'ip_address': {'_hash': 'fd103b22c7cf2480d609150e06f4bbd92ac78d8c',
685 '_reserved_by': 'suiteC-[ID_NUM]-[ID_NUM]',
686 '_used': True,
687 'addr': '10.42.42.2'}}} [suiteCtest_template_overlay.py:[LINENR]↪test_template_overlay.pyosmo-stp_10.42.42.2] [stp_osmo.py:[LINENR]]
688cnf Templates: DBG: rendering osmo-stp.cfg.tmpl [suiteCtest_template_overlay.py:[LINENR]↪test_template_overlay.pyTemplates] [template.py:[LINENR]]
689run osmo-stp_10.42.42.2: DBG: ! Configuration rendered by osmo-gsm-tester
690log stderr
691 logging filter all 1
692 logging color 1
693 logging print category 1
694 logging print extended-timestamp 1
695 logging level set-all debug
696line vty
697 no login
698 bind 10.42.42.2
699!ctrl
700! bind 10.42.42.2
701cs7 instance 0
702 xua rkm routing-key-allocation dynamic-permitted
703 listen m3ua 2905
704 accept-asp-connections dynamic-permitted
705 local-ip 10.42.42.2
706 [suiteCtest_template_overlay.py:[LINENR]↪test_template_overlay.pyosmo-stp_10.42.42.2] [stp_osmo.py:[LINENR]]
707tst 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 +0200708tst 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 +0200709run 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]]
710run osmo-stp_10.42.42.2: DBG: STP CONFIG:
711{'stp': {'ip_address': {'_hash': 'fd103b22c7cf2480d609150e06f4bbd92ac78d8c',
712 '_reserved_by': 'suiteC-[ID_NUM]-[ID_NUM]',
713 '_used': True,
714 'addr': '10.42.42.2'}}} [suiteCtest_template_overlay.py:[LINENR]↪test_template_overlay.pyosmo-stp_10.42.42.2] [stp_osmo.py:[LINENR]]
715cnf Templates: DBG: rendering osmo-stp.cfg.tmpl [suiteCtest_template_overlay.py:[LINENR]↪test_template_overlay.pyTemplates] [template.py:[LINENR]]
716run osmo-stp_10.42.42.2: DBG: ! Overlay Config file genreated by test
717line vty
718 no login
719 bind 10.42.42.2
720 [suiteCtest_template_overlay.py:[LINENR]↪test_template_overlay.pyosmo-stp_10.42.42.2] [stp_osmo.py:[LINENR]]
721tst test_template_overlay.py:[LINENR] Test passed (N.N sec) [suiteCtest_template_overlay.py] [test.py:[LINENR]]
722---------------------------------------------------------------------
723trial suiteC PASS
724---------------------------------------------------------------------
725PASS: suiteC (pass: 1)
726 pass: test_template_overlay.py (N.N sec)
Neels Hofmeyr3531a192017-03-28 14:30:28 +0200727
728- graceful exit.