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 |
Pau Espin Pedrol | c3cf682 | 2020-06-12 17:54:55 +0200 | [diff] [blame] | 18 | config: |
| 19 | suite: |
| 20 | test_suite: |
| 21 | test_timeout: |
| 22 | timeout: '1' |
Neels Hofmeyr | 3531a19 | 2017-03-28 14:30:28 +0200 | [diff] [blame] | 23 | resources: |
| 24 | bts: |
Pau Espin Pedrol | cbc7242 | 2017-09-14 15:55:49 +0200 | [diff] [blame] | 25 | - label: sysmoCell 5000 |
| 26 | times: '2' |
Neels Hofmeyr | 3531a19 | 2017-03-28 14:30:28 +0200 | [diff] [blame] | 27 | - times: '1' |
Pau Espin Pedrol | cbc7242 | 2017-09-14 15:55:49 +0200 | [diff] [blame] | 28 | type: sysmo |
Neels Hofmeyr | 76d8103 | 2017-05-18 18:35:32 +0200 | [diff] [blame] | 29 | ip_address: |
| 30 | - times: '1' |
Neels Hofmeyr | 3531a19 | 2017-03-28 14:30:28 +0200 | [diff] [blame] | 31 | modem: |
| 32 | - times: '2' |
Neels Hofmeyr | 3531a19 | 2017-03-28 14:30:28 +0200 | [diff] [blame] | 33 | |
| 34 | - run hello world test |
Pau Espin Pedrol | a75f85a | 2020-06-12 17:13:26 +0200 | [diff] [blame] | 35 | tst test_suite: DBG: {combining='config'} |
Pau Espin Pedrol | c3cf682 | 2020-06-12 17:54:55 +0200 | [diff] [blame] | 36 | tst {combining_scenarios='config'}: DBG: {definition_conf={suite={test_suite={test_timeout={timeout='1'}}}}} [test_suite↪{combining_scenarios='config'}] |
Neels Hofmeyr | 6ccda11 | 2017-06-06 19:41:17 +0200 | [diff] [blame] | 37 | |
| 38 | --------------------------------------------------------------------- |
| 39 | trial test_suite |
| 40 | --------------------------------------------------------------------- |
Neels Hofmeyr | 7e2e8f1 | 2017-05-14 03:37:13 +0200 | [diff] [blame] | 41 | 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] | 42 | tst test_suite: DBG: {combining='resources'} |
Pau Espin Pedrol | cbc7242 | 2017-09-14 15:55:49 +0200 | [diff] [blame] | 43 | 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] | 44 | tst test_suite: DBG: {combining='modifiers'} |
| 45 | tst {combining_scenarios='modifiers'}: DBG: {definition_conf={}} [test_suite↪{combining_scenarios='modifiers'}] |
Pau Espin Pedrol | 600c799 | 2020-11-09 21:17:51 +0100 | [diff] [blame] | 46 | tst test_suite: Verifying 3 x bts (candidates: 6) |
| 47 | tst test_suite: DBG: Picked - _hash: a59640b8ba6a373552b24a6f9f65cadd2347bace |
| 48 | addr: 10.42.42.53 |
| 49 | band: GSM-1800 |
| 50 | ipa_unit_id: '7' |
| 51 | label: sysmoCell 5000 |
| 52 | osmo_trx: |
| 53 | clock_reference: external |
| 54 | launch_trx: 'False' |
| 55 | trx_ip: 10.42.42.112 |
| 56 | trx_list: |
| 57 | - max_power_red: '3' |
| 58 | nominal_power: '10' |
| 59 | - max_power_red: '0' |
| 60 | nominal_power: '12' |
| 61 | type: osmo-bts-trx |
| 62 | - _hash: c2feabd082c36a1cdeccb9a5237dfff7dbadb009 |
| 63 | addr: 10.42.42.53 |
| 64 | band: GSM-1800 |
| 65 | ipa_unit_id: '7' |
| 66 | label: sysmoCell 5000 |
| 67 | osmo_trx: |
| 68 | clock_reference: external |
| 69 | launch_trx: 'False' |
| 70 | trx_ip: 10.42.42.112 |
| 71 | trx_list: |
| 72 | - nominal_power: '10' |
| 73 | - max_power_red: '1' |
| 74 | nominal_power: '12' |
| 75 | type: osmo-bts-trx |
| 76 | - _hash: 07d9c8aaa940b674efcbbabdd69f58a6ce4e94f9 |
| 77 | addr: 10.42.42.114 |
| 78 | band: GSM-1800 |
| 79 | ipa_unit_id: '1' |
| 80 | label: sysmoBTS 1002 |
| 81 | type: sysmo |
| 82 | tst test_suite: Verifying 1 x ip_address (candidates: 3) |
| 83 | tst test_suite: DBG: Picked - _hash: cde1debf28f07f94f92c761b4b7c6bf35785ced4 |
| 84 | addr: 10.42.42.1 |
| 85 | tst test_suite: Verifying 2 x modem (candidates: 16) |
| 86 | tst test_suite: DBG: Picked - _hash: 19c69e45aa090fb511446bd00797690aa82ff52f |
| 87 | imsi: '901700000007801' |
| 88 | ki: D620F48487B1B782DA55DF6717F08FF9 |
| 89 | label: m7801 |
| 90 | path: /wavecom_0 |
| 91 | - _hash: e1a46516a1fb493b2617ab14fc1693a9a45ec254 |
| 92 | imsi: '901700000007802' |
| 93 | ki: 47FDB2D55CE6A10A85ABDAD034A5B7B3 |
| 94 | label: m7802 |
| 95 | path: /wavecom_1 |
| 96 | tst test_suite: DBG: FileWatch: scheduling watch for directory [PATH]/selftest/suite_test/test_work/state_dir |
Pau Espin Pedrol | 0b30279 | 2017-09-10 16:33:10 +0200 | [diff] [blame] | 97 | tst test_suite: Reserving 3 x bts (candidates: 6) |
Pau Espin Pedrol | 0d45504 | 2018-08-27 17:07:41 +0200 | [diff] [blame] | 98 | tst test_suite: DBG: Picked - _hash: a59640b8ba6a373552b24a6f9f65cadd2347bace |
Pau Espin Pedrol | cbc7242 | 2017-09-14 15:55:49 +0200 | [diff] [blame] | 99 | addr: 10.42.42.53 |
| 100 | band: GSM-1800 |
| 101 | ipa_unit_id: '7' |
| 102 | label: sysmoCell 5000 |
Pau Espin Pedrol | 0d45504 | 2018-08-27 17:07:41 +0200 | [diff] [blame] | 103 | osmo_trx: |
| 104 | clock_reference: external |
| 105 | launch_trx: 'False' |
| 106 | trx_ip: 10.42.42.112 |
Pau Espin Pedrol | cbc7242 | 2017-09-14 15:55:49 +0200 | [diff] [blame] | 107 | trx_list: |
| 108 | - max_power_red: '3' |
| 109 | nominal_power: '10' |
| 110 | - max_power_red: '0' |
| 111 | nominal_power: '12' |
Pau Espin Pedrol | cbc7242 | 2017-09-14 15:55:49 +0200 | [diff] [blame] | 112 | type: osmo-bts-trx |
Pau Espin Pedrol | 0d45504 | 2018-08-27 17:07:41 +0200 | [diff] [blame] | 113 | - _hash: c2feabd082c36a1cdeccb9a5237dfff7dbadb009 |
Pau Espin Pedrol | cbc7242 | 2017-09-14 15:55:49 +0200 | [diff] [blame] | 114 | addr: 10.42.42.53 |
| 115 | band: GSM-1800 |
| 116 | ipa_unit_id: '7' |
| 117 | label: sysmoCell 5000 |
Pau Espin Pedrol | 0d45504 | 2018-08-27 17:07:41 +0200 | [diff] [blame] | 118 | osmo_trx: |
| 119 | clock_reference: external |
| 120 | launch_trx: 'False' |
| 121 | trx_ip: 10.42.42.112 |
Pau Espin Pedrol | cbc7242 | 2017-09-14 15:55:49 +0200 | [diff] [blame] | 122 | trx_list: |
| 123 | - nominal_power: '10' |
| 124 | - max_power_red: '1' |
| 125 | nominal_power: '12' |
Pau Espin Pedrol | cbc7242 | 2017-09-14 15:55:49 +0200 | [diff] [blame] | 126 | type: osmo-bts-trx |
| 127 | - _hash: 07d9c8aaa940b674efcbbabdd69f58a6ce4e94f9 |
Neels Hofmeyr | 17c139e | 2017-04-12 02:42:02 +0200 | [diff] [blame] | 128 | addr: 10.42.42.114 |
| 129 | band: GSM-1800 |
| 130 | ipa_unit_id: '1' |
| 131 | label: sysmoBTS 1002 |
| 132 | type: sysmo |
Neels Hofmeyr | 31e8320 | 2017-06-06 19:44:32 +0200 | [diff] [blame] | 133 | tst test_suite: Reserving 1 x ip_address (candidates: 3) |
Neels Hofmeyr | 76d8103 | 2017-05-18 18:35:32 +0200 | [diff] [blame] | 134 | tst test_suite: DBG: Picked - _hash: cde1debf28f07f94f92c761b4b7c6bf35785ced4 |
| 135 | addr: 10.42.42.1 |
Neels Hofmeyr | 31e8320 | 2017-06-06 19:44:32 +0200 | [diff] [blame] | 136 | tst test_suite: Reserving 2 x modem (candidates: 16) |
Neels Hofmeyr | cccbe59 | 2017-05-07 01:16:07 +0200 | [diff] [blame] | 137 | tst test_suite: DBG: Picked - _hash: 19c69e45aa090fb511446bd00797690aa82ff52f |
Neels Hofmeyr | 17c139e | 2017-04-12 02:42:02 +0200 | [diff] [blame] | 138 | imsi: '901700000007801' |
| 139 | ki: D620F48487B1B782DA55DF6717F08FF9 |
| 140 | label: m7801 |
| 141 | path: /wavecom_0 |
| 142 | - _hash: e1a46516a1fb493b2617ab14fc1693a9a45ec254 |
| 143 | imsi: '901700000007802' |
| 144 | ki: 47FDB2D55CE6A10A85ABDAD034A5B7B3 |
| 145 | label: m7802 |
| 146 | path: /wavecom_1 |
Pau Espin Pedrol | 600c799 | 2020-11-09 21:17:51 +0100 | [diff] [blame] | 147 | tst test_suite: DBG: FileWatch: unscheduling watch <ObservedWatch: path=[PATH]/selftest/suite_test/test_work/state_dir, is_recursive=False> |
Neels Hofmeyr | 6ccda11 | 2017-06-06 19:41:17 +0200 | [diff] [blame] | 148 | |
| 149 | ---------------------------------------------- |
| 150 | trial test_suite hello_world.py |
| 151 | ---------------------------------------------- |
Neels Hofmeyr | d1bedb1 | 2017-05-07 03:02:23 +0200 | [diff] [blame] | 152 | tst hello_world.py:[LINENR]: hello world [test_suite↪hello_world.py:[LINENR]] |
| 153 | tst hello_world.py:[LINENR]: I am 'test_suite' / 'hello_world.py:[LINENR]' [test_suite↪hello_world.py:[LINENR]] |
| 154 | tst hello_world.py:[LINENR]: one [test_suite↪hello_world.py:[LINENR]] |
| 155 | tst hello_world.py:[LINENR]: two [test_suite↪hello_world.py:[LINENR]] |
| 156 | tst hello_world.py:[LINENR]: three [test_suite↪hello_world.py:[LINENR]] |
Neels Hofmeyr | 6ccda11 | 2017-06-06 19:41:17 +0200 | [diff] [blame] | 157 | tst hello_world.py:[LINENR] Test passed (N.N sec) [test_suite↪hello_world.py] |
| 158 | --------------------------------------------------------------------- |
| 159 | trial test_suite PASS |
| 160 | --------------------------------------------------------------------- |
Pau Espin Pedrol | c3cf682 | 2020-06-12 17:54:55 +0200 | [diff] [blame] | 161 | PASS: test_suite (pass: 1, skip: 7) |
Neels Hofmeyr | 6ccda11 | 2017-06-06 19:41:17 +0200 | [diff] [blame] | 162 | pass: hello_world.py (N.N sec) |
| 163 | skip: mo_mt_sms.py |
| 164 | skip: mo_sms.py |
| 165 | skip: test_error.py |
| 166 | skip: test_fail.py |
| 167 | skip: test_fail_raise.py |
Pau Espin Pedrol | 3063730 | 2020-05-06 21:11:02 +0200 | [diff] [blame] | 168 | skip: test_suite_params.py |
Pau Espin Pedrol | c3cf682 | 2020-06-12 17:54:55 +0200 | [diff] [blame] | 169 | skip: test_timeout.py |
Neels Hofmeyr | 3531a19 | 2017-03-28 14:30:28 +0200 | [diff] [blame] | 170 | |
| 171 | - a test with an error |
Neels Hofmeyr | 6ccda11 | 2017-06-06 19:41:17 +0200 | [diff] [blame] | 172 | |
| 173 | --------------------------------------------------------------------- |
| 174 | trial test_suite |
| 175 | --------------------------------------------------------------------- |
| 176 | |
| 177 | ---------------------------------------------- |
| 178 | trial test_suite test_error.py |
| 179 | ---------------------------------------------- |
Neels Hofmeyr | d1bedb1 | 2017-05-07 03:02:23 +0200 | [diff] [blame] | 180 | 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] | 181 | 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] | 182 | 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] | 183 | --------------------------------------------------------------------- |
| 184 | trial test_suite FAIL |
| 185 | --------------------------------------------------------------------- |
Pau Espin Pedrol | c3cf682 | 2020-06-12 17:54:55 +0200 | [diff] [blame] | 186 | FAIL: test_suite (fail: 1, skip: 7) |
Neels Hofmeyr | 6ccda11 | 2017-06-06 19:41:17 +0200 | [diff] [blame] | 187 | skip: hello_world.py (N.N sec) |
| 188 | skip: mo_mt_sms.py |
| 189 | skip: mo_sms.py |
Neels Hofmeyr | 1a7a3f0 | 2017-06-10 01:18:27 +0200 | [diff] [blame] | 190 | 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] | 191 | skip: test_fail.py |
| 192 | skip: test_fail_raise.py |
Pau Espin Pedrol | 3063730 | 2020-05-06 21:11:02 +0200 | [diff] [blame] | 193 | skip: test_suite_params.py |
Pau Espin Pedrol | c3cf682 | 2020-06-12 17:54:55 +0200 | [diff] [blame] | 194 | skip: test_timeout.py |
Pau Espin Pedrol | 0ffb414 | 2017-05-15 18:24:35 +0200 | [diff] [blame] | 195 | |
| 196 | - a test with a failure |
Neels Hofmeyr | 6ccda11 | 2017-06-06 19:41:17 +0200 | [diff] [blame] | 197 | |
| 198 | --------------------------------------------------------------------- |
| 199 | trial test_suite |
| 200 | --------------------------------------------------------------------- |
| 201 | |
| 202 | ---------------------------------------------- |
| 203 | trial test_suite test_fail.py |
| 204 | ---------------------------------------------- |
Pau Espin Pedrol | 0ffb414 | 2017-05-15 18:24:35 +0200 | [diff] [blame] | 205 | 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] | 206 | 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] | 207 | 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] | 208 | --------------------------------------------------------------------- |
| 209 | trial test_suite FAIL |
| 210 | --------------------------------------------------------------------- |
Pau Espin Pedrol | c3cf682 | 2020-06-12 17:54:55 +0200 | [diff] [blame] | 211 | FAIL: test_suite (fail: 1, skip: 7) |
Neels Hofmeyr | 6ccda11 | 2017-06-06 19:41:17 +0200 | [diff] [blame] | 212 | skip: hello_world.py (N.N sec) |
| 213 | skip: mo_mt_sms.py |
| 214 | skip: mo_sms.py |
| 215 | skip: test_error.py (N.N sec) |
| 216 | FAIL: test_fail.py (N.N sec) EpicFail: This failure is expected |
| 217 | skip: test_fail_raise.py |
Pau Espin Pedrol | 3063730 | 2020-05-06 21:11:02 +0200 | [diff] [blame] | 218 | skip: test_suite_params.py |
Pau Espin Pedrol | c3cf682 | 2020-06-12 17:54:55 +0200 | [diff] [blame] | 219 | skip: test_timeout.py |
Pau Espin Pedrol | 0ffb414 | 2017-05-15 18:24:35 +0200 | [diff] [blame] | 220 | |
| 221 | - a test with a raised failure |
Neels Hofmeyr | 6ccda11 | 2017-06-06 19:41:17 +0200 | [diff] [blame] | 222 | |
| 223 | --------------------------------------------------------------------- |
| 224 | trial test_suite |
| 225 | --------------------------------------------------------------------- |
| 226 | |
| 227 | ---------------------------------------------- |
| 228 | trial test_suite test_fail_raise.py |
| 229 | ---------------------------------------------- |
Neels Hofmeyr | 1a7a3f0 | 2017-06-10 01:18:27 +0200 | [diff] [blame] | 230 | 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] | 231 | 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] | 232 | --------------------------------------------------------------------- |
| 233 | trial test_suite FAIL |
| 234 | --------------------------------------------------------------------- |
Pau Espin Pedrol | c3cf682 | 2020-06-12 17:54:55 +0200 | [diff] [blame] | 235 | FAIL: test_suite (fail: 1, skip: 7) |
Neels Hofmeyr | 6ccda11 | 2017-06-06 19:41:17 +0200 | [diff] [blame] | 236 | skip: hello_world.py (N.N sec) |
| 237 | skip: mo_mt_sms.py |
| 238 | skip: mo_sms.py |
| 239 | skip: test_error.py (N.N sec) |
| 240 | skip: test_fail.py (N.N sec) |
Neels Hofmeyr | 1a7a3f0 | 2017-06-10 01:18:27 +0200 | [diff] [blame] | 241 | 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] | 242 | skip: test_suite_params.py |
Pau Espin Pedrol | c3cf682 | 2020-06-12 17:54:55 +0200 | [diff] [blame] | 243 | skip: test_timeout.py |
Pau Espin Pedrol | 0b30279 | 2017-09-10 16:33:10 +0200 | [diff] [blame] | 244 | - test with half empty scenario |
Pau Espin Pedrol | a75f85a | 2020-06-12 17:13:26 +0200 | [diff] [blame] | 245 | tst test_suite: DBG: {combining='config'} [suite.py:[LINENR]] |
Pau Espin Pedrol | c3cf682 | 2020-06-12 17:54:55 +0200 | [diff] [blame] | 246 | tst {combining_scenarios='config'}: DBG: {definition_conf={suite={test_suite={test_timeout={timeout='1'}}}}} [test_suite↪{combining_scenarios='config'}] [suite.py:[LINENR]] |
Pau Espin Pedrol | a75f85a | 2020-06-12 17:13:26 +0200 | [diff] [blame] | 247 | tst {combining_scenarios='config', scenario='foo'}: DBG: {conf={}, scenario='foo'} [test_suite↪{combining_scenarios='config', scenario='foo'}] [suite.py:[LINENR]] |
Pau Espin Pedrol | 0b30279 | 2017-09-10 16:33:10 +0200 | [diff] [blame] | 248 | |
| 249 | --------------------------------------------------------------------- |
| 250 | trial test_suite |
| 251 | --------------------------------------------------------------------- |
| 252 | tst test_suite: reserving resources in [PATH]/selftest/suite_test/test_work/state_dir ... [suite.py:[LINENR]] |
| 253 | tst test_suite: DBG: {combining='resources'} [suite.py:[LINENR]] |
Pau Espin Pedrol | cbc7242 | 2017-09-14 15:55:49 +0200 | [diff] [blame] | 254 | 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] | 255 | tst {combining_scenarios='resources', scenario='foo'}: [RESOURCE_DICT] |
Pau Espin Pedrol | aab5692 | 2018-08-21 14:58:29 +0200 | [diff] [blame] | 256 | tst test_suite: DBG: {combining='modifiers'} [suite.py:[LINENR]] |
| 257 | tst {combining_scenarios='modifiers'}: DBG: {definition_conf={}} [test_suite↪{combining_scenarios='modifiers'}] [suite.py:[LINENR]] |
| 258 | tst {combining_scenarios='modifiers', scenario='foo'}: DBG: {conf={}, scenario='foo'} [test_suite↪{combining_scenarios='modifiers', scenario='foo'}] [suite.py:[LINENR]] |
Pau Espin Pedrol | 600c799 | 2020-11-09 21:17:51 +0100 | [diff] [blame] | 259 | tst test_suite: Verifying 3 x bts (candidates: 6) [resource.py:[LINENR]] |
| 260 | tst test_suite: DBG: Picked - _hash: a59640b8ba6a373552b24a6f9f65cadd2347bace |
| 261 | addr: 10.42.42.53 |
| 262 | band: GSM-1800 |
| 263 | ipa_unit_id: '7' |
| 264 | label: sysmoCell 5000 |
| 265 | osmo_trx: |
| 266 | clock_reference: external |
| 267 | launch_trx: 'False' |
| 268 | trx_ip: 10.42.42.112 |
| 269 | trx_list: |
| 270 | - max_power_red: '3' |
| 271 | nominal_power: '10' |
| 272 | - max_power_red: '0' |
| 273 | nominal_power: '12' |
| 274 | type: osmo-bts-trx |
| 275 | - _hash: c2feabd082c36a1cdeccb9a5237dfff7dbadb009 |
| 276 | addr: 10.42.42.53 |
| 277 | band: GSM-1800 |
| 278 | ipa_unit_id: '7' |
| 279 | label: sysmoCell 5000 |
| 280 | osmo_trx: |
| 281 | clock_reference: external |
| 282 | launch_trx: 'False' |
| 283 | trx_ip: 10.42.42.112 |
| 284 | trx_list: |
| 285 | - nominal_power: '10' |
| 286 | - max_power_red: '1' |
| 287 | nominal_power: '12' |
| 288 | type: osmo-bts-trx |
| 289 | - _hash: 07d9c8aaa940b674efcbbabdd69f58a6ce4e94f9 |
| 290 | addr: 10.42.42.114 |
| 291 | band: GSM-1800 |
| 292 | ipa_unit_id: '1' |
| 293 | label: sysmoBTS 1002 |
| 294 | type: sysmo |
| 295 | [resource.py:[LINENR]] |
| 296 | tst test_suite: Verifying 1 x ip_address (candidates: 3) [resource.py:[LINENR]] |
| 297 | tst test_suite: DBG: Picked - _hash: cde1debf28f07f94f92c761b4b7c6bf35785ced4 |
| 298 | addr: 10.42.42.1 |
| 299 | [resource.py:[LINENR]] |
| 300 | tst test_suite: Verifying 2 x modem (candidates: 16) [resource.py:[LINENR]] |
| 301 | tst test_suite: DBG: Picked - _hash: 19c69e45aa090fb511446bd00797690aa82ff52f |
| 302 | imsi: '901700000007801' |
| 303 | ki: D620F48487B1B782DA55DF6717F08FF9 |
| 304 | label: m7801 |
| 305 | path: /wavecom_0 |
| 306 | - _hash: e1a46516a1fb493b2617ab14fc1693a9a45ec254 |
| 307 | imsi: '901700000007802' |
| 308 | ki: 47FDB2D55CE6A10A85ABDAD034A5B7B3 |
| 309 | label: m7802 |
| 310 | path: /wavecom_1 |
| 311 | [resource.py:[LINENR]] |
| 312 | tst test_suite: DBG: FileWatch: scheduling watch for directory [PATH]/selftest/suite_test/test_work/state_dir [util.py:[LINENR]] |
Pau Espin Pedrol | 0b30279 | 2017-09-10 16:33:10 +0200 | [diff] [blame] | 313 | 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] | 314 | tst test_suite: DBG: Picked - _hash: a59640b8ba6a373552b24a6f9f65cadd2347bace |
Pau Espin Pedrol | cbc7242 | 2017-09-14 15:55:49 +0200 | [diff] [blame] | 315 | addr: 10.42.42.53 |
| 316 | band: GSM-1800 |
| 317 | ipa_unit_id: '7' |
| 318 | label: sysmoCell 5000 |
Pau Espin Pedrol | 0d45504 | 2018-08-27 17:07:41 +0200 | [diff] [blame] | 319 | osmo_trx: |
| 320 | clock_reference: external |
| 321 | launch_trx: 'False' |
| 322 | trx_ip: 10.42.42.112 |
Pau Espin Pedrol | cbc7242 | 2017-09-14 15:55:49 +0200 | [diff] [blame] | 323 | trx_list: |
| 324 | - max_power_red: '3' |
| 325 | nominal_power: '10' |
| 326 | - max_power_red: '0' |
| 327 | nominal_power: '12' |
Pau Espin Pedrol | cbc7242 | 2017-09-14 15:55:49 +0200 | [diff] [blame] | 328 | type: osmo-bts-trx |
Pau Espin Pedrol | 0d45504 | 2018-08-27 17:07:41 +0200 | [diff] [blame] | 329 | - _hash: c2feabd082c36a1cdeccb9a5237dfff7dbadb009 |
Pau Espin Pedrol | cbc7242 | 2017-09-14 15:55:49 +0200 | [diff] [blame] | 330 | addr: 10.42.42.53 |
| 331 | band: GSM-1800 |
| 332 | ipa_unit_id: '7' |
| 333 | label: sysmoCell 5000 |
Pau Espin Pedrol | 0d45504 | 2018-08-27 17:07:41 +0200 | [diff] [blame] | 334 | osmo_trx: |
| 335 | clock_reference: external |
| 336 | launch_trx: 'False' |
| 337 | trx_ip: 10.42.42.112 |
Pau Espin Pedrol | cbc7242 | 2017-09-14 15:55:49 +0200 | [diff] [blame] | 338 | trx_list: |
| 339 | - nominal_power: '10' |
| 340 | - max_power_red: '1' |
| 341 | nominal_power: '12' |
Pau Espin Pedrol | cbc7242 | 2017-09-14 15:55:49 +0200 | [diff] [blame] | 342 | type: osmo-bts-trx |
| 343 | - _hash: 07d9c8aaa940b674efcbbabdd69f58a6ce4e94f9 |
Pau Espin Pedrol | 0b30279 | 2017-09-10 16:33:10 +0200 | [diff] [blame] | 344 | addr: 10.42.42.114 |
| 345 | band: GSM-1800 |
| 346 | ipa_unit_id: '1' |
| 347 | label: sysmoBTS 1002 |
| 348 | type: sysmo |
Pau Espin Pedrol | 0b30279 | 2017-09-10 16:33:10 +0200 | [diff] [blame] | 349 | [resource.py:[LINENR]] |
| 350 | tst test_suite: Reserving 1 x ip_address (candidates: 3) [resource.py:[LINENR]] |
| 351 | tst test_suite: DBG: Picked - _hash: cde1debf28f07f94f92c761b4b7c6bf35785ced4 |
| 352 | addr: 10.42.42.1 |
| 353 | [resource.py:[LINENR]] |
| 354 | tst test_suite: Reserving 2 x modem (candidates: 16) [resource.py:[LINENR]] |
| 355 | tst test_suite: DBG: Picked - _hash: 19c69e45aa090fb511446bd00797690aa82ff52f |
| 356 | imsi: '901700000007801' |
| 357 | ki: D620F48487B1B782DA55DF6717F08FF9 |
| 358 | label: m7801 |
| 359 | path: /wavecom_0 |
| 360 | - _hash: e1a46516a1fb493b2617ab14fc1693a9a45ec254 |
| 361 | imsi: '901700000007802' |
| 362 | ki: 47FDB2D55CE6A10A85ABDAD034A5B7B3 |
| 363 | label: m7802 |
| 364 | path: /wavecom_1 |
| 365 | [resource.py:[LINENR]] |
Pau Espin Pedrol | 600c799 | 2020-11-09 21:17:51 +0100 | [diff] [blame] | 366 | tst test_suite: DBG: FileWatch: unscheduling watch <ObservedWatch: path=[PATH]/selftest/suite_test/test_work/state_dir, is_recursive=False> [util.py:[LINENR]] |
Pau Espin Pedrol | 0b30279 | 2017-09-10 16:33:10 +0200 | [diff] [blame] | 367 | |
| 368 | ---------------------------------------------- |
| 369 | trial test_suite hello_world.py |
| 370 | ---------------------------------------------- |
| 371 | tst hello_world.py:[LINENR]: hello world [test_suite↪hello_world.py:[LINENR]] [hello_world.py:[LINENR]] |
| 372 | tst hello_world.py:[LINENR]: I am 'test_suite' / 'hello_world.py:[LINENR]' [test_suite↪hello_world.py:[LINENR]] [hello_world.py:[LINENR]] |
| 373 | tst hello_world.py:[LINENR]: one [test_suite↪hello_world.py:[LINENR]] [hello_world.py:[LINENR]] |
| 374 | tst hello_world.py:[LINENR]: two [test_suite↪hello_world.py:[LINENR]] [hello_world.py:[LINENR]] |
| 375 | 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] | 376 | 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] | 377 | --------------------------------------------------------------------- |
| 378 | trial test_suite PASS |
| 379 | --------------------------------------------------------------------- |
Pau Espin Pedrol | c3cf682 | 2020-06-12 17:54:55 +0200 | [diff] [blame] | 380 | PASS: test_suite (pass: 1, skip: 7) |
Pau Espin Pedrol | 0b30279 | 2017-09-10 16:33:10 +0200 | [diff] [blame] | 381 | pass: hello_world.py (N.N sec) |
| 382 | skip: mo_mt_sms.py |
| 383 | skip: mo_sms.py |
| 384 | skip: test_error.py |
| 385 | skip: test_fail.py |
| 386 | skip: test_fail_raise.py |
Pau Espin Pedrol | 3063730 | 2020-05-06 21:11:02 +0200 | [diff] [blame] | 387 | skip: test_suite_params.py |
Pau Espin Pedrol | c3cf682 | 2020-06-12 17:54:55 +0200 | [diff] [blame] | 388 | skip: test_timeout.py |
Pau Espin Pedrol | 0b30279 | 2017-09-10 16:33:10 +0200 | [diff] [blame] | 389 | - test with scenario |
Pau Espin Pedrol | a75f85a | 2020-06-12 17:13:26 +0200 | [diff] [blame] | 390 | tst test_suite: DBG: {combining='config'} [suite.py:[LINENR]] |
Pau Espin Pedrol | c3cf682 | 2020-06-12 17:54:55 +0200 | [diff] [blame] | 391 | tst {combining_scenarios='config'}: DBG: {definition_conf={suite={test_suite={test_timeout={timeout='1'}}}}} [test_suite↪{combining_scenarios='config'}] [suite.py:[LINENR]] |
Pau Espin Pedrol | a75f85a | 2020-06-12 17:13:26 +0200 | [diff] [blame] | 392 | tst {combining_scenarios='config', scenario='foo'}: DBG: {conf={}, scenario='foo'} [test_suite↪{combining_scenarios='config', scenario='foo'}] [suite.py:[LINENR]] |
Pau Espin Pedrol | 0b30279 | 2017-09-10 16:33:10 +0200 | [diff] [blame] | 393 | |
| 394 | --------------------------------------------------------------------- |
| 395 | trial test_suite |
| 396 | --------------------------------------------------------------------- |
| 397 | tst test_suite: reserving resources in [PATH]/selftest/suite_test/test_work/state_dir ... [suite.py:[LINENR]] |
| 398 | tst test_suite: DBG: {combining='resources'} [suite.py:[LINENR]] |
Pau Espin Pedrol | cbc7242 | 2017-09-14 15:55:49 +0200 | [diff] [blame] | 399 | 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] | 400 | tst {combining_scenarios='resources', scenario='foo'}: [RESOURCE_DICT] |
Pau Espin Pedrol | aab5692 | 2018-08-21 14:58:29 +0200 | [diff] [blame] | 401 | tst test_suite: DBG: {combining='modifiers'} [suite.py:[LINENR]] |
| 402 | tst {combining_scenarios='modifiers'}: DBG: {definition_conf={}} [test_suite↪{combining_scenarios='modifiers'}] [suite.py:[LINENR]] |
| 403 | tst {combining_scenarios='modifiers', scenario='foo'}: DBG: {conf={}, scenario='foo'} [test_suite↪{combining_scenarios='modifiers', scenario='foo'}] [suite.py:[LINENR]] |
Pau Espin Pedrol | 600c799 | 2020-11-09 21:17:51 +0100 | [diff] [blame] | 404 | tst test_suite: Verifying 3 x bts (candidates: 6) [resource.py:[LINENR]] |
| 405 | tst test_suite: DBG: Picked - _hash: a59640b8ba6a373552b24a6f9f65cadd2347bace |
| 406 | addr: 10.42.42.53 |
| 407 | band: GSM-1800 |
| 408 | ipa_unit_id: '7' |
| 409 | label: sysmoCell 5000 |
| 410 | osmo_trx: |
| 411 | clock_reference: external |
| 412 | launch_trx: 'False' |
| 413 | trx_ip: 10.42.42.112 |
| 414 | trx_list: |
| 415 | - max_power_red: '3' |
| 416 | nominal_power: '10' |
| 417 | - max_power_red: '0' |
| 418 | nominal_power: '12' |
| 419 | type: osmo-bts-trx |
| 420 | - _hash: c2feabd082c36a1cdeccb9a5237dfff7dbadb009 |
| 421 | addr: 10.42.42.53 |
| 422 | band: GSM-1800 |
| 423 | ipa_unit_id: '7' |
| 424 | label: sysmoCell 5000 |
| 425 | osmo_trx: |
| 426 | clock_reference: external |
| 427 | launch_trx: 'False' |
| 428 | trx_ip: 10.42.42.112 |
| 429 | trx_list: |
| 430 | - nominal_power: '10' |
| 431 | - max_power_red: '1' |
| 432 | nominal_power: '12' |
| 433 | type: osmo-bts-trx |
| 434 | - _hash: 07d9c8aaa940b674efcbbabdd69f58a6ce4e94f9 |
| 435 | addr: 10.42.42.114 |
| 436 | band: GSM-1800 |
| 437 | ipa_unit_id: '1' |
| 438 | label: sysmoBTS 1002 |
| 439 | type: sysmo |
| 440 | [resource.py:[LINENR]] |
| 441 | tst test_suite: Verifying 1 x ip_address (candidates: 3) [resource.py:[LINENR]] |
| 442 | tst test_suite: DBG: Picked - _hash: cde1debf28f07f94f92c761b4b7c6bf35785ced4 |
| 443 | addr: 10.42.42.1 |
| 444 | [resource.py:[LINENR]] |
| 445 | tst test_suite: Verifying 2 x modem (candidates: 16) [resource.py:[LINENR]] |
| 446 | tst test_suite: DBG: Picked - _hash: 19c69e45aa090fb511446bd00797690aa82ff52f |
| 447 | imsi: '901700000007801' |
| 448 | ki: D620F48487B1B782DA55DF6717F08FF9 |
| 449 | label: m7801 |
| 450 | path: /wavecom_0 |
| 451 | - _hash: e1a46516a1fb493b2617ab14fc1693a9a45ec254 |
| 452 | imsi: '901700000007802' |
| 453 | ki: 47FDB2D55CE6A10A85ABDAD034A5B7B3 |
| 454 | label: m7802 |
| 455 | path: /wavecom_1 |
| 456 | [resource.py:[LINENR]] |
| 457 | tst test_suite: DBG: FileWatch: scheduling watch for directory [PATH]/selftest/suite_test/test_work/state_dir [util.py:[LINENR]] |
Pau Espin Pedrol | 0b30279 | 2017-09-10 16:33:10 +0200 | [diff] [blame] | 458 | 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] | 459 | tst test_suite: DBG: Picked - _hash: a59640b8ba6a373552b24a6f9f65cadd2347bace |
Pau Espin Pedrol | 0b30279 | 2017-09-10 16:33:10 +0200 | [diff] [blame] | 460 | addr: 10.42.42.53 |
| 461 | band: GSM-1800 |
| 462 | ipa_unit_id: '7' |
| 463 | label: sysmoCell 5000 |
Pau Espin Pedrol | 0d45504 | 2018-08-27 17:07:41 +0200 | [diff] [blame] | 464 | osmo_trx: |
| 465 | clock_reference: external |
| 466 | launch_trx: 'False' |
| 467 | trx_ip: 10.42.42.112 |
Pau Espin Pedrol | 0b30279 | 2017-09-10 16:33:10 +0200 | [diff] [blame] | 468 | trx_list: |
Pau Espin Pedrol | 5847551 | 2017-09-14 15:33:15 +0200 | [diff] [blame] | 469 | - max_power_red: '3' |
| 470 | nominal_power: '10' |
| 471 | - max_power_red: '0' |
| 472 | nominal_power: '12' |
Pau Espin Pedrol | 0b30279 | 2017-09-10 16:33:10 +0200 | [diff] [blame] | 473 | type: osmo-bts-trx |
Pau Espin Pedrol | 0d45504 | 2018-08-27 17:07:41 +0200 | [diff] [blame] | 474 | - _hash: c2feabd082c36a1cdeccb9a5237dfff7dbadb009 |
Pau Espin Pedrol | cbc7242 | 2017-09-14 15:55:49 +0200 | [diff] [blame] | 475 | addr: 10.42.42.53 |
| 476 | band: GSM-1800 |
| 477 | ipa_unit_id: '7' |
| 478 | label: sysmoCell 5000 |
Pau Espin Pedrol | 0d45504 | 2018-08-27 17:07:41 +0200 | [diff] [blame] | 479 | osmo_trx: |
| 480 | clock_reference: external |
| 481 | launch_trx: 'False' |
| 482 | trx_ip: 10.42.42.112 |
Pau Espin Pedrol | cbc7242 | 2017-09-14 15:55:49 +0200 | [diff] [blame] | 483 | trx_list: |
| 484 | - nominal_power: '10' |
| 485 | - max_power_red: '1' |
| 486 | nominal_power: '12' |
Pau Espin Pedrol | cbc7242 | 2017-09-14 15:55:49 +0200 | [diff] [blame] | 487 | type: osmo-bts-trx |
Pau Espin Pedrol | 0b30279 | 2017-09-10 16:33:10 +0200 | [diff] [blame] | 488 | - _hash: 07d9c8aaa940b674efcbbabdd69f58a6ce4e94f9 |
| 489 | addr: 10.42.42.114 |
| 490 | band: GSM-1800 |
| 491 | ipa_unit_id: '1' |
| 492 | label: sysmoBTS 1002 |
| 493 | type: sysmo |
| 494 | [resource.py:[LINENR]] |
| 495 | tst test_suite: Reserving 1 x ip_address (candidates: 3) [resource.py:[LINENR]] |
| 496 | tst test_suite: DBG: Picked - _hash: cde1debf28f07f94f92c761b4b7c6bf35785ced4 |
| 497 | addr: 10.42.42.1 |
| 498 | [resource.py:[LINENR]] |
| 499 | tst test_suite: Reserving 2 x modem (candidates: 16) [resource.py:[LINENR]] |
| 500 | tst test_suite: DBG: Picked - _hash: 19c69e45aa090fb511446bd00797690aa82ff52f |
| 501 | imsi: '901700000007801' |
| 502 | ki: D620F48487B1B782DA55DF6717F08FF9 |
| 503 | label: m7801 |
| 504 | path: /wavecom_0 |
| 505 | - _hash: e1a46516a1fb493b2617ab14fc1693a9a45ec254 |
| 506 | imsi: '901700000007802' |
| 507 | ki: 47FDB2D55CE6A10A85ABDAD034A5B7B3 |
| 508 | label: m7802 |
| 509 | path: /wavecom_1 |
| 510 | [resource.py:[LINENR]] |
Pau Espin Pedrol | 600c799 | 2020-11-09 21:17:51 +0100 | [diff] [blame] | 511 | tst test_suite: DBG: FileWatch: unscheduling watch <ObservedWatch: path=[PATH]/selftest/suite_test/test_work/state_dir, is_recursive=False> [util.py:[LINENR]] |
Pau Espin Pedrol | 0b30279 | 2017-09-10 16:33:10 +0200 | [diff] [blame] | 512 | |
| 513 | ---------------------------------------------- |
| 514 | trial test_suite hello_world.py |
| 515 | ---------------------------------------------- |
| 516 | tst hello_world.py:[LINENR]: hello world [test_suite↪hello_world.py:[LINENR]] [hello_world.py:[LINENR]] |
| 517 | tst hello_world.py:[LINENR]: I am 'test_suite' / 'hello_world.py:[LINENR]' [test_suite↪hello_world.py:[LINENR]] [hello_world.py:[LINENR]] |
| 518 | tst hello_world.py:[LINENR]: one [test_suite↪hello_world.py:[LINENR]] [hello_world.py:[LINENR]] |
| 519 | tst hello_world.py:[LINENR]: two [test_suite↪hello_world.py:[LINENR]] [hello_world.py:[LINENR]] |
| 520 | 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] | 521 | 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] | 522 | --------------------------------------------------------------------- |
| 523 | trial test_suite PASS |
| 524 | --------------------------------------------------------------------- |
Pau Espin Pedrol | c3cf682 | 2020-06-12 17:54:55 +0200 | [diff] [blame] | 525 | PASS: test_suite (pass: 1, skip: 7) |
Pau Espin Pedrol | 0b30279 | 2017-09-10 16:33:10 +0200 | [diff] [blame] | 526 | pass: hello_world.py (N.N sec) |
| 527 | skip: mo_mt_sms.py |
| 528 | skip: mo_sms.py |
| 529 | skip: test_error.py |
| 530 | skip: test_fail.py |
| 531 | skip: test_fail_raise.py |
Pau Espin Pedrol | 3063730 | 2020-05-06 21:11:02 +0200 | [diff] [blame] | 532 | skip: test_suite_params.py |
Pau Espin Pedrol | c3cf682 | 2020-06-12 17:54:55 +0200 | [diff] [blame] | 533 | skip: test_timeout.py |
Pau Espin Pedrol | aab5692 | 2018-08-21 14:58:29 +0200 | [diff] [blame] | 534 | - test with scenario and modifiers |
Pau Espin Pedrol | a75f85a | 2020-06-12 17:13:26 +0200 | [diff] [blame] | 535 | tst test_suite: DBG: {combining='config'} [suite.py:[LINENR]] |
Pau Espin Pedrol | c3cf682 | 2020-06-12 17:54:55 +0200 | [diff] [blame] | 536 | tst {combining_scenarios='config'}: DBG: {definition_conf={suite={test_suite={test_timeout={timeout='1'}}}}} [test_suite↪{combining_scenarios='config'}] [suite.py:[LINENR]] |
Pau Espin Pedrol | a75f85a | 2020-06-12 17:13:26 +0200 | [diff] [blame] | 537 | tst {combining_scenarios='config', scenario='foo'}: DBG: {conf={}, scenario='foo'} [test_suite↪{combining_scenarios='config', scenario='foo'}] [suite.py:[LINENR]] |
Pau Espin Pedrol | aab5692 | 2018-08-21 14:58:29 +0200 | [diff] [blame] | 538 | tst test_suite: reserving resources in [PATH]/selftest/suite_test/test_work/state_dir ... [suite.py:[LINENR]] |
| 539 | tst test_suite: DBG: {combining='resources'} [suite.py:[LINENR]] |
| 540 | 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]] |
| 541 | tst {combining_scenarios='resources', scenario='foo'}: [RESOURCE_DICT] |
| 542 | tst test_suite: DBG: {combining='modifiers'} [suite.py:[LINENR]] |
| 543 | tst {combining_scenarios='modifiers'}: DBG: {definition_conf={}} [test_suite↪{combining_scenarios='modifiers'}] [suite.py:[LINENR]] |
| 544 | 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]] |
Pau Espin Pedrol | 600c799 | 2020-11-09 21:17:51 +0100 | [diff] [blame] | 545 | tst test_suite: Verifying 3 x bts (candidates: 6) [resource.py:[LINENR]] |
| 546 | tst test_suite: DBG: Picked - _hash: a59640b8ba6a373552b24a6f9f65cadd2347bace |
| 547 | addr: 10.42.42.53 |
| 548 | band: GSM-1800 |
| 549 | ipa_unit_id: '7' |
| 550 | label: sysmoCell 5000 |
| 551 | osmo_trx: |
| 552 | clock_reference: external |
| 553 | launch_trx: 'False' |
| 554 | trx_ip: 10.42.42.112 |
| 555 | trx_list: |
| 556 | - max_power_red: '3' |
| 557 | nominal_power: '10' |
| 558 | - max_power_red: '0' |
| 559 | nominal_power: '12' |
| 560 | type: osmo-bts-trx |
| 561 | - _hash: c2feabd082c36a1cdeccb9a5237dfff7dbadb009 |
| 562 | addr: 10.42.42.53 |
| 563 | band: GSM-1800 |
| 564 | ipa_unit_id: '7' |
| 565 | label: sysmoCell 5000 |
| 566 | osmo_trx: |
| 567 | clock_reference: external |
| 568 | launch_trx: 'False' |
| 569 | trx_ip: 10.42.42.112 |
| 570 | trx_list: |
| 571 | - nominal_power: '10' |
| 572 | - max_power_red: '1' |
| 573 | nominal_power: '12' |
| 574 | type: osmo-bts-trx |
| 575 | - _hash: 07d9c8aaa940b674efcbbabdd69f58a6ce4e94f9 |
| 576 | addr: 10.42.42.114 |
| 577 | band: GSM-1800 |
| 578 | ipa_unit_id: '1' |
| 579 | label: sysmoBTS 1002 |
| 580 | type: sysmo |
| 581 | [resource.py:[LINENR]] |
| 582 | tst test_suite: Verifying 1 x ip_address (candidates: 3) [resource.py:[LINENR]] |
| 583 | tst test_suite: DBG: Picked - _hash: cde1debf28f07f94f92c761b4b7c6bf35785ced4 |
| 584 | addr: 10.42.42.1 |
| 585 | [resource.py:[LINENR]] |
| 586 | tst test_suite: Verifying 2 x modem (candidates: 16) [resource.py:[LINENR]] |
| 587 | tst test_suite: DBG: Picked - _hash: 19c69e45aa090fb511446bd00797690aa82ff52f |
| 588 | imsi: '901700000007801' |
| 589 | ki: D620F48487B1B782DA55DF6717F08FF9 |
| 590 | label: m7801 |
| 591 | path: /wavecom_0 |
| 592 | - _hash: e1a46516a1fb493b2617ab14fc1693a9a45ec254 |
| 593 | imsi: '901700000007802' |
| 594 | ki: 47FDB2D55CE6A10A85ABDAD034A5B7B3 |
| 595 | label: m7802 |
| 596 | path: /wavecom_1 |
| 597 | [resource.py:[LINENR]] |
| 598 | tst test_suite: DBG: FileWatch: scheduling watch for directory [PATH]/selftest/suite_test/test_work/state_dir [util.py:[LINENR]] |
Pau Espin Pedrol | aab5692 | 2018-08-21 14:58:29 +0200 | [diff] [blame] | 599 | 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] | 600 | tst test_suite: DBG: Picked - _hash: a59640b8ba6a373552b24a6f9f65cadd2347bace |
Pau Espin Pedrol | aab5692 | 2018-08-21 14:58:29 +0200 | [diff] [blame] | 601 | addr: 10.42.42.53 |
| 602 | band: GSM-1800 |
| 603 | ipa_unit_id: '7' |
| 604 | label: sysmoCell 5000 |
Pau Espin Pedrol | 0d45504 | 2018-08-27 17:07:41 +0200 | [diff] [blame] | 605 | osmo_trx: |
| 606 | clock_reference: external |
| 607 | launch_trx: 'False' |
| 608 | trx_ip: 10.42.42.112 |
Pau Espin Pedrol | aab5692 | 2018-08-21 14:58:29 +0200 | [diff] [blame] | 609 | trx_list: |
| 610 | - max_power_red: '3' |
| 611 | nominal_power: '10' |
| 612 | - max_power_red: '0' |
| 613 | nominal_power: '12' |
Pau Espin Pedrol | aab5692 | 2018-08-21 14:58:29 +0200 | [diff] [blame] | 614 | type: osmo-bts-trx |
Pau Espin Pedrol | 0d45504 | 2018-08-27 17:07:41 +0200 | [diff] [blame] | 615 | - _hash: c2feabd082c36a1cdeccb9a5237dfff7dbadb009 |
Pau Espin Pedrol | aab5692 | 2018-08-21 14:58:29 +0200 | [diff] [blame] | 616 | addr: 10.42.42.53 |
| 617 | band: GSM-1800 |
| 618 | ipa_unit_id: '7' |
| 619 | label: sysmoCell 5000 |
Pau Espin Pedrol | 0d45504 | 2018-08-27 17:07:41 +0200 | [diff] [blame] | 620 | osmo_trx: |
| 621 | clock_reference: external |
| 622 | launch_trx: 'False' |
| 623 | trx_ip: 10.42.42.112 |
Pau Espin Pedrol | aab5692 | 2018-08-21 14:58:29 +0200 | [diff] [blame] | 624 | trx_list: |
| 625 | - nominal_power: '10' |
| 626 | - max_power_red: '1' |
| 627 | nominal_power: '12' |
Pau Espin Pedrol | aab5692 | 2018-08-21 14:58:29 +0200 | [diff] [blame] | 628 | type: osmo-bts-trx |
| 629 | - _hash: 07d9c8aaa940b674efcbbabdd69f58a6ce4e94f9 |
| 630 | addr: 10.42.42.114 |
| 631 | band: GSM-1800 |
| 632 | ipa_unit_id: '1' |
| 633 | label: sysmoBTS 1002 |
| 634 | type: sysmo |
| 635 | [resource.py:[LINENR]] |
| 636 | tst test_suite: Reserving 1 x ip_address (candidates: 3) [resource.py:[LINENR]] |
| 637 | tst test_suite: DBG: Picked - _hash: cde1debf28f07f94f92c761b4b7c6bf35785ced4 |
| 638 | addr: 10.42.42.1 |
| 639 | [resource.py:[LINENR]] |
| 640 | tst test_suite: Reserving 2 x modem (candidates: 16) [resource.py:[LINENR]] |
| 641 | tst test_suite: DBG: Picked - _hash: 19c69e45aa090fb511446bd00797690aa82ff52f |
| 642 | imsi: '901700000007801' |
| 643 | ki: D620F48487B1B782DA55DF6717F08FF9 |
| 644 | label: m7801 |
| 645 | path: /wavecom_0 |
| 646 | - _hash: e1a46516a1fb493b2617ab14fc1693a9a45ec254 |
| 647 | imsi: '901700000007802' |
| 648 | ki: 47FDB2D55CE6A10A85ABDAD034A5B7B3 |
| 649 | label: m7802 |
| 650 | path: /wavecom_1 |
| 651 | [resource.py:[LINENR]] |
Pau Espin Pedrol | 600c799 | 2020-11-09 21:17:51 +0100 | [diff] [blame] | 652 | tst test_suite: DBG: FileWatch: unscheduling watch <ObservedWatch: path=[PATH]/selftest/suite_test/test_work/state_dir, is_recursive=False> [util.py:[LINENR]] |
Pau Espin Pedrol | 0d45504 | 2018-08-27 17:07:41 +0200 | [diff] [blame] | 653 | resources(test_suite)={'bts': [{'_hash': 'a59640b8ba6a373552b24a6f9f65cadd2347bace', |
Pau Espin Pedrol | aab5692 | 2018-08-21 14:58:29 +0200 | [diff] [blame] | 654 | '_reserved_by': 'test_suite-[ID_NUM]-[ID_NUM]', |
| 655 | 'addr': '10.42.42.53', |
| 656 | 'band': 'GSM-1800', |
| 657 | 'ipa_unit_id': '7', |
| 658 | 'label': 'sysmoCell 5000', |
Pau Espin Pedrol | 0d45504 | 2018-08-27 17:07:41 +0200 | [diff] [blame] | 659 | 'osmo_trx': {'clock_reference': 'external', |
| 660 | 'launch_trx': 'False', |
| 661 | 'trx_ip': '10.42.42.112'}, |
Pau Espin Pedrol | aab5692 | 2018-08-21 14:58:29 +0200 | [diff] [blame] | 662 | 'trx_list': [{'max_power_red': '3', 'nominal_power': '20'}, |
| 663 | {'max_power_red': '0', 'nominal_power': '20'}], |
Pau Espin Pedrol | aab5692 | 2018-08-21 14:58:29 +0200 | [diff] [blame] | 664 | 'type': 'osmo-bts-trx'}, |
Pau Espin Pedrol | 0d45504 | 2018-08-27 17:07:41 +0200 | [diff] [blame] | 665 | {'_hash': 'c2feabd082c36a1cdeccb9a5237dfff7dbadb009', |
Pau Espin Pedrol | aab5692 | 2018-08-21 14:58:29 +0200 | [diff] [blame] | 666 | '_reserved_by': 'test_suite-[ID_NUM]-[ID_NUM]', |
| 667 | 'addr': '10.42.42.53', |
| 668 | 'band': 'GSM-1800', |
| 669 | 'ipa_unit_id': '7', |
| 670 | 'label': 'sysmoCell 5000', |
Pau Espin Pedrol | 0d45504 | 2018-08-27 17:07:41 +0200 | [diff] [blame] | 671 | 'osmo_trx': {'clock_reference': 'external', |
| 672 | 'launch_trx': 'False', |
| 673 | 'trx_ip': '10.42.42.112'}, |
Pau Espin Pedrol | aab5692 | 2018-08-21 14:58:29 +0200 | [diff] [blame] | 674 | 'trx_list': [{'nominal_power': '20'}, |
| 675 | {'max_power_red': '1', 'nominal_power': '20'}], |
Pau Espin Pedrol | aab5692 | 2018-08-21 14:58:29 +0200 | [diff] [blame] | 676 | 'type': 'osmo-bts-trx'}, |
| 677 | {'_hash': '07d9c8aaa940b674efcbbabdd69f58a6ce4e94f9', |
| 678 | '_reserved_by': 'test_suite-[ID_NUM]-[ID_NUM]', |
| 679 | 'addr': '10.42.42.114', |
| 680 | 'band': 'GSM-1800', |
| 681 | 'ipa_unit_id': '1', |
| 682 | 'label': 'sysmoBTS 1002', |
| 683 | 'type': 'sysmo'}], |
| 684 | 'ip_address': [{'_hash': 'cde1debf28f07f94f92c761b4b7c6bf35785ced4', |
| 685 | '_reserved_by': 'test_suite-[ID_NUM]-[ID_NUM]', |
| 686 | 'addr': '10.42.42.1'}], |
| 687 | 'modem': [{'_hash': '19c69e45aa090fb511446bd00797690aa82ff52f', |
| 688 | '_reserved_by': 'test_suite-[ID_NUM]-[ID_NUM]', |
| 689 | 'imsi': '901700000007801', |
| 690 | 'ki': 'D620F48487B1B782DA55DF6717F08FF9', |
| 691 | 'label': 'm7801', |
| 692 | 'path': '/wavecom_0'}, |
| 693 | {'_hash': 'e1a46516a1fb493b2617ab14fc1693a9a45ec254', |
| 694 | '_reserved_by': 'test_suite-[ID_NUM]-[ID_NUM]', |
| 695 | 'imsi': '901700000007802', |
| 696 | 'ki': '47FDB2D55CE6A10A85ABDAD034A5B7B3', |
| 697 | 'label': 'm7802', |
| 698 | 'path': '/wavecom_1'}]} |
| 699 | |
| 700 | --------------------------------------------------------------------- |
| 701 | trial test_suite |
| 702 | --------------------------------------------------------------------- |
| 703 | |
| 704 | ---------------------------------------------- |
| 705 | trial test_suite hello_world.py |
| 706 | ---------------------------------------------- |
| 707 | tst hello_world.py:[LINENR]: hello world [test_suite↪hello_world.py:[LINENR]] [hello_world.py:[LINENR]] |
| 708 | tst hello_world.py:[LINENR]: I am 'test_suite' / 'hello_world.py:[LINENR]' [test_suite↪hello_world.py:[LINENR]] [hello_world.py:[LINENR]] |
| 709 | tst hello_world.py:[LINENR]: one [test_suite↪hello_world.py:[LINENR]] [hello_world.py:[LINENR]] |
| 710 | tst hello_world.py:[LINENR]: two [test_suite↪hello_world.py:[LINENR]] [hello_world.py:[LINENR]] |
| 711 | tst hello_world.py:[LINENR]: three [test_suite↪hello_world.py:[LINENR]] [hello_world.py:[LINENR]] |
| 712 | tst hello_world.py:[LINENR] Test passed (N.N sec) [test_suite↪hello_world.py] [test.py:[LINENR]] |
| 713 | --------------------------------------------------------------------- |
| 714 | trial test_suite PASS |
| 715 | --------------------------------------------------------------------- |
Pau Espin Pedrol | c3cf682 | 2020-06-12 17:54:55 +0200 | [diff] [blame] | 716 | PASS: test_suite (pass: 1, skip: 7) |
Pau Espin Pedrol | aab5692 | 2018-08-21 14:58:29 +0200 | [diff] [blame] | 717 | pass: hello_world.py (N.N sec) |
| 718 | skip: mo_mt_sms.py |
| 719 | skip: mo_sms.py |
| 720 | skip: test_error.py |
| 721 | skip: test_fail.py |
| 722 | skip: test_fail_raise.py |
Pau Espin Pedrol | 3063730 | 2020-05-06 21:11:02 +0200 | [diff] [blame] | 723 | skip: test_suite_params.py |
Pau Espin Pedrol | c3cf682 | 2020-06-12 17:54:55 +0200 | [diff] [blame] | 724 | skip: test_timeout.py |
Pau Espin Pedrol | 3063730 | 2020-05-06 21:11:02 +0200 | [diff] [blame] | 725 | - test with suite-specific config |
Pau Espin Pedrol | a75f85a | 2020-06-12 17:13:26 +0200 | [diff] [blame] | 726 | tst test_suite: DBG: {combining='config'} [suite.py:[LINENR]] |
Pau Espin Pedrol | c3cf682 | 2020-06-12 17:54:55 +0200 | [diff] [blame] | 727 | tst {combining_scenarios='config'}: DBG: {definition_conf={suite={test_suite={test_timeout={timeout='1'}}}}} [test_suite↪{combining_scenarios='config'}] [suite.py:[LINENR]] |
Pau Espin Pedrol | a75f85a | 2020-06-12 17:13:26 +0200 | [diff] [blame] | 728 | 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]] |
Pau Espin Pedrol | 3063730 | 2020-05-06 21:11:02 +0200 | [diff] [blame] | 729 | tst test_suite: reserving resources in [PATH]/selftest/suite_test/test_work/state_dir ... [suite.py:[LINENR]] |
| 730 | tst test_suite: DBG: {combining='resources'} [suite.py:[LINENR]] |
| 731 | 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]] |
| 732 | tst {combining_scenarios='resources', scenario='foo'}: [RESOURCE_DICT] |
| 733 | tst test_suite: DBG: {combining='modifiers'} [suite.py:[LINENR]] |
| 734 | tst {combining_scenarios='modifiers'}: DBG: {definition_conf={}} [test_suite↪{combining_scenarios='modifiers'}] [suite.py:[LINENR]] |
| 735 | tst {combining_scenarios='modifiers', scenario='foo'}: DBG: {conf={}, scenario='foo'} [test_suite↪{combining_scenarios='modifiers', scenario='foo'}] [suite.py:[LINENR]] |
Pau Espin Pedrol | 600c799 | 2020-11-09 21:17:51 +0100 | [diff] [blame] | 736 | tst test_suite: Verifying 3 x bts (candidates: 6) [resource.py:[LINENR]] |
| 737 | tst test_suite: DBG: Picked - _hash: a59640b8ba6a373552b24a6f9f65cadd2347bace |
| 738 | addr: 10.42.42.53 |
| 739 | band: GSM-1800 |
| 740 | ipa_unit_id: '7' |
| 741 | label: sysmoCell 5000 |
| 742 | osmo_trx: |
| 743 | clock_reference: external |
| 744 | launch_trx: 'False' |
| 745 | trx_ip: 10.42.42.112 |
| 746 | trx_list: |
| 747 | - max_power_red: '3' |
| 748 | nominal_power: '10' |
| 749 | - max_power_red: '0' |
| 750 | nominal_power: '12' |
| 751 | type: osmo-bts-trx |
| 752 | - _hash: c2feabd082c36a1cdeccb9a5237dfff7dbadb009 |
| 753 | addr: 10.42.42.53 |
| 754 | band: GSM-1800 |
| 755 | ipa_unit_id: '7' |
| 756 | label: sysmoCell 5000 |
| 757 | osmo_trx: |
| 758 | clock_reference: external |
| 759 | launch_trx: 'False' |
| 760 | trx_ip: 10.42.42.112 |
| 761 | trx_list: |
| 762 | - nominal_power: '10' |
| 763 | - max_power_red: '1' |
| 764 | nominal_power: '12' |
| 765 | type: osmo-bts-trx |
| 766 | - _hash: 07d9c8aaa940b674efcbbabdd69f58a6ce4e94f9 |
| 767 | addr: 10.42.42.114 |
| 768 | band: GSM-1800 |
| 769 | ipa_unit_id: '1' |
| 770 | label: sysmoBTS 1002 |
| 771 | type: sysmo |
| 772 | [resource.py:[LINENR]] |
| 773 | tst test_suite: Verifying 1 x ip_address (candidates: 3) [resource.py:[LINENR]] |
| 774 | tst test_suite: DBG: Picked - _hash: cde1debf28f07f94f92c761b4b7c6bf35785ced4 |
| 775 | addr: 10.42.42.1 |
| 776 | [resource.py:[LINENR]] |
| 777 | tst test_suite: Verifying 2 x modem (candidates: 16) [resource.py:[LINENR]] |
| 778 | tst test_suite: DBG: Picked - _hash: 19c69e45aa090fb511446bd00797690aa82ff52f |
| 779 | imsi: '901700000007801' |
| 780 | ki: D620F48487B1B782DA55DF6717F08FF9 |
| 781 | label: m7801 |
| 782 | path: /wavecom_0 |
| 783 | - _hash: e1a46516a1fb493b2617ab14fc1693a9a45ec254 |
| 784 | imsi: '901700000007802' |
| 785 | ki: 47FDB2D55CE6A10A85ABDAD034A5B7B3 |
| 786 | label: m7802 |
| 787 | path: /wavecom_1 |
| 788 | [resource.py:[LINENR]] |
| 789 | tst test_suite: DBG: FileWatch: scheduling watch for directory [PATH]/selftest/suite_test/test_work/state_dir [util.py:[LINENR]] |
Pau Espin Pedrol | 3063730 | 2020-05-06 21:11:02 +0200 | [diff] [blame] | 790 | tst test_suite: Reserving 3 x bts (candidates: 6) [resource.py:[LINENR]] |
| 791 | tst test_suite: DBG: Picked - _hash: a59640b8ba6a373552b24a6f9f65cadd2347bace |
| 792 | addr: 10.42.42.53 |
| 793 | band: GSM-1800 |
| 794 | ipa_unit_id: '7' |
| 795 | label: sysmoCell 5000 |
| 796 | osmo_trx: |
| 797 | clock_reference: external |
| 798 | launch_trx: 'False' |
| 799 | trx_ip: 10.42.42.112 |
| 800 | trx_list: |
| 801 | - max_power_red: '3' |
| 802 | nominal_power: '10' |
| 803 | - max_power_red: '0' |
| 804 | nominal_power: '12' |
| 805 | type: osmo-bts-trx |
| 806 | - _hash: c2feabd082c36a1cdeccb9a5237dfff7dbadb009 |
| 807 | addr: 10.42.42.53 |
| 808 | band: GSM-1800 |
| 809 | ipa_unit_id: '7' |
| 810 | label: sysmoCell 5000 |
| 811 | osmo_trx: |
| 812 | clock_reference: external |
| 813 | launch_trx: 'False' |
| 814 | trx_ip: 10.42.42.112 |
| 815 | trx_list: |
| 816 | - nominal_power: '10' |
| 817 | - max_power_red: '1' |
| 818 | nominal_power: '12' |
| 819 | type: osmo-bts-trx |
| 820 | - _hash: 07d9c8aaa940b674efcbbabdd69f58a6ce4e94f9 |
| 821 | addr: 10.42.42.114 |
| 822 | band: GSM-1800 |
| 823 | ipa_unit_id: '1' |
| 824 | label: sysmoBTS 1002 |
| 825 | type: sysmo |
| 826 | [resource.py:[LINENR]] |
| 827 | tst test_suite: Reserving 1 x ip_address (candidates: 3) [resource.py:[LINENR]] |
| 828 | tst test_suite: DBG: Picked - _hash: cde1debf28f07f94f92c761b4b7c6bf35785ced4 |
| 829 | addr: 10.42.42.1 |
| 830 | [resource.py:[LINENR]] |
| 831 | tst test_suite: Reserving 2 x modem (candidates: 16) [resource.py:[LINENR]] |
| 832 | tst test_suite: DBG: Picked - _hash: 19c69e45aa090fb511446bd00797690aa82ff52f |
| 833 | imsi: '901700000007801' |
| 834 | ki: D620F48487B1B782DA55DF6717F08FF9 |
| 835 | label: m7801 |
| 836 | path: /wavecom_0 |
| 837 | - _hash: e1a46516a1fb493b2617ab14fc1693a9a45ec254 |
| 838 | imsi: '901700000007802' |
| 839 | ki: 47FDB2D55CE6A10A85ABDAD034A5B7B3 |
| 840 | label: m7802 |
| 841 | path: /wavecom_1 |
| 842 | [resource.py:[LINENR]] |
Pau Espin Pedrol | 600c799 | 2020-11-09 21:17:51 +0100 | [diff] [blame] | 843 | tst test_suite: DBG: FileWatch: unscheduling watch <ObservedWatch: path=[PATH]/selftest/suite_test/test_work/state_dir, is_recursive=False> [util.py:[LINENR]] |
Pau Espin Pedrol | 3063730 | 2020-05-06 21:11:02 +0200 | [diff] [blame] | 844 | resources(test_suite)={'bts': [{'_hash': 'a59640b8ba6a373552b24a6f9f65cadd2347bace', |
| 845 | '_reserved_by': 'test_suite-[ID_NUM]-[ID_NUM]', |
| 846 | 'addr': '10.42.42.53', |
| 847 | 'band': 'GSM-1800', |
| 848 | 'ipa_unit_id': '7', |
| 849 | 'label': 'sysmoCell 5000', |
| 850 | 'osmo_trx': {'clock_reference': 'external', |
| 851 | 'launch_trx': 'False', |
| 852 | 'trx_ip': '10.42.42.112'}, |
| 853 | 'trx_list': [{'max_power_red': '3', 'nominal_power': '10'}, |
| 854 | {'max_power_red': '0', 'nominal_power': '12'}], |
| 855 | 'type': 'osmo-bts-trx'}, |
| 856 | {'_hash': 'c2feabd082c36a1cdeccb9a5237dfff7dbadb009', |
| 857 | '_reserved_by': 'test_suite-[ID_NUM]-[ID_NUM]', |
| 858 | 'addr': '10.42.42.53', |
| 859 | 'band': 'GSM-1800', |
| 860 | 'ipa_unit_id': '7', |
| 861 | 'label': 'sysmoCell 5000', |
| 862 | 'osmo_trx': {'clock_reference': 'external', |
| 863 | 'launch_trx': 'False', |
| 864 | 'trx_ip': '10.42.42.112'}, |
| 865 | 'trx_list': [{'nominal_power': '10'}, |
| 866 | {'max_power_red': '1', 'nominal_power': '12'}], |
| 867 | 'type': 'osmo-bts-trx'}, |
| 868 | {'_hash': '07d9c8aaa940b674efcbbabdd69f58a6ce4e94f9', |
| 869 | '_reserved_by': 'test_suite-[ID_NUM]-[ID_NUM]', |
| 870 | 'addr': '10.42.42.114', |
| 871 | 'band': 'GSM-1800', |
| 872 | 'ipa_unit_id': '1', |
| 873 | 'label': 'sysmoBTS 1002', |
| 874 | 'type': 'sysmo'}], |
| 875 | 'ip_address': [{'_hash': 'cde1debf28f07f94f92c761b4b7c6bf35785ced4', |
| 876 | '_reserved_by': 'test_suite-[ID_NUM]-[ID_NUM]', |
| 877 | 'addr': '10.42.42.1'}], |
| 878 | 'modem': [{'_hash': '19c69e45aa090fb511446bd00797690aa82ff52f', |
| 879 | '_reserved_by': 'test_suite-[ID_NUM]-[ID_NUM]', |
| 880 | 'imsi': '901700000007801', |
| 881 | 'ki': 'D620F48487B1B782DA55DF6717F08FF9', |
| 882 | 'label': 'm7801', |
| 883 | 'path': '/wavecom_0'}, |
| 884 | {'_hash': 'e1a46516a1fb493b2617ab14fc1693a9a45ec254', |
| 885 | '_reserved_by': 'test_suite-[ID_NUM]-[ID_NUM]', |
| 886 | 'imsi': '901700000007802', |
| 887 | 'ki': '47FDB2D55CE6A10A85ABDAD034A5B7B3', |
| 888 | 'label': 'm7802', |
| 889 | 'path': '/wavecom_1'}]} |
| 890 | |
| 891 | --------------------------------------------------------------------- |
| 892 | trial test_suite |
| 893 | --------------------------------------------------------------------- |
| 894 | |
| 895 | ---------------------------------------------- |
| 896 | trial test_suite test_suite_params.py |
| 897 | ---------------------------------------------- |
| 898 | tst test_suite_params.py:[LINENR]: starting test [test_suite↪test_suite_params.py:[LINENR]] [test_suite_params.py:[LINENR]] |
Pau Espin Pedrol | 3063730 | 2020-05-06 21:11:02 +0200 | [diff] [blame] | 899 | 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]] |
| 900 | 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]] |
Pau Espin Pedrol | c3cf682 | 2020-06-12 17:54:55 +0200 | [diff] [blame] | 901 | tst test_suite_params.py:[LINENR]: 'second_list_parameter': ['23', '45']}, [test_suite↪test_suite_params.py:[LINENR]] [test_suite_params.py:[LINENR]] |
| 902 | tst test_suite_params.py:[LINENR]: 'test_timeout': {'timeout': '1'}} [test_suite↪test_suite_params.py:[LINENR]] [test_suite_params.py:[LINENR]] |
Pau Espin Pedrol | 3063730 | 2020-05-06 21:11:02 +0200 | [diff] [blame] | 903 | 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]] |
| 904 | tst test_suite_params.py:[LINENR] Test passed (N.N sec) [test_suite↪test_suite_params.py] [test.py:[LINENR]] |
Pau Espin Pedrol | c3cf682 | 2020-06-12 17:54:55 +0200 | [diff] [blame] | 905 | |
| 906 | ---------------------------------------------- |
| 907 | trial test_suite test_timeout.py |
| 908 | ---------------------------------------------- |
| 909 | tst test_timeout.py:[LINENR]: starting test and waiting to receive Timeout after 1 seconds [test_suite↪test_timeout.py:[LINENR]] [test_timeout.py:[LINENR]] |
| 910 | tst test_timeout.py:[LINENR]: ERR: Error: test_timeout.py:[LINENR] Test Timeout triggered: 1 seconds elapsed [test_suite↪test_timeout.py:[LINENR]↪test_timeout.py] [test_suite↪test_timeout.py:[LINENR]] [testenv.py:[LINENR]: raise log_module.Error('Test Timeout triggered: %d seconds elapsed' % self._test.elapsed_time())] |
| 911 | tst test_timeout.py:[LINENR]: Test FAILED (N.N sec) [test_suite↪test_timeout.py:[LINENR]] [test.py:[LINENR]] |
Pau Espin Pedrol | 3063730 | 2020-05-06 21:11:02 +0200 | [diff] [blame] | 912 | --------------------------------------------------------------------- |
Pau Espin Pedrol | c3cf682 | 2020-06-12 17:54:55 +0200 | [diff] [blame] | 913 | trial test_suite FAIL |
Pau Espin Pedrol | 3063730 | 2020-05-06 21:11:02 +0200 | [diff] [blame] | 914 | --------------------------------------------------------------------- |
Pau Espin Pedrol | c3cf682 | 2020-06-12 17:54:55 +0200 | [diff] [blame] | 915 | FAIL: test_suite (fail: 1, pass: 1, skip: 6) |
Pau Espin Pedrol | 3063730 | 2020-05-06 21:11:02 +0200 | [diff] [blame] | 916 | skip: hello_world.py |
| 917 | skip: mo_mt_sms.py |
| 918 | skip: mo_sms.py |
| 919 | skip: test_error.py |
| 920 | skip: test_fail.py |
| 921 | skip: test_fail_raise.py |
| 922 | pass: test_suite_params.py (N.N sec) |
Pau Espin Pedrol | c3cf682 | 2020-06-12 17:54:55 +0200 | [diff] [blame] | 923 | FAIL: test_timeout.py (N.N sec) Error: test_timeout.py:[LINENR] Test Timeout triggered: 1 seconds elapsed [test_suite↪test_timeout.py:[LINENR]↪test_timeout.py] |
Pau Espin Pedrol | 166dc10 | 2020-06-04 18:44:42 +0200 | [diff] [blame] | 924 | - test with template overlay |
| 925 | cnf suiteC: DBG: reading suite.conf [suite.py:[LINENR]] |
Pau Espin Pedrol | a75f85a | 2020-06-12 17:13:26 +0200 | [diff] [blame] | 926 | tst suiteC: DBG: {combining='config'} [suite.py:[LINENR]] |
| 927 | tst {combining_scenarios='config'}: DBG: {definition_conf={}} [suiteC↪{combining_scenarios='config'}] [suite.py:[LINENR]] |
Pau Espin Pedrol | 166dc10 | 2020-06-04 18:44:42 +0200 | [diff] [blame] | 928 | |
| 929 | --------------------------------------------------------------------- |
| 930 | trial suiteC |
| 931 | --------------------------------------------------------------------- |
| 932 | tst suiteC: reserving resources in [PATH]/selftest/suite_test/test_work/state_dir ... [suite.py:[LINENR]] |
| 933 | tst suiteC: DBG: {combining='resources'} [suite.py:[LINENR]] |
| 934 | tst {combining_scenarios='resources'}: DBG: {definition_conf={ip_address=[{'addr': '10.42.42.2'}]}} [suiteC↪{combining_scenarios='resources'}] [suite.py:[LINENR]] |
| 935 | tst suiteC: DBG: {combining='modifiers'} [suite.py:[LINENR]] |
| 936 | tst {combining_scenarios='modifiers'}: DBG: {definition_conf={}} [suiteC↪{combining_scenarios='modifiers'}] [suite.py:[LINENR]] |
Pau Espin Pedrol | 600c799 | 2020-11-09 21:17:51 +0100 | [diff] [blame] | 937 | tst suiteC: Verifying 1 x ip_address (candidates: 3) [resource.py:[LINENR]] |
| 938 | tst suiteC: DBG: Picked - _hash: fd103b22c7cf2480d609150e06f4bbd92ac78d8c |
| 939 | addr: 10.42.42.2 |
| 940 | [resource.py:[LINENR]] |
| 941 | tst suiteC: DBG: FileWatch: scheduling watch for directory [PATH]/selftest/suite_test/test_work/state_dir [util.py:[LINENR]] |
Pau Espin Pedrol | 166dc10 | 2020-06-04 18:44:42 +0200 | [diff] [blame] | 942 | tst suiteC: Reserving 1 x ip_address (candidates: 3) [resource.py:[LINENR]] |
| 943 | tst suiteC: DBG: Picked - _hash: fd103b22c7cf2480d609150e06f4bbd92ac78d8c |
| 944 | addr: 10.42.42.2 |
| 945 | [resource.py:[LINENR]] |
Pau Espin Pedrol | 600c799 | 2020-11-09 21:17:51 +0100 | [diff] [blame] | 946 | tst suiteC: DBG: FileWatch: unscheduling watch <ObservedWatch: path=[PATH]/selftest/suite_test/test_work/state_dir, is_recursive=False> [util.py:[LINENR]] |
Pau Espin Pedrol | 166dc10 | 2020-06-04 18:44:42 +0200 | [diff] [blame] | 947 | |
| 948 | ---------------------------------------------- |
| 949 | trial suiteC test_template_overlay.py |
| 950 | ---------------------------------------------- |
| 951 | 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] | 952 | 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] | 953 | 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]] |
| 954 | 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] | 955 | 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] | 956 | --- ReservedResources: DBG: requesting use of ip_address {specifics={}} [resource.py:[LINENR]] |
| 957 | tst suiteC: Using 1 x ip_address (candidates: 1) [resource.py:[LINENR]] |
| 958 | tst suiteC: DBG: Picked - _hash: fd103b22c7cf2480d609150e06f4bbd92ac78d8c |
| 959 | _reserved_by: suiteC-[ID_NUM]-[ID_NUM] |
| 960 | addr: 10.42.42.2 |
| 961 | [resource.py:[LINENR]] |
| 962 | --- ReservedResources: DBG: {available=1} [resource.py:[LINENR]] |
| 963 | --- ReservedResources: DBG: {using={_hash='fd103b22c7cf2480d609150e06f4bbd92ac78d8c', _reserved_by='suiteC-[ID_NUM]-[ID_NUM]', addr='10.42.42.2'}} [resource.py:[LINENR]] |
| 964 | tst test_template_overlay.py:[LINENR]: - Testing: original template [suiteC↪test_template_overlay.py:[LINENR]] [test_template_overlay.py:[LINENR]] |
| 965 | 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]] |
Pau Espin Pedrol | 166dc10 | 2020-06-04 18:44:42 +0200 | [diff] [blame] | 966 | run osmo-stp_10.42.42.2: DBG: STP CONFIG: |
| 967 | {'stp': {'ip_address': {'_hash': 'fd103b22c7cf2480d609150e06f4bbd92ac78d8c', |
| 968 | '_reserved_by': 'suiteC-[ID_NUM]-[ID_NUM]', |
| 969 | '_used': True, |
| 970 | '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]] |
| 971 | cnf Templates: DBG: rendering osmo-stp.cfg.tmpl [suiteC↪test_template_overlay.py:[LINENR]↪test_template_overlay.py↪Templates] [template.py:[LINENR]] |
| 972 | run osmo-stp_10.42.42.2: DBG: ! Configuration rendered by osmo-gsm-tester |
| 973 | log stderr |
| 974 | logging filter all 1 |
| 975 | logging color 1 |
| 976 | logging print category 1 |
| 977 | logging print extended-timestamp 1 |
| 978 | logging level set-all debug |
| 979 | line vty |
| 980 | no login |
| 981 | bind 10.42.42.2 |
| 982 | !ctrl |
| 983 | ! bind 10.42.42.2 |
| 984 | cs7 instance 0 |
| 985 | xua rkm routing-key-allocation dynamic-permitted |
| 986 | listen m3ua 2905 |
| 987 | accept-asp-connections dynamic-permitted |
| 988 | local-ip 10.42.42.2 |
| 989 | [suiteC↪test_template_overlay.py:[LINENR]↪test_template_overlay.py↪osmo-stp_10.42.42.2] [stp_osmo.py:[LINENR]] |
| 990 | tst test_template_overlay.py:[LINENR]: - Testing:overlay template [suiteC↪test_template_overlay.py:[LINENR]] [test_template_overlay.py:[LINENR]] |
| 991 | 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]] |
| 992 | 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]] |
| 993 | run osmo-stp_10.42.42.2: DBG: STP CONFIG: |
| 994 | {'stp': {'ip_address': {'_hash': 'fd103b22c7cf2480d609150e06f4bbd92ac78d8c', |
| 995 | '_reserved_by': 'suiteC-[ID_NUM]-[ID_NUM]', |
| 996 | '_used': True, |
| 997 | '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]] |
| 998 | cnf Templates: DBG: rendering osmo-stp.cfg.tmpl [suiteC↪test_template_overlay.py:[LINENR]↪test_template_overlay.py↪Templates] [template.py:[LINENR]] |
| 999 | run osmo-stp_10.42.42.2: DBG: ! Configuration rendered by osmo-gsm-tester |
| 1000 | log stderr |
| 1001 | logging filter all 1 |
| 1002 | logging color 1 |
| 1003 | logging print category 1 |
| 1004 | logging print extended-timestamp 1 |
| 1005 | logging level set-all debug |
| 1006 | line vty |
| 1007 | no login |
| 1008 | bind 10.42.42.2 |
| 1009 | !ctrl |
| 1010 | ! bind 10.42.42.2 |
| 1011 | cs7 instance 0 |
| 1012 | xua rkm routing-key-allocation dynamic-permitted |
| 1013 | listen m3ua 2905 |
| 1014 | accept-asp-connections dynamic-permitted |
| 1015 | local-ip 10.42.42.2 |
| 1016 | [suiteC↪test_template_overlay.py:[LINENR]↪test_template_overlay.py↪osmo-stp_10.42.42.2] [stp_osmo.py:[LINENR]] |
| 1017 | 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] | 1018 | 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] | 1019 | 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]] |
| 1020 | run osmo-stp_10.42.42.2: DBG: STP CONFIG: |
| 1021 | {'stp': {'ip_address': {'_hash': 'fd103b22c7cf2480d609150e06f4bbd92ac78d8c', |
| 1022 | '_reserved_by': 'suiteC-[ID_NUM]-[ID_NUM]', |
| 1023 | '_used': True, |
| 1024 | '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]] |
| 1025 | cnf Templates: DBG: rendering osmo-stp.cfg.tmpl [suiteC↪test_template_overlay.py:[LINENR]↪test_template_overlay.py↪Templates] [template.py:[LINENR]] |
| 1026 | run osmo-stp_10.42.42.2: DBG: ! Overlay Config file genreated by test |
| 1027 | line vty |
| 1028 | no login |
| 1029 | bind 10.42.42.2 |
| 1030 | [suiteC↪test_template_overlay.py:[LINENR]↪test_template_overlay.py↪osmo-stp_10.42.42.2] [stp_osmo.py:[LINENR]] |
| 1031 | tst test_template_overlay.py:[LINENR] Test passed (N.N sec) [suiteC↪test_template_overlay.py] [test.py:[LINENR]] |
| 1032 | --------------------------------------------------------------------- |
| 1033 | trial suiteC PASS |
| 1034 | --------------------------------------------------------------------- |
| 1035 | PASS: suiteC (pass: 1) |
| 1036 | pass: test_template_overlay.py (N.N sec) |
Neels Hofmeyr | 3531a19 | 2017-03-28 14:30:28 +0200 | [diff] [blame] | 1037 | |
| 1038 | - graceful exit. |