Neels Hofmeyr | 3531a19 | 2017-03-28 14:30:28 +0200 | [diff] [blame] | 1 | - non-existing suite dir |
Pau Espin Pedrol | 6c6c0e8 | 2020-05-11 18:30:58 +0200 | [diff] [blame] | 2 | cnf -: DBG: Found main configuration file in [PATH]/selftest/suite_test/paths.conf which is [PATH]/selftest/suite_test/paths.conf |
| 3 | cnf -: 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 Pedrol | 66ef945 | 2020-05-25 13:26:41 +0200 | [diff] [blame] | 7 | 'scenarios_dir': ['[PATH]/selftest/suite_test/scenarios'], |
Pau Espin Pedrol | 6c6c0e8 | 2020-05-11 18:30:58 +0200 | [diff] [blame] | 8 | 'state_dir': '[PATH]/selftest/suite_test/test_work/state_dir', |
Pau Espin Pedrol | 66ef945 | 2020-05-25 13:26:41 +0200 | [diff] [blame] | 9 | 'suites_dir': ['[PATH]/selftest/suite_test/suitedirA', |
| 10 | '[PATH]/selftest/suite_test/suitedirB'], |
Pau Espin Pedrol | e972c9c | 2020-05-12 15:06:55 +0200 | [diff] [blame] | 11 | 'trial_dir': '[PATH]/selftest/suite_test/trial'} |
Pau Espin Pedrol | 66ef945 | 2020-05-25 13:26:41 +0200 | [diff] [blame] | 12 | --- -: ERR: RuntimeError: Suite not found: 'does_not_exist' in [[PATH]/selftest/suite_test/suitedirA, [PATH]/selftest/suite_test/suitedirB] |
Neels Hofmeyr | 3531a19 | 2017-03-28 14:30:28 +0200 | [diff] [blame] | 13 | - no suite.conf |
Neels Hofmeyr | 31e8320 | 2017-06-06 19:44:32 +0200 | [diff] [blame] | 14 | cnf empty_dir: DBG: reading suite.conf |
Pau Espin Pedrol | 66ef945 | 2020-05-25 13:26:41 +0200 | [diff] [blame] | 15 | cnf [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 Hofmeyr | 3531a19 | 2017-03-28 14:30:28 +0200 | [diff] [blame] | 16 | - valid suite dir |
Neels Hofmeyr | 31e8320 | 2017-06-06 19:44:32 +0200 | [diff] [blame] | 17 | cnf test_suite: DBG: reading suite.conf |
Neels Hofmeyr | 3531a19 | 2017-03-28 14:30:28 +0200 | [diff] [blame] | 18 | defaults: |
| 19 | timeout: 60s |
| 20 | resources: |
| 21 | bts: |
Pau Espin Pedrol | cbc7242 | 2017-09-14 15:55:49 +0200 | [diff] [blame] | 22 | - label: sysmoCell 5000 |
| 23 | times: '2' |
Neels Hofmeyr | 3531a19 | 2017-03-28 14:30:28 +0200 | [diff] [blame] | 24 | - times: '1' |
Pau Espin Pedrol | cbc7242 | 2017-09-14 15:55:49 +0200 | [diff] [blame] | 25 | type: sysmo |
Neels Hofmeyr | 76d8103 | 2017-05-18 18:35:32 +0200 | [diff] [blame] | 26 | ip_address: |
| 27 | - times: '1' |
Neels Hofmeyr | 3531a19 | 2017-03-28 14:30:28 +0200 | [diff] [blame] | 28 | modem: |
| 29 | - times: '2' |
Neels Hofmeyr | 3531a19 | 2017-03-28 14:30:28 +0200 | [diff] [blame] | 30 | |
| 31 | - run hello world test |
Neels Hofmeyr | 6ccda11 | 2017-06-06 19:41:17 +0200 | [diff] [blame] | 32 | |
| 33 | --------------------------------------------------------------------- |
| 34 | trial test_suite |
| 35 | --------------------------------------------------------------------- |
Neels Hofmeyr | 7e2e8f1 | 2017-05-14 03:37:13 +0200 | [diff] [blame] | 36 | 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] | 37 | tst test_suite: DBG: {combining='resources'} |
Pau Espin Pedrol | cbc7242 | 2017-09-14 15:55:49 +0200 | [diff] [blame] | 38 | 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] | 39 | tst test_suite: DBG: {combining='modifiers'} |
| 40 | 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] | 41 | tst test_suite: Reserving 3 x bts (candidates: 6) |
Pau Espin Pedrol | 0d45504 | 2018-08-27 17:07:41 +0200 | [diff] [blame] | 42 | tst test_suite: DBG: Picked - _hash: a59640b8ba6a373552b24a6f9f65cadd2347bace |
Pau Espin Pedrol | cbc7242 | 2017-09-14 15:55:49 +0200 | [diff] [blame] | 43 | addr: 10.42.42.53 |
| 44 | band: GSM-1800 |
| 45 | ipa_unit_id: '7' |
| 46 | label: sysmoCell 5000 |
Pau Espin Pedrol | 0d45504 | 2018-08-27 17:07:41 +0200 | [diff] [blame] | 47 | osmo_trx: |
| 48 | clock_reference: external |
| 49 | launch_trx: 'False' |
| 50 | trx_ip: 10.42.42.112 |
Pau Espin Pedrol | cbc7242 | 2017-09-14 15:55:49 +0200 | [diff] [blame] | 51 | trx_list: |
| 52 | - max_power_red: '3' |
| 53 | nominal_power: '10' |
| 54 | - max_power_red: '0' |
| 55 | nominal_power: '12' |
Pau Espin Pedrol | cbc7242 | 2017-09-14 15:55:49 +0200 | [diff] [blame] | 56 | type: osmo-bts-trx |
Pau Espin Pedrol | 0d45504 | 2018-08-27 17:07:41 +0200 | [diff] [blame] | 57 | - _hash: c2feabd082c36a1cdeccb9a5237dfff7dbadb009 |
Pau Espin Pedrol | cbc7242 | 2017-09-14 15:55:49 +0200 | [diff] [blame] | 58 | addr: 10.42.42.53 |
| 59 | band: GSM-1800 |
| 60 | ipa_unit_id: '7' |
| 61 | label: sysmoCell 5000 |
Pau Espin Pedrol | 0d45504 | 2018-08-27 17:07:41 +0200 | [diff] [blame] | 62 | osmo_trx: |
| 63 | clock_reference: external |
| 64 | launch_trx: 'False' |
| 65 | trx_ip: 10.42.42.112 |
Pau Espin Pedrol | cbc7242 | 2017-09-14 15:55:49 +0200 | [diff] [blame] | 66 | trx_list: |
| 67 | - nominal_power: '10' |
| 68 | - max_power_red: '1' |
| 69 | nominal_power: '12' |
Pau Espin Pedrol | cbc7242 | 2017-09-14 15:55:49 +0200 | [diff] [blame] | 70 | type: osmo-bts-trx |
| 71 | - _hash: 07d9c8aaa940b674efcbbabdd69f58a6ce4e94f9 |
Neels Hofmeyr | 17c139e | 2017-04-12 02:42:02 +0200 | [diff] [blame] | 72 | addr: 10.42.42.114 |
| 73 | band: GSM-1800 |
| 74 | ipa_unit_id: '1' |
| 75 | label: sysmoBTS 1002 |
| 76 | type: sysmo |
Neels Hofmeyr | 31e8320 | 2017-06-06 19:44:32 +0200 | [diff] [blame] | 77 | tst test_suite: Reserving 1 x ip_address (candidates: 3) |
Neels Hofmeyr | 76d8103 | 2017-05-18 18:35:32 +0200 | [diff] [blame] | 78 | tst test_suite: DBG: Picked - _hash: cde1debf28f07f94f92c761b4b7c6bf35785ced4 |
| 79 | addr: 10.42.42.1 |
Neels Hofmeyr | 31e8320 | 2017-06-06 19:44:32 +0200 | [diff] [blame] | 80 | tst test_suite: Reserving 2 x modem (candidates: 16) |
Neels Hofmeyr | cccbe59 | 2017-05-07 01:16:07 +0200 | [diff] [blame] | 81 | tst test_suite: DBG: Picked - _hash: 19c69e45aa090fb511446bd00797690aa82ff52f |
Neels Hofmeyr | 17c139e | 2017-04-12 02:42:02 +0200 | [diff] [blame] | 82 | imsi: '901700000007801' |
| 83 | ki: D620F48487B1B782DA55DF6717F08FF9 |
| 84 | label: m7801 |
| 85 | path: /wavecom_0 |
| 86 | - _hash: e1a46516a1fb493b2617ab14fc1693a9a45ec254 |
| 87 | imsi: '901700000007802' |
| 88 | ki: 47FDB2D55CE6A10A85ABDAD034A5B7B3 |
| 89 | label: m7802 |
| 90 | path: /wavecom_1 |
Neels Hofmeyr | 6ccda11 | 2017-06-06 19:41:17 +0200 | [diff] [blame] | 91 | |
| 92 | ---------------------------------------------- |
| 93 | trial test_suite hello_world.py |
| 94 | ---------------------------------------------- |
Neels Hofmeyr | d1bedb1 | 2017-05-07 03:02:23 +0200 | [diff] [blame] | 95 | tst hello_world.py:[LINENR]: hello world [test_suite↪hello_world.py:[LINENR]] |
| 96 | tst hello_world.py:[LINENR]: I am 'test_suite' / 'hello_world.py:[LINENR]' [test_suite↪hello_world.py:[LINENR]] |
| 97 | tst hello_world.py:[LINENR]: one [test_suite↪hello_world.py:[LINENR]] |
| 98 | tst hello_world.py:[LINENR]: two [test_suite↪hello_world.py:[LINENR]] |
| 99 | tst hello_world.py:[LINENR]: three [test_suite↪hello_world.py:[LINENR]] |
Neels Hofmeyr | 6ccda11 | 2017-06-06 19:41:17 +0200 | [diff] [blame] | 100 | tst hello_world.py:[LINENR] Test passed (N.N sec) [test_suite↪hello_world.py] |
| 101 | --------------------------------------------------------------------- |
| 102 | trial test_suite PASS |
| 103 | --------------------------------------------------------------------- |
Pau Espin Pedrol | 3063730 | 2020-05-06 21:11:02 +0200 | [diff] [blame] | 104 | PASS: test_suite (pass: 1, skip: 6) |
Neels Hofmeyr | 6ccda11 | 2017-06-06 19:41:17 +0200 | [diff] [blame] | 105 | pass: hello_world.py (N.N sec) |
| 106 | skip: mo_mt_sms.py |
| 107 | skip: mo_sms.py |
| 108 | skip: test_error.py |
| 109 | skip: test_fail.py |
| 110 | skip: test_fail_raise.py |
Pau Espin Pedrol | 3063730 | 2020-05-06 21:11:02 +0200 | [diff] [blame] | 111 | skip: test_suite_params.py |
Neels Hofmeyr | 3531a19 | 2017-03-28 14:30:28 +0200 | [diff] [blame] | 112 | |
| 113 | - a test with an error |
Neels Hofmeyr | 6ccda11 | 2017-06-06 19:41:17 +0200 | [diff] [blame] | 114 | |
| 115 | --------------------------------------------------------------------- |
| 116 | trial test_suite |
| 117 | --------------------------------------------------------------------- |
| 118 | |
| 119 | ---------------------------------------------- |
| 120 | trial test_suite test_error.py |
| 121 | ---------------------------------------------- |
Neels Hofmeyr | d1bedb1 | 2017-05-07 03:02:23 +0200 | [diff] [blame] | 122 | 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] | 123 | 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] | 124 | 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] | 125 | --------------------------------------------------------------------- |
| 126 | trial test_suite FAIL |
| 127 | --------------------------------------------------------------------- |
Pau Espin Pedrol | 3063730 | 2020-05-06 21:11:02 +0200 | [diff] [blame] | 128 | FAIL: test_suite (fail: 1, skip: 6) |
Neels Hofmeyr | 6ccda11 | 2017-06-06 19:41:17 +0200 | [diff] [blame] | 129 | skip: hello_world.py (N.N sec) |
| 130 | skip: mo_mt_sms.py |
| 131 | skip: mo_sms.py |
Neels Hofmeyr | 1a7a3f0 | 2017-06-10 01:18:27 +0200 | [diff] [blame] | 132 | 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] | 133 | skip: test_fail.py |
| 134 | skip: test_fail_raise.py |
Pau Espin Pedrol | 3063730 | 2020-05-06 21:11:02 +0200 | [diff] [blame] | 135 | skip: test_suite_params.py |
Pau Espin Pedrol | 0ffb414 | 2017-05-15 18:24:35 +0200 | [diff] [blame] | 136 | |
| 137 | - a test with a failure |
Neels Hofmeyr | 6ccda11 | 2017-06-06 19:41:17 +0200 | [diff] [blame] | 138 | |
| 139 | --------------------------------------------------------------------- |
| 140 | trial test_suite |
| 141 | --------------------------------------------------------------------- |
| 142 | |
| 143 | ---------------------------------------------- |
| 144 | trial test_suite test_fail.py |
| 145 | ---------------------------------------------- |
Pau Espin Pedrol | 0ffb414 | 2017-05-15 18:24:35 +0200 | [diff] [blame] | 146 | 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] | 147 | 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] | 148 | 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] | 149 | --------------------------------------------------------------------- |
| 150 | trial test_suite FAIL |
| 151 | --------------------------------------------------------------------- |
Pau Espin Pedrol | 3063730 | 2020-05-06 21:11:02 +0200 | [diff] [blame] | 152 | FAIL: test_suite (fail: 1, skip: 6) |
Neels Hofmeyr | 6ccda11 | 2017-06-06 19:41:17 +0200 | [diff] [blame] | 153 | skip: hello_world.py (N.N sec) |
| 154 | skip: mo_mt_sms.py |
| 155 | skip: mo_sms.py |
| 156 | skip: test_error.py (N.N sec) |
| 157 | FAIL: test_fail.py (N.N sec) EpicFail: This failure is expected |
| 158 | skip: test_fail_raise.py |
Pau Espin Pedrol | 3063730 | 2020-05-06 21:11:02 +0200 | [diff] [blame] | 159 | skip: test_suite_params.py |
Pau Espin Pedrol | 0ffb414 | 2017-05-15 18:24:35 +0200 | [diff] [blame] | 160 | |
| 161 | - a test with a raised failure |
Neels Hofmeyr | 6ccda11 | 2017-06-06 19:41:17 +0200 | [diff] [blame] | 162 | |
| 163 | --------------------------------------------------------------------- |
| 164 | trial test_suite |
| 165 | --------------------------------------------------------------------- |
| 166 | |
| 167 | ---------------------------------------------- |
| 168 | trial test_suite test_fail_raise.py |
| 169 | ---------------------------------------------- |
Neels Hofmeyr | 1a7a3f0 | 2017-06-10 01:18:27 +0200 | [diff] [blame] | 170 | 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] | 171 | 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] | 172 | --------------------------------------------------------------------- |
| 173 | trial test_suite FAIL |
| 174 | --------------------------------------------------------------------- |
Pau Espin Pedrol | 3063730 | 2020-05-06 21:11:02 +0200 | [diff] [blame] | 175 | FAIL: test_suite (fail: 1, skip: 6) |
Neels Hofmeyr | 6ccda11 | 2017-06-06 19:41:17 +0200 | [diff] [blame] | 176 | skip: hello_world.py (N.N sec) |
| 177 | skip: mo_mt_sms.py |
| 178 | skip: mo_sms.py |
| 179 | skip: test_error.py (N.N sec) |
| 180 | skip: test_fail.py (N.N sec) |
Neels Hofmeyr | 1a7a3f0 | 2017-06-10 01:18:27 +0200 | [diff] [blame] | 181 | FAIL: test_fail_raise.py (N.N sec) ExpectedFail: This failure is expected |
Pau Espin Pedrol | 3063730 | 2020-05-06 21:11:02 +0200 | [diff] [blame] | 182 | skip: test_suite_params.py |
Pau Espin Pedrol | 0b30279 | 2017-09-10 16:33:10 +0200 | [diff] [blame] | 183 | - test with half empty scenario |
Pau Espin Pedrol | 0b30279 | 2017-09-10 16:33:10 +0200 | [diff] [blame] | 184 | |
| 185 | --------------------------------------------------------------------- |
| 186 | trial test_suite |
| 187 | --------------------------------------------------------------------- |
| 188 | tst test_suite: reserving resources in [PATH]/selftest/suite_test/test_work/state_dir ... [suite.py:[LINENR]] |
| 189 | tst test_suite: DBG: {combining='resources'} [suite.py:[LINENR]] |
Pau Espin Pedrol | cbc7242 | 2017-09-14 15:55:49 +0200 | [diff] [blame] | 190 | 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] | 191 | tst {combining_scenarios='resources', scenario='foo'}: [RESOURCE_DICT] |
Pau Espin Pedrol | aab5692 | 2018-08-21 14:58:29 +0200 | [diff] [blame] | 192 | tst test_suite: DBG: {combining='modifiers'} [suite.py:[LINENR]] |
| 193 | tst {combining_scenarios='modifiers'}: DBG: {definition_conf={}} [test_suite↪{combining_scenarios='modifiers'}] [suite.py:[LINENR]] |
| 194 | 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] | 195 | 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] | 196 | tst test_suite: DBG: Picked - _hash: a59640b8ba6a373552b24a6f9f65cadd2347bace |
Pau Espin Pedrol | cbc7242 | 2017-09-14 15:55:49 +0200 | [diff] [blame] | 197 | addr: 10.42.42.53 |
| 198 | band: GSM-1800 |
| 199 | ipa_unit_id: '7' |
| 200 | label: sysmoCell 5000 |
Pau Espin Pedrol | 0d45504 | 2018-08-27 17:07:41 +0200 | [diff] [blame] | 201 | osmo_trx: |
| 202 | clock_reference: external |
| 203 | launch_trx: 'False' |
| 204 | trx_ip: 10.42.42.112 |
Pau Espin Pedrol | cbc7242 | 2017-09-14 15:55:49 +0200 | [diff] [blame] | 205 | trx_list: |
| 206 | - max_power_red: '3' |
| 207 | nominal_power: '10' |
| 208 | - max_power_red: '0' |
| 209 | nominal_power: '12' |
Pau Espin Pedrol | cbc7242 | 2017-09-14 15:55:49 +0200 | [diff] [blame] | 210 | type: osmo-bts-trx |
Pau Espin Pedrol | 0d45504 | 2018-08-27 17:07:41 +0200 | [diff] [blame] | 211 | - _hash: c2feabd082c36a1cdeccb9a5237dfff7dbadb009 |
Pau Espin Pedrol | cbc7242 | 2017-09-14 15:55:49 +0200 | [diff] [blame] | 212 | addr: 10.42.42.53 |
| 213 | band: GSM-1800 |
| 214 | ipa_unit_id: '7' |
| 215 | label: sysmoCell 5000 |
Pau Espin Pedrol | 0d45504 | 2018-08-27 17:07:41 +0200 | [diff] [blame] | 216 | osmo_trx: |
| 217 | clock_reference: external |
| 218 | launch_trx: 'False' |
| 219 | trx_ip: 10.42.42.112 |
Pau Espin Pedrol | cbc7242 | 2017-09-14 15:55:49 +0200 | [diff] [blame] | 220 | trx_list: |
| 221 | - nominal_power: '10' |
| 222 | - max_power_red: '1' |
| 223 | nominal_power: '12' |
Pau Espin Pedrol | cbc7242 | 2017-09-14 15:55:49 +0200 | [diff] [blame] | 224 | type: osmo-bts-trx |
| 225 | - _hash: 07d9c8aaa940b674efcbbabdd69f58a6ce4e94f9 |
Pau Espin Pedrol | 0b30279 | 2017-09-10 16:33:10 +0200 | [diff] [blame] | 226 | addr: 10.42.42.114 |
| 227 | band: GSM-1800 |
| 228 | ipa_unit_id: '1' |
| 229 | label: sysmoBTS 1002 |
| 230 | type: sysmo |
Pau Espin Pedrol | 0b30279 | 2017-09-10 16:33:10 +0200 | [diff] [blame] | 231 | [resource.py:[LINENR]] |
| 232 | tst test_suite: Reserving 1 x ip_address (candidates: 3) [resource.py:[LINENR]] |
| 233 | tst test_suite: DBG: Picked - _hash: cde1debf28f07f94f92c761b4b7c6bf35785ced4 |
| 234 | addr: 10.42.42.1 |
| 235 | [resource.py:[LINENR]] |
| 236 | tst test_suite: Reserving 2 x modem (candidates: 16) [resource.py:[LINENR]] |
| 237 | tst test_suite: DBG: Picked - _hash: 19c69e45aa090fb511446bd00797690aa82ff52f |
| 238 | imsi: '901700000007801' |
| 239 | ki: D620F48487B1B782DA55DF6717F08FF9 |
| 240 | label: m7801 |
| 241 | path: /wavecom_0 |
| 242 | - _hash: e1a46516a1fb493b2617ab14fc1693a9a45ec254 |
| 243 | imsi: '901700000007802' |
| 244 | ki: 47FDB2D55CE6A10A85ABDAD034A5B7B3 |
| 245 | label: m7802 |
| 246 | path: /wavecom_1 |
| 247 | [resource.py:[LINENR]] |
| 248 | |
| 249 | ---------------------------------------------- |
| 250 | trial test_suite hello_world.py |
| 251 | ---------------------------------------------- |
| 252 | tst hello_world.py:[LINENR]: hello world [test_suite↪hello_world.py:[LINENR]] [hello_world.py:[LINENR]] |
| 253 | tst hello_world.py:[LINENR]: I am 'test_suite' / 'hello_world.py:[LINENR]' [test_suite↪hello_world.py:[LINENR]] [hello_world.py:[LINENR]] |
| 254 | tst hello_world.py:[LINENR]: one [test_suite↪hello_world.py:[LINENR]] [hello_world.py:[LINENR]] |
| 255 | tst hello_world.py:[LINENR]: two [test_suite↪hello_world.py:[LINENR]] [hello_world.py:[LINENR]] |
| 256 | 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] | 257 | 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] | 258 | --------------------------------------------------------------------- |
| 259 | trial test_suite PASS |
| 260 | --------------------------------------------------------------------- |
Pau Espin Pedrol | 3063730 | 2020-05-06 21:11:02 +0200 | [diff] [blame] | 261 | PASS: test_suite (pass: 1, skip: 6) |
Pau Espin Pedrol | 0b30279 | 2017-09-10 16:33:10 +0200 | [diff] [blame] | 262 | pass: hello_world.py (N.N sec) |
| 263 | skip: mo_mt_sms.py |
| 264 | skip: mo_sms.py |
| 265 | skip: test_error.py |
| 266 | skip: test_fail.py |
| 267 | skip: test_fail_raise.py |
Pau Espin Pedrol | 3063730 | 2020-05-06 21:11:02 +0200 | [diff] [blame] | 268 | skip: test_suite_params.py |
Pau Espin Pedrol | 0b30279 | 2017-09-10 16:33:10 +0200 | [diff] [blame] | 269 | - test with scenario |
Pau Espin Pedrol | 0b30279 | 2017-09-10 16:33:10 +0200 | [diff] [blame] | 270 | |
| 271 | --------------------------------------------------------------------- |
| 272 | trial test_suite |
| 273 | --------------------------------------------------------------------- |
| 274 | tst test_suite: reserving resources in [PATH]/selftest/suite_test/test_work/state_dir ... [suite.py:[LINENR]] |
| 275 | tst test_suite: DBG: {combining='resources'} [suite.py:[LINENR]] |
Pau Espin Pedrol | cbc7242 | 2017-09-14 15:55:49 +0200 | [diff] [blame] | 276 | 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] | 277 | tst {combining_scenarios='resources', scenario='foo'}: [RESOURCE_DICT] |
Pau Espin Pedrol | aab5692 | 2018-08-21 14:58:29 +0200 | [diff] [blame] | 278 | tst test_suite: DBG: {combining='modifiers'} [suite.py:[LINENR]] |
| 279 | tst {combining_scenarios='modifiers'}: DBG: {definition_conf={}} [test_suite↪{combining_scenarios='modifiers'}] [suite.py:[LINENR]] |
| 280 | 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] | 281 | 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] | 282 | tst test_suite: DBG: Picked - _hash: a59640b8ba6a373552b24a6f9f65cadd2347bace |
Pau Espin Pedrol | 0b30279 | 2017-09-10 16:33:10 +0200 | [diff] [blame] | 283 | addr: 10.42.42.53 |
| 284 | band: GSM-1800 |
| 285 | ipa_unit_id: '7' |
| 286 | label: sysmoCell 5000 |
Pau Espin Pedrol | 0d45504 | 2018-08-27 17:07:41 +0200 | [diff] [blame] | 287 | osmo_trx: |
| 288 | clock_reference: external |
| 289 | launch_trx: 'False' |
| 290 | trx_ip: 10.42.42.112 |
Pau Espin Pedrol | 0b30279 | 2017-09-10 16:33:10 +0200 | [diff] [blame] | 291 | trx_list: |
Pau Espin Pedrol | 5847551 | 2017-09-14 15:33:15 +0200 | [diff] [blame] | 292 | - max_power_red: '3' |
| 293 | nominal_power: '10' |
| 294 | - max_power_red: '0' |
| 295 | nominal_power: '12' |
Pau Espin Pedrol | 0b30279 | 2017-09-10 16:33:10 +0200 | [diff] [blame] | 296 | type: osmo-bts-trx |
Pau Espin Pedrol | 0d45504 | 2018-08-27 17:07:41 +0200 | [diff] [blame] | 297 | - _hash: c2feabd082c36a1cdeccb9a5237dfff7dbadb009 |
Pau Espin Pedrol | cbc7242 | 2017-09-14 15:55:49 +0200 | [diff] [blame] | 298 | addr: 10.42.42.53 |
| 299 | band: GSM-1800 |
| 300 | ipa_unit_id: '7' |
| 301 | label: sysmoCell 5000 |
Pau Espin Pedrol | 0d45504 | 2018-08-27 17:07:41 +0200 | [diff] [blame] | 302 | osmo_trx: |
| 303 | clock_reference: external |
| 304 | launch_trx: 'False' |
| 305 | trx_ip: 10.42.42.112 |
Pau Espin Pedrol | cbc7242 | 2017-09-14 15:55:49 +0200 | [diff] [blame] | 306 | trx_list: |
| 307 | - nominal_power: '10' |
| 308 | - max_power_red: '1' |
| 309 | nominal_power: '12' |
Pau Espin Pedrol | cbc7242 | 2017-09-14 15:55:49 +0200 | [diff] [blame] | 310 | type: osmo-bts-trx |
Pau Espin Pedrol | 0b30279 | 2017-09-10 16:33:10 +0200 | [diff] [blame] | 311 | - _hash: 07d9c8aaa940b674efcbbabdd69f58a6ce4e94f9 |
| 312 | addr: 10.42.42.114 |
| 313 | band: GSM-1800 |
| 314 | ipa_unit_id: '1' |
| 315 | label: sysmoBTS 1002 |
| 316 | type: sysmo |
| 317 | [resource.py:[LINENR]] |
| 318 | tst test_suite: Reserving 1 x ip_address (candidates: 3) [resource.py:[LINENR]] |
| 319 | tst test_suite: DBG: Picked - _hash: cde1debf28f07f94f92c761b4b7c6bf35785ced4 |
| 320 | addr: 10.42.42.1 |
| 321 | [resource.py:[LINENR]] |
| 322 | tst test_suite: Reserving 2 x modem (candidates: 16) [resource.py:[LINENR]] |
| 323 | tst test_suite: DBG: Picked - _hash: 19c69e45aa090fb511446bd00797690aa82ff52f |
| 324 | imsi: '901700000007801' |
| 325 | ki: D620F48487B1B782DA55DF6717F08FF9 |
| 326 | label: m7801 |
| 327 | path: /wavecom_0 |
| 328 | - _hash: e1a46516a1fb493b2617ab14fc1693a9a45ec254 |
| 329 | imsi: '901700000007802' |
| 330 | ki: 47FDB2D55CE6A10A85ABDAD034A5B7B3 |
| 331 | label: m7802 |
| 332 | path: /wavecom_1 |
| 333 | [resource.py:[LINENR]] |
| 334 | |
| 335 | ---------------------------------------------- |
| 336 | trial test_suite hello_world.py |
| 337 | ---------------------------------------------- |
| 338 | tst hello_world.py:[LINENR]: hello world [test_suite↪hello_world.py:[LINENR]] [hello_world.py:[LINENR]] |
| 339 | tst hello_world.py:[LINENR]: I am 'test_suite' / 'hello_world.py:[LINENR]' [test_suite↪hello_world.py:[LINENR]] [hello_world.py:[LINENR]] |
| 340 | tst hello_world.py:[LINENR]: one [test_suite↪hello_world.py:[LINENR]] [hello_world.py:[LINENR]] |
| 341 | tst hello_world.py:[LINENR]: two [test_suite↪hello_world.py:[LINENR]] [hello_world.py:[LINENR]] |
| 342 | 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] | 343 | 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] | 344 | --------------------------------------------------------------------- |
| 345 | trial test_suite PASS |
| 346 | --------------------------------------------------------------------- |
Pau Espin Pedrol | 3063730 | 2020-05-06 21:11:02 +0200 | [diff] [blame] | 347 | PASS: test_suite (pass: 1, skip: 6) |
Pau Espin Pedrol | 0b30279 | 2017-09-10 16:33:10 +0200 | [diff] [blame] | 348 | pass: hello_world.py (N.N sec) |
| 349 | skip: mo_mt_sms.py |
| 350 | skip: mo_sms.py |
| 351 | skip: test_error.py |
| 352 | skip: test_fail.py |
| 353 | skip: test_fail_raise.py |
Pau Espin Pedrol | 3063730 | 2020-05-06 21:11:02 +0200 | [diff] [blame] | 354 | skip: test_suite_params.py |
Pau Espin Pedrol | aab5692 | 2018-08-21 14:58:29 +0200 | [diff] [blame] | 355 | - test with scenario and modifiers |
Pau Espin Pedrol | aab5692 | 2018-08-21 14:58:29 +0200 | [diff] [blame] | 356 | tst test_suite: reserving resources in [PATH]/selftest/suite_test/test_work/state_dir ... [suite.py:[LINENR]] |
| 357 | tst test_suite: DBG: {combining='resources'} [suite.py:[LINENR]] |
| 358 | 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]] |
| 359 | tst {combining_scenarios='resources', scenario='foo'}: [RESOURCE_DICT] |
| 360 | tst test_suite: DBG: {combining='modifiers'} [suite.py:[LINENR]] |
| 361 | tst {combining_scenarios='modifiers'}: DBG: {definition_conf={}} [test_suite↪{combining_scenarios='modifiers'}] [suite.py:[LINENR]] |
| 362 | 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]] |
| 363 | 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] | 364 | tst test_suite: DBG: Picked - _hash: a59640b8ba6a373552b24a6f9f65cadd2347bace |
Pau Espin Pedrol | aab5692 | 2018-08-21 14:58:29 +0200 | [diff] [blame] | 365 | addr: 10.42.42.53 |
| 366 | band: GSM-1800 |
| 367 | ipa_unit_id: '7' |
| 368 | label: sysmoCell 5000 |
Pau Espin Pedrol | 0d45504 | 2018-08-27 17:07:41 +0200 | [diff] [blame] | 369 | osmo_trx: |
| 370 | clock_reference: external |
| 371 | launch_trx: 'False' |
| 372 | trx_ip: 10.42.42.112 |
Pau Espin Pedrol | aab5692 | 2018-08-21 14:58:29 +0200 | [diff] [blame] | 373 | trx_list: |
| 374 | - max_power_red: '3' |
| 375 | nominal_power: '10' |
| 376 | - max_power_red: '0' |
| 377 | nominal_power: '12' |
Pau Espin Pedrol | aab5692 | 2018-08-21 14:58:29 +0200 | [diff] [blame] | 378 | type: osmo-bts-trx |
Pau Espin Pedrol | 0d45504 | 2018-08-27 17:07:41 +0200 | [diff] [blame] | 379 | - _hash: c2feabd082c36a1cdeccb9a5237dfff7dbadb009 |
Pau Espin Pedrol | aab5692 | 2018-08-21 14:58:29 +0200 | [diff] [blame] | 380 | addr: 10.42.42.53 |
| 381 | band: GSM-1800 |
| 382 | ipa_unit_id: '7' |
| 383 | label: sysmoCell 5000 |
Pau Espin Pedrol | 0d45504 | 2018-08-27 17:07:41 +0200 | [diff] [blame] | 384 | osmo_trx: |
| 385 | clock_reference: external |
| 386 | launch_trx: 'False' |
| 387 | trx_ip: 10.42.42.112 |
Pau Espin Pedrol | aab5692 | 2018-08-21 14:58:29 +0200 | [diff] [blame] | 388 | trx_list: |
| 389 | - nominal_power: '10' |
| 390 | - max_power_red: '1' |
| 391 | nominal_power: '12' |
Pau Espin Pedrol | aab5692 | 2018-08-21 14:58:29 +0200 | [diff] [blame] | 392 | type: osmo-bts-trx |
| 393 | - _hash: 07d9c8aaa940b674efcbbabdd69f58a6ce4e94f9 |
| 394 | addr: 10.42.42.114 |
| 395 | band: GSM-1800 |
| 396 | ipa_unit_id: '1' |
| 397 | label: sysmoBTS 1002 |
| 398 | type: sysmo |
| 399 | [resource.py:[LINENR]] |
| 400 | tst test_suite: Reserving 1 x ip_address (candidates: 3) [resource.py:[LINENR]] |
| 401 | tst test_suite: DBG: Picked - _hash: cde1debf28f07f94f92c761b4b7c6bf35785ced4 |
| 402 | addr: 10.42.42.1 |
| 403 | [resource.py:[LINENR]] |
| 404 | tst test_suite: Reserving 2 x modem (candidates: 16) [resource.py:[LINENR]] |
| 405 | tst test_suite: DBG: Picked - _hash: 19c69e45aa090fb511446bd00797690aa82ff52f |
| 406 | imsi: '901700000007801' |
| 407 | ki: D620F48487B1B782DA55DF6717F08FF9 |
| 408 | label: m7801 |
| 409 | path: /wavecom_0 |
| 410 | - _hash: e1a46516a1fb493b2617ab14fc1693a9a45ec254 |
| 411 | imsi: '901700000007802' |
| 412 | ki: 47FDB2D55CE6A10A85ABDAD034A5B7B3 |
| 413 | label: m7802 |
| 414 | path: /wavecom_1 |
| 415 | [resource.py:[LINENR]] |
Pau Espin Pedrol | 0d45504 | 2018-08-27 17:07:41 +0200 | [diff] [blame] | 416 | resources(test_suite)={'bts': [{'_hash': 'a59640b8ba6a373552b24a6f9f65cadd2347bace', |
Pau Espin Pedrol | aab5692 | 2018-08-21 14:58:29 +0200 | [diff] [blame] | 417 | '_reserved_by': 'test_suite-[ID_NUM]-[ID_NUM]', |
| 418 | 'addr': '10.42.42.53', |
| 419 | 'band': 'GSM-1800', |
| 420 | 'ipa_unit_id': '7', |
| 421 | 'label': 'sysmoCell 5000', |
Pau Espin Pedrol | 0d45504 | 2018-08-27 17:07:41 +0200 | [diff] [blame] | 422 | 'osmo_trx': {'clock_reference': 'external', |
| 423 | 'launch_trx': 'False', |
| 424 | 'trx_ip': '10.42.42.112'}, |
Pau Espin Pedrol | aab5692 | 2018-08-21 14:58:29 +0200 | [diff] [blame] | 425 | 'trx_list': [{'max_power_red': '3', 'nominal_power': '20'}, |
| 426 | {'max_power_red': '0', 'nominal_power': '20'}], |
Pau Espin Pedrol | aab5692 | 2018-08-21 14:58:29 +0200 | [diff] [blame] | 427 | 'type': 'osmo-bts-trx'}, |
Pau Espin Pedrol | 0d45504 | 2018-08-27 17:07:41 +0200 | [diff] [blame] | 428 | {'_hash': 'c2feabd082c36a1cdeccb9a5237dfff7dbadb009', |
Pau Espin Pedrol | aab5692 | 2018-08-21 14:58:29 +0200 | [diff] [blame] | 429 | '_reserved_by': 'test_suite-[ID_NUM]-[ID_NUM]', |
| 430 | 'addr': '10.42.42.53', |
| 431 | 'band': 'GSM-1800', |
| 432 | 'ipa_unit_id': '7', |
| 433 | 'label': 'sysmoCell 5000', |
Pau Espin Pedrol | 0d45504 | 2018-08-27 17:07:41 +0200 | [diff] [blame] | 434 | 'osmo_trx': {'clock_reference': 'external', |
| 435 | 'launch_trx': 'False', |
| 436 | 'trx_ip': '10.42.42.112'}, |
Pau Espin Pedrol | aab5692 | 2018-08-21 14:58:29 +0200 | [diff] [blame] | 437 | 'trx_list': [{'nominal_power': '20'}, |
| 438 | {'max_power_red': '1', 'nominal_power': '20'}], |
Pau Espin Pedrol | aab5692 | 2018-08-21 14:58:29 +0200 | [diff] [blame] | 439 | 'type': 'osmo-bts-trx'}, |
| 440 | {'_hash': '07d9c8aaa940b674efcbbabdd69f58a6ce4e94f9', |
| 441 | '_reserved_by': 'test_suite-[ID_NUM]-[ID_NUM]', |
| 442 | 'addr': '10.42.42.114', |
| 443 | 'band': 'GSM-1800', |
| 444 | 'ipa_unit_id': '1', |
| 445 | 'label': 'sysmoBTS 1002', |
| 446 | 'type': 'sysmo'}], |
| 447 | 'ip_address': [{'_hash': 'cde1debf28f07f94f92c761b4b7c6bf35785ced4', |
| 448 | '_reserved_by': 'test_suite-[ID_NUM]-[ID_NUM]', |
| 449 | 'addr': '10.42.42.1'}], |
| 450 | 'modem': [{'_hash': '19c69e45aa090fb511446bd00797690aa82ff52f', |
| 451 | '_reserved_by': 'test_suite-[ID_NUM]-[ID_NUM]', |
| 452 | 'imsi': '901700000007801', |
| 453 | 'ki': 'D620F48487B1B782DA55DF6717F08FF9', |
| 454 | 'label': 'm7801', |
| 455 | 'path': '/wavecom_0'}, |
| 456 | {'_hash': 'e1a46516a1fb493b2617ab14fc1693a9a45ec254', |
| 457 | '_reserved_by': 'test_suite-[ID_NUM]-[ID_NUM]', |
| 458 | 'imsi': '901700000007802', |
| 459 | 'ki': '47FDB2D55CE6A10A85ABDAD034A5B7B3', |
| 460 | 'label': 'm7802', |
| 461 | 'path': '/wavecom_1'}]} |
| 462 | |
| 463 | --------------------------------------------------------------------- |
| 464 | trial test_suite |
| 465 | --------------------------------------------------------------------- |
| 466 | |
| 467 | ---------------------------------------------- |
| 468 | trial test_suite hello_world.py |
| 469 | ---------------------------------------------- |
| 470 | tst hello_world.py:[LINENR]: hello world [test_suite↪hello_world.py:[LINENR]] [hello_world.py:[LINENR]] |
| 471 | tst hello_world.py:[LINENR]: I am 'test_suite' / 'hello_world.py:[LINENR]' [test_suite↪hello_world.py:[LINENR]] [hello_world.py:[LINENR]] |
| 472 | tst hello_world.py:[LINENR]: one [test_suite↪hello_world.py:[LINENR]] [hello_world.py:[LINENR]] |
| 473 | tst hello_world.py:[LINENR]: two [test_suite↪hello_world.py:[LINENR]] [hello_world.py:[LINENR]] |
| 474 | tst hello_world.py:[LINENR]: three [test_suite↪hello_world.py:[LINENR]] [hello_world.py:[LINENR]] |
| 475 | tst hello_world.py:[LINENR] Test passed (N.N sec) [test_suite↪hello_world.py] [test.py:[LINENR]] |
| 476 | --------------------------------------------------------------------- |
| 477 | trial test_suite PASS |
| 478 | --------------------------------------------------------------------- |
Pau Espin Pedrol | 3063730 | 2020-05-06 21:11:02 +0200 | [diff] [blame] | 479 | PASS: test_suite (pass: 1, skip: 6) |
Pau Espin Pedrol | aab5692 | 2018-08-21 14:58:29 +0200 | [diff] [blame] | 480 | pass: hello_world.py (N.N sec) |
| 481 | skip: mo_mt_sms.py |
| 482 | skip: mo_sms.py |
| 483 | skip: test_error.py |
| 484 | skip: test_fail.py |
| 485 | skip: test_fail_raise.py |
Pau Espin Pedrol | 3063730 | 2020-05-06 21:11:02 +0200 | [diff] [blame] | 486 | skip: test_suite_params.py |
| 487 | - test with suite-specific config |
Pau Espin Pedrol | 3063730 | 2020-05-06 21:11:02 +0200 | [diff] [blame] | 488 | tst test_suite: reserving resources in [PATH]/selftest/suite_test/test_work/state_dir ... [suite.py:[LINENR]] |
| 489 | tst test_suite: DBG: {combining='resources'} [suite.py:[LINENR]] |
| 490 | 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]] |
| 491 | tst {combining_scenarios='resources', scenario='foo'}: [RESOURCE_DICT] |
| 492 | tst test_suite: DBG: {combining='modifiers'} [suite.py:[LINENR]] |
| 493 | tst {combining_scenarios='modifiers'}: DBG: {definition_conf={}} [test_suite↪{combining_scenarios='modifiers'}] [suite.py:[LINENR]] |
| 494 | tst {combining_scenarios='modifiers', scenario='foo'}: DBG: {conf={}, scenario='foo'} [test_suite↪{combining_scenarios='modifiers', scenario='foo'}] [suite.py:[LINENR]] |
| 495 | tst test_suite: Reserving 3 x bts (candidates: 6) [resource.py:[LINENR]] |
| 496 | tst test_suite: DBG: Picked - _hash: a59640b8ba6a373552b24a6f9f65cadd2347bace |
| 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 | - max_power_red: '3' |
| 507 | nominal_power: '10' |
| 508 | - max_power_red: '0' |
| 509 | nominal_power: '12' |
| 510 | type: osmo-bts-trx |
| 511 | - _hash: c2feabd082c36a1cdeccb9a5237dfff7dbadb009 |
| 512 | addr: 10.42.42.53 |
| 513 | band: GSM-1800 |
| 514 | ipa_unit_id: '7' |
| 515 | label: sysmoCell 5000 |
| 516 | osmo_trx: |
| 517 | clock_reference: external |
| 518 | launch_trx: 'False' |
| 519 | trx_ip: 10.42.42.112 |
| 520 | trx_list: |
| 521 | - nominal_power: '10' |
| 522 | - max_power_red: '1' |
| 523 | nominal_power: '12' |
| 524 | type: osmo-bts-trx |
| 525 | - _hash: 07d9c8aaa940b674efcbbabdd69f58a6ce4e94f9 |
| 526 | addr: 10.42.42.114 |
| 527 | band: GSM-1800 |
| 528 | ipa_unit_id: '1' |
| 529 | label: sysmoBTS 1002 |
| 530 | type: sysmo |
| 531 | [resource.py:[LINENR]] |
| 532 | tst test_suite: Reserving 1 x ip_address (candidates: 3) [resource.py:[LINENR]] |
| 533 | tst test_suite: DBG: Picked - _hash: cde1debf28f07f94f92c761b4b7c6bf35785ced4 |
| 534 | addr: 10.42.42.1 |
| 535 | [resource.py:[LINENR]] |
| 536 | tst test_suite: Reserving 2 x modem (candidates: 16) [resource.py:[LINENR]] |
| 537 | tst test_suite: DBG: Picked - _hash: 19c69e45aa090fb511446bd00797690aa82ff52f |
| 538 | imsi: '901700000007801' |
| 539 | ki: D620F48487B1B782DA55DF6717F08FF9 |
| 540 | label: m7801 |
| 541 | path: /wavecom_0 |
| 542 | - _hash: e1a46516a1fb493b2617ab14fc1693a9a45ec254 |
| 543 | imsi: '901700000007802' |
| 544 | ki: 47FDB2D55CE6A10A85ABDAD034A5B7B3 |
| 545 | label: m7802 |
| 546 | path: /wavecom_1 |
| 547 | [resource.py:[LINENR]] |
| 548 | resources(test_suite)={'bts': [{'_hash': 'a59640b8ba6a373552b24a6f9f65cadd2347bace', |
| 549 | '_reserved_by': 'test_suite-[ID_NUM]-[ID_NUM]', |
| 550 | 'addr': '10.42.42.53', |
| 551 | 'band': 'GSM-1800', |
| 552 | 'ipa_unit_id': '7', |
| 553 | 'label': 'sysmoCell 5000', |
| 554 | 'osmo_trx': {'clock_reference': 'external', |
| 555 | 'launch_trx': 'False', |
| 556 | 'trx_ip': '10.42.42.112'}, |
| 557 | 'trx_list': [{'max_power_red': '3', 'nominal_power': '10'}, |
| 558 | {'max_power_red': '0', 'nominal_power': '12'}], |
| 559 | 'type': 'osmo-bts-trx'}, |
| 560 | {'_hash': 'c2feabd082c36a1cdeccb9a5237dfff7dbadb009', |
| 561 | '_reserved_by': 'test_suite-[ID_NUM]-[ID_NUM]', |
| 562 | 'addr': '10.42.42.53', |
| 563 | 'band': 'GSM-1800', |
| 564 | 'ipa_unit_id': '7', |
| 565 | 'label': 'sysmoCell 5000', |
| 566 | 'osmo_trx': {'clock_reference': 'external', |
| 567 | 'launch_trx': 'False', |
| 568 | 'trx_ip': '10.42.42.112'}, |
| 569 | 'trx_list': [{'nominal_power': '10'}, |
| 570 | {'max_power_red': '1', 'nominal_power': '12'}], |
| 571 | 'type': 'osmo-bts-trx'}, |
| 572 | {'_hash': '07d9c8aaa940b674efcbbabdd69f58a6ce4e94f9', |
| 573 | '_reserved_by': 'test_suite-[ID_NUM]-[ID_NUM]', |
| 574 | 'addr': '10.42.42.114', |
| 575 | 'band': 'GSM-1800', |
| 576 | 'ipa_unit_id': '1', |
| 577 | 'label': 'sysmoBTS 1002', |
| 578 | 'type': 'sysmo'}], |
| 579 | 'ip_address': [{'_hash': 'cde1debf28f07f94f92c761b4b7c6bf35785ced4', |
| 580 | '_reserved_by': 'test_suite-[ID_NUM]-[ID_NUM]', |
| 581 | 'addr': '10.42.42.1'}], |
| 582 | 'modem': [{'_hash': '19c69e45aa090fb511446bd00797690aa82ff52f', |
| 583 | '_reserved_by': 'test_suite-[ID_NUM]-[ID_NUM]', |
| 584 | 'imsi': '901700000007801', |
| 585 | 'ki': 'D620F48487B1B782DA55DF6717F08FF9', |
| 586 | 'label': 'm7801', |
| 587 | 'path': '/wavecom_0'}, |
| 588 | {'_hash': 'e1a46516a1fb493b2617ab14fc1693a9a45ec254', |
| 589 | '_reserved_by': 'test_suite-[ID_NUM]-[ID_NUM]', |
| 590 | 'imsi': '901700000007802', |
| 591 | 'ki': '47FDB2D55CE6A10A85ABDAD034A5B7B3', |
| 592 | 'label': 'm7802', |
| 593 | 'path': '/wavecom_1'}]} |
| 594 | |
| 595 | --------------------------------------------------------------------- |
| 596 | trial test_suite |
| 597 | --------------------------------------------------------------------- |
| 598 | |
| 599 | ---------------------------------------------- |
| 600 | trial test_suite test_suite_params.py |
| 601 | ---------------------------------------------- |
| 602 | tst test_suite_params.py:[LINENR]: starting test [test_suite↪test_suite_params.py:[LINENR]] [test_suite_params.py:[LINENR]] |
| 603 | tst test_suite: DBG: {combining='config'} [suite.py:[LINENR]] |
| 604 | tst {combining_scenarios='config'}: DBG: {definition_conf={}} [test_suite↪{combining_scenarios='config'}] [suite.py:[LINENR]] |
| 605 | tst {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]] |
| 606 | tst test_suite_params.py:[LINENR]: SPECIFIC SUITE CONFIG: {'some_suite_global_param': 'heyho', [test_suite↪test_suite_params.py:[LINENR]] [test_suite_params.py:[LINENR]] |
| 607 | tst test_suite_params.py:[LINENR]: 'test_suite_params': {'one_bool_parameter': 'true', [test_suite↪test_suite_params.py:[LINENR]] [test_suite_params.py:[LINENR]] |
| 608 | tst test_suite_params.py:[LINENR]: 'second_list_parameter': ['23', '45']}} [test_suite↪test_suite_params.py:[LINENR]] [test_suite_params.py:[LINENR]] |
| 609 | tst test_suite_params.py:[LINENR]: SPECIFIC TEST CONFIG: {'one_bool_parameter': 'true', 'second_list_parameter': ['23', '45']} [test_suite↪test_suite_params.py:[LINENR]] [test_suite_params.py:[LINENR]] |
| 610 | tst test_suite_params.py:[LINENR] Test passed (N.N sec) [test_suite↪test_suite_params.py] [test.py:[LINENR]] |
| 611 | --------------------------------------------------------------------- |
| 612 | trial test_suite PASS |
| 613 | --------------------------------------------------------------------- |
| 614 | PASS: test_suite (pass: 1, skip: 6) |
| 615 | skip: hello_world.py |
| 616 | skip: mo_mt_sms.py |
| 617 | skip: mo_sms.py |
| 618 | skip: test_error.py |
| 619 | skip: test_fail.py |
| 620 | skip: test_fail_raise.py |
| 621 | pass: test_suite_params.py (N.N sec) |
Pau Espin Pedrol | 166dc10 | 2020-06-04 18:44:42 +0200 | [diff] [blame] | 622 | - test with template overlay |
| 623 | cnf suiteC: DBG: reading suite.conf [suite.py:[LINENR]] |
| 624 | |
| 625 | --------------------------------------------------------------------- |
| 626 | trial suiteC |
| 627 | --------------------------------------------------------------------- |
| 628 | tst suiteC: reserving resources in [PATH]/selftest/suite_test/test_work/state_dir ... [suite.py:[LINENR]] |
| 629 | tst suiteC: DBG: {combining='resources'} [suite.py:[LINENR]] |
| 630 | tst {combining_scenarios='resources'}: DBG: {definition_conf={ip_address=[{'addr': '10.42.42.2'}]}} [suiteC↪{combining_scenarios='resources'}] [suite.py:[LINENR]] |
| 631 | tst suiteC: DBG: {combining='modifiers'} [suite.py:[LINENR]] |
| 632 | tst {combining_scenarios='modifiers'}: DBG: {definition_conf={}} [suiteC↪{combining_scenarios='modifiers'}] [suite.py:[LINENR]] |
| 633 | tst suiteC: Reserving 1 x ip_address (candidates: 3) [resource.py:[LINENR]] |
| 634 | tst suiteC: DBG: Picked - _hash: fd103b22c7cf2480d609150e06f4bbd92ac78d8c |
| 635 | addr: 10.42.42.2 |
| 636 | [resource.py:[LINENR]] |
| 637 | |
| 638 | ---------------------------------------------- |
| 639 | trial suiteC test_template_overlay.py |
| 640 | ---------------------------------------------- |
| 641 | tst test_template_overlay.py:[LINENR]: - Testing: expect to fail on invalid templates overlay dir [suiteC↪test_template_overlay.py:[LINENR]] [test_template_overlay.py:[LINENR]] |
| 642 | tst test_template_overlay.py:[LINENR]: sucess: setting non-existing templates dir raised RuntimeError [suiteC↪test_template_overlay.py:[LINENR]] [test_template_overlay.py:[LINENR]] |
| 643 | tst test_template_overlay.py:[LINENR]: [suiteC↪test_template_overlay.py:[LINENR]] [test_template_overlay.py:[LINENR]] |
| 644 | --- ReservedResources: DBG: requesting use of ip_address {specifics={}} [resource.py:[LINENR]] |
| 645 | tst suiteC: Using 1 x ip_address (candidates: 1) [resource.py:[LINENR]] |
| 646 | tst suiteC: DBG: Picked - _hash: fd103b22c7cf2480d609150e06f4bbd92ac78d8c |
| 647 | _reserved_by: suiteC-[ID_NUM]-[ID_NUM] |
| 648 | addr: 10.42.42.2 |
| 649 | [resource.py:[LINENR]] |
| 650 | --- ReservedResources: DBG: {available=1} [resource.py:[LINENR]] |
| 651 | --- ReservedResources: DBG: {using={_hash='fd103b22c7cf2480d609150e06f4bbd92ac78d8c', _reserved_by='suiteC-[ID_NUM]-[ID_NUM]', addr='10.42.42.2'}} [resource.py:[LINENR]] |
| 652 | tst test_template_overlay.py:[LINENR]: - Testing: original template [suiteC↪test_template_overlay.py:[LINENR]] [test_template_overlay.py:[LINENR]] |
| 653 | run 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'} [suiteC↪test_template_overlay.py:[LINENR]↪test_template_overlay.py↪osmo-stp_10.42.42.2] [stp_osmo.py:[LINENR]] |
| 654 | tst suiteC: DBG: {combining='config'} [suite.py:[LINENR]] |
| 655 | tst {combining_scenarios='config'}: DBG: {definition_conf={}} [suiteC↪{combining_scenarios='config'}] [suite.py:[LINENR]] |
| 656 | run osmo-stp_10.42.42.2: DBG: STP CONFIG: |
| 657 | {'stp': {'ip_address': {'_hash': 'fd103b22c7cf2480d609150e06f4bbd92ac78d8c', |
| 658 | '_reserved_by': 'suiteC-[ID_NUM]-[ID_NUM]', |
| 659 | '_used': True, |
| 660 | 'addr': '10.42.42.2'}}} [suiteC↪test_template_overlay.py:[LINENR]↪test_template_overlay.py↪osmo-stp_10.42.42.2] [stp_osmo.py:[LINENR]] |
| 661 | cnf Templates: DBG: rendering osmo-stp.cfg.tmpl [suiteC↪test_template_overlay.py:[LINENR]↪test_template_overlay.py↪Templates] [template.py:[LINENR]] |
| 662 | run osmo-stp_10.42.42.2: DBG: ! Configuration rendered by osmo-gsm-tester |
| 663 | log stderr |
| 664 | logging filter all 1 |
| 665 | logging color 1 |
| 666 | logging print category 1 |
| 667 | logging print extended-timestamp 1 |
| 668 | logging level set-all debug |
| 669 | line vty |
| 670 | no login |
| 671 | bind 10.42.42.2 |
| 672 | !ctrl |
| 673 | ! bind 10.42.42.2 |
| 674 | cs7 instance 0 |
| 675 | xua rkm routing-key-allocation dynamic-permitted |
| 676 | listen m3ua 2905 |
| 677 | accept-asp-connections dynamic-permitted |
| 678 | local-ip 10.42.42.2 |
| 679 | [suiteC↪test_template_overlay.py:[LINENR]↪test_template_overlay.py↪osmo-stp_10.42.42.2] [stp_osmo.py:[LINENR]] |
| 680 | tst test_template_overlay.py:[LINENR]: - Testing:overlay template [suiteC↪test_template_overlay.py:[LINENR]] [test_template_overlay.py:[LINENR]] |
| 681 | tst test_template_overlay.py:[LINENR]: - After creating the new template, still old template is used [suiteC↪test_template_overlay.py:[LINENR]] [test_template_overlay.py:[LINENR]] |
| 682 | run 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'} [suiteC↪test_template_overlay.py:[LINENR]↪test_template_overlay.py↪osmo-stp_10.42.42.2] [stp_osmo.py:[LINENR]] |
| 683 | run osmo-stp_10.42.42.2: DBG: STP CONFIG: |
| 684 | {'stp': {'ip_address': {'_hash': 'fd103b22c7cf2480d609150e06f4bbd92ac78d8c', |
| 685 | '_reserved_by': 'suiteC-[ID_NUM]-[ID_NUM]', |
| 686 | '_used': True, |
| 687 | 'addr': '10.42.42.2'}}} [suiteC↪test_template_overlay.py:[LINENR]↪test_template_overlay.py↪osmo-stp_10.42.42.2] [stp_osmo.py:[LINENR]] |
| 688 | cnf Templates: DBG: rendering osmo-stp.cfg.tmpl [suiteC↪test_template_overlay.py:[LINENR]↪test_template_overlay.py↪Templates] [template.py:[LINENR]] |
| 689 | run osmo-stp_10.42.42.2: DBG: ! Configuration rendered by osmo-gsm-tester |
| 690 | log stderr |
| 691 | logging filter all 1 |
| 692 | logging color 1 |
| 693 | logging print category 1 |
| 694 | logging print extended-timestamp 1 |
| 695 | logging level set-all debug |
| 696 | line vty |
| 697 | no login |
| 698 | bind 10.42.42.2 |
| 699 | !ctrl |
| 700 | ! bind 10.42.42.2 |
| 701 | cs7 instance 0 |
| 702 | xua rkm routing-key-allocation dynamic-permitted |
| 703 | listen m3ua 2905 |
| 704 | accept-asp-connections dynamic-permitted |
| 705 | local-ip 10.42.42.2 |
| 706 | [suiteC↪test_template_overlay.py:[LINENR]↪test_template_overlay.py↪osmo-stp_10.42.42.2] [stp_osmo.py:[LINENR]] |
| 707 | tst test_template_overlay.py:[LINENR]: - New template is used after re-generating cache with set_overlay_template_dir: [suiteC↪test_template_overlay.py:[LINENR]] [test_template_overlay.py:[LINENR]] |
| 708 | run 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'} [suiteC↪test_template_overlay.py:[LINENR]↪test_template_overlay.py↪osmo-stp_10.42.42.2] [stp_osmo.py:[LINENR]] |
| 709 | run osmo-stp_10.42.42.2: DBG: STP CONFIG: |
| 710 | {'stp': {'ip_address': {'_hash': 'fd103b22c7cf2480d609150e06f4bbd92ac78d8c', |
| 711 | '_reserved_by': 'suiteC-[ID_NUM]-[ID_NUM]', |
| 712 | '_used': True, |
| 713 | 'addr': '10.42.42.2'}}} [suiteC↪test_template_overlay.py:[LINENR]↪test_template_overlay.py↪osmo-stp_10.42.42.2] [stp_osmo.py:[LINENR]] |
| 714 | cnf Templates: DBG: rendering osmo-stp.cfg.tmpl [suiteC↪test_template_overlay.py:[LINENR]↪test_template_overlay.py↪Templates] [template.py:[LINENR]] |
| 715 | run osmo-stp_10.42.42.2: DBG: ! Overlay Config file genreated by test |
| 716 | line vty |
| 717 | no login |
| 718 | bind 10.42.42.2 |
| 719 | [suiteC↪test_template_overlay.py:[LINENR]↪test_template_overlay.py↪osmo-stp_10.42.42.2] [stp_osmo.py:[LINENR]] |
| 720 | tst test_template_overlay.py:[LINENR] Test passed (N.N sec) [suiteC↪test_template_overlay.py] [test.py:[LINENR]] |
| 721 | --------------------------------------------------------------------- |
| 722 | trial suiteC PASS |
| 723 | --------------------------------------------------------------------- |
| 724 | PASS: suiteC (pass: 1) |
| 725 | pass: test_template_overlay.py (N.N sec) |
Neels Hofmeyr | 3531a19 | 2017-03-28 14:30:28 +0200 | [diff] [blame] | 726 | |
| 727 | - graceful exit. |