Skip to content
Success

Changes

Summary

  1. junit: Replace invalid xml characters (details)
  2. srsue: Remove old comment not longer applying (details)
  3. srsue: Enable metrics csv file generation (details)
  4. srsue: Enable pcap through config file (details)
  5. srsue,srsenb: Fix zmq base_rate calculation and share value (details)
  6. iperf3: Support configuring data direction (dl vs ul) (details)
  7. tests: Improve logging of iperf3 results (details)
  8. iperf3: Support setting run time (details)
  9. utils: Add limits.d dir with sample config files (details)
  10. scenarios: Use parametrized scenario for rftype (details)
  11. srsue: Introduce metrics verification procedures (details)
  12. suites/4g: Introduce iperf4 downlink test (details)
  13. Allow overwriting test's report stdout text from inside test code (details)
  14. remote: Set debug logfile of ssh_sigkiller.sh to /dev/null (details)
  15. Improve junit xml generated fields (details)
  16. suites/4g/ping.py: Overwrite test stdout with ping output (details)
  17. srsenb: Update config files (details)
  18. srsepc: Update log file output matching (details)
  19. srsue,srsenb: Configure num_ports for tmode > 1 (details)
  20. srsenb_sib.conf: Fix warning about wrong prach_freq_offset value (details)
  21. srsue: Use logfile instead of stdout (details)
  22. config.py: use var to hold defaults.conf string (details)
  23. Move RESOURCES_CONF from resource.py to config.py (details)
  24. Drop wrong vty cfg line ms-power-control (details)
  25. osmo_ms_driver: Store cfg files and logs in correct test rundir (details)
  26. doc/manual: Refactor, rewrite, improve and update most of the User (details)
  27. doc/manuals: Write proper content for Docker Setup section (details)
  28. doc/manuals: Write proper content for Ansible Setup section (details)
  29. doc/manuals: Write section explaining parametrized scenarios (details)
  30. doc/manuals: Fix title out of sequence (details)
  31. srs{ue,enb,epc}: Disable pcap by default, allow enabling by param (details)
  32. doc/manuals: Introduce Troubleshooting section about SIGKILL fix (details)
  33. doc/manuals: Add proper content for Debugging section (details)
  34. doc/manuals: Several format and styles fixes for config.adoc (details)
  35. scenarios: Drop unnecessary srsue-rftype-soapy.conf (details)
  36. doc/manuals: Introduce chapter explaining config data mangling (details)
  37. srsenb.conf.tmpl: update to new version (details)
  38. fix lookup table for maximum DL/UL rate for srsENB (details)
  39. relax max_rate for iperf UL/DL tests (details)
  40. process: add stdin_write method to communicate with child on stdin (details)
  41. srs_ue: send t+Enter to stdin after launching app (details)
  42. srs_ue: run srsUE as normal RemoteProcess (details)
  43. srs{enb,ue}.conf.tmpl: make sure to only use a single PHY thread when (details)
  44. srs_ue: add scenario for airplane mode simulation in srsUE (details)
  45. ms: add optional param to specify fixed APN IP address assigned to a MS (details)
  46. srs_enb: add num_cells param to srsENB (details)
  47. srs_ue: adding num_carriers paramter and corresponding modifier (details)
  48. srs_{enb,ue}: add secondary cell and set dl/ul freq in eNB/UE config (details)
  49. srs_enb: enable console trace, use RemoteProcess class (details)
  50. srs_enb: remove unneeded enb parameters (details)
  51. srs_enb: remove num_cells getter (details)
  52. srs_ue: remove hard-coded num phy thread param (details)
  53. defaults.conf: set num_carriers default value (details)
  54. Introduce initial Amarisoft ENB support (details)
  55. srsenb: start_locally(): Fix missing class name in attribute access (details)
  56. srsenb: No need to generates values dict for every template file (details)
  57. srsue: start_locally(): Fix missing class name in attribute access (details)
  58. {srs,amarisoft}enb:Move shared code to parent generic class eNodeB (details)
  59. amarisoft_enb: Drop unused lib variable (details)
  60. Introduce support for AmarisoftEPC (details)
  61. srs_{ue,enb}: change UHD stream args and buffer size as function of cell (details)
  62. Make amarisoft license server optional (details)
  63. iperf3: add config to adjust the duration of the iperf run (details)
  64. srsenb_rr.conf.temp: patch scheduler variables for 6 PRB cells (details)
  65. srs{enb,ue}: Use lowcase UHD as rf_type string (details)
  66. config.py: Allow escaping commas in parametrized scenario names (details)
  67. srs_{ue,enb}: Add modifier to pass arbitrary cmd line arguments (details)
  68. Introduce contrib/jenkins-build-amarisoft.sh (details)
  69. amarisoft_enb: Add missing default values in constructor (details)
  70. contrib/jenkins-build-amarisoft.sh: Make build of amarisoft trx_zmq.so (details)
  71. contrib/jenkins-build-amarisoft.sh: Fix typo copying trx_uhd.so to UE (details)
  72. Add modem resource features attributes: 2g, 3g, 4g (details)
Commit 3f088da9b20d46d38b28a7234eb2a3a81ab7f306 by Pau Espin Pedrol
junit: Replace invalid xml characters
Otherwise junit parser in jenkins fails: org.dom4j.DocumentException:
Error on line 20231 of document  : An invalid XML character (Unicode:
0x1b) was found in the element content of the document.
Fixes: 5bbdab8d95dc739112a6d6999d438b5e142392b8 Change-Id:
Ia629e43bba01e50fd718c16404a7796d4f4e3713
The file was modifiedsrc/osmo_gsm_tester/report.py
Commit a337695cd0f63ac2a2316373c353fd1f819567da by Pau Espin Pedrol
srsue: Remove old comment not longer applying
Change-Id: I1718dbb701c5dcd5a4081d3d91ae9f192418e7df
The file was modifiedsrc/osmo_gsm_tester/srs_ue.py
Commit a03199576256e05eb6f55925eebc4bee012b0251 by Pau Espin Pedrol
srsue: Enable metrics csv file generation
Change-Id: I393afc49f553d9ebda29717c27d5eb907b3c5b60
The file was modifiedsrc/osmo_gsm_tester/templates/srsue.conf.tmpl
The file was modifiedsrc/osmo_gsm_tester/srs_ue.py
Commit dcf99edf531496aeb962c7e6b7ef1cb797a60d09 by Pau Espin Pedrol
srsue: Enable pcap through config file
Change-Id: I15219d707aea778fefa8911362278442fa09550c
The file was modifiedsrc/osmo_gsm_tester/srs_ue.py
The file was modifiedsrc/osmo_gsm_tester/templates/srsue.conf.tmpl
Commit 2aeadeb58d76228857e768d8aa7ec8947381f578 by Pau Espin Pedrol
srsue,srsenb: Fix zmq base_rate calculation and share value
Change-Id: I3e7817e822fb4d1f8bc9ef798162edf95a74d442
The file was modifiedsrc/osmo_gsm_tester/srs_ue.py
The file was modifiedsrc/osmo_gsm_tester/srs_enb.py
Commit 905e503cb9237b6658d0a294a9b0f4c6cce8e526 by Pau Espin Pedrol
iperf3: Support configuring data direction (dl vs ul)
Change-Id: I6b5b740beac22015c952ce826c034031ad4c4465
The file was modifiedsuites/gprs/lib/testlib.py
The file was modifiedsuites/4g/iperf3.py
The file was modifiedsrc/osmo_gsm_tester/iperf3.py
Commit 143365dc54c2d74a3521211950a85c0803949887 by Pau Espin Pedrol
tests: Improve logging of iperf3 results
Change-Id: I6563c11f4ad6e9519400268e63944cdf8973dad0
The file was modifiedsuites/4g/iperf3.py
The file was modifiedsuites/gprs/lib/testlib.py
Commit 085a17e8e0107a28cc7fa103d85a280190145e77 by Pau Espin Pedrol
iperf3: Support setting run time
Change-Id: I93e857bd682c733c3ba36234b9bf1e1cc85eddef
The file was modifiedsrc/osmo_gsm_tester/iperf3.py
Commit 63685d719ae676445faf5aa916073a8c7ccc722c by Pau Espin Pedrol
utils: Add limits.d dir with sample config files
Same as the ones described in osmo-gsm-tester User Manual and same as
ones deployed by ansible scripts. Let's rather keep them here.
Change-Id: I8b124a8a1637666536772439b920e7b91e61533c
The file was addedutils/limits.d/osmo-gsm-tester_allow-rtprio.conf
The file was addedutils/limits.d/osmo-gsm-tester_allowcore.conf
Commit dff272884dae3a59b0623afdc4f978ebdb7f4c9c by Pau Espin Pedrol
scenarios: Use parametrized scenario for rftype
Change-Id: Ib3d7db13d7de492eee5ad25cf5c88239be9e9fbf
The file was removedexample/scenarios/srsue-rftype-uhd.conf
The file was modifiedexample/default-suites.conf
The file was removedexample/scenarios/srsenb-rftype-uhd.conf
The file was removedexample/scenarios/srsenb-rftype-zmq.conf
The file was addedexample/scenarios/srsue-rftype@.conf
The file was removedexample/scenarios/srsue-rftype-zmq.conf
The file was addedexample/scenarios/srsenb-rftype@.conf
Commit 151b08a4108342b9873d6028e7f4751501f506d8 by Pau Espin Pedrol
srsue: Introduce metrics verification procedures
Change-Id: Ib1da58615cdc4f53ac1a27080e94e5b47760c508
The file was modifiedsrc/osmo_gsm_tester/srs_ue.py
The file was modifiedsuites/4g/suite.conf
The file was modifiedsrc/osmo_gsm_tester/srs_enb.py
The file was modifiedsuites/4g/iperf3.py
The file was modifiedcheck_dependencies.py
Commit 03a2fc504bc9571f348e78cbee978ca8eb3ab564 by Pau Espin Pedrol
suites/4g: Introduce iperf4 downlink test
Change-Id: Ifc4bb7394120d57ca6d26459be1cf8365a16249c
The file was removedsuites/4g/iperf3.py
The file was addedsuites/4g/iperf3_dl.py
The file was addedsuites/4g/iperf3_ul.py
Commit 644cb41b051df92fb83694324e7e8cea7d79393c by Pau Espin Pedrol
Allow overwriting test's report stdout text from inside test code
Change-Id: Ie1c0ecf7464209a4241665025fda33ae624fc049
The file was modifiedsuites/4g/iperf3_dl.py
The file was modifiedsrc/osmo_gsm_tester/report.py
The file was modifiedsrc/osmo_gsm_tester/test.py
The file was modifiedsuites/4g/iperf3_ul.py
Commit a5f7bef0a2aafcec2bcd08d71a22e8b9600ad0f9 by Pau Espin Pedrol
remote: Set debug logfile of ssh_sigkiller.sh to /dev/null
Otherwise processes run eventually as root (due to being run on another
netns) may change its permissions and other processes later will fail to
write to it (Permission Denied).
Change-Id: Ide092db082937be7c2fb16d60e099c85dc1941b7
The file was modifiedsrc/osmo_gsm_tester/remote.py
Commit 02e8a8d4e193b9a740614f64b10145d8f5e369a3 by Pau Espin Pedrol
Improve junit xml generated fields
* trial ('testsuites' node): Add fields 'tests', 'errors', 'failures',
'time'.
* testsuite: Add fields 'errors', 'failures', 'skipped',
'disabled'
* test: Add field 'classname' (empty).
Fix and improve suite.py and test.py to count errors, skipped, failures
properly.
Change-Id: Ie2d10cee88a9c0d829e4620553164cf3150e8e5c
The file was modifiedsrc/osmo_gsm_tester/report.py
The file was modifiedsrc/osmo_gsm_tester/suite.py
The file was modifiedsrc/osmo_gsm_tester/test.py
Commit 2bcd3462031412deee8d9273647b2e319d500b00 by Pau Espin Pedrol
suites/4g/ping.py: Overwrite test stdout with ping output
Change-Id: I83403a21c46758132b4fbb930000df67d8650016
The file was modifiedsrc/osmo_gsm_tester/srs_ue.py
The file was modifiedsrc/osmo_gsm_tester/modem.py
The file was modifiedsuites/4g/ping.py
Commit d2e5aa58fb0f0b221f3edf2766806bf480d00d29 by Pau Espin Pedrol
srsenb: Update config files
Latest ENB config file grammar changed and needs to be updated to work
with next versions of srsENB.
Change-Id: I84db30dc57ea9e0b05208fa86d88d42d492b237f
The file was modifiedsrc/osmo_gsm_tester/templates/srsenb_rr.conf.tmpl
The file was modifiedsrc/osmo_gsm_tester/templates/srsenb.conf.tmpl
Commit b9aeb156febe2632086462d8af6205d9d2fbceff by Pau Espin Pedrol
srsepc: Update log file output matching
New version of srsEPC improved the information logged during S1 setup
request, which we use to wait for the ENB to be connected.
Change-Id: Ia2338e3161c66ef7c1ab50b024a70de661edc780
The file was modifiedsrc/osmo_gsm_tester/srs_epc.py
Commit f796ad00611aa7ca45a737c492418ad2818db949 by Pau Espin Pedrol
srsue,srsenb: Configure num_ports for tmode > 1
Change-Id: I35d8ee907738845e729f58c23f377a42bb665672
The file was modifiedsrc/osmo_gsm_tester/templates/srsue.conf.tmpl
The file was modifiedsrc/osmo_gsm_tester/srs_enb.py
The file was modifiedsrc/osmo_gsm_tester/srs_ue.py
The file was modifiedsrc/osmo_gsm_tester/templates/srsenb.conf.tmpl
Commit 7f37deb020de0d5910e0deb1f6cd695a3b5b961b by Pau Espin Pedrol
srsenb_sib.conf: Fix warning about wrong prach_freq_offset value
WARNING: Invalid PRACH configuration - prach=(2, 8) does not fit into
the eNB PRBs=(0, 6).
      Consider changing the "prach_freq_offset" value to 0 in the
sib.conf file when using 6 PRBs.
Change-Id: Ie4374faca62a4d0289f78674eadec7eb5d045dfd
The file was modifiedsrc/osmo_gsm_tester/templates/srsenb_sib.conf.tmpl
Commit 5b31cc358cb641e6b8de600d299400c1c9b34d0a by Pau Espin Pedrol
srsue: Use logfile instead of stdout
newer srsLTE has fixes to exit properly after 3 seconds and then flush
the log file.
Change-Id: I9801ce932ad08b7fbb6d14a66e1dba64d4af38f7
The file was modifiedsrc/osmo_gsm_tester/srs_ue.py
Commit a2e81f5e192045a2b1dd77697317e31a92e82392 by Pau Espin Pedrol
config.py: use var to hold defaults.conf string
This way we have all config file names together in same place.
Change-Id: If35739f21f1414efdaba71acbb60661213ac58df
The file was modifiedsrc/osmo_gsm_tester/config.py
Commit 66a38917f4f1cc05e7d8f2a02588b5d866cdae6e by Pau Espin Pedrol
Move RESOURCES_CONF from resource.py to config.py
This way we have all known config file names in one place, in the module
containing the implementation to retrieve them
(config.read_config_file()).
Change-Id: I8304dda70268b16dbc316af882fecdbf20ac25ec
The file was modifiedsrc/osmo_gsm_tester/resource.py
The file was modifiedsrc/osmo_gsm_tester/config.py
Commit e10970d626413a477053471fc0122d6d18604cc2 by Pau Espin Pedrol
Drop wrong vty cfg line ms-power-control
Those two BTS backends never had their own MS Power Control Loop, so
they should be using the "osmo" common one. This wrong value "dsp" used
to be accepted for no good reason, but it's no longer the case. Let's
remove the line to let the backend take the default one (osmo).
Change-Id: I842fce2b8185c53d1684747afcfc3ae8fba1afee
The file was modifiedsrc/osmo_gsm_tester/templates/osmo-bts-octphy.cfg.tmpl
The file was modifiedsrc/osmo_gsm_tester/templates/osmo-bts-virtual.cfg.tmpl
Commit 990b520b1f6d572ac1603c6ba53424017a44adf2 by Pau Espin Pedrol
osmo_ms_driver: Store cfg files and logs in correct test rundir
This way all the content is available as an artifact when we run it
inside osmo-gsm-tester.
Change-Id: I3ab493e6aafef90bb0c5d98e552840fd11c43079
The file was modifiedsrc/osmo_ms_driver/starter.py
Commit 7e0b2ddfb8f835f207758805e2dc4484e3633b2c by Pau Espin Pedrol
doc/manual: Refactor, rewrite, improve and update most of the User
Manual
* Some TODOs are added as comments which actually require code changes.
These are details which showed up as incongruences or missing bits
while writing the documentation for them.
* Some sections are introduced but still waiting to be writen soon:
** Debugging section
** Docker Setup section
** Ansible Setup section
** Troubleshooting (add jenkins red cross button sending kill -9)
** resources.conf attribute list needs to be converted to a table
* Device related setup needs to be updated and extended
* Parametrized scenarios need to be documented
* 4G resources documentation needs to be added.
Change-Id: Ifc2a3c74d45336cc988b76c0ff68a85311e4dd40
The file was modified.gitignore
The file was modifieddoc/manuals/chapters/intro.adoc
The file was modifieddoc/manuals/chapters/config.adoc
The file was addeddoc/manuals/chapters/docker.adoc
The file was addeddoc/manuals/chapters/troubleshooting.adoc
The file was addeddoc/manuals/chapters/install_device.adoc
The file was modifieddoc/manuals/chapters/install.adoc
The file was modifieddoc/manuals/osmo-gsm-tester-manual-docinfo.xml
The file was modifieddoc/manuals/osmo-gsm-tester-manual.adoc
The file was addeddoc/manuals/chapters/ansible.adoc
The file was addeddoc/manuals/chapters/resource_pool.adoc
The file was modifieddoc/manuals/chapters/trial.adoc
Commit bff90dce73d82f7cf649d48680833e3e9dfdb8e7 by Pau Espin Pedrol
doc/manuals: Write proper content for Docker Setup section
Change-Id: Ie883adbf03a3b5c9a852182c01d15a212749ce04
The file was modifieddoc/manuals/chapters/docker.adoc
Commit 94622f12d945effb5d271a4e70817752a162166b by Pau Espin Pedrol
doc/manuals: Write proper content for Ansible Setup section
Change-Id: Iffd3beefa50dd5f18908b4c3f7e4deb169feca62
The file was modifieddoc/manuals/chapters/ansible.adoc
Commit 7dc221607136622ecd92f32c2cecfbdabafd53ed by Pau Espin Pedrol
doc/manuals: Write section explaining parametrized scenarios
Change-Id: I04b7fa46c2a282095bbb8f6d69ade87ff86f910c
The file was modifieddoc/manuals/chapters/config.adoc
Commit 71a54fbf81f265a2ce77fb70445fb1eddd9f35c9 by Pau Espin Pedrol
doc/manuals: Fix title out of sequence
asciidoc: WARNING: install.adoc: line 450: section title out of
sequence: expected level 3, got level 4
Change-Id: I0c881405e66cc6815533bb884016db20cfdff3dc
The file was modifieddoc/manuals/chapters/install.adoc
Commit 1e81b5af9a6b3bce2fac0bf38ec32dc53b882ccb by Pau Espin Pedrol
srs{ue,enb,epc}: Disable pcap by default, allow enabling by param
Take the change to fix several small things and support recording pcap
in srsENB.
pcap generation can be enabled with scenario cfg-srs-enable-pcap.
Change-Id: Ia096a9be7efb2123f95115c751e2402fb4fec935
The file was modifiedsrc/osmo_gsm_tester/srs_enb.py
The file was modifiedsrc/osmo_gsm_tester/templates/srsue.conf.tmpl
The file was modifiedsrc/osmo_gsm_tester/srs_ue.py
The file was modifiedsrc/osmo_gsm_tester/templates/srsepc.conf.tmpl
The file was modifiedsrc/osmo_gsm_tester/resource.py
The file was modifiedexample/defaults.conf
The file was modifiedsrc/osmo_gsm_tester/srs_epc.py
The file was addedexample/scenarios/cfg-srs-enable-pcap.conf
The file was modifiedsrc/osmo_gsm_tester/templates/srsenb.conf.tmpl
Commit cc0ad7dc787f227d257b0f6f53964d51d6dca10b by Pau Espin Pedrol
doc/manuals: Introduce Troubleshooting section about SIGKILL fix
Add a section describing how to clean up and recover osmo-gsm-tester
state after a sigkill is used.
Change-Id: I4841ab6d44a122140e6352df1fb6543418adc033
The file was modifieddoc/manuals/chapters/troubleshooting.adoc
Commit 8ccd99a3a9fabceb1a9f298c54f0b9cb13cbcc92 by Pau Espin Pedrol
doc/manuals: Add proper content for Debugging section
Change-Id: Iaed2544d59f7c5dd69eef3ddfade544b35c837cd
The file was modifieddoc/manuals/chapters/debugging.adoc
Commit c1220e141858576fcbf5bc49a5463d4715621aac by Pau Espin Pedrol
doc/manuals: Several format and styles fixes for config.adoc
Change-Id: I6371e09d6d88f137e7611bd60ac97b86414d8c47
The file was modifieddoc/manuals/chapters/config.adoc
Commit 7788e3952d26fcd57ef019d6f75c32ff817aefd0 by Pau Espin Pedrol
scenarios: Drop unnecessary srsue-rftype-soapy.conf
There's already a parametrized scenario handling it. We don't use any
soapy backend for srsue anyway yet.
Change-Id: Ie680178d2b16139473b5899803fb69a715a79216
The file was removedexample/scenarios/srsue-rftype-soapy.conf
Commit b99b0f308c299976747b7e52c08b1fd6c333131d by Pau Espin Pedrol
doc/manuals: Introduce chapter explaining config data mangling
Explains how configurations bits are arranged and mangled to provide a
last config set.
Change-Id: I5c8f136e743b6beb02956b3436aa3d1010205141
The file was modifieddoc/manuals/chapters/resource_pool.adoc
The file was addeddoc/manuals/chapters/config_mangling.adoc
Commit b77870776783f0ef1b0bb9c6dc8981acaaf8edba by andre
srsenb.conf.tmpl: update to new version
Change-Id: I204d03307aaaddcb15fed6f7310b64d09c43f64c
The file was modifiedsrc/osmo_gsm_tester/templates/srsenb.conf.tmpl
Commit e227fa3b138c14e7e8f0b4b6f262fbe7e4687df6 by andre
fix lookup table for maximum DL/UL rate for srsENB
Change-Id: Ieb027eaf5d8f4d774d0e29207f7a3b75dec6ee5b
The file was modifiedsrc/osmo_gsm_tester/srs_enb.py
Commit f00d9bc2595848b4f18ff026393f7d0d12d5340b by andre
relax max_rate for iperf UL/DL tests
Change-Id: Ia243156931918d5ab013c64c37823bc2e400798e
The file was modifiedsuites/4g/iperf3_dl.py
The file was modifiedsuites/4g/iperf3_ul.py
Commit 66272f8ac8ea84a2a7a907a5bb418882b5b70fcd by andre
process: add stdin_write method to communicate with child on stdin
Change-Id: I3e5d843911998bb50726d93e3dfd3de584dc81a5
The file was modifiedsrc/osmo_gsm_tester/process.py
Commit 2e8626f9be47e9d6d8312a573089fbb184ca00d4 by andre
srs_ue: send t+Enter to stdin after launching app
this enables the console trace which is printed to stdout and provides
human readable radio statistics
Change-Id: If1c998aff1c5c11d3fa636fb60cb4991e0def768
The file was modifiedsrc/osmo_gsm_tester/srs_ue.py
Commit cfdcf895151c8eab820fa756aaecd3c6c827396f by andre
srs_ue: run srsUE as normal RemoteProcess
running with RemoteProcessFixIgnoreSIGHUP was needed bc srsUE used to
ignore SIGHUP that is delivered to the process when the SSH session is
terminated causing the UE to not quit properly. This isn't the case
anymore so we can use RemoteProcess for spawning the UE.
Furthermore, the wrapper script didn't pass along stdin to it's child
process, i.e., srsUE. Therefore the console trace can't be seen if the
run through the wrapper.
Change-Id: Iab4dafc58167620362a36ec9e904b8d49a7d5fc1
The file was modifiedsrc/osmo_gsm_tester/srs_ue.py
Commit bf960ec0ccde48c5b309cd6b0ec3c952276f295f by andre
srs{enb,ue}.conf.tmpl: make sure to only use a single PHY thread when
running with ZMQ
Change-Id: Icc1e67705c0354ece77c037f224a9c756a16daaa
The file was modifiedsrc/osmo_gsm_tester/templates/srsue.conf.tmpl
The file was modifiedsrc/osmo_gsm_tester/templates/srsenb.conf.tmpl
Commit 35234f2e21333d1c5cdf1877863f3493095fbd59 by andre
srs_ue: add scenario for airplane mode simulation in srsUE
Change-Id: I5db2ff325ce4b4236c1ceec0831dd7420d52dedb
The file was modifiedsrc/osmo_gsm_tester/resource.py
The file was modifiedexample/defaults.conf
The file was addedexample/scenarios/mod-srsue-airplane_mode_sim@.conf
The file was modifiedsrc/osmo_gsm_tester/templates/srsue.conf.tmpl
Commit 22ec00a01f2605eeaebab39d96aa1f338b7bb72f by andre
ms: add optional param to specify fixed APN IP address assigned to a MS
this allows to specify a fixed APN address for each subscriber in the
HLR. If the param is not provided in the resources config, the default
allocation type is used, which is to dynamically allocate an IP in the
supported range.
Change-Id: Ie6fcd7987dc7bc62a686bee3a10c67e3dd813419
The file was modifiedsrc/osmo_gsm_tester/resource.py
The file was modifiedsrc/osmo_gsm_tester/templates/srsepc_user_db.csv.tmpl
The file was modifiedsrc/osmo_gsm_tester/modem.py
The file was modifiedsrc/osmo_gsm_tester/srs_epc.py
The file was modifiedsrc/osmo_gsm_tester/ms.py
Commit 82b88901f3504105fa6dd4db9b2f87fb57b3fcee by andre
srs_enb: add num_cells param to srsENB
this is needed to support the upcoming multi-cell feature in srsENB.
It's required for carrier aggregation (CA) but can also be used for
(currently) two independent 4G cells.
This commit adds baseline support for the parameter. Upcoming commits
will add hooks to configure the cell's EARFCN, etc.
Change-Id: I6d1658bf820163aee03b64b0f4ac68046c243f37
The file was modifiedsrc/osmo_gsm_tester/srs_enb.py
The file was modifiedsrc/osmo_gsm_tester/templates/srsenb_rr.conf.tmpl
The file was modifiedexample/defaults.conf
The file was modifiedsrc/osmo_gsm_tester/resource.py
The file was addedexample/scenarios/mod-enb-ncells@.conf
Commit d61613ac80eab8945931402895c7e688326ba7f1 by andre
srs_ue: adding num_carriers paramter and corresponding modifier
this allows to configure a UE to support multiple carriers
Change-Id: I4fa0a0c6e52efb17aa0b07e55abb5470d8028e8b
The file was modifiedsrc/osmo_gsm_tester/resource.py
The file was addedexample/scenarios/mod-srsue-ncarriers@.conf
The file was modifiedsrc/osmo_gsm_tester/templates/srsue.conf.tmpl
Commit 3ffea80ae8ec9e9ebcae28f937487f8418cc5a72 by andre
srs_{enb,ue}: add secondary cell and set dl/ul freq in eNB/UE config
accordingly
Change-Id: I3730856003fffda4f3c3f9e835d62ddc312c4c31
The file was modifiedsrc/osmo_gsm_tester/templates/srsenb.conf.tmpl
The file was modifiedsrc/osmo_gsm_tester/srs_enb.py
The file was modifiedsrc/osmo_gsm_tester/srs_ue.py
The file was modifiedsrc/osmo_gsm_tester/templates/srsenb_rr.conf.tmpl
Commit c2c8221c12405374b1172afd3ac62cf6f87c301a by andre
srs_enb: enable console trace, use RemoteProcess class
In order for the console trace to work over SSH this commit switches to
use the default RemoteProcess class. Note that srsENB now correctly
handles the SIGHUP signal.
Change-Id: I26391eb8409e14b34987e0b338e10613fa157e06
The file was modifiedsrc/osmo_gsm_tester/srs_enb.py
Commit a0782d5df98b525e3444711310587a37db470d7b by andre
srs_enb: remove unneeded enb parameters
Change-Id: I1f2e18c6552fc4a6e3a68d75a85744fadf26aacb
The file was modifiedsrc/osmo_gsm_tester/srs_enb.py
Commit 4ae614dbeff7a97df88601b79b608ac6937f4337 by andre
srs_enb: remove num_cells getter
Change-Id: Ic5c45bb17440d2ee241840591baf02930a0b3470
The file was modifiedsrc/osmo_gsm_tester/srs_enb.py
Commit 54f25cabc554a9e10c3c3438d9fc95e657160897 by andre
srs_ue: remove hard-coded num phy thread param
Change-Id: Ia4fac188ecbe6aba393a68ec0291b51cd1441029
The file was modifiedsrc/osmo_gsm_tester/srs_ue.py
Commit 793260d0f6534ea035bbaf37cf1ed71795c03143 by andre
defaults.conf: set num_carriers default value
Change-Id: Ibe94fada0a40c499dd516408756c4ef7988ccec5
The file was modifiedexample/defaults.conf
Commit 786a6bcd2099462e94b4335d952f2032f3c2e0e2 by Pau Espin Pedrol
Introduce initial Amarisoft ENB support
* object class expects the amarisoft software to be placed in directory
provided by env var AMARISOFT_PATH_ENB. On local runs, it will run the
software from there. On remote runs it will copy over that directory to
the slave.
* Configuration provided works with 6 PRBs, but probably won't work for
other values (yet).
* ZMQ support not yet available, only UHD.
One can select the Amarisoft ENB by declaring it in resources.conf:
"""
- label: AmarisoftENB-B200
type: amarisoftenb
rf_dev_type: uhd
rf_dev_args:
"type=b200,serial=317B9FE,recv_frame_size=9232,send_frame_size=9232"
remote_user: jenkins
addr: 10.12.1.206
"""
And running:
"""
$ export AMARISOFT_PATH_ENB=/path/to/binaries
$ osmo-gsm-tester.py ... -s
4g:amarisoftenb-rftype@uhd+srsue-rftype@UHD+mod-enb-nprb@6 -t ping
"""
Change-Id: I1ddf4962ea6438ad977382ab201b724028ca46b3
The file was addedsrc/osmo_gsm_tester/enb.py
The file was addedsrc/osmo_gsm_tester/templates/amarisoft_sib23.asn.tmpl
The file was modifiedsrc/osmo_gsm_tester/srs_enb.py
The file was addedsrc/osmo_gsm_tester/amarisoft_enb.py
The file was addedsrc/osmo_gsm_tester/templates/amarisoft_rf_driver.cfg.tmpl
The file was modifiedsrc/osmo_gsm_tester/resource.py
The file was modifiedsuites/4g/suite.conf
The file was addedsrc/osmo_gsm_tester/templates/amarisoft_drb.cfg.tmpl
The file was addedsrc/osmo_gsm_tester/templates/amarisoft_enb.cfg.tmpl
The file was modifiedexample/defaults.conf
The file was addedsrc/osmo_gsm_tester/templates/amarisoft_sib1.asn.tmpl
The file was addedexample/scenarios/amarisoftenb-rftype@.conf
Commit 874130510d0012a1f8320aafdc83c75d4aafe49e by Pau Espin Pedrol
srsenb: start_locally(): Fix missing class name in attribute access
Change-Id: I5e11dc9c3c0dcf4808a3ad67fe96580480fe47d1
The file was modifiedsrc/osmo_gsm_tester/srs_enb.py
Commit f4cce261732d44a06cc5f9509b881159ae18f089 by Pau Espin Pedrol
srsenb: No need to generates values dict for every template file
Let's only do all the dictionary processing once and not for each
template file.
Change-Id: I4684d26375fce1e2ae28d3eccdc4f607fa5411a9
The file was modifiedsrc/osmo_gsm_tester/srs_enb.py
Commit 9aa932fd11465adb2bb0c5d161140e3cadb2f9e4 by Pau Espin Pedrol
srsue: start_locally(): Fix missing class name in attribute access
Change-Id: Iab4196b12ee12a06ba2129053f2291c1e4c284ff
The file was modifiedsrc/osmo_gsm_tester/srs_ue.py
Commit e44e76a78765da2913540a7ff34da34a0c1d2679 by Pau Espin Pedrol
{srs,amarisoft}enb:Move shared code to parent generic class eNodeB
Change-Id: Ica0f1d4179a905d6dfc77d3e8eb08ac6cd5c3d2e
The file was modifiedsrc/osmo_gsm_tester/enb.py
The file was modifiedsrc/osmo_gsm_tester/srs_enb.py
The file was modifiedsrc/osmo_gsm_tester/amarisoft_enb.py
Commit 55e278c758e2855920258c67b8c2227011b6c6ad by Pau Espin Pedrol
amarisoft_enb: Drop unused lib variable
Change-Id: Iea3e77a4b9f25f2781f617cd4bfd0ba4b34c709e
The file was modifiedsrc/osmo_gsm_tester/amarisoft_enb.py
Commit da2e31f929d3c0b4eee59de25a700d90403a68aa by Pau Espin Pedrol
Introduce support for AmarisoftEPC
* A new abstract generic base class EPC is created
* srsEPC and AmarisoftEPC inherit from that class
* options are loaded from defaults.conf in cascade. First generic "epc",
afterwards the specific enb type.
* A new scenario is added to select the EPC type to use. srsEPC is the
default unless stated by an scenario.
* AmarisoftEPC delegates setup of the tun IP address to an "ifup"
script. As a result, since we run without root permissions (ony with
CAP_NET_ADMIN), the ifup script itself is unablet o set the IP
address. To solve this, we introduce a new osmo-gsm-tester helper
script which must be installed in the slave node which can be called
through sudo to increase privileges to do so.
With this commit, I can already get srsUE<->amarisoftENB<->amarisoftEPC
to pass ping and iperf3 4g tests.
Change-Id: Ia50ea6a74b63b2d688c8d683aea11416ad40a6d3
The file was addedsrc/osmo_gsm_tester/templates/amarisoft_ltemme.cfg.tmpl
The file was addedutils/bin/osmo-gsm-tester_amarisoft_ltemme_ifup.sh
The file was modifiedexample/defaults.conf
The file was modifiedsrc/osmo_gsm_tester/suite.py
The file was addedsrc/osmo_gsm_tester/amarisoft_epc.py
The file was addedsrc/osmo_gsm_tester/epc.py
The file was addedutils/sudoers.d/osmo-gsm-tester_amarisoft_ltemme_ifup
The file was modifiedsrc/osmo_gsm_tester/srs_epc.py
The file was addedexample/scenarios/cfg-epc-type@.conf
The file was modifiedsrc/osmo_gsm_tester/resource.py
Commit 7225d52e39c7aa305e27d6642942b6bb6b4b5ea3 by andre
srs_{ue,enb}: change UHD stream args and buffer size as function of cell
width for B2XX
Change-Id: I2de0526ee9bd2f7bb75c7d529b3f52d75117c5cc
The file was modifiedsrc/osmo_gsm_tester/srs_enb.py
The file was modifiedexample/resources.conf.prod
The file was modifiedsrc/osmo_gsm_tester/srs_ue.py
Commit c04528cb1fabe970f7ac28ca98fcfbfbc9e9c41f by Pau Espin Pedrol
Make amarisoft license server optional
* Since license_server_addr logic is generic among all amarisoft
software, let's move it to its own config category "amarisoft", which
all amarisoft classes (amarisoft_{enb,epc}.py as of now) will import
during configure().
* The license server is disabled by default (value 0.0.0.0) since the
usual case is to have a license in the local system.
* the license server can be enabled using scenario
cfg-amarisoft-license@A.B.C.D where A.B.C.D is the address to use.
Change-Id: Id5456ad9497e91370857b80ff9a389111d3611ff
The file was modifiedsrc/osmo_gsm_tester/srs_epc.py
The file was modifiedsrc/osmo_gsm_tester/epc.py
The file was modifiedsrc/osmo_gsm_tester/enb.py
The file was modifiedsrc/osmo_gsm_tester/srs_enb.py
The file was addedexample/scenarios/cfg-amarisoft-license@.conf
The file was modifiedsrc/osmo_gsm_tester/resource.py
The file was modifiedsrc/osmo_gsm_tester/templates/amarisoft_enb.cfg.tmpl
The file was modifiedexample/defaults.conf
The file was modifiedsrc/osmo_gsm_tester/amarisoft_enb.py
The file was modifiedsrc/osmo_gsm_tester/amarisoft_epc.py
The file was modifiedsrc/osmo_gsm_tester/templates/amarisoft_ltemme.cfg.tmpl
Commit 2dcc4312a024c25b9f18f113507b1e4329360c88 by Pau Espin Pedrol
iperf3: add config to adjust the duration of the iperf run
the time is passed as a string param and is then converted into seconds
when literals "h" or "m" are found. So it would accept 2m and would
convert it to 120s, for example.
Example:
+cfg-iperf3-time@15+
Change-Id: Iff28816f83670751e9e91de31ec59b1b0ad8fc0d
The file was modifiedsrc/osmo_gsm_tester/schema.py
The file was modifiedsuites/4g/iperf3_ul.py
The file was modifiedsuites/4g/iperf3_dl.py
The file was modifiedsrc/osmo_gsm_tester/resource.py
The file was modifiedsrc/osmo_gsm_tester/iperf3.py
The file was addedexample/scenarios/cfg-iperf3-time@.conf
The file was modifiedexample/defaults.conf
Commit 4d35ea2b33fbc80baec67d635b98fa51a6c6e9bb by Pau Espin Pedrol
srsenb_rr.conf.temp: patch scheduler variables for 6 PRB cells
Change-Id: Ifdab42da8184cdf8367c5be1639a0faea3e68db1
The file was modifiedsrc/osmo_gsm_tester/templates/srsenb_rr.conf.tmpl
Commit 12ae6d79a5b53a213f619999ef0230c1dae88bb7 by Pau Espin Pedrol
srs{enb,ue}: Use lowcase UHD as rf_type string
Older versions of srsLTe.git required passing UHD in caps to the conf
file, but that's not the case anymore. Let's use lowcase then.
Change-Id: If8a289ba110229d31b62b0d3adc1ae97324e6d27
The file was modifiedsrc/osmo_gsm_tester/srs_enb.py
The file was modifiedexample/resources.conf.prod
The file was modifiedsrc/osmo_gsm_tester/srs_ue.py
Commit 20a49112e9e134d35be228be4a4ad59806b1d549 by Pau Espin Pedrol
config.py: Allow escaping commas in parametrized scenario names
comma character ',' is used in the command line to split between
parameters, which means a parameter value itself couldn't contain it.
This commit allows passing a comma inside a character value by escaping
it with '\,'.
Change-Id: Ic0bd9a029137a59e8c4a32b807eba7a64fcfa51f
The file was modifiedsrc/osmo_gsm_tester/config.py
Commit 76b2c2a1081c039214b09d707a88700b4089ff7f by Pau Espin Pedrol
srs_{ue,enb}: Add modifier to pass arbitrary cmd line arguments
Change-Id: Ie438c8aa9992dbc61b2133473a83d565cf5c7056
The file was addedexample/scenarios/mod-enb-args@.conf
The file was addedexample/scenarios/mod-modem-args@.conf
The file was modifiedsrc/osmo_gsm_tester/resource.py
The file was modifiedsrc/osmo_gsm_tester/srs_enb.py
The file was modifiedsrc/osmo_gsm_tester/srs_ue.py
Commit 17253af1e928fb48e8a151bdd618ff07e7ecfb85 by Pau Espin Pedrol
Introduce contrib/jenkins-build-amarisoft.sh
Prepares inst tgz archives to be consumed by osmo-gsm-tester from
Amarisoft prebuilt binaries.
Change-Id: I372606fc5ff9f6bb3ef848f2fe229b83382ddc09
The file was modifiedsrc/osmo_gsm_tester/amarisoft_enb.py
The file was addedcontrib/jenkins-build-amarisoft.sh
The file was modifiedsrc/osmo_gsm_tester/amarisoft_epc.py
Commit 214f15e5ee46dab2728131cd24538b196088dad1 by Pau Espin Pedrol
amarisoft_enb: Add missing default values in constructor
Change-Id: I61c04df14468b38cfe4afaaeb5404367838ff0a9
The file was modifiedsrc/osmo_gsm_tester/amarisoft_enb.py
Commit a560ea7b853df6d529e0642857dea4d39b54be4a by Pau Espin Pedrol
contrib/jenkins-build-amarisoft.sh: Make build of amarisoft trx_zmq.so
optional
That module is only available so far in a private repository, so allow
still other amarisof tusers to build the bundles with UHD support.
Change-Id: I361f179c8e7f379173fa9109028e139fc4c8c251
The file was modifiedcontrib/jenkins-build-amarisoft.sh
Commit 64ad952de10fb4fac8aebe93d6740e222b7135d2 by Pau Espin Pedrol
contrib/jenkins-build-amarisoft.sh: Fix typo copying trx_uhd.so to UE
Change-Id: I0c9b83b9adf0548e78363462744644bc528c2d29
The file was modifiedcontrib/jenkins-build-amarisoft.sh
Commit eae9c90d1727751bfc3aa8b86002054ab35954af by Pau Espin Pedrol
Add modem resource features attributes: 2g, 3g, 4g
This allows selecting modem by supported network type. It will allow
using 4G modems with type different than srsue in 4g suite in the
future.
Change-Id: I38bcf6abf789f52c3ed0bee7911567fa872e2491
The file was modifiedexample/resources.conf.rnd
The file was modifiedexample/resources.conf.prod
The file was modifiedsrc/osmo_gsm_tester/schema.py
The file was modifiedsuites/4g/suite.conf