Skip to content
Failed

Changes

Summary

  1. ms: Quit early when all tests concluded.. (details)
  2. ms: Simplify starting of the test and combine loop and wait (details)
  3. ms: Only use completed tests for min/max handling (details)
  4. ms: Remove unused imports (details)
  5. ms: Make the total test duration configurable (details)
  6. Add ttcn3-bts-test env (details)
  7. bts: Recreate resources.conf trx_list with len based on num_trx (details)
  8. nanobts: Support multiTRX (details)
  9. jenkins-build-osmo-msc.sh: Build osmo-hlr before osmo-msc (details)
  10. bts_nanobts: Fix pwsup_list increasing its size every new test (details)
  11. resources.conf.prod: Update modem paths after HW setup changes (details)
  12. Cleanup of class scoped variables (details)
  13. osmo-hlr.cfg.tmpl: Add ussd routing prefix for *#100# and fix expected (details)
  14. Introduce scenario modifiers (details)
  15. Replace suites dyn_ts_ipa* and voice using scenario modifiers (details)
  16. osmo-bsc,msc: Set mgw local-ip in cfg.tmpl (details)
  17. Add channel_allocator cfg attr to bts resources (details)
  18. Add testsuite + scenarios to test nanoBTS multiTRX (details)
  19. Check for the sispm dependency (details)
  20. suite: Fix generation of config() dictionary (details)
  21. osmo-bsc: Parametrize codec-list VTY cfg (details)
  22. default-suites: Add suites testing different codecs (details)
  23. default-suites: Remove octobts tests (details)
  24. osmo-bts-trx: Big refactor and cleanup of osmo-trx related code (details)
  25. Check for smpplib being installed as well (details)
  26. Generate imsi/ki on OsmoMobile construction (details)
  27. Allow to access imsi/ki from the OsmoMobile instances (details)
  28. Remove tests for unspecified speech HR2 (details)
  29. contrib: Disable installing unneeded systemd service files (details)
  30. Build and use osmo-bsc_mgcp from openbsc.git instead of osmo-mgw.git (details)
  31. Keep track of all mobiles and copy them to unstarted later (details)
  32. Sanitize existing suite names (details)
  33. build: Add overload to clone repo and build in subdirectory (details)
  34. osmo-bts-trx: Add multiTRX support (details)
  35. osmo-trx: Add multi_arfcn support (details)
  36. default-suites: Remove nanobts HR1 voice test (details)
  37. encryption: Reuse code using test lib features (details)
  38. contrib: Add jenkins-build-osmo-iuh.sh (details)
  39. contrib: Build osmo-msc with IU support (details)
  40. contrib: Build osmo-sgsn with IU support (details)
  41. suites: encryption: Add test register_a5_3_authreq (details)
  42. contrib: Use correct var to write repo name in git_hashes.txt (details)
  43. Add dynts suite to test switch between PDCH and TCH (details)
  44. default-suites.conf: Add empty lines to easily spot different sections (details)
  45. Optimize and re-use an existing repository (details)
  46. Package mobile and virtphy as part of osmocom-bb as well (details)
  47. Be able to switch-off ASAN builds of our binaries. (details)
  48. Make code copying inst through ssh generic (details)
  49. osmotrx: Allow running osmo-trx from remote host (details)
  50. osmotrx: Make sure remote process stops after ssh session is closed (details)
  51. bts_osmo: Only check for socket path in ready_for_pcu() (details)
  52. resources.conf.prod: Use specific remote machine to run osmo-trx (details)
  53. osmo-trx: Enable multi_arfcn for B200 and only in multiTRX setup (details)
  54. default-suites.conf: Add test to check multiTRX with Ettus B200 (details)
  55. templates: Update .cfg files to use logging level set-all (details)
  56. Drop unused sysmobts-mgr.cfg.tmpl (details)
  57. defaults.conf: Add SDCCH8 ts in TRX1 cfg (details)
  58. resources.conf.prod: Update TRX host ip addr (details)
  59. bsc: Record RSL traffic in case rsl_ip and oml_ip differs (details)
  60. osmo-bts-trx: Add support for osmo-trx-lms (details)
  61. ttcn3: Support running tests without PCU socket avail (details)
  62. ttcn3: Allow remote hosts (sysmobts) to access RSL srv inside TTCN3 (details)
  63. First round of clean-ups of imports and unused variables (details)
  64. process: Make sure sync process is terminated if ogt is stopped (details)
  65. defaults.conf: Set valid default codec_list matching avail TS types (details)
  66. default-suites: Remove .conf suffic from scenarios (details)
  67. default-suites.conf: Make sure we use fr codec with IPA dyn TS (details)
  68. Always initialize the _started in the test (details)
  69. Create a "ms_driver" stub for the testsuite (details)
  70. contrib: build-osmo-sgsn: Depend on osmo-hlr build (details)
  71. utils: Introduce show_usb_device.py (details)
  72. utils: Introduce modem-netns-setup.py (details)
  73. utils: Add osmo-gsm-tester_setcap_net_*.sh scripts (details)
  74. Add support to test gprs IPv4 data plane (details)
  75. pcap_recorder: Add support to run in netns (details)
  76. resources.conf: Add extra IPaddr to pool (details)
  77. Introduce iperf3 testing infrastructure (details)
  78. Add support to enable EGPRS (details)
  79. default-suites.conf: Enable testing egprs (details)
  80. resources.conf: ec20: Enable voice support (details)
  81. ms_driver: Initialize event_server_sk_tmp_dir in ctor (details)
  82. ms_driver: Use terminate not kill and initialize in ctor (details)
  83. resources.conf.prod: Update modem info after HW upgrade (details)
  84. ms_driver: Fix subject in the header (details)
  85. osmo-trx: Add support for dev-args cfg parameter (details)
  86. resurces.conf.prod: Add UmTRX device (details)
  87. default-suites: Add tests for UmTRX (details)
  88. iperf3: Fix parsing of incorrect json from iperf3 (details)
  89. process: Move standalone run_local_sync as method of Process (details)
  90. process: launch_sync: allow non success return (details)
  91. nanobts: ipacces-config: Use process.launch_sync helper (details)
  92. templates: osmo-pcu: Set log level from dbg to info (details)
  93. templates: osmo-pcu-sysmo: Set log level from dbg to info (details)
  94. misc: Use RPATH to avoid having tests to set LD_LIBRARY_PATH (details)
  95. ms_driver: Allow to specify env and binary name/path (details)
  96. ms_driver: Switch to process.Process from subprocess (details)
  97. default-suites: Enable tests for LimeSDR-USB (details)
  98. resources.conf.rnd: gobi2k changed by ec20 (details)
  99. iperf3: Allow changing port of iperf3 server (details)
  100. iperf3: implement str() method in iperf3 server (details)
  101. tests: iperf3: Support testing parallel iperf3 clients in test (details)
  102. templates: bsc/nitb: Remove explicit no force-combined-si (details)
  103. resources.conf: Set UHD identifiers on B200 devices (details)
  104. suites: gprs: Add test to verify MS can use gprs after long idle time (details)
  105. suites: gprs: Add test to verify CS paging works while MS is GPRS (details)
  106. ms_driver: use the util.Dir and create one dir per instance (details)
  107. ms_driver: Consult the suite to get the binaries (details)
  108. suites: Add an initial test for the ms_driver (details)
Commit 0f6e41089bcde0a40bc2a83923e7fa661d06d886 by holger
ms: Quit early when all tests concluded..
And fix the the detection if everything has completed.
Change-Id: I3575ee7618c35e3b66d25fa31844d267489d9179
The file was modifiedsrc/osmo_ms_driver/location_update_test.py
Commit 6926c5763f2af7181976f04787928f4bddbbebfa by holger
ms: Simplify starting of the test and combine loop and wait
This will make it easier to strt different kind of tests. The cost of
calling step_once is hopefully neglectable as it simplifies the test.
Change-Id: I3708ac382c0a34e17cf147d18f03603946437a53
The file was modifiedsrc/osmo_ms_driver/__main__.py
The file was modifiedsrc/osmo_ms_driver/location_update_test.py
Commit af522fd6011425e8de70d1d1cc9086f2299168fa by holger
ms: Only use completed tests for min/max handling
Remove non completed results before calculating the min/max. We will
need to check success/failure based on completion ratio.
Change-Id: Icaf9e90dd729b2339e409b3ec1593f456969fd19
The file was modifiedsrc/osmo_ms_driver/location_update_test.py
Commit 874b4b4269cb500656a63c3755e32d67b18d43bf by holger
ms: Remove unused imports
Change-Id: Idd428d1bbd937a26a320eb69b1031856e49d3e4b
The file was modifiedsrc/osmo_ms_driver/simple_loop.py
The file was modifiedsrc/osmo_ms_driver/__main__.py
The file was modifiedsrc/osmo_ms_driver/event_server.py
Commit 1dc9a04bc1050262da6bcbdda7439d854b80228c by holger
ms: Make the total test duration configurable
Change-Id: I5598d5dfd51e224e13835307ad20d108a5aa3935
The file was modifiedsrc/osmo_ms_driver/location_update_test.py
The file was modifiedsrc/osmo_ms_driver/__main__.py
Commit bc1ed883043620bbbc956c4035583778b3941e95 by Pau Espin Pedrol
Add ttcn3-bts-test env
Change-Id: I3251a49503dc823f0ef1fe8ef5d68236a584dad4
The file was modifiedexample/resources.conf.rnd
The file was modifiedsrc/osmo_gsm_tester/suite.py
The file was addedttcn3/jenkins-run.sh
The file was addedttcn3/resources.conf.rnd
The file was addedttcn3/README.txt
The file was addedttcn3/default-suites.conf
The file was addedsrc/osmo_gsm_tester/osmocon.py
The file was addedttcn3/defaults.conf
The file was addedttcn3/paths.conf
The file was modified.gitignore
The file was addedttcn3/scenarios/trx.conf
The file was addedttcn3/suites/ttcn3_bts_tests/scripts/run_ttcn3_docker.sh
The file was addedttcn3/suites/ttcn3_bts_tests/ttcn3_bts_tests.py
The file was modifiedexample/resources.conf.prod
The file was addedttcn3/suites/ttcn3_bts_tests/suite.conf
The file was addedttcn3/resources.conf.prod
The file was modifiedsrc/osmo_gsm_tester/resource.py
The file was addedttcn3/suites/ttcn3_bts_tests/scripts/BTS_Tests.cfg.tmpl
Commit 698ad4ce5050c1ee50c086a699ad98c730a8e115 by Pau Espin Pedrol
bts: Recreate resources.conf trx_list with len based on num_trx
We are already doing this for defaults.cfg, but not for resources.conf.
As a result, if we have a trx_list with 2 trx but we have set num_trx=1
(default), parsing will fail later in bsc.cfg.tmpl because
conf_for_bsc_prepare() will pass a trx_list with 2 trx.
Change-Id: I28ed34abeedaa0ee2e7862ced45a46042192d831
The file was modifiedsrc/osmo_gsm_tester/bts.py
Commit f6a07122823f8a0b01b40705d103199277925169 by Pau Espin Pedrol
nanobts: Support multiTRX
num_trx is left for now by default to 1, but it has been tested to work
properly (current tests pass and both trx are configured) with
num_trx=2.
Change-Id: Ib3962f824a804e2aa582601475a8514c6cb0d8e7
The file was modifiedexample/resources.conf.rnd
The file was modifiedsrc/osmo_gsm_tester/bts_nanobts.py
The file was modifiedexample/resources.conf.prod
The file was modifiedexample/defaults.conf
The file was modifiedsrc/osmo_gsm_tester/resource.py
Commit 9d8fec54e6910bc7b05360bbfae622fb24d83aa6 by laforge
jenkins-build-osmo-msc.sh: Build osmo-hlr before osmo-msc
osmo-msc now needs libosmo-gsup-client, which is built during omso-hlr
compilation.
Change-Id: I67c5d168011a385fd4f68df351e0a93e9bef37a7
The file was modifiedcontrib/jenkins-build-osmo-msc.sh
Commit 926a4b81beb14a08124a770e4252ecdfad14a2dd by Pau Espin Pedrol
bts_nanobts: Fix pwsup_list increasing its size every new test
variables under class section are shared among all instances, and are
used unless the specific class instance attribute is set. As a result,
the same pwsup_list object was being re-used.
Take the chance to do the same with the _pcu var, since we want same
behavior for it.
See for reference: https://stackoverflow.com/a/1716730
Fixes: OS#3456 Change-Id: I3f6a9d64b35aec33430e90872f41c3d046653ce6
The file was modifiedsrc/osmo_gsm_tester/bts_nanobts.py
Commit 6caa5c11674d8b0041939b3488c8d9a517edc805 by Pau Espin Pedrol
resources.conf.prod: Update modem paths after HW setup changes
Change-Id: I8673af3e9447b8093bc61503f9354a8f0431620e
The file was modifiedexample/resources.conf.prod
Commit 58603671c21b0af30d0d52fec862c5843c6e50d0 by Pau Espin Pedrol
Cleanup of class scoped variables
After bug described in OS#3456 and fixed in last commit, let's
categorize and place variables in its correct plac to avoid similar
issus. We leave under the class keyword (class scoped variables) the
attributes which are to be used as static class attributes. All other
ones are initialized during __init__(). This way w avoid scenarios in
which while using an object from an instance attribute we end up reading
a class scoped variable which is shared among all instances.
Change-Id: I5ad4cac34a9f49eaf42966c01c9c5a4d3f3e9dc8
The file was modifiedsrc/osmo_gsm_tester/bts_osmotrx.py
The file was modifiedsrc/osmo_gsm_tester/pcu_osmo.py
The file was modifiedsrc/osmo_gsm_tester/trial.py
The file was modifiedsrc/osmo_gsm_tester/osmo_hlr.py
The file was modifiedsrc/osmo_gsm_tester/pcu_sysmo.py
The file was modifiedsrc/osmo_gsm_tester/event_loop.py
The file was modifiedsrc/osmo_gsm_tester/test.py
The file was modifiedsrc/osmo_gsm_tester/suite.py
The file was modifiedsrc/osmo_gsm_tester/osmo_ggsn.py
The file was modifiedsrc/osmo_gsm_tester/osmo_msc.py
The file was modifiedsrc/osmo_gsm_tester/process.py
The file was modifiedsrc/osmo_gsm_tester/smsc.py
The file was modifiedsrc/osmo_gsm_tester/osmo_sgsn.py
The file was modifiedsrc/osmo_gsm_tester/bts_sysmo.py
The file was modifiedsrc/osmo_gsm_tester/pcu.py
The file was modifiedsrc/osmo_gsm_tester/osmocon.py
The file was modifiedsrc/osmo_gsm_tester/osmo_nitb.py
The file was modifiedsrc/osmo_gsm_tester/osmo_stp.py
The file was modifiedsrc/osmo_gsm_tester/osmo_mgw.py
The file was modifiedsrc/osmo_gsm_tester/bts.py
The file was modifiedsrc/osmo_gsm_tester/bts_osmo.py
The file was modifiedsrc/osmo_gsm_tester/esme.py
The file was modifiedsrc/osmo_gsm_tester/sms.py
The file was modifiedsrc/osmo_gsm_tester/osmo_mgcpgw.py
The file was modifiedsrc/osmo_gsm_tester/modem.py
The file was modifiedsrc/osmo_gsm_tester/osmo_bsc.py
The file was modifiedsrc/osmo_gsm_tester/bts_octphy.py
Commit 635f4c8d8fd00ddf9f0b1b99d4ba7c1b1f90b441 by Pau Espin Pedrol
osmo-hlr.cfg.tmpl: Add ussd routing prefix for *#100# and fix expected
answer format
Since osmo-hlr.git I1d09fab810a6bb9ab02904de72dbc9e8a414f9f9, USSD
processing has been moved to osmo-hlr and prefix routing needs to be
configured, otherwise USSD requested are answered back to the MS with an
error "ss-NotAvailable (18)".
mesage received for extension resolution (*#100#) had its format change,
so update to new format (carriage return at the end was dropped).
Change-Id: I5f75eff0df2d20d7f9b39e69184cffb0e635713d
The file was modifiedsuites/aoip_ussd/assert_extension.py
The file was modifiedsrc/osmo_gsm_tester/templates/osmo-hlr.cfg.tmpl
Commit aab56921f11d509283bcee756e2f55217315576b by Pau Espin Pedrol
Introduce scenario modifiers
Before this patch, scenarios were only used to select resources with
specific attributes. This commit introduces "modifiers" in scenarios,
which allows setting or modifing config attributes of resources once
they have been reserved. This way same test can be run selecting same
resources but modifying its configuration, allowing for instance running
different number of TRX, different timeslot configuration, etc.
Modifiers are described by placing a "modifiers" dictionary in any
scenario file, similar to the current "resources" one used to select
requird resources. The "modifiers" dictionary is overlaid on top of the
"resources" one resulting from combining all the "resources" dictionary
of all scenario files.
Change-Id: If8c422c67d9a971d9ce2c72594f55cde2db7550d
The file was addedexample/scenarios/mod-bts0-numtrx2.conf
The file was modifiedselftest/suite_test.py
The file was modifiedselftest/resource_test.ok
The file was modifiedsrc/osmo_gsm_tester/resource.py
The file was modifiedselftest/suite_test.ok
The file was modifiedselftest/suite_test.ok.ign
The file was modifiedselftest/resource_test.py
The file was modifiedsrc/osmo_gsm_tester/suite.py
Commit 2482416dd9559371aea76efd148218fda6a622ac by Pau Espin Pedrol
Replace suites dyn_ts_ipa* and voice using scenario modifiers
Now that we support modifiers in scenario files, we don't need to
duplicate tests and testsuites to dynamically set trx configuration at
run time. It can be done more easily with scenario modifiers.
Change-Id: I80c441bb5b98d5d2e95d4c6ae1efab3e5f3c40d9
The file was modifiedexample/default-suites.conf
The file was removedsuites/dyn_ts_osmo/mo_mt_call_dyn_osmo.py
The file was removedsuites/dyn_ts_osmo/suite.conf
The file was addedexample/scenarios/mod-bts0-dynts-osmo.conf
The file was removedsuites/dyn_ts_ipa/mo_mt_call_dyn_ipa_no_gprs.py
The file was removedsuites/dyn_ts_ipa/lib/testlib.py
The file was removedsuites/voice/mo_mt_call_tchf.py
The file was addedexample/scenarios/mod-bts0-dynts-ipa.conf
The file was addedexample/scenarios/mod-bts0-ts-tchh.conf
The file was removedsuites/dyn_ts_osmo/lib/testlib.py
The file was removedsuites/dyn_ts_ipa/suite.conf
The file was removedsuites/dyn_ts_ipa/mo_mt_call_dyn_ipa.py
The file was removedsuites/voice/mo_mt_call_tchh.py
The file was addedexample/scenarios/mod-bts0-ts-tchf.conf
The file was removedsuites/voice/lib/testlib.py
The file was addedsuites/voice/mo_mt_call.py
The file was removedsuites/dyn_ts_osmo/mo_mt_call_dyn_osmo_no_gprs.py
Commit 568228701cb46ff3b564dae4ca63e7ae9efc684f by Pau Espin Pedrol
osmo-bsc,msc: Set mgw local-ip in cfg.tmpl
Change-Id: Id46aa337f12756f80d492bf3102db5b1449e2027
The file was modifiedsrc/osmo_gsm_tester/templates/osmo-bsc.cfg.tmpl
The file was modifiedsrc/osmo_gsm_tester/templates/osmo-msc.cfg.tmpl
Commit 722e94e83395530c892706c0a36bc36ae799c0b4 by Pau Espin Pedrol
Add channel_allocator cfg attr to bts resources
Change-Id: I682809d4aeb91a36e3a35fc481e8d40d0b084fa0
The file was modifiedexample/defaults.conf
The file was modifiedsrc/osmo_gsm_tester/templates/osmo-bsc.cfg.tmpl
The file was modifiedsrc/osmo_gsm_tester/schema.py
The file was modifiedsrc/osmo_gsm_tester/resource.py
Commit a40bce59815fb072faa34c1a5d2d952f2454979b by Pau Espin Pedrol
Add testsuite + scenarios to test nanoBTS multiTRX
Currently only 2 nanoBTS in the 900 band are attached together as a
multiTRX setup. We thus set num_trx to 2 and set channel allocator
descending to force the BTS to use the 2nd TRX when allocating channels.
Change-Id: I12e1bcb047c4efac5693cf725739e0ce2e0532ee
The file was addedexample/scenarios/mod-bts0-chanallocdescend.conf
The file was modifiedexample/default-suites.conf
The file was modifiedexample/defaults.conf
Commit 3f7d8f89f28d7eb4c5a89936211e829be0378e6d by Holger Freyther
Check for the sispm dependency
From the commit that added it:
    Using it requires the following extra dependencies:
   $ apt-get install python3-usb
   $ pip3 install pysispm
Change-Id: Id347604f47ac5243b7eae12b9bdf675f2379f4c6
The file was modifiedcheck_dependencies.py
Commit c264d3df9d1020e01f9d41921d59c90464b61b3c by Pau Espin Pedrol
suite: Fix generation of config() dictionary
suite.config() hasn't been activetly used anywere. New upcoming patches
will start using it to set and overlay config parameters for objects
which are not necessarily allocated as resources.
Since these options don't apply to specific resources, there's no sense
in running replicate_times() on them.
Change-Id: I5fcdc9151d1663e738f5c8abe588a42ab51c8f6e
The file was modifiedsrc/osmo_gsm_tester/suite.py
Commit 5dc245938b5c87e5c3d1d90098506869b3e52c3d by Pau Espin Pedrol
osmo-bsc: Parametrize codec-list VTY cfg
Change-Id: I1678aba43e8d399ecad192cbc416698373e3c0a0
The file was modifiedsrc/osmo_gsm_tester/templates/osmo-bsc.cfg.tmpl
The file was modifiedsrc/osmo_gsm_tester/schema.py
The file was addedexample/scenarios/cfg-codec-fr1.conf
The file was addedexample/scenarios/cfg-codec-hr3.conf
The file was addedexample/scenarios/cfg-codec-fr3.conf
The file was addedexample/scenarios/cfg-codec-hr1.conf
The file was addedexample/scenarios/cfg-codec-hr2.conf
The file was modifiedexample/defaults.conf
The file was modifiedsrc/osmo_gsm_tester/resource.py
The file was addedexample/scenarios/cfg-codec-fr2.conf
Commit 7e58c614395d46d8561521c51aaac03ecd7629dd by Pau Espin Pedrol
default-suites: Add suites testing different codecs
Change-Id: I591c71c66c5bbcd07466fe1d433aa87aed964fbe
The file was modifiedexample/default-suites.conf
Commit a9fdda85af89c758f96fbeaaf69f2db347b22fcd by Pau Espin Pedrol
default-suites: Remove octobts tests
Since latest release firmware, we have been unable to start up octobts
correctly. As it's annoying having all those tests failing all the time,
let's disable them in nightly builds until we have a working OctoBTS
setup working again.
Change-Id: I828723193564b3a91aeac0c163c7c8c6b7e4058c
The file was modifiedexample/default-suites.conf
Commit 0d45504267ace476c4da88fcaa702d026e3ae88a by Pau Espin Pedrol
osmo-bts-trx: Big refactor and cleanup of osmo-trx related code
* This commit is a preparation for future commits to add support for
different osmo-trx devices and backends like osmo-trx-lms.
* Drop deprecated osmo-trx-* cmd line params and use VTY cfg to set
them.
* As number of osmo-trx related osmo-gsm-tester attributes grow, group
them togther in an "osmo_trx" dictionary.
Change-Id: I77d29413c9e3b600b796627ba366f80c3281b7e1
The file was modifiedexample/defaults.conf
The file was modifiedsrc/osmo_gsm_tester/resource.py
The file was modifiedsrc/osmo_gsm_tester/schema.py
The file was modifiedexample/resources.conf.prod
The file was modifiedselftest/resource_test.ok
The file was modifiedsrc/osmo_gsm_tester/templates/osmo-bts-trx.cfg.tmpl
The file was modifiedselftest/suite_test.ok
The file was modifiedsrc/osmo_gsm_tester/templates/osmo-trx.cfg.tmpl
The file was modifiedexample/resources.conf.rnd
The file was modifiedselftest/conf/resources.conf
The file was modifiedselftest/suite_test/resources.conf
The file was modifiedsrc/osmo_gsm_tester/bts_osmotrx.py
Commit 9999d8cc9de05503754e92026d867ead6fa700e8 by Holger Freyther
Check for smpplib being installed as well
from the docs: pip3 install
git+git://github.com/podshumok/python-smpplib.git
Change-Id: I6be1c961e512e68d5bed8b317d1dda363a58fbe7
The file was modifiedcheck_dependencies.py
Commit a7b61f39fbb1c4e8018c63a06f79ed2046582296 by Holger Freyther
Generate imsi/ki on OsmoMobile construction
Take an IMSI/KI when creating the OsmoMobile and not when starting it.
This will allow other code to know which IMSIs will be used before the
system starts (e.g. to add it to the HLR/nitb db).
Change-Id: I79e259e948aa797c13118143ecd64bb7e29d274b
The file was modifiedsrc/osmo_ms_driver/starter.py
Commit 8ae38a6b856ffb6ab4b28e18912a4573fbc66034 by holger
Allow to access imsi/ki from the OsmoMobile instances
Change-Id: Ib1b5f51e93d67e1dbde6f1ab4701e539d3cabec0
The file was modifiedsrc/osmo_ms_driver/starter.py
Commit 287bfcd7884ca859d405e2cefd273660ed380700 by Pau Espin Pedrol
Remove tests for unspecified speech HR2
HR2 was never specified, so there's no sense in attempting to test it.
Change-Id: Ifd7cab43bae0729106a9402e3e610eeecde645e4
The file was removedexample/scenarios/cfg-codec-hr2.conf
The file was modifiedexample/default-suites.conf
Commit 7a216e54b031876a7cfd2e0f3ca5a9d2eaa488aa by Pau Espin Pedrol
contrib: Disable installing unneeded systemd service files
Otherwise since we install without root perissins to a local directory,
systemd files will fail to be installed to regular systemd location
/lib/systemd/system/).
Change-Id: I20a285e4e92fec7990770568e8d5dc117d6bf477
The file was modifiedcontrib/jenkins-build-common.sh
Commit 4aeb4300b1b4af5fa88f77a4f3f3c136be52ee9b by Pau Espin Pedrol
Build and use osmo-bsc_mgcp from openbsc.git instead of osmo-mgw.git
In osmo-mgw.git 31b4729f2731c747b8b33c4646dd5ade2ace29bc, osmo-bsc_mgcp
was dropped and the one from openbsc.git must be used.
Change-Id: Ib1c46baf4d36ab18f8064a2234a0ba28a1e7d2c2
The file was modifiedcontrib/jenkins-build-osmo-nitb.sh
The file was modifiedsrc/osmo_gsm_tester/osmo_mgcpgw.py
The file was modifiedcontrib/jenkins-build-osmo-mgw.sh
Commit 99a6a419a263ae92466530fdf222071dd67f3705 by laforge
Keep track of all mobiles and copy them to unstarted later
At all times have a list of mobiles that were created. Make a shallow
copy and use it as the unstarted list.
This will be used by the upcoming gsm tester integration to build a list
of subscribers to be added into the HLR/AuC database.
Change-Id: Id72b7ce8821cf53ac0d5e4a141b9a2b66242e2a3
The file was modifiedsrc/osmo_ms_driver/location_update_test.py
Commit 43857809c1778792cc447fac89c4a0587098234d by Pau Espin Pedrol
Sanitize existing suite names
When first suites were added, osmo-nitb was used. Then new tests using
regular split components were added with "aoip_" prefix. At some point
it was clear that osmo-nitb was being deprecated so new tests for split
components were added without any prefix, as they are expected to be the
default one. Since most current and future development is going to be
done for split components, as well as new tests added, it makes sense to
move the few old testsuites using osmo-nitb to have all "nitb_" prefix,
while keeping the split component tests without prefix as it's the
regular network topology.
Change-Id: Idea2e053d337548e0e9b1b47441dbb262124f909
The file was modifiedsuites/smpp/esme_connect_policy_acceptall.py
The file was removedsuites/netreg/suite.conf
The file was removedsuites/aoip_debug/interactive.py
The file was removedsuites/debug/error.py
The file was removedsuites/aoip_encryption/register_a5_0_authopt.py
The file was addedsuites/nitb_sms/suite.conf
The file was addedsuites/encryption/register_a5_1_authreq.py
The file was modifiedsuites/sms/suite.conf
The file was removedsuites/netreg/register.py
The file was removedsuites/aoip_smpp/esme_connect_policy_acceptall.py
The file was removedsuites/aoip_smpp/suite.conf
The file was addedsuites/nitb_netreg/register_default.py
The file was modifiedsuites/smpp/esme_connect_policy_closed.py
The file was addedsuites/nitb_debug/fail_raise.py
The file was addedsuites/nitb_ussd/suite.conf
The file was addedsuites/encryption/suite.conf
The file was modifiedsuites/debug/suite.conf
The file was addedsuites/nitb_debug/error.py
The file was addedsuites/nitb_smpp/esme_ms_sms_transaction.py
The file was removedsuites/aoip_sms/mo_mt_sms.py
The file was removedsuites/aoip_ussd/suite.conf
The file was addedsuites/nitb_smpp/esme_connect_policy_closed.py
The file was modifiedsuites/sms/mo_mt_sms.py
The file was removedsuites/aoip_encryption/register_a5_0_authreq.py
The file was modifiedsuites/ussd/assert_extension.py
The file was removedsuites/aoip_debug/suite.conf
The file was removedsuites/aoip_smpp/esme_ms_sms_transaction.py
The file was removedsuites/aoip_ussd/assert_extension.py
The file was addedsuites/nitb_netreg/suite.conf
The file was removedsuites/aoip_encryption/register_a5_1_authreq.py
The file was removedsuites/debug/fail_raise.py
The file was addedsuites/nitb_debug/interactive.py
The file was addedsuites/nitb_netreg/register.py
The file was addedsuites/nitb_debug/pass.py
The file was modifiedsuites/smpp/suite.conf
The file was removedsuites/aoip_encryption/suite.conf
The file was addedsuites/nitb_smpp/suite.conf
The file was addedsuites/nitb_debug/fail.py
The file was addedsuites/nitb_debug/suite.conf
The file was addedsuites/nitb_smpp/esme_connect_policy_acceptall.py
The file was addedsuites/encryption/register_a5_0_authopt.py
The file was removedsuites/netreg/register_default.py
The file was addedsuites/nitb_smpp/esme_ms_sms_storeforward.py
The file was addedsuites/nitb_ussd/assert_extension.py
The file was removedsuites/aoip_smpp/esme_connect_policy_closed.py
The file was modifiedsuites/ussd/suite.conf
The file was removedsuites/aoip_sms/suite.conf
The file was removedsuites/debug/fail.py
The file was addedsuites/nitb_sms/mo_mt_sms.py
The file was removedsuites/debug/pass.py
The file was modifiedsuites/debug/interactive.py
The file was addedsuites/encryption/register_a5_0_authreq.py
The file was modifiedsuites/smpp/esme_ms_sms_storeforward.py
The file was removedsuites/aoip_smpp/esme_ms_sms_storeforward.py
The file was modifiedexample/default-suites.conf
The file was modifiedsuites/smpp/esme_ms_sms_transaction.py
Commit cb132bd79f2176a535d049d7d3b32443b94df6e8 by Holger Freyther
build: Add overload to clone repo and build in subdirectory
To build osmo-nitb we need to clone "openbsc" and then enter the
"openbsc" sub-directory. For building "mobile" and "virt_phy" of
OsmocomBB we will need to do something similar. Instead of added more
hardcoded paths, add a variant that allows to specify the source
directory.
Change-Id: I67fbd54296f2c68316bf8e89cfeb37d147193d53
The file was modifiedcontrib/jenkins-build-osmo-nitb.sh
The file was modifiedcontrib/jenkins-build-common.sh
Commit 44b7ea18ca1f5d45669e79b9c57bb6354dd2f3e9 by Pau Espin Pedrol
osmo-bts-trx: Add multiTRX support
Support is limited to 1 osmo-trx with 1 phy and multiple instances.
Change-Id: If2bda5ec7ac9fa3fe6bc5d71f323c3ccc2a70158
The file was modifiedsrc/osmo_gsm_tester/templates/osmo-bts-trx.cfg.tmpl
The file was modifiedexample/defaults.conf
The file was modifiedsrc/osmo_gsm_tester/bts_osmotrx.py
Commit 94eab26bf3fc28dfc04ff3d41b0f4765ea2e3437 by Pau Espin Pedrol
osmo-trx: Add multi_arfcn support
2nd TRX arfcn is changed in defaults.conf because multi_arfcn requires
them to be alocated in steps of 4 starting from TRX0.
It is not enabled by default yet on B200 (it must use it to support
several TRX) because current host running osmo-gsm-tester is not
performant enough and cannot keep up with timers due to multi-arfcn CPU
overhead.
Change-Id: I096df82ad1f4cbb41dfbd6a78466a845f34be385
The file was modifiedexample/defaults.conf
The file was modifiedsrc/osmo_gsm_tester/templates/osmo-trx.cfg.tmpl
The file was modifiedsrc/osmo_gsm_tester/resource.py
The file was modifiedsrc/osmo_gsm_tester/bts_osmotrx.py
Commit 5876f4dfb832682c5ccf1d3d534c4ee86c249eb0 by laforge
default-suites: Remove nanobts HR1 voice test
nanobts doesn't support this codec, so it will always fail.
Change-Id: Iea4e6395809e5ef5485892f8f17e0dcfa36640dc
The file was modifiedexample/default-suites.conf
Commit 7a333b0676851be7fbb9e0ed99d38dc6f4f03fbe by Pau Espin Pedrol
encryption: Reuse code using test lib features
Change-Id: I9b6944516c524a0c11a47aec6839f8ee9d571661
The file was modifiedsuites/encryption/register_a5_0_authopt.py
The file was addedsuites/encryption/lib/testlib.py
The file was modifiedsuites/encryption/register_a5_0_authreq.py
The file was modifiedsuites/encryption/register_a5_1_authreq.py
Commit 1e2a041773b70196a13209e1a668e29b51cd5315 by Pau Espin Pedrol
contrib: Add jenkins-build-osmo-iuh.sh
Change-Id: I75cb9551db6b1b4aa5bfb76177694c14fad82f04
The file was addedcontrib/jenkins-build-osmo-iuh.sh
Commit 26d7f8d462fe5469c1117eb5bfdd369d3d0e49bb by Pau Espin Pedrol
contrib: Build osmo-msc with IU support
Change-Id: I68503ae2f27948aff60a9424e6b114db548d79e9
The file was modifiedcontrib/jenkins-build-osmo-msc.sh
Commit 8cc84d84046063818f01f8aaad808b7b551385cf by Pau Espin Pedrol
contrib: Build osmo-sgsn with IU support
Change-Id: I810ae848c350550430c1918b3abb4376d21d7317
The file was modifiedcontrib/jenkins-build-osmo-sgsn.sh
Commit d301bf9f84046169a714e86d8efb77451bd3c50b by Pau Espin Pedrol
suites: encryption: Add test register_a5_3_authreq
Change-Id: I279e78e741b3ca841cb8508db40874f3c17b0785
The file was addedsuites/encryption/register_a5_3_authreq.py
Commit cbbe5d8c1ad35f9d5193e6163528fc74aacad6e4 by Pau Espin Pedrol
contrib: Use correct var to write repo name in git_hashes.txt
We want to write repo name in there, not $dep which actually doesn't
exist in local context of have_repo function. In most cases it's
actually the same because in almost all cases $dep is passed as $1 to
have_repo and thus is the same as local $repo. But in a few recipes
which don't use build_repo directly but instead use have_repo and build
manually, $dep may not point to $repo. That's the case for osmocom-bb
for instance. As a result, "libosmocore" is printed twice, were second
word should be "osmocom-bb".
Change-Id: I7a7db7cf4cc020295d216c60d6dc688f110916dc
The file was modifiedcontrib/jenkins-build-common.sh
Commit 7fa19ac077574f39a6a92538e87e2d169b676042 by Pau Espin Pedrol
Add dynts suite to test switch between PDCH and TCH
It seems for not yet clear reasons the MS require some time after the
PDCH channels have been activated again to use them reliably. If no
sleep is used between call hangup and gprs activate pdp ctx, the MS
fails to activate the pdp ctx due to QMI error respone to the "Start
network" requested.
Related: OS#2582 Change-Id: I73b51c31309ac4c28c64ed7eb7c8c649e535aa22
The file was addedsuites/dynts/suite.conf
The file was addedexample/scenarios/mod-bts0-dynts67-ipa.conf
The file was addedsuites/dynts/switch_tch_pdch.py
The file was modifiedexample/default-suites.conf
The file was addedexample/scenarios/mod-bts0-dynts67-osmo.conf
Commit 32512ae54baee9ebf67755e6089194de85e26026 by Pau Espin Pedrol
default-suites.conf: Add empty lines to easily spot different sections
Change-Id: If33fa9be091113d57b25dc3d73e277bbb3b0ce5a
The file was modifiedexample/default-suites.conf
Commit 9eafb1372e2d324a3865fa54a7c1ee7ee08d0aae by laforge
Optimize and re-use an existing repository
Instead of cloning osmocom-bb three times this will allow us to re-use
the repository. Simply change the directory, set the new origin and
fetch.
Change-Id: I63f103b2f70559e969e8c66477ab9ee7f2886832
The file was modifiedcontrib/jenkins-build-common.sh
Commit fd760f6702340fa79a971485d9c683ad7ca8db03 by laforge
Package mobile and virtphy as part of osmocom-bb as well
Change-Id: Ie44dca72327e928073b00cde434d1cf2de574d9c
The file was modifiedcontrib/jenkins-build-osmocom-bb.sh
Commit 90b050764a6d4fb26f48f4389473a5cb601588ec by laforge
Be able to switch-off ASAN builds of our binaries.
Inroduce a way to not take a 2x performance hit when testing. It is of
importance if we run with hundreds of BTSes and 10k+ subscribers. In the
absence of using getops or shflags use an environment for it.
Change-Id: I540ba1c35e8fb72abcee0d86e0bdc1136b47345c
The file was modifiedcontrib/jenkins-build-osmocom-bb.sh
The file was modifiedcontrib/jenkins-build-osmo-msc.sh
The file was modifiedcontrib/jenkins-build-osmo-sgsn.sh
The file was modifiedcontrib/jenkins-build-osmo-iuh.sh
The file was modifiedcontrib/jenkins-build-osmo-bsc.sh
The file was modifiedcontrib/jenkins-build-osmo-hlr.sh
The file was modifiedcontrib/jenkins-build-osmo-ggsn.sh
The file was modifiedcontrib/jenkins-build-osmo-mgw.sh
The file was modifiedcontrib/jenkins-build-osmo-pcu.sh
The file was modifiedcontrib/jenkins-build-osmo-stp.sh
The file was modifiedcontrib/jenkins-build-common.sh
The file was modifiedcontrib/jenkins-build-osmo-bts.sh
Commit e4358a9a36b2ce16c322ec4e061d2e86ccdbd59c by Pau Espin Pedrol
Make code copying inst through ssh generic
It can later on be used by other classes that need to run binaries in
inst remotely.
Change-Id: I838b999528695207e1147cfe76e6f7aaf3b1dd53
The file was modifiedsrc/osmo_gsm_tester/process.py
The file was modifiedsrc/osmo_gsm_tester/bts_sysmo.py
Commit a9006dffd951f17e945f9aff42e66db7cae8087a by Pau Espin Pedrol
osmotrx: Allow running osmo-trx from remote host
Change-Id: Ia31ac8eb41e02eda28d9f6f56774679300244ee8
The file was modifiedsrc/osmo_gsm_tester/resource.py
The file was modifiedexample/resources.conf.rnd
The file was modifiedsrc/osmo_gsm_tester/bts_osmotrx.py
Commit 302c7563efa301829d9b695e77dad0859e629885 by Pau Espin Pedrol
osmotrx: Make sure remote process stops after ssh session is closed
First of all, it was found that vty allocation must be forced (-t -t)
during ssh session creation to make sure SIGHUP is forwarded when
session is closed.
Second, since osmo-trx ignores SIGHUP (osmo_init_ignore_signals()), we
must add a wrapper script which converts received SIGHUP into a SIGINT
to stop osmo-trx.
Change-Id: Ic334a54b1a1827d74fe0b453ac32bb77b8616147
The file was modifiedsrc/osmo_gsm_tester/bts_sysmo.py
The file was modifiedsrc/osmo_gsm_tester/bts_osmotrx.py
The file was modifiedsrc/osmo_gsm_tester/process.py
Commit f2e5972ffc67920c9e17ddd6238197944ae93918 by Pau Espin Pedrol
bts_osmo: Only check for socket path in ready_for_pcu()
Previous implementation was done due to osmo-pcu dying if failed to
connect to not-yet prepared BTS. This is no longer the case, so we can
start osmo-pcu as soon as the socket exists.
Change-Id: I3aa6bef0c4893bdcac668002ca018af019f666a3
The file was modifiedsrc/osmo_gsm_tester/bts_osmo.py
Commit b54d7c9261e03cfbf395b42135012620ad4ea12e by Pau Espin Pedrol
resources.conf.prod: Use specific remote machine to run osmo-trx
Run osmo-trx in a separate more powerful machine (i5) rather than
running in low end APU where osmo-gsm-tester runs.
Change-Id: I0479643789783d5e8a142042a65c4d53020d1e79
The file was modifiedexample/resources.conf.prod
Commit 1ff03766be8d48b7e84656544d64111466327271 by Pau Espin Pedrol
osmo-trx: Enable multi_arfcn for B200 and only in multiTRX setup
Change-Id: I6a29e1813f0603b00b49b7b7c805be23a72cf0e3
The file was modifiedexample/resources.conf.prod
The file was modifiedsrc/osmo_gsm_tester/bts_osmotrx.py
The file was modifiedexample/resources.conf.rnd
Commit 01a40a14ceeae90f5b0a1f7df4abd4187922c761 by Pau Espin Pedrol
default-suites.conf: Add test to check multiTRX with Ettus B200
Change-Id: Ied768938851488c3f502b2d41334afa17f7f5401
The file was modifiedexample/default-suites.conf
Commit 1b11c5916cd22146d8e86bef20fc0f58d5cb1fcf by Pau Espin Pedrol
templates: Update .cfg files to use logging level set-all
VTY cmd "logging level all" is deprecated in favour of "logging level
set-all", but the required behaviour in this case is "logging level
set-all".
Change-Id: Ice54fca6be86f05a02ce4ae783e6e42e6958b95d
The file was modifiedsrc/osmo_gsm_tester/templates/osmo-ggsn.cfg.tmpl
The file was modifiedsrc/osmo_gsm_tester/templates/osmo-stp.cfg.tmpl
The file was modifiedsrc/osmo_gsm_tester/templates/osmo-pcu-sysmo.cfg.tmpl
The file was modifiedsrc/osmo_gsm_tester/templates/osmo-msc.cfg.tmpl
The file was modifiedsrc/osmo_gsm_tester/templates/osmo-nitb.cfg.tmpl
The file was modifiedsrc/osmo_gsm_tester/templates/osmo-pcu.cfg.tmpl
The file was modifiedsrc/osmo_gsm_tester/templates/osmo-bsc.cfg.tmpl
The file was modifiedsrc/osmo_gsm_tester/templates/osmo-sgsn.cfg.tmpl
The file was modifiedselftest/template_test.ok
The file was modifiedselftest/template_test/osmo-nitb.cfg.tmpl
The file was modifiedsrc/osmo_gsm_tester/templates/sysmobts-mgr.cfg.tmpl
The file was modifiedsrc/osmo_gsm_tester/templates/osmo-hlr.cfg.tmpl
The file was modifiedsrc/osmo_gsm_tester/templates/osmo-trx.cfg.tmpl
The file was modifiedsrc/osmo_gsm_tester/templates/osmo-mgcpgw.cfg.tmpl
Commit cef9c0dee8465605ba9aefcd42885006f91c3f39 by Pau Espin Pedrol
Drop unused sysmobts-mgr.cfg.tmpl
Change-Id: I09632a6b4d3a431f1699d00843b9d7ee257a8b4c
The file was removedsrc/osmo_gsm_tester/templates/sysmobts-mgr.cfg.tmpl
Commit 3fa41541e29ed9743b7aebc7d2dd6d035fba57fb by Pau Espin Pedrol
defaults.conf: Add SDCCH8 ts in TRX1 cfg
This way we can test too if SDCH8 channels are allocated and used
correctly in TRX1 in multiTRX setups.
Change-Id: I9d08f3d019a28cf775d70d941c5a60a7e7ca20a9
The file was modifiedexample/defaults.conf
Commit 1a39ec14c336c94799038df40558eb5321df681f by Pau Espin Pedrol
resources.conf.prod: Update TRX host ip addr
The host was updated to have several IP address to be able to run
several instances of osmo-trx in parallel.
Change-Id: I3595b82a5d202caec7bc48a63e28ce0331e5abb7
The file was modifiedexample/resources.conf.prod
Commit 16abefb35c1042884e7c8e4c8e2b84bc0d8afa88 by Pau Espin Pedrol
bsc: Record RSL traffic in case rsl_ip and oml_ip differs
This change allows recording all interesting traffic for TTCN3 tests,
having GSMTAP and RSL together, because osmo-bsc is configured to pass
the RSL IP of the TTCN3 testsuite emulating a BSC.
Change-Id: I6bd1d1bec8e7b698d12aa886acc21d92532d9e6c
The file was modifiedsrc/osmo_gsm_tester/osmo_bsc.py
Commit e789f0c0889ebe1f42da8ca665e2f7541f5527dc by Pau Espin Pedrol
osmo-bts-trx: Add support for osmo-trx-lms
Change-Id: I44db0fe4592109ecb665e1880806d90379da64f7
The file was modifiedcontrib/jenkins-build-osmo-trx.sh
The file was addedexample/scenarios/trx-lms.conf
The file was modifiedsrc/osmo_gsm_tester/bts_osmotrx.py
The file was modifiedexample/resources.conf.prod
Commit f6166144b5261440230f68ccdb255d0f8f3c97d3 by Pau Espin Pedrol
ttcn3: Support running tests without PCU socket avail
Change-Id: I902af460b798ffdba09d77d457bac672db606368
The file was modifiedttcn3/suites/ttcn3_bts_tests/scripts/run_ttcn3_docker.sh
The file was addedttcn3/scenarios/sysmo.conf
The file was modifiedttcn3/suites/ttcn3_bts_tests/ttcn3_bts_tests.py
The file was modifiedsrc/osmo_gsm_tester/bts.py
The file was modifiedttcn3/suites/ttcn3_bts_tests/scripts/BTS_Tests.cfg.tmpl
Commit a52855614a2cf0c1a07b37fb5f719dcacf319036 by Pau Espin Pedrol
ttcn3: Allow remote hosts (sysmobts) to access RSL srv inside TTCN3
docker
And extra IP address is required/requested on the docker host because
the BSC handling the OML instance is binding to it's address, so we
cannot ask docker to use that one because it fails binding to it.
Change-Id: I734fba91db535d7b183ddc7f51d324a6cd2eaf6f
The file was modifiedttcn3/suites/ttcn3_bts_tests/suite.conf
The file was modifiedttcn3/suites/ttcn3_bts_tests/scripts/run_ttcn3_docker.sh
The file was modifiedttcn3/suites/ttcn3_bts_tests/ttcn3_bts_tests.py
The file was modifiedttcn3/default-suites.conf
Commit d03acdf38ab75d90d588c4990076a3f763882583 by Holger Freyther
First round of clean-ups of imports and unused variables
Run pyflakes src/osmo_gsm_tester and then address the first round of
problems.
Change-Id: I02f1d89078dfdf37d53e2e20811bf36fb14ec3b0
The file was modifiedsrc/osmo_gsm_tester/bts_osmo.py
The file was modifiedsrc/osmo_gsm_tester/bts_osmotrx.py
The file was modifiedsrc/osmo_gsm_tester/suite.py
The file was modifiedsrc/osmo_gsm_tester/esme.py
The file was modifiedsrc/osmo_gsm_tester/bts_nanobts.py
The file was modifiedsrc/osmo_gsm_tester/bts_octphy.py
The file was modifiedsrc/osmo_gsm_tester/smsc.py
The file was modifiedsrc/osmo_gsm_tester/bts.py
The file was modifiedsrc/osmo_gsm_tester/modem.py
The file was modifiedsrc/osmo_gsm_tester/pcu_osmo.py
The file was modifiedsrc/osmo_gsm_tester/report.py
Commit 8aca1f37d6a8a7c772b1ae95ed8825f185253eaa by Pau Espin Pedrol
process: Make sure sync process is terminated if ogt is stopped
Change-Id: Iecdac96ea576a312be2a6c6b6799e249074687ef
The file was modifiedsrc/osmo_gsm_tester/process.py
Commit d11da2e6bcd3f12e852df6eb9b18e17d8498203e by Pau Espin Pedrol
defaults.conf: Set valid default codec_list matching avail TS types
By default, all channels are TCH/F, and as a result we cannot run half
rate codecs on it.
Since recent versions of osmo-bsc, it checks this kind of
misconfigurations and answers with an Assignment Failure:
.... 20181029162133430 DMSC <0007> codec_pref.c:445 codec-support/trx
config of BTS 0 does not intersect with codec-list of MSC 0
20181029162133430 DMSC <0007> osmo_bsc_main.c:887 Configuration contains
mutually exclusive codec settings -- check configuration!
.... 20181029162255253 DMSC <0007> osmo_bsc_bssap.c:859 Rx MSC DT1
BSSMAP ASSIGNMENT REQ 20181029162255254 DMSC <0007> osmo_bsc_bssap.c:718
No supported audio type found for channel_type = { ch_indctr=0x1,
ch_rate_type=0xa, perm_spch=[ 42 21 11 01 25 05 ]
Change-Id: Ie6b37839fe363b5d1ba64c267d751221434cdedb
The file was modifiedexample/defaults.conf
Commit c046dba575316004101253df15bd967f8ee6e21e by Pau Espin Pedrol
default-suites: Remove .conf suffic from scenarios
Change-Id: I090a3ba8c5eb8fc256f09c798bfb5a17cdca274e
The file was modifiedexample/default-suites.conf
Commit 317cdf64e2327edf89e78936e596c27957a4e729 by Pau Espin Pedrol
default-suites.conf: Make sure we use fr codec with IPA dyn TS
IPA style dynamic timeslots (TCH/F_PDCH) support only TCH/F and thus
only full rate codecs are to be used.
On the other hand, OSMO style dynamic timeslots (TCH/F_TCH/H_PDCH) can
use both full rate and half rate, so no need to be restrictive there.
Change-Id: I0039ef60b323ed72cfe00d8fd9e9287e9c82d49f
The file was addedexample/scenarios/cfg-codec-fr-any.conf
The file was modifiedexample/default-suites.conf
Commit b697b3bb8685e87357b572abef97676df58ddaf8 by Holger Freyther
Always initialize the _started in the test
We don't know at which state the termiation routine will be called and
it is best to have a fully initialized object. In prepare we start with
a fresh list just to be sure.
Change-Id: I675772c89e32620da5695aa4793b735cc266684c
The file was modifiedsrc/osmo_ms_driver/location_update_test.py
Commit b484aab683bc69f1b1314679653d2f3d1139c955 by Holger Freyther
Create a "ms_driver" stub for the testsuite
All config parameters are hardcoded for now and it should push
subscribers into the test (which should be a base class but not a
specific test).
Change-Id: I586b6d532c6e6395b4e6f2cf2128372237d05a7d
The file was addedsrc/osmo_gsm_tester/ms_driver.py
The file was modifiedsrc/osmo_gsm_tester/suite.py
Commit 24dc93754b0057fcd7256c4709d5f0c87fc854b3 by Pau Espin Pedrol
contrib: build-osmo-sgsn: Depend on osmo-hlr build
Since osmo-sgsn f4b2c4ca42cc530c38c9ac6f275e4d7da9315fa2, it depends on
libosmo-gsup-client available in osmo-hlr.
Change-Id: I6aa997ff2092f9ddf2ac475fd094803be9063980
The file was modifiedcontrib/jenkins-build-osmo-sgsn.sh
Commit 2decdba7e569bfd2693787bbb17690a7531f3f64 by Pau Espin Pedrol
utils: Introduce show_usb_device.py
This is a small script written by Alexander Couzens that is useful to
list modems and its properties in a quick and easy way in
osmo-gsm-tester setup.
Change-Id: Iec049e2d56d61ecd50b65b64d95d69641fa0f8be
The file was addedutils/show_usb_device.py
Commit e972828a019a5decc3c39050123e11f71737551e by Pau Espin Pedrol
utils: Introduce modem-netns-setup.py
Used to quickly set modem net interfaces into their own net namespace
(named after modem USB ID path).
The idea is that since osmo-gsm-tester ofono modem.py knowns the USB
path from a modem (path yml attr), it can infer the netns from it and
run a ping process inside it.
Related: OS#2308 Change-Id: Iadb2df2974e132044fba1f1bc2db8b559912e4e1
The file was addedutils/modem-netns-setup.py
Commit 0aaf8e1c1ba92ce9d8167fc8be78122c908d8138 by Pau Espin Pedrol
utils: Add osmo-gsm-tester_setcap_net_*.sh scripts
This scripts were already being used by osmo-gsm-tester for a while, but
were not avaialable in this repository. Let's put them here to easy find
them and have all this kind of helper scripts together with code using
it.
Change-Id: Ib88a1b7818155fc608cc6ff763300fbd0e03a07a
The file was addedutils/osmo-gsm-tester_setcap_net_admin.sh
The file was addedutils/osmo-gsm-tester_setcap_net_raw.sh
Commit fd4c14404908c683a00e9132a50fdb9a91ccd698 by Pau Espin Pedrol
Add support to test gprs IPv4 data plane
Since the modem iface and the GGSN iface are on the same host/netns,
it's really difficult to conveniently test data plane without getting
routing loops. As a result, either GGSN or modem iface must be moved to
a different namespace. The decision after a few discussions was finally
to move modem interfaces to a different netns.
Expected setup:
* ofono is patched to avoid removing modem if it detects through udev
that its net iface was removed (due to for instance, net iface being
moved to another netns and thus not being reachable anymore by
systemd-udev process running in root netns).
* After ofono is started (and successfully configured all the modems and
detected its net ifaces through syfs/udev), script "modem-netns-setup.py
start" which creates a netns for each modem, naming it after its usb
path ID. net ifaces for that modem are moved into its netns.
* Modem is configured to use 802-3 data format, and as a result the net
iface is configured through DHCP (DHCP req only replied AFTER pdp ctx is
activated!).
* Since osmo-gsm-tester knowns the modem USB path ID (available in
resources.conf), it can run required steps (ifup, DHCP) to configure the
interface. The interface name is provided by ofono to osmo-gsm-tester.
* As a result, any process willing to transmit data through the modem
must be in the modem netns.
Related: OS#2308 Change-Id: Icb06bdfcdd37c797be95ab5addb28da2d9f6681c
The file was modifiedsrc/osmo_gsm_tester/process.py
The file was modifiedsuites/gprs/ping.py
The file was addedutils/osmo-gsm-tester_netns_exec.sh
The file was modifiedsrc/osmo_gsm_tester/modem.py
The file was modifiedexample/resources.conf.rnd
The file was modifiedexample/resources.conf.prod
The file was modifiedsrc/osmo_gsm_tester/suite.py
Commit 772b2b14bbae02d36f9f815706d59186a08b2556 by Pau Espin Pedrol
pcap_recorder: Add support to run in netns
Change-Id: Ie1c848254f221f26c59e7f4bd8c079fe3e7bdfc2
The file was modifiedsrc/osmo_gsm_tester/pcap_recorder.py
Commit 34735f1c495efba6788953fca601908cfb13278c by Pau Espin Pedrol
resources.conf: Add extra IPaddr to pool
Change-Id: If0f1a6a3f4e99091ed117bc7a77a5e60eccb2425
The file was modifiedexample/resources.conf.rnd
The file was modifiedexample/resources.conf.prod
Commit 8a72586835c8852fb3cded82ee3432e07754dce7 by Pau Espin Pedrol
Introduce iperf3 testing infrastructure
Change-Id: I6ff6bef14feb535d98ca41b9788700d699e1ef1e
The file was addedsuites/gprs/iperf3.py
The file was addedsrc/osmo_gsm_tester/iperf3.py
The file was modifiedsuites/gprs/suite.conf
The file was modifiedsrc/osmo_gsm_tester/suite.py
Commit 4f23ab58ad64f11eb7ca3360fbea061d1aa801e6 by Pau Espin Pedrol
Add support to enable EGPRS
Change-Id: I682f0c1b4cb97b704d646f18f54e748baaefd677
The file was modifiedsrc/osmo_gsm_tester/templates/osmo-bsc.cfg.tmpl
The file was modifiedsrc/osmo_gsm_tester/templates/osmo-trx.cfg.tmpl
The file was modifiedexample/defaults.conf
The file was modifiedsrc/osmo_gsm_tester/resource.py
The file was modifiedsrc/osmo_gsm_tester/bts_osmotrx.py
The file was addedexample/scenarios/mod-bts0-egprs.conf
The file was modifiedsrc/osmo_gsm_tester/schema.py
Commit 8cecdb2ae32c494cbe5d5a4fa159098da0986cb9 by Pau Espin Pedrol
default-suites.conf: Enable testing egprs
Change-Id: I1885e2a749e62547f60b9c35e15f1277b2627bb4
The file was modifiedexample/default-suites.conf
Commit fcdf34ade89d133a273c3b1cf4a2db50c0ac2b05 by Pau Espin Pedrol
resources.conf: ec20: Enable voice support
It was tested that it could do MO and MT voicecall just fine as SierraW
modems.
Change-Id: Ie14c00f9f80e00fdbb52ab82a53b4b5a187d41e7
The file was modifiedexample/resources.conf.prod
The file was modifiedexample/resources.conf.rnd
Commit d6d3206b0ad1a83aebbccec7e739d440194a5f2a by Holger Freyther
ms_driver: Initialize event_server_sk_tmp_dir in ctor
Change-Id: I9f39a25f292262cf335df371f434995e58c9ae93
The file was modifiedsrc/osmo_gsm_tester/ms_driver.py
Commit b5e86b7e11d7f30531b0735bf7ef606029d60ecc by Holger Freyther
ms_driver: Use terminate not kill and initialize in ctor
Change-Id: Ib0102569cfb64a2f85ff33b93dd4ffc8ec59171b
The file was modifiedsrc/osmo_ms_driver/starter.py
Commit a89d2e31d69422777aec363fa75f2c0b1bd5d780 by Pau Espin Pedrol
resources.conf.prod: Update modem info after HW upgrade
A new quadmodem with 4xEC20 has been added to the Prod setup.
Change-Id: I51f0b7dd7a1857d34fc2c5076016caeffa15240d
The file was modifiedexample/resources.conf.prod
Commit 799fe6286b5df3d4f381e9d43858be6e4d1a61a4 by holger
ms_driver: Fix subject in the header
Change-Id: I47e688b9fe3aef6679e3c82c641393ab041cbec3
The file was modifiedsrc/osmo_ms_driver/location_update_test.py
Commit 8cfa10f01d0e20279d9af1205b23de27c478e229 by Pau Espin Pedrol
osmo-trx: Add support for dev-args cfg parameter
Change-Id: I3cff225e378e187779bf2b0c7d65bd6b97217104
The file was modifiedsrc/osmo_gsm_tester/resource.py
The file was modifiedsrc/osmo_gsm_tester/templates/osmo-trx.cfg.tmpl
Commit e7f9f41e12f83d95e2fe704f2e1c0000c59a2af8 by Pau Espin Pedrol
resurces.conf.prod: Add UmTRX device
Change-Id: I11f3275bddcc1c0c5bcd75e6a32f040a8f7c1174
The file was modifiedexample/resources.conf.prod
The file was addedexample/scenarios/trx-umtrx.conf
Commit b79d39eb2c3f87835d147faee9d0341a49039e9c by Pau Espin Pedrol
default-suites: Add tests for UmTRX
Change-Id: I0d0fe17676550a96d9bcf795faf43f7e6b82fb1a
The file was modifiedexample/default-suites.conf
Commit 64f0b1b1142ccddaabdc0bb168695b59ed60e504 by Pau Espin Pedrol
iperf3: Fix parsing of incorrect json from iperf3
Change-Id: I759d99857c17de061e6d7c1ae1c38f6b15172131
The file was modifiedsrc/osmo_gsm_tester/iperf3.py
Commit 79df739c07088b1cfc4f42b8c3fe273d84550a0b by Pau Espin Pedrol
process: Move standalone run_local_sync as method of Process
Change-Id: Ib2b3fd39db5400a93a8caabae367dac3e3250247
The file was modifiedsrc/osmo_gsm_tester/iperf3.py
The file was modifiedsrc/osmo_gsm_tester/modem.py
The file was modifiedsrc/osmo_gsm_tester/process.py
Commit 78087beaa9dea02f53b4e650051b32d56f1639f3 by Pau Espin Pedrol
process: launch_sync: allow non success return
Change-Id: I0617335b594ba565cf2e5ffd0edfb8bffa398c48
The file was modifiedsrc/osmo_gsm_tester/process.py
Commit 1444f55643a9c4f821eeba1b57aee76b0fcfa699 by Pau Espin Pedrol
nanobts: ipacces-config: Use process.launch_sync helper
Change-Id: I986ba81d766240d4f11c079d90b126bf96d776b9
The file was modifiedsrc/osmo_gsm_tester/bts_nanobts.py
Commit c977547ea177febd9e27f3c044dfd3e2052bb93a by Pau Espin Pedrol
templates: osmo-pcu: Set log level from dbg to info
Otherwise there's too much output. With debug enabled, iperf3 test from
gprs testsuite generates a 96MB osmo-pcu.log. With log level set to
info, size drops to 1.4M, which is a lot less after compressing in an
archive.
Change-Id: I008234024b9369db42c90ef5d59a013fd2d22718
The file was modifiedsrc/osmo_gsm_tester/templates/osmo-pcu.cfg.tmpl
Commit b656432701dbd205d620205c8c86607224250478 by Pau Espin Pedrol
templates: osmo-pcu-sysmo: Set log level from dbg to info
Otherwise there's too much output. With debug enabled, iperf3 test from
gprs testsuite generates a 111MB osmo-pcu.log.
Change-Id: I687361f3d6ede9a77531cd71204b1b07e0d1af42
The file was modifiedsrc/osmo_gsm_tester/templates/osmo-pcu-sysmo.cfg.tmpl
Commit 9cf1c8afde842febc02ce5fe6f931fe797236a84 by Holger Freyther
misc: Use RPATH to avoid having tests to set LD_LIBRARY_PATH
Instead of each binary launcher having to check if there is a lib/
directory and then setting a LD_LIBRARY_PATH we can use an RPATH and
know these binaries pick-up the right libraries.
This requires I6e4ad2e3855af7bcefc22d4190cc4e6f58581857.
Change-Id: If771767dd82662e13b6b10ee7a8b8d0c84dcbdb1
The file was modifiedcontrib/jenkins-build-common.sh
Commit f658b83b07317d29b22c86adc7f7b9229f93af72 by Holger Freyther
ms_driver: Allow to specify env and binary name/path
For the proper trial/suite integration we can't assume that the
virtphy/mobile are in the PATH and that they can be executed directly
(e.g. need a LD_LIBRARY_PATH to be applied).
Introduce BinaryOptions to pass the name/path of the two executables and
the env to use. Default this to virtphy/mobile and an empty environment.
Change-Id: I79a57e53bc20613ac061453c24fd29a6d05e1721
The file was modifiedsrc/osmo_ms_driver/__main__.py
The file was modifiedsrc/osmo_gsm_tester/ms_driver.py
The file was modifiedsrc/osmo_ms_driver/starter.py
The file was modifiedsrc/osmo_ms_driver/location_update_test.py
Commit f743afb669cd2e5dad013952dab4dc470bc8746e by Holger Freyther
ms_driver: Switch to process.Process from subprocess
Use a single tmp/rundir for all these instances. In the next step we can
create separate directories.
Change-Id: Icf4d4e161ac4283a63ed4e0745b375e7e6a25004
The file was modifiedsrc/osmo_ms_driver/__main__.py
The file was modifiedsrc/osmo_ms_driver/starter.py
The file was modifiedsrc/osmo_ms_driver/location_update_test.py
The file was modifiedsrc/osmo_gsm_tester/ms_driver.py
Commit 4a6324742a6565f0e1c6e00c34e34fca41b8764e by laforge
default-suites: Enable tests for LimeSDR-USB
Change-Id: I896ea76f1d2847ec014a62c87220d184b95d1dd2
The file was modifiedexample/default-suites.conf
Commit 289383c914865a4234280da5087198ee681c20a8 by Pau Espin Pedrol
resources.conf.rnd: gobi2k changed by ec20
Given current bad support of most features used, gobi2k modem was
removed and an EC20 was added instead.
Change-Id: I2df38547978c7d2b1a1309f6e73b5a59413e08ff
The file was modifiedexample/resources.conf.rnd
Commit cf6a360efe09bac2eec2f522ec1e66e8150302fb by Pau Espin Pedrol
iperf3: Allow changing port of iperf3 server
This way several servers can run sharing same IP address.
default port variable is moved inside class to be available to tests.
Change-Id: Id4eae7cefbb1a18ecf2676f9cb22c60cc91cec7c
The file was modifiedsrc/osmo_gsm_tester/iperf3.py
Commit 0df6317d1f30c3bfef22bb6c9e6a79fab16eb1bc by Pau Espin Pedrol
iperf3: implement str() method in iperf3 server
This way it can be logged easily during test runs.
Change-Id: I699f0a9a8d263ac9f02ea9594a28ca9fd8d48db6
The file was modifiedsrc/osmo_gsm_tester/iperf3.py
Commit 0fc74370b0c73d39fc04b4678d8cded7d331a6cc by Pau Espin Pedrol
tests: iperf3: Support testing parallel iperf3 clients in test
Since tests running a single MS and several of them are really similar,
generic code handling the test for N concurrent iperf3 sessions is
writen an moved to testlib, and existing and new test use that code.
Change-Id: I57799fde49e6845379cca332eec0a1f70aaecd2b
The file was modifiedsuites/gprs/suite.conf
The file was addedsuites/gprs/lib/testlib.py
The file was modifiedsrc/osmo_gsm_tester/iperf3.py
The file was addedsuites/gprs/iperf3m4.py
The file was modifiedsuites/gprs/iperf3.py
Commit 9ea9c65b39a89d73a388a24ba6514d072537d1fa by Pau Espin Pedrol
templates: bsc/nitb: Remove explicit no force-combined-si
It's always been the default anyway, so no need to explicitly state it.
Furthermore, recently (osmobsc 167cb828665b91ed7d28007abd4a1862ebbb78c9)
force-combined-si was enabled by default for nanoBTS due to issues with
some MS not registering when it's not enabled, so let's osmo-bsc decide
were should it be enabled.
Related: OS#3063 Change-Id: I97b10406a4a0048c66a47aa7d32a113f0c0366d1
The file was modifiedselftest/template_test.ok
The file was modifiedsrc/osmo_gsm_tester/templates/osmo-bsc.cfg.tmpl
The file was modifiedsrc/osmo_gsm_tester/templates/osmo-nitb.cfg.tmpl
Commit 5686602a98134f61ff2b6b9b83a31509619ae27b by Pau Espin Pedrol
resources.conf: Set UHD identifiers on B200 devices
osmo-trx-uhd uses these args during device search/selection process. As
those were not set until now for B200, it means when a B200 was used by
osmo-gsm-tester any UHD device could be picked up and used by UHD. That
was actually happening since inclusion of UmTRX devices in Prod setup,
when running tests against desired B200, actually the UmTRX device was
being used.
Change-Id: I696bbc800b05fdd9a68a77f363d76dcc53ef24ee
The file was modifiedexample/resources.conf.prod
The file was modifiedexample/resources.conf.rnd
Commit d7fa036102e38acd7ac7cc5097a77ec561e2e8c0 by Pau Espin Pedrol
suites: gprs: Add test to verify MS can use gprs after long idle time
Change-Id: I1a726049d1e4a95f1145dcf1f654c63503ceb78a
The file was addedsuites/gprs/ping_idle_ping.py
Commit dcc67fca3e87bbcc7e276e298c02870128ce3a9c by Pau Espin Pedrol
suites: gprs: Add test to verify CS paging works while MS is GPRS
attached
Related: OS#2204 Change-Id: If2844d78b52eda59c1f6d9e18363b858f2b5f007
The file was addedsuites/gprs/cs_paging_gprs_active.py
The file was modifiedsuites/gprs/suite.conf
Commit 792614f12baa0acbcb05e50a81473809d6304008 by Holger Freyther
ms_driver: use the util.Dir and create one dir per instance
Change-Id: Ie0f2fe99f6a6640606eb4e69fb1a2d22eae9b2c8
The file was modifiedsrc/osmo_ms_driver/__main__.py
The file was modifiedsrc/osmo_ms_driver/starter.py
The file was modifiedsrc/osmo_gsm_tester/ms_driver.py
Commit bdc18d97e14a12dea1f0a6e1d63ff32573714c4a by Holger Freyther
ms_driver: Consult the suite to get the binaries
Change-Id: I7fbb04cf67fe21378aacefcf1a15533d20d10d49
The file was modifiedsrc/osmo_gsm_tester/ms_driver.py
Commit 5b84115d22014bd23e9360cc0dc80a677638a5e5 by holger
suites: Add an initial test for the ms_driver
Things to make configurable:
* IMSI and matching MSISDN ranges (start + count)
* Timeouts and number of MS (which should be related)
Change-Id: I5be2a6b4d3d21bf48625624b9e2cccb33765fe39
The file was addedsuites/nitb_netreg_mass/register_default_mass.py
The file was addedsuites/nitb_netreg_mass/suite.conf