https://projects.osmocom.org/https://projects.osmocom.org/favicon.ico?16647414092017-11-27T15:52:12ZOpen Source Mobile CommunicationsCellular Network Infrastructure - Feature #2684: add gerrit tests to osmo-python-testshttps://projects.osmocom.org/issues/2684?journal_id=63732017-11-27T15:52:12Zneelsnhofmeyr@sysmocom.de
<ul></ul><p>if you have a test in mind and time to work on it, then feel free to add it. However, there is a variety of scripts in there. If we test only one or two scripts in it, and jenkins gives its V+1 to that, that V+1 would not reflect whether everything passes. Having proper coverage is not a small task. But indeed that shouldn't stop us from starting at least some coverage. So far it's still up to us verifying our changes in the field and adding a V+1 vote.</p> Cellular Network Infrastructure - Feature #2684: add gerrit tests to osmo-python-testshttps://projects.osmocom.org/issues/2684?journal_id=63912017-11-28T11:03:31Zmsuraev
<ul></ul><p>Having some coverage is definitely better than nothing. In addition to cross-checking twisted_ipa against osmo_ctrl we can also use pyflakes for basic syntax checks.</p> Cellular Network Infrastructure - Feature #2684: add gerrit tests to osmo-python-testshttps://projects.osmocom.org/issues/2684?journal_id=63942017-11-28T11:31:37Zmsuraev
<ul><li><strong>Related to</strong> <i><a class="issue tracker-2 status-3 priority-4 priority-high2 closed" href="/issues/2550">Feature #2550</a>: example on how to periodically dump KPI/counter to CSV file</i> added</li></ul> Cellular Network Infrastructure - Feature #2684: add gerrit tests to osmo-python-testshttps://projects.osmocom.org/issues/2684?journal_id=67532017-12-11T14:48:56Zmsuraev
<ul></ul><p>The very basic tests would be package build and install:<br />python2: gerrit 5277<br />python3: gerrit 5281</p> Cellular Network Infrastructure - Feature #2684: add gerrit tests to osmo-python-testshttps://projects.osmocom.org/issues/2684?journal_id=67542017-12-11T14:49:13Zmsuraev
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>In Progress</i></li><li><strong>Assignee</strong> set to <i>msuraev</i></li><li><strong>% Done</strong> changed from <i>0</i> to <i>10</i></li></ul> Cellular Network Infrastructure - Feature #2684: add gerrit tests to osmo-python-testshttps://projects.osmocom.org/issues/2684?journal_id=68662017-12-18T13:09:06Zmsuraev
<ul><li><strong>% Done</strong> changed from <i>10</i> to <i>60</i></li></ul><p>The proper fix to ensure tests are failing on syntax errors is available in gerrit 5481.</p> Cellular Network Infrastructure - Feature #2684: add gerrit tests to osmo-python-testshttps://projects.osmocom.org/issues/2684?journal_id=68722017-12-18T13:36:37Zmsuraev
<ul><li><b>Checklist item</b> <input type='checkbox' class='checklist-checkbox' disabled> <i>Expand test_py2</i> added</li><li><b>Checklist item</b> <input type='checkbox' class='checklist-checkbox' disabled> <i>Expand test_py3</i> added</li><li><b>Checklist item</b> <input type='checkbox' class='checklist-checkbox' disabled> <i>Check osmo_* scripts</i> added</li><li><strong>Status</strong> changed from <i>In Progress</i> to <i>Stalled</i></li></ul><p>We now have basic tests which cover osmopy module itself for both python 2 and 3. The tests are rather rudimentary though.<br />The scripts are not tested yet as part of jenkins check.</p> Cellular Network Infrastructure - Feature #2684: add gerrit tests to osmo-python-testshttps://projects.osmocom.org/issues/2684?journal_id=69882018-01-02T17:11:04Zmsuraev
<ul><li><b>Checklist item</b> <input type='checkbox' class='checklist-checkbox' checked disabled> <i>Expand test_py2</i> set to Done</li></ul> Cellular Network Infrastructure - Feature #2684: add gerrit tests to osmo-python-testshttps://projects.osmocom.org/issues/2684?journal_id=70502018-01-04T16:30:36Zmsuraev
<ul></ul><p>Py3 test for osmopy module and osmo_ctrl.py script available in gerrit 5028.</p> Cellular Network Infrastructure - Feature #2684: add gerrit tests to osmo-python-testshttps://projects.osmocom.org/issues/2684?journal_id=71612018-01-16T18:25:06Zmsuraev
<ul><li><b>Checklist item</b> <input type='checkbox' class='checklist-checkbox' checked disabled> <i>Expand test_py3</i> set to Done</li><li><b>Checklist item</b> <input type='checkbox' class='checklist-checkbox' checked disabled> <i>Check osmo_* scripts</i> set to Done</li></ul> Cellular Network Infrastructure - Feature #2684: add gerrit tests to osmo-python-testshttps://projects.osmocom.org/issues/2684?journal_id=71622018-01-16T18:25:42Zmsuraev
<ul><li><strong>Status</strong> changed from <i>Stalled</i> to <i>Resolved</i></li><li><strong>% Done</strong> changed from <i>60</i> to <i>100</i></li></ul><p>Tests were merged and now used for every commit in jenkins.</p>