blob: 85e94b29c34926735681f738cba66ff00c0a58e6 [file] [log] [blame]
Neels Hofmeyr3531a192017-03-28 14:30:28 +02001- non-existing suite dir
Neels Hofmeyref9ed2d2017-05-04 16:39:29 +02002cnf -: DBG: Found config file paths.conf as [PATH]/selftest/suite_test/paths.conf in ./suite_test which is [PATH]/selftest/suite_test
3cnf -: DBG: [PATH]/selftest/suite_test/paths.conf: relative path ./test_work/state_dir is [PATH]/selftest/suite_test/test_work/state_dir
4cnf -: DBG: [PATH]/selftest/suite_test/paths.conf: relative path . is [PATH]/selftest/suite_test
5cnf -: DBG: Found path suites_dir as [PATH]/selftest/suite_test
6--- -: ERR: RuntimeError: Suite not found: 'does_not_exist' in [PATH]/selftest/suite_test
Neels Hofmeyr3531a192017-03-28 14:30:28 +02007- no suite.conf
Neels Hofmeyref9ed2d2017-05-04 16:39:29 +02008cnf -: DBG: Found path suites_dir as [PATH]/selftest/suite_test
Neels Hofmeyr31e83202017-06-06 19:44:32 +02009cnf empty_dir: DBG: reading suite.conf
Neels Hofmeyr1a7a3f02017-06-10 01:18:27 +020010cnf [PATH]/selftest/suite_test/empty_dir/suite.conf: ERR: FileNotFoundError: [Errno 2] No such file or directory: '[PATH]/selftest/suite_test/empty_dir/suite.conf' [empty_dir↪[PATH]/selftest/suite_test/empty_dir/suite.conf]
Neels Hofmeyr3531a192017-03-28 14:30:28 +020011- valid suite dir
Neels Hofmeyref9ed2d2017-05-04 16:39:29 +020012cnf -: DBG: Found path suites_dir as [PATH]/selftest/suite_test
Neels Hofmeyr31e83202017-06-06 19:44:32 +020013cnf test_suite: DBG: reading suite.conf
Neels Hofmeyr3531a192017-03-28 14:30:28 +020014defaults:
15 timeout: 60s
16resources:
17 bts:
Pau Espin Pedrolcbc72422017-09-14 15:55:49 +020018 - label: sysmoCell 5000
19 times: '2'
Neels Hofmeyr3531a192017-03-28 14:30:28 +020020 - times: '1'
Pau Espin Pedrolcbc72422017-09-14 15:55:49 +020021 type: sysmo
Neels Hofmeyr76d81032017-05-18 18:35:32 +020022 ip_address:
23 - times: '1'
Neels Hofmeyr3531a192017-03-28 14:30:28 +020024 modem:
25 - times: '2'
Neels Hofmeyr3531a192017-03-28 14:30:28 +020026
27- run hello world test
Neels Hofmeyr1a7a3f02017-06-10 01:18:27 +020028cnf ResourcesPool: DBG: Found config file resources.conf as [PATH]/selftest/suite_test/resources.conf in ./suite_test which is [PATH]/selftest/suite_test
29cnf ResourcesPool: DBG: Found path state_dir as [PATH]/selftest/suite_test/test_work/state_dir
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]
Holger Hans Peter Freyther54b4fa92019-02-27 13:00:33 +000099--- ParallelTerminationStrategy: DBG: Scheduled to terminate 0 processes.
100--- ParallelTerminationStrategy: DBG: Starting to kill with SIGTERM
101--- ParallelTerminationStrategy: DBG: Starting to kill with SIGINT
102--- ParallelTerminationStrategy: DBG: Starting to kill with SIGKILL
103--- ParallelTerminationStrategy: DBG: Scheduled to terminate 0 processes.
104--- ParallelTerminationStrategy: DBG: Starting to kill with SIGTERM
105--- ParallelTerminationStrategy: DBG: Starting to kill with SIGINT
106--- ParallelTerminationStrategy: DBG: Starting to kill with SIGKILL
Neels Hofmeyr6ccda112017-06-06 19:41:17 +0200107---------------------------------------------------------------------
108trial test_suite PASS
109---------------------------------------------------------------------
110PASS: test_suite (pass: 1, skip: 5)
111 pass: hello_world.py (N.N sec)
112 skip: mo_mt_sms.py
113 skip: mo_sms.py
114 skip: test_error.py
115 skip: test_fail.py
116 skip: test_fail_raise.py
Neels Hofmeyr3531a192017-03-28 14:30:28 +0200117
118- a test with an error
Neels Hofmeyr6ccda112017-06-06 19:41:17 +0200119
120---------------------------------------------------------------------
121trial test_suite
122---------------------------------------------------------------------
123
124----------------------------------------------
125trial test_suite test_error.py
126----------------------------------------------
Neels Hofmeyrd1bedb12017-05-07 03:02:23 +0200127tst 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 +0200128tst 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 +0100129tst test_error.py:[LINENR]: Test FAILED (N.N sec) [test_suitetest_error.py:[LINENR]] [test.py:[LINENR]]
Holger Hans Peter Freyther54b4fa92019-02-27 13:00:33 +0000130--- ParallelTerminationStrategy: DBG: Scheduled to terminate 0 processes. [process.py:[LINENR]]
131--- ParallelTerminationStrategy: DBG: Starting to kill with SIGTERM [process.py:[LINENR]]
132--- ParallelTerminationStrategy: DBG: Starting to kill with SIGINT [process.py:[LINENR]]
133--- ParallelTerminationStrategy: DBG: Starting to kill with SIGKILL [process.py:[LINENR]]
134--- ParallelTerminationStrategy: DBG: Scheduled to terminate 0 processes. [process.py:[LINENR]]
135--- ParallelTerminationStrategy: DBG: Starting to kill with SIGTERM [process.py:[LINENR]]
136--- ParallelTerminationStrategy: DBG: Starting to kill with SIGINT [process.py:[LINENR]]
137--- ParallelTerminationStrategy: DBG: Starting to kill with SIGKILL [process.py:[LINENR]]
Neels Hofmeyr6ccda112017-06-06 19:41:17 +0200138---------------------------------------------------------------------
139trial test_suite FAIL
140---------------------------------------------------------------------
141FAIL: test_suite (fail: 1, skip: 5)
142 skip: hello_world.py (N.N sec)
143 skip: mo_mt_sms.py
144 skip: mo_sms.py
Neels Hofmeyr1a7a3f02017-06-10 01:18:27 +0200145 FAIL: test_error.py (N.N sec) AssertionError: test_error.py:[LINENR]: assert False
Neels Hofmeyr6ccda112017-06-06 19:41:17 +0200146 skip: test_fail.py
147 skip: test_fail_raise.py
Pau Espin Pedrol0ffb4142017-05-15 18:24:35 +0200148
149- a test with a failure
Neels Hofmeyr6ccda112017-06-06 19:41:17 +0200150
151---------------------------------------------------------------------
152trial test_suite
153---------------------------------------------------------------------
154
155----------------------------------------------
156trial test_suite test_fail.py
157----------------------------------------------
Pau Espin Pedrol0ffb4142017-05-15 18:24:35 +0200158tst 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 +0200159tst 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 +0100160tst test_fail.py:[LINENR]: Test FAILED (N.N sec) [test_suitetest_fail.py:[LINENR]] [test.py:[LINENR]]
Holger Hans Peter Freyther54b4fa92019-02-27 13:00:33 +0000161--- ParallelTerminationStrategy: DBG: Scheduled to terminate 0 processes. [process.py:[LINENR]]
162--- ParallelTerminationStrategy: DBG: Starting to kill with SIGTERM [process.py:[LINENR]]
163--- ParallelTerminationStrategy: DBG: Starting to kill with SIGINT [process.py:[LINENR]]
164--- ParallelTerminationStrategy: DBG: Starting to kill with SIGKILL [process.py:[LINENR]]
165--- ParallelTerminationStrategy: DBG: Scheduled to terminate 0 processes. [process.py:[LINENR]]
166--- ParallelTerminationStrategy: DBG: Starting to kill with SIGTERM [process.py:[LINENR]]
167--- ParallelTerminationStrategy: DBG: Starting to kill with SIGINT [process.py:[LINENR]]
168--- ParallelTerminationStrategy: DBG: Starting to kill with SIGKILL [process.py:[LINENR]]
Neels Hofmeyr6ccda112017-06-06 19:41:17 +0200169---------------------------------------------------------------------
170trial test_suite FAIL
171---------------------------------------------------------------------
172FAIL: test_suite (fail: 1, skip: 5)
173 skip: hello_world.py (N.N sec)
174 skip: mo_mt_sms.py
175 skip: mo_sms.py
176 skip: test_error.py (N.N sec)
177 FAIL: test_fail.py (N.N sec) EpicFail: This failure is expected
178 skip: test_fail_raise.py
Pau Espin Pedrol0ffb4142017-05-15 18:24:35 +0200179
180- a test with a raised failure
Neels Hofmeyr6ccda112017-06-06 19:41:17 +0200181
182---------------------------------------------------------------------
183trial test_suite
184---------------------------------------------------------------------
185
186----------------------------------------------
187trial test_suite test_fail_raise.py
188----------------------------------------------
Neels Hofmeyr1a7a3f02017-06-10 01:18:27 +0200189tst 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 +0100190tst test_fail_raise.py:[LINENR]: Test FAILED (N.N sec) [test_suitetest_fail_raise.py:[LINENR]] [test.py:[LINENR]]
Holger Hans Peter Freyther54b4fa92019-02-27 13:00:33 +0000191--- ParallelTerminationStrategy: DBG: Scheduled to terminate 0 processes. [process.py:[LINENR]]
192--- ParallelTerminationStrategy: DBG: Starting to kill with SIGTERM [process.py:[LINENR]]
193--- ParallelTerminationStrategy: DBG: Starting to kill with SIGINT [process.py:[LINENR]]
194--- ParallelTerminationStrategy: DBG: Starting to kill with SIGKILL [process.py:[LINENR]]
195--- ParallelTerminationStrategy: DBG: Scheduled to terminate 0 processes. [process.py:[LINENR]]
196--- ParallelTerminationStrategy: DBG: Starting to kill with SIGTERM [process.py:[LINENR]]
197--- ParallelTerminationStrategy: DBG: Starting to kill with SIGINT [process.py:[LINENR]]
198--- ParallelTerminationStrategy: DBG: Starting to kill with SIGKILL [process.py:[LINENR]]
Neels Hofmeyr6ccda112017-06-06 19:41:17 +0200199---------------------------------------------------------------------
200trial test_suite FAIL
201---------------------------------------------------------------------
202FAIL: test_suite (fail: 1, skip: 5)
203 skip: hello_world.py (N.N sec)
204 skip: mo_mt_sms.py
205 skip: mo_sms.py
206 skip: test_error.py (N.N sec)
207 skip: test_fail.py (N.N sec)
Neels Hofmeyr1a7a3f02017-06-10 01:18:27 +0200208 FAIL: test_fail_raise.py (N.N sec) ExpectedFail: This failure is expected
Pau Espin Pedrol0b302792017-09-10 16:33:10 +0200209- test with half empty scenario
210cnf ResourcesPool: DBG: Found config file resources.conf as [PATH]/selftest/suite_test/resources.conf in ./suite_test which is [PATH]/selftest/suite_test [config.py:[LINENR]]
211cnf ResourcesPool: DBG: Found path state_dir as [PATH]/selftest/suite_test/test_work/state_dir [config.py:[LINENR]]
212
213---------------------------------------------------------------------
214trial test_suite
215---------------------------------------------------------------------
216tst test_suite: reserving resources in [PATH]/selftest/suite_test/test_work/state_dir ... [suite.py:[LINENR]]
217tst test_suite: DBG: {combining='resources'} [suite.py:[LINENR]]
Pau Espin Pedrolcbc72422017-09-14 15:55:49 +0200218tst {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 +0200219tst {combining_scenarios='resources', scenario='foo'}: [RESOURCE_DICT]
Pau Espin Pedrolaab56922018-08-21 14:58:29 +0200220tst test_suite: DBG: {combining='modifiers'} [suite.py:[LINENR]]
221tst {combining_scenarios='modifiers'}: DBG: {definition_conf={}} [test_suite↪{combining_scenarios='modifiers'}] [suite.py:[LINENR]]
222tst {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 +0200223tst test_suite: Reserving 3 x bts (candidates: 6) [resource.py:[LINENR]]
Pau Espin Pedrol0d455042018-08-27 17:07:41 +0200224tst test_suite: DBG: Picked - _hash: a59640b8ba6a373552b24a6f9f65cadd2347bace
Pau Espin Pedrolcbc72422017-09-14 15:55:49 +0200225 addr: 10.42.42.53
226 band: GSM-1800
227 ipa_unit_id: '7'
228 label: sysmoCell 5000
Pau Espin Pedrol0d455042018-08-27 17:07:41 +0200229 osmo_trx:
230 clock_reference: external
231 launch_trx: 'False'
232 trx_ip: 10.42.42.112
Pau Espin Pedrolcbc72422017-09-14 15:55:49 +0200233 trx_list:
234 - max_power_red: '3'
235 nominal_power: '10'
236 - max_power_red: '0'
237 nominal_power: '12'
Pau Espin Pedrolcbc72422017-09-14 15:55:49 +0200238 type: osmo-bts-trx
Pau Espin Pedrol0d455042018-08-27 17:07:41 +0200239- _hash: c2feabd082c36a1cdeccb9a5237dfff7dbadb009
Pau Espin Pedrolcbc72422017-09-14 15:55:49 +0200240 addr: 10.42.42.53
241 band: GSM-1800
242 ipa_unit_id: '7'
243 label: sysmoCell 5000
Pau Espin Pedrol0d455042018-08-27 17:07:41 +0200244 osmo_trx:
245 clock_reference: external
246 launch_trx: 'False'
247 trx_ip: 10.42.42.112
Pau Espin Pedrolcbc72422017-09-14 15:55:49 +0200248 trx_list:
249 - nominal_power: '10'
250 - max_power_red: '1'
251 nominal_power: '12'
Pau Espin Pedrolcbc72422017-09-14 15:55:49 +0200252 type: osmo-bts-trx
253- _hash: 07d9c8aaa940b674efcbbabdd69f58a6ce4e94f9
Pau Espin Pedrol0b302792017-09-10 16:33:10 +0200254 addr: 10.42.42.114
255 band: GSM-1800
256 ipa_unit_id: '1'
257 label: sysmoBTS 1002
258 type: sysmo
Pau Espin Pedrol0b302792017-09-10 16:33:10 +0200259 [resource.py:[LINENR]]
260tst test_suite: Reserving 1 x ip_address (candidates: 3) [resource.py:[LINENR]]
261tst test_suite: DBG: Picked - _hash: cde1debf28f07f94f92c761b4b7c6bf35785ced4
262 addr: 10.42.42.1
263 [resource.py:[LINENR]]
264tst test_suite: Reserving 2 x modem (candidates: 16) [resource.py:[LINENR]]
265tst test_suite: DBG: Picked - _hash: 19c69e45aa090fb511446bd00797690aa82ff52f
266 imsi: '901700000007801'
267 ki: D620F48487B1B782DA55DF6717F08FF9
268 label: m7801
269 path: /wavecom_0
270- _hash: e1a46516a1fb493b2617ab14fc1693a9a45ec254
271 imsi: '901700000007802'
272 ki: 47FDB2D55CE6A10A85ABDAD034A5B7B3
273 label: m7802
274 path: /wavecom_1
275 [resource.py:[LINENR]]
276
277----------------------------------------------
278trial test_suite hello_world.py
279----------------------------------------------
280tst hello_world.py:[LINENR]: hello world [test_suitehello_world.py:[LINENR]] [hello_world.py:[LINENR]]
281tst hello_world.py:[LINENR]: I am 'test_suite' / 'hello_world.py:[LINENR]' [test_suitehello_world.py:[LINENR]] [hello_world.py:[LINENR]]
282tst hello_world.py:[LINENR]: one [test_suitehello_world.py:[LINENR]] [hello_world.py:[LINENR]]
283tst hello_world.py:[LINENR]: two [test_suitehello_world.py:[LINENR]] [hello_world.py:[LINENR]]
284tst hello_world.py:[LINENR]: three [test_suitehello_world.py:[LINENR]] [hello_world.py:[LINENR]]
Pau Espin Pedrolfd5de3d2017-11-09 14:26:35 +0100285tst hello_world.py:[LINENR] Test passed (N.N sec) [test_suitehello_world.py] [test.py:[LINENR]]
Holger Hans Peter Freyther54b4fa92019-02-27 13:00:33 +0000286--- ParallelTerminationStrategy: DBG: Scheduled to terminate 0 processes. [process.py:[LINENR]]
287--- ParallelTerminationStrategy: DBG: Starting to kill with SIGTERM [process.py:[LINENR]]
288--- ParallelTerminationStrategy: DBG: Starting to kill with SIGINT [process.py:[LINENR]]
289--- ParallelTerminationStrategy: DBG: Starting to kill with SIGKILL [process.py:[LINENR]]
290--- ParallelTerminationStrategy: DBG: Scheduled to terminate 0 processes. [process.py:[LINENR]]
291--- ParallelTerminationStrategy: DBG: Starting to kill with SIGTERM [process.py:[LINENR]]
292--- ParallelTerminationStrategy: DBG: Starting to kill with SIGINT [process.py:[LINENR]]
293--- ParallelTerminationStrategy: DBG: Starting to kill with SIGKILL [process.py:[LINENR]]
Pau Espin Pedrol0b302792017-09-10 16:33:10 +0200294---------------------------------------------------------------------
295trial test_suite PASS
296---------------------------------------------------------------------
297PASS: test_suite (pass: 1, skip: 5)
298 pass: hello_world.py (N.N sec)
299 skip: mo_mt_sms.py
300 skip: mo_sms.py
301 skip: test_error.py
302 skip: test_fail.py
303 skip: test_fail_raise.py
304- test with scenario
305cnf ResourcesPool: DBG: Found config file resources.conf as [PATH]/selftest/suite_test/resources.conf in ./suite_test which is [PATH]/selftest/suite_test [config.py:[LINENR]]
306cnf ResourcesPool: DBG: Found path state_dir as [PATH]/selftest/suite_test/test_work/state_dir [config.py:[LINENR]]
307
308---------------------------------------------------------------------
309trial test_suite
310---------------------------------------------------------------------
311tst test_suite: reserving resources in [PATH]/selftest/suite_test/test_work/state_dir ... [suite.py:[LINENR]]
312tst test_suite: DBG: {combining='resources'} [suite.py:[LINENR]]
Pau Espin Pedrolcbc72422017-09-14 15:55:49 +0200313tst {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 +0200314tst {combining_scenarios='resources', scenario='foo'}: [RESOURCE_DICT]
Pau Espin Pedrolaab56922018-08-21 14:58:29 +0200315tst test_suite: DBG: {combining='modifiers'} [suite.py:[LINENR]]
316tst {combining_scenarios='modifiers'}: DBG: {definition_conf={}} [test_suite↪{combining_scenarios='modifiers'}] [suite.py:[LINENR]]
317tst {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 +0200318tst test_suite: Reserving 3 x bts (candidates: 6) [resource.py:[LINENR]]
Pau Espin Pedrol0d455042018-08-27 17:07:41 +0200319tst test_suite: DBG: Picked - _hash: a59640b8ba6a373552b24a6f9f65cadd2347bace
Pau Espin Pedrol0b302792017-09-10 16:33:10 +0200320 addr: 10.42.42.53
321 band: GSM-1800
322 ipa_unit_id: '7'
323 label: sysmoCell 5000
Pau Espin Pedrol0d455042018-08-27 17:07:41 +0200324 osmo_trx:
325 clock_reference: external
326 launch_trx: 'False'
327 trx_ip: 10.42.42.112
Pau Espin Pedrol0b302792017-09-10 16:33:10 +0200328 trx_list:
Pau Espin Pedrol58475512017-09-14 15:33:15 +0200329 - max_power_red: '3'
330 nominal_power: '10'
331 - max_power_red: '0'
332 nominal_power: '12'
Pau Espin Pedrol0b302792017-09-10 16:33:10 +0200333 type: osmo-bts-trx
Pau Espin Pedrol0d455042018-08-27 17:07:41 +0200334- _hash: c2feabd082c36a1cdeccb9a5237dfff7dbadb009
Pau Espin Pedrolcbc72422017-09-14 15:55:49 +0200335 addr: 10.42.42.53
336 band: GSM-1800
337 ipa_unit_id: '7'
338 label: sysmoCell 5000
Pau Espin Pedrol0d455042018-08-27 17:07:41 +0200339 osmo_trx:
340 clock_reference: external
341 launch_trx: 'False'
342 trx_ip: 10.42.42.112
Pau Espin Pedrolcbc72422017-09-14 15:55:49 +0200343 trx_list:
344 - nominal_power: '10'
345 - max_power_red: '1'
346 nominal_power: '12'
Pau Espin Pedrolcbc72422017-09-14 15:55:49 +0200347 type: osmo-bts-trx
Pau Espin Pedrol0b302792017-09-10 16:33:10 +0200348- _hash: 07d9c8aaa940b674efcbbabdd69f58a6ce4e94f9
349 addr: 10.42.42.114
350 band: GSM-1800
351 ipa_unit_id: '1'
352 label: sysmoBTS 1002
353 type: sysmo
354 [resource.py:[LINENR]]
355tst test_suite: Reserving 1 x ip_address (candidates: 3) [resource.py:[LINENR]]
356tst test_suite: DBG: Picked - _hash: cde1debf28f07f94f92c761b4b7c6bf35785ced4
357 addr: 10.42.42.1
358 [resource.py:[LINENR]]
359tst test_suite: Reserving 2 x modem (candidates: 16) [resource.py:[LINENR]]
360tst test_suite: DBG: Picked - _hash: 19c69e45aa090fb511446bd00797690aa82ff52f
361 imsi: '901700000007801'
362 ki: D620F48487B1B782DA55DF6717F08FF9
363 label: m7801
364 path: /wavecom_0
365- _hash: e1a46516a1fb493b2617ab14fc1693a9a45ec254
366 imsi: '901700000007802'
367 ki: 47FDB2D55CE6A10A85ABDAD034A5B7B3
368 label: m7802
369 path: /wavecom_1
370 [resource.py:[LINENR]]
371
372----------------------------------------------
373trial test_suite hello_world.py
374----------------------------------------------
375tst hello_world.py:[LINENR]: hello world [test_suitehello_world.py:[LINENR]] [hello_world.py:[LINENR]]
376tst hello_world.py:[LINENR]: I am 'test_suite' / 'hello_world.py:[LINENR]' [test_suitehello_world.py:[LINENR]] [hello_world.py:[LINENR]]
377tst hello_world.py:[LINENR]: one [test_suitehello_world.py:[LINENR]] [hello_world.py:[LINENR]]
378tst hello_world.py:[LINENR]: two [test_suitehello_world.py:[LINENR]] [hello_world.py:[LINENR]]
379tst hello_world.py:[LINENR]: three [test_suitehello_world.py:[LINENR]] [hello_world.py:[LINENR]]
Pau Espin Pedrolfd5de3d2017-11-09 14:26:35 +0100380tst hello_world.py:[LINENR] Test passed (N.N sec) [test_suitehello_world.py] [test.py:[LINENR]]
Holger Hans Peter Freyther54b4fa92019-02-27 13:00:33 +0000381--- ParallelTerminationStrategy: DBG: Scheduled to terminate 0 processes. [process.py:[LINENR]]
382--- ParallelTerminationStrategy: DBG: Starting to kill with SIGTERM [process.py:[LINENR]]
383--- ParallelTerminationStrategy: DBG: Starting to kill with SIGINT [process.py:[LINENR]]
384--- ParallelTerminationStrategy: DBG: Starting to kill with SIGKILL [process.py:[LINENR]]
385--- ParallelTerminationStrategy: DBG: Scheduled to terminate 0 processes. [process.py:[LINENR]]
386--- ParallelTerminationStrategy: DBG: Starting to kill with SIGTERM [process.py:[LINENR]]
387--- ParallelTerminationStrategy: DBG: Starting to kill with SIGINT [process.py:[LINENR]]
388--- ParallelTerminationStrategy: DBG: Starting to kill with SIGKILL [process.py:[LINENR]]
Pau Espin Pedrol0b302792017-09-10 16:33:10 +0200389---------------------------------------------------------------------
390trial test_suite PASS
391---------------------------------------------------------------------
392PASS: test_suite (pass: 1, skip: 5)
393 pass: hello_world.py (N.N sec)
394 skip: mo_mt_sms.py
395 skip: mo_sms.py
396 skip: test_error.py
397 skip: test_fail.py
398 skip: test_fail_raise.py
Pau Espin Pedrolaab56922018-08-21 14:58:29 +0200399- test with scenario and modifiers
400cnf ResourcesPool: DBG: Found config file resources.conf as [PATH]/selftest/suite_test/resources.conf in ./suite_test which is [PATH]/selftest/suite_test [config.py:[LINENR]]
401cnf ResourcesPool: DBG: Found path state_dir as [PATH]/selftest/suite_test/test_work/state_dir [config.py:[LINENR]]
402tst test_suite: reserving resources in [PATH]/selftest/suite_test/test_work/state_dir ... [suite.py:[LINENR]]
403tst test_suite: DBG: {combining='resources'} [suite.py:[LINENR]]
404tst {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]]
405tst {combining_scenarios='resources', scenario='foo'}: [RESOURCE_DICT]
406tst test_suite: DBG: {combining='modifiers'} [suite.py:[LINENR]]
407tst {combining_scenarios='modifiers'}: DBG: {definition_conf={}} [test_suite↪{combining_scenarios='modifiers'}] [suite.py:[LINENR]]
408tst {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]]
409tst test_suite: Reserving 3 x bts (candidates: 6) [resource.py:[LINENR]]
Pau Espin Pedrol0d455042018-08-27 17:07:41 +0200410tst test_suite: DBG: Picked - _hash: a59640b8ba6a373552b24a6f9f65cadd2347bace
Pau Espin Pedrolaab56922018-08-21 14:58:29 +0200411 addr: 10.42.42.53
412 band: GSM-1800
413 ipa_unit_id: '7'
414 label: sysmoCell 5000
Pau Espin Pedrol0d455042018-08-27 17:07:41 +0200415 osmo_trx:
416 clock_reference: external
417 launch_trx: 'False'
418 trx_ip: 10.42.42.112
Pau Espin Pedrolaab56922018-08-21 14:58:29 +0200419 trx_list:
420 - max_power_red: '3'
421 nominal_power: '10'
422 - max_power_red: '0'
423 nominal_power: '12'
Pau Espin Pedrolaab56922018-08-21 14:58:29 +0200424 type: osmo-bts-trx
Pau Espin Pedrol0d455042018-08-27 17:07:41 +0200425- _hash: c2feabd082c36a1cdeccb9a5237dfff7dbadb009
Pau Espin Pedrolaab56922018-08-21 14:58:29 +0200426 addr: 10.42.42.53
427 band: GSM-1800
428 ipa_unit_id: '7'
429 label: sysmoCell 5000
Pau Espin Pedrol0d455042018-08-27 17:07:41 +0200430 osmo_trx:
431 clock_reference: external
432 launch_trx: 'False'
433 trx_ip: 10.42.42.112
Pau Espin Pedrolaab56922018-08-21 14:58:29 +0200434 trx_list:
435 - nominal_power: '10'
436 - max_power_red: '1'
437 nominal_power: '12'
Pau Espin Pedrolaab56922018-08-21 14:58:29 +0200438 type: osmo-bts-trx
439- _hash: 07d9c8aaa940b674efcbbabdd69f58a6ce4e94f9
440 addr: 10.42.42.114
441 band: GSM-1800
442 ipa_unit_id: '1'
443 label: sysmoBTS 1002
444 type: sysmo
445 [resource.py:[LINENR]]
446tst test_suite: Reserving 1 x ip_address (candidates: 3) [resource.py:[LINENR]]
447tst test_suite: DBG: Picked - _hash: cde1debf28f07f94f92c761b4b7c6bf35785ced4
448 addr: 10.42.42.1
449 [resource.py:[LINENR]]
450tst test_suite: Reserving 2 x modem (candidates: 16) [resource.py:[LINENR]]
451tst test_suite: DBG: Picked - _hash: 19c69e45aa090fb511446bd00797690aa82ff52f
452 imsi: '901700000007801'
453 ki: D620F48487B1B782DA55DF6717F08FF9
454 label: m7801
455 path: /wavecom_0
456- _hash: e1a46516a1fb493b2617ab14fc1693a9a45ec254
457 imsi: '901700000007802'
458 ki: 47FDB2D55CE6A10A85ABDAD034A5B7B3
459 label: m7802
460 path: /wavecom_1
461 [resource.py:[LINENR]]
Pau Espin Pedrol0d455042018-08-27 17:07:41 +0200462resources(test_suite)={'bts': [{'_hash': 'a59640b8ba6a373552b24a6f9f65cadd2347bace',
Pau Espin Pedrolaab56922018-08-21 14:58:29 +0200463 '_reserved_by': 'test_suite-[ID_NUM]-[ID_NUM]',
464 'addr': '10.42.42.53',
465 'band': 'GSM-1800',
466 'ipa_unit_id': '7',
467 'label': 'sysmoCell 5000',
Pau Espin Pedrol0d455042018-08-27 17:07:41 +0200468 'osmo_trx': {'clock_reference': 'external',
469 'launch_trx': 'False',
470 'trx_ip': '10.42.42.112'},
Pau Espin Pedrolaab56922018-08-21 14:58:29 +0200471 'trx_list': [{'max_power_red': '3', 'nominal_power': '20'},
472 {'max_power_red': '0', 'nominal_power': '20'}],
Pau Espin Pedrolaab56922018-08-21 14:58:29 +0200473 'type': 'osmo-bts-trx'},
Pau Espin Pedrol0d455042018-08-27 17:07:41 +0200474 {'_hash': 'c2feabd082c36a1cdeccb9a5237dfff7dbadb009',
Pau Espin Pedrolaab56922018-08-21 14:58:29 +0200475 '_reserved_by': 'test_suite-[ID_NUM]-[ID_NUM]',
476 'addr': '10.42.42.53',
477 'band': 'GSM-1800',
478 'ipa_unit_id': '7',
479 'label': 'sysmoCell 5000',
Pau Espin Pedrol0d455042018-08-27 17:07:41 +0200480 'osmo_trx': {'clock_reference': 'external',
481 'launch_trx': 'False',
482 'trx_ip': '10.42.42.112'},
Pau Espin Pedrolaab56922018-08-21 14:58:29 +0200483 'trx_list': [{'nominal_power': '20'},
484 {'max_power_red': '1', 'nominal_power': '20'}],
Pau Espin Pedrolaab56922018-08-21 14:58:29 +0200485 'type': 'osmo-bts-trx'},
486 {'_hash': '07d9c8aaa940b674efcbbabdd69f58a6ce4e94f9',
487 '_reserved_by': 'test_suite-[ID_NUM]-[ID_NUM]',
488 'addr': '10.42.42.114',
489 'band': 'GSM-1800',
490 'ipa_unit_id': '1',
491 'label': 'sysmoBTS 1002',
492 'type': 'sysmo'}],
493 'ip_address': [{'_hash': 'cde1debf28f07f94f92c761b4b7c6bf35785ced4',
494 '_reserved_by': 'test_suite-[ID_NUM]-[ID_NUM]',
495 'addr': '10.42.42.1'}],
496 'modem': [{'_hash': '19c69e45aa090fb511446bd00797690aa82ff52f',
497 '_reserved_by': 'test_suite-[ID_NUM]-[ID_NUM]',
498 'imsi': '901700000007801',
499 'ki': 'D620F48487B1B782DA55DF6717F08FF9',
500 'label': 'm7801',
501 'path': '/wavecom_0'},
502 {'_hash': 'e1a46516a1fb493b2617ab14fc1693a9a45ec254',
503 '_reserved_by': 'test_suite-[ID_NUM]-[ID_NUM]',
504 'imsi': '901700000007802',
505 'ki': '47FDB2D55CE6A10A85ABDAD034A5B7B3',
506 'label': 'm7802',
507 'path': '/wavecom_1'}]}
508
509---------------------------------------------------------------------
510trial test_suite
511---------------------------------------------------------------------
512
513----------------------------------------------
514trial test_suite hello_world.py
515----------------------------------------------
516tst hello_world.py:[LINENR]: hello world [test_suitehello_world.py:[LINENR]] [hello_world.py:[LINENR]]
517tst hello_world.py:[LINENR]: I am 'test_suite' / 'hello_world.py:[LINENR]' [test_suitehello_world.py:[LINENR]] [hello_world.py:[LINENR]]
518tst hello_world.py:[LINENR]: one [test_suitehello_world.py:[LINENR]] [hello_world.py:[LINENR]]
519tst hello_world.py:[LINENR]: two [test_suitehello_world.py:[LINENR]] [hello_world.py:[LINENR]]
520tst hello_world.py:[LINENR]: three [test_suitehello_world.py:[LINENR]] [hello_world.py:[LINENR]]
521tst hello_world.py:[LINENR] Test passed (N.N sec) [test_suitehello_world.py] [test.py:[LINENR]]
Holger Hans Peter Freyther54b4fa92019-02-27 13:00:33 +0000522--- ParallelTerminationStrategy: DBG: Scheduled to terminate 0 processes. [process.py:[LINENR]]
523--- ParallelTerminationStrategy: DBG: Starting to kill with SIGTERM [process.py:[LINENR]]
524--- ParallelTerminationStrategy: DBG: Starting to kill with SIGINT [process.py:[LINENR]]
525--- ParallelTerminationStrategy: DBG: Starting to kill with SIGKILL [process.py:[LINENR]]
526--- ParallelTerminationStrategy: DBG: Scheduled to terminate 0 processes. [process.py:[LINENR]]
527--- ParallelTerminationStrategy: DBG: Starting to kill with SIGTERM [process.py:[LINENR]]
528--- ParallelTerminationStrategy: DBG: Starting to kill with SIGINT [process.py:[LINENR]]
529--- ParallelTerminationStrategy: DBG: Starting to kill with SIGKILL [process.py:[LINENR]]
Pau Espin Pedrolaab56922018-08-21 14:58:29 +0200530---------------------------------------------------------------------
531trial test_suite PASS
532---------------------------------------------------------------------
533PASS: test_suite (pass: 1, skip: 5)
534 pass: hello_world.py (N.N sec)
535 skip: mo_mt_sms.py
536 skip: mo_sms.py
537 skip: test_error.py
538 skip: test_fail.py
539 skip: test_fail_raise.py
Neels Hofmeyr3531a192017-03-28 14:30:28 +0200540
541- graceful exit.