Skip to content

Changes

Summary

  1. contrib: build amarisoft: Set trx_zmq.so RPATH to point to copied dependency libsrslte_rf.so (details)
  2. pcu: Improve logging and gsmtap (details)
  3. templates: Improve cs7 config in osmo-{bsc,msc} (details)
  4. amarisoftUE: adding basic support for Amarisoft UE (details)
  5. amarisoftue.cfg.tmpl: fix UE bandwidth/rate config and power on automatically (details)
  6. enb: add measurement modifier to scenario files (details)
  7. pcu: Enable 'egprs only' vty option if egprs requested (details)
  8. Move suites/ dir inside example/ (details)
  9. amarisoft_ue: fix UHD support (details)
  10. srs/amarisoft{ue,enb}: Fix b200 specific rf_dev_args (details)
  11. utils/bin: Support passing several bin files to setcap helper scripts (details)
  12. amarisoft_ue: Implement data plane (details)
  13. pcu_{sysmo,oc2g}: Inherit from pcu abstract class (details)
  14. bts_oc2g: Fix missing import remote (details)
  15. bts_oc2g: Fix ready_for_pcu() waiting forever (details)
  16. Get rid of install top directory (details)
  17. Move example/ and ttcn3/ to sysmocom/ and sysmocom/ttcn3 (details)
  18. Introduce doc/examples/ directory (details)
  19. Rename object classes to be {obj_class}_{implementation} (details)
  20. Create core directory to contain most of code not in object classes used by tests (details)
  21. Move object classes used by tests into obj/ subdir (details)
  22. Rename modem.py to ms_ofono.py (details)
  23. iperf3: Avoid using --logfile arg (details)
  24. enb_amarisoft: fix enb conf template name (details)
  25. enb_srs.py: Pass filenames to main cfg file template instead of cmdline args (details)
  26. epc_srs.py: Pass filenames to main cfg file template instead of cmdline args (details)
  27. ms_srs.py: Pass filenames to main cfg file template instead of cmdline args (details)
  28. enb: add optional gtp_bind_addr paramter to enb class (details)
  29. powersupply: Import sublcass module only if used (details)
  30. check_dependencies: Import modules dynamically and find related debian packages (details)
  31. enb: Add cell_list attribute (details)
  32. powersupply.py: Fix import module line typo (details)
  33. srsenb_rr.conf.tmpl: Fix whitespace (details)
  34. enb: Implement initial RF emulation API (details)
  35. enb: Add attribute to set 'id' (details)
  36. srsue, amarisoft/srsENB: Support setting rx/tx_gain attributes (details)
  37. AmarisoftUE: Fix setting tx/rx gain attr (details)
  38. AmarisoftENB: Support setting PCI value (details)
  39. enb: Introduce support for neighbour cell list (details)
  40. srsenb: Support neighbour and secondary cell lists in config file (details)
  41. amarisoftENB: Fix running with num_cells=2 (details)
  42. jenkins-build-amarisoft: turn off other RF libs when building for zmq driver (details)
  43. jenkins-build-common.sh: also pass additional build flags to CMake (details)
  44. amarisoft_enb: use two antenna ports for TM > 1 (details)
  45. enb: refactored rf_args handling for ZMQ-based radio (details)
  46. ms_srs: fix ZMQ radio arguments for CA and MIMO configs (details)
  47. srsenb_rr.conf.tmpl: extend CQI and SR subframe scheduling (details)
  48. Generate schemas dynamically from pieces provided by each object class (details)
  49. Move object subclass instance allocation logic out of suite.py/resource.py (details)
  50. Move resource.py to core/ (details)
  51. Move test.py and report.py to core/ (details)
  52. Move all obj/ references in suite.py to testenv.py (details)
  53. Move trial.py and suite.py to core/ (details)
  54. Update obj classes in obj/ to use testenv instead of suite_run (details)
  55. tests: Replace 'suite' with 'tenv' (details)
  56. testenv: deferr importing obj module class until use is required (details)
  57. check_dependencies: allow passing any module name to skip (details)
  58. ms_srs: import numpy module on first use (details)
  59. esme: import smpplib module on first use (details)
  60. ms_ofono: import pydbus and GLib modules on first use (details)
  61. powersupply_sispm: import sispm and usb modules on first use (details)
  62. rfemu_amarisoftctrl: import websocket module on first use (details)
  63. doc: Drop redundant app-name in install section (details)
  64. doc: install.adoc: Correctly split optional dependencies (details)
  65. Rework README file (details)
  66. osmo-gsm-tester.py: Fix import error when using default-suites.conf (details)
  67. suites/4g: Introduce sample handover test (details)
  68. selftest/trial_test: Fix repr(RuntimeError) changing in new python version (details)
  69. selftest/process_test: Fix output changing in new python version (details)
  70. selftest: Remove unused misc.py file (details)
  71. selftest: Move tests into own subdirectories (details)
  72. schema: Allow keys to start with a number (details)
  73. enb: add rf_port to cell list param (details)
  74. srs_{enb,ue}: don't set sc12 as OTW format (details)
  75. Makefile: Add manual target to build user manual (details)
  76. Makefile: Implement clean target (details)
  77. Allow suites to dynamically register schemas so tests can receive parameters (details)
  78. suites: 4g: Parametrize handover.py test (details)
  79. ms_driver: Fix typos after recent refactorings (details)
  80. Deprecate envvar OSMO_GSM_TESTER_CONF and remove other ones (details)
  81. osmo-gsm-tester.py: Update help description and remove old nope cmdline arg (details)
  82. obj: Fix objects placing their content in suite rundir instead of test rundir (details)
  83. suites/gprs: Catch unexpected iperf3 result content and print it (details)
  84. ms_srs: fix numpy import (details)
  85. esme: fix smpplib imports (details)
  86. Split Scenario class to its own file (details)
  87. selftest: Introduce scenario_test (details)
  88. Cmdline arg -c sets main configuration file (old paths.conf) instead of dir containing it (details)
  89. doc/manuals: Swap order of schemas and config files (details)
  90. Move check_dependencies.py to contrib/ (details)
  91. Move update_version.sh to contrib/ (details)
  92. config: Allow setting trial directory in main.conf (details)
  93. ms_srs.py: Fix typos in comments (details)
  94. schema: Allow objects registering their own schema types (details)
  95. iperf3: Support using configuring UDP protocol (details)
  96. config: suites_dir and scenarios_dir are now a list of paths (details)
  97. iperf3: Support runing test with bidirectional data (details)
  98. 4g: Pass max bitrate to iperf3 (details)
  99. Replace RemoteProcessFixIgnoreSIGHUP with RemoteProcessSafeExit (details)
  100. enb_srs: Use RemoteProcessSafeExit instead of RemoteProcess (details)
  101. process: Log stdout tail when process exits with error (details)
  102. ms_srs: add max rolling average as metric operation (details)
  103. ms_srs: allow + operator when specifying CSV columns (details)
  104. enb: fix UL max rate calculation (details)
  105. ms_srs: wait 6s after stopping srsUE (details)
  106. Fix processes run with RemoteProcessSafeExit not receiving stdin (details)
  107. Support identifying different tgz files based on run_label attribute (details)
  108. epc_{amarisoft,srs}: Support selecting tgz based on run_node's run label (details)
  109. enb: Reuse run_node to hold run info (details)
  110. ms_{srs,amarisoft}: Reuse run_node to hold run info (details)
  111. enb_{srs,amarisoft}: Support selecting tgz based on run_node's run label (details)
  112. ms_{srs,amarisoft}: Support selecting tgz based on run_node's run label (details)
  113. enb: remove freq config for zmq operation (details)
  114. ms_srs: sum bitrates for all component carrier (details)
  115. process: Fix wrong use of log.ctx(self) (details)
  116. log: Improve log ctx information in log.Error exception (details)
  117. process: Improve launch_sync() exception due to process failing (details)
  118. testenv: Get rid of 'resources' global variable (details)
  119. selftest: template: Test existing overlay dir features (details)
  120. testenv: Support test overlaying a directory to look for templates (details)
  121. doc: manual: Write initial Test API section (details)
  122. report: Add trial name to junit 'testsuites' node (details)
  123. report: Add trial commit info to junit file (details)
  124. Fix ttcn3 testsuites after recent refactors (details)
  125. sysmocom/ttcn3/jenkins-run.sh: Pass confg file as cmdline (details)
  126. amarisoft_enb: fix RI config (details)
  127. enb: refactor ue_max_rate() and move helper function back to sub classes (details)
  128. epc: add run function to EPC (details)
  129. ms_srs: add PRACH, reestablishment and paging counter (details)
  130. srsenb_sib.conf_tmpl: fix whitespaces (details)
  131. srsenb_sib.conf.tmpl: increase default T311 value to 10s (details)
  132. srsenb.conf.tmpl: reduce RRC inactivity timer to 5s (details)
  133. ms_srs: refactor UE state getter functions (details)
  134. 4g_suite: add MT and MO test cases (details)
  135. handover.py: fix typo in test (details)
  136. enb_srs: add extra head room for max rate with 6 PRB in MIMO mode (details)
  137. enb_amarisoft: decrease max rate for TM2+ (details)
  138. enb,ms: refactor base_rate selection for ZMQ (details)
  139. doc/manual: Fix links to nonexistent sections (details)
  140. tests: Replace is_connected() with is_registered() (details)
  141. EventLoop: Fix log error "Origin parent loop" during wait() (details)
  142. ttcn3: Don't overwrite output junit file on multiple testsuites (details)
  143. log: Fix OriginLoopError generated in log.Error from testenv.poll() (details)
  144. amarisoft_enb: Properly set S1AP SCTP bind ip addr (details)
  145. testenv: Add debug log when overlaying templates dir (details)
  146. suites/4g: Wait for IP addr received before trying to use the link (details)
  147. test: Store brief log per test and use as default report_stdout (details)
  148. srsenb_sib.conf.tmpl: add default SIB3 (details)
  149. iperf3: Fix iperf3cli.launch_sync() when configured to run more than 300 sec (details)
  150. Remove all references to defaults: timeout: from suite.conf (details)
  151. test: Move duration time calculation to helper function (details)
  152. Refactor test specific config parsing & generation (details)
  153. Implement per-test timeout guard (details)
  154. testenv: Prepend underscor to internal method (details)
  155. config: Allow empty config files (details)
  156. epc: refactor run_wait() method and rename to prepare_proc() (details)
  157. enb_amarisoft: fix typo (details)
  158. rfemu: add max attenuation getter (details)
  159. iperf3: increase extra timeout to 30s (details)
  160. amarisoft_drb.cfg.tmpl: adjust default values for QCI 1 and 2 (details)
  161. srs: Convert additional_args attr to list to allow combining different params (details)
  162. selftest: Add test to verify junit xml report (details)
  163. Add per-test KPI support (details)
  164. ms_srs: fix additional_args init (details)
  165. iperf3: Refactor iperf3cli popen arg list generation (details)
  166. iperf3: Add support for setting TOS (details)
  167. doc/manuals: Fix callout definition in code block (details)
  168. amarisoft_enb.cfg.tmpl: expose log options (details)
  169. ms_osmo_mobile.py: Fix missing sublcass implementation of abstract MS methods (details)
  170. iperf3: add getter to read the actual run time of an iperf client run (details)
  171. enb: add getter for number of cells of an eNB (details)
  172. iperf3: add getter to retrieve received bitrate (details)
  173. ltemme: add two on-demand dedicated bearer for TOS 0xb8 and 0x60 (details)
  174. ms_srs: fix scp-back-metrics routine (details)
  175. {enb,epc,ms}_srs: expose log.all_level parameter (details)
  176. Drop using patchelf out of PATH (details)
  177. process: provide API to return filename for process output (details)
  178. {ms,enb}_srs: add method to read kpi from a test run (details)
  179. amarisoft_enb: update lteenb default parameter for PDCCH, SRS and CQI (details)
  180. test: append KPI rather than overwrite in set_kpi() method (details)
  181. srsue.conf.tmpl: add default EARFCNs for 4xCA config (details)
  182. enb_srs: remove comment introduced through copy+paste (details)
  183. ms_srs: add min_rolling_average calculation (details)
  184. enb_amarisoft: register log options as config scheme (details)
  185. Introduce stress tool object (details)
  186. enb_amarisoft: add option to enable and configure DL AWGN channel (details)
  187. rfemu_minicircuits: reset attenuation to zero in dtor (details)
  188. srsue.conf.tmpl: use UE cat 8 whenever more than one carrier is configured (details)
  189. enb_amarisoft: add support for PHY signal log file (details)
  190. jenkins-build-srslte.sh: pass extra configuration_opts to build_repo (details)
  191. srsepc.conf.tmpl: zero-pad mnc and mcc in config (details)
  192. contrib/jenkins-build-amarisoft.sh: Pass srsLTE.git branch explicitly (details)
  193. contrib/jenkins-build-amarisoft.sh: Allow generating trial without lteue (details)
  194. amarisoft_ltemme_ifup.sh: use ip cmd instead of ifconfig (details)
  195. 4G: Add milenage support (details)
  196. iperf3: Avoid creating empty log file (details)
  197. iperf3: server: Avoid copying logfile during cleanup if already copied previously (details)
  198. amarisoft_{mme,enb}: make sure mcc/mnc are zero padded (details)
  199. iperf3: increase additional wait time for iperf client (details)
  200. amarisoft_drb: adapt QCI 8 config for ZMQ operation (details)
  201. amarisoft_enb.cfg.tmpl: enable eNB PCAP if configured (details)
  202. srsenb_drb.conf.tmpl: add QCI8 config (details)
  203. suite: fix runtime error when suite.duration is None (details)
  204. ttcn3/lib/testlib.py: make list of kwargs git friendly (details)
  205. ttcn3/lib/testlib.py: implement the concept of test case groups (details)
  206. ttcn3/suites/bts: also enable both BTS_Tests_{SMSCB,LAPDm} (details)
  207. ttcn3/suites/scripts: collect core dumps: add '--ulimit core=-1' (details)
  208. ttcn3/lib/testlib.py: increase test suite execution timeout (details)
  209. srs{ue,enb}.conf.tmpl: remove restriction of PHY threads for ZMQ (details)
  210. enb_srs: add sleep after stopping srsENB to allow log flush (details)
  211. rfemu_amarisoft: handle exception and log event if WS is closed (details)
  212. srsenb_rr.conf.tmpl: reduce PUCCH PRBs for SR and CQI to 1 (details)
  213. enb: expose RRC inactivity timer (details)
  214. ms_srs: trim leading zeros in UE metrics when calculating min_rolling_avg (details)
  215. 4g: consider number of component carriers for max rate calculation (details)
  216. bts-trx: Disable power-ramp (details)
  217. osmo-trx: Set more restrictive logging levels to avoid sporadic high load on stderr (details)
  218. testenv: Fix missing import module util (details)
  219. contrib: osmo-trx: Drop explicit --without-sse (details)
  220. enb: incorporate number of carriers into ue_max_rate() API (details)
  221. enb_srs: expose DL AWGN channel modifier for srsENB (details)
  222. enb_amarisoft: temporary reduce max UL rate on 2nd CC (details)
  223. srsenb_rr.conf.example: comment CQI and SR specific subframes (details)
  224. reduce max expected UL rate for 4xCA 100 PRB (details)
  225. {enb,epc,ms}_srs: refactor start/stop and KPI helpers (details)
  226. srsenb_rr.conf.tmpl: set TAC for cells to 0x0007 (details)
  227. ms_srs: fix ZMQ config for 4xCA (details)
  228. amarisoft_sib23.asn.tmpl: set p-b value in SIB23 depending on TM (details)
  229. amarisoft_enb.cfg.tmpl: use default tac 0007 (details)
  230. lte: update UHD device args for MIMO usage (details)
  231. amarisoft_enb.cfg.tmpl: increas threshold for failed UL retransmissions (details)
  232. enb_amarisoft: reduce max achievable UL rate for 100 PRB (details)
  233. amarisoft_enb.cfg.tmpl: seperate PRACH root sequences for cells (details)
  234. srslte_common: add get_num_phy_errors() method (details)
  235. srslte_common: fix indent in whole file (details)
  236. ms_srs: add freq_offset as resource param (details)
  237. jenkins-build-amarisoft: fix build script for ZMQ module (details)
  238. enb_amarisoft: add rf_dev_sync option to specify the sync type (details)
  239. srs{enb,ue}: add rf_dev_sync option to config templates (details)
  240. Introduce RFemu stdin implementation for srsENB (details)
  241. srsenb: Fix ECI in handover cell list (details)
  242. srsenb: Activate handover in config file (details)
  243. {enb,epc,ms}_srs: remove uneeded class variable (details)
  244. rfemu_srsenb_stdin: use negative dB value to set attenuation (details)
  245. templates/osmo-bts-trx: Increase osmo-trx rx-gain (details)
  246. scenarios: Introduce mod-enb-cells-2ca.conf (details)
Commit 3f2a5e5b4171c0fd6ad9712cfe616848ca80ec46 by Pau Espin Pedrol
contrib: build amarisoft: Set trx_zmq.so RPATH to point to copied dependency libsrslte_rf.so

In the ENB case it's not really required since osmo-gsm-tester makes use
of LD_LIBRARY_PATH. However, since the UE is potentially run with
capabilitites to create tunnels and alike, LD_LIBRARY_PATH cannot be
used and lteue will fail to load trx_zmq.so (because it cannot find its
dependency libsrslte_rf.so).

Change-Id: Ifcbc6ed1c4c465b4cfab4c5689cde44624095f29
The file was modified contrib/jenkins-build-amarisoft.sh
Commit ba213a3067f91f013f70bd5abc95481767ede800 by Pau Espin Pedrol
pcu: Improve logging and gsmtap

Change-Id: I506a39b114eed55a185d329cea5e9d6ba379a2ae
The file was modified src/osmo_gsm_tester/templates/osmo-bts-trx.cfg.tmpl
The file was modified src/osmo_gsm_tester/pcu_osmo.py
The file was modified src/osmo_gsm_tester/pcu_oc2g.py
The file was modified src/osmo_gsm_tester/templates/osmo-pcu.cfg.tmpl
The file was modified src/osmo_gsm_tester/templates/osmo-bts-virtual.cfg.tmpl
The file was modified src/osmo_gsm_tester/templates/osmo-pcu-sysmo.cfg.tmpl
The file was modified src/osmo_gsm_tester/pcu_sysmo.py
The file was modified src/osmo_gsm_tester/templates/osmo-bts-octphy.cfg.tmpl
The file was modified src/osmo_gsm_tester/templates/osmo-pcu-oc2g.cfg.tmpl
The file was modified src/osmo_gsm_tester/templates/osmo-bts-sysmo.cfg.tmpl
The file was modified src/osmo_gsm_tester/templates/osmo-bts-oc2g.cfg.tmpl
Commit 3edc29cab13837c88b323d0dbb21a69bccd1bdf4 by Pau Espin Pedrol
templates: Improve cs7 config in osmo-{bsc,msc}

Change-Id: I0aa0057c85e606d45e67d01b818db7549033bdbd
The file was modified src/osmo_gsm_tester/templates/osmo-sgsn.cfg.tmpl
The file was modified src/osmo_gsm_tester/templates/osmo-msc.cfg.tmpl
The file was modified src/osmo_gsm_tester/templates/osmo-bsc.cfg.tmpl
Commit 65beb8f324e2ee79911226e600ca1bcbd6c19dbf by Pau Espin Pedrol
amarisoftUE: adding basic support for Amarisoft UE

Change-Id: Idda0d3a040663969dd71781814198b47fff7daf3
The file was addedsrc/osmo_gsm_tester/templates/amarisoft_lteue.cfg.tmpl
The file was modified src/osmo_gsm_tester/templates/amarisoft_rf_driver.cfg.tmpl
The file was modified src/osmo_gsm_tester/resource.py
The file was addedexample/scenarios/amarisoftue-rftype@.conf
The file was modified src/osmo_gsm_tester/amarisoft_enb.py
The file was addedsrc/osmo_gsm_tester/amarisoft_ue.py
Commit 9a5be2c8fd749ae1a2ab2b949f6c8a1753d9e4b3 by Pau Espin Pedrol
amarisoftue.cfg.tmpl: fix UE bandwidth/rate config and power on automatically

Change-Id: I2d63055d0648a1758905fd277c20edaeec8f9b85
The file was modified src/osmo_gsm_tester/templates/amarisoft_rf_driver.cfg.tmpl
The file was modified src/osmo_gsm_tester/templates/amarisoft_lteue.cfg.tmpl
Commit a7f19836584897246fe4fe8086aabc95cdcaeafe by andre
enb: add measurement modifier to scenario files

this commit adds basic support for configuring measurements in the
eNB config. It currently support A1, A2, and A3 events.
By default UE measurements are turned off and need to be enabled by
configuring an event with:

+mod-enb-meas-event@{name},{report_type},{value},{hysterisis},{time to trigger}

For example one can update the a2 and a3 event with:

+mod-enb-meas-event@a2,rsrq,-40,2,480+mod-enb-meas-event@a3,rsrp,6,1,512

Change-Id: Ia7657be2396886840570bc41645450a268b4cfff
The file was modified example/defaults.conf
The file was modified src/osmo_gsm_tester/templates/amarisoft_enb.cfg.tmpl
The file was modified src/osmo_gsm_tester/resource.py
The file was addedexample/scenarios/mod-enb-meas-event@.conf
The file was modified src/osmo_gsm_tester/amarisoft_enb.py
Commit 29b7132eb8fca86ef4701275f3f7e28934732b46 by Pau Espin Pedrol
pcu: Enable 'egprs only' vty option if egprs requested

Change-Id: Idd0b5bf8769d693480268c0a0b89dbfd63779e48
The file was modified src/osmo_gsm_tester/bts_osmotrx.py
The file was modified src/osmo_gsm_tester/templates/osmo-pcu.cfg.tmpl
The file was modified src/osmo_gsm_tester/pcu_osmo.py
The file was modified src/osmo_gsm_tester/pcu_oc2g.py
The file was modified src/osmo_gsm_tester/pcu_sysmo.py
The file was modified src/osmo_gsm_tester/bts.py
The file was modified src/osmo_gsm_tester/pcu.py
The file was modified src/osmo_gsm_tester/templates/osmo-pcu-oc2g.cfg.tmpl
The file was modified src/osmo_gsm_tester/templates/osmo-pcu-sysmo.cfg.tmpl
Commit 69488f6d8ae8e7a82c4b136bd0408c6c7d59378b by Pau Espin Pedrol
Move suites/ dir inside example/

example/paths.conf and documentation are updated accordingly.

Test suites should have been moved a long time ago, since the they are
user or setup-specific based on what needs to be tested.

Change-Id: I154b19979b545deba8b232b60172903f63fd9e28
The file was removedsuites/nitb_smpp/esme_ms_sms_storeforward.py
The file was removedsuites/encryption/register_a5_1_authreq.py
The file was removedsuites/nitb_sms/mo_mt_sms.py
The file was removedsuites/nitb_debug/suite.conf
The file was addedexample/suites/gprs/cs_paging_gprs_active.py
The file was addedexample/suites/nitb_smpp/esme_ms_sms_storeforward.py
The file was addedexample/suites/smpp/esme_connect_policy_closed.py
The file was removedsuites/nitb_smpp/esme_connect_policy_closed.py
The file was removedsuites/nitb_netreg/register.py
The file was addedexample/suites/ussd/assert_extension.py
The file was modified doc/manuals/chapters/config.adoc
The file was addedexample/suites/debug/suite.conf
The file was removedsuites/dynts/suite.conf
The file was removedsuites/nitb_netreg/suite.conf
The file was removedsuites/gprs/cs_paging_gprs_active.py
The file was addedexample/suites/nitb_netreg/register_default.py
The file was addedexample/suites/4g/ping.py
The file was removedsuites/4g/suite.conf
The file was removedsuites/nitb_debug/fail_raise.py
The file was removedsuites/gprs/iperf3m4.py
The file was removedsuites/gprs/suite.conf
The file was removedsuites/smpp/esme_connect_policy_acceptall.py
The file was removedsuites/smpp/esme_connect_policy_closed.py
The file was removedsuites/4g/ping.py
The file was addedexample/suites/gprs/ping_idle_ping.py
The file was addedexample/suites/nitb_debug/fail_raise.py
The file was addedexample/suites/voice/lib/testlib.py
The file was removedsuites/gprs/ping_idle_ping.py
The file was addedexample/suites/smpp/esme_ms_sms_transaction.py
The file was addedexample/suites/encryption/suite.conf
The file was removedsuites/nitb_netreg/register_default.py
The file was addedexample/suites/nitb_smpp/esme_ms_sms_transaction.py
The file was addedexample/suites/smpp/esme_connect_policy_acceptall.py
The file was removedsuites/smpp/esme_ms_sms_storeforward.py
The file was removedsuites/nitb_ussd/assert_extension.py
The file was removedsuites/nitb_sms/suite.conf
The file was addedexample/suites/nitb_netreg/suite.conf
The file was removedsuites/nitb_smpp/esme_connect_policy_acceptall.py
The file was addedexample/suites/nitb_smpp/esme_connect_policy_closed.py
The file was addedexample/suites/nitb_sms/suite.conf
The file was addedexample/suites/nitb_debug/pass.py
The file was addedexample/suites/dynts/suite.conf
The file was addedexample/suites/4g/iperf3_ul.py
The file was addedexample/suites/gprs/lib/testlib.py
The file was addedexample/suites/nitb_smpp/suite.conf
The file was removedsuites/smpp/suite.conf
The file was removedsuites/encryption/register_a5_0_authopt.py
The file was addedexample/suites/encryption/lib/testlib.py
The file was addedexample/suites/encryption/register_a5_0_authopt.py
The file was addedexample/suites/voice/mo_mt_call_osmux.py
The file was addedexample/suites/nitb_ussd/assert_extension.py
The file was addedexample/suites/voice/suite.conf
The file was removedsuites/ussd/assert_extension.py
The file was addedexample/suites/4g/suite.conf
The file was addedexample/suites/nitb_debug/fail.py
The file was removedsuites/encryption/suite.conf
The file was addedexample/suites/smpp/esme_ms_sms_storeforward.py
The file was addedexample/suites/encryption/register_a5_0_authreq.py
The file was addedexample/suites/nitb_netreg/register.py
The file was removedsuites/sms/mo_mt_sms.py
The file was removedsuites/voice/suite.conf
The file was addedexample/suites/sms/suite.conf
The file was removedsuites/voice/mo_mt_call_osmux.py
The file was addedexample/suites/gprs/iperf3m4.py
The file was modified example/paths.conf
The file was removedsuites/nitb_debug/pass.py
The file was addedexample/suites/nitb_debug/error.py
The file was addedexample/suites/gprs/ping.py
The file was removedsuites/gprs/ping.py
The file was addedexample/suites/smpp/suite.conf
The file was removedsuites/encryption/register_a5_3_authreq.py
The file was removedsuites/nitb_debug/error.py
The file was addedexample/suites/gprs/suite.conf
The file was removedsuites/encryption/register_a5_0_authreq.py
The file was modified doc/manuals/chapters/install.adoc
The file was removedsuites/voice/lib/testlib.py
The file was removedsuites/dynts/switch_tch_pdch.py
The file was removedsuites/sms/suite.conf
The file was removedsuites/4g/iperf3_dl.py
The file was addedexample/suites/debug/interactive.py
The file was removedsuites/encryption/lib/testlib.py
The file was addedexample/suites/4g/iperf3_dl.py
The file was removedsuites/voice/mo_mt_call.py
The file was removedsuites/nitb_netreg_mass/suite.conf
The file was removedsuites/gprs/lib/testlib.py
The file was addedexample/suites/nitb_debug/interactive.py
The file was removedsuites/smpp/esme_ms_sms_transaction.py
The file was removedsuites/nitb_debug/fail.py
The file was removedsuites/gprs/iperf3.py
The file was removedsuites/nitb_smpp/suite.conf
The file was addedexample/suites/nitb_ussd/suite.conf
The file was addedexample/suites/ussd/suite.conf
The file was addedexample/suites/voice/mo_mt_call.py
The file was removedsuites/nitb_debug/interactive.py
The file was removedsuites/nitb_netreg_mass/register_default_mass.py
The file was addedexample/suites/nitb_netreg_mass/suite.conf
The file was addedexample/suites/nitb_netreg_mass/register_default_mass.py
The file was removedsuites/debug/suite.conf
The file was addedexample/suites/gprs/iperf3.py
The file was addedexample/suites/nitb_sms/mo_mt_sms.py
The file was addedexample/suites/nitb_debug/suite.conf
The file was removedsuites/nitb_ussd/suite.conf
The file was removedsuites/4g/iperf3_ul.py
The file was addedexample/suites/dynts/switch_tch_pdch.py
The file was addedexample/suites/encryption/register_a5_3_authreq.py
The file was removedsuites/debug/interactive.py
The file was addedexample/suites/encryption/register_a5_1_authreq.py
The file was removedsuites/nitb_smpp/esme_ms_sms_transaction.py
The file was addedexample/suites/nitb_smpp/esme_connect_policy_acceptall.py
The file was addedexample/suites/sms/mo_mt_sms.py
The file was removedsuites/ussd/suite.conf
Commit d97ab42462f169bbaa376cb27565e22c3cce2c6d by andre
amarisoft_ue: fix UHD support

the Amarisoft UE seems to be only working with UHD when the bandwidth
param is provided. It seems the set_bandwidth() API is used.

Change-Id: I3f20a5a8ca80c63374f0ad500fd2794e2dc45479
The file was modified src/osmo_gsm_tester/amarisoft_ue.py
The file was modified src/osmo_gsm_tester/templates/amarisoft_lteue.cfg.tmpl
Commit 6b8f5ae3d220c49f09ed8c2d19c9069ef9f2b54e by Pau Espin Pedrol
srs/amarisoft{ue,enb}: Fix b200 specific rf_dev_args

Commit 12ae6d79a5b53a213f619999ef0230c1dae88bb7 switched the rf_dev_type
to be in lowercase but forgot to change these conditions.

Change-Id: I91d3877381b4e6343dc4aa0465e699341ed6648d
The file was modified src/osmo_gsm_tester/srs_enb.py
The file was modified doc/manuals/chapters/config_mangling.adoc
The file was modified src/osmo_gsm_tester/srs_ue.py
The file was modified doc/manuals/chapters/config.adoc
The file was modified src/osmo_gsm_tester/amarisoft_enb.py
Commit 80855498f1c565795592e25b515d765d063d4f45 by Pau Espin Pedrol
utils/bin: Support passing several bin files to setcap helper scripts

Change-Id: Ifa43f895ae0796d086f35778263aaba07f2e1b7a
The file was modified utils/bin/osmo-gsm-tester_setcap_netsys_admin.sh
The file was modified utils/bin/osmo-gsm-tester_setcap_net_raw.sh
The file was modified utils/bin/osmo-gsm-tester_setcap_net_admin.sh
Commit 23e60e5b3708571256a9eba8c3f78e3a1a85c3a0 by Pau Espin Pedrol
amarisoft_ue: Implement data plane

Use the ifup script to set up the netns + configure the tun device
created by lteue. Use it also as a hook to know when the UE is attached.
Since tun setup is done by arch-optimized lte-avx(2) binaries, we also
need to give capabilitites to them (instead of allowing inheritance of
caps in general in the setcap script).

Change-Id: I1e228b1296eac8e4cb183c2faa735b0468abe124
The file was modified src/osmo_gsm_tester/templates/amarisoft_lteue.cfg.tmpl
The file was modified src/osmo_gsm_tester/amarisoft_ue.py
The file was modified utils/bin/osmo-gsm-tester_netns_setup.sh
Commit ce82b038c7f5fb3d94281e4ebef14d9ff79a2f66 by Pau Espin Pedrol
pcu_{sysmo,oc2g}: Inherit from pcu abstract class

For some reason these classes were still not inheriting from the base
class (probably because it was added after they existed) and they
started failing after recent changes which presumed they where already
inheriting.

Change-Id: I88217baf490ec45373d0743585377ed2639a8cfd
The file was modified src/osmo_gsm_tester/pcu_oc2g.py
The file was modified src/osmo_gsm_tester/pcu_sysmo.py
Commit 19155245a4819e0e666c8e4938a43bfc5fd0969e by Pau Espin Pedrol
bts_oc2g: Fix missing import remote

Change-Id: I318683b8dc6215f5bf863cfb1581e2c3bfa05621
The file was modified src/osmo_gsm_tester/bts_oc2g.py
Commit bd552f9786272d44163d53b8cfa31355de15db2f by Pau Espin Pedrol
bts_oc2g: Fix ready_for_pcu() waiting forever

Change-Id: Id33e527591164b87d1e14b7922247b726267ad6e
The file was modified src/osmo_gsm_tester/bts_oc2g.py
Commit 69a6f668b9cad6a2a9a7f580f577d84a9f18b708 by Pau Espin Pedrol
Get rid of install top directory

Some content there is out of date, or should be mvoed to utils/ with the
rest of installable stuff.

Change-Id: I17ee94b175deb88faff71e7788c482093693f8a8
The file was removedinstall/org.ofono.conf
The file was removedinstall/osmo-gsm-tester.service
The file was addedutils/systemd/osmo-gsm-tester.service
The file was removedinstall/ofono.service
The file was removedinstall/osmo-gsm-tester-limits.conf
The file was addedutils/dbus-1/dbus_osmo-gsm-tester.conf
Commit 99bed8bdb286bac4b7d3d5c2297aea30fd82e709 by Pau Espin Pedrol
Move example/ and ttcn3/ to sysmocom/ and sysmocom/ttcn3

This content is mostly specific to sysmocom's setup (thought it can
still be re-used by other people if willing to).

symlinks in ttcn3/ pointing to example/ are redone to point to
sysmocom/.

Change-Id: I364e0859c0851b9167907a4d948b659a0f6a19fb
The file was addedsysmocom/defaults.conf
The file was removedexample/scenarios/cfg-epc-type@.conf
The file was removedexample/scenarios/mod-bts0-dynts-ipa.conf
The file was removedexample/suites/4g/ping.py
The file was addedsysmocom/suites/voice/lib/testlib.py
The file was addedsysmocom/ttcn3/resources.conf.prod
The file was addedsysmocom/paths.conf
The file was addedsysmocom/scenarios/cipher-a51.conf
The file was addedsysmocom/scenarios/octphy.conf
The file was removedexample/suites/smpp/suite.conf
The file was addedsysmocom/suites/4g/iperf3_dl.py
The file was addedsysmocom/suites/encryption/register_a5_0_authreq.py
The file was addedsysmocom/scenarios/srsenb-rftype@.conf
The file was addedsysmocom/README.txt
The file was removedexample/scenarios/cfg-epc-qci@.conf
The file was removedexample/suites/nitb_netreg_mass/suite.conf
The file was addedsysmocom/scenarios/mod-enb-args@.conf
The file was addedsysmocom/suites/voice/suite.conf
The file was addedsysmocom/suites/nitb_debug/fail.py
The file was removedexample/scenarios/trx.conf
The file was addedsysmocom/suites/voice/mo_mt_call.py
The file was removedttcn3/defaults.conf
The file was removedexample/suites/nitb_smpp/suite.conf
The file was addedsysmocom/ttcn3/scenarios/sysmo.conf
The file was addedsysmocom/suites/gprs/cs_paging_gprs_active.py
The file was addedsysmocom/suites/nitb_smpp/esme_ms_sms_storeforward.py
The file was removedexample/suites/gprs/cs_paging_gprs_active.py
The file was addedsysmocom/ttcn3/defaults.conf
The file was addedsysmocom/scenarios/mod-enb-meas-event@.conf
The file was addedsysmocom/resources.conf.virtual
The file was removedttcn3/README.txt
The file was removedttcn3/suites/ttcn3_bts_tests/suite.conf
The file was removedttcn3/suites/ttcn3_bts_tests/ttcn3_bts_tests.py
The file was removedttcn3/resources.conf.prod
The file was removedexample/scenarios/cfg-codec-fr1.conf
The file was removedexample/suites/nitb_debug/suite.conf
The file was addedsysmocom/suites/encryption/suite.conf
The file was removedexample/suites/gprs/suite.conf
The file was addedsysmocom/scenarios/mod-modem-args@.conf
The file was addedsysmocom/suites/nitb_netreg/suite.conf
The file was addedsysmocom/scenarios/mod-bts0-ts-tchf.conf
The file was removedexample/scenarios/cfg-codec-hr1.conf
The file was removedexample/suites/encryption/register_a5_0_authreq.py
The file was removedexample/suites/sms/suite.conf
The file was removedexample/scenarios/cfg-iperf3-time@.conf
The file was removedexample/scenarios/mod-bts0-numtrx2.conf
The file was removedexample/scenarios/mod-bts0-chanallocdescend.conf
The file was removedexample/scenarios/mod-enb-nprb@.conf
The file was removedexample/suites/gprs/lib/testlib.py
The file was removedttcn3/default-suites.conf
The file was removedttcn3/suites/ttcn3_bts_tests/scripts/BTS_Tests.cfg.tmpl
The file was addedsysmocom/scenarios/cipher-a50.conf
The file was addedsysmocom/suites/smpp/esme_connect_policy_acceptall.py
The file was removedexample/scenarios/trx-lms.conf
The file was addedsysmocom/suites/nitb_sms/mo_mt_sms.py
The file was addedsysmocom/scenarios/sysmo.conf
The file was addedsysmocom/scenarios/trx-umtrx.conf
The file was removedexample/scenarios/srsue-rftype@.conf
The file was removedexample/default-suites.conf
The file was addedsysmocom/suites/encryption/register_a5_1_authreq.py
The file was addedsysmocom/ttcn3/suites/ttcn3_bts_tests/lib/testlib.py
The file was addedsysmocom/suites/nitb_netreg/register.py
The file was addedsysmocom/suites/nitb_smpp/esme_connect_policy_acceptall.py
The file was removedexample/suites/ussd/suite.conf
The file was removedexample/scenarios/band-1900.conf
The file was removedexample/suites/nitb_smpp/esme_ms_sms_storeforward.py
The file was addedsysmocom/suites/nitb_sms/suite.conf
The file was removedexample/suites/nitb_debug/error.py
The file was removedexample/scenarios/oc2g.conf
The file was removedexample/scenarios/mfeature-gprs.conf
The file was addedsysmocom/suites/nitb_smpp/suite.conf
The file was addedsysmocom/suites/gprs/ping_idle_ping.py
The file was removedexample/scenarios/mod-enb-txmode@.conf
The file was removedexample/suites/nitb_smpp/esme_connect_policy_acceptall.py
The file was removedexample/scenarios/mod-bts0-egprs.conf
The file was removedttcn3/suites/ttcn3_bts_tests/scripts/run_ttcn3_docker.sh
The file was removedexample/scenarios/mod-srsue-airplane_mode_sim@.conf
The file was removedexample/suites/debug/suite.conf
The file was addedsysmocom/scenarios/mod-bts0-chanallocdescend.conf
The file was addedsysmocom/scenarios/mod-bts0-dynts67-osmo.conf
The file was modified .gitignore
The file was addedsysmocom/suites/nitb_ussd/assert_extension.py
The file was removedexample/suites/voice/lib/testlib.py
The file was addedsysmocom/ttcn3/scenarios/oc2g.conf
The file was addedsysmocom/scenarios/cfg-amarisoft-license@.conf
The file was addedsysmocom/scenarios/mod-enb-nprb@.conf
The file was removedexample/scenarios/amarisoftenb-rftype@.conf
The file was removedexample/suites/4g/iperf3_dl.py
The file was removedexample/suites/nitb_sms/mo_mt_sms.py
The file was addedsysmocom/ttcn3/suites/ttcn3_bts_tests/scripts/run_ttcn3_docker.sh
The file was removedttcn3/scenarios/trx.conf
The file was addedsysmocom/scenarios/mod-enb-ncells@.conf
The file was removedexample/scenarios/trx-sysmocell5000.conf
The file was addedsysmocom/suites/gprs/lib/testlib.py
The file was removedexample/scenarios/sysmo.conf
The file was removedttcn3/resources.conf.rnd
The file was addedsysmocom/suites/nitb_debug/error.py
The file was addedsysmocom/scenarios/amarisoftue-rftype@.conf
The file was removedexample/scenarios/cfg-amarisoft-license@.conf
The file was removedexample/scenarios/mod-bts0-dynts67-ipa.conf
The file was removedexample/scenarios/mod-srsue-ncarriers@.conf
The file was removedexample/suites/dynts/switch_tch_pdch.py
The file was addedsysmocom/scenarios/mod-bts0-dynts-ipa.conf
The file was addedsysmocom/ttcn3/suites/ttcn3_bts_tests/suite.conf
The file was removedexample/README.txt
The file was addedsysmocom/scenarios/trx-lms-limenet-micro.conf
The file was removedexample/scenarios/trx-b200.conf
The file was addedsysmocom/scenarios/cfg-codec-fr2.conf
The file was removedexample/suites/nitb_netreg/suite.conf
The file was addedsysmocom/scenarios/cfg-codec-hr3.conf
The file was removedexample/suites/4g/suite.conf
The file was addedsysmocom/scenarios/trx-b200.conf
The file was removedexample/suites/encryption/suite.conf
The file was removedexample/scenarios/trx-umtrx.conf
The file was addedsysmocom/scenarios/srsue-rftype@.conf
The file was addedsysmocom/suites/nitb_ussd/suite.conf
The file was removedexample/suites/encryption/register_a5_0_authopt.py
The file was removedexample/suites/sms/mo_mt_sms.py
The file was addedsysmocom/suites/nitb_smpp/esme_ms_sms_transaction.py
The file was removedttcn3/paths.conf
The file was addedsysmocom/scenarios/mod-bts0-egprs.conf
The file was removedexample/suites/ussd/assert_extension.py
The file was removedexample/suites/voice/suite.conf
The file was addedsysmocom/ttcn3/jenkins-run.sh
The file was removedexample/suites/smpp/esme_ms_sms_storeforward.py
The file was addedsysmocom/ttcn3/paths.conf
The file was removedexample/suites/nitb_debug/pass.py
The file was removedttcn3/scenarios/sysmo.conf
The file was addedsysmocom/suites/sms/suite.conf
The file was removedexample/scenarios/cipher-a50.conf
The file was removedexample/scenarios/cfg-codec-fr-any.conf
The file was addedsysmocom/scenarios/nanobts.conf
The file was removedexample/suites/nitb_netreg/register_default.py
The file was removedexample/paths.conf
The file was removedexample/scenarios/mod-enb-ncells@.conf
The file was removedexample/scenarios/mod-modem-args@.conf
The file was addedsysmocom/ttcn3/README.txt
The file was addedsysmocom/default-suites.conf
The file was removedexample/scenarios/nanobts.conf
The file was removedexample/suites/smpp/esme_ms_sms_transaction.py
The file was removedexample/suites/nitb_netreg_mass/register_default_mass.py
The file was removedexample/scenarios/octphy.conf
The file was removedexample/scenarios/mod-enb-args@.conf
The file was addedsysmocom/suites/encryption/register_a5_0_authopt.py
The file was addedsysmocom/ttcn3/default-suites.conf
The file was removedexample/defaults.conf
The file was addedsysmocom/scenarios/cfg-epc-type@.conf
The file was addedsysmocom/scenarios/trx-sysmocell5000.conf
The file was removedexample/scenarios/srsenb-rftype@.conf
The file was addedsysmocom/suites/voice/mo_mt_call_osmux.py
The file was addedsysmocom/scenarios/cfg-codec-hr1.conf
The file was removedexample/scenarios/band-1800.conf
The file was removedexample/suites/encryption/lib/testlib.py
The file was addedsysmocom/scenarios/amarisoftenb-rftype@.conf
The file was addedsysmocom/suites/gprs/iperf3.py
The file was addedsysmocom/scenarios/mod-srsue-airplane_mode_sim@.conf
The file was addedsysmocom/scenarios/cfg-codec-fr-any.conf
The file was addedsysmocom/suites/4g/suite.conf
The file was removedexample/scenarios/mod-bts0-trxdversion0.conf
The file was removedexample/suites/voice/mo_mt_call_osmux.py
The file was addedsysmocom/scenarios/mod-bts0-dynts67-ipa.conf
The file was addedsysmocom/suites/sms/mo_mt_sms.py
The file was addedsysmocom/scenarios/mod-enb-txmode@.conf
The file was addedsysmocom/suites/smpp/suite.conf
The file was removedexample/suites/nitb_debug/fail_raise.py
The file was removedexample/suites/nitb_smpp/esme_connect_policy_closed.py
The file was addedsysmocom/ttcn3/scenarios/trx.conf
The file was removedexample/scenarios/band-900.conf
The file was removedexample/scenarios/mod-bts0-ts-tchf.conf
The file was removedexample/scenarios/cfg-srs-enable-pcap.conf
The file was addedsysmocom/scenarios/cfg-codec-fr3.conf
The file was addedsysmocom/suites/smpp/esme_ms_sms_storeforward.py
The file was removedttcn3/suites/ttcn3_bts_tests/lib/testlib.py
The file was removedexample/scenarios/trx-lms-limenet-micro.conf
The file was removedexample/resources.conf.rnd
The file was addedsysmocom/scenarios/oc2g.conf
The file was removedexample/suites/encryption/register_a5_1_authreq.py
The file was addedsysmocom/scenarios/mod-bts0-ts-tchh.conf
The file was removedexample/suites/smpp/esme_connect_policy_closed.py
The file was removedexample/suites/nitb_netreg/register.py
The file was addedsysmocom/suites/gprs/suite.conf
The file was removedexample/suites/gprs/iperf3m4.py
The file was removedexample/suites/nitb_sms/suite.conf
The file was addedsysmocom/scenarios/mod-bts0-dynts-osmo.conf
The file was addedsysmocom/suites/encryption/register_a5_3_authreq.py
The file was removedttcn3/jenkins-run.sh
The file was removedexample/suites/nitb_smpp/esme_ms_sms_transaction.py
The file was addedsysmocom/suites/smpp/esme_ms_sms_transaction.py
The file was addedsysmocom/scenarios/trx-lms.conf
The file was addedsysmocom/scenarios/cfg-iperf3-time@.conf
The file was addedsysmocom/suites/nitb_smpp/esme_connect_policy_closed.py
The file was addedsysmocom/suites/debug/suite.conf
The file was removedexample/scenarios/mod-bts0-ts-tchh.conf
The file was removedexample/scenarios/mod-bts0-dynts-osmo.conf
The file was removedexample/scenarios/cipher-a51.conf
The file was addedsysmocom/scenarios/cfg-codec-fr1.conf
The file was removedexample/scenarios/mod-enb-meas-event@.conf
The file was removedexample/scenarios/mod-bts0-dynts67-osmo.conf
The file was addedsysmocom/ttcn3/suites/ttcn3_bts_tests/scripts/BTS_Tests.cfg.tmpl
The file was addedsysmocom/scenarios/cfg-epc-qci@.conf
The file was addedsysmocom/suites/ussd/assert_extension.py
The file was addedsysmocom/suites/ussd/suite.conf
The file was addedsysmocom/ttcn3/suites/ttcn3_bts_tests/ttcn3_bts_tests.py
The file was addedsysmocom/resources.conf.rnd
The file was addedsysmocom/scenarios/mod-bts0-dynts67-ipa-compat-nanobts.conf
The file was removedexample/suites/gprs/ping.py
The file was removedexample/suites/nitb_debug/fail.py
The file was addedsysmocom/scenarios/mod-bts0-trxdversion0.conf
The file was addedsysmocom/suites/nitb_netreg_mass/register_default_mass.py
The file was removedexample/scenarios/cfg-codec-fr2.conf
The file was removedexample/suites/voice/mo_mt_call.py
The file was addedsysmocom/resources.conf.prod
The file was addedsysmocom/scenarios/band-900.conf
The file was removedexample/suites/nitb_ussd/suite.conf
The file was addedsysmocom/suites/4g/iperf3_ul.py
The file was removedexample/suites/gprs/iperf3.py
The file was addedsysmocom/scenarios/mod-srsue-ncarriers@.conf
The file was addedsysmocom/suites/debug/interactive.py
The file was removedexample/suites/nitb_ussd/assert_extension.py
The file was addedsysmocom/scenarios/band-1800.conf
The file was addedsysmocom/suites/dynts/suite.conf
The file was addedsysmocom/suites/4g/ping.py
The file was addedsysmocom/suites/nitb_debug/fail_raise.py
The file was removedttcn3/scenarios/oc2g.conf
The file was removedexample/suites/nitb_debug/interactive.py
The file was addedsysmocom/scenarios/cfg-srs-enable-pcap.conf
The file was addedsysmocom/scenarios/trx.conf
The file was addedsysmocom/suites/nitb_debug/pass.py
The file was addedsysmocom/suites/nitb_debug/suite.conf
The file was removedexample/resources.conf.prod
The file was addedsysmocom/suites/encryption/lib/testlib.py
The file was removedexample/suites/4g/iperf3_ul.py
The file was addedsysmocom/suites/nitb_netreg_mass/suite.conf
The file was removedexample/suites/dynts/suite.conf
The file was removedexample/scenarios/mod-bts0-dynts67-ipa-compat-nanobts.conf
The file was addedsysmocom/suites/gprs/ping.py
The file was removedexample/suites/gprs/ping_idle_ping.py
The file was removedexample/suites/debug/interactive.py
The file was removedexample/resources.conf.virtual
The file was addedsysmocom/suites/dynts/switch_tch_pdch.py
The file was addedsysmocom/scenarios/mod-bts0-numtrx2.conf
The file was addedsysmocom/suites/nitb_netreg/register_default.py
The file was addedsysmocom/scenarios/band-1900.conf
The file was removedexample/scenarios/cfg-codec-hr3.conf
The file was removedexample/suites/smpp/esme_connect_policy_acceptall.py
The file was addedsysmocom/scenarios/mfeature-gprs.conf
The file was addedsysmocom/suites/smpp/esme_connect_policy_closed.py
The file was removedexample/suites/encryption/register_a5_3_authreq.py
The file was removedexample/scenarios/amarisoftue-rftype@.conf
The file was addedsysmocom/suites/gprs/iperf3m4.py
The file was addedsysmocom/ttcn3/resources.conf.rnd
The file was removedexample/scenarios/cfg-codec-fr3.conf
The file was addedsysmocom/suites/nitb_debug/interactive.py
Commit f9d92f78e6beaa8ba464cde9a5c622e4d15b2e26 by Pau Espin Pedrol
Introduce doc/examples/ directory

It contains simple usual setups to get started with osmo-gsm-tester,
such as creating a 4G network using srsLTE or a 2G network using the
osmocom stack (+ ofono modems).

Change-Id: I55d5b1152da201799af21a77ef6c562f97bd94fc
The file was addeddoc/examples/2g_osmocom/README.txt
The file was addeddoc/examples/4g_srsLTE/paths.conf
The file was addeddoc/examples/4g_srsLTE/resources.conf
The file was addeddoc/examples/4g_srsLTE/scenarios/cfg-epc-type@.conf
The file was addeddoc/examples/2g_osmocom/paths.conf
The file was addeddoc/examples/2g_osmocom/resources.conf
The file was addeddoc/examples/4g_srsLTE/suites/4g/ping.py
The file was addeddoc/examples/4g_srsLTE/scenarios/cfg-iperf3-time@.conf
The file was addeddoc/examples/4g_srsLTE/scenarios/mod-enb-ncells@.conf
The file was addeddoc/examples/4g_srsLTE/README.txt
The file was addeddoc/examples/4g_srsLTE/suites/4g/iperf3_dl.py
The file was addeddoc/examples/4g_srsLTE/defaults.conf
The file was addeddoc/examples/2g_osmocom/suites/sms/suite.conf
The file was addeddoc/examples/4g_srsLTE/scenarios/mod-enb-meas-event@.conf
The file was addeddoc/examples/4g_srsLTE/suites/4g/suite.conf
The file was addeddoc/examples/4g_srsLTE/suites/4g/iperf3_ul.py
The file was addeddoc/examples/4g_srsLTE/scenarios/srsenb-rftype@.conf
The file was addeddoc/examples/2g_osmocom/default-suites.conf
The file was addeddoc/examples/4g_srsLTE/scenarios/cfg-epc-qci@.conf
The file was addeddoc/examples/4g_srsLTE/scenarios/mod-srsue-airplane_mode_sim@.conf
The file was addeddoc/examples/2g_osmocom/scenarios/trx-b200.conf
The file was addeddoc/examples/4g_srsLTE/scenarios/cfg-srs-enable-pcap.conf
The file was addeddoc/examples/4g_srsLTE/scenarios/mod-srsue-ncarriers@.conf
The file was addeddoc/examples/2g_osmocom/defaults.conf
The file was addeddoc/examples/4g_srsLTE/scenarios/mod-enb-txmode@.conf
The file was addeddoc/examples/4g_srsLTE/scenarios/mod-modem-args@.conf
The file was addeddoc/examples/4g_srsLTE/scenarios/mod-enb-args@.conf
The file was addeddoc/examples/4g_srsLTE/scenarios/mod-enb-nprb@.conf
The file was addeddoc/examples/4g_srsLTE/scenarios/srsue-rftype@.conf
The file was addeddoc/examples/4g_srsLTE/default-suites.conf
The file was addeddoc/examples/2g_osmocom/suites/sms/mo_mt_sms.py
Commit 9b486eedb6914e815468094b1838424c5772a953 by Pau Espin Pedrol
Rename object classes to be {obj_class}_{implementation}

Change-Id: Ieafd96d7ee5b4baef08ca767629b93834f6a8c7c
The file was addedsrc/osmo_gsm_tester/epc_srs.py
The file was addedsrc/osmo_gsm_tester/mgcpgw_osmo.py
The file was modified src/osmo_gsm_tester/resource.py
The file was addedsrc/osmo_gsm_tester/epc_amarisoft.py
The file was removedsrc/osmo_gsm_tester/osmo_nitb.py
The file was removedsrc/osmo_gsm_tester/osmo_mgcpgw.py
The file was removedsrc/osmo_gsm_tester/amarisoft_epc.py
The file was addedsrc/osmo_gsm_tester/hlr_osmo.py
The file was removedsrc/osmo_gsm_tester/srs_ue.py
The file was removedsrc/osmo_gsm_tester/osmo_stp.py
The file was addedsrc/osmo_gsm_tester/ggsn_osmo.py
The file was addedsrc/osmo_gsm_tester/stp_osmo.py
The file was addedsrc/osmo_gsm_tester/ms_amarisoft.py
The file was addedsrc/osmo_gsm_tester/bsc_osmo.py
The file was removedsrc/osmo_gsm_tester/amarisoft_enb.py
The file was removedsrc/osmo_gsm_tester/srs_epc.py
The file was addedsrc/osmo_gsm_tester/enb_srs.py
The file was removedsrc/osmo_gsm_tester/srs_enb.py
The file was removedsrc/osmo_gsm_tester/osmo_msc.py
The file was addedsrc/osmo_gsm_tester/nitb_osmo.py
The file was addedsrc/osmo_gsm_tester/enb_amarisoft.py
The file was addedsrc/osmo_gsm_tester/sgsn_osmo.py
The file was removedsrc/osmo_gsm_tester/osmo_ggsn.py
The file was removedsrc/osmo_gsm_tester/osmo_bsc.py
The file was addedsrc/osmo_gsm_tester/mgw_osmo.py
The file was removedsrc/osmo_gsm_tester/osmo_mgw.py
The file was removedsrc/osmo_gsm_tester/amarisoft_ue.py
The file was modified src/osmo_gsm_tester/suite.py
The file was removedsrc/osmo_gsm_tester/osmo_hlr.py
The file was removedsrc/osmo_gsm_tester/osmo_sgsn.py
The file was addedsrc/osmo_gsm_tester/msc_osmo.py
The file was addedsrc/osmo_gsm_tester/ms_srs.py
Commit e8bbcbf5b8f3fd456b17595fd6ea22ce031b5427 by Pau Espin Pedrol
Create core directory to contain most of code not in object classes used by tests

Change-Id: I9aec6c55ccd71894182057d36e0025b69925d314
The file was modified src/osmo_gsm_tester/osmocon.py
The file was modified src/osmo_gsm_tester/pcu.py
The file was removedsrc/osmo_gsm_tester/process.py
The file was modified src/osmo_gsm_tester/mgcpgw_osmo.py
The file was modified src/osmo_gsm_tester/bts_osmovirtual.py
The file was addedsrc/osmo_gsm_tester/core/schema.py
The file was modified src/osmo_gsm_tester/pcu_oc2g.py
The file was modified src/osmo_gsm_tester/nitb_osmo.py
The file was modified src/osmo_gsm_tester/bts_nanobts.py
The file was modified src/osmo_gsm_tester/osmo_ctrl.py
The file was modified src/osmo_gsm_tester/test.py
The file was modified src/osmo_gsm_tester/bts_oc2g.py
The file was addedsrc/osmo_gsm_tester/core/event_loop.py
The file was modified selftest/resource_test.py
The file was addedsrc/osmo_gsm_tester/core/remote.py
The file was removedsrc/osmo_gsm_tester/event_loop.py
The file was modified selftest/util_test.py
The file was modified selftest/process_test.py
The file was removedsrc/osmo_gsm_tester/schema.py
The file was modified src/osmo_gsm_tester/sgsn_osmo.py
The file was modified selftest/_prep.py
The file was modified src/osmo_gsm_tester/ms_driver.py
The file was modified src/osmo_gsm_tester/suite.py
The file was modified src/osmo_ms_driver/simple_loop.py
The file was addedsrc/osmo_gsm_tester/core/template.py
The file was modified src/osmo_gsm_tester/epc.py
The file was modified src/osmo_gsm_tester/epc_amarisoft.py
The file was modified src/osmo_gsm_tester/bts_osmo.py
The file was modified src/osmo_gsm_tester/enb_amarisoft.py
The file was modified src/osmo_gsm_tester/pcu_sysmo.py
The file was modified src/osmo_gsm_tester/resource.py
The file was modified src/osmo_gsm_tester/smsc.py
The file was removedsrc/osmo_gsm_tester/remote.py
The file was modified src/osmo_gsm_tester/bts_sysmo.py
The file was modified src/osmo_gsm_tester/esme.py
The file was modified src/osmo_gsm_tester/powersupply_sispm.py
The file was addedsrc/osmo_gsm_tester/core/log.py
The file was addedsrc/osmo_gsm_tester/core/process.py
The file was modified src/osmo_gsm_tester/stp_osmo.py
The file was modified src/osmo_gsm_tester/msc_osmo.py
The file was modified src/osmo_gsm_tester/enb_srs.py
The file was modified selftest/config_test.py
The file was modified src/osmo_gsm_tester/ggsn_osmo.py
The file was modified src/osmo_ms_driver/event_server.py
The file was removedsrc/osmo_gsm_tester/config.py
The file was addedsrc/osmo_gsm_tester/core/util.py
The file was modified src/osmo_gsm_tester/bts.py
The file was removedsrc/osmo_gsm_tester/util.py
The file was modified selftest/suite_test.py
The file was modified src/osmo_gsm_tester/mgw_osmo.py
The file was modified src/osmo_gsm_tester/iperf3.py
The file was modified selftest/lock_test_help.py
The file was modified src/osmo_gsm_tester/ms_amarisoft.py
The file was modified src/osmo_ms_driver/__main__.py
The file was modified selftest/trial_test.py
The file was modified src/osmo_gsm_tester/trial.py
The file was removedsrc/osmo_gsm_tester/template.py
The file was modified src/osmo_ms_driver/starter.py
The file was modified src/osmo_gsm_tester/powersupply_intellinet.py
The file was modified selftest/template_test.py
The file was modified src/osmo_gsm_tester/bsc_osmo.py
The file was modified src/osmo_gsm_tester/bts_octphy.py
The file was addedsrc/osmo_gsm_tester/core/__init__.py
The file was modified src/osmo_gsm_tester/hlr_osmo.py
The file was modified selftest/log_test.py
The file was addedsrc/osmo_gsm_tester/core/config.py
The file was modified src/osmo-gsm-tester.py
The file was modified src/osmo_gsm_tester/pcap_recorder.py
The file was modified src/osmo_gsm_tester/epc_srs.py
The file was removedsrc/osmo_gsm_tester/log.py
The file was modified src/osmo_gsm_tester/bts_osmotrx.py
The file was modified src/osmo_gsm_tester/modem.py
The file was modified src/osmo_gsm_tester/ms.py
The file was modified src/osmo_ms_driver/test_support.py
The file was modified src/osmo_gsm_tester/pcu_osmo.py
The file was modified src/osmo_gsm_tester/run_node.py
The file was modified src/osmo_gsm_tester/powersupply.py
The file was modified src/osmo_gsm_tester/enb.py
The file was modified src/osmo_gsm_tester/ms_srs.py
Commit e1a58bd8ddaa4afb1f6de80d165f4561cb44de60 by Pau Espin Pedrol
Move object classes used by tests into obj/ subdir

Change-Id: I0b2963cf00acd1f9036dca2e87aa3b87a0f8066d
The file was removedsrc/osmo_gsm_tester/nitb_osmo.py
The file was addedsrc/osmo_gsm_tester/obj/ggsn_osmo.py
The file was removedsrc/osmo_gsm_tester/powersupply.py
The file was removedsrc/osmo_gsm_tester/iperf3.py
The file was removedsrc/osmo_gsm_tester/stp_osmo.py
The file was removedsrc/osmo_gsm_tester/ms_srs.py
The file was addedsrc/osmo_gsm_tester/obj/mgw_osmo.py
The file was addedsrc/osmo_gsm_tester/obj/bsc_osmo.py
The file was addedsrc/osmo_gsm_tester/obj/run_node.py
The file was addedsrc/osmo_gsm_tester/obj/osmocon.py
The file was addedsrc/osmo_gsm_tester/obj/powersupply.py
The file was addedsrc/osmo_gsm_tester/obj/pcu.py
The file was removedsrc/osmo_gsm_tester/bts_octphy.py
The file was removedsrc/osmo_gsm_tester/ms.py
The file was addedsrc/osmo_gsm_tester/obj/msc_osmo.py
The file was addedsrc/osmo_gsm_tester/obj/sgsn_osmo.py
The file was removedsrc/osmo_gsm_tester/pcap_recorder.py
The file was removedsrc/osmo_gsm_tester/epc_srs.py
The file was removedsrc/osmo_gsm_tester/pcu_oc2g.py
The file was removedsrc/osmo_gsm_tester/modem.py
The file was addedsrc/osmo_gsm_tester/obj/hlr_osmo.py
The file was addedsrc/osmo_gsm_tester/obj/bts_oc2g.py
The file was addedsrc/osmo_gsm_tester/obj/ms_driver.py
The file was removedsrc/osmo_gsm_tester/pcu_sysmo.py
The file was removedsrc/osmo_gsm_tester/bts_osmo.py
The file was addedsrc/osmo_gsm_tester/obj/bts_nanobts.py
The file was addedsrc/osmo_gsm_tester/obj/ms_srs.py
The file was removedsrc/osmo_gsm_tester/ggsn_osmo.py
The file was addedsrc/osmo_gsm_tester/obj/pcu_sysmo.py
The file was addedsrc/osmo_gsm_tester/obj/sms.py
The file was modified selftest/sms_test.py
The file was addedsrc/osmo_gsm_tester/obj/ms.py
The file was addedsrc/osmo_gsm_tester/obj/nitb_osmo.py
The file was removedsrc/osmo_gsm_tester/pcu_osmo.py
The file was removedsrc/osmo_gsm_tester/mgw_osmo.py
The file was removedsrc/osmo_gsm_tester/bts.py
The file was modified src/osmo_gsm_tester/suite.py
The file was addedsrc/osmo_gsm_tester/obj/enb_srs.py
The file was addedsrc/osmo_gsm_tester/obj/mgcpgw_osmo.py
The file was addedsrc/osmo_gsm_tester/obj/pcu_osmo.py
The file was removedsrc/osmo_gsm_tester/powersupply_sispm.py
The file was addedsrc/osmo_gsm_tester/obj/bts.py
The file was addedsrc/osmo_gsm_tester/obj/bts_osmotrx.py
The file was removedsrc/osmo_gsm_tester/bts_nanobts.py
The file was removedsrc/osmo_gsm_tester/bts_sysmo.py
The file was addedsrc/osmo_gsm_tester/obj/bts_sysmo.py
The file was removedsrc/osmo_gsm_tester/powersupply_intellinet.py
The file was addedsrc/osmo_gsm_tester/obj/epc_srs.py
The file was removedsrc/osmo_gsm_tester/ms_amarisoft.py
The file was addedsrc/osmo_gsm_tester/obj/smsc.py
The file was removedsrc/osmo_gsm_tester/enb_amarisoft.py
The file was addedsrc/osmo_gsm_tester/obj/powersupply_intellinet.py
The file was addedsrc/osmo_gsm_tester/obj/powersupply_sispm.py
The file was removedsrc/osmo_gsm_tester/bsc_osmo.py
The file was removedsrc/osmo_gsm_tester/enb.py
The file was removedsrc/osmo_gsm_tester/epc_amarisoft.py
The file was addedsrc/osmo_gsm_tester/obj/epc_amarisoft.py
The file was removedsrc/osmo_gsm_tester/osmocon.py
The file was removedsrc/osmo_gsm_tester/bts_oc2g.py
The file was addedsrc/osmo_gsm_tester/obj/ms_osmo_mobile.py
The file was addedsrc/osmo_gsm_tester/obj/bts_osmo.py
The file was removedsrc/osmo_gsm_tester/ms_driver.py
The file was addedsrc/osmo_gsm_tester/obj/ms_amarisoft.py
The file was modified src/osmo_gsm_tester/test.py
The file was addedsrc/osmo_gsm_tester/obj/esme.py
The file was removedsrc/osmo_gsm_tester/sms.py
The file was addedsrc/osmo_gsm_tester/obj/pcap_recorder.py
The file was removedsrc/osmo_gsm_tester/osmo_ctrl.py
The file was removedsrc/osmo_gsm_tester/bts_osmotrx.py
The file was addedsrc/osmo_gsm_tester/obj/enb.py
The file was removedsrc/osmo_gsm_tester/smsc.py
The file was removedsrc/osmo_gsm_tester/mgcpgw_osmo.py
The file was removedsrc/osmo_gsm_tester/ms_osmo_mobile.py
The file was removedsrc/osmo_gsm_tester/run_node.py
The file was addedsrc/osmo_gsm_tester/obj/epc.py
The file was addedsrc/osmo_gsm_tester/obj/pcu_oc2g.py
The file was removedsrc/osmo_gsm_tester/sgsn_osmo.py
The file was addedsrc/osmo_gsm_tester/obj/bts_osmovirtual.py
The file was removedsrc/osmo_gsm_tester/enb_srs.py
The file was addedsrc/osmo_gsm_tester/obj/stp_osmo.py
The file was addedsrc/osmo_gsm_tester/obj/bts_octphy.py
The file was addedsrc/osmo_gsm_tester/obj/modem.py
The file was addedsrc/osmo_gsm_tester/obj/iperf3.py
The file was addedsrc/osmo_gsm_tester/obj/enb_amarisoft.py
The file was removedsrc/osmo_gsm_tester/bts_osmovirtual.py
The file was removedsrc/osmo_gsm_tester/pcu.py
The file was removedsrc/osmo_gsm_tester/epc.py
The file was modified src/osmo_gsm_tester/resource.py
The file was removedsrc/osmo_gsm_tester/esme.py
The file was removedsrc/osmo_gsm_tester/hlr_osmo.py
The file was addedsrc/osmo_gsm_tester/obj/osmo_ctrl.py
The file was removedsrc/osmo_gsm_tester/msc_osmo.py
Commit 0dbd6945017a26b710ec1a5ddb5b993414a6a61d by Pau Espin Pedrol
Rename modem.py to ms_ofono.py

Change-Id: I050970986b0b3fbc23b756c5b7c524cb8b7c1327
The file was removedsrc/osmo_gsm_tester/obj/modem.py
The file was addedsrc/osmo_gsm_tester/obj/ms_ofono.py
The file was modified src/osmo_gsm_tester/resource.py
Commit fdd8e3aad20df1cc94fbc8f69a79cb48df9e55d5 by Pau Espin Pedrol
iperf3: Avoid using --logfile arg

Some older iperf3 versions don't support the --logfile arg. Let's
instead parse the json from stdout. Old --logfile behavior is left in
code but disabled since it's a nicer (less hacky) way to get results,
because parsing from stdout means we need to avoid reading some content.

Change-Id: Ia1b7fa4dae074089878963aeddf0006aea68e31f
The file was modified src/osmo_gsm_tester/obj/iperf3.py
Commit e4d5a139e3cab2df6942cfa8f34372ae5e0a955f by andre
enb_amarisoft: fix enb conf template name

issue has been introduced during refactor of enb class names

Change-Id: Ib3ad6451c3979440be28d8811f51ce5d1c103518
The file was modified src/osmo_gsm_tester/obj/enb_amarisoft.py
Commit 135c609d295a3d2217d4275c8682d73905fffb2e by Pau Espin Pedrol
enb_srs.py: Pass filenames to main cfg file template instead of cmdline args

Change-Id: Ifec6a8a9c29b94634f6ac7ea50aae9b8e18ae3cb
The file was modified src/osmo_gsm_tester/obj/enb_srs.py
The file was modified src/osmo_gsm_tester/templates/srsenb.conf.tmpl
Commit 3373703a72232f040c27e53fe5f395780e846120 by Pau Espin Pedrol
epc_srs.py: Pass filenames to main cfg file template instead of cmdline args

Change-Id: I1ac3a3cace7ec2b0f85c5d9a5f97d5007d7c65ac
The file was modified src/osmo_gsm_tester/templates/srsepc.conf.tmpl
The file was modified src/osmo_gsm_tester/obj/epc_srs.py
Commit 0e6ab424a49a6c3c061e0bbee3dd40da9d0129b3 by Pau Espin Pedrol
ms_srs.py: Pass filenames to main cfg file template instead of cmdline args

Change-Id: Id2a6ba17d087d2ff67fe10b1dae6434259e74366
The file was modified src/osmo_gsm_tester/templates/srsue.conf.tmpl
The file was modified src/osmo_gsm_tester/obj/ms_srs.py
Commit 4b5a09a83c54ceb0f8a044ce4f0256b03a5a6138 by andre
enb: add optional gtp_bind_addr paramter to enb class

this allows to optionally specify a the GTP bind_address for a enb object
in the resources.conf

this address is then used for binding the listening socket for gtp connections
which, in turn, allows to run the enb and epc on the same host.

when gtp_bind_addr is not specified, addr is used by default

this is especially useful if eNB and EPC run on the same host
and ZMQ is used for RF between eNB and UE. Two eNB addresses
are needed in this case, one bind address and one "remote-accessable"
address for the UEs ZMQ radio to connect to

Change-Id: I4fe38f31401428ed3e74e1d0b64960f0af122d37
The file was modified src/osmo_gsm_tester/obj/enb.py
The file was modified src/osmo_gsm_tester/templates/srsenb.conf.tmpl
The file was modified src/osmo_gsm_tester/resource.py
The file was modified src/osmo_gsm_tester/templates/amarisoft_enb.cfg.tmpl
Commit 2b959580b9affe729e966c506656b7f47926c4bf by Pau Espin Pedrol
powersupply: Import sublcass module only if used

This way we avoid unconditionally importing all subclass dependencies,
and make them optional based on whether the setup has devices of that
type or not.

Change-Id: I0d2f8b26364b45f0d837cc51078784d1d0fa7ea1
The file was modified src/osmo_gsm_tester/obj/powersupply.py
Commit 045245d5aee511461756aa90c6928c116ca2e2e0 by Pau Espin Pedrol
check_dependencies: Import modules dynamically and find related debian packages

This way we don't need to manually add new imports here or drop unusued
ones. It also makes sure local imports in all our py files is correct.
For instance, running the script already caught an issue which is added
to this patch (osmo_ms_driver/__main__.py).

This new version of the script also allows specifying subsets of
features to skip when checking for dependencies. This way, for instance
somebody not willing to use a sispm powersupply can stil check all the
needed dependencies are fine.

This new tool will make it easier to slowly make some dependencies only
used by some object test classes optional (for instance, python-smpplib
if user doesn't want to run an ESME node).

It also allows to retrieve the required debian/manually installed
packages when run with "-p" option:
"""
Debian packages:
        libpython3.5-minimal:amd64
        python3-gi
        python3-six
        libpython3.5-stdlib:amd64
        python3-pygments
        python3-yaml
        python3-mako
        python3-numpy
        python3-markupsafe

Modules without debian package (pip or setuptools?):
        usb                  [dpkg-query: no path found matching pattern /usr/local/lib/python3.5/dist-packages/usb/_interop.py]
        pydbus               [dpkg-query: no path found matching pattern /usr/local/lib/python3.5/dist-packages/pydbus/proxy.py]
        smpplib              [dpkg-query: no path found matching pattern /usr/local/lib/python3.5/dist-packages/smpplib/command_codes.py]
        sispm                [dpkg-query: no path found matching pattern /usr/local/lib/python3.5/dist-packages/sispm/__init__.py]
"""

Change-Id: I29ddf8971837754abd930d847bd1036e8e510de6
The file was modified src/osmo_ms_driver/__main__.py
The file was modified check_dependencies.py
Commit f46ae22b3dd7c9a4147ccc70ad66dbef2a8b8c14 by Pau Espin Pedrol
enb: Add cell_list attribute

It allows configuring each cell_list up to a maximum of 'num_cells'.

Change-Id: I4fd30a3e37789b76bfaddc2beba1815154daab7f
The file was modified src/osmo_gsm_tester/obj/enb_amarisoft.py
The file was modified src/osmo_gsm_tester/obj/enb.py
The file was modified src/osmo_gsm_tester/resource.py
The file was modified src/osmo_gsm_tester/templates/amarisoft_enb.cfg.tmpl
The file was modified sysmocom/defaults.conf
The file was modified src/osmo_gsm_tester/obj/enb_srs.py
Commit a65b505adc782533122589abab2c63538f98dd49 by Pau Espin Pedrol
powersupply.py: Fix import module line typo

Recent commit changed the import line so it runs only when required, but
added a typo making tests uing it fail.

Change-Id: Id3e5c16adc763a9b79cc464937c541abd15f98de
Fixes: 2b959580b9affe729e966c506656b7f47926c4bf
The file was modified src/osmo_gsm_tester/obj/powersupply.py
Commit ca89bb3924908ec28b7ee75095a7282409865f07 by Pau Espin Pedrol
srsenb_rr.conf.tmpl: Fix whitespace

Change-Id: Ic2b4d8e2468984b096a870c878fa5d032ea4130f
The file was modified src/osmo_gsm_tester/templates/srsenb_rr.conf.tmpl
Commit d4404d54c05a2c78e9b8d2fc491e668bdc4fa6c7 by Pau Espin Pedrol
enb: Implement initial RF emulation API

Two implementations are provided:
* Amarisoft Ctrl interface (websocket)
* Mini-Circuits Programmable Attenuator (HW, HTTP API) [1]

in Amarisoft ENBs, if no rfemu is configured explicitly, the Ctrl
interface one is used by default, while still being possible to use the
HW one.

[1] https://www.minicircuits.com/pdfs/RC4DAT-6G-60.pdf

Change-Id: Ie98a3fb9bcd2b87b96ecbb5b79e0f53981892a32
The file was addedsrc/osmo_gsm_tester/obj/rfemu_amarisoftctrl.py
The file was modified src/osmo_gsm_tester/obj/enb_amarisoft.py
The file was modified src/osmo_gsm_tester/resource.py
The file was modified src/osmo_gsm_tester/obj/enb_srs.py
The file was addedsrc/osmo_gsm_tester/obj/rfemu.py
The file was modified src/osmo_gsm_tester/obj/enb.py
The file was addedsrc/osmo_gsm_tester/obj/rfemu_minicircuits.py
Commit 491f77cd0f537f7a07ed8c23b84c2c7e2405a1cb by Pau Espin Pedrol
enb: Add attribute to set 'id'

Change-Id: I8ce296c7875d557062dc13e7093ce0400050f2ce
The file was modified src/osmo_gsm_tester/templates/amarisoft_enb.cfg.tmpl
The file was modified src/osmo_gsm_tester/obj/enb.py
The file was modified src/osmo_gsm_tester/templates/srsenb.conf.tmpl
The file was modified src/osmo_gsm_tester/obj/epc_srs.py
The file was modified sysmocom/defaults.conf
The file was modified src/osmo_gsm_tester/resource.py
Commit a6d6304afccbd37462acf9ad8207d6ac29f25da9 by Pau Espin Pedrol
srsue, amarisoft/srsENB: Support setting rx/tx_gain attributes

Change-Id: I4228ba8746a54db4c17443718c01069d431361b9
The file was modified src/osmo_gsm_tester/templates/srsue.conf.tmpl
The file was modified src/osmo_gsm_tester/templates/srsenb.conf.tmpl
The file was modified sysmocom/defaults.conf
The file was modified src/osmo_gsm_tester/obj/ms_amarisoft.py
The file was modified src/osmo_gsm_tester/obj/enb_amarisoft.py
The file was modified src/osmo_gsm_tester/templates/amarisoft_rf_driver.cfg.tmpl
The file was modified src/osmo_gsm_tester/resource.py
Commit 9eff96e0682781a396ded323b868aebeb454b6c9 by Pau Espin Pedrol
AmarisoftUE: Fix setting tx/rx gain attr

Fixes: a6d6304afccbd37462acf9ad8207d6ac29f25da9
Change-Id: I344313863390a00604045dcc18e552aa789b282f
The file was modified sysmocom/defaults.conf
Commit 154dc932192a89ff40c115f02ddce29b7426badc by Pau Espin Pedrol
AmarisoftENB: Support setting PCI value

Change-Id: Ibffb95f9b55e145d76ba64119a73ef9f1ed7cdef
The file was modified sysmocom/defaults.conf
The file was modified src/osmo_gsm_tester/templates/amarisoft_enb.cfg.tmpl
The file was modified src/osmo_gsm_tester/resource.py
Commit 6c77874f4643476dc070170d291f5591a916255e by Pau Espin Pedrol
enb: Introduce support for neighbour cell list

Change-Id: If604f1f2643a73f8c4da6ae3e9d24cd6c7e52d06
The file was modified sysmocom/defaults.conf
The file was modified src/osmo_gsm_tester/resource.py
The file was modified src/osmo_gsm_tester/templates/amarisoft_enb.cfg.tmpl
Commit 96d64efdbb926b281bcaffadfb4b18bbf4133e39 by Pau Espin Pedrol
srsenb: Support neighbour and secondary cell lists in config file

Change-Id: I8fe0703b7d9db69658c112066404d2da1c3d1e09
The file was modified src/osmo_gsm_tester/templates/srsenb_rr.conf.tmpl
Commit d6c792536f8248bb93ecd7466892d877202bd595 by Pau Espin Pedrol
amarisoftENB: Fix running with num_cells=2

The B200 device being used in the physical setup doesn't support several
RF ports, so let's hardcode it to 0 for now.

Change-Id: Id4c31be2bd0c75f469e2293ade011c7b7ceedb1c
The file was modified src/osmo_gsm_tester/templates/amarisoft_enb.cfg.tmpl
Commit 6360dfb4d6e01188a8b757427c4fb3c35f2d0057 by andre
jenkins-build-amarisoft: turn off other RF libs when building for zmq driver

Change-Id: Ie4819d3f454d74e14829d02fbdc62a12f2d54cd5
The file was modified contrib/jenkins-build-amarisoft.sh
Commit 8e1ba792c5047301fe811e05d244b0f87d0111c2 by andre
jenkins-build-common.sh: also pass additional build flags to CMake

Change-Id: I1c5998d31201505d0a2532f22f905ec155d6c094
The file was modified contrib/jenkins-build-common.sh
Commit bf40f8c8bf33211c2b6b508a8d986fe1a58c5f64 by andre
amarisoft_enb: use two antenna ports for TM > 1

Change-Id: Ia241f96341780760d482d389097659b0f7b897e8
The file was modified src/osmo_gsm_tester/templates/amarisoft_enb.cfg.tmpl
Commit e2a6da6b48198e4f3be30b9f5fb562e3909d60ed by andre
enb: refactored rf_args handling for ZMQ-based radio

this patch moves the rf_dev_args creation for both eNB types
into the eNB base class, since they are identical.

the patch also fixes the arguments for all CA and MIMO configurations

Change-Id: I8ca3ed83e65dc07927385267e5970bc4f5b120d5
The file was modified src/osmo_gsm_tester/obj/enb_amarisoft.py
The file was modified src/osmo_gsm_tester/obj/enb.py
The file was modified src/osmo_gsm_tester/obj/enb_srs.py
Commit 333b868492f4d6155a59c81996a53f39b5269a5a by andre
ms_srs: fix ZMQ radio arguments for CA and MIMO configs

similar to the eNB patches this fixes the CA and MIMO radio
parameters. In pricinple this could also be reused for the
AmarisoftUE but since we currently don't have a means to test
it I left it for a future commit.

Change-Id: I16b00009f97d61a9ab4715e5d727024661d3d0be
The file was modified src/osmo_gsm_tester/obj/ms_srs.py
Commit 96b17df282234f02972c6e4dbd02134f89767400 by andre
srsenb_rr.conf.tmpl: extend CQI and SR subframe scheduling

this fixes an issues when allocating CQI resources for multiple carriers
or multiple users

Change-Id: I8b9345502003da2f5b6841a98b77375656e84d8c
The file was modified src/osmo_gsm_tester/templates/srsenb_rr.conf.tmpl
Commit ea8c3d4b1235ef703e54cd963bc96f6716168387 by Pau Espin Pedrol
Generate schemas dynamically from pieces provided by each object class

This way we benefit from:
* knowing which attributes are used/required by each object class and
  subclass
* Having validation function definitions near the class going to use them

Change-Id: I8fd6773c51d19405a585977af4ed72cad2b21db1
The file was modified selftest/config_test.py
The file was modified src/osmo_gsm_tester/suite.py
The file was modified src/osmo_gsm_tester/obj/bts_osmo.py
The file was modified src/osmo_gsm_tester/core/util.py
The file was modified src/osmo_gsm_tester/obj/iperf3.py
The file was modified src/osmo_gsm_tester/obj/bts.py
The file was modified src/osmo_gsm_tester/obj/epc_amarisoft.py
The file was modified src/osmo_gsm_tester/obj/enb_srs.py
The file was modified src/osmo_gsm_tester/obj/epc.py
The file was modified selftest/suite_test.py
The file was modified src/osmo-gsm-tester.py
The file was modified src/osmo_gsm_tester/core/config.py
The file was modified src/osmo_gsm_tester/obj/ms.py
The file was modified src/osmo_gsm_tester/core/schema.py
The file was modified src/osmo_gsm_tester/obj/enb.py
The file was modified src/osmo_gsm_tester/obj/enb_amarisoft.py
The file was modified src/osmo_gsm_tester/obj/bts_osmotrx.py
The file was modified src/osmo_gsm_tester/resource.py
The file was modified src/osmo_gsm_tester/obj/ms_amarisoft.py
The file was modified selftest/resource_test.py
The file was modified src/osmo_gsm_tester/obj/ms_srs.py
The file was modified src/osmo_gsm_tester/obj/bsc_osmo.py
The file was modified src/osmo_gsm_tester/obj/msc_osmo.py
The file was modified src/osmo_gsm_tester/obj/run_node.py
The file was modified src/osmo_gsm_tester/obj/epc_srs.py
The file was modified src/osmo_gsm_tester/obj/osmocon.py
Commit 1ee5ec5db262f1d67616a71a1fd6e41f3c6d1f0d by Pau Espin Pedrol
Move object subclass instance allocation logic out of suite.py/resource.py

This way we get rid of object related content in resource.py and we can
finally move it to core/ in next commit.

Change-Id: Ia5b861115ae3ae1b90149863c4265dcc730b8cd4
The file was modified src/osmo_gsm_tester/obj/bts.py
The file was modified src/osmo_gsm_tester/obj/enb.py
The file was modified src/osmo_gsm_tester/obj/ms.py
The file was modified src/osmo_gsm_tester/obj/epc.py
The file was modified src/osmo_gsm_tester/resource.py
The file was modified src/osmo_gsm_tester/suite.py
Commit 06cb536826cfceecad93c8631077d38c4164a138 by Pau Espin Pedrol
Move resource.py to core/

Change-Id: I0f36a5e61ff0ef14d08165c9c184acdf2d6e6901
The file was modified src/osmo_gsm_tester/suite.py
The file was removedsrc/osmo_gsm_tester/resource.py
The file was modified selftest/resource_test.py
The file was modified src/osmo_gsm_tester/test.py
The file was addedsrc/osmo_gsm_tester/core/resource.py
Commit ee217b0a18d2de6bb5c197329adec1cb11764560 by Pau Espin Pedrol
Move test.py and report.py to core/

Change-Id: Ibb7fa5ab40bcf1e59705bdd2c2c5a76025b2b544
The file was removedsrc/osmo_gsm_tester/test.py
The file was addedsrc/osmo_gsm_tester/core/report.py
The file was removedsrc/osmo_gsm_tester/report.py
The file was modified src/osmo_gsm_tester/suite.py
The file was addedsrc/osmo_gsm_tester/core/test.py
The file was modified src/osmo_gsm_tester/trial.py
The file was modified selftest/suite_test.py
The file was modified src/osmo_gsm_tester/testenv.py
Commit aa1cbdc75a2898f176bfce03e710b0587e6093f5 by Pau Espin Pedrol
Move all obj/ references in suite.py to testenv.py

Change-Id: If4ab39be7a97d33e82c5a34e2a10dfec38613a4e
The file was modified src/osmo_gsm_tester/core/test.py
The file was modified selftest/suite_test/test_suite/test_error.py
The file was modified selftest/suite_test/test_suite/test_fail.py
The file was modified selftest/suite_test/test_suite/hello_world.py
The file was modified src/osmo_gsm_tester/trial.py
The file was modified src/osmo_gsm_tester/testenv.py
The file was modified src/osmo_gsm_tester/suite.py
Commit f574a46b37adf079cfcab35691c218ca7b9ab7cc by Pau Espin Pedrol
Move trial.py and suite.py to core/

Change-Id: Ic9a4c90c190e9d8e1829fbef83a9243f3c6f655b
The file was modified selftest/trial_test.py
The file was removedsrc/osmo_gsm_tester/suite.py
The file was modified src/osmo-gsm-tester.py
The file was modified selftest/suite_test.py
The file was addedsrc/osmo_gsm_tester/core/suite.py
The file was removedsrc/osmo_gsm_tester/trial.py
The file was addedsrc/osmo_gsm_tester/core/trial.py
Commit a442cb8e5f4107611e0bb3d8ccebe9ab876fe26c by Pau Espin Pedrol
Update obj classes in obj/ to use testenv instead of suite_run

Change-Id: Idf41243a497de7bc507b9f1cd1b38640f456f815
The file was modified src/osmo_gsm_tester/obj/pcu_osmo.py
The file was modified src/osmo_gsm_tester/obj/bts.py
The file was modified src/osmo_gsm_tester/obj/bts_oc2g.py
The file was modified src/osmo_gsm_tester/obj/mgw_osmo.py
The file was modified src/osmo_gsm_tester/obj/bts_osmovirtual.py
The file was modified src/osmo_gsm_tester/obj/hlr_osmo.py
The file was modified src/osmo_ms_driver/starter.py
The file was modified src/osmo_gsm_tester/obj/osmocon.py
The file was modified src/osmo_gsm_tester/obj/epc_amarisoft.py
The file was modified src/osmo_gsm_tester/core/suite.py
The file was modified src/osmo_gsm_tester/obj/pcu.py
The file was modified src/osmo_gsm_tester/obj/bts_nanobts.py
The file was modified src/osmo_gsm_tester/obj/enb_amarisoft.py
The file was modified src/osmo_gsm_tester/obj/ms_amarisoft.py
The file was modified src/osmo_gsm_tester/obj/enb_srs.py
The file was modified src/osmo_gsm_tester/obj/enb.py
The file was modified src/osmo_gsm_tester/obj/nitb_osmo.py
The file was modified src/osmo_gsm_tester/obj/iperf3.py
The file was modified src/osmo_gsm_tester/obj/pcu_sysmo.py
The file was modified src/osmo_gsm_tester/obj/ms_driver.py
The file was modified src/osmo_gsm_tester/testenv.py
The file was modified src/osmo_gsm_tester/obj/msc_osmo.py
The file was modified src/osmo_gsm_tester/obj/ggsn_osmo.py
The file was modified src/osmo_gsm_tester/core/test.py
The file was modified src/osmo_gsm_tester/obj/epc.py
The file was modified src/osmo_gsm_tester/obj/bts_sysmo.py
The file was modified src/osmo_gsm_tester/obj/ms_ofono.py
The file was modified src/osmo_gsm_tester/obj/sgsn_osmo.py
The file was modified src/osmo_gsm_tester/obj/bts_octphy.py
The file was modified src/osmo_gsm_tester/obj/pcap_recorder.py
The file was modified src/osmo_gsm_tester/obj/ms_srs.py
The file was modified src/osmo_gsm_tester/obj/bts_osmotrx.py
The file was modified src/osmo_gsm_tester/obj/bsc_osmo.py
The file was modified src/osmo_gsm_tester/obj/pcu_oc2g.py
The file was modified src/osmo_gsm_tester/obj/epc_srs.py
The file was modified src/osmo_gsm_tester/obj/mgcpgw_osmo.py
The file was modified src/osmo_gsm_tester/obj/bts_osmo.py
The file was modified src/osmo_gsm_tester/obj/stp_osmo.py
The file was modified src/osmo_gsm_tester/obj/ms.py
Commit 40c7bc7765e265939c0da6949608be69e8bedd74 by Pau Espin Pedrol
tests: Replace 'suite' with 'tenv'

Change-Id: I777ec59ffd83b861ddc09e85e52d7a8896264b8c
The file was modified sysmocom/suites/nitb_netreg/register_default.py
The file was modified sysmocom/suites/ussd/assert_extension.py
The file was modified src/osmo_gsm_tester/testenv.py
The file was modified sysmocom/suites/encryption/register_a5_0_authreq.py
The file was modified sysmocom/suites/gprs/ping.py
The file was modified sysmocom/suites/encryption/register_a5_0_authopt.py
The file was modified sysmocom/suites/nitb_netreg_mass/register_default_mass.py
The file was modified doc/examples/4g_srsLTE/suites/4g/iperf3_ul.py
The file was modified doc/examples/4g_srsLTE/suites/4g/ping.py
The file was modified sysmocom/suites/dynts/switch_tch_pdch.py
The file was modified sysmocom/suites/gprs/ping_idle_ping.py
The file was modified sysmocom/suites/voice/lib/testlib.py
The file was modified sysmocom/suites/voice/mo_mt_call_osmux.py
The file was modified sysmocom/suites/encryption/lib/testlib.py
The file was modified sysmocom/suites/nitb_debug/interactive.py
The file was modified sysmocom/ttcn3/suites/ttcn3_bts_tests/lib/testlib.py
The file was modified sysmocom/suites/gprs/lib/testlib.py
The file was modified sysmocom/suites/gprs/iperf3m4.py
The file was modified sysmocom/suites/4g/ping.py
The file was modified sysmocom/suites/gprs/iperf3.py
The file was modified selftest/suite_test/test_suite/hello_world.py
The file was modified sysmocom/ttcn3/suites/ttcn3_bts_tests/ttcn3_bts_tests.py
The file was modified sysmocom/suites/smpp/esme_connect_policy_closed.py
The file was modified sysmocom/suites/sms/mo_mt_sms.py
The file was modified selftest/suite_test/test_suite/test_fail.py
The file was modified sysmocom/suites/nitb_netreg/register.py
The file was modified doc/examples/2g_osmocom/suites/sms/mo_mt_sms.py
The file was modified sysmocom/suites/nitb_smpp/esme_ms_sms_storeforward.py
The file was modified sysmocom/suites/smpp/esme_ms_sms_storeforward.py
The file was modified sysmocom/suites/nitb_smpp/esme_connect_policy_closed.py
The file was modified sysmocom/suites/nitb_ussd/assert_extension.py
The file was modified sysmocom/suites/encryption/register_a5_3_authreq.py
The file was modified sysmocom/suites/nitb_smpp/esme_connect_policy_acceptall.py
The file was modified selftest/suite_test/test_suite/test_error.py
The file was modified sysmocom/suites/voice/mo_mt_call.py
The file was modified sysmocom/suites/smpp/esme_ms_sms_transaction.py
The file was modified sysmocom/suites/4g/iperf3_dl.py
The file was modified sysmocom/suites/nitb_smpp/esme_ms_sms_transaction.py
The file was modified sysmocom/suites/nitb_sms/mo_mt_sms.py
The file was modified sysmocom/suites/smpp/esme_connect_policy_acceptall.py
The file was modified doc/examples/4g_srsLTE/suites/4g/iperf3_dl.py
The file was modified sysmocom/suites/gprs/cs_paging_gprs_active.py
The file was modified sysmocom/suites/encryption/register_a5_1_authreq.py
The file was modified sysmocom/suites/debug/interactive.py
The file was modified sysmocom/suites/4g/iperf3_ul.py
Commit 5b9c7b922acf09f49c4ca98fe67e4ea5d9795753 by Pau Espin Pedrol
testenv: deferr importing obj module class until use is required

Change-Id: Ie073256a03bb2d038ef7f715d534afb1c53bb241
The file was modified src/osmo_gsm_tester/testenv.py
Commit 407756968cfa241c31c3cb0b5d8ae443c4c200ba by Pau Espin Pedrol
check_dependencies: allow passing any module name to skip

Change-Id: I53a384d54f32d766f70bd7e0bfbd9702939c8aa8
The file was modified check_dependencies.py
Commit cc89cd0c5f58eea0bdc13c7b454f0fb94ee0a482 by Pau Espin Pedrol
ms_srs: import numpy module on first use

Change-Id: I2ce974954028bdbc7bc1561c4538b909edee2cb1
The file was modified src/osmo_gsm_tester/obj/ms_srs.py
Commit 45149393e7719d08964a422b1f3a46ac6e8f19e9 by Pau Espin Pedrol
esme: import smpplib module on first use

Change-Id: Icc92937fdada9210f788805dbc42b80014e345e8
The file was modified src/osmo_gsm_tester/obj/esme.py
Commit a1daa51665e1fc1d52fadb068ddba8d71c31783d by Pau Espin Pedrol
ms_ofono: import pydbus and GLib modules on first use

Change-Id: I754e1290eb5593c0ef168f74747f42db1b50f16c
The file was modified src/osmo_gsm_tester/obj/ms_ofono.py
Commit 326091555b28bc3777c3eb42e31e1f25a9deaf4b by Pau Espin Pedrol
powersupply_sispm: import sispm and usb modules on first use

Change-Id: I6045bb739e5c69972014a9d27be3a24b7ad61c9a
The file was modified src/osmo_gsm_tester/obj/powersupply_sispm.py
Commit a8b8990bb844c91a0474422b953605fa817f98c3 by Pau Espin Pedrol
rfemu_amarisoftctrl: import websocket module on first use

Change-Id: I568af52ffb7ac57222697f5d861a532c0e2a70de
The file was modified src/osmo_gsm_tester/obj/rfemu_amarisoftctrl.py
Commit 06376b779aa25e60d95f0e25f34f1b98562b45a6 by Pau Espin Pedrol
doc: Drop redundant app-name in install section

Change-Id: I6ec3c42efd3eb958f832ff9a797ddaa3dae4a99a
The file was modified doc/manuals/chapters/install.adoc
Commit 0baa5c7269adc231d5f71ab97315d9833015b555 by Pau Espin Pedrol
doc: install.adoc: Correctly split optional dependencies

Change-Id: Id8b5dcd15fd86c670915b928112699d831e6e7b0
The file was modified doc/manuals/chapters/install.adoc
Commit 17dd270cf4b2f60a0506660cac68293515cebac1 by Pau Espin Pedrol
Rework README file

Drop old one in doc/ which contains lots of outadated stuff already
placed in the User Manual.
Write a new markdown README in the root directory with pointers to
places in the repo and the issue tracket, ansible setup, etc.

Change-Id: I9febe56223eaeadc9d31291dd0110a11470e3ab1
The file was removeddoc/README.txt
The file was addedREADME.md
Commit 0dd4c0be10badb1daf705bdca543e92d9ab99ae2 by Pau Espin Pedrol
osmo-gsm-tester.py: Fix import error when using default-suites.conf

Recent commit refactoring stuff introduced an import error only
triggered when default-suites.conf is used (no -s param).
This commit fixes the issue.

Fixes: ea8c3d4b1235ef703e54cd963bc96f6716168387
Change-Id: I1534cfba55c69ed5c1354175f8b5df9b656b7d82
The file was modified src/osmo-gsm-tester.py
Commit eaefe6b5331ef304bb31fe69face2cb51d339f3c by Pau Espin Pedrol
suites/4g: Introduce sample handover test

This test currently only works with AmarisoftENB and srsUE, because:
* srsENB has no handover support yet
* AmarisoftUE doesn't provide any known way to verify handovers.

As a result, it usually runs with following filters and modifiers:
amarisoftenb-rftype@uhd+srsue-rftype@uhd+mod-enb-ncells@2+mod-enb-meas-enable

The get_counter() API may change in the future based on information
available from other implementations.

Change-Id: I0dff4af7e3a89804a03842ad4a4d697bca3a9773
The file was modified src/osmo_gsm_tester/obj/ms.py
The file was modified src/osmo_gsm_tester/obj/ms_srs.py
The file was addedsysmocom/scenarios/mod-enb-meas-enable.conf
The file was addedsysmocom/suites/4g/handover.py
Commit afa2fc3aa669912637c6f402b01ebf486a5e44fa by Pau Espin Pedrol
selftest/trial_test: Fix repr(RuntimeError) changing in new python version

If using python 3.8.2, the trailing comma at the end of parameters is
not longer there (probably got fixed, since it's not needed). That
change breaks expected output.

Change-Id: I6da3024f946c0e761099058e812c0eacf3d6071f
The file was modified selftest/resource_test.py
The file was modified selftest/trial_test.ok
The file was modified selftest/trial_test.py
The file was modified selftest/resource_test.ok
Commit fa653e4136d08e83d4f1d7dc4f415057920c8e33 by Pau Espin Pedrol
selftest/process_test: Fix output changing in new python version

On older versions apparently upon child termination due to SIGINT
subprocess.poll() returned 1. On new python versions (such as 3.8.2),
-2 is returned, according to documentation:

A negative value -N indicates that the child was terminated by signal N (Unix only).

Let's catch the SIGINT in the child process and exit with a known 42
value to fix different behavior.

Change-Id: I7949ff2b435e91e890061e6840b0f411f8b0a817
The file was modified selftest/process_test/foo.py
The file was modified selftest/process_test.ok
Commit 636f560dc2f26d303a0bdb7115744cb402159131 by Pau Espin Pedrol
selftest: Remove unused misc.py file

Change-Id: I167bce29d7b22956c82053dcae5634c23d405b3f
The file was removedselftest/misc.py
Commit ab1904a307b531dbd1c738ef04eeeeb68f9920b3 by Pau Espin Pedrol
selftest: Move tests into own subdirectories

Change-Id: Id21cda19df131e24402e1a593036e1e33a914920
The file was addedselftest/sms_test/sms_test.err
The file was addedselftest/lock_test/lock_test.sh
The file was addedselftest/log_test/log_test.py
The file was addedselftest/process_test/process_test.ok.ign
The file was addedselftest/log_test/log_test.ok
The file was addedselftest/suite_test/suite_test.ok
The file was addedselftest/cdf_test/cdf_test.py
The file was removedselftest/config_test.err
The file was removedselftest/process_test.err
The file was addedselftest/template_test/template_test.err
The file was removedselftest/suite_test.ok.ign
The file was removedselftest/log_test.py
The file was addedselftest/util_test/util_test.ok
The file was addedselftest/lock_test/lock_test.ok
The file was addedselftest/log_test/_prep.py
The file was addedselftest/sms_test/sms_test.ok
The file was addedselftest/trial_test/trial_test.ok.ign
The file was removedselftest/process_test.ok.ign
The file was addedselftest/trial_test/trial_test.err
The file was removedselftest/util_test.err
The file was removedselftest/lock_test.sh
The file was addedselftest/log_test/log_test.err
The file was addedselftest/lock_test/lock_test.err
The file was removedselftest/trial_test.py
The file was removedselftest/suite_test.ok
The file was modified selftest/_prep.py
The file was addedselftest/sms_test/sms_test.py
The file was addedselftest/resource_test/resource_test.ok.ign
The file was addedselftest/template_test/template_test.py
The file was removedselftest/suite_test.py
The file was removedselftest/trial_test.ok
The file was removedselftest/trial_test.err
The file was addedselftest/config_test/config_test.err
The file was addedselftest/lock_test/_prep.py
The file was removedselftest/resource_test.py
The file was removedselftest/cdf_test.py
The file was addedselftest/suite_test/suite_test.err
The file was modified .gitignore
The file was addedselftest/process_test/process_test.py
The file was addedselftest/sms_test/_prep.py
The file was addedselftest/suite_test/suite_test.ok.ign
The file was addedselftest/template_test/template_test.ok
The file was addedselftest/util_test/util_test.py
The file was removedselftest/suite_test.err
The file was addedselftest/lock_test/lock_test_help.py
The file was addedselftest/config_test/_prep.py
The file was removedselftest/process_test.ok
The file was addedselftest/trial_test/trial_test.py
The file was addedselftest/resource_test/resource_test.err
The file was removedselftest/util_test.py
The file was removedselftest/util_test.ok
The file was removedselftest/cdf_test.ok
The file was addedselftest/resource_test/conf/resources.conf
The file was removedselftest/log_test.ok
The file was addedselftest/cdf_test/_prep.py
The file was addedselftest/util_test/_prep.py
The file was removedselftest/sms_test.err
The file was removedselftest/lock_test_help.py
The file was removedselftest/lock_test.err
The file was addedselftest/process_test/process_test.err
The file was addedselftest/suite_test/_prep.py
The file was addedselftest/resource_test/resource_test.py
The file was addedselftest/config_test/config_test.py
The file was removedselftest/resource_test.err
The file was removedselftest/conf/paths.conf
The file was addedselftest/trial_test/_prep.py
The file was addedselftest/resource_test/conf/paths.conf
The file was modified selftest/all_tests.py
The file was removedselftest/config_test.ok
The file was addedselftest/process_test/process_test.ok
The file was addedselftest/resource_test/resource_test.ok
The file was addedselftest/util_test/util_test.err
The file was addedselftest/cdf_test/cdf_test.ok
The file was removedselftest/template_test.ok
The file was addedselftest/trial_test/trial_test.ok
The file was removedselftest/trial_test.ok.ign
The file was removedselftest/lock_test.ok
The file was addedselftest/process_test/_prep.py
The file was addedselftest/template_test/_prep.py
The file was removedselftest/log_test.err
The file was removedselftest/sms_test.py
The file was removedselftest/template_test.py
The file was addedselftest/suite_test/suite_test.py
The file was removedselftest/sms_test.ok
The file was addedselftest/resource_test/_prep.py
The file was removedselftest/resource_test.ok.ign
The file was removedselftest/resource_test.ok
The file was removedselftest/template_test.err
The file was removedselftest/conf/resources.conf
The file was addedselftest/config_test/config_test.ok
The file was removedselftest/config_test.py
The file was removedselftest/process_test.py
Commit e0b899079cb229be01a61e193995be351e45bd4c by Pau Espin Pedrol
schema: Allow keys to start with a number

YAML allows it, and it will allow suites tarting with a number on its
name (like the '4g' one) to register its own schema on next commits.

Change-Id: I64e5a9d6604085d3b17eba30498a5e7a66242cc8
The file was modified src/osmo_gsm_tester/core/schema.py
Commit 549826d424f0a034ee5933050f4f507289242ce2 by Pau Espin Pedrol
enb: add rf_port to cell list param

we need to make the rf_port a param in the cell list because for CA with
two cells on different EARFNCs, the RF port is different

for two cells without CA on the same EARFCN the RF port is the same

so we need to be able to configure it

Change-Id: I32e83cc34811588757104c5ce1cae7277402addd
The file was modified src/osmo_gsm_tester/templates/amarisoft_enb.cfg.tmpl
The file was modified sysmocom/defaults.conf
The file was modified src/osmo_gsm_tester/obj/enb.py
The file was modified src/osmo_gsm_tester/templates/srsenb_rr.conf.tmpl
Commit d27b3ba2e2279ab2b55bfea05d00add3af82e2b5 by Pau Espin Pedrol
srs_{enb,ue}: don't set sc12 as OTW format

Change-Id: I7fc20d998b082f5c37b2451f1900161f997954b1
The file was modified src/osmo_gsm_tester/obj/ms_srs.py
The file was modified src/osmo_gsm_tester/obj/enb_srs.py
Commit 3135a1ae7eb09d939b5d192eb864c60909cf3439 by Pau Espin Pedrol
Makefile: Add manual target to build user manual

Change-Id: I61ff89db5666248de47cb9752a2aecdd6fd06f02
The file was modified Makefile
Commit 94e7ef0f6c0314f9a827ac6cd344a3a8f60d397a by Pau Espin Pedrol
Makefile: Implement clean target

Change-Id: Ia21b0f184bfd454b3835774949f581a27860a80a
The file was modified Makefile
The file was modified selftest/Makefile
Commit 306373027a18f44ba6dec2370dfde9d83ad7eeec by Pau Espin Pedrol
Allow suites to dynamically register schemas so tests can receive parameters

Change-Id: Idbe99a35993d193cd97059feb980e61ff14c67ad
The file was modified doc/manuals/chapters/config.adoc
The file was addedselftest/schema_test/_prep.py
The file was addedselftest/schema_test/schema_case_03.conf
The file was modified src/osmo_gsm_tester/core/suite.py
The file was addedselftest/schema_test/schema_case_02.conf
The file was addedselftest/schema_test/schema_case_05.conf
The file was addedselftest/schema_test/schema_test.ok
The file was modified src/osmo_gsm_tester/core/schema.py
The file was modified src/osmo_gsm_tester/testenv.py
The file was addedselftest/suite_test/test_suite/test_suite_params.py
The file was addedselftest/schema_test/schema_test.err
The file was addedselftest/schema_test/schema_test.py
The file was modified selftest/suite_test/test_suite/suite.conf
The file was modified src/osmo_gsm_tester/core/test.py
The file was addedselftest/schema_test/schema_case_01.conf
The file was modified selftest/suite_test/suite_test.ok
The file was addedselftest/schema_test/schema_case_04.conf
The file was modified selftest/suite_test/suite_test.py
Commit fa02b9c677b98bb742116db904193ad2f96ea95e by Pau Espin Pedrol
suites: 4g: Parametrize handover.py test

Change-Id: I7de5acdaa6b905e52655786758bd51490add1d2b
The file was addedsysmocom/scenarios/suite-4g@.conf
The file was modified sysmocom/suites/4g/handover.py
The file was modified sysmocom/suites/4g/suite.conf
Commit 18ff1e6e25ed3d1cbb60474149daa9848027f0d4 by Pau Espin Pedrol
ms_driver: Fix typos after recent refactorings

Change-Id: Id9709743648d60792ec64c97ab1bc6811c4e3e1e
The file was modified src/osmo_gsm_tester/obj/ms_driver.py
Commit 06c82aee5ce007a2c5ba12cd59d3db158c593ee8 by Pau Espin Pedrol
Deprecate envvar OSMO_GSM_TESTER_CONF and remove other ones

Environment variable OSMO_GSM_TESTER_CONF is marked as deprecated and an
error is logged each time it's used. Same feature is available through
"-c" command line parameters, so having the envvar only makes things
more complex for no good reason. It cannot yet be completely dropped
since some environemnt still make use of it. Give some time to users to
adapt their setups.
Other environment variables setting some config apths can be dropped
since they are not being really used in any setup.

Change-Id: I7eb69f870d0dcb5906d45ae067d6bed1aabf5862
The file was addeddoc/examples/2g_osmocom/README.md
The file was removeddoc/examples/2g_osmocom/README.txt
The file was modified doc/manuals/chapters/config.adoc
The file was modified selftest/resource_test/resource_test.py
The file was removedsysmocom/README.txt
The file was modified src/osmo_gsm_tester/core/config.py
The file was addeddoc/examples/4g_srsLTE/README.md
The file was removeddoc/examples/4g_srsLTE/README.txt
The file was modified src/osmo-gsm-tester.py
The file was modified selftest/suite_test/suite_test.py
The file was addedsysmocom/README.md
The file was modified contrib/jenkins-run.sh
Commit 0bd048c6205a8fb0c2d947584ba899c545bee4f5 by Pau Espin Pedrol
osmo-gsm-tester.py: Update help description and remove old nope cmdline arg

Change-Id: I879a5c30c185905614c2c5a7d54eb33817c94c31
The file was modified src/osmo-gsm-tester.py
Commit 2a2d8464300677430c607f55aae0a00d0090a984 by Pau Espin Pedrol
obj: Fix objects placing their content in suite rundir instead of test rundir

Change-Id: I421d35473575086b93d5c8db98b909cc6c83d896
The file was modified src/osmo_gsm_tester/obj/bts_octphy.py
The file was modified src/osmo_gsm_tester/obj/bts_osmotrx.py
The file was modified src/osmo_gsm_tester/obj/enb_srs.py
The file was modified src/osmo_gsm_tester/obj/pcu_osmo.py
The file was modified src/osmo_gsm_tester/obj/stp_osmo.py
The file was modified src/osmo_gsm_tester/obj/bts_sysmo.py
The file was modified src/osmo_gsm_tester/obj/mgcpgw_osmo.py
The file was modified src/osmo_gsm_tester/obj/sgsn_osmo.py
The file was modified src/osmo_gsm_tester/obj/ms_amarisoft.py
The file was modified src/osmo_gsm_tester/obj/epc_srs.py
The file was modified src/osmo_gsm_tester/obj/bts_osmovirtual.py
The file was modified src/osmo_gsm_tester/obj/bts_oc2g.py
The file was modified src/osmo_gsm_tester/obj/ms_srs.py
The file was modified src/osmo_gsm_tester/obj/epc_amarisoft.py
The file was modified src/osmo_gsm_tester/obj/pcu_sysmo.py
The file was modified src/osmo_gsm_tester/obj/hlr_osmo.py
The file was modified src/osmo_gsm_tester/obj/pcu_oc2g.py
The file was modified src/osmo_gsm_tester/obj/enb_amarisoft.py
The file was modified src/osmo_gsm_tester/obj/bsc_osmo.py
The file was modified src/osmo_gsm_tester/obj/ms_ofono.py
The file was modified src/osmo_gsm_tester/obj/msc_osmo.py
The file was modified src/osmo_gsm_tester/obj/osmocon.py
The file was modified src/osmo_gsm_tester/obj/bts_nanobts.py
The file was modified src/osmo_gsm_tester/obj/iperf3.py
The file was modified src/osmo_gsm_tester/obj/nitb_osmo.py
The file was modified src/osmo_gsm_tester/obj/ggsn_osmo.py
The file was modified src/osmo_gsm_tester/obj/mgw_osmo.py
Commit aebaa3cf314b430f7ebf3f9fe593b9cb7add657e by Pau Espin Pedrol
suites/gprs: Catch unexpected iperf3 result content and print it

Change-Id: I10f7f682da023f5e05e461b73f55cc50c5f36f79
The file was modified sysmocom/suites/gprs/lib/testlib.py
Commit 620d2ee5ba9505931e5fa8d10f07cffeece8fb93 by Pau Espin Pedrol
ms_srs: fix numpy import

numpy is used in a few places in the class code so we need to jhave it
available in a bigger scope, while still only loading when needed.

Change-Id: Iea66e623e1c980a62d691e20dacb00df99fdd78f
The file was modified src/osmo_gsm_tester/obj/ms_srs.py
Commit b1d8d30526e49a4f2c8d89c0b35b78d2625a9145 by Pau Espin Pedrol
esme: fix smpplib imports

smpplib modules are used in several places, so it's not enough to import
them in the constructor since they are only imported for the function
scope.

Change-Id: I6511e28c7ef6aa86e85a7e03aa10a67d87896588
The file was modified src/osmo_gsm_tester/obj/esme.py
Commit 4e6b5077d0df3220057c79631d24876d15ed2b83 by Pau Espin Pedrol
Split Scenario class to its own file

Change-Id: Ia029de7ecda4c8dc3d0b4c412e4c9c0a65cf0185
The file was modified src/osmo_gsm_tester/core/suite.py
The file was modified src/osmo_gsm_tester/core/config.py
The file was modified selftest/suite_test/suite_test.py
The file was addedsrc/osmo_gsm_tester/core/scenario.py
Commit 0433c9b6719539575474cd45ffd46fc5a5c947e2 by Pau Espin Pedrol
selftest: Introduce scenario_test

This covers some unit tests for scenario module (Scenario class).

Change-Id: I4c80047bb03ae8254c192057007fa7df84478605
The file was addedselftest/scenario_test/scenario_case_02.conf
The file was addedselftest/scenario_test/scenario_test.ok
The file was addedselftest/scenario_test/_prep.py
The file was addedselftest/scenario_test/scenario_case_03@specific.conf
The file was addedselftest/scenario_test/scenario_case_01.conf
The file was addedselftest/scenario_test/scenario_test.py
The file was addedselftest/scenario_test/scenario_test.err
The file was addedselftest/scenario_test/scenario_test.ok.ign
The file was addedselftest/scenario_test/paths.conf
The file was addedselftest/scenario_test/scenario_case_03@.conf
Commit 6c6c0e85992beee8123e9afff9583034781b01e5 by Pau Espin Pedrol
Cmdline arg -c sets main configuration file (old paths.conf) instead of dir containing it

It has been notified that current configuration system is difficult to
understand and to use, so it has been envisioned to refactor it a bit.
The idea is that the user passes a -c path/to/main.conf file, which in
turn contains whatever osmo-gsm-tester main settings supports (basically
what old paths.conf used to be, plus some files harcoded to the same -c
directory are now configurable through the main configuration file).

Change-Id: Ieca65b71b543c44cfcec8e83efd0fe053c432e55
The file was modified src/osmo_gsm_tester/core/resource.py
The file was removeddoc/examples/4g_srsLTE/paths.conf
The file was modified selftest/suite_test/suite_test.py
The file was removedsysmocom/ttcn3/defaults.conf
The file was modified selftest/resource_test/resource_test.py
The file was removedsysmocom/ttcn3/paths.conf
The file was addeddoc/examples/2g_osmocom/main.conf
The file was addedsysmocom/ttcn3/main.conf
The file was addedsysmocom/main.conf
The file was modified src/osmo-gsm-tester.py
The file was modified doc/manuals/chapters/config.adoc
The file was modified src/osmo_gsm_tester/core/config.py
The file was modified contrib/jenkins-run.sh
The file was removeddoc/examples/2g_osmocom/paths.conf
The file was modified doc/examples/4g_srsLTE/README.md
The file was modified sysmocom/README.md
The file was addeddoc/examples/4g_srsLTE/main.conf
The file was modified sysmocom/ttcn3/jenkins-run.sh
The file was modified selftest/suite_test/suite_test.ok
The file was removedsysmocom/paths.conf
The file was modified doc/examples/2g_osmocom/README.md
The file was modified selftest/scenario_test/scenario_test.py
The file was modified selftest/scenario_test/scenario_test.ok
The file was modified selftest/resource_test/resource_test.ok
Commit fceb8e14dec6267461d899effc4f738327d83628 by Pau Espin Pedrol
doc/manuals: Swap order of schemas and config files

First explain the different config files and directories, later describe
the schemas used in each of them.

Change-Id: Iaf31808a655a5c77a1dfaa155e86d42585130820
The file was modified doc/manuals/chapters/config.adoc
Commit 1337fb8e48f6abe3718fbb5f279fbac0b7fef283 by Pau Espin Pedrol
Move check_dependencies.py to contrib/

Change-Id: I8def867b1042cbb98bb36ff4a473b4cdb92ce122
The file was addedcontrib/check_dependencies.py
The file was modified Makefile
The file was removedcheck_dependencies.py
Commit 656952760c1bc022a0caab1fd370740dd952a8d4 by Pau Espin Pedrol
Move update_version.sh to contrib/

Change-Id: I26218cd512a739fc26ba04be05f01260152d785f
The file was modified .gitignore
The file was modified Makefile
The file was removedupdate_version.sh
The file was addedcontrib/update_version.sh
Commit e972c9c52412d3d436fd963f507ffc144e24ebe2 by Pau Espin Pedrol
config: Allow setting trial directory in main.conf

Change-Id: Ia4141001d084f690897dbdff5eae6c69ff2e521c
The file was modified selftest/scenario_test/scenario_test.ok
The file was modified src/osmo-gsm-tester.py
The file was modified doc/manuals/chapters/config.adoc
The file was modified src/osmo_gsm_tester/core/config.py
The file was modified selftest/suite_test/suite_test.ok
The file was modified selftest/resource_test/resource_test.ok
Commit 27b609f4d354b05688da9e663167ae8b42d1af14 by Pau Espin Pedrol
ms_srs.py: Fix typos in comments

Change-Id: Iaa09ed696eb58e63c366f26e94c66f27b5f733bf
The file was modified src/osmo_gsm_tester/obj/ms_srs.py
Commit d79e7198043f8b2a2c8c4e5651d2ce323fd84963 by Pau Espin Pedrol
schema: Allow objects registering their own schema types

Change-Id: I998c8674a55531909bfeac420064c3f238cea126
The file was modified selftest/schema_test/schema_test.py
The file was modified selftest/schema_test/schema_test.ok
The file was addedselftest/schema_test/schema_case_06.conf
The file was modified src/osmo_gsm_tester/core/schema.py
Commit 3a0dea682e73c605c2a4d45f0e7a8a39fba3bb6b by Pau Espin Pedrol
iperf3: Support using configuring UDP protocol

Change-Id: I0b3545847b01ae3d029881f243fea276f0fa39de
The file was modified doc/examples/4g_srsLTE/suites/4g/iperf3_ul.py
The file was addedsysmocom/scenarios/cfg-iperf3-proto@.conf
The file was modified src/osmo_gsm_tester/obj/iperf3.py
The file was modified sysmocom/suites/4g/iperf3_ul.py
The file was modified doc/examples/4g_srsLTE/suites/4g/iperf3_dl.py
The file was modified sysmocom/suites/4g/iperf3_dl.py
The file was modified sysmocom/suites/gprs/lib/testlib.py
Commit 66ef9457cba0c2b311a7f57a5dc2a4b68a00e0cb by Pau Espin Pedrol
config: suites_dir and scenarios_dir are now a list of paths

This allows inheriting suites or scenarios from eg. sysmocom/ dir, while
still allowing to apply new suites and scenarios on top.

Change-Id: Icecdae32d400a6b6da2ebf167c1c795f7a74ae96
The file was addedselftest/suite_test/suitedirA/test_suite/test_fail.py
The file was removedselftest/suite_test/test_suite/test_fail_raise.py
The file was removedselftest/suite_test/test_suite/suite.conf
The file was modified selftest/suite_test/suite_test.ok
The file was addedselftest/suite_test/suitedirA/empty_dir/.unrelated_file
The file was modified sysmocom/main.conf
The file was modified src/osmo_gsm_tester/core/scenario.py
The file was modified selftest/suite_test/paths.conf
The file was removedselftest/suite_test/test_suite/mo_mt_sms.py
The file was modified selftest/scenario_test/paths.conf
The file was removedselftest/suite_test/test_suite/test_error.py
The file was removedselftest/suite_test/test_suite/test_suite_params.py
The file was addedselftest/suite_test/suitedirB/suiteB/test_success.py
The file was addedselftest/suite_test/suitedirA/test_suite/hello_world.py
The file was addedselftest/suite_test/suitedirA/test_suite/suite.conf
The file was removedselftest/suite_test/test_suite/hello_world.py
The file was addedselftest/suite_test/suitedirA/test_suite/mo_sms.py
The file was modified src/osmo_gsm_tester/core/config.py
The file was modified doc/manuals/chapters/config.adoc
The file was addedselftest/suite_test/suitedirA/test_suite/test_suite_params.py
The file was modified doc/examples/2g_osmocom/main.conf
The file was addedselftest/suite_test/suitedirA/test_suite/test_error.py
The file was removedselftest/suite_test/test_suite/test_fail.py
The file was modified src/osmo_gsm_tester/core/suite.py
The file was modified doc/examples/4g_srsLTE/main.conf
The file was modified selftest/scenario_test/scenario_test.ok
The file was addedselftest/suite_test/suitedirA/test_suite/mo_mt_sms.py
The file was addedselftest/suite_test/suitedirA/test_suite/test_fail_raise.py
The file was removedselftest/suite_test/empty_dir/.unrelated_file
The file was modified sysmocom/ttcn3/main.conf
The file was addedselftest/suite_test/suitedirB/suiteB/suite.conf
The file was modified selftest/resource_test/resource_test.ok
The file was modified selftest/resource_test/conf/paths.conf
The file was removedselftest/suite_test/test_suite/mo_sms.py
Commit f4ab97fb4a419b78536b8e0204ea69bafb52be11 by Pau Espin Pedrol
iperf3: Support runing test with bidirectional data

Change-Id: Ia6f12c65fd3ea26d412997741cb8685a9646af43
The file was modified sysmocom/suites/4g/handover.py
The file was modified doc/examples/4g_srsLTE/suites/4g/iperf3_dl.py
The file was modified doc/examples/4g_srsLTE/suites/4g/iperf3_ul.py
The file was modified src/osmo_gsm_tester/obj/iperf3.py
The file was modified sysmocom/suites/4g/iperf3_ul.py
The file was modified sysmocom/suites/4g/iperf3_dl.py
The file was modified sysmocom/suites/gprs/lib/testlib.py
Commit d84a8387be583e61101a7c9fc3868a66be930a91 by Pau Espin Pedrol
4g: Pass max bitrate to iperf3

Otherwise bitrate 0 (unlimited) does weird stuff, like iperf3 hanging
forever in DL.

Change-Id: I631243cce132923d9024f8161cf96161c51cdae5
The file was modified src/osmo_gsm_tester/obj/iperf3.py
The file was modified doc/examples/4g_srsLTE/suites/4g/iperf3_ul.py
The file was modified sysmocom/suites/4g/iperf3_ul.py
The file was modified sysmocom/suites/4g/iperf3_dl.py
The file was modified doc/examples/4g_srsLTE/suites/4g/iperf3_dl.py
Commit 0d64f165443a920e3ac39af5978e459c97df7808 by Pau Espin Pedrol
Replace RemoteProcessFixIgnoreSIGHUP with RemoteProcessSafeExit

The API was doing far more stuff than its name indicated. Even more
important stuff, like making sure the process is killed at the end with
-9 after ssh connection is dropped.

Change-Id: If043ecab509b34b0922824d73db916196274ec64
The file was modified src/osmo_gsm_tester/obj/ms_srs.py
The file was modified src/osmo_gsm_tester/core/remote.py
The file was modified src/osmo_gsm_tester/obj/bts_osmotrx.py
The file was modified src/osmo_gsm_tester/obj/epc_amarisoft.py
Commit 6f31de823e035e9bc89783a646ecfc834a77454a by Pau Espin Pedrol
enb_srs: Use RemoteProcessSafeExit instead of RemoteProcess

It is known that sometimes srsENB hangs until it is killed -9, specially
when using ZMQ backend. Let's use RemoteProcessSafeExit in order to make
sure it is killed in an acceptable time (srs binaries use some
preventive sigalarm 6 seconds auto-kill procedure, hence we use 7
seconds) before next test is started and potentially try to re-use the
same ENB and fails due to previous one still running.

Change-Id: I905bd753c7822feccf1c1bb59752698f1d1b85f0
The file was modified src/osmo_gsm_tester/obj/enb_srs.py
Commit 9dbdb623a0da0113330f41b7d1179e83067e9f77 by Pau Espin Pedrol
process: Log stdout tail when process exits with error

This is useful since remote processes we run under ssh end up merging
both remote stdout and sterr into local stdout.

Change-Id: Ibbfb099a667f21641075faa1858e0b9acd706fd2
The file was modified src/osmo_gsm_tester/core/process.py
Commit 2cfa4a3d3cd6557a4538caa9095fc917fa705fab by Pau Espin Pedrol
ms_srs: add max rolling average as metric operation

this allows to calculate the rolling average over a specific
window in time and take the maximum of that

this is useful to get average value for 30s UDP traffic for
example from the UE metrics

Change-Id: I34bbfe08dbc1f27b86c9805f54649d44d697fa18
The file was modified src/osmo_gsm_tester/obj/ms_srs.py
Commit 1a96ecdeb6a861062e3c768d1878460f1e8c93cd by Pau Espin Pedrol
ms_srs: allow + operator when specifying CSV columns

this allows to sum dl_brate and ul_brate and perform
the known operations, like max, average, etc. on both
UL and DL bitrate combined

For examples, with this CSV ..

time;cc;pci;earfcn;rsrp;pl;cfo;dl_mcs;dl_snr;dl_turbo;dl_brate;dl_bler;ul_ta;ul_mcs;ul_buff;ul_brate;ul_bler;rf_o;rf_u;rf_l;is_attached
1999;0;1;3400;-67;59;913;27;29;0.50;10432.000000;0;2.6;20;0.0;10848.000000;0;0.0;0.0;0.0;1.0
2998;0;1;3400;-67;59;912;28;29;0.50;2136.000000;0;2.6;20;0.0;1680.000000;0;0.0;0.0;0.0;1.0
3997;0;1;3400;-69;61;909;28;29;0.50;2136.000000;0;2.6;20;0.0;1680.000000;0;0.0;0.0;0.0;1.0

.. one could calculate the average of DL and UL bit rate with:

ue.verify_metric(1e6, operation='avg', metric='dl_brate+ul_brate', criterion='gt', window=test_duration)

and veriy that it's average is greater than 1 Mbit/s

Change-Id: I5c7c80bb107fa6b93b215176e6ebbb5dc8594860
The file was modified src/osmo_gsm_tester/obj/ms_srs.py
Commit 71b430c22fb6c718e67e49ab33ac8619f34b7b1c by Pau Espin Pedrol
enb: fix UL max rate calculation

don't double the maximum rate for UL traffic in MIMO since
we are only using MIMO in the downlink

Change-Id: I018e8ba8cb822a4bd57b8d0e420dd496172ac229
The file was modified src/osmo_gsm_tester/obj/enb.py
Commit 26890f3c3175991e4f6945ab9d8fcf8e91886ab4 by Pau Espin Pedrol
ms_srs: wait 6s after stopping srsUE

we've only waited when running with ZMQ but in fact we need
to always wait because the UE may need some time to
gracefully exit, i.e. send the detach request and shut down correctly.

this is checked in cleanup() and verity_metrics(), so also before copying back
the CSV metrics. But we only wait once.

Change-Id: I47e46b8ccce41c9a62d2d6866260d22c927e710d
The file was modified src/osmo_gsm_tester/obj/ms_srs.py
Commit 2e495749d5cf3bbe8329ce46a930b63d8f706042 by Pau Espin Pedrol
Fix processes run with RemoteProcessSafeExit not receiving stdin

Since the process is run in the background through the wrapper bash
script, stdin was disabled there. By explicitly redirecting the bash
process stdin we make sure it is always able to read from it.

Change-Id: I6cb7979aae0a7457919f353cbeb4c3b78cdd4919
The file was modified src/osmo_gsm_tester/core/remote.py
Commit 6e0b6fb0747b045e97e915e9ff9aeeb80c4c7f40 by Pau Espin Pedrol
Support identifying different tgz files based on run_label attribute

tgz files in trials can be categorized in subdirectories, allowing to
select different bianry files at runtime based on the target run node
which is going to run them. This way for instance one can have a binary
linked against libs for eg. CentOS under run_label "centos/" or an ARM
target under "arm", and then use "run_label: arm" on the resource using
it.

Change-Id: Iaf2e97da3aff693395f44f0e93b184d4846cf6da
The file was modified selftest/trial_test/trial_test.py
The file was modified selftest/trial_test/trial_test.ok.ign
The file was modified src/osmo_gsm_tester/core/trial.py
The file was modified selftest/Makefile
The file was modified selftest/trial_test/trial_test.ok
The file was addedselftest/trial_test/run_label/foobar/sample.tar.gz
The file was modified doc/manuals/chapters/trial.adoc
The file was modified .gitignore
The file was addedselftest/trial_test/run_label/checksums.md5
The file was addedselftest/trial_test/run_label/sample.tar.gz
The file was modified src/osmo_gsm_tester/obj/run_node.py
Commit e921995ce7966826a16709548a62b24e59cd698b by Pau Espin Pedrol
epc_{amarisoft,srs}: Support selecting tgz based on run_node's run label

Change-Id: I90b8dab8bdc9980a7d2486d890cff183c07f1809
The file was modified src/osmo_gsm_tester/obj/epc_srs.py
The file was modified src/osmo_gsm_tester/obj/epc_amarisoft.py
Commit 1abff4e260cb5b784d79701eebda9c1130990039 by Pau Espin Pedrol
enb: Reuse run_node to hold run info

Change-Id: If396940f154813d42ff3d3364c44b8979179127f
The file was modified doc/examples/4g_srsLTE/resources.conf
The file was modified src/osmo_gsm_tester/obj/enb.py
The file was modified src/osmo_gsm_tester/obj/run_node.py
The file was modified src/osmo_gsm_tester/obj/enb_amarisoft.py
The file was modified src/osmo_gsm_tester/obj/enb_srs.py
The file was modified sysmocom/resources.conf.prod
Commit 5f826be20aaf72882169167e13fee0a174e2b3f3 by Pau Espin Pedrol
ms_{srs,amarisoft}: Reuse run_node to hold run info

Change-Id: Ifdea48fed0bfc152131c53b87c34b4514c632917
The file was modified sysmocom/resources.conf.prod
The file was modified src/osmo_gsm_tester/obj/ms_amarisoft.py
The file was modified src/osmo_gsm_tester/obj/ms_srs.py
The file was modified doc/examples/4g_srsLTE/resources.conf
Commit b452ed6db14dd9fc1ab8543c41f89641ee4f5771 by Pau Espin Pedrol
enb_{srs,amarisoft}: Support selecting tgz based on run_node's run label

Change-Id: Ie1c8ccd2ffc9680bd72159872f3de0d59f1b9b0b
The file was modified src/osmo_gsm_tester/obj/enb_amarisoft.py
The file was modified src/osmo_gsm_tester/obj/enb_srs.py
Commit eddff7c03cfc8342e69002bff7586998283da962 by Pau Espin Pedrol
ms_{srs,amarisoft}: Support selecting tgz based on run_node's run label

Change-Id: I2c4cab02fa34c7acc7e57c3fec5a42c26d2a9208
The file was modified src/osmo_gsm_tester/obj/ms_amarisoft.py
The file was modified src/osmo_gsm_tester/obj/ms_srs.py
Commit 346ffd9192e3caa25eea1ffa989230337fd50438 by andre
enb: remove freq config for zmq operation

specifiying the rx/tx_freq for the eNB is optional. But when
it's done it needs to be correct. There seems to be an issue
when mapping the freq[0-3] between srsENB and Amarisoft eNB.

So it's safe to just drop the config here altogether.

Change-Id: I70f5776173c2df5894031f68df2f6c3a900b79f8
The file was modified src/osmo_gsm_tester/obj/enb.py
Commit eb7ced13670b7e6a82e5517e294d68abe4957ed3 by andre
ms_srs: sum bitrates for all component carrier

when calculating the dl and ul bitrate, it is required to take the
sum of all active component carriers since they are reported seperately
inside the CSV file

Change-Id: If30ec3f22ce5871f911433e6a6997e9c6e7ca210
The file was modified src/osmo_gsm_tester/obj/ms_srs.py
Commit 19fe3a1cafb944a4495dce2af78f04aad585697d by Pau Espin Pedrol
process: Fix wrong use of log.ctx(self)

That's not needed and will produce some parent loop detection in
log.find_on_stack() if logging is called under that stack frame.

Change-Id: I4ab7e8977fa9bad5c8956b7c1df1513b27bb5aa2
The file was modified src/osmo_gsm_tester/core/log.py
The file was modified src/osmo_gsm_tester/core/process.py
Commit cf6bec75426c361b3149622191e6a61e1450c454 by Pau Espin Pedrol
log: Improve log ctx information in log.Error exception

Before, it would show somethig like:
"""
osmo_gsm_tester.core.log.Error: Exited in error 255
"""

Now:
"""
osmo_gsm_tester.core.log.Error: rm-remote-dir(pid=24820): Exited in error 255 [trial↪4g:srsue-rftype@zmq+srsenb-rftype@zmq+mod-enb-nprb@6↪ping.py:9↪ping.py↪srsepc_10.42.42.118↪host-jenkins@10.42.42.110↪rm-remote-dir(pid=24820)]
"""

Change-Id: I8873f67a2f3df21c4dd552c92510535bf95e2c9d
The file was modified src/osmo_gsm_tester/core/log.py
Commit 7e30d84034d6c82099cf7000975ae4d17d58beb9 by Pau Espin Pedrol
process: Improve launch_sync() exception due to process failing

After this commit, in some situations ssh related errors are printed
directly in the exception to quickly find cause of the issue.

Example:
    FAIL: ping.py (5.0 sec) Error: rm-remote-dir(pid=25913): launch_sync(): local ssh process exited with status 255 (ssh: connect to host 10.42.42.110 port 22: No route to host) [trial↪4g:srsue-rftype@zmq+srsenb-rftype@zmq+mod-enb-nprb@6↪ping.py:9↪ping.py↪srsepc_10.42.42.118↪host-jenkins@10.42.42.110↪rm-remote-dir(pid=25913)]

Change-Id: Ia16c7dec96f70d761600ad6a50d9df8382d9c2c8
The file was modified src/osmo_gsm_tester/core/process.py
Commit 315ba57651d0a2c7c1edf77b5468240e9a6c29c9 by Pau Espin Pedrol
testenv: Get rid of 'resources' global variable

Change-Id: Id7576d21d0f9de29dd9bc4211eaf9b9ec634c990
The file was modified src/osmo_gsm_tester/testenv.py
The file was modified selftest/suite_test/suitedirA/test_suite/mo_sms.py
The file was modified selftest/suite_test/suitedirA/test_suite/mo_mt_sms.py
Commit 4ddcdaf62cde56137fd096d122b9bccdd7466cc3 by Pau Espin Pedrol
selftest: template: Test existing overlay dir features

Change-Id: Iff1a4dafcbf2193e95b1fb6e5a6712f1bcdd6309
The file was modified selftest/template_test/template_test.py
The file was addedselftest/template_test/mytemplatedir/osmo-bsc.cfg.tmpl
The file was removedselftest/template_test/osmo-nitb.cfg.tmpl
The file was addedselftest/template_test/mytemplatedir/mytemplate.cfg.tmpl
The file was modified selftest/template_test/template_test.ok
The file was modified src/osmo_gsm_tester/core/template.py
Commit 166dc10769b9df7c0ea21a9f08e608ad6a56e560 by Pau Espin Pedrol
testenv: Support test overlaying a directory to look for templates

This way tests which require a very specific config file can override
specific template files used by object classes.

Change-Id: I65d1b1e826d2d430ee83810d998b98d0ccaa07cd
The file was addedselftest/suite_test/suitedirB/suiteC/test_template_overlay.py
The file was modified selftest/suite_test/suite_test.ok.ign
The file was modified selftest/suite_test/suite_test.ok
The file was addedselftest/suite_test/suitedirB/suiteC/suite.conf
The file was addedselftest/suite_test/suitedirB/suiteC/mytemplatedir/.gitignore
The file was modified selftest/suite_test/suite_test.py
The file was modified src/osmo_gsm_tester/obj/stp_osmo.py
The file was modified src/osmo_gsm_tester/core/template.py
The file was modified src/osmo_gsm_tester/testenv.py
Commit ab78df2902144f705776022b9910bc02a20c9328 by Pau Espin Pedrol
doc: manual: Write initial Test API section

Change-Id: I86bc9a8a0b5ff50e72c21a4bd8a857830bd84c4c
The file was modified doc/manuals/chapters/test_api.adoc
Commit f3df1e45193d2a2e810478a5dd5aa3ce82491e34 by Pau Espin Pedrol
report: Add trial name to junit 'testsuites' node

Change-Id: I8cd62484bb67756e3d98d43a75731f4702acd2b7
The file was modified src/osmo_gsm_tester/core/report.py
Commit ef919c0f1c308b0f910570ae976badd48b92764c by Pau Espin Pedrol
report: Add trial commit info to junit file

Change-Id: I997bbbeb3807af5cd927594a4155b824f0c6d03d
The file was modified src/osmo_gsm_tester/core/report.py
The file was modified src/osmo_gsm_tester/core/trial.py
Commit f2c2a3472695afed8a147dc9b2fa68a9fca4957b by Pau Espin Pedrol
Fix ttcn3 testsuites after recent refactors

Change-Id: I545e3141ef56980e4ef2474b990bd4e4d4c21322
The file was modified sysmocom/ttcn3/suites/ttcn3_bts_tests/ttcn3_bts_tests.py
The file was modified sysmocom/ttcn3/suites/ttcn3_bts_tests/lib/testlib.py
Commit 32f3e169b3f770e3a040ce73bf6e1af2ccc473d6 by Pau Espin Pedrol
sysmocom/ttcn3/jenkins-run.sh: Pass confg file as cmdline

Fix after recent huge refactoring.

Change-Id: If0bcc9f7cb70e4ef324b3295d2174d11982a4bde
The file was modified sysmocom/ttcn3/jenkins-run.sh
Commit 487d1ef14279ee7e7f3b4d42cdc04ba69b129f28 by andre
amarisoft_enb: fix RI config

this cause all MIMO modes to fail because RI reporting was disabled

Change-Id: Ic25233cf7feb4ded8b3d0f440191cc958d8bc0ec
The file was modified src/osmo_gsm_tester/templates/amarisoft_enb.cfg.tmpl
Commit 61d150b1151669b301b4c4f720a6c41f4270b431 by andre
enb: refactor ue_max_rate() and move helper function back to sub classes

It turned out that the Amarisoft and SRS eNB scheduler produces
slightly different maximum data rates for both UL and DL.

Change-Id: I30fa7006906d101c53ba586fb06bced3945aa960
The file was modified src/osmo_gsm_tester/obj/enb.py
The file was modified src/osmo_gsm_tester/obj/enb_amarisoft.py
The file was modified src/osmo_gsm_tester/obj/enb_srs.py
Commit aa7b5b7751c8f1075092ea6079876276618306ba by andre
epc: add run function to EPC

this allows, for example, to run a ping originating from the core to the UE

Change-Id: Id86c61cbccd41b77f94f125d8d127e2ab5e46cd9
The file was modified src/osmo_gsm_tester/obj/epc.py
Commit 3c978fe0f2c53d4e8056d9c55f05e274f2d05953 by andre
ms_srs: add PRACH, reestablishment and paging counter

this allows to query the number of PRACH attempts and paging
messages received during a test

Change-Id: I592ace7c38d98bfbbec5001a3cdfffe21733ef9f
The file was modified src/osmo_gsm_tester/obj/ms_srs.py
Commit 98ad77e4a0645cd798fcfc67df7bbab985061307 by andre
srsenb_sib.conf_tmpl: fix whitespaces

Change-Id: Ifbd3c8bd97d7e2d3f165e88f3358dce9e7e33067
The file was modified src/osmo_gsm_tester/templates/srsenb_sib.conf.tmpl
Commit f7915a8509cf9ff31ee2e7a2429c10847a4f0ba4 by andre
srsenb_sib.conf.tmpl: increase default T311 value to 10s

this matches the default of Amarisoft eNB so tests can use the same values

Change-Id: Ic81fb6428751305d8b37a25bddb0d018ca6f51f6
The file was modified src/osmo_gsm_tester/templates/srsenb_sib.conf.tmpl
Commit 8eeea7f991ee7327a5151ef23553e59d254cda55 by andre
srsenb.conf.tmpl: reduce RRC inactivity timer to 5s

the default value of 60s is too long to trigger errors in the handling
of this timer. So a 5s timer is more likely to reveal potential issues
during the test execution

Change-Id: Id7a6739487c7875c4f26a47d05978c9ea9f33873
The file was modified src/osmo_gsm_tester/templates/srsenb.conf.tmpl
Commit 419a662f7642fde9324077acb3b55705401c5a67 by Pau Espin Pedrol
ms_srs: refactor UE state getter functions

rename UE helper functions to query RRC connected/idle state
and adapt tests accordingly

also add helper to retrieve assinged IP address

Change-Id: I6cd057e34b4df6a1a73695355dd6406d7e039546
The file was modified src/osmo_gsm_tester/obj/ms_srs.py
The file was modified src/osmo_gsm_tester/obj/ms_amarisoft.py
The file was modified sysmocom/suites/4g/handover.py
The file was modified sysmocom/suites/4g/iperf3_ul.py
The file was modified src/osmo_gsm_tester/obj/ms.py
The file was modified sysmocom/suites/4g/ping.py
The file was modified src/osmo_gsm_tester/obj/ms_ofono.py
The file was modified sysmocom/suites/4g/iperf3_dl.py
Commit 898a5aaf68f5b249d57655a9f00f141d7ee6067b by Pau Espin Pedrol
4g_suite: add MT and MO test cases

add two new test cases to test paging (MT) and MO traffic

Change-Id: I5c7639f2c6953964a5b6979bc35f59464dbda43f
The file was addedsysmocom/suites/4g/rrc_idle_mo_ping.py
The file was addedsysmocom/suites/4g/rrc_idle_mt_ping.py
Commit 07679207e27f03cc7d89a3be3558f1dd7407f665 by Pau Espin Pedrol
handover.py: fix typo in test

Change-Id: I9a52a341d7575807d3e52460e1aa24732e3b3112
The file was modified sysmocom/suites/4g/handover.py
Commit 10ed8dc3a7f86632b3073c35f85db8b0ef521efa by Pau Espin Pedrol
enb_srs: add extra head room for max rate with 6 PRB in MIMO mode

the overhead with 6 PRB and MIMO is a bit higher when compared
to other PRBs resulting in lower achievable throughput

Change-Id: I63888435553bba4f7be88cc745e24472921a7fb4
The file was modified src/osmo_gsm_tester/obj/enb_srs.py
Commit acdf416796ab5d63931ce0b5216885da9ade010c by Pau Espin Pedrol
enb_amarisoft: decrease max rate for TM2+

perhaps additional CRS for MIMO up to 25 PRB result in slighlt lower max rate

Change-Id: I128085e308f400622683905245d42f92a631e81d
The file was modified src/osmo_gsm_tester/obj/enb_amarisoft.py
Commit 0a5011047a7307ba096f0a23787558835b06d801 by Pau Espin Pedrol
enb,ms: refactor base_rate selection for ZMQ

Use tailored sample rate only use for 6, 50 and 75 PRB. For all other bandwidths,
we use the full LTE rate and downsample.
With 5.76e6 as base sample rate, for example, we had some issue during the tests like:

[zmq] Error: tx time is 0.178 ms in the past (7833600 < 7835648)
[zmq] Error: tx time is 0.011 ms in the past (7835520 < 7835648)

Using a higher sample rate seems to work better.

Change-Id: I53678587b2c5e0e5dccb1b55a328ad2f1a97fc4c
The file was modified src/osmo_gsm_tester/obj/ms_srs.py
The file was modified src/osmo_gsm_tester/obj/ms_amarisoft.py
The file was modified src/osmo_gsm_tester/obj/enb.py
Commit ffa325ede0155c76b3a4394ef5f5e8ff8b0fdaae by Pau Espin Pedrol
doc/manual: Fix links to nonexistent sections

Change-Id: I8742fa9c41d3ab95d41e299179df19c3d1e0a65b
The file was modified doc/manuals/chapters/config.adoc
The file was modified doc/manuals/chapters/install.adoc
Commit 3a81a7e4dc2951b2e60adc6b837ce92cad3549be by Pau Espin Pedrol
tests: Replace is_connected() with is_registered()

API was renamed and old name deprecated, let's use it everywhere.

Change-Id: Ic91dddcfd1a5a17c35d15a8a14628b3923229523
The file was modified sysmocom/suites/debug/interactive.py
The file was modified sysmocom/suites/nitb_netreg/register.py
The file was modified sysmocom/suites/smpp/esme_ms_sms_transaction.py
The file was modified sysmocom/suites/nitb_smpp/esme_ms_sms_transaction.py
The file was modified sysmocom/suites/nitb_ussd/assert_extension.py
The file was modified sysmocom/suites/gprs/lib/testlib.py
The file was modified sysmocom/suites/sms/mo_mt_sms.py
The file was modified sysmocom/suites/ussd/assert_extension.py
The file was modified sysmocom/suites/nitb_smpp/esme_ms_sms_storeforward.py
The file was modified doc/examples/4g_srsLTE/suites/4g/iperf3_dl.py
The file was modified src/osmo_gsm_tester/obj/ms_ofono.py
The file was modified sysmocom/suites/encryption/lib/testlib.py
The file was modified sysmocom/suites/dynts/switch_tch_pdch.py
The file was modified sysmocom/suites/nitb_sms/mo_mt_sms.py
The file was modified doc/examples/4g_srsLTE/suites/4g/ping.py
The file was modified sysmocom/suites/voice/lib/testlib.py
The file was modified doc/examples/4g_srsLTE/suites/4g/iperf3_ul.py
The file was modified sysmocom/suites/nitb_netreg/register_default.py
The file was modified doc/examples/2g_osmocom/suites/sms/mo_mt_sms.py
The file was modified sysmocom/suites/gprs/ping_idle_ping.py
The file was modified sysmocom/suites/smpp/esme_ms_sms_storeforward.py
The file was modified sysmocom/suites/gprs/ping.py
The file was modified sysmocom/suites/nitb_debug/interactive.py
Commit 664e383021748324c6066dd7cc27cdb3e306b796 by Pau Espin Pedrol
EventLoop: Fix log error "Origin parent loop" during wait()

Setting the log.ctx manually is not needed anymore and it's actually
harmful since all palces where it was used, a log.Origin already in path
was being passed, causing a origin loop.

Change-Id: I0511b9f7bc59e3c7f2269ff3155d0c95db58d063
The file was modified src/osmo_gsm_tester/obj/esme.py
The file was modified src/osmo_gsm_tester/obj/powersupply.py
The file was modified src/osmo_gsm_tester/obj/ms_ofono.py
The file was modified src/osmo_gsm_tester/obj/ms_srs.py
The file was modified src/osmo_gsm_tester/core/event_loop.py
The file was modified src/osmo_gsm_tester/core/process.py
The file was modified src/osmo_gsm_tester/obj/powersupply_sispm.py
The file was modified src/osmo_gsm_tester/obj/osmocon.py
The file was modified src/osmo_gsm_tester/obj/bts_nanobts.py
The file was modified src/osmo_gsm_tester/obj/bts_osmotrx.py
The file was modified src/osmo_gsm_tester/testenv.py
Commit 8ea4ba2e5a3009a5e2b30845104cc0445d728c13 by Pau Espin Pedrol
ttcn3: Don't overwrite output junit file on multiple testsuites

Change-Id: I803fa8766acb4e90c4a735a420b24ef18ef6b0c9
The file was modified sysmocom/ttcn3/suites/ttcn3_bts_tests/scripts/run_ttcn3_docker.sh
The file was modified sysmocom/ttcn3/suites/ttcn3_bts_tests/lib/testlib.py
Commit 9e2e8d218d3d054471b17dfb0b902d24267514a3 by Pau Espin Pedrol
log: Fix OriginLoopError generated in log.Error from testenv.poll()

Change-Id: Iea80d06a30346533e4ecec338b03c72d1f1067ae
The file was modified src/osmo_gsm_tester/core/log.py
Commit 3b49d464644576e9d932e1b0e92048c98b903b75 by Pau Espin Pedrol
amarisoft_enb: Properly set S1AP SCTP bind ip addr

Change-Id: I8e2b8609cb198c6d5e293cffaa0a9de99600f06d
The file was modified src/osmo_gsm_tester/templates/amarisoft_enb.cfg.tmpl
Commit a4bb6d315be17e1451bac0b6d4c33a0dd27ad276 by Pau Espin Pedrol
testenv: Add debug log when overlaying templates dir

Change-Id: I10fdfc5b2e3bf4c96941a3fae53230131f384de9
The file was modified selftest/suite_test/suite_test.ok
The file was modified src/osmo_gsm_tester/testenv.py
Commit 57e37f95e124efd9e491ee56267888b54b94ec57 by Pau Espin Pedrol
suites/4g: Wait for IP addr received before trying to use the link

Otherwise processes using the link like "ping" or "iperf3" may fail
because there's still no IP address assigned.

Change-Id: I28137f10a19db01fe90b24830a60342a448d1e92
The file was modified sysmocom/suites/4g/iperf3_ul.py
The file was modified sysmocom/suites/4g/iperf3_dl.py
The file was modified sysmocom/suites/4g/rrc_idle_mo_ping.py
The file was modified sysmocom/suites/4g/handover.py
The file was modified sysmocom/suites/4g/rrc_idle_mt_ping.py
The file was modified sysmocom/suites/4g/ping.py
Commit ec28572e423f18d998a383819bc4c0048fdca8a1 by Pau Espin Pedrol
test: Store brief log per test and use as default report_stdout

Change-Id: I0972ba56a42c24f3d3b1bc94bcbdaca86026046a
The file was modified src/osmo_gsm_tester/core/test.py
The file was modified src/osmo_gsm_tester/core/log.py
The file was modified src/osmo_gsm_tester/core/trial.py
Commit 7c759d9a89cde721811c158ff2c8cf6b2ffa6feb by andre
srsenb_sib.conf.tmpl: add default SIB3

if SIB3 isn't transmitted, the UE won't do HO and cell reselection

Change-Id: I329a59d9d0fa3b25bc00b760a455eadbe0b7220f
The file was modified src/osmo_gsm_tester/templates/srsenb_sib.conf.tmpl
Commit a9bc93da99fe279e61d5709604c66815dcd4de15 by Pau Espin Pedrol
iperf3: Fix iperf3cli.launch_sync() when configured to run more than 300 sec

process object always used timeout=300 while runnig wth launch_sync().
Let's allow replacing that value beforehand so that iperf3 can
pre-configure the process object and caller doesn't need to care about
calculating expected time.

Change-Id: I7f6c5078f648013515919aa35ebcdb3ef157b5e4
The file was modified src/osmo_gsm_tester/core/process.py
The file was modified src/osmo_gsm_tester/obj/iperf3.py
Commit 8cfb5d020f925a40432237170e41460cab616c14 by Pau Espin Pedrol
Remove all references to defaults: timeout: from suite.conf

This feature is not really implemented and maybe never was. In any case,
it makes sense to have that working per-test so we can specify different
values per test in case it's needed.

Change-Id: I3c1b95c10e974da87ec9abd25578d8bcc0bc55a3
The file was modified sysmocom/suites/4g/suite.conf
The file was modified selftest/suite_test/suitedirA/test_suite/suite.conf
The file was modified sysmocom/suites/nitb_smpp/suite.conf
The file was modified sysmocom/suites/nitb_sms/suite.conf
The file was modified sysmocom/suites/encryption/suite.conf
The file was modified selftest/suite_test/suitedirB/suiteB/suite.conf
The file was modified selftest/suite_test/suitedirB/suiteC/suite.conf
The file was modified sysmocom/suites/smpp/suite.conf
The file was modified sysmocom/suites/nitb_netreg/suite.conf
The file was modified sysmocom/suites/nitb_ussd/suite.conf
The file was modified src/osmo_gsm_tester/core/schema.py
The file was modified sysmocom/suites/nitb_netreg_mass/suite.conf
The file was modified doc/examples/4g_srsLTE/suites/4g/suite.conf
The file was modified doc/manuals/chapters/config.adoc
The file was modified sysmocom/suites/nitb_debug/suite.conf
The file was modified selftest/suite_test/suite_test.ok
Commit 444129ee1f1064d42c106c3d1d04203cf60900fb by Pau Espin Pedrol
test: Move duration time calculation to helper function

Change-Id: Ica2e7d92f37d18a4f8832f38d9f9f3baba8be09f
The file was modified src/osmo_gsm_tester/core/test.py
Commit a75f85a058db6d0b256c4b3137c4144ce20bd73f by Pau Espin Pedrol
Refactor test specific config parsing & generation

The dictionary is generated once during test creation at suite startup.

Change-Id: I4de511d64ccf65d2ec6eec45dcf28529b74c5d26
The file was modified src/osmo_gsm_tester/core/suite.py
The file was modified selftest/suite_test/suite_test.ok
The file was modified src/osmo_gsm_tester/core/test.py
The file was modified src/osmo_gsm_tester/testenv.py
Commit c3cf682afd09272c0faec629cd385cd8c2019d9c by Pau Espin Pedrol
Implement per-test timeout guard

Timeout value can be specified by test in suite.conf:

config:
  suite:
    <suite_name>:
      <test_name>:
        timeout: 2 # 2 seconds timeout

Change-Id: I522f51f77f8be64ebfdb5d5e07ba92baf82d7706
The file was modified src/osmo_gsm_tester/core/test.py
The file was modified src/osmo_gsm_tester/testenv.py
The file was modified doc/manuals/chapters/config.adoc
The file was modified selftest/suite_test/suitedirA/test_suite/suite.conf
The file was modified selftest/suite_test/suite_test.ok
The file was addedselftest/suite_test/suitedirA/test_suite/test_timeout.py
The file was modified src/osmo_gsm_tester/core/suite.py
The file was modified selftest/suite_test/suite_test.py
Commit 683d19653237efc9b03962b0724706619c0d0a6c by Pau Espin Pedrol
testenv: Prepend underscor to internal method

Change-Id: I2297f4b44d6f0c88409ab6982de4e3640a6a48b2
The file was modified src/osmo_gsm_tester/testenv.py
Commit e66e3aebb475b6e30c7f4f21565bb218409158d1 by Pau Espin Pedrol
config: Allow empty config files

Change-Id: Ic010e06220421df00405c5b6f5ad2e83514b6dcd
The file was modified src/osmo_gsm_tester/core/resource.py
The file was modified src/osmo_gsm_tester/core/config.py
Commit b0ebcbcf10aa95b1e938ce90ba00ae7213aa3b3c by andre
epc: refactor run_wait() method and rename to prepare_proc()

this refactor no longer enforces blocking operation of the process.
Instead it returns the process object to the caller who
can now run either proc.launch() for non-blocking operation
or proc.launch_sync() for blocking mode.

The non-block mode allos doing other stuff in the background,
for example controlling the rfemu while running a ping.

Change-Id: Ia6372e55a8829f722e40db537d9dfd63a94d1be9
The file was modified sysmocom/suites/4g/rrc_idle_mt_ping.py
The file was modified src/osmo_gsm_tester/obj/epc.py
Commit ccb632037d02ba1209f4e7f3ddc02c8212829e2b by andre
enb_amarisoft: fix typo

Change-Id: Ie898da5eae10af96c2bca6c2413bdff4a5160e9f
The file was modified src/osmo_gsm_tester/obj/enb_amarisoft.py
Commit 8b1547b56211dd030469a5bdf79c51b235f0f629 by andre
rfemu: add max attenuation getter

this allows to query the maximum channel attenuation from within a test case

Change-Id: I35f7cb188790c59bbf2450f78c663fbc9440e406
The file was modified src/osmo_gsm_tester/obj/rfemu.py
The file was modified src/osmo_gsm_tester/obj/rfemu_amarisoftctrl.py
The file was modified src/osmo_gsm_tester/obj/rfemu_minicircuits.py
Commit f678c4dfec0dc3b6b2b54aa7e6c5101d4a130430 by andre
iperf3: increase extra timeout to 30s

10s was too short and has still caused tests to fail because they were
stopped just before the iperf finished.

30s seems to be enought and has passed multiple times so far

Change-Id: I80b732a060356aa98882ff0e8b5debaf623ba0fb
The file was modified src/osmo_gsm_tester/obj/iperf3.py
Commit 393cd61382405df93c3e5c5b135f6ccaacf2bb3f by andre
amarisoft_drb.cfg.tmpl: adjust default values for QCI 1 and 2

use more realistic values for QCI 1 and 2 bearers to prepare
QoS operation

Change-Id: Ibfffde9ecccd473f22e816bd47e197fbe24b0ded
The file was modified src/osmo_gsm_tester/templates/amarisoft_drb.cfg.tmpl
Commit e592de80561377fdbf87b0822d2ff1f7098c0bf0 by Pau Espin Pedrol
srs: Convert additional_args attr to list to allow combining different params

Change-Id: I4b371332cd6fbe11b98c85c79a6f8fdcc776a57b
The file was modified src/osmo_gsm_tester/obj/enb_srs.py
The file was modified sysmocom/scenarios/mod-modem-args@.conf
The file was modified src/osmo_gsm_tester/obj/ms_srs.py
The file was modified sysmocom/scenarios/mod-enb-args@.conf
The file was modified src/osmo_gsm_tester/obj/enb.py
Commit d4dc2ad3a2767bcebf4eb2bba2cefee0c26f6d6e by Pau Espin Pedrol
selftest: Add test to verify junit xml report

Change-Id: I8cad02abe776cc00b513113dbaf3c948ea7956cd
The file was addedselftest/report_test/report_test.ok.ign
The file was addedselftest/report_test/report_test.py
The file was addedselftest/report_test/resources.conf
The file was addedselftest/report_test/_prep.py
The file was addedselftest/report_test/expected_junit_output.xml
The file was addedselftest/report_test/report_test.ok
The file was addedselftest/report_test/main.conf
The file was addedselftest/report_test/report_test.err
The file was modified src/osmo_gsm_tester/core/suite.py
Commit e3d1b61175d3f177ff15679954785d5d72b7ad8e by Pau Espin Pedrol
Add per-test KPI support

tests can now use 'tenv.test().set_kpis(some_dict)' to set any kind of
data as KPIs, which will be presented in the junit report.

The representation of KPIs in the xml file doesn't follow the junit
format, mainly because it has no support for per-test properties.

Change-Id: I00e976f65a202e82d440bf33708f06c8ce2643e2
The file was modified src/osmo_gsm_tester/core/report.py
The file was modified selftest/report_test/report_test.ok
The file was modified src/osmo_gsm_tester/core/test.py
The file was modified selftest/report_test/report_test.py
The file was modified selftest/report_test/expected_junit_output.xml
Commit be50eae49b77bf6f003cf95b0eeada8cd8f886f0 by andre
ms_srs: fix additional_args init

regressions after porting to list. init to new empty list

Change-Id: I06f370462934ca35f3aa13bbfcd9e5fc3df91895
The file was modified src/osmo_gsm_tester/obj/ms_srs.py
Commit 229f11647e64bcb0b1268b5c7a2561f87256bf0f by Pau Espin Pedrol
iperf3: Refactor iperf3cli popen arg list generation

Change-Id: I10ab737e1317a52b6ccbd0de2470a9cf0c90c934
The file was modified src/osmo_gsm_tester/obj/iperf3.py
Commit 5680255fb59b689c5aa4337541396f642af57837 by Pau Espin Pedrol
iperf3: Add support for setting TOS

Change-Id: I3ccc249ad1c9598c606303c52eff6823f45afa7b
The file was modified src/osmo_gsm_tester/obj/iperf3.py
Commit cedee0a00bdb8aa5fae121e4cbd3e41a29f97e62 by Pau Espin Pedrol
doc/manuals: Fix callout definition in code block

Currently osmo-gsm-tester master jenkins build fails while building
manual due to errors like:
"asciidoc: WARNING: test_api.adoc: line 42: no callouts refer to list
item 1"

According to asciidoc documentation in [1], code examples can be
annotated with callouts, but callouts need to be put inside source code
comments.

[1] http://www.methods.co.nz/asciidoc/chunked/ch20.html

Change-Id: I2213874592342b12adf7440b25edc706abfc78ba
The file was modified doc/manuals/chapters/test_api.adoc
Commit 62e887d9b4927d8d5d58349c2819b50e88653b63 by andre
amarisoft_enb.cfg.tmpl: expose log options

this allows to alter the log options through a modifier

Change-Id: Iecd24afe6b242fbebc8463c9e1fa1c3b60b27d01
The file was modified sysmocom/defaults.conf
The file was modified src/osmo_gsm_tester/templates/amarisoft_enb.cfg.tmpl
Commit 14bb5ff9de6eac1825fbd4b87be80b37c376f065 by Pau Espin Pedrol
ms_osmo_mobile.py: Fix missing sublcass implementation of abstract MS methods

Change-Id: Icddab08c84ef97924d10801d7128158f515bcd01
The file was modified src/osmo_gsm_tester/obj/ms_osmo_mobile.py
Commit 219ec75aa976a322558b43c20f7459104dea7c15 by andre
iperf3: add getter to read the actual run time of an iperf client run

this is helpful to run some action for the exact run time of an iperf3
session. note that if no time spec is given when calling
"prepare_test_proc()", a modifier could set the runtime of an DL experiment
to an arbitrary value so we need to have a mechanism to read
the actual time from within a test

Change-Id: I484a0add322ffd269a1e9df72a00cf348950b268
The file was modified src/osmo_gsm_tester/obj/iperf3.py
Commit 0957e9e09570c9d9bd977dde742a6acc9ee96e7a by andre
enb: add getter for number of cells of an eNB

In order to set up the channel emulator we need to calculate the total
number of RF channels that a eNB has from within a test.

Change-Id: If641993033eb5dcdc6e2d6afdc8426ed322241ca
The file was modified src/osmo_gsm_tester/obj/enb.py
Commit 55b455cbf64bd057d659ca58d78c2d37e00509a1 by andre
iperf3: add getter to retrieve received bitrate

Change-Id: Id5676ce002cab6d52480b9b0f996f3065fd5dda6
The file was modified src/osmo_gsm_tester/obj/iperf3.py
Commit d5a58d0d619d29f1a50001ab534ca19272a62efb by andre
ltemme: add two on-demand dedicated bearer for TOS 0xb8 and 0x60

two bearer of QCI 1 and 2

Change-Id: I857bed943b0184540b0a8ac696e7ebddd693be87
The file was modified src/osmo_gsm_tester/templates/amarisoft_ltemme.cfg.tmpl
Commit 7c1c8d62e8ca2e3baa9f4c51d9aca746f9dc567c by andre
ms_srs: fix scp-back-metrics routine

every call to verify_metrics would copy back metrics again. see log here:

23:29:22.149299 run                 srsue(pid=31521): Terminating (SIGINT)
23:29:22.368263 run                 srsue(pid=31521): Terminated: ok {rc=0}
23:29:28.401035 run      scp-back-metrics(pid=32265): Launched
23:29:29.423083 run      scp-back-metrics(pid=32265): Terminated: ok {rc=0}
23:29:29.490275 run      scp-back-metrics(pid=32271): Launched
23:29:30.513852 run      scp-back-metrics(pid=32271): Terminated: ok {rc=0}
23:29:30.550862 run      scp-back-metrics(pid=32277): Launched
23:29:31.573962 run      scp-back-metrics(pid=32277): Terminated: ok {rc=0}

this patch only copies back metrics only once. also make sure that, similar
to logs, metrics are always copied back at the end of the run even if they
are not used for metrics checking. this is needed to run the plotting
script.

Change-Id: Ie7c156a5b2c8768bf90ff8e86515976e0d454c25
The file was modified src/osmo_gsm_tester/obj/ms_srs.py
Commit 82ced3fb1da7af2875145ffb80483c0c1e2ce122 by andre
{enb,epc,ms}_srs: expose log.all_level parameter

expose paramter to set log level, use warning as default

Change-Id: I4e77e5351399aefef47a309c82b8805e2c6022c5
The file was modified src/osmo_gsm_tester/obj/epc_srs.py
The file was modified src/osmo_gsm_tester/obj/enb_srs.py
The file was modified sysmocom/defaults.conf
The file was modified src/osmo_gsm_tester/obj/ms_srs.py
The file was modified src/osmo_gsm_tester/templates/srsenb.conf.tmpl
The file was modified src/osmo_gsm_tester/templates/srsue.conf.tmpl
The file was modified src/osmo_gsm_tester/templates/srsepc.conf.tmpl
Commit 315b078fe8142e9d609e65a05c12f3a5cc4f38ce by Pau Espin Pedrol
Drop using patchelf out of PATH

New patchelf 0.11 release is out and it has fixes hitting us in both 0.9
and 0.10 on different binaries. So let's simply requiring having
patchelf 0.11 in all cases and be done with it (actually, if not running
4G binaries, using 0.9 is enough).

Related: OS#4389
Change-Id: I2701e46e7710db4c923a68e6b3a2f3c7b126f356
The file was modified src/osmo_gsm_tester/obj/ms_srs.py
The file was modified src/osmo_gsm_tester/obj/ms_amarisoft.py
Commit 20087ad8c46cbee43d83e25623dea39fcc30a074 by andre
process: provide API to return filename for process output

this is useful if the caller handles the opening/reading from
the file itself

Change-Id: I5e70fd1593a5bc7902fa218aae6452103545e4e0
The file was modified src/osmo_gsm_tester/core/process.py
Commit f14ff812ced98d6be55f6ebbb39056c103ccc81d by andre
{ms,enb}_srs: add method to read kpi from a test run

this method uses the kpi_analyzer module for analyzing
stdout, CSV metrics and the logfile (if present).

if the module can't be loaded, no KPI will be added.

Change-Id: I28226a375f9ac4e08424c488062ae6a74a19af92
The file was modified src/osmo_gsm_tester/obj/enb_srs.py
The file was modified src/osmo_gsm_tester/obj/ms_srs.py
The file was addedsrc/osmo_gsm_tester/obj/srslte_common.py
Commit 0694c30c8e5f9273d81ddc0f2a66a603404ab18f by andre
amarisoft_enb: update lteenb default parameter for PDCCH, SRS and CQI

those configs should provide better HO performance, PDDCH format is selected automatically

Change-Id: I62a4240ac062d793ae5e197f852ea09eb4fe4ae9
The file was modified src/osmo_gsm_tester/templates/amarisoft_enb.cfg.tmpl
Commit 8b27ded7812d28d1509b2718adcacb81200125ae by andre
test: append KPI rather than overwrite in set_kpi() method

this allows to call set_kpi() multiple times in one TC

Change-Id: I5f68d9e6e1135ee2afa79c9af2ed240d371214c4
The file was modified src/osmo_gsm_tester/core/test.py
Commit 9df7cd0a12cc1a1a736b56fb088c24ca80249be6 by andre
srsue.conf.tmpl: add default EARFCNs for 4xCA config

Change-Id: I553241735b5e204cb4be03936b90628d156c418c
The file was modified src/osmo_gsm_tester/templates/srsue.conf.tmpl
Commit ba40facbafebddbcae169585b71abb77b89c1faf by andre
enb_srs: remove comment introduced through copy+paste

Change-Id: I7d14ae5c17bd1cd1c1b23657dc60dc331519e32c
The file was modified src/osmo_gsm_tester/obj/enb_srs.py
Commit f8c99a863d025f2f5526bedb56d70fa6ba36503d by andre
ms_srs: add min_rolling_average calculation

useful metric to detect low/zero downlink throughput for longer
time periods

Change-Id: I77a82a68689bc6c21cb9227dc9e7616d03e2b547
The file was modified src/osmo_gsm_tester/obj/ms_srs.py
Commit 2ebcff934da6c7e481ad8eeda99ca626e721e725 by andre
enb_amarisoft: register log options as config scheme

allows setting those in scenario files

Change-Id: Idefd3c628441ededbee9411117ec426dd585eae0
The file was modified src/osmo_gsm_tester/obj/enb_amarisoft.py
Commit 969a4eebaefdeb62a80b9f6b746ba69574a14c0a by Pau Espin Pedrol
Introduce stress tool object

This object allows to run the "stress" cmdline program in the background
on the specifies run_node, to simulate system load.

To run stress, a test can simply do:
stress = tenv.stress(epc.run_node())
stress.start(cpu_workers=2, mem_workers=1, io_workers=1)

And the test environment will remember to stop it when the test finishes.

Change-Id: I21023e6c64c48109f294291bfe3d8d8f4e1de038
The file was modified src/osmo_gsm_tester/testenv.py
The file was addedsrc/osmo_gsm_tester/obj/stress.py
Commit 955249d39da8f1d01b5876cd274c6fb283737c2c by Pau Espin Pedrol
enb_amarisoft: add option to enable and configure DL AWGN channel

expose option to enable DL AWGN noise and make SNR configurable

Change-Id: Ib248e87e5abd855d4c974eab42ec40828c6e1d40
The file was modified src/osmo_gsm_tester/obj/enb.py
The file was modified src/osmo_gsm_tester/obj/enb_amarisoft.py
The file was modified sysmocom/defaults.conf
The file was modified src/osmo_gsm_tester/templates/amarisoft_enb.cfg.tmpl
Commit 69dd689644f65bf6132a6743644de5be9ff178aa by Pau Espin Pedrol
rfemu_minicircuits: reset attenuation to zero in dtor

this avoids issues when the channel emulation stops in the middle
of a high attenuation values and the device is left in this state.

Change-Id: I9aeafc68bf81b8932aac4cb28040b9aea6bfcbdb
The file was modified src/osmo_gsm_tester/obj/rfemu_minicircuits.py
Commit 59c83a2159cd646683c59d5b1c703d89a1c718a7 by Pau Espin Pedrol
srsue.conf.tmpl: use UE cat 8 whenever more than one carrier is configured

Change-Id: Id96827960cac436b8ac363e28c2b0ab7b6acf57f
The file was modified src/osmo_gsm_tester/templates/srsue.conf.tmpl
Commit 008fd3194bd5641106a5361c33179ab9b5f8b453 by Pau Espin Pedrol
enb_amarisoft: add support for PHY signal log file

when phy.signal=1 is set in the log_options, the eNB will dump
a binary file that needs to be copied back as well

Change-Id: I63d13cb74572ac065d5a3fcfb1632552d0a6dbc6
The file was modified src/osmo_gsm_tester/obj/enb_amarisoft.py
Commit b92e2d1c9932ebcdd0f2b3f2193d86a02c617815 by Pau Espin Pedrol
jenkins-build-srslte.sh: pass extra configuration_opts to build_repo

this allows to pass extra CMake opts to, e.g., enable address sanitizer

Change-Id: I6fd00025a7225b1e075704d69354a8eb5e7f30ec
The file was modified contrib/jenkins-build-srslte.sh
Commit 1dddb7b264bdeb24ddf338b3b93d3dc6a657968b by Pau Espin Pedrol
srsepc.conf.tmpl: zero-pad mnc and mcc in config

srsEPC expect zero-padding MNC/MCC in config file. However,
001 and mcc will end up as 1 in the rendered template.
Therefore, they need to be formatted correctly.

Change-Id: Ie63cd1b15b961e493a6dcbd7e5a4fbabe0bb6f33
The file was modified src/osmo_gsm_tester/templates/srsepc.conf.tmpl
Commit f1b43f956c8175aea0cfa5be7c88808af2ffb079 by Pau Espin Pedrol
contrib/jenkins-build-amarisoft.sh: Pass srsLTE.git branch explicitly

This allows easily changing the branch for local builds.

Change-Id: I9765e1ebdd7488788be5f5c7259cf8b6e04e58f6
The file was modified contrib/jenkins-build-amarisoft.sh
Commit 4130eef9651088634c129d310d2ff4a05221f353 by Pau Espin Pedrol
contrib/jenkins-build-amarisoft.sh: Allow generating trial without lteue

Some Amarisoft bundles may come without lteue in it. Allow the script to
run if that's the case by setting an envvar.

Change-Id: I363b44cd8aa48f80d24219b6bf5b3ebde580e3c3
The file was modified contrib/jenkins-build-amarisoft.sh
Commit f96d590703e6328c181414b8315f41a43e05e95f by Pau Espin Pedrol
amarisoft_ltemme_ifup.sh: use ip cmd instead of ifconfig

ifconfig is deprecated and not available in newer distros.

Change-Id: I93e4b7f3c9bee2563c0e01a1ff7e832e5098cf1f
The file was modified utils/bin/osmo-gsm-tester_amarisoft_ltemme_ifup.sh
Commit 0f7f265114742ba2ca9e88c0dfb94ffe5537d72e by Pau Espin Pedrol
4G: Add milenage support

Change-Id: I4c1fb9bfec9927f2bfa29e6b27959323838f59e5
The file was modified src/osmo_gsm_tester/obj/epc_amarisoft.py
The file was modified src/osmo_gsm_tester/obj/ms_amarisoft.py
The file was modified src/osmo_gsm_tester/core/schema.py
The file was modified src/osmo_gsm_tester/obj/epc_srs.py
The file was modified src/osmo_gsm_tester/templates/srsue.conf.tmpl
The file was modified src/osmo_gsm_tester/obj/ms.py
The file was modified src/osmo_gsm_tester/templates/srsepc_user_db.csv.tmpl
The file was modified src/osmo_gsm_tester/obj/ms_srs.py
The file was modified sysmocom/resources.conf.prod
The file was modified src/osmo_gsm_tester/templates/amarisoft_ltemme.cfg.tmpl
The file was modified src/osmo_gsm_tester/templates/amarisoft_lteue.cfg.tmpl
Commit 6b9a50e2e12423e2a3f5181bf24294d1297d7ab7 by Pau Espin Pedrol
iperf3: Avoid creating empty log file

Since a while ago, we avoid by default using the --logfile param to log
the json output to a different file, in order to stay compatible with
older versions of iperf3.
However, the local logfile was still being created, and was not
overwritten with the remote file with content because there's none
created remotely (due to reasons explained above).

Change-Id: I218ec28dc65febc7bd083d6d15854319bf4f3daf
The file was modified src/osmo_gsm_tester/obj/iperf3.py
Commit 03fab0922e6a1e0968836157fdcfd69ee67d4294 by Pau Espin Pedrol
iperf3: server: Avoid copying logfile during cleanup if already copied previously

Change-Id: I44e28f326fd476d27eb021922d38e9ca913aec69
The file was modified src/osmo_gsm_tester/obj/iperf3.py
Commit 5c4c052d81aa13383a2d67ac8aa2b333d8e43813 by andre
amarisoft_{mme,enb}: make sure mcc/mnc are zero padded

same as for srsEPC this is also required for Amarisoft MME and eNB to support, i.e. 001/01

Note that the 3 digit MNC isn't covered by this.

Change-Id: I80a84e01ec9530c285634452d7c18c17bdd595ce
The file was modified src/osmo_gsm_tester/templates/amarisoft_ltemme.cfg.tmpl
The file was modified src/osmo_gsm_tester/templates/amarisoft_enb.cfg.tmpl
Commit 053ee5fbb75099704c085c3fb23536b22c42d324 by andre
iperf3: increase additional wait time for iperf client

we've noticed that the Iperf client times out too soon in
some experiment. It seems that this happens with ZMQ if
the RAT is too slow (slower than realtime) and the eNB buffers
too much data. This causes iperf to still receive DL data
for example long after the configured runtime.

Change-Id: I9b823ab22812c96920d54fb7342c8d4c578d5270
The file was modified src/osmo_gsm_tester/obj/iperf3.py
Commit bafedff96355227d6dd01c8d3a05a50b0c1731a8 by andre
amarisoft_drb: adapt QCI 8 config for ZMQ operation

we use the otherwise unused QCI 8 as a slightly modified
version of QCI 7 (default RLC UM) with a PDCP discard
timer set to infinity to avoid dropping PDCP SDUs if
packets arive faster than can be processed in the DL

Change-Id: I06b7b583701f90827fba36564f969b5d58c9b9ad
The file was modified src/osmo_gsm_tester/templates/amarisoft_drb.cfg.tmpl
Commit dbe4bb3cb1dc2ad1d006708a19cd30c5419af6d2 by andre
amarisoft_enb.cfg.tmpl: enable eNB PCAP if configured

enable PCAP output in eNB config

Change-Id: I8482315ce854c5b21a90b77de55dbb82f3049bcd
The file was modified src/osmo_gsm_tester/templates/amarisoft_enb.cfg.tmpl
Commit 6039c1ce4fb80998795ecb0cd65f05aadd410a0c by andre
srsenb_drb.conf.tmpl: add QCI8 config

add QCI config with RLC UM and PDCP SDU discard set to infinity

Change-Id: If946f569f7bbb98fc754f30ff5627fa5ca4afe68
The file was modified src/osmo_gsm_tester/templates/srsenb_drb.conf.tmpl
Commit d81b1e4499c2ceb3f8abd4a57b8740d8ecc8d673 by andre
suite: fix runtime error when suite.duration is None

report generation failed when duration was not set correctly
and None was returned. Use 0 as duration by default.

Change-Id: Ia654c67bf2dcce432f84e869550c516d8d5a07a0
The file was modified src/osmo_gsm_tester/core/suite.py
Commit ed5c7761007eacc8b8ea5db1a14ada0a9acddb4d by Vadim Yanitskiy
ttcn3/lib/testlib.py: make list of kwargs git friendly

Change-Id: I3b9e8d95b871f8bf5043b168fee0716c71becbe5
The file was modified sysmocom/ttcn3/suites/ttcn3_bts_tests/lib/testlib.py
Commit d1cb75935aaa947b18342475c508b6c5c96fe71a by Vadim Yanitskiy
ttcn3/lib/testlib.py: implement the concept of test case groups

Change-Id: I687c221e4a6c7232290509cb11a3158d72b9c2c3
The file was modified sysmocom/ttcn3/suites/ttcn3_bts_tests/lib/testlib.py
The file was modified sysmocom/ttcn3/suites/ttcn3_bts_tests/scripts/BTS_Tests.cfg.tmpl
The file was modified sysmocom/ttcn3/suites/ttcn3_bts_tests/ttcn3_bts_tests.py
Commit e42631a7308fbc64f6e36adbbaf66990834e6552 by Vadim Yanitskiy
ttcn3/suites/bts: also enable both BTS_Tests_{SMSCB,LAPDm}

Change-Id: I8eb28584e90ad012cbf7f3175ee3a8e775c8d523
The file was modified sysmocom/ttcn3/suites/ttcn3_bts_tests/ttcn3_bts_tests.py
Commit ac5f6f8bdc2d99af9237da850a1742c10e3eb8cf by Vadim Yanitskiy
ttcn3/suites/scripts: collect core dumps: add '--ulimit core=-1'

Change-Id: Ie3457f10f1a398c8cce6737002410f42ad908702
The file was modified sysmocom/ttcn3/suites/ttcn3_bts_tests/scripts/run_ttcn3_docker.sh
Commit 25743bc482ba8670d7a3c020d867eac5c40b9787 by Vadim Yanitskiy
ttcn3/lib/testlib.py: increase test suite execution timeout

Since I8eb28584e90ad012cbf7f3175ee3a8e775c8d523, the test suite
is supposed to run both BTS_Tests_{SMSCB,LAPDm}.control among with
BTS_Tests.control.  Apparently this requires more time than 3600
seconds, so everything is broken since build #2652 in Jenkins.

Change-Id: Ieceab920a94cbf92ff6c83a59d572f22e8ae933f
The file was modified sysmocom/ttcn3/suites/ttcn3_bts_tests/lib/testlib.py
Commit a7b21a888bfaa8fe3477ae35920d93f93f09ccfb by andre
srs{ue,enb}.conf.tmpl: remove restriction of PHY threads for ZMQ

we now support any number of PHY threads also with ZMQ operation

Change-Id: I31abfce742f757179fbfe4099cd0a934db4e63d7
The file was modified src/osmo_gsm_tester/templates/srsue.conf.tmpl
The file was modified src/osmo_gsm_tester/templates/srsenb.conf.tmpl
Commit 58422c5e870ce8fe8c27be93d57f4401e4466dc2 by andre
enb_srs: add sleep after stopping srsENB to allow log flush

add similar concept used in the UE to allow the process to flush
the logs

Change-Id: I9f8341869f89cd7ae845072b9da4f6070fa2d242
The file was modified src/osmo_gsm_tester/obj/enb_srs.py
Commit d899cf4b4e3314ec148cd4855c0d22fb74421cea by andre
rfemu_amarisoft: handle exception and log event if WS is closed

the WS is closed if the eNB process dies. this patch will log an
event but not stop the experiment.

Change-Id: I0fafc7e38954400540375d51813e96500700f50c
The file was modified src/osmo_gsm_tester/obj/rfemu_amarisoftctrl.py
Commit 736c30b4dcb3899c57f763259869a455f55efe41 by andre
srsenb_rr.conf.tmpl: reduce PUCCH PRBs for SR and CQI to 1

this gives higher UL throughput because less resources are reserved for
SR/CQI. For more users we may have to make the value configurable again.

Change-Id: If6c313a1deafffda26e9effeb807ca71064c46bc
The file was modified src/osmo_gsm_tester/templates/srsenb_rr.conf.tmpl
Commit 0cfc08436dafa5e37eef91b6f7e4fe50b5a08035 by andre
enb: expose RRC inactivity timer

allow the user to specifiy the RRC inactiviy timer used in the eNB.
set the default value to 20s

Change-Id: I6a264b8dee893b883d40a48831cbb47eb15e1e7b
The file was modified sysmocom/defaults.conf
The file was modified src/osmo_gsm_tester/templates/amarisoft_enb.cfg.tmpl
The file was modified src/osmo_gsm_tester/templates/srsenb.conf.tmpl
The file was modified src/osmo_gsm_tester/obj/enb.py
Commit 9bcbb9aea77f944b87ba098123e6b15f5d029992 by andre
ms_srs: trim leading zeros in UE metrics when calculating min_rolling_avg

this avoids a false negative detection when the UE attach takes a bit
longer and the first seconds all zeros are reported in the CSV

the HO test, for example, would fail in such a case as it expects
no zero TP over the course of the experiment.

Change-Id: I96dab17bb19249504dedda6659aed5eac0a65a26
The file was modified src/osmo_gsm_tester/obj/ms_srs.py
Commit cda03cb81557402f06dd8414d89a4fb5a3d1f545 by andre
4g: consider number of component carriers for max rate calculation

when carrier aggregation is enabled we need to multiply the
max rate of a single carrier with the number of carriers to
get the actual achievable rate

Change-Id: I70d850c0996ed461d3733e911adc33f3554c297c
The file was modified sysmocom/suites/4g/iperf3_dl.py
The file was modified sysmocom/suites/4g/iperf3_ul.py
Commit a7a89bdd32bba280967b6a76964366eeffdcb59b by Pau Espin Pedrol
bts-trx: Disable power-ramp

Power ramping features were implemented recently for osmo-bts-trx. We
don't want to enable them because it makes phones take longer (if even
at all) to find the network.

Change-Id: I35e2f560b28eddef886ad3b2f8ffb4ff79be77da
The file was modified src/osmo_gsm_tester/templates/osmo-bts-trx.cfg.tmpl
Commit 1b99ad67d27e90a964d69d91e1ff6c05a1244f86 by Pau Espin Pedrol
osmo-trx: Set more restrictive logging levels to avoid sporadic high load on stderr

Change-Id: I9dca89027d9015b946440363eae5f7bd3e082268
The file was modified src/osmo_gsm_tester/templates/osmo-trx.cfg.tmpl
Commit 7cb6badec10e5f1deba16a52d834c12929654027 by Pau Espin Pedrol
testenv: Fix missing import module util

util module is used in prompt() method (debug suite, interactive test).

Change-Id: I9bb759d053a99108f121f1c4f7994726b6075fee
The file was modified src/osmo_gsm_tester/testenv.py
Commit 2159cfe01fe4f4edf95a4a9fccc34f7907b655fc by Pau Espin Pedrol
contrib: osmo-trx: Drop explicit --without-sse

Nowadays we have instruction set runtime detection, so there's no point
in disabling it in the binary, specially because nowadays we run in sse
capable host (despite in the past we didn't and there was no runtime
detection, hence why was it explicitly disabled).

Change-Id: I2ffdc60c7644bb514a3854965d17109e91dda800
The file was modified contrib/jenkins-build-osmo-trx.sh
Commit 7d3b83ee9335f261124ac2c82603cd287d61765f by laforge
enb: incorporate number of carriers into ue_max_rate() API

this allows the enb to calculate the max rate in a single
spot rather than each test individually

Change-Id: Id225a986e0b271cf9c057c74c9aefd6c7f3d39d6
The file was modified src/osmo_gsm_tester/obj/enb_amarisoft.py
The file was modified src/osmo_gsm_tester/obj/enb.py
The file was modified sysmocom/suites/4g/iperf3_ul.py
The file was modified src/osmo_gsm_tester/obj/enb_srs.py
The file was modified sysmocom/suites/4g/iperf3_dl.py
Commit 4db88de2fa559c436558866b83567a70a6ddaa50 by laforge
enb_srs: expose DL AWGN channel modifier for srsENB

we've added the modifier to configure Amarisoft eNB channel
model. This patch enables it for srsENB.

Change-Id: I30e65d0431b2d2792986128287caf8b23a22b2c1
The file was modified src/osmo_gsm_tester/obj/enb_srs.py
The file was modified src/osmo_gsm_tester/templates/srsenb.conf.tmpl
Commit 645b5ccd8eacff8c27bd6b985e38c5d0971eccd8 by andre
enb_amarisoft: temporary reduce max UL rate on 2nd CC

this is due to a confirmed bug in Amarisoft eNB. will
be reverted as soon as the fix is released.

Change-Id: I182b46cf9e6c2f428c9535edf3c7df3daa912f18
The file was modified src/osmo_gsm_tester/obj/enb_amarisoft.py
Commit 52fb33cd9cc47cec4f1e6b98ee7cb67f8036c628 by andre
srsenb_rr.conf.example: comment CQI and SR specific subframes

this enables auto-selection by eNB which has been implemented
recently

Change-Id: I17e16c5c47a2fba5c2955a1c3e6e0e16f83bab72
The file was modified src/osmo_gsm_tester/templates/srsenb_rr.conf.tmpl
Commit 3d3bbcb3aead318b11d0ebc957358d29779f19f4 by andre
reduce max expected UL rate for 4xCA 100 PRB

this needs to be reverte once extendedBSRs are supported

Change-Id: I8432c744868afe43e2b150f6fcecd8cb3a0458a3
The file was modified src/osmo_gsm_tester/obj/enb_srs.py
Commit 99fb78bfca03b97f1bd5b5cbbd5b39db85d702f0 by andre
{enb,epc,ms}_srs: refactor start/stop and KPI helpers

refactor some of the functionality to srslte_common

Change-Id: I2ff36df6f1a07ed8ddac39d296d62fe44a215283
The file was modified src/osmo_gsm_tester/obj/epc_srs.py
The file was modified src/osmo_gsm_tester/obj/srslte_common.py
The file was modified src/osmo_gsm_tester/obj/ms_srs.py
The file was modified src/osmo_gsm_tester/obj/enb_srs.py
Commit eb991f5f5ab20a4456146171d3823079a780ae22 by andre
srsenb_rr.conf.tmpl: set TAC for cells to 0x0007

this is the default TAC used in the EPC. A recent EPC patch
will reject the S1 setup request if the TACs don't match

Change-Id: I94fdb96631ce3ae35a1b2a9f90d1101df9161233
The file was modified src/osmo_gsm_tester/templates/srsenb_rr.conf.tmpl
Commit a9fb751e69bb2ae7a2154e51c2ae0289456d8172 by andre
ms_srs: fix ZMQ config for 4xCA

add missing freq config for 4xCA

Change-Id: I88a389f5b03d6b55ff5ef403d5107c648a11686f
The file was modified src/osmo_gsm_tester/obj/ms_srs.py
Commit dda20e27e91f504f8a3deef97dc20b9d12bd67d0 by andre
amarisoft_sib23.asn.tmpl: set p-b value in SIB23 depending on TM

this fixes a wrong p-b value used for TM2 and above

Change-Id: I89c557c456f3330f491cc66bc4931a0234bf6e02
The file was modified src/osmo_gsm_tester/templates/amarisoft_sib23.asn.tmpl
Commit 0908ceb0eb2f459d4e4cd93c663b89da80e66a9a by andre
amarisoft_enb.cfg.tmpl: use default tac 0007

this is the tac used in srsepc.

Change-Id: I1de432a52281ea210abae5648239fd89ba5eb4ce
The file was modified src/osmo_gsm_tester/templates/amarisoft_enb.cfg.tmpl
Commit 0e00f38aa2eb8c0eb9a4dad1f39af1500ddd76a9 by andre
lte: update UHD device args for MIMO usage

the USRP B210 device args were not ideal for MIMO configs for
both Amarisoft and srsLTE.

Change-Id: I3785bb96eb7c10a6b10b3d1a86fa71d1f787a7a3
The file was modified src/osmo_gsm_tester/obj/enb_srs.py
The file was modified src/osmo_gsm_tester/obj/enb_amarisoft.py
The file was modified src/osmo_gsm_tester/obj/ms_srs.py
Commit 51fa94199411e3ada3baf660dd3daf7ecfb44354 by andre
amarisoft_enb.cfg.tmpl: increas threshold for failed UL retransmissions

this avoids the eNB from releasing the UE too early if the UL channel
stays very bad for a longer time but many PUSCH are scheduled

Change-Id: Ib82616e920eecc70fbded12433e54bd90ae1bcd4
The file was modified src/osmo_gsm_tester/templates/amarisoft_enb.cfg.tmpl
Commit c1c2f3d16fafe0ae18222eed1373a3d070e75e21 by andre
enb_amarisoft: reduce max achievable UL rate for 100 PRB

Change-Id: Ib7a0b8e2948cdf6c0a15d4ad2bf7d218a6b28ea2
The file was modified src/osmo_gsm_tester/obj/enb_amarisoft.py
Commit a9bbbd64e4790391ff87d145f302c3c211b8d97b by andre
amarisoft_enb.cfg.tmpl: seperate PRACH root sequences for cells

seperate the root sequence index for each cell a bit more to
avoid detection of a single PRACH in both cells

Change-Id: I5aea1a27939c880944779c282e902465ab513715
The file was modified src/osmo_gsm_tester/templates/amarisoft_enb.cfg.tmpl
Commit f4fb48af9ae8d5d8694d34bbd813aa68df748ea0 by andre
srslte_common: add get_num_phy_errors() method

the get_num_phy_errors() uses the external KPI analyzer module
to calculate the number of PHY layers errors in a vector of log metrics

Change-Id: I0c8de87e7f83f986e288585640ce56847959c497
The file was modified src/osmo_gsm_tester/obj/srslte_common.py
Commit 182109db4d4b7b54db45e5970744f8b40a5315c4 by andre
srslte_common: fix indent in whole file

Change-Id: I8aee79e9d451761dde8f35f84d75483dc4e23040
The file was modified src/osmo_gsm_tester/obj/srslte_common.py
Commit e3a1910915c07453b21f49efd6b1300c819da6c5 by andre
ms_srs: add freq_offset as resource param

this allows to specify a freq tuning offset in Hz in the MS resource config

Change-Id: Iab726edd27e890d2c2dddbea91afe80d8a5068aa
The file was modified src/osmo_gsm_tester/obj/ms_srs.py
The file was modified sysmocom/defaults.conf
The file was modified src/osmo_gsm_tester/templates/srsue.conf.tmpl
Commit 4bf20439da9cf268652c2d5ae80e7cfa2d21e3d2 by andre
jenkins-build-amarisoft: fix build script for ZMQ module

newer versions of srsLTE create symlinks with the rf library
including the version, see below. This caused the trx_zmq.so
lib to load .so.0 instead of .so only. this patch adds
another symlink so loading works fine again

libsrslte_rf.so -> libsrslte_rf.so.0
libsrslte_rf.so.0 -> libsrslte_rf.so.20.10.0
libsrslte_rf.so.20.10.0

Change-Id: Ib5302c9872f4c82a1ee5074f59de86709aa6c5a9
The file was modified contrib/jenkins-build-amarisoft.sh
Commit c489f190bea8fbb74e37857b4f44c28ea68e1965 by andre
enb_amarisoft: add rf_dev_sync option to specify the sync type

this allows to specify "external_clock" for example to use
the external REF input of an USRP

Change-Id: Ie066993440840cbd2c18e8f0c0c577b92ac7092d
The file was modified src/osmo_gsm_tester/obj/enb.py
The file was modified src/osmo_gsm_tester/templates/amarisoft_rf_driver.cfg.tmpl
The file was modified src/osmo_gsm_tester/obj/enb_amarisoft.py
The file was modified sysmocom/defaults.conf
Commit b5f044402123cfb8afc820a60fe9a750ce69d33b by andre
srs{enb,ue}: add rf_dev_sync option to config templates

pass-through the option so they can be used in templates

just concatenate with rf_dev_args for srsLTE eNB/UE, arguments
parsing will handle them

Change-Id: I3818026c159780f29968888f547163cdf730afad
The file was modified src/osmo_gsm_tester/obj/enb_srs.py
The file was modified src/osmo_gsm_tester/templates/srsenb.conf.tmpl
The file was modified src/osmo_gsm_tester/templates/srsue.conf.tmpl
The file was modified src/osmo_gsm_tester/obj/ms_srs.py
Commit 1f46d24935c2c61120ba53332a6ec1c468ea4b66 by andre
Introduce RFemu stdin implementation for srsENB

Change-Id: I5487dec3691cbf424306369f94f337ed34a10c70
The file was addedsrc/osmo_gsm_tester/obj/rfemu_srsenb_stdin.py
The file was modified src/osmo_gsm_tester/obj/rfemu.py
The file was modified sysmocom/defaults.conf
The file was modified src/osmo_gsm_tester/obj/enb_srs.py
Commit 9ff1eabdb1a5bc640b517c1c56de1160de11c591 by andre
srsenb: Fix ECI in handover cell list

So far we only support setting cell IDs from same ENB. Support for
handover to other ENB will come later, probably by adding some API to be
called during the test to add own's CellID's to other ENB's config.t

Change-Id: I1780bda130cde0faab15d4032117e0aa2b9c5dbe
The file was modified src/osmo_gsm_tester/templates/srsenb_rr.conf.tmpl
Commit 10c64fee41fdf68eb1623f4d4ac780b66cb52f0d by andre
srsenb: Activate handover in config file

This is needed to test handover features.

Change-Id: Ifa8462f4d1e183e73b059a7af37bcdf7b3e247f6
The file was modified src/osmo_gsm_tester/templates/srsenb_rr.conf.tmpl
Commit 54307cbf09620fccfaa04602568f3457d9f48c45 by andre
{enb,epc,ms}_srs: remove uneeded class variable

self.kpis is define in base class

Change-Id: I49c9c9cdf7bc31270d3cfe182a79b197a742dd2c
The file was modified src/osmo_gsm_tester/obj/ms_srs.py
The file was modified src/osmo_gsm_tester/obj/enb_srs.py
The file was modified src/osmo_gsm_tester/obj/epc_srs.py
Commit e3f40f990472c3377011d75595333d9b3b2e6d1a by andre
rfemu_srsenb_stdin: use negative dB value to set attenuation

the logic for the RF emulator on the command line is, like the
Amarisoft equivalent, to set a negative gain value to express
attenuation. Therefore, the sign needs to be inverted.

Change-Id: I7b6ac611a9f711bbdc1570602bfd797a5346ab86
The file was modified src/osmo_gsm_tester/obj/rfemu_srsenb_stdin.py
Commit d0e8601ace7191498c13c56d212e76ea0e404d3a by Pau Espin Pedrol
templates/osmo-bts-trx: Increase osmo-trx rx-gain

Otherwise osmo-trx with a B200 seems to be having issues receiving some
data from the MS otherwise, making "sms" test fail. In general LU works
fine, and when MS sends the SMS, CM Service Request+Accept also works
fine, but then the BTS never sees the CP-DATA afterwards probably due to
MS power loop.

Change-Id: I5f7e3d22a142521ab83db81635ded252dabcf111
The file was modified src/osmo_gsm_tester/templates/osmo-bts-trx.cfg.tmpl
Commit 71336c2f3ad80c51c81dbe0db9d2612d07ea6db7 by Pau Espin Pedrol
scenarios: Introduce mod-enb-cells-2ca.conf

This configuration is needed to have UEs attaching to srsenb-zmq in
handover.py

Change-Id: I0182af4db98852f00622dcebe5274dc7f6e99e6d
The file was addedsysmocom/scenarios/mod-enb-cells-2ca.conf