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 | resources: |
| 19 | bts: |
Pau Espin Pedrol | cbc7242 | 2017-09-14 15:55:49 +0200 | [diff] [blame] | 20 | - label: sysmoCell 5000 |
| 21 | times: '2' |
Neels Hofmeyr | 3531a19 | 2017-03-28 14:30:28 +0200 | [diff] [blame] | 22 | - times: '1' |
Pau Espin Pedrol | cbc7242 | 2017-09-14 15:55:49 +0200 | [diff] [blame] | 23 | type: sysmo |
Neels Hofmeyr | 76d8103 | 2017-05-18 18:35:32 +0200 | [diff] [blame] | 24 | ip_address: |
| 25 | - times: '1' |
Neels Hofmeyr | 3531a19 | 2017-03-28 14:30:28 +0200 | [diff] [blame] | 26 | modem: |
| 27 | - times: '2' |
Neels Hofmeyr | 3531a19 | 2017-03-28 14:30:28 +0200 | [diff] [blame] | 28 | |
| 29 | - run hello world test |
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 | --------------------------------------------------------------------- |
Pau Espin Pedrol | 3063730 | 2020-05-06 21:11:02 +0200 | [diff] [blame] | 102 | PASS: test_suite (pass: 1, skip: 6) |
Neels Hofmeyr | 6ccda11 | 2017-06-06 19:41:17 +0200 | [diff] [blame] | 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 |
Pau Espin Pedrol | 3063730 | 2020-05-06 21:11:02 +0200 | [diff] [blame] | 109 | skip: test_suite_params.py |
Neels Hofmeyr | 3531a19 | 2017-03-28 14:30:28 +0200 | [diff] [blame] | 110 | |
| 111 | - a test with an error |
Neels Hofmeyr | 6ccda11 | 2017-06-06 19:41:17 +0200 | [diff] [blame] | 112 | |
| 113 | --------------------------------------------------------------------- |
| 114 | trial test_suite |
| 115 | --------------------------------------------------------------------- |
| 116 | |
| 117 | ---------------------------------------------- |
| 118 | trial test_suite test_error.py |
| 119 | ---------------------------------------------- |
Neels Hofmeyr | d1bedb1 | 2017-05-07 03:02:23 +0200 | [diff] [blame] | 120 | 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] | 121 | 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] | 122 | 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] | 123 | --------------------------------------------------------------------- |
| 124 | trial test_suite FAIL |
| 125 | --------------------------------------------------------------------- |
Pau Espin Pedrol | 3063730 | 2020-05-06 21:11:02 +0200 | [diff] [blame] | 126 | FAIL: test_suite (fail: 1, skip: 6) |
Neels Hofmeyr | 6ccda11 | 2017-06-06 19:41:17 +0200 | [diff] [blame] | 127 | skip: hello_world.py (N.N sec) |
| 128 | skip: mo_mt_sms.py |
| 129 | skip: mo_sms.py |
Neels Hofmeyr | 1a7a3f0 | 2017-06-10 01:18:27 +0200 | [diff] [blame] | 130 | 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] | 131 | skip: test_fail.py |
| 132 | skip: test_fail_raise.py |
Pau Espin Pedrol | 3063730 | 2020-05-06 21:11:02 +0200 | [diff] [blame] | 133 | skip: test_suite_params.py |
Pau Espin Pedrol | 0ffb414 | 2017-05-15 18:24:35 +0200 | [diff] [blame] | 134 | |
| 135 | - a test with a failure |
Neels Hofmeyr | 6ccda11 | 2017-06-06 19:41:17 +0200 | [diff] [blame] | 136 | |
| 137 | --------------------------------------------------------------------- |
| 138 | trial test_suite |
| 139 | --------------------------------------------------------------------- |
| 140 | |
| 141 | ---------------------------------------------- |
| 142 | trial test_suite test_fail.py |
| 143 | ---------------------------------------------- |
Pau Espin Pedrol | 0ffb414 | 2017-05-15 18:24:35 +0200 | [diff] [blame] | 144 | 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] | 145 | 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] | 146 | 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] | 147 | --------------------------------------------------------------------- |
| 148 | trial test_suite FAIL |
| 149 | --------------------------------------------------------------------- |
Pau Espin Pedrol | 3063730 | 2020-05-06 21:11:02 +0200 | [diff] [blame] | 150 | FAIL: test_suite (fail: 1, skip: 6) |
Neels Hofmeyr | 6ccda11 | 2017-06-06 19:41:17 +0200 | [diff] [blame] | 151 | skip: hello_world.py (N.N sec) |
| 152 | skip: mo_mt_sms.py |
| 153 | skip: mo_sms.py |
| 154 | skip: test_error.py (N.N sec) |
| 155 | FAIL: test_fail.py (N.N sec) EpicFail: This failure is expected |
| 156 | skip: test_fail_raise.py |
Pau Espin Pedrol | 3063730 | 2020-05-06 21:11:02 +0200 | [diff] [blame] | 157 | skip: test_suite_params.py |
Pau Espin Pedrol | 0ffb414 | 2017-05-15 18:24:35 +0200 | [diff] [blame] | 158 | |
| 159 | - a test with a raised failure |
Neels Hofmeyr | 6ccda11 | 2017-06-06 19:41:17 +0200 | [diff] [blame] | 160 | |
| 161 | --------------------------------------------------------------------- |
| 162 | trial test_suite |
| 163 | --------------------------------------------------------------------- |
| 164 | |
| 165 | ---------------------------------------------- |
| 166 | trial test_suite test_fail_raise.py |
| 167 | ---------------------------------------------- |
Neels Hofmeyr | 1a7a3f0 | 2017-06-10 01:18:27 +0200 | [diff] [blame] | 168 | 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] | 169 | 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] | 170 | --------------------------------------------------------------------- |
| 171 | trial test_suite FAIL |
| 172 | --------------------------------------------------------------------- |
Pau Espin Pedrol | 3063730 | 2020-05-06 21:11:02 +0200 | [diff] [blame] | 173 | FAIL: test_suite (fail: 1, skip: 6) |
Neels Hofmeyr | 6ccda11 | 2017-06-06 19:41:17 +0200 | [diff] [blame] | 174 | skip: hello_world.py (N.N sec) |
| 175 | skip: mo_mt_sms.py |
| 176 | skip: mo_sms.py |
| 177 | skip: test_error.py (N.N sec) |
| 178 | skip: test_fail.py (N.N sec) |
Neels Hofmeyr | 1a7a3f0 | 2017-06-10 01:18:27 +0200 | [diff] [blame] | 179 | 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] | 180 | skip: test_suite_params.py |
Pau Espin Pedrol | 0b30279 | 2017-09-10 16:33:10 +0200 | [diff] [blame] | 181 | - test with half empty scenario |
Pau Espin Pedrol | 0b30279 | 2017-09-10 16:33:10 +0200 | [diff] [blame] | 182 | |
| 183 | --------------------------------------------------------------------- |
| 184 | trial test_suite |
| 185 | --------------------------------------------------------------------- |
| 186 | tst test_suite: reserving resources in [PATH]/selftest/suite_test/test_work/state_dir ... [suite.py:[LINENR]] |
| 187 | tst test_suite: DBG: {combining='resources'} [suite.py:[LINENR]] |
Pau Espin Pedrol | cbc7242 | 2017-09-14 15:55:49 +0200 | [diff] [blame] | 188 | 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] | 189 | tst {combining_scenarios='resources', scenario='foo'}: [RESOURCE_DICT] |
Pau Espin Pedrol | aab5692 | 2018-08-21 14:58:29 +0200 | [diff] [blame] | 190 | tst test_suite: DBG: {combining='modifiers'} [suite.py:[LINENR]] |
| 191 | tst {combining_scenarios='modifiers'}: DBG: {definition_conf={}} [test_suite↪{combining_scenarios='modifiers'}] [suite.py:[LINENR]] |
| 192 | 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] | 193 | 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] | 194 | tst test_suite: DBG: Picked - _hash: a59640b8ba6a373552b24a6f9f65cadd2347bace |
Pau Espin Pedrol | cbc7242 | 2017-09-14 15:55:49 +0200 | [diff] [blame] | 195 | addr: 10.42.42.53 |
| 196 | band: GSM-1800 |
| 197 | ipa_unit_id: '7' |
| 198 | label: sysmoCell 5000 |
Pau Espin Pedrol | 0d45504 | 2018-08-27 17:07:41 +0200 | [diff] [blame] | 199 | osmo_trx: |
| 200 | clock_reference: external |
| 201 | launch_trx: 'False' |
| 202 | trx_ip: 10.42.42.112 |
Pau Espin Pedrol | cbc7242 | 2017-09-14 15:55:49 +0200 | [diff] [blame] | 203 | trx_list: |
| 204 | - max_power_red: '3' |
| 205 | nominal_power: '10' |
| 206 | - max_power_red: '0' |
| 207 | nominal_power: '12' |
Pau Espin Pedrol | cbc7242 | 2017-09-14 15:55:49 +0200 | [diff] [blame] | 208 | type: osmo-bts-trx |
Pau Espin Pedrol | 0d45504 | 2018-08-27 17:07:41 +0200 | [diff] [blame] | 209 | - _hash: c2feabd082c36a1cdeccb9a5237dfff7dbadb009 |
Pau Espin Pedrol | cbc7242 | 2017-09-14 15:55:49 +0200 | [diff] [blame] | 210 | addr: 10.42.42.53 |
| 211 | band: GSM-1800 |
| 212 | ipa_unit_id: '7' |
| 213 | label: sysmoCell 5000 |
Pau Espin Pedrol | 0d45504 | 2018-08-27 17:07:41 +0200 | [diff] [blame] | 214 | osmo_trx: |
| 215 | clock_reference: external |
| 216 | launch_trx: 'False' |
| 217 | trx_ip: 10.42.42.112 |
Pau Espin Pedrol | cbc7242 | 2017-09-14 15:55:49 +0200 | [diff] [blame] | 218 | trx_list: |
| 219 | - nominal_power: '10' |
| 220 | - max_power_red: '1' |
| 221 | nominal_power: '12' |
Pau Espin Pedrol | cbc7242 | 2017-09-14 15:55:49 +0200 | [diff] [blame] | 222 | type: osmo-bts-trx |
| 223 | - _hash: 07d9c8aaa940b674efcbbabdd69f58a6ce4e94f9 |
Pau Espin Pedrol | 0b30279 | 2017-09-10 16:33:10 +0200 | [diff] [blame] | 224 | addr: 10.42.42.114 |
| 225 | band: GSM-1800 |
| 226 | ipa_unit_id: '1' |
| 227 | label: sysmoBTS 1002 |
| 228 | type: sysmo |
Pau Espin Pedrol | 0b30279 | 2017-09-10 16:33:10 +0200 | [diff] [blame] | 229 | [resource.py:[LINENR]] |
| 230 | tst test_suite: Reserving 1 x ip_address (candidates: 3) [resource.py:[LINENR]] |
| 231 | tst test_suite: DBG: Picked - _hash: cde1debf28f07f94f92c761b4b7c6bf35785ced4 |
| 232 | addr: 10.42.42.1 |
| 233 | [resource.py:[LINENR]] |
| 234 | tst test_suite: Reserving 2 x modem (candidates: 16) [resource.py:[LINENR]] |
| 235 | tst test_suite: DBG: Picked - _hash: 19c69e45aa090fb511446bd00797690aa82ff52f |
| 236 | imsi: '901700000007801' |
| 237 | ki: D620F48487B1B782DA55DF6717F08FF9 |
| 238 | label: m7801 |
| 239 | path: /wavecom_0 |
| 240 | - _hash: e1a46516a1fb493b2617ab14fc1693a9a45ec254 |
| 241 | imsi: '901700000007802' |
| 242 | ki: 47FDB2D55CE6A10A85ABDAD034A5B7B3 |
| 243 | label: m7802 |
| 244 | path: /wavecom_1 |
| 245 | [resource.py:[LINENR]] |
| 246 | |
| 247 | ---------------------------------------------- |
| 248 | trial test_suite hello_world.py |
| 249 | ---------------------------------------------- |
| 250 | tst hello_world.py:[LINENR]: hello world [test_suite↪hello_world.py:[LINENR]] [hello_world.py:[LINENR]] |
| 251 | tst hello_world.py:[LINENR]: I am 'test_suite' / 'hello_world.py:[LINENR]' [test_suite↪hello_world.py:[LINENR]] [hello_world.py:[LINENR]] |
| 252 | tst hello_world.py:[LINENR]: one [test_suite↪hello_world.py:[LINENR]] [hello_world.py:[LINENR]] |
| 253 | tst hello_world.py:[LINENR]: two [test_suite↪hello_world.py:[LINENR]] [hello_world.py:[LINENR]] |
| 254 | 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] | 255 | 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] | 256 | --------------------------------------------------------------------- |
| 257 | trial test_suite PASS |
| 258 | --------------------------------------------------------------------- |
Pau Espin Pedrol | 3063730 | 2020-05-06 21:11:02 +0200 | [diff] [blame] | 259 | PASS: test_suite (pass: 1, skip: 6) |
Pau Espin Pedrol | 0b30279 | 2017-09-10 16:33:10 +0200 | [diff] [blame] | 260 | pass: hello_world.py (N.N sec) |
| 261 | skip: mo_mt_sms.py |
| 262 | skip: mo_sms.py |
| 263 | skip: test_error.py |
| 264 | skip: test_fail.py |
| 265 | skip: test_fail_raise.py |
Pau Espin Pedrol | 3063730 | 2020-05-06 21:11:02 +0200 | [diff] [blame] | 266 | skip: test_suite_params.py |
Pau Espin Pedrol | 0b30279 | 2017-09-10 16:33:10 +0200 | [diff] [blame] | 267 | - test with scenario |
Pau Espin Pedrol | 0b30279 | 2017-09-10 16:33:10 +0200 | [diff] [blame] | 268 | |
| 269 | --------------------------------------------------------------------- |
| 270 | trial test_suite |
| 271 | --------------------------------------------------------------------- |
| 272 | tst test_suite: reserving resources in [PATH]/selftest/suite_test/test_work/state_dir ... [suite.py:[LINENR]] |
| 273 | tst test_suite: DBG: {combining='resources'} [suite.py:[LINENR]] |
Pau Espin Pedrol | cbc7242 | 2017-09-14 15:55:49 +0200 | [diff] [blame] | 274 | 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] | 275 | tst {combining_scenarios='resources', scenario='foo'}: [RESOURCE_DICT] |
Pau Espin Pedrol | aab5692 | 2018-08-21 14:58:29 +0200 | [diff] [blame] | 276 | tst test_suite: DBG: {combining='modifiers'} [suite.py:[LINENR]] |
| 277 | tst {combining_scenarios='modifiers'}: DBG: {definition_conf={}} [test_suite↪{combining_scenarios='modifiers'}] [suite.py:[LINENR]] |
| 278 | 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] | 279 | 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] | 280 | tst test_suite: DBG: Picked - _hash: a59640b8ba6a373552b24a6f9f65cadd2347bace |
Pau Espin Pedrol | 0b30279 | 2017-09-10 16:33:10 +0200 | [diff] [blame] | 281 | addr: 10.42.42.53 |
| 282 | band: GSM-1800 |
| 283 | ipa_unit_id: '7' |
| 284 | label: sysmoCell 5000 |
Pau Espin Pedrol | 0d45504 | 2018-08-27 17:07:41 +0200 | [diff] [blame] | 285 | osmo_trx: |
| 286 | clock_reference: external |
| 287 | launch_trx: 'False' |
| 288 | trx_ip: 10.42.42.112 |
Pau Espin Pedrol | 0b30279 | 2017-09-10 16:33:10 +0200 | [diff] [blame] | 289 | trx_list: |
Pau Espin Pedrol | 5847551 | 2017-09-14 15:33:15 +0200 | [diff] [blame] | 290 | - max_power_red: '3' |
| 291 | nominal_power: '10' |
| 292 | - max_power_red: '0' |
| 293 | nominal_power: '12' |
Pau Espin Pedrol | 0b30279 | 2017-09-10 16:33:10 +0200 | [diff] [blame] | 294 | type: osmo-bts-trx |
Pau Espin Pedrol | 0d45504 | 2018-08-27 17:07:41 +0200 | [diff] [blame] | 295 | - _hash: c2feabd082c36a1cdeccb9a5237dfff7dbadb009 |
Pau Espin Pedrol | cbc7242 | 2017-09-14 15:55:49 +0200 | [diff] [blame] | 296 | addr: 10.42.42.53 |
| 297 | band: GSM-1800 |
| 298 | ipa_unit_id: '7' |
| 299 | label: sysmoCell 5000 |
Pau Espin Pedrol | 0d45504 | 2018-08-27 17:07:41 +0200 | [diff] [blame] | 300 | osmo_trx: |
| 301 | clock_reference: external |
| 302 | launch_trx: 'False' |
| 303 | trx_ip: 10.42.42.112 |
Pau Espin Pedrol | cbc7242 | 2017-09-14 15:55:49 +0200 | [diff] [blame] | 304 | trx_list: |
| 305 | - nominal_power: '10' |
| 306 | - max_power_red: '1' |
| 307 | nominal_power: '12' |
Pau Espin Pedrol | cbc7242 | 2017-09-14 15:55:49 +0200 | [diff] [blame] | 308 | type: osmo-bts-trx |
Pau Espin Pedrol | 0b30279 | 2017-09-10 16:33:10 +0200 | [diff] [blame] | 309 | - _hash: 07d9c8aaa940b674efcbbabdd69f58a6ce4e94f9 |
| 310 | addr: 10.42.42.114 |
| 311 | band: GSM-1800 |
| 312 | ipa_unit_id: '1' |
| 313 | label: sysmoBTS 1002 |
| 314 | type: sysmo |
| 315 | [resource.py:[LINENR]] |
| 316 | tst test_suite: Reserving 1 x ip_address (candidates: 3) [resource.py:[LINENR]] |
| 317 | tst test_suite: DBG: Picked - _hash: cde1debf28f07f94f92c761b4b7c6bf35785ced4 |
| 318 | addr: 10.42.42.1 |
| 319 | [resource.py:[LINENR]] |
| 320 | tst test_suite: Reserving 2 x modem (candidates: 16) [resource.py:[LINENR]] |
| 321 | tst test_suite: DBG: Picked - _hash: 19c69e45aa090fb511446bd00797690aa82ff52f |
| 322 | imsi: '901700000007801' |
| 323 | ki: D620F48487B1B782DA55DF6717F08FF9 |
| 324 | label: m7801 |
| 325 | path: /wavecom_0 |
| 326 | - _hash: e1a46516a1fb493b2617ab14fc1693a9a45ec254 |
| 327 | imsi: '901700000007802' |
| 328 | ki: 47FDB2D55CE6A10A85ABDAD034A5B7B3 |
| 329 | label: m7802 |
| 330 | path: /wavecom_1 |
| 331 | [resource.py:[LINENR]] |
| 332 | |
| 333 | ---------------------------------------------- |
| 334 | trial test_suite hello_world.py |
| 335 | ---------------------------------------------- |
| 336 | tst hello_world.py:[LINENR]: hello world [test_suite↪hello_world.py:[LINENR]] [hello_world.py:[LINENR]] |
| 337 | tst hello_world.py:[LINENR]: I am 'test_suite' / 'hello_world.py:[LINENR]' [test_suite↪hello_world.py:[LINENR]] [hello_world.py:[LINENR]] |
| 338 | tst hello_world.py:[LINENR]: one [test_suite↪hello_world.py:[LINENR]] [hello_world.py:[LINENR]] |
| 339 | tst hello_world.py:[LINENR]: two [test_suite↪hello_world.py:[LINENR]] [hello_world.py:[LINENR]] |
| 340 | 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] | 341 | 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] | 342 | --------------------------------------------------------------------- |
| 343 | trial test_suite PASS |
| 344 | --------------------------------------------------------------------- |
Pau Espin Pedrol | 3063730 | 2020-05-06 21:11:02 +0200 | [diff] [blame] | 345 | PASS: test_suite (pass: 1, skip: 6) |
Pau Espin Pedrol | 0b30279 | 2017-09-10 16:33:10 +0200 | [diff] [blame] | 346 | pass: hello_world.py (N.N sec) |
| 347 | skip: mo_mt_sms.py |
| 348 | skip: mo_sms.py |
| 349 | skip: test_error.py |
| 350 | skip: test_fail.py |
| 351 | skip: test_fail_raise.py |
Pau Espin Pedrol | 3063730 | 2020-05-06 21:11:02 +0200 | [diff] [blame] | 352 | skip: test_suite_params.py |
Pau Espin Pedrol | aab5692 | 2018-08-21 14:58:29 +0200 | [diff] [blame] | 353 | - test with scenario and modifiers |
Pau Espin Pedrol | aab5692 | 2018-08-21 14:58:29 +0200 | [diff] [blame] | 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 | --------------------------------------------------------------------- |
Pau Espin Pedrol | 3063730 | 2020-05-06 21:11:02 +0200 | [diff] [blame] | 477 | PASS: test_suite (pass: 1, skip: 6) |
Pau Espin Pedrol | aab5692 | 2018-08-21 14:58:29 +0200 | [diff] [blame] | 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 |
Pau Espin Pedrol | 3063730 | 2020-05-06 21:11:02 +0200 | [diff] [blame] | 484 | skip: test_suite_params.py |
| 485 | - test with suite-specific config |
Pau Espin Pedrol | 3063730 | 2020-05-06 21:11:02 +0200 | [diff] [blame] | 486 | tst test_suite: reserving resources in [PATH]/selftest/suite_test/test_work/state_dir ... [suite.py:[LINENR]] |
| 487 | tst test_suite: DBG: {combining='resources'} [suite.py:[LINENR]] |
| 488 | 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]] |
| 489 | tst {combining_scenarios='resources', scenario='foo'}: [RESOURCE_DICT] |
| 490 | tst test_suite: DBG: {combining='modifiers'} [suite.py:[LINENR]] |
| 491 | tst {combining_scenarios='modifiers'}: DBG: {definition_conf={}} [test_suite↪{combining_scenarios='modifiers'}] [suite.py:[LINENR]] |
| 492 | tst {combining_scenarios='modifiers', scenario='foo'}: DBG: {conf={}, scenario='foo'} [test_suite↪{combining_scenarios='modifiers', scenario='foo'}] [suite.py:[LINENR]] |
| 493 | tst test_suite: Reserving 3 x bts (candidates: 6) [resource.py:[LINENR]] |
| 494 | tst test_suite: DBG: Picked - _hash: a59640b8ba6a373552b24a6f9f65cadd2347bace |
| 495 | addr: 10.42.42.53 |
| 496 | band: GSM-1800 |
| 497 | ipa_unit_id: '7' |
| 498 | label: sysmoCell 5000 |
| 499 | osmo_trx: |
| 500 | clock_reference: external |
| 501 | launch_trx: 'False' |
| 502 | trx_ip: 10.42.42.112 |
| 503 | trx_list: |
| 504 | - max_power_red: '3' |
| 505 | nominal_power: '10' |
| 506 | - max_power_red: '0' |
| 507 | nominal_power: '12' |
| 508 | type: osmo-bts-trx |
| 509 | - _hash: c2feabd082c36a1cdeccb9a5237dfff7dbadb009 |
| 510 | addr: 10.42.42.53 |
| 511 | band: GSM-1800 |
| 512 | ipa_unit_id: '7' |
| 513 | label: sysmoCell 5000 |
| 514 | osmo_trx: |
| 515 | clock_reference: external |
| 516 | launch_trx: 'False' |
| 517 | trx_ip: 10.42.42.112 |
| 518 | trx_list: |
| 519 | - nominal_power: '10' |
| 520 | - max_power_red: '1' |
| 521 | nominal_power: '12' |
| 522 | type: osmo-bts-trx |
| 523 | - _hash: 07d9c8aaa940b674efcbbabdd69f58a6ce4e94f9 |
| 524 | addr: 10.42.42.114 |
| 525 | band: GSM-1800 |
| 526 | ipa_unit_id: '1' |
| 527 | label: sysmoBTS 1002 |
| 528 | type: sysmo |
| 529 | [resource.py:[LINENR]] |
| 530 | tst test_suite: Reserving 1 x ip_address (candidates: 3) [resource.py:[LINENR]] |
| 531 | tst test_suite: DBG: Picked - _hash: cde1debf28f07f94f92c761b4b7c6bf35785ced4 |
| 532 | addr: 10.42.42.1 |
| 533 | [resource.py:[LINENR]] |
| 534 | tst test_suite: Reserving 2 x modem (candidates: 16) [resource.py:[LINENR]] |
| 535 | tst test_suite: DBG: Picked - _hash: 19c69e45aa090fb511446bd00797690aa82ff52f |
| 536 | imsi: '901700000007801' |
| 537 | ki: D620F48487B1B782DA55DF6717F08FF9 |
| 538 | label: m7801 |
| 539 | path: /wavecom_0 |
| 540 | - _hash: e1a46516a1fb493b2617ab14fc1693a9a45ec254 |
| 541 | imsi: '901700000007802' |
| 542 | ki: 47FDB2D55CE6A10A85ABDAD034A5B7B3 |
| 543 | label: m7802 |
| 544 | path: /wavecom_1 |
| 545 | [resource.py:[LINENR]] |
| 546 | resources(test_suite)={'bts': [{'_hash': 'a59640b8ba6a373552b24a6f9f65cadd2347bace', |
| 547 | '_reserved_by': 'test_suite-[ID_NUM]-[ID_NUM]', |
| 548 | 'addr': '10.42.42.53', |
| 549 | 'band': 'GSM-1800', |
| 550 | 'ipa_unit_id': '7', |
| 551 | 'label': 'sysmoCell 5000', |
| 552 | 'osmo_trx': {'clock_reference': 'external', |
| 553 | 'launch_trx': 'False', |
| 554 | 'trx_ip': '10.42.42.112'}, |
| 555 | 'trx_list': [{'max_power_red': '3', 'nominal_power': '10'}, |
| 556 | {'max_power_red': '0', 'nominal_power': '12'}], |
| 557 | 'type': 'osmo-bts-trx'}, |
| 558 | {'_hash': 'c2feabd082c36a1cdeccb9a5237dfff7dbadb009', |
| 559 | '_reserved_by': 'test_suite-[ID_NUM]-[ID_NUM]', |
| 560 | 'addr': '10.42.42.53', |
| 561 | 'band': 'GSM-1800', |
| 562 | 'ipa_unit_id': '7', |
| 563 | 'label': 'sysmoCell 5000', |
| 564 | 'osmo_trx': {'clock_reference': 'external', |
| 565 | 'launch_trx': 'False', |
| 566 | 'trx_ip': '10.42.42.112'}, |
| 567 | 'trx_list': [{'nominal_power': '10'}, |
| 568 | {'max_power_red': '1', 'nominal_power': '12'}], |
| 569 | 'type': 'osmo-bts-trx'}, |
| 570 | {'_hash': '07d9c8aaa940b674efcbbabdd69f58a6ce4e94f9', |
| 571 | '_reserved_by': 'test_suite-[ID_NUM]-[ID_NUM]', |
| 572 | 'addr': '10.42.42.114', |
| 573 | 'band': 'GSM-1800', |
| 574 | 'ipa_unit_id': '1', |
| 575 | 'label': 'sysmoBTS 1002', |
| 576 | 'type': 'sysmo'}], |
| 577 | 'ip_address': [{'_hash': 'cde1debf28f07f94f92c761b4b7c6bf35785ced4', |
| 578 | '_reserved_by': 'test_suite-[ID_NUM]-[ID_NUM]', |
| 579 | 'addr': '10.42.42.1'}], |
| 580 | 'modem': [{'_hash': '19c69e45aa090fb511446bd00797690aa82ff52f', |
| 581 | '_reserved_by': 'test_suite-[ID_NUM]-[ID_NUM]', |
| 582 | 'imsi': '901700000007801', |
| 583 | 'ki': 'D620F48487B1B782DA55DF6717F08FF9', |
| 584 | 'label': 'm7801', |
| 585 | 'path': '/wavecom_0'}, |
| 586 | {'_hash': 'e1a46516a1fb493b2617ab14fc1693a9a45ec254', |
| 587 | '_reserved_by': 'test_suite-[ID_NUM]-[ID_NUM]', |
| 588 | 'imsi': '901700000007802', |
| 589 | 'ki': '47FDB2D55CE6A10A85ABDAD034A5B7B3', |
| 590 | 'label': 'm7802', |
| 591 | 'path': '/wavecom_1'}]} |
| 592 | |
| 593 | --------------------------------------------------------------------- |
| 594 | trial test_suite |
| 595 | --------------------------------------------------------------------- |
| 596 | |
| 597 | ---------------------------------------------- |
| 598 | trial test_suite test_suite_params.py |
| 599 | ---------------------------------------------- |
| 600 | tst test_suite_params.py:[LINENR]: starting test [test_suite↪test_suite_params.py:[LINENR]] [test_suite_params.py:[LINENR]] |
| 601 | tst test_suite: DBG: {combining='config'} [suite.py:[LINENR]] |
| 602 | tst {combining_scenarios='config'}: DBG: {definition_conf={}} [test_suite↪{combining_scenarios='config'}] [suite.py:[LINENR]] |
| 603 | 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]] |
| 604 | 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]] |
| 605 | 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]] |
| 606 | tst test_suite_params.py:[LINENR]: 'second_list_parameter': ['23', '45']}} [test_suite↪test_suite_params.py:[LINENR]] [test_suite_params.py:[LINENR]] |
| 607 | 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]] |
| 608 | tst test_suite_params.py:[LINENR] Test passed (N.N sec) [test_suite↪test_suite_params.py] [test.py:[LINENR]] |
| 609 | --------------------------------------------------------------------- |
| 610 | trial test_suite PASS |
| 611 | --------------------------------------------------------------------- |
| 612 | PASS: test_suite (pass: 1, skip: 6) |
| 613 | skip: hello_world.py |
| 614 | skip: mo_mt_sms.py |
| 615 | skip: mo_sms.py |
| 616 | skip: test_error.py |
| 617 | skip: test_fail.py |
| 618 | skip: test_fail_raise.py |
| 619 | pass: test_suite_params.py (N.N sec) |
Pau Espin Pedrol | 166dc10 | 2020-06-04 18:44:42 +0200 | [diff] [blame] | 620 | - test with template overlay |
| 621 | cnf suiteC: DBG: reading suite.conf [suite.py:[LINENR]] |
| 622 | |
| 623 | --------------------------------------------------------------------- |
| 624 | trial suiteC |
| 625 | --------------------------------------------------------------------- |
| 626 | tst suiteC: reserving resources in [PATH]/selftest/suite_test/test_work/state_dir ... [suite.py:[LINENR]] |
| 627 | tst suiteC: DBG: {combining='resources'} [suite.py:[LINENR]] |
| 628 | tst {combining_scenarios='resources'}: DBG: {definition_conf={ip_address=[{'addr': '10.42.42.2'}]}} [suiteC↪{combining_scenarios='resources'}] [suite.py:[LINENR]] |
| 629 | tst suiteC: DBG: {combining='modifiers'} [suite.py:[LINENR]] |
| 630 | tst {combining_scenarios='modifiers'}: DBG: {definition_conf={}} [suiteC↪{combining_scenarios='modifiers'}] [suite.py:[LINENR]] |
| 631 | tst suiteC: Reserving 1 x ip_address (candidates: 3) [resource.py:[LINENR]] |
| 632 | tst suiteC: DBG: Picked - _hash: fd103b22c7cf2480d609150e06f4bbd92ac78d8c |
| 633 | addr: 10.42.42.2 |
| 634 | [resource.py:[LINENR]] |
| 635 | |
| 636 | ---------------------------------------------- |
| 637 | trial suiteC test_template_overlay.py |
| 638 | ---------------------------------------------- |
| 639 | 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]] |
Pau Espin Pedrol | a4bb6d3 | 2020-06-11 16:14:47 +0200 | [diff] [blame] | 640 | tst test_template_overlay.py:[LINENR] DBG: template dir overlay set: [PATH]/selftest/suite_test/suitedirB/suiteC/nonexistent-templatedir [suiteC↪test_template_overlay.py:[LINENR]↪test_template_overlay.py] [testenv.py:[LINENR]] |
Pau Espin Pedrol | 166dc10 | 2020-06-04 18:44:42 +0200 | [diff] [blame] | 641 | 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]] |
| 642 | tst test_template_overlay.py:[LINENR]: [suiteC↪test_template_overlay.py:[LINENR]] [test_template_overlay.py:[LINENR]] |
Pau Espin Pedrol | a4bb6d3 | 2020-06-11 16:14:47 +0200 | [diff] [blame] | 643 | tst test_template_overlay.py:[LINENR] DBG: template dir overlay set: [PATH]/selftest/suite_test/suitedirB/suiteC/mytemplatedir [suiteC↪test_template_overlay.py:[LINENR]↪test_template_overlay.py] [testenv.py:[LINENR]] |
Pau Espin Pedrol | 166dc10 | 2020-06-04 18:44:42 +0200 | [diff] [blame] | 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]] |
Pau Espin Pedrol | a4bb6d3 | 2020-06-11 16:14:47 +0200 | [diff] [blame] | 708 | tst test_template_overlay.py:[LINENR] DBG: template dir overlay set: [PATH]/selftest/suite_test/suitedirB/suiteC/mytemplatedir [suiteC↪test_template_overlay.py:[LINENR]↪test_template_overlay.py] [testenv.py:[LINENR]] |
Pau Espin Pedrol | 166dc10 | 2020-06-04 18:44:42 +0200 | [diff] [blame] | 709 | 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]] |
| 710 | run osmo-stp_10.42.42.2: DBG: STP CONFIG: |
| 711 | {'stp': {'ip_address': {'_hash': 'fd103b22c7cf2480d609150e06f4bbd92ac78d8c', |
| 712 | '_reserved_by': 'suiteC-[ID_NUM]-[ID_NUM]', |
| 713 | '_used': True, |
| 714 | 'addr': '10.42.42.2'}}} [suiteC↪test_template_overlay.py:[LINENR]↪test_template_overlay.py↪osmo-stp_10.42.42.2] [stp_osmo.py:[LINENR]] |
| 715 | cnf Templates: DBG: rendering osmo-stp.cfg.tmpl [suiteC↪test_template_overlay.py:[LINENR]↪test_template_overlay.py↪Templates] [template.py:[LINENR]] |
| 716 | run osmo-stp_10.42.42.2: DBG: ! Overlay Config file genreated by test |
| 717 | line vty |
| 718 | no login |
| 719 | bind 10.42.42.2 |
| 720 | [suiteC↪test_template_overlay.py:[LINENR]↪test_template_overlay.py↪osmo-stp_10.42.42.2] [stp_osmo.py:[LINENR]] |
| 721 | tst test_template_overlay.py:[LINENR] Test passed (N.N sec) [suiteC↪test_template_overlay.py] [test.py:[LINENR]] |
| 722 | --------------------------------------------------------------------- |
| 723 | trial suiteC PASS |
| 724 | --------------------------------------------------------------------- |
| 725 | PASS: suiteC (pass: 1) |
| 726 | pass: test_template_overlay.py (N.N sec) |
Neels Hofmeyr | 3531a19 | 2017-03-28 14:30:28 +0200 | [diff] [blame] | 727 | |
| 728 | - graceful exit. |