Neels Hofmeyr | 3531a19 | 2017-03-28 14:30:28 +0200 | [diff] [blame] | 1 | - non-existing suite dir |
Neels Hofmeyr | ef9ed2d | 2017-05-04 16:39:29 +0200 | [diff] [blame] | 2 | cnf -: DBG: Found config file paths.conf as [PATH]/selftest/suite_test/paths.conf in ./suite_test which is [PATH]/selftest/suite_test |
| 3 | cnf -: DBG: [PATH]/selftest/suite_test/paths.conf: relative path ./test_work/state_dir is [PATH]/selftest/suite_test/test_work/state_dir |
| 4 | cnf -: DBG: [PATH]/selftest/suite_test/paths.conf: relative path . is [PATH]/selftest/suite_test |
| 5 | cnf -: 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 Hofmeyr | 3531a19 | 2017-03-28 14:30:28 +0200 | [diff] [blame] | 7 | - no suite.conf |
Neels Hofmeyr | ef9ed2d | 2017-05-04 16:39:29 +0200 | [diff] [blame] | 8 | cnf -: DBG: Found path suites_dir as [PATH]/selftest/suite_test |
Neels Hofmeyr | 31e8320 | 2017-06-06 19:44:32 +0200 | [diff] [blame] | 9 | cnf empty_dir: DBG: reading suite.conf |
Neels Hofmeyr | 1a7a3f0 | 2017-06-10 01:18:27 +0200 | [diff] [blame] | 10 | cnf [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 Hofmeyr | 3531a19 | 2017-03-28 14:30:28 +0200 | [diff] [blame] | 11 | - valid suite dir |
Neels Hofmeyr | ef9ed2d | 2017-05-04 16:39:29 +0200 | [diff] [blame] | 12 | cnf -: DBG: Found path suites_dir as [PATH]/selftest/suite_test |
Neels Hofmeyr | 31e8320 | 2017-06-06 19:44:32 +0200 | [diff] [blame] | 13 | cnf test_suite: DBG: reading suite.conf |
Neels Hofmeyr | 3531a19 | 2017-03-28 14:30:28 +0200 | [diff] [blame] | 14 | defaults: |
| 15 | timeout: 60s |
| 16 | resources: |
| 17 | bts: |
Pau Espin Pedrol | cbc7242 | 2017-09-14 15:55:49 +0200 | [diff] [blame] | 18 | - label: sysmoCell 5000 |
| 19 | times: '2' |
Neels Hofmeyr | 3531a19 | 2017-03-28 14:30:28 +0200 | [diff] [blame] | 20 | - times: '1' |
Pau Espin Pedrol | cbc7242 | 2017-09-14 15:55:49 +0200 | [diff] [blame] | 21 | type: sysmo |
Neels Hofmeyr | 76d8103 | 2017-05-18 18:35:32 +0200 | [diff] [blame] | 22 | ip_address: |
| 23 | - times: '1' |
Neels Hofmeyr | 3531a19 | 2017-03-28 14:30:28 +0200 | [diff] [blame] | 24 | modem: |
| 25 | - times: '2' |
Neels Hofmeyr | 3531a19 | 2017-03-28 14:30:28 +0200 | [diff] [blame] | 26 | |
| 27 | - run hello world test |
Neels Hofmeyr | 1a7a3f0 | 2017-06-10 01:18:27 +0200 | [diff] [blame] | 28 | cnf ResourcesPool: DBG: Found config file resources.conf as [PATH]/selftest/suite_test/resources.conf in ./suite_test which is [PATH]/selftest/suite_test |
| 29 | cnf ResourcesPool: DBG: Found path state_dir as [PATH]/selftest/suite_test/test_work/state_dir |
Neels Hofmeyr | 6ccda11 | 2017-06-06 19:41:17 +0200 | [diff] [blame] | 30 | |
| 31 | --------------------------------------------------------------------- |
| 32 | trial test_suite |
| 33 | --------------------------------------------------------------------- |
Neels Hofmeyr | 7e2e8f1 | 2017-05-14 03:37:13 +0200 | [diff] [blame] | 34 | tst test_suite: reserving resources in [PATH]/selftest/suite_test/test_work/state_dir ... |
Neels Hofmeyr | 31e8320 | 2017-06-06 19:44:32 +0200 | [diff] [blame] | 35 | tst test_suite: DBG: {combining='resources'} |
Pau Espin Pedrol | cbc7242 | 2017-09-14 15:55:49 +0200 | [diff] [blame] | 36 | tst {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 Pedrol | aab5692 | 2018-08-21 14:58:29 +0200 | [diff] [blame] | 37 | tst test_suite: DBG: {combining='modifiers'} |
| 38 | tst {combining_scenarios='modifiers'}: DBG: {definition_conf={}} [test_suite↪{combining_scenarios='modifiers'}] |
Pau Espin Pedrol | 0b30279 | 2017-09-10 16:33:10 +0200 | [diff] [blame] | 39 | tst test_suite: Reserving 3 x bts (candidates: 6) |
Pau Espin Pedrol | 0d45504 | 2018-08-27 17:07:41 +0200 | [diff] [blame] | 40 | tst test_suite: DBG: Picked - _hash: a59640b8ba6a373552b24a6f9f65cadd2347bace |
Pau Espin Pedrol | cbc7242 | 2017-09-14 15:55:49 +0200 | [diff] [blame] | 41 | addr: 10.42.42.53 |
| 42 | band: GSM-1800 |
| 43 | ipa_unit_id: '7' |
| 44 | label: sysmoCell 5000 |
Pau Espin Pedrol | 0d45504 | 2018-08-27 17:07:41 +0200 | [diff] [blame] | 45 | osmo_trx: |
| 46 | clock_reference: external |
| 47 | launch_trx: 'False' |
| 48 | trx_ip: 10.42.42.112 |
Pau Espin Pedrol | cbc7242 | 2017-09-14 15:55:49 +0200 | [diff] [blame] | 49 | trx_list: |
| 50 | - max_power_red: '3' |
| 51 | nominal_power: '10' |
| 52 | - max_power_red: '0' |
| 53 | nominal_power: '12' |
Pau Espin Pedrol | cbc7242 | 2017-09-14 15:55:49 +0200 | [diff] [blame] | 54 | type: osmo-bts-trx |
Pau Espin Pedrol | 0d45504 | 2018-08-27 17:07:41 +0200 | [diff] [blame] | 55 | - _hash: c2feabd082c36a1cdeccb9a5237dfff7dbadb009 |
Pau Espin Pedrol | cbc7242 | 2017-09-14 15:55:49 +0200 | [diff] [blame] | 56 | addr: 10.42.42.53 |
| 57 | band: GSM-1800 |
| 58 | ipa_unit_id: '7' |
| 59 | label: sysmoCell 5000 |
Pau Espin Pedrol | 0d45504 | 2018-08-27 17:07:41 +0200 | [diff] [blame] | 60 | osmo_trx: |
| 61 | clock_reference: external |
| 62 | launch_trx: 'False' |
| 63 | trx_ip: 10.42.42.112 |
Pau Espin Pedrol | cbc7242 | 2017-09-14 15:55:49 +0200 | [diff] [blame] | 64 | trx_list: |
| 65 | - nominal_power: '10' |
| 66 | - max_power_red: '1' |
| 67 | nominal_power: '12' |
Pau Espin Pedrol | cbc7242 | 2017-09-14 15:55:49 +0200 | [diff] [blame] | 68 | type: osmo-bts-trx |
| 69 | - _hash: 07d9c8aaa940b674efcbbabdd69f58a6ce4e94f9 |
Neels Hofmeyr | 17c139e | 2017-04-12 02:42:02 +0200 | [diff] [blame] | 70 | addr: 10.42.42.114 |
| 71 | band: GSM-1800 |
| 72 | ipa_unit_id: '1' |
| 73 | label: sysmoBTS 1002 |
| 74 | type: sysmo |
Neels Hofmeyr | 31e8320 | 2017-06-06 19:44:32 +0200 | [diff] [blame] | 75 | tst test_suite: Reserving 1 x ip_address (candidates: 3) |
Neels Hofmeyr | 76d8103 | 2017-05-18 18:35:32 +0200 | [diff] [blame] | 76 | tst test_suite: DBG: Picked - _hash: cde1debf28f07f94f92c761b4b7c6bf35785ced4 |
| 77 | addr: 10.42.42.1 |
Neels Hofmeyr | 31e8320 | 2017-06-06 19:44:32 +0200 | [diff] [blame] | 78 | tst test_suite: Reserving 2 x modem (candidates: 16) |
Neels Hofmeyr | cccbe59 | 2017-05-07 01:16:07 +0200 | [diff] [blame] | 79 | tst test_suite: DBG: Picked - _hash: 19c69e45aa090fb511446bd00797690aa82ff52f |
Neels Hofmeyr | 17c139e | 2017-04-12 02:42:02 +0200 | [diff] [blame] | 80 | 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 Hofmeyr | 6ccda11 | 2017-06-06 19:41:17 +0200 | [diff] [blame] | 89 | |
| 90 | ---------------------------------------------- |
| 91 | trial test_suite hello_world.py |
| 92 | ---------------------------------------------- |
Neels Hofmeyr | d1bedb1 | 2017-05-07 03:02:23 +0200 | [diff] [blame] | 93 | tst hello_world.py:[LINENR]: hello world [test_suite↪hello_world.py:[LINENR]] |
| 94 | tst hello_world.py:[LINENR]: I am 'test_suite' / 'hello_world.py:[LINENR]' [test_suite↪hello_world.py:[LINENR]] |
| 95 | tst hello_world.py:[LINENR]: one [test_suite↪hello_world.py:[LINENR]] |
| 96 | tst hello_world.py:[LINENR]: two [test_suite↪hello_world.py:[LINENR]] |
| 97 | tst hello_world.py:[LINENR]: three [test_suite↪hello_world.py:[LINENR]] |
Neels Hofmeyr | 6ccda11 | 2017-06-06 19:41:17 +0200 | [diff] [blame] | 98 | tst hello_world.py:[LINENR] Test passed (N.N sec) [test_suite↪hello_world.py] |
| 99 | --------------------------------------------------------------------- |
| 100 | trial test_suite PASS |
| 101 | --------------------------------------------------------------------- |
| 102 | PASS: test_suite (pass: 1, skip: 5) |
| 103 | pass: hello_world.py (N.N sec) |
| 104 | skip: mo_mt_sms.py |
| 105 | skip: mo_sms.py |
| 106 | skip: test_error.py |
| 107 | skip: test_fail.py |
| 108 | skip: test_fail_raise.py |
Neels Hofmeyr | 3531a19 | 2017-03-28 14:30:28 +0200 | [diff] [blame] | 109 | |
| 110 | - a test with an error |
Neels Hofmeyr | 6ccda11 | 2017-06-06 19:41:17 +0200 | [diff] [blame] | 111 | |
| 112 | --------------------------------------------------------------------- |
| 113 | trial test_suite |
| 114 | --------------------------------------------------------------------- |
| 115 | |
| 116 | ---------------------------------------------- |
| 117 | trial test_suite test_error.py |
| 118 | ---------------------------------------------- |
Neels Hofmeyr | d1bedb1 | 2017-05-07 03:02:23 +0200 | [diff] [blame] | 119 | tst test_error.py:[LINENR]: I am 'test_suite' / 'test_error.py:[LINENR]' [test_suite↪test_error.py:[LINENR]] [test_error.py:[LINENR]] |
Neels Hofmeyr | 1a7a3f0 | 2017-06-10 01:18:27 +0200 | [diff] [blame] | 120 | tst test_error.py:[LINENR]: ERR: AssertionError: test_error.py:[LINENR]: assert False [test_suite↪test_error.py:[LINENR]] [test_error.py:[LINENR]: assert False] |
Pau Espin Pedrol | fd5de3d | 2017-11-09 14:26:35 +0100 | [diff] [blame] | 121 | tst test_error.py:[LINENR]: Test FAILED (N.N sec) [test_suite↪test_error.py:[LINENR]] [test.py:[LINENR]] |
Neels Hofmeyr | 6ccda11 | 2017-06-06 19:41:17 +0200 | [diff] [blame] | 122 | --------------------------------------------------------------------- |
| 123 | trial test_suite FAIL |
| 124 | --------------------------------------------------------------------- |
| 125 | FAIL: test_suite (fail: 1, skip: 5) |
| 126 | skip: hello_world.py (N.N sec) |
| 127 | skip: mo_mt_sms.py |
| 128 | skip: mo_sms.py |
Neels Hofmeyr | 1a7a3f0 | 2017-06-10 01:18:27 +0200 | [diff] [blame] | 129 | FAIL: test_error.py (N.N sec) AssertionError: test_error.py:[LINENR]: assert False |
Neels Hofmeyr | 6ccda11 | 2017-06-06 19:41:17 +0200 | [diff] [blame] | 130 | skip: test_fail.py |
| 131 | skip: test_fail_raise.py |
Pau Espin Pedrol | 0ffb414 | 2017-05-15 18:24:35 +0200 | [diff] [blame] | 132 | |
| 133 | - a test with a failure |
Neels Hofmeyr | 6ccda11 | 2017-06-06 19:41:17 +0200 | [diff] [blame] | 134 | |
| 135 | --------------------------------------------------------------------- |
| 136 | trial test_suite |
| 137 | --------------------------------------------------------------------- |
| 138 | |
| 139 | ---------------------------------------------- |
| 140 | trial test_suite test_fail.py |
| 141 | ---------------------------------------------- |
Pau Espin Pedrol | 0ffb414 | 2017-05-15 18:24:35 +0200 | [diff] [blame] | 142 | tst test_fail.py:[LINENR]: I am 'test_suite' / 'test_fail.py:[LINENR]' [test_suite↪test_fail.py:[LINENR]] [test_fail.py:[LINENR]] |
Neels Hofmeyr | 1a7a3f0 | 2017-06-10 01:18:27 +0200 | [diff] [blame] | 143 | tst test_fail.py:[LINENR]: ERR: EpicFail: This failure is expected [test_suite↪test_fail.py:[LINENR]] [test_fail.py:[LINENR]] |
Pau Espin Pedrol | fd5de3d | 2017-11-09 14:26:35 +0100 | [diff] [blame] | 144 | tst test_fail.py:[LINENR]: Test FAILED (N.N sec) [test_suite↪test_fail.py:[LINENR]] [test.py:[LINENR]] |
Neels Hofmeyr | 6ccda11 | 2017-06-06 19:41:17 +0200 | [diff] [blame] | 145 | --------------------------------------------------------------------- |
| 146 | trial test_suite FAIL |
| 147 | --------------------------------------------------------------------- |
| 148 | FAIL: test_suite (fail: 1, skip: 5) |
| 149 | skip: hello_world.py (N.N sec) |
| 150 | skip: mo_mt_sms.py |
| 151 | skip: mo_sms.py |
| 152 | skip: test_error.py (N.N sec) |
| 153 | FAIL: test_fail.py (N.N sec) EpicFail: This failure is expected |
| 154 | skip: test_fail_raise.py |
Pau Espin Pedrol | 0ffb414 | 2017-05-15 18:24:35 +0200 | [diff] [blame] | 155 | |
| 156 | - a test with a raised failure |
Neels Hofmeyr | 6ccda11 | 2017-06-06 19:41:17 +0200 | [diff] [blame] | 157 | |
| 158 | --------------------------------------------------------------------- |
| 159 | trial test_suite |
| 160 | --------------------------------------------------------------------- |
| 161 | |
| 162 | ---------------------------------------------- |
| 163 | trial test_suite test_fail_raise.py |
| 164 | ---------------------------------------------- |
Neels Hofmeyr | 1a7a3f0 | 2017-06-10 01:18:27 +0200 | [diff] [blame] | 165 | tst test_fail_raise.py:[LINENR]: ERR: ExpectedFail: This failure is expected [test_suite↪test_fail_raise.py:[LINENR]] [test_fail_raise.py:[LINENR]: raise ExpectedFail('This failure is expected')] |
Pau Espin Pedrol | fd5de3d | 2017-11-09 14:26:35 +0100 | [diff] [blame] | 166 | tst test_fail_raise.py:[LINENR]: Test FAILED (N.N sec) [test_suite↪test_fail_raise.py:[LINENR]] [test.py:[LINENR]] |
Neels Hofmeyr | 6ccda11 | 2017-06-06 19:41:17 +0200 | [diff] [blame] | 167 | --------------------------------------------------------------------- |
| 168 | trial test_suite FAIL |
| 169 | --------------------------------------------------------------------- |
| 170 | FAIL: test_suite (fail: 1, skip: 5) |
| 171 | skip: hello_world.py (N.N sec) |
| 172 | skip: mo_mt_sms.py |
| 173 | skip: mo_sms.py |
| 174 | skip: test_error.py (N.N sec) |
| 175 | skip: test_fail.py (N.N sec) |
Neels Hofmeyr | 1a7a3f0 | 2017-06-10 01:18:27 +0200 | [diff] [blame] | 176 | FAIL: test_fail_raise.py (N.N sec) ExpectedFail: This failure is expected |
Pau Espin Pedrol | 0b30279 | 2017-09-10 16:33:10 +0200 | [diff] [blame] | 177 | - test with half empty scenario |
| 178 | cnf 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]] |
| 179 | cnf ResourcesPool: DBG: Found path state_dir as [PATH]/selftest/suite_test/test_work/state_dir [config.py:[LINENR]] |
| 180 | |
| 181 | --------------------------------------------------------------------- |
| 182 | trial test_suite |
| 183 | --------------------------------------------------------------------- |
| 184 | tst test_suite: reserving resources in [PATH]/selftest/suite_test/test_work/state_dir ... [suite.py:[LINENR]] |
| 185 | tst test_suite: DBG: {combining='resources'} [suite.py:[LINENR]] |
Pau Espin Pedrol | cbc7242 | 2017-09-14 15:55:49 +0200 | [diff] [blame] | 186 | tst {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 Pedrol | 0b30279 | 2017-09-10 16:33:10 +0200 | [diff] [blame] | 187 | tst {combining_scenarios='resources', scenario='foo'}: [RESOURCE_DICT] |
Pau Espin Pedrol | aab5692 | 2018-08-21 14:58:29 +0200 | [diff] [blame] | 188 | tst test_suite: DBG: {combining='modifiers'} [suite.py:[LINENR]] |
| 189 | tst {combining_scenarios='modifiers'}: DBG: {definition_conf={}} [test_suite↪{combining_scenarios='modifiers'}] [suite.py:[LINENR]] |
| 190 | tst {combining_scenarios='modifiers', scenario='foo'}: DBG: {conf={}, scenario='foo'} [test_suite↪{combining_scenarios='modifiers', scenario='foo'}] [suite.py:[LINENR]] |
Pau Espin Pedrol | 0b30279 | 2017-09-10 16:33:10 +0200 | [diff] [blame] | 191 | tst test_suite: Reserving 3 x bts (candidates: 6) [resource.py:[LINENR]] |
Pau Espin Pedrol | 0d45504 | 2018-08-27 17:07:41 +0200 | [diff] [blame] | 192 | tst test_suite: DBG: Picked - _hash: a59640b8ba6a373552b24a6f9f65cadd2347bace |
Pau Espin Pedrol | cbc7242 | 2017-09-14 15:55:49 +0200 | [diff] [blame] | 193 | addr: 10.42.42.53 |
| 194 | band: GSM-1800 |
| 195 | ipa_unit_id: '7' |
| 196 | label: sysmoCell 5000 |
Pau Espin Pedrol | 0d45504 | 2018-08-27 17:07:41 +0200 | [diff] [blame] | 197 | osmo_trx: |
| 198 | clock_reference: external |
| 199 | launch_trx: 'False' |
| 200 | trx_ip: 10.42.42.112 |
Pau Espin Pedrol | cbc7242 | 2017-09-14 15:55:49 +0200 | [diff] [blame] | 201 | trx_list: |
| 202 | - max_power_red: '3' |
| 203 | nominal_power: '10' |
| 204 | - max_power_red: '0' |
| 205 | nominal_power: '12' |
Pau Espin Pedrol | cbc7242 | 2017-09-14 15:55:49 +0200 | [diff] [blame] | 206 | type: osmo-bts-trx |
Pau Espin Pedrol | 0d45504 | 2018-08-27 17:07:41 +0200 | [diff] [blame] | 207 | - _hash: c2feabd082c36a1cdeccb9a5237dfff7dbadb009 |
Pau Espin Pedrol | cbc7242 | 2017-09-14 15:55:49 +0200 | [diff] [blame] | 208 | addr: 10.42.42.53 |
| 209 | band: GSM-1800 |
| 210 | ipa_unit_id: '7' |
| 211 | label: sysmoCell 5000 |
Pau Espin Pedrol | 0d45504 | 2018-08-27 17:07:41 +0200 | [diff] [blame] | 212 | osmo_trx: |
| 213 | clock_reference: external |
| 214 | launch_trx: 'False' |
| 215 | trx_ip: 10.42.42.112 |
Pau Espin Pedrol | cbc7242 | 2017-09-14 15:55:49 +0200 | [diff] [blame] | 216 | trx_list: |
| 217 | - nominal_power: '10' |
| 218 | - max_power_red: '1' |
| 219 | nominal_power: '12' |
Pau Espin Pedrol | cbc7242 | 2017-09-14 15:55:49 +0200 | [diff] [blame] | 220 | type: osmo-bts-trx |
| 221 | - _hash: 07d9c8aaa940b674efcbbabdd69f58a6ce4e94f9 |
Pau Espin Pedrol | 0b30279 | 2017-09-10 16:33:10 +0200 | [diff] [blame] | 222 | addr: 10.42.42.114 |
| 223 | band: GSM-1800 |
| 224 | ipa_unit_id: '1' |
| 225 | label: sysmoBTS 1002 |
| 226 | type: sysmo |
Pau Espin Pedrol | 0b30279 | 2017-09-10 16:33:10 +0200 | [diff] [blame] | 227 | [resource.py:[LINENR]] |
| 228 | tst test_suite: Reserving 1 x ip_address (candidates: 3) [resource.py:[LINENR]] |
| 229 | tst test_suite: DBG: Picked - _hash: cde1debf28f07f94f92c761b4b7c6bf35785ced4 |
| 230 | addr: 10.42.42.1 |
| 231 | [resource.py:[LINENR]] |
| 232 | tst test_suite: Reserving 2 x modem (candidates: 16) [resource.py:[LINENR]] |
| 233 | tst test_suite: DBG: Picked - _hash: 19c69e45aa090fb511446bd00797690aa82ff52f |
| 234 | imsi: '901700000007801' |
| 235 | ki: D620F48487B1B782DA55DF6717F08FF9 |
| 236 | label: m7801 |
| 237 | path: /wavecom_0 |
| 238 | - _hash: e1a46516a1fb493b2617ab14fc1693a9a45ec254 |
| 239 | imsi: '901700000007802' |
| 240 | ki: 47FDB2D55CE6A10A85ABDAD034A5B7B3 |
| 241 | label: m7802 |
| 242 | path: /wavecom_1 |
| 243 | [resource.py:[LINENR]] |
| 244 | |
| 245 | ---------------------------------------------- |
| 246 | trial test_suite hello_world.py |
| 247 | ---------------------------------------------- |
| 248 | tst hello_world.py:[LINENR]: hello world [test_suite↪hello_world.py:[LINENR]] [hello_world.py:[LINENR]] |
| 249 | tst hello_world.py:[LINENR]: I am 'test_suite' / 'hello_world.py:[LINENR]' [test_suite↪hello_world.py:[LINENR]] [hello_world.py:[LINENR]] |
| 250 | tst hello_world.py:[LINENR]: one [test_suite↪hello_world.py:[LINENR]] [hello_world.py:[LINENR]] |
| 251 | tst hello_world.py:[LINENR]: two [test_suite↪hello_world.py:[LINENR]] [hello_world.py:[LINENR]] |
| 252 | tst hello_world.py:[LINENR]: three [test_suite↪hello_world.py:[LINENR]] [hello_world.py:[LINENR]] |
Pau Espin Pedrol | fd5de3d | 2017-11-09 14:26:35 +0100 | [diff] [blame] | 253 | tst hello_world.py:[LINENR] Test passed (N.N sec) [test_suite↪hello_world.py] [test.py:[LINENR]] |
Pau Espin Pedrol | 0b30279 | 2017-09-10 16:33:10 +0200 | [diff] [blame] | 254 | --------------------------------------------------------------------- |
| 255 | trial test_suite PASS |
| 256 | --------------------------------------------------------------------- |
| 257 | PASS: test_suite (pass: 1, skip: 5) |
| 258 | pass: hello_world.py (N.N sec) |
| 259 | skip: mo_mt_sms.py |
| 260 | skip: mo_sms.py |
| 261 | skip: test_error.py |
| 262 | skip: test_fail.py |
| 263 | skip: test_fail_raise.py |
| 264 | - test with scenario |
| 265 | cnf 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]] |
| 266 | cnf ResourcesPool: DBG: Found path state_dir as [PATH]/selftest/suite_test/test_work/state_dir [config.py:[LINENR]] |
| 267 | |
| 268 | --------------------------------------------------------------------- |
| 269 | trial test_suite |
| 270 | --------------------------------------------------------------------- |
| 271 | tst test_suite: reserving resources in [PATH]/selftest/suite_test/test_work/state_dir ... [suite.py:[LINENR]] |
| 272 | tst test_suite: DBG: {combining='resources'} [suite.py:[LINENR]] |
Pau Espin Pedrol | cbc7242 | 2017-09-14 15:55:49 +0200 | [diff] [blame] | 273 | tst {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 Pedrol | 0b30279 | 2017-09-10 16:33:10 +0200 | [diff] [blame] | 274 | tst {combining_scenarios='resources', scenario='foo'}: [RESOURCE_DICT] |
Pau Espin Pedrol | aab5692 | 2018-08-21 14:58:29 +0200 | [diff] [blame] | 275 | tst test_suite: DBG: {combining='modifiers'} [suite.py:[LINENR]] |
| 276 | tst {combining_scenarios='modifiers'}: DBG: {definition_conf={}} [test_suite↪{combining_scenarios='modifiers'}] [suite.py:[LINENR]] |
| 277 | tst {combining_scenarios='modifiers', scenario='foo'}: DBG: {conf={}, scenario='foo'} [test_suite↪{combining_scenarios='modifiers', scenario='foo'}] [suite.py:[LINENR]] |
Pau Espin Pedrol | 0b30279 | 2017-09-10 16:33:10 +0200 | [diff] [blame] | 278 | tst test_suite: Reserving 3 x bts (candidates: 6) [resource.py:[LINENR]] |
Pau Espin Pedrol | 0d45504 | 2018-08-27 17:07:41 +0200 | [diff] [blame] | 279 | tst test_suite: DBG: Picked - _hash: a59640b8ba6a373552b24a6f9f65cadd2347bace |
Pau Espin Pedrol | 0b30279 | 2017-09-10 16:33:10 +0200 | [diff] [blame] | 280 | addr: 10.42.42.53 |
| 281 | band: GSM-1800 |
| 282 | ipa_unit_id: '7' |
| 283 | label: sysmoCell 5000 |
Pau Espin Pedrol | 0d45504 | 2018-08-27 17:07:41 +0200 | [diff] [blame] | 284 | osmo_trx: |
| 285 | clock_reference: external |
| 286 | launch_trx: 'False' |
| 287 | trx_ip: 10.42.42.112 |
Pau Espin Pedrol | 0b30279 | 2017-09-10 16:33:10 +0200 | [diff] [blame] | 288 | trx_list: |
Pau Espin Pedrol | 5847551 | 2017-09-14 15:33:15 +0200 | [diff] [blame] | 289 | - max_power_red: '3' |
| 290 | nominal_power: '10' |
| 291 | - max_power_red: '0' |
| 292 | nominal_power: '12' |
Pau Espin Pedrol | 0b30279 | 2017-09-10 16:33:10 +0200 | [diff] [blame] | 293 | type: osmo-bts-trx |
Pau Espin Pedrol | 0d45504 | 2018-08-27 17:07:41 +0200 | [diff] [blame] | 294 | - _hash: c2feabd082c36a1cdeccb9a5237dfff7dbadb009 |
Pau Espin Pedrol | cbc7242 | 2017-09-14 15:55:49 +0200 | [diff] [blame] | 295 | addr: 10.42.42.53 |
| 296 | band: GSM-1800 |
| 297 | ipa_unit_id: '7' |
| 298 | label: sysmoCell 5000 |
Pau Espin Pedrol | 0d45504 | 2018-08-27 17:07:41 +0200 | [diff] [blame] | 299 | osmo_trx: |
| 300 | clock_reference: external |
| 301 | launch_trx: 'False' |
| 302 | trx_ip: 10.42.42.112 |
Pau Espin Pedrol | cbc7242 | 2017-09-14 15:55:49 +0200 | [diff] [blame] | 303 | trx_list: |
| 304 | - nominal_power: '10' |
| 305 | - max_power_red: '1' |
| 306 | nominal_power: '12' |
Pau Espin Pedrol | cbc7242 | 2017-09-14 15:55:49 +0200 | [diff] [blame] | 307 | type: osmo-bts-trx |
Pau Espin Pedrol | 0b30279 | 2017-09-10 16:33:10 +0200 | [diff] [blame] | 308 | - _hash: 07d9c8aaa940b674efcbbabdd69f58a6ce4e94f9 |
| 309 | addr: 10.42.42.114 |
| 310 | band: GSM-1800 |
| 311 | ipa_unit_id: '1' |
| 312 | label: sysmoBTS 1002 |
| 313 | type: sysmo |
| 314 | [resource.py:[LINENR]] |
| 315 | tst test_suite: Reserving 1 x ip_address (candidates: 3) [resource.py:[LINENR]] |
| 316 | tst test_suite: DBG: Picked - _hash: cde1debf28f07f94f92c761b4b7c6bf35785ced4 |
| 317 | addr: 10.42.42.1 |
| 318 | [resource.py:[LINENR]] |
| 319 | tst test_suite: Reserving 2 x modem (candidates: 16) [resource.py:[LINENR]] |
| 320 | tst test_suite: DBG: Picked - _hash: 19c69e45aa090fb511446bd00797690aa82ff52f |
| 321 | imsi: '901700000007801' |
| 322 | ki: D620F48487B1B782DA55DF6717F08FF9 |
| 323 | label: m7801 |
| 324 | path: /wavecom_0 |
| 325 | - _hash: e1a46516a1fb493b2617ab14fc1693a9a45ec254 |
| 326 | imsi: '901700000007802' |
| 327 | ki: 47FDB2D55CE6A10A85ABDAD034A5B7B3 |
| 328 | label: m7802 |
| 329 | path: /wavecom_1 |
| 330 | [resource.py:[LINENR]] |
| 331 | |
| 332 | ---------------------------------------------- |
| 333 | trial test_suite hello_world.py |
| 334 | ---------------------------------------------- |
| 335 | tst hello_world.py:[LINENR]: hello world [test_suite↪hello_world.py:[LINENR]] [hello_world.py:[LINENR]] |
| 336 | tst hello_world.py:[LINENR]: I am 'test_suite' / 'hello_world.py:[LINENR]' [test_suite↪hello_world.py:[LINENR]] [hello_world.py:[LINENR]] |
| 337 | tst hello_world.py:[LINENR]: one [test_suite↪hello_world.py:[LINENR]] [hello_world.py:[LINENR]] |
| 338 | tst hello_world.py:[LINENR]: two [test_suite↪hello_world.py:[LINENR]] [hello_world.py:[LINENR]] |
| 339 | tst hello_world.py:[LINENR]: three [test_suite↪hello_world.py:[LINENR]] [hello_world.py:[LINENR]] |
Pau Espin Pedrol | fd5de3d | 2017-11-09 14:26:35 +0100 | [diff] [blame] | 340 | tst hello_world.py:[LINENR] Test passed (N.N sec) [test_suite↪hello_world.py] [test.py:[LINENR]] |
Pau Espin Pedrol | 0b30279 | 2017-09-10 16:33:10 +0200 | [diff] [blame] | 341 | --------------------------------------------------------------------- |
| 342 | trial test_suite PASS |
| 343 | --------------------------------------------------------------------- |
| 344 | PASS: test_suite (pass: 1, skip: 5) |
| 345 | pass: hello_world.py (N.N sec) |
| 346 | skip: mo_mt_sms.py |
| 347 | skip: mo_sms.py |
| 348 | skip: test_error.py |
| 349 | skip: test_fail.py |
| 350 | skip: test_fail_raise.py |
Pau Espin Pedrol | aab5692 | 2018-08-21 14:58:29 +0200 | [diff] [blame] | 351 | - test with scenario and modifiers |
| 352 | cnf 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]] |
| 353 | cnf ResourcesPool: DBG: Found path state_dir as [PATH]/selftest/suite_test/test_work/state_dir [config.py:[LINENR]] |
| 354 | tst test_suite: reserving resources in [PATH]/selftest/suite_test/test_work/state_dir ... [suite.py:[LINENR]] |
| 355 | tst test_suite: DBG: {combining='resources'} [suite.py:[LINENR]] |
| 356 | tst {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]] |
| 357 | tst {combining_scenarios='resources', scenario='foo'}: [RESOURCE_DICT] |
| 358 | tst test_suite: DBG: {combining='modifiers'} [suite.py:[LINENR]] |
| 359 | tst {combining_scenarios='modifiers'}: DBG: {definition_conf={}} [test_suite↪{combining_scenarios='modifiers'}] [suite.py:[LINENR]] |
| 360 | tst {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]] |
| 361 | tst test_suite: Reserving 3 x bts (candidates: 6) [resource.py:[LINENR]] |
Pau Espin Pedrol | 0d45504 | 2018-08-27 17:07:41 +0200 | [diff] [blame] | 362 | tst test_suite: DBG: Picked - _hash: a59640b8ba6a373552b24a6f9f65cadd2347bace |
Pau Espin Pedrol | aab5692 | 2018-08-21 14:58:29 +0200 | [diff] [blame] | 363 | addr: 10.42.42.53 |
| 364 | band: GSM-1800 |
| 365 | ipa_unit_id: '7' |
| 366 | label: sysmoCell 5000 |
Pau Espin Pedrol | 0d45504 | 2018-08-27 17:07:41 +0200 | [diff] [blame] | 367 | osmo_trx: |
| 368 | clock_reference: external |
| 369 | launch_trx: 'False' |
| 370 | trx_ip: 10.42.42.112 |
Pau Espin Pedrol | aab5692 | 2018-08-21 14:58:29 +0200 | [diff] [blame] | 371 | trx_list: |
| 372 | - max_power_red: '3' |
| 373 | nominal_power: '10' |
| 374 | - max_power_red: '0' |
| 375 | nominal_power: '12' |
Pau Espin Pedrol | aab5692 | 2018-08-21 14:58:29 +0200 | [diff] [blame] | 376 | type: osmo-bts-trx |
Pau Espin Pedrol | 0d45504 | 2018-08-27 17:07:41 +0200 | [diff] [blame] | 377 | - _hash: c2feabd082c36a1cdeccb9a5237dfff7dbadb009 |
Pau Espin Pedrol | aab5692 | 2018-08-21 14:58:29 +0200 | [diff] [blame] | 378 | addr: 10.42.42.53 |
| 379 | band: GSM-1800 |
| 380 | ipa_unit_id: '7' |
| 381 | label: sysmoCell 5000 |
Pau Espin Pedrol | 0d45504 | 2018-08-27 17:07:41 +0200 | [diff] [blame] | 382 | osmo_trx: |
| 383 | clock_reference: external |
| 384 | launch_trx: 'False' |
| 385 | trx_ip: 10.42.42.112 |
Pau Espin Pedrol | aab5692 | 2018-08-21 14:58:29 +0200 | [diff] [blame] | 386 | trx_list: |
| 387 | - nominal_power: '10' |
| 388 | - max_power_red: '1' |
| 389 | nominal_power: '12' |
Pau Espin Pedrol | aab5692 | 2018-08-21 14:58:29 +0200 | [diff] [blame] | 390 | type: osmo-bts-trx |
| 391 | - _hash: 07d9c8aaa940b674efcbbabdd69f58a6ce4e94f9 |
| 392 | addr: 10.42.42.114 |
| 393 | band: GSM-1800 |
| 394 | ipa_unit_id: '1' |
| 395 | label: sysmoBTS 1002 |
| 396 | type: sysmo |
| 397 | [resource.py:[LINENR]] |
| 398 | tst test_suite: Reserving 1 x ip_address (candidates: 3) [resource.py:[LINENR]] |
| 399 | tst test_suite: DBG: Picked - _hash: cde1debf28f07f94f92c761b4b7c6bf35785ced4 |
| 400 | addr: 10.42.42.1 |
| 401 | [resource.py:[LINENR]] |
| 402 | tst test_suite: Reserving 2 x modem (candidates: 16) [resource.py:[LINENR]] |
| 403 | tst test_suite: DBG: Picked - _hash: 19c69e45aa090fb511446bd00797690aa82ff52f |
| 404 | imsi: '901700000007801' |
| 405 | ki: D620F48487B1B782DA55DF6717F08FF9 |
| 406 | label: m7801 |
| 407 | path: /wavecom_0 |
| 408 | - _hash: e1a46516a1fb493b2617ab14fc1693a9a45ec254 |
| 409 | imsi: '901700000007802' |
| 410 | ki: 47FDB2D55CE6A10A85ABDAD034A5B7B3 |
| 411 | label: m7802 |
| 412 | path: /wavecom_1 |
| 413 | [resource.py:[LINENR]] |
Pau Espin Pedrol | 0d45504 | 2018-08-27 17:07:41 +0200 | [diff] [blame] | 414 | resources(test_suite)={'bts': [{'_hash': 'a59640b8ba6a373552b24a6f9f65cadd2347bace', |
Pau Espin Pedrol | aab5692 | 2018-08-21 14:58:29 +0200 | [diff] [blame] | 415 | '_reserved_by': 'test_suite-[ID_NUM]-[ID_NUM]', |
| 416 | 'addr': '10.42.42.53', |
| 417 | 'band': 'GSM-1800', |
| 418 | 'ipa_unit_id': '7', |
| 419 | 'label': 'sysmoCell 5000', |
Pau Espin Pedrol | 0d45504 | 2018-08-27 17:07:41 +0200 | [diff] [blame] | 420 | 'osmo_trx': {'clock_reference': 'external', |
| 421 | 'launch_trx': 'False', |
| 422 | 'trx_ip': '10.42.42.112'}, |
Pau Espin Pedrol | aab5692 | 2018-08-21 14:58:29 +0200 | [diff] [blame] | 423 | 'trx_list': [{'max_power_red': '3', 'nominal_power': '20'}, |
| 424 | {'max_power_red': '0', 'nominal_power': '20'}], |
Pau Espin Pedrol | aab5692 | 2018-08-21 14:58:29 +0200 | [diff] [blame] | 425 | 'type': 'osmo-bts-trx'}, |
Pau Espin Pedrol | 0d45504 | 2018-08-27 17:07:41 +0200 | [diff] [blame] | 426 | {'_hash': 'c2feabd082c36a1cdeccb9a5237dfff7dbadb009', |
Pau Espin Pedrol | aab5692 | 2018-08-21 14:58:29 +0200 | [diff] [blame] | 427 | '_reserved_by': 'test_suite-[ID_NUM]-[ID_NUM]', |
| 428 | 'addr': '10.42.42.53', |
| 429 | 'band': 'GSM-1800', |
| 430 | 'ipa_unit_id': '7', |
| 431 | 'label': 'sysmoCell 5000', |
Pau Espin Pedrol | 0d45504 | 2018-08-27 17:07:41 +0200 | [diff] [blame] | 432 | 'osmo_trx': {'clock_reference': 'external', |
| 433 | 'launch_trx': 'False', |
| 434 | 'trx_ip': '10.42.42.112'}, |
Pau Espin Pedrol | aab5692 | 2018-08-21 14:58:29 +0200 | [diff] [blame] | 435 | 'trx_list': [{'nominal_power': '20'}, |
| 436 | {'max_power_red': '1', 'nominal_power': '20'}], |
Pau Espin Pedrol | aab5692 | 2018-08-21 14:58:29 +0200 | [diff] [blame] | 437 | 'type': 'osmo-bts-trx'}, |
| 438 | {'_hash': '07d9c8aaa940b674efcbbabdd69f58a6ce4e94f9', |
| 439 | '_reserved_by': 'test_suite-[ID_NUM]-[ID_NUM]', |
| 440 | 'addr': '10.42.42.114', |
| 441 | 'band': 'GSM-1800', |
| 442 | 'ipa_unit_id': '1', |
| 443 | 'label': 'sysmoBTS 1002', |
| 444 | 'type': 'sysmo'}], |
| 445 | 'ip_address': [{'_hash': 'cde1debf28f07f94f92c761b4b7c6bf35785ced4', |
| 446 | '_reserved_by': 'test_suite-[ID_NUM]-[ID_NUM]', |
| 447 | 'addr': '10.42.42.1'}], |
| 448 | 'modem': [{'_hash': '19c69e45aa090fb511446bd00797690aa82ff52f', |
| 449 | '_reserved_by': 'test_suite-[ID_NUM]-[ID_NUM]', |
| 450 | 'imsi': '901700000007801', |
| 451 | 'ki': 'D620F48487B1B782DA55DF6717F08FF9', |
| 452 | 'label': 'm7801', |
| 453 | 'path': '/wavecom_0'}, |
| 454 | {'_hash': 'e1a46516a1fb493b2617ab14fc1693a9a45ec254', |
| 455 | '_reserved_by': 'test_suite-[ID_NUM]-[ID_NUM]', |
| 456 | 'imsi': '901700000007802', |
| 457 | 'ki': '47FDB2D55CE6A10A85ABDAD034A5B7B3', |
| 458 | 'label': 'm7802', |
| 459 | 'path': '/wavecom_1'}]} |
| 460 | |
| 461 | --------------------------------------------------------------------- |
| 462 | trial test_suite |
| 463 | --------------------------------------------------------------------- |
| 464 | |
| 465 | ---------------------------------------------- |
| 466 | trial test_suite hello_world.py |
| 467 | ---------------------------------------------- |
| 468 | tst hello_world.py:[LINENR]: hello world [test_suite↪hello_world.py:[LINENR]] [hello_world.py:[LINENR]] |
| 469 | tst hello_world.py:[LINENR]: I am 'test_suite' / 'hello_world.py:[LINENR]' [test_suite↪hello_world.py:[LINENR]] [hello_world.py:[LINENR]] |
| 470 | tst hello_world.py:[LINENR]: one [test_suite↪hello_world.py:[LINENR]] [hello_world.py:[LINENR]] |
| 471 | tst hello_world.py:[LINENR]: two [test_suite↪hello_world.py:[LINENR]] [hello_world.py:[LINENR]] |
| 472 | tst hello_world.py:[LINENR]: three [test_suite↪hello_world.py:[LINENR]] [hello_world.py:[LINENR]] |
| 473 | tst hello_world.py:[LINENR] Test passed (N.N sec) [test_suite↪hello_world.py] [test.py:[LINENR]] |
| 474 | --------------------------------------------------------------------- |
| 475 | trial test_suite PASS |
| 476 | --------------------------------------------------------------------- |
| 477 | PASS: test_suite (pass: 1, skip: 5) |
| 478 | pass: hello_world.py (N.N sec) |
| 479 | skip: mo_mt_sms.py |
| 480 | skip: mo_sms.py |
| 481 | skip: test_error.py |
| 482 | skip: test_fail.py |
| 483 | skip: test_fail_raise.py |
Neels Hofmeyr | 3531a19 | 2017-03-28 14:30:28 +0200 | [diff] [blame] | 484 | |
| 485 | - graceful exit. |