blob: 9f60b706e96bf0881383aca64940ee8cb71919a0 [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---------------------------------------------------------------------
Neels Hofmeyr9596b212020-12-02 09:39:01 +0100171PASS: test_suite (pass: 1, skip: 8)
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
Neels Hofmeyr9596b212020-12-02 09:39:01 +0100178 skip: test_report_fragment.py
Pau Espin Pedrol30637302020-05-06 21:11:02 +0200179 skip: test_suite_params.py
Pau Espin Pedrolc3cf6822020-06-12 17:54:55 +0200180 skip: test_timeout.py
Neels Hofmeyr9596b212020-12-02 09:39:01 +0100181- run report fragment test
182
183---------------------------------------------------------------------
184trial test_suite
185---------------------------------------------------------------------
186
187----------------------------------------------
188trial test_suite test_report_fragment.py
189----------------------------------------------
190tst test_report_fragment.py:[LINENR]: a step in the first fragment [test_suitetest_report_fragment.py:[LINENR]]
191tst test_report_fragment.py:[LINENR]: ----- Report fragment: test_suite/test_report_fragment.py/fragment1: pass (N.Ns) [test_suitetest_report_fragment.py:[LINENR]]
192tst test_report_fragment.py:[LINENR]: a step in the second fragment [test_suitetest_report_fragment.py:[LINENR]]
193tst test_report_fragment.py:[LINENR]: ----- Report fragment: test_suite/test_report_fragment.py/fragment2: pass (N.Ns) [test_suitetest_report_fragment.py:[LINENR]]
194tst test_report_fragment.py:[LINENR]: a step in the third fragment [test_suitetest_report_fragment.py:[LINENR]]
195tst test_report_fragment.py:[LINENR]: ----- Report fragment: test_suite/test_report_fragment.py/fragment3: FAIL (N.Ns) [test_suitetest_report_fragment.py:[LINENR]]
196tst test_report_fragment.py:[LINENR]: ERR: Exception: failure in the third fragment [test_suitetest_report_fragment.py:[LINENR]]
197tst test_report_fragment.py:[LINENR]: Test FAILED (N.N sec) [test_suitetest_report_fragment.py:[LINENR]]
198---------------------------------------------------------------------
199trial test_suite FAIL
200---------------------------------------------------------------------
201FAIL: test_suite (fail: 1, skip: 8)
202 skip: hello_world.py (N.N sec)
203 skip: mo_mt_sms.py
204 skip: mo_sms.py
205 skip: test_error.py
206 skip: test_fail.py
207 skip: test_fail_raise.py
208 FAIL: test_report_fragment.py (N.N sec) Exception: failure in the third fragment
209 skip: test_suite_params.py
210 skip: test_timeout.py
211
212
213################################### junit XML:
214<testsuite disabled="8" errors="0" failures="2" hostname="localhost" name="test_suite" skipped="8" tests="9" time="[VAL]" timestamp="[TIMESTAMP]"><testcase classname="test_suite" name="hello_world.py" time="[VAL]"><skipped /><system-out>
215----------------------------------------------
216trial test_suite hello_world.py
217----------------------------------------------
218[TIMESTAMP] tst hello_world.py:[LINENR]: hello world
219[TIMESTAMP] tst hello_world.py:[LINENR]: I am 'test_suite' / 'hello_world.py'
220[TIMESTAMP] tst hello_world.py:[LINENR]: one
221two
222three
223[TIMESTAMP] tst hello_world.py:[LINENR] Test passed (N.N sec)
224</system-out></testcase><testcase classname="test_suite" name="mo_mt_sms.py" time="[VAL]"><skipped /><system-out>test log file not available</system-out></testcase><testcase classname="test_suite" name="mo_sms.py" time="[VAL]"><skipped /><system-out>test log file not available</system-out></testcase><testcase classname="test_suite" name="test_error.py" time="[VAL]"><skipped /><system-out>test log file not available</system-out></testcase><testcase classname="test_suite" name="test_fail.py" time="[VAL]"><skipped /><system-out>test log file not available</system-out></testcase><testcase classname="test_suite" name="test_fail_raise.py" time="[VAL]"><skipped /><system-out>test log file not available</system-out></testcase><testcase classname="test_suite" name="test_report_fragment.py" time="[VAL]"><failure type="Exception">failure in the third fragment</failure><system-err>[BACKTRACE]
225raise Exception('failure in the third fragment')
226
227Exception: failure in the third fragment
228</system-out></testcase><testcase classname="test_suite" name="test_suite_params.py" time="[VAL]"><skipped /><system-out>test log file not available</system-out></testcase><testcase classname="test_suite" name="test_timeout.py" time="[VAL]"><skipped /><system-out>test log file not available</system-out></testcase></testsuite>
229###################################
230
231
Neels Hofmeyr3531a192017-03-28 14:30:28 +0200232
233- a test with an error
Neels Hofmeyr6ccda112017-06-06 19:41:17 +0200234
235---------------------------------------------------------------------
236trial test_suite
237---------------------------------------------------------------------
238
239----------------------------------------------
240trial test_suite test_error.py
241----------------------------------------------
Neels Hofmeyr081e89f2020-12-04 17:25:23 +0100242tst 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 +0200243tst 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 +0100244tst test_error.py:[LINENR]: Test FAILED (N.N sec) [test_suitetest_error.py:[LINENR]] [test.py:[LINENR]]
Neels Hofmeyr6ccda112017-06-06 19:41:17 +0200245---------------------------------------------------------------------
246trial test_suite FAIL
247---------------------------------------------------------------------
Neels Hofmeyr9596b212020-12-02 09:39:01 +0100248FAIL: test_suite (fail: 1, skip: 8)
Neels Hofmeyr6ccda112017-06-06 19:41:17 +0200249 skip: hello_world.py (N.N sec)
250 skip: mo_mt_sms.py
251 skip: mo_sms.py
Neels Hofmeyr1a7a3f02017-06-10 01:18:27 +0200252 FAIL: test_error.py (N.N sec) AssertionError: test_error.py:[LINENR]: assert False
Neels Hofmeyr6ccda112017-06-06 19:41:17 +0200253 skip: test_fail.py
254 skip: test_fail_raise.py
Neels Hofmeyr9596b212020-12-02 09:39:01 +0100255 skip: test_report_fragment.py (N.N sec)
Pau Espin Pedrol30637302020-05-06 21:11:02 +0200256 skip: test_suite_params.py
Pau Espin Pedrolc3cf6822020-06-12 17:54:55 +0200257 skip: test_timeout.py
Pau Espin Pedrol0ffb4142017-05-15 18:24:35 +0200258
259- a test with a failure
Neels Hofmeyr6ccda112017-06-06 19:41:17 +0200260
261---------------------------------------------------------------------
262trial test_suite
263---------------------------------------------------------------------
264
265----------------------------------------------
266trial test_suite test_fail.py
267----------------------------------------------
Neels Hofmeyr081e89f2020-12-04 17:25:23 +0100268tst 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 +0200269tst 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 +0100270tst test_fail.py:[LINENR]: Test FAILED (N.N sec) [test_suitetest_fail.py:[LINENR]] [test.py:[LINENR]]
Neels Hofmeyr6ccda112017-06-06 19:41:17 +0200271---------------------------------------------------------------------
272trial test_suite FAIL
273---------------------------------------------------------------------
Neels Hofmeyr9596b212020-12-02 09:39:01 +0100274FAIL: test_suite (fail: 1, skip: 8)
Neels Hofmeyr6ccda112017-06-06 19:41:17 +0200275 skip: hello_world.py (N.N sec)
276 skip: mo_mt_sms.py
277 skip: mo_sms.py
278 skip: test_error.py (N.N sec)
279 FAIL: test_fail.py (N.N sec) EpicFail: This failure is expected
280 skip: test_fail_raise.py
Neels Hofmeyr9596b212020-12-02 09:39:01 +0100281 skip: test_report_fragment.py (N.N sec)
Pau Espin Pedrol30637302020-05-06 21:11:02 +0200282 skip: test_suite_params.py
Pau Espin Pedrolc3cf6822020-06-12 17:54:55 +0200283 skip: test_timeout.py
Pau Espin Pedrol0ffb4142017-05-15 18:24:35 +0200284
285- a test with a raised failure
Neels Hofmeyr6ccda112017-06-06 19:41:17 +0200286
287---------------------------------------------------------------------
288trial test_suite
289---------------------------------------------------------------------
290
291----------------------------------------------
292trial test_suite test_fail_raise.py
293----------------------------------------------
Neels Hofmeyr1a7a3f02017-06-10 01:18:27 +0200294tst 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 +0100295tst 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 +0200296---------------------------------------------------------------------
297trial test_suite FAIL
298---------------------------------------------------------------------
Neels Hofmeyr9596b212020-12-02 09:39:01 +0100299FAIL: test_suite (fail: 1, skip: 8)
Neels Hofmeyr6ccda112017-06-06 19:41:17 +0200300 skip: hello_world.py (N.N sec)
301 skip: mo_mt_sms.py
302 skip: mo_sms.py
303 skip: test_error.py (N.N sec)
304 skip: test_fail.py (N.N sec)
Neels Hofmeyr1a7a3f02017-06-10 01:18:27 +0200305 FAIL: test_fail_raise.py (N.N sec) ExpectedFail: This failure is expected
Neels Hofmeyr9596b212020-12-02 09:39:01 +0100306 skip: test_report_fragment.py (N.N sec)
Pau Espin Pedrol30637302020-05-06 21:11:02 +0200307 skip: test_suite_params.py
Pau Espin Pedrolc3cf6822020-06-12 17:54:55 +0200308 skip: test_timeout.py
Pau Espin Pedrol0b302792017-09-10 16:33:10 +0200309- test with half empty scenario
Pau Espin Pedrola75f85a2020-06-12 17:13:26 +0200310tst test_suite: DBG: {combining='config'} [suite.py:[LINENR]]
Pau Espin Pedrolc3cf6822020-06-12 17:54:55 +0200311tst {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 +0200312tst {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 +0200313
314---------------------------------------------------------------------
315trial test_suite
316---------------------------------------------------------------------
317tst test_suite: reserving resources in [PATH]/selftest/suite_test/test_work/state_dir ... [suite.py:[LINENR]]
318tst test_suite: DBG: {combining='resources'} [suite.py:[LINENR]]
Pau Espin Pedrolcbc72422017-09-14 15:55:49 +0200319tst {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 +0200320tst {combining_scenarios='resources', scenario='foo'}: [RESOURCE_DICT]
Pau Espin Pedrolaab56922018-08-21 14:58:29 +0200321tst test_suite: DBG: {combining='modifiers'} [suite.py:[LINENR]]
322tst {combining_scenarios='modifiers'}: DBG: {definition_conf={}} [test_suite↪{combining_scenarios='modifiers'}] [suite.py:[LINENR]]
323tst {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 +0100324tst test_suite: Verifying 3 x bts (candidates: 6) [resource.py:[LINENR]]
325tst test_suite: DBG: Picked - _hash: a59640b8ba6a373552b24a6f9f65cadd2347bace
326 addr: 10.42.42.53
327 band: GSM-1800
328 ipa_unit_id: '7'
329 label: sysmoCell 5000
330 osmo_trx:
331 clock_reference: external
332 launch_trx: 'False'
333 trx_ip: 10.42.42.112
334 trx_list:
335 - max_power_red: '3'
336 nominal_power: '10'
337 - max_power_red: '0'
338 nominal_power: '12'
339 type: osmo-bts-trx
340- _hash: c2feabd082c36a1cdeccb9a5237dfff7dbadb009
341 addr: 10.42.42.53
342 band: GSM-1800
343 ipa_unit_id: '7'
344 label: sysmoCell 5000
345 osmo_trx:
346 clock_reference: external
347 launch_trx: 'False'
348 trx_ip: 10.42.42.112
349 trx_list:
350 - nominal_power: '10'
351 - max_power_red: '1'
352 nominal_power: '12'
353 type: osmo-bts-trx
354- _hash: 07d9c8aaa940b674efcbbabdd69f58a6ce4e94f9
355 addr: 10.42.42.114
356 band: GSM-1800
357 ipa_unit_id: '1'
358 label: sysmoBTS 1002
359 type: sysmo
360 [resource.py:[LINENR]]
361tst test_suite: Verifying 1 x ip_address (candidates: 3) [resource.py:[LINENR]]
362tst test_suite: DBG: Picked - _hash: cde1debf28f07f94f92c761b4b7c6bf35785ced4
363 addr: 10.42.42.1
364 [resource.py:[LINENR]]
365tst test_suite: Verifying 2 x modem (candidates: 16) [resource.py:[LINENR]]
366tst test_suite: DBG: Picked - _hash: 19c69e45aa090fb511446bd00797690aa82ff52f
367 imsi: '901700000007801'
368 ki: D620F48487B1B782DA55DF6717F08FF9
369 label: m7801
370 path: /wavecom_0
371- _hash: e1a46516a1fb493b2617ab14fc1693a9a45ec254
372 imsi: '901700000007802'
373 ki: 47FDB2D55CE6A10A85ABDAD034A5B7B3
374 label: m7802
375 path: /wavecom_1
376 [resource.py:[LINENR]]
377tst 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 +0200378tst test_suite: Reserving 3 x bts (candidates: 6) [resource.py:[LINENR]]
Pau Espin Pedrol0d455042018-08-27 17:07:41 +0200379tst test_suite: DBG: Picked - _hash: a59640b8ba6a373552b24a6f9f65cadd2347bace
Pau Espin Pedrolcbc72422017-09-14 15:55:49 +0200380 addr: 10.42.42.53
381 band: GSM-1800
382 ipa_unit_id: '7'
383 label: sysmoCell 5000
Pau Espin Pedrol0d455042018-08-27 17:07:41 +0200384 osmo_trx:
385 clock_reference: external
386 launch_trx: 'False'
387 trx_ip: 10.42.42.112
Pau Espin Pedrolcbc72422017-09-14 15:55:49 +0200388 trx_list:
389 - max_power_red: '3'
390 nominal_power: '10'
391 - max_power_red: '0'
392 nominal_power: '12'
Pau Espin Pedrolcbc72422017-09-14 15:55:49 +0200393 type: osmo-bts-trx
Pau Espin Pedrol0d455042018-08-27 17:07:41 +0200394- _hash: c2feabd082c36a1cdeccb9a5237dfff7dbadb009
Pau Espin Pedrolcbc72422017-09-14 15:55:49 +0200395 addr: 10.42.42.53
396 band: GSM-1800
397 ipa_unit_id: '7'
398 label: sysmoCell 5000
Pau Espin Pedrol0d455042018-08-27 17:07:41 +0200399 osmo_trx:
400 clock_reference: external
401 launch_trx: 'False'
402 trx_ip: 10.42.42.112
Pau Espin Pedrolcbc72422017-09-14 15:55:49 +0200403 trx_list:
404 - nominal_power: '10'
405 - max_power_red: '1'
406 nominal_power: '12'
Pau Espin Pedrolcbc72422017-09-14 15:55:49 +0200407 type: osmo-bts-trx
408- _hash: 07d9c8aaa940b674efcbbabdd69f58a6ce4e94f9
Pau Espin Pedrol0b302792017-09-10 16:33:10 +0200409 addr: 10.42.42.114
410 band: GSM-1800
411 ipa_unit_id: '1'
412 label: sysmoBTS 1002
413 type: sysmo
Pau Espin Pedrol0b302792017-09-10 16:33:10 +0200414 [resource.py:[LINENR]]
415tst test_suite: Reserving 1 x ip_address (candidates: 3) [resource.py:[LINENR]]
416tst test_suite: DBG: Picked - _hash: cde1debf28f07f94f92c761b4b7c6bf35785ced4
417 addr: 10.42.42.1
418 [resource.py:[LINENR]]
419tst test_suite: Reserving 2 x modem (candidates: 16) [resource.py:[LINENR]]
420tst test_suite: DBG: Picked - _hash: 19c69e45aa090fb511446bd00797690aa82ff52f
421 imsi: '901700000007801'
422 ki: D620F48487B1B782DA55DF6717F08FF9
423 label: m7801
424 path: /wavecom_0
425- _hash: e1a46516a1fb493b2617ab14fc1693a9a45ec254
426 imsi: '901700000007802'
427 ki: 47FDB2D55CE6A10A85ABDAD034A5B7B3
428 label: m7802
429 path: /wavecom_1
430 [resource.py:[LINENR]]
Pau Espin Pedrol600c7992020-11-09 21:17:51 +0100431tst 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 +0100432tst test_suite: RESERVED RESOURCES for test_suite:
433bts
434 sysmoCell 5000
435 sysmoCell 5000
436 sysmoBTS 1002
437ip_address
438 10.42.42.1
439modem
440 m7801
441 m7802 [suite.py:[LINENR]]
Pau Espin Pedrol0b302792017-09-10 16:33:10 +0200442
443----------------------------------------------
444trial test_suite hello_world.py
445----------------------------------------------
446tst hello_world.py:[LINENR]: hello world [test_suitehello_world.py:[LINENR]] [hello_world.py:[LINENR]]
Neels Hofmeyr081e89f2020-12-04 17:25:23 +0100447tst 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 +0100448tst hello_world.py:[LINENR]: one
449two
450three [test_suitehello_world.py:[LINENR]] [hello_world.py:[LINENR]]
Pau Espin Pedrolfd5de3d2017-11-09 14:26:35 +0100451tst hello_world.py:[LINENR] Test passed (N.N sec) [test_suitehello_world.py] [test.py:[LINENR]]
Pau Espin Pedrol0b302792017-09-10 16:33:10 +0200452---------------------------------------------------------------------
453trial test_suite PASS
454---------------------------------------------------------------------
Neels Hofmeyr9596b212020-12-02 09:39:01 +0100455PASS: test_suite (pass: 1, skip: 8)
Pau Espin Pedrol0b302792017-09-10 16:33:10 +0200456 pass: hello_world.py (N.N sec)
457 skip: mo_mt_sms.py
458 skip: mo_sms.py
459 skip: test_error.py
460 skip: test_fail.py
461 skip: test_fail_raise.py
Neels Hofmeyr9596b212020-12-02 09:39:01 +0100462 skip: test_report_fragment.py
Pau Espin Pedrol30637302020-05-06 21:11:02 +0200463 skip: test_suite_params.py
Pau Espin Pedrolc3cf6822020-06-12 17:54:55 +0200464 skip: test_timeout.py
Pau Espin Pedrol0b302792017-09-10 16:33:10 +0200465- test with scenario
Pau Espin Pedrola75f85a2020-06-12 17:13:26 +0200466tst test_suite: DBG: {combining='config'} [suite.py:[LINENR]]
Pau Espin Pedrolc3cf6822020-06-12 17:54:55 +0200467tst {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 +0200468tst {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 +0200469
470---------------------------------------------------------------------
471trial test_suite
472---------------------------------------------------------------------
473tst test_suite: reserving resources in [PATH]/selftest/suite_test/test_work/state_dir ... [suite.py:[LINENR]]
474tst test_suite: DBG: {combining='resources'} [suite.py:[LINENR]]
Pau Espin Pedrolcbc72422017-09-14 15:55:49 +0200475tst {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 +0200476tst {combining_scenarios='resources', scenario='foo'}: [RESOURCE_DICT]
Pau Espin Pedrolaab56922018-08-21 14:58:29 +0200477tst test_suite: DBG: {combining='modifiers'} [suite.py:[LINENR]]
478tst {combining_scenarios='modifiers'}: DBG: {definition_conf={}} [test_suite↪{combining_scenarios='modifiers'}] [suite.py:[LINENR]]
479tst {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 +0100480tst test_suite: Verifying 3 x bts (candidates: 6) [resource.py:[LINENR]]
481tst test_suite: DBG: Picked - _hash: a59640b8ba6a373552b24a6f9f65cadd2347bace
482 addr: 10.42.42.53
483 band: GSM-1800
484 ipa_unit_id: '7'
485 label: sysmoCell 5000
486 osmo_trx:
487 clock_reference: external
488 launch_trx: 'False'
489 trx_ip: 10.42.42.112
490 trx_list:
491 - max_power_red: '3'
492 nominal_power: '10'
493 - max_power_red: '0'
494 nominal_power: '12'
495 type: osmo-bts-trx
496- _hash: c2feabd082c36a1cdeccb9a5237dfff7dbadb009
497 addr: 10.42.42.53
498 band: GSM-1800
499 ipa_unit_id: '7'
500 label: sysmoCell 5000
501 osmo_trx:
502 clock_reference: external
503 launch_trx: 'False'
504 trx_ip: 10.42.42.112
505 trx_list:
506 - nominal_power: '10'
507 - max_power_red: '1'
508 nominal_power: '12'
509 type: osmo-bts-trx
510- _hash: 07d9c8aaa940b674efcbbabdd69f58a6ce4e94f9
511 addr: 10.42.42.114
512 band: GSM-1800
513 ipa_unit_id: '1'
514 label: sysmoBTS 1002
515 type: sysmo
516 [resource.py:[LINENR]]
517tst test_suite: Verifying 1 x ip_address (candidates: 3) [resource.py:[LINENR]]
518tst test_suite: DBG: Picked - _hash: cde1debf28f07f94f92c761b4b7c6bf35785ced4
519 addr: 10.42.42.1
520 [resource.py:[LINENR]]
521tst test_suite: Verifying 2 x modem (candidates: 16) [resource.py:[LINENR]]
522tst test_suite: DBG: Picked - _hash: 19c69e45aa090fb511446bd00797690aa82ff52f
523 imsi: '901700000007801'
524 ki: D620F48487B1B782DA55DF6717F08FF9
525 label: m7801
526 path: /wavecom_0
527- _hash: e1a46516a1fb493b2617ab14fc1693a9a45ec254
528 imsi: '901700000007802'
529 ki: 47FDB2D55CE6A10A85ABDAD034A5B7B3
530 label: m7802
531 path: /wavecom_1
532 [resource.py:[LINENR]]
533tst 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 +0200534tst test_suite: Reserving 3 x bts (candidates: 6) [resource.py:[LINENR]]
Pau Espin Pedrol0d455042018-08-27 17:07:41 +0200535tst test_suite: DBG: Picked - _hash: a59640b8ba6a373552b24a6f9f65cadd2347bace
Pau Espin Pedrol0b302792017-09-10 16:33:10 +0200536 addr: 10.42.42.53
537 band: GSM-1800
538 ipa_unit_id: '7'
539 label: sysmoCell 5000
Pau Espin Pedrol0d455042018-08-27 17:07:41 +0200540 osmo_trx:
541 clock_reference: external
542 launch_trx: 'False'
543 trx_ip: 10.42.42.112
Pau Espin Pedrol0b302792017-09-10 16:33:10 +0200544 trx_list:
Pau Espin Pedrol58475512017-09-14 15:33:15 +0200545 - max_power_red: '3'
546 nominal_power: '10'
547 - max_power_red: '0'
548 nominal_power: '12'
Pau Espin Pedrol0b302792017-09-10 16:33:10 +0200549 type: osmo-bts-trx
Pau Espin Pedrol0d455042018-08-27 17:07:41 +0200550- _hash: c2feabd082c36a1cdeccb9a5237dfff7dbadb009
Pau Espin Pedrolcbc72422017-09-14 15:55:49 +0200551 addr: 10.42.42.53
552 band: GSM-1800
553 ipa_unit_id: '7'
554 label: sysmoCell 5000
Pau Espin Pedrol0d455042018-08-27 17:07:41 +0200555 osmo_trx:
556 clock_reference: external
557 launch_trx: 'False'
558 trx_ip: 10.42.42.112
Pau Espin Pedrolcbc72422017-09-14 15:55:49 +0200559 trx_list:
560 - nominal_power: '10'
561 - max_power_red: '1'
562 nominal_power: '12'
Pau Espin Pedrolcbc72422017-09-14 15:55:49 +0200563 type: osmo-bts-trx
Pau Espin Pedrol0b302792017-09-10 16:33:10 +0200564- _hash: 07d9c8aaa940b674efcbbabdd69f58a6ce4e94f9
565 addr: 10.42.42.114
566 band: GSM-1800
567 ipa_unit_id: '1'
568 label: sysmoBTS 1002
569 type: sysmo
570 [resource.py:[LINENR]]
571tst test_suite: Reserving 1 x ip_address (candidates: 3) [resource.py:[LINENR]]
572tst test_suite: DBG: Picked - _hash: cde1debf28f07f94f92c761b4b7c6bf35785ced4
573 addr: 10.42.42.1
574 [resource.py:[LINENR]]
575tst test_suite: Reserving 2 x modem (candidates: 16) [resource.py:[LINENR]]
576tst test_suite: DBG: Picked - _hash: 19c69e45aa090fb511446bd00797690aa82ff52f
577 imsi: '901700000007801'
578 ki: D620F48487B1B782DA55DF6717F08FF9
579 label: m7801
580 path: /wavecom_0
581- _hash: e1a46516a1fb493b2617ab14fc1693a9a45ec254
582 imsi: '901700000007802'
583 ki: 47FDB2D55CE6A10A85ABDAD034A5B7B3
584 label: m7802
585 path: /wavecom_1
586 [resource.py:[LINENR]]
Pau Espin Pedrol600c7992020-11-09 21:17:51 +0100587tst 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 +0100588tst test_suite: RESERVED RESOURCES for test_suite:
589bts
590 sysmoCell 5000
591 sysmoCell 5000
592 sysmoBTS 1002
593ip_address
594 10.42.42.1
595modem
596 m7801
597 m7802 [suite.py:[LINENR]]
Pau Espin Pedrol0b302792017-09-10 16:33:10 +0200598
599----------------------------------------------
600trial test_suite hello_world.py
601----------------------------------------------
602tst hello_world.py:[LINENR]: hello world [test_suitehello_world.py:[LINENR]] [hello_world.py:[LINENR]]
Neels Hofmeyr081e89f2020-12-04 17:25:23 +0100603tst 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 +0100604tst hello_world.py:[LINENR]: one
605two
606three [test_suitehello_world.py:[LINENR]] [hello_world.py:[LINENR]]
Pau Espin Pedrolfd5de3d2017-11-09 14:26:35 +0100607tst hello_world.py:[LINENR] Test passed (N.N sec) [test_suitehello_world.py] [test.py:[LINENR]]
Pau Espin Pedrol0b302792017-09-10 16:33:10 +0200608---------------------------------------------------------------------
609trial test_suite PASS
610---------------------------------------------------------------------
Neels Hofmeyr9596b212020-12-02 09:39:01 +0100611PASS: test_suite (pass: 1, skip: 8)
Pau Espin Pedrol0b302792017-09-10 16:33:10 +0200612 pass: hello_world.py (N.N sec)
613 skip: mo_mt_sms.py
614 skip: mo_sms.py
615 skip: test_error.py
616 skip: test_fail.py
617 skip: test_fail_raise.py
Neels Hofmeyr9596b212020-12-02 09:39:01 +0100618 skip: test_report_fragment.py
Pau Espin Pedrol30637302020-05-06 21:11:02 +0200619 skip: test_suite_params.py
Pau Espin Pedrolc3cf6822020-06-12 17:54:55 +0200620 skip: test_timeout.py
Pau Espin Pedrolaab56922018-08-21 14:58:29 +0200621- test with scenario and modifiers
Pau Espin Pedrola75f85a2020-06-12 17:13:26 +0200622tst test_suite: DBG: {combining='config'} [suite.py:[LINENR]]
Pau Espin Pedrolc3cf6822020-06-12 17:54:55 +0200623tst {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 +0200624tst {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 +0200625tst test_suite: reserving resources in [PATH]/selftest/suite_test/test_work/state_dir ... [suite.py:[LINENR]]
626tst test_suite: DBG: {combining='resources'} [suite.py:[LINENR]]
627tst {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]]
628tst {combining_scenarios='resources', scenario='foo'}: [RESOURCE_DICT]
629tst test_suite: DBG: {combining='modifiers'} [suite.py:[LINENR]]
630tst {combining_scenarios='modifiers'}: DBG: {definition_conf={}} [test_suite↪{combining_scenarios='modifiers'}] [suite.py:[LINENR]]
631tst {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 +0100632tst test_suite: Verifying 3 x bts (candidates: 6) [resource.py:[LINENR]]
633tst test_suite: DBG: Picked - _hash: a59640b8ba6a373552b24a6f9f65cadd2347bace
634 addr: 10.42.42.53
635 band: GSM-1800
636 ipa_unit_id: '7'
637 label: sysmoCell 5000
638 osmo_trx:
639 clock_reference: external
640 launch_trx: 'False'
641 trx_ip: 10.42.42.112
642 trx_list:
643 - max_power_red: '3'
644 nominal_power: '10'
645 - max_power_red: '0'
646 nominal_power: '12'
647 type: osmo-bts-trx
648- _hash: c2feabd082c36a1cdeccb9a5237dfff7dbadb009
649 addr: 10.42.42.53
650 band: GSM-1800
651 ipa_unit_id: '7'
652 label: sysmoCell 5000
653 osmo_trx:
654 clock_reference: external
655 launch_trx: 'False'
656 trx_ip: 10.42.42.112
657 trx_list:
658 - nominal_power: '10'
659 - max_power_red: '1'
660 nominal_power: '12'
661 type: osmo-bts-trx
662- _hash: 07d9c8aaa940b674efcbbabdd69f58a6ce4e94f9
663 addr: 10.42.42.114
664 band: GSM-1800
665 ipa_unit_id: '1'
666 label: sysmoBTS 1002
667 type: sysmo
668 [resource.py:[LINENR]]
669tst test_suite: Verifying 1 x ip_address (candidates: 3) [resource.py:[LINENR]]
670tst test_suite: DBG: Picked - _hash: cde1debf28f07f94f92c761b4b7c6bf35785ced4
671 addr: 10.42.42.1
672 [resource.py:[LINENR]]
673tst test_suite: Verifying 2 x modem (candidates: 16) [resource.py:[LINENR]]
674tst test_suite: DBG: Picked - _hash: 19c69e45aa090fb511446bd00797690aa82ff52f
675 imsi: '901700000007801'
676 ki: D620F48487B1B782DA55DF6717F08FF9
677 label: m7801
678 path: /wavecom_0
679- _hash: e1a46516a1fb493b2617ab14fc1693a9a45ec254
680 imsi: '901700000007802'
681 ki: 47FDB2D55CE6A10A85ABDAD034A5B7B3
682 label: m7802
683 path: /wavecom_1
684 [resource.py:[LINENR]]
685tst 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 +0200686tst test_suite: Reserving 3 x bts (candidates: 6) [resource.py:[LINENR]]
Pau Espin Pedrol0d455042018-08-27 17:07:41 +0200687tst test_suite: DBG: Picked - _hash: a59640b8ba6a373552b24a6f9f65cadd2347bace
Pau Espin Pedrolaab56922018-08-21 14:58:29 +0200688 addr: 10.42.42.53
689 band: GSM-1800
690 ipa_unit_id: '7'
691 label: sysmoCell 5000
Pau Espin Pedrol0d455042018-08-27 17:07:41 +0200692 osmo_trx:
693 clock_reference: external
694 launch_trx: 'False'
695 trx_ip: 10.42.42.112
Pau Espin Pedrolaab56922018-08-21 14:58:29 +0200696 trx_list:
697 - max_power_red: '3'
698 nominal_power: '10'
699 - max_power_red: '0'
700 nominal_power: '12'
Pau Espin Pedrolaab56922018-08-21 14:58:29 +0200701 type: osmo-bts-trx
Pau Espin Pedrol0d455042018-08-27 17:07:41 +0200702- _hash: c2feabd082c36a1cdeccb9a5237dfff7dbadb009
Pau Espin Pedrolaab56922018-08-21 14:58:29 +0200703 addr: 10.42.42.53
704 band: GSM-1800
705 ipa_unit_id: '7'
706 label: sysmoCell 5000
Pau Espin Pedrol0d455042018-08-27 17:07:41 +0200707 osmo_trx:
708 clock_reference: external
709 launch_trx: 'False'
710 trx_ip: 10.42.42.112
Pau Espin Pedrolaab56922018-08-21 14:58:29 +0200711 trx_list:
712 - nominal_power: '10'
713 - max_power_red: '1'
714 nominal_power: '12'
Pau Espin Pedrolaab56922018-08-21 14:58:29 +0200715 type: osmo-bts-trx
716- _hash: 07d9c8aaa940b674efcbbabdd69f58a6ce4e94f9
717 addr: 10.42.42.114
718 band: GSM-1800
719 ipa_unit_id: '1'
720 label: sysmoBTS 1002
721 type: sysmo
722 [resource.py:[LINENR]]
723tst test_suite: Reserving 1 x ip_address (candidates: 3) [resource.py:[LINENR]]
724tst test_suite: DBG: Picked - _hash: cde1debf28f07f94f92c761b4b7c6bf35785ced4
725 addr: 10.42.42.1
726 [resource.py:[LINENR]]
727tst test_suite: Reserving 2 x modem (candidates: 16) [resource.py:[LINENR]]
728tst test_suite: DBG: Picked - _hash: 19c69e45aa090fb511446bd00797690aa82ff52f
729 imsi: '901700000007801'
730 ki: D620F48487B1B782DA55DF6717F08FF9
731 label: m7801
732 path: /wavecom_0
733- _hash: e1a46516a1fb493b2617ab14fc1693a9a45ec254
734 imsi: '901700000007802'
735 ki: 47FDB2D55CE6A10A85ABDAD034A5B7B3
736 label: m7802
737 path: /wavecom_1
738 [resource.py:[LINENR]]
Pau Espin Pedrol600c7992020-11-09 21:17:51 +0100739tst 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 +0100740tst test_suite: RESERVED RESOURCES for test_suite:
741bts
742 sysmoCell 5000
743 sysmoCell 5000
744 sysmoBTS 1002
745ip_address
746 10.42.42.1
747modem
748 m7801
749 m7802 [suite.py:[LINENR]]
Pau Espin Pedrol0d455042018-08-27 17:07:41 +0200750resources(test_suite)={'bts': [{'_hash': 'a59640b8ba6a373552b24a6f9f65cadd2347bace',
Pau Espin Pedrolaab56922018-08-21 14:58:29 +0200751 '_reserved_by': 'test_suite-[ID_NUM]-[ID_NUM]',
752 'addr': '10.42.42.53',
753 'band': 'GSM-1800',
754 'ipa_unit_id': '7',
755 'label': 'sysmoCell 5000',
Pau Espin Pedrol0d455042018-08-27 17:07:41 +0200756 'osmo_trx': {'clock_reference': 'external',
757 'launch_trx': 'False',
758 'trx_ip': '10.42.42.112'},
Pau Espin Pedrolaab56922018-08-21 14:58:29 +0200759 'trx_list': [{'max_power_red': '3', 'nominal_power': '20'},
760 {'max_power_red': '0', 'nominal_power': '20'}],
Pau Espin Pedrolaab56922018-08-21 14:58:29 +0200761 'type': 'osmo-bts-trx'},
Pau Espin Pedrol0d455042018-08-27 17:07:41 +0200762 {'_hash': 'c2feabd082c36a1cdeccb9a5237dfff7dbadb009',
Pau Espin Pedrolaab56922018-08-21 14:58:29 +0200763 '_reserved_by': 'test_suite-[ID_NUM]-[ID_NUM]',
764 'addr': '10.42.42.53',
765 'band': 'GSM-1800',
766 'ipa_unit_id': '7',
767 'label': 'sysmoCell 5000',
Pau Espin Pedrol0d455042018-08-27 17:07:41 +0200768 'osmo_trx': {'clock_reference': 'external',
769 'launch_trx': 'False',
770 'trx_ip': '10.42.42.112'},
Pau Espin Pedrolaab56922018-08-21 14:58:29 +0200771 'trx_list': [{'nominal_power': '20'},
772 {'max_power_red': '1', 'nominal_power': '20'}],
Pau Espin Pedrolaab56922018-08-21 14:58:29 +0200773 'type': 'osmo-bts-trx'},
774 {'_hash': '07d9c8aaa940b674efcbbabdd69f58a6ce4e94f9',
775 '_reserved_by': 'test_suite-[ID_NUM]-[ID_NUM]',
776 'addr': '10.42.42.114',
777 'band': 'GSM-1800',
778 'ipa_unit_id': '1',
779 'label': 'sysmoBTS 1002',
780 'type': 'sysmo'}],
781 'ip_address': [{'_hash': 'cde1debf28f07f94f92c761b4b7c6bf35785ced4',
782 '_reserved_by': 'test_suite-[ID_NUM]-[ID_NUM]',
783 'addr': '10.42.42.1'}],
784 'modem': [{'_hash': '19c69e45aa090fb511446bd00797690aa82ff52f',
785 '_reserved_by': 'test_suite-[ID_NUM]-[ID_NUM]',
786 'imsi': '901700000007801',
787 'ki': 'D620F48487B1B782DA55DF6717F08FF9',
788 'label': 'm7801',
789 'path': '/wavecom_0'},
790 {'_hash': 'e1a46516a1fb493b2617ab14fc1693a9a45ec254',
791 '_reserved_by': 'test_suite-[ID_NUM]-[ID_NUM]',
792 'imsi': '901700000007802',
793 'ki': '47FDB2D55CE6A10A85ABDAD034A5B7B3',
794 'label': 'm7802',
795 'path': '/wavecom_1'}]}
796
797---------------------------------------------------------------------
798trial test_suite
799---------------------------------------------------------------------
800
801----------------------------------------------
802trial test_suite hello_world.py
803----------------------------------------------
804tst hello_world.py:[LINENR]: hello world [test_suitehello_world.py:[LINENR]] [hello_world.py:[LINENR]]
Neels Hofmeyr081e89f2020-12-04 17:25:23 +0100805tst 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 +0100806tst hello_world.py:[LINENR]: one
807two
808three [test_suitehello_world.py:[LINENR]] [hello_world.py:[LINENR]]
Pau Espin Pedrolaab56922018-08-21 14:58:29 +0200809tst hello_world.py:[LINENR] Test passed (N.N sec) [test_suitehello_world.py] [test.py:[LINENR]]
810---------------------------------------------------------------------
811trial test_suite PASS
812---------------------------------------------------------------------
Neels Hofmeyr9596b212020-12-02 09:39:01 +0100813PASS: test_suite (pass: 1, skip: 8)
Pau Espin Pedrolaab56922018-08-21 14:58:29 +0200814 pass: hello_world.py (N.N sec)
815 skip: mo_mt_sms.py
816 skip: mo_sms.py
817 skip: test_error.py
818 skip: test_fail.py
819 skip: test_fail_raise.py
Neels Hofmeyr9596b212020-12-02 09:39:01 +0100820 skip: test_report_fragment.py
Pau Espin Pedrol30637302020-05-06 21:11:02 +0200821 skip: test_suite_params.py
Pau Espin Pedrolc3cf6822020-06-12 17:54:55 +0200822 skip: test_timeout.py
Pau Espin Pedrol30637302020-05-06 21:11:02 +0200823- test with suite-specific config
Pau Espin Pedrola75f85a2020-06-12 17:13:26 +0200824tst test_suite: DBG: {combining='config'} [suite.py:[LINENR]]
Pau Espin Pedrolc3cf6822020-06-12 17:54:55 +0200825tst {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 +0200826tst {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 +0200827tst test_suite: reserving resources in [PATH]/selftest/suite_test/test_work/state_dir ... [suite.py:[LINENR]]
828tst test_suite: DBG: {combining='resources'} [suite.py:[LINENR]]
829tst {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]]
830tst {combining_scenarios='resources', scenario='foo'}: [RESOURCE_DICT]
831tst test_suite: DBG: {combining='modifiers'} [suite.py:[LINENR]]
832tst {combining_scenarios='modifiers'}: DBG: {definition_conf={}} [test_suite↪{combining_scenarios='modifiers'}] [suite.py:[LINENR]]
833tst {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 +0100834tst test_suite: Verifying 3 x bts (candidates: 6) [resource.py:[LINENR]]
835tst test_suite: DBG: Picked - _hash: a59640b8ba6a373552b24a6f9f65cadd2347bace
836 addr: 10.42.42.53
837 band: GSM-1800
838 ipa_unit_id: '7'
839 label: sysmoCell 5000
840 osmo_trx:
841 clock_reference: external
842 launch_trx: 'False'
843 trx_ip: 10.42.42.112
844 trx_list:
845 - max_power_red: '3'
846 nominal_power: '10'
847 - max_power_red: '0'
848 nominal_power: '12'
849 type: osmo-bts-trx
850- _hash: c2feabd082c36a1cdeccb9a5237dfff7dbadb009
851 addr: 10.42.42.53
852 band: GSM-1800
853 ipa_unit_id: '7'
854 label: sysmoCell 5000
855 osmo_trx:
856 clock_reference: external
857 launch_trx: 'False'
858 trx_ip: 10.42.42.112
859 trx_list:
860 - nominal_power: '10'
861 - max_power_red: '1'
862 nominal_power: '12'
863 type: osmo-bts-trx
864- _hash: 07d9c8aaa940b674efcbbabdd69f58a6ce4e94f9
865 addr: 10.42.42.114
866 band: GSM-1800
867 ipa_unit_id: '1'
868 label: sysmoBTS 1002
869 type: sysmo
870 [resource.py:[LINENR]]
871tst test_suite: Verifying 1 x ip_address (candidates: 3) [resource.py:[LINENR]]
872tst test_suite: DBG: Picked - _hash: cde1debf28f07f94f92c761b4b7c6bf35785ced4
873 addr: 10.42.42.1
874 [resource.py:[LINENR]]
875tst test_suite: Verifying 2 x modem (candidates: 16) [resource.py:[LINENR]]
876tst test_suite: DBG: Picked - _hash: 19c69e45aa090fb511446bd00797690aa82ff52f
877 imsi: '901700000007801'
878 ki: D620F48487B1B782DA55DF6717F08FF9
879 label: m7801
880 path: /wavecom_0
881- _hash: e1a46516a1fb493b2617ab14fc1693a9a45ec254
882 imsi: '901700000007802'
883 ki: 47FDB2D55CE6A10A85ABDAD034A5B7B3
884 label: m7802
885 path: /wavecom_1
886 [resource.py:[LINENR]]
887tst 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 +0200888tst test_suite: Reserving 3 x bts (candidates: 6) [resource.py:[LINENR]]
889tst test_suite: DBG: Picked - _hash: a59640b8ba6a373552b24a6f9f65cadd2347bace
890 addr: 10.42.42.53
891 band: GSM-1800
892 ipa_unit_id: '7'
893 label: sysmoCell 5000
894 osmo_trx:
895 clock_reference: external
896 launch_trx: 'False'
897 trx_ip: 10.42.42.112
898 trx_list:
899 - max_power_red: '3'
900 nominal_power: '10'
901 - max_power_red: '0'
902 nominal_power: '12'
903 type: osmo-bts-trx
904- _hash: c2feabd082c36a1cdeccb9a5237dfff7dbadb009
905 addr: 10.42.42.53
906 band: GSM-1800
907 ipa_unit_id: '7'
908 label: sysmoCell 5000
909 osmo_trx:
910 clock_reference: external
911 launch_trx: 'False'
912 trx_ip: 10.42.42.112
913 trx_list:
914 - nominal_power: '10'
915 - max_power_red: '1'
916 nominal_power: '12'
917 type: osmo-bts-trx
918- _hash: 07d9c8aaa940b674efcbbabdd69f58a6ce4e94f9
919 addr: 10.42.42.114
920 band: GSM-1800
921 ipa_unit_id: '1'
922 label: sysmoBTS 1002
923 type: sysmo
924 [resource.py:[LINENR]]
925tst test_suite: Reserving 1 x ip_address (candidates: 3) [resource.py:[LINENR]]
926tst test_suite: DBG: Picked - _hash: cde1debf28f07f94f92c761b4b7c6bf35785ced4
927 addr: 10.42.42.1
928 [resource.py:[LINENR]]
929tst test_suite: Reserving 2 x modem (candidates: 16) [resource.py:[LINENR]]
930tst test_suite: DBG: Picked - _hash: 19c69e45aa090fb511446bd00797690aa82ff52f
931 imsi: '901700000007801'
932 ki: D620F48487B1B782DA55DF6717F08FF9
933 label: m7801
934 path: /wavecom_0
935- _hash: e1a46516a1fb493b2617ab14fc1693a9a45ec254
936 imsi: '901700000007802'
937 ki: 47FDB2D55CE6A10A85ABDAD034A5B7B3
938 label: m7802
939 path: /wavecom_1
940 [resource.py:[LINENR]]
Pau Espin Pedrol600c7992020-11-09 21:17:51 +0100941tst 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 +0100942tst test_suite: RESERVED RESOURCES for test_suite:
943bts
944 sysmoCell 5000
945 sysmoCell 5000
946 sysmoBTS 1002
947ip_address
948 10.42.42.1
949modem
950 m7801
951 m7802 [suite.py:[LINENR]]
Pau Espin Pedrol30637302020-05-06 21:11:02 +0200952resources(test_suite)={'bts': [{'_hash': 'a59640b8ba6a373552b24a6f9f65cadd2347bace',
953 '_reserved_by': 'test_suite-[ID_NUM]-[ID_NUM]',
954 'addr': '10.42.42.53',
955 'band': 'GSM-1800',
956 'ipa_unit_id': '7',
957 'label': 'sysmoCell 5000',
958 'osmo_trx': {'clock_reference': 'external',
959 'launch_trx': 'False',
960 'trx_ip': '10.42.42.112'},
961 'trx_list': [{'max_power_red': '3', 'nominal_power': '10'},
962 {'max_power_red': '0', 'nominal_power': '12'}],
963 'type': 'osmo-bts-trx'},
964 {'_hash': 'c2feabd082c36a1cdeccb9a5237dfff7dbadb009',
965 '_reserved_by': 'test_suite-[ID_NUM]-[ID_NUM]',
966 'addr': '10.42.42.53',
967 'band': 'GSM-1800',
968 'ipa_unit_id': '7',
969 'label': 'sysmoCell 5000',
970 'osmo_trx': {'clock_reference': 'external',
971 'launch_trx': 'False',
972 'trx_ip': '10.42.42.112'},
973 'trx_list': [{'nominal_power': '10'},
974 {'max_power_red': '1', 'nominal_power': '12'}],
975 'type': 'osmo-bts-trx'},
976 {'_hash': '07d9c8aaa940b674efcbbabdd69f58a6ce4e94f9',
977 '_reserved_by': 'test_suite-[ID_NUM]-[ID_NUM]',
978 'addr': '10.42.42.114',
979 'band': 'GSM-1800',
980 'ipa_unit_id': '1',
981 'label': 'sysmoBTS 1002',
982 'type': 'sysmo'}],
983 'ip_address': [{'_hash': 'cde1debf28f07f94f92c761b4b7c6bf35785ced4',
984 '_reserved_by': 'test_suite-[ID_NUM]-[ID_NUM]',
985 'addr': '10.42.42.1'}],
986 'modem': [{'_hash': '19c69e45aa090fb511446bd00797690aa82ff52f',
987 '_reserved_by': 'test_suite-[ID_NUM]-[ID_NUM]',
988 'imsi': '901700000007801',
989 'ki': 'D620F48487B1B782DA55DF6717F08FF9',
990 'label': 'm7801',
991 'path': '/wavecom_0'},
992 {'_hash': 'e1a46516a1fb493b2617ab14fc1693a9a45ec254',
993 '_reserved_by': 'test_suite-[ID_NUM]-[ID_NUM]',
994 'imsi': '901700000007802',
995 'ki': '47FDB2D55CE6A10A85ABDAD034A5B7B3',
996 'label': 'm7802',
997 'path': '/wavecom_1'}]}
998
999---------------------------------------------------------------------
1000trial test_suite
1001---------------------------------------------------------------------
1002
1003----------------------------------------------
1004trial test_suite test_suite_params.py
1005----------------------------------------------
1006tst 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 +01001007tst test_suite_params.py:[LINENR]: SPECIFIC SUITE CONFIG: {'some_suite_global_param': 'heyho',
1008 'test_suite_params': {'one_bool_parameter': 'true',
1009 'second_list_parameter': ['23', '45']},
1010 'test_timeout': {'timeout': '1'}} [test_suitetest_suite_params.py:[LINENR]] [test_suite_params.py:[LINENR]]
Pau Espin Pedrol30637302020-05-06 21:11:02 +02001011tst 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]]
1012tst 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 +02001013
1014----------------------------------------------
1015trial test_suite test_timeout.py
1016----------------------------------------------
1017tst test_timeout.py:[LINENR]: starting test and waiting to receive Timeout after 1 seconds [test_suitetest_timeout.py:[LINENR]] [test_timeout.py:[LINENR]]
1018tst 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())]
1019tst 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 +02001020---------------------------------------------------------------------
Pau Espin Pedrolc3cf6822020-06-12 17:54:55 +02001021trial test_suite FAIL
Pau Espin Pedrol30637302020-05-06 21:11:02 +02001022---------------------------------------------------------------------
Neels Hofmeyr9596b212020-12-02 09:39:01 +01001023FAIL: test_suite (fail: 1, pass: 1, skip: 7)
Pau Espin Pedrol30637302020-05-06 21:11:02 +02001024 skip: hello_world.py
1025 skip: mo_mt_sms.py
1026 skip: mo_sms.py
1027 skip: test_error.py
1028 skip: test_fail.py
1029 skip: test_fail_raise.py
Neels Hofmeyr9596b212020-12-02 09:39:01 +01001030 skip: test_report_fragment.py
Pau Espin Pedrol30637302020-05-06 21:11:02 +02001031 pass: test_suite_params.py (N.N sec)
Pau Espin Pedrolc3cf6822020-06-12 17:54:55 +02001032 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 +02001033- test with template overlay
1034cnf suiteC: DBG: reading suite.conf [suite.py:[LINENR]]
Pau Espin Pedrola75f85a2020-06-12 17:13:26 +02001035tst suiteC: DBG: {combining='config'} [suite.py:[LINENR]]
1036tst {combining_scenarios='config'}: DBG: {definition_conf={}} [suiteC↪{combining_scenarios='config'}] [suite.py:[LINENR]]
Pau Espin Pedrol166dc102020-06-04 18:44:42 +02001037
1038---------------------------------------------------------------------
1039trial suiteC
1040---------------------------------------------------------------------
1041tst suiteC: reserving resources in [PATH]/selftest/suite_test/test_work/state_dir ... [suite.py:[LINENR]]
1042tst suiteC: DBG: {combining='resources'} [suite.py:[LINENR]]
1043tst {combining_scenarios='resources'}: DBG: {definition_conf={ip_address=[{'addr': '10.42.42.2'}]}} [suiteC↪{combining_scenarios='resources'}] [suite.py:[LINENR]]
1044tst suiteC: DBG: {combining='modifiers'} [suite.py:[LINENR]]
1045tst {combining_scenarios='modifiers'}: DBG: {definition_conf={}} [suiteC↪{combining_scenarios='modifiers'}] [suite.py:[LINENR]]
Pau Espin Pedrol600c7992020-11-09 21:17:51 +01001046tst suiteC: Verifying 1 x ip_address (candidates: 3) [resource.py:[LINENR]]
1047tst suiteC: DBG: Picked - _hash: fd103b22c7cf2480d609150e06f4bbd92ac78d8c
1048 addr: 10.42.42.2
1049 [resource.py:[LINENR]]
1050tst 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 +02001051tst suiteC: Reserving 1 x ip_address (candidates: 3) [resource.py:[LINENR]]
1052tst suiteC: DBG: Picked - _hash: fd103b22c7cf2480d609150e06f4bbd92ac78d8c
1053 addr: 10.42.42.2
1054 [resource.py:[LINENR]]
Pau Espin Pedrol600c7992020-11-09 21:17:51 +01001055tst 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 +01001056tst suiteC: RESERVED RESOURCES for suiteC:
1057ip_address
1058 10.42.42.2 [suite.py:[LINENR]]
Pau Espin Pedrol166dc102020-06-04 18:44:42 +02001059
1060----------------------------------------------
1061trial suiteC test_template_overlay.py
1062----------------------------------------------
1063tst 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 +02001064tst 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 +01001065tst 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 +02001066tst 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 +02001067--- ReservedResources: DBG: requesting use of ip_address {specifics={}} [resource.py:[LINENR]]
1068tst suiteC: Using 1 x ip_address (candidates: 1) [resource.py:[LINENR]]
1069tst suiteC: DBG: Picked - _hash: fd103b22c7cf2480d609150e06f4bbd92ac78d8c
1070 _reserved_by: suiteC-[ID_NUM]-[ID_NUM]
1071 addr: 10.42.42.2
1072 [resource.py:[LINENR]]
1073--- ReservedResources: DBG: {available=1} [resource.py:[LINENR]]
1074--- ReservedResources: DBG: {using={_hash='fd103b22c7cf2480d609150e06f4bbd92ac78d8c', _reserved_by='suiteC-[ID_NUM]-[ID_NUM]', addr='10.42.42.2'}} [resource.py:[LINENR]]
1075tst test_template_overlay.py:[LINENR]: - Testing: original template [suiteCtest_template_overlay.py:[LINENR]] [test_template_overlay.py:[LINENR]]
1076run 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 +02001077run osmo-stp_10.42.42.2: DBG: STP CONFIG:
1078{'stp': {'ip_address': {'_hash': 'fd103b22c7cf2480d609150e06f4bbd92ac78d8c',
1079 '_reserved_by': 'suiteC-[ID_NUM]-[ID_NUM]',
1080 '_used': True,
1081 'addr': '10.42.42.2'}}} [suiteCtest_template_overlay.py:[LINENR]↪test_template_overlay.pyosmo-stp_10.42.42.2] [stp_osmo.py:[LINENR]]
1082cnf Templates: DBG: rendering osmo-stp.cfg.tmpl [suiteCtest_template_overlay.py:[LINENR]↪test_template_overlay.pyTemplates] [template.py:[LINENR]]
1083run osmo-stp_10.42.42.2: DBG: ! Configuration rendered by osmo-gsm-tester
1084log stderr
1085 logging filter all 1
1086 logging color 1
1087 logging print category 1
Neels Hofmeyrb5a3d672020-12-01 00:43:52 +01001088 logging print category-hex 0
1089 logging print level 1
1090 logging print file basename last
Pau Espin Pedrol166dc102020-06-04 18:44:42 +02001091 logging print extended-timestamp 1
1092 logging level set-all debug
1093line vty
1094 no login
1095 bind 10.42.42.2
1096!ctrl
1097! bind 10.42.42.2
1098cs7 instance 0
1099 xua rkm routing-key-allocation dynamic-permitted
1100 listen m3ua 2905
1101 accept-asp-connections dynamic-permitted
1102 local-ip 10.42.42.2
1103 [suiteCtest_template_overlay.py:[LINENR]↪test_template_overlay.pyosmo-stp_10.42.42.2] [stp_osmo.py:[LINENR]]
1104tst test_template_overlay.py:[LINENR]: - Testing:overlay template [suiteCtest_template_overlay.py:[LINENR]] [test_template_overlay.py:[LINENR]]
1105tst 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]]
1106run 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]]
1107run osmo-stp_10.42.42.2: DBG: STP CONFIG:
1108{'stp': {'ip_address': {'_hash': 'fd103b22c7cf2480d609150e06f4bbd92ac78d8c',
1109 '_reserved_by': 'suiteC-[ID_NUM]-[ID_NUM]',
1110 '_used': True,
1111 'addr': '10.42.42.2'}}} [suiteCtest_template_overlay.py:[LINENR]↪test_template_overlay.pyosmo-stp_10.42.42.2] [stp_osmo.py:[LINENR]]
1112cnf Templates: DBG: rendering osmo-stp.cfg.tmpl [suiteCtest_template_overlay.py:[LINENR]↪test_template_overlay.pyTemplates] [template.py:[LINENR]]
1113run osmo-stp_10.42.42.2: DBG: ! Configuration rendered by osmo-gsm-tester
1114log stderr
1115 logging filter all 1
1116 logging color 1
1117 logging print category 1
Neels Hofmeyrb5a3d672020-12-01 00:43:52 +01001118 logging print category-hex 0
1119 logging print level 1
1120 logging print file basename last
Pau Espin Pedrol166dc102020-06-04 18:44:42 +02001121 logging print extended-timestamp 1
1122 logging level set-all debug
1123line vty
1124 no login
1125 bind 10.42.42.2
1126!ctrl
1127! bind 10.42.42.2
1128cs7 instance 0
1129 xua rkm routing-key-allocation dynamic-permitted
1130 listen m3ua 2905
1131 accept-asp-connections dynamic-permitted
1132 local-ip 10.42.42.2
1133 [suiteCtest_template_overlay.py:[LINENR]↪test_template_overlay.pyosmo-stp_10.42.42.2] [stp_osmo.py:[LINENR]]
1134tst 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 +02001135tst 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 +02001136run 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]]
1137run osmo-stp_10.42.42.2: DBG: STP CONFIG:
1138{'stp': {'ip_address': {'_hash': 'fd103b22c7cf2480d609150e06f4bbd92ac78d8c',
1139 '_reserved_by': 'suiteC-[ID_NUM]-[ID_NUM]',
1140 '_used': True,
1141 'addr': '10.42.42.2'}}} [suiteCtest_template_overlay.py:[LINENR]↪test_template_overlay.pyosmo-stp_10.42.42.2] [stp_osmo.py:[LINENR]]
1142cnf Templates: DBG: rendering osmo-stp.cfg.tmpl [suiteCtest_template_overlay.py:[LINENR]↪test_template_overlay.pyTemplates] [template.py:[LINENR]]
1143run osmo-stp_10.42.42.2: DBG: ! Overlay Config file genreated by test
1144line vty
1145 no login
1146 bind 10.42.42.2
1147 [suiteCtest_template_overlay.py:[LINENR]↪test_template_overlay.pyosmo-stp_10.42.42.2] [stp_osmo.py:[LINENR]]
1148tst test_template_overlay.py:[LINENR] Test passed (N.N sec) [suiteCtest_template_overlay.py] [test.py:[LINENR]]
1149---------------------------------------------------------------------
1150trial suiteC PASS
1151---------------------------------------------------------------------
1152PASS: suiteC (pass: 1)
1153 pass: test_template_overlay.py (N.N sec)
Neels Hofmeyr3531a192017-03-28 14:30:28 +02001154
1155- graceful exit.