Skip to content

Changes

Started by Holger Freyther
Started 7 yr 2 mo ago
Took 1 min 11 sec on osmo-gsm-tester-prod
ms: Quit early when all tests concluded..
And fix the the detection if everything has completed.
Change-Id: I3575ee7618c35e3b66d25fa31844d267489d9179
holger at
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
holger at
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
holger at
ms: Remove unused imports
Change-Id: Idd428d1bbd937a26a320eb69b1031856e49d3e4b
holger at
ms: Make the total test duration configurable
Change-Id: I5598d5dfd51e224e13835307ad20d108a5aa3935
holger at
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
Pau Espin Pedrol at
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
Pau Espin Pedrol at
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
laforge at
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
Pau Espin Pedrol at
resources.conf.prod: Update modem paths after HW setup changes
Change-Id: I8673af3e9447b8093bc61503f9354a8f0431620e
Pau Espin Pedrol at
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
Pau Espin Pedrol at
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
Pau Espin Pedrol at
osmo-bsc,msc: Set mgw local-ip in cfg.tmpl
Change-Id: Id46aa337f12756f80d492bf3102db5b1449e2027
Pau Espin Pedrol at
Add channel_allocator cfg attr to bts resources
Change-Id: I682809d4aeb91a36e3a35fc481e8d40d0b084fa0
Pau Espin Pedrol at
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
Pau Espin Pedrol at
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
Holger Freyther at
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
Pau Espin Pedrol at
default-suites: Add suites testing different codecs
Change-Id: I591c71c66c5bbcd07466fe1d433aa87aed964fbe
Pau Espin Pedrol at
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
Pau Espin Pedrol at
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
Pau Espin Pedrol at
Check for smpplib being installed as well
from the docs: pip3 install
git+git://github.com/podshumok/python-smpplib.git
Change-Id: I6be1c961e512e68d5bed8b317d1dda363a58fbe7
Holger Freyther at
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
Holger Freyther at
Allow to access imsi/ki from the OsmoMobile instances
Change-Id: Ib1b5f51e93d67e1dbde6f1ab4701e539d3cabec0
holger at
Remove tests for unspecified speech HR2
HR2 was never specified, so there's no sense in attempting to test it.
Change-Id: Ifd7cab43bae0729106a9402e3e610eeecde645e4
Pau Espin Pedrol at
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
Pau Espin Pedrol at
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
Pau Espin Pedrol at
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
laforge at
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
suites/netreg/suite.conf suites/aoip_smpp/suite.conf suites/aoip_encryption/register_a5_0_authreq.py suites/nitb_debug/suite.conf suites/aoip_ussd/assert_extension.py suites/nitb_debug/pass.py suites/nitb_ussd/assert_extension.py suites/debug/error.py suites/netreg/register.py suites/nitb_debug/fail.py suites/nitb_smpp/esme_ms_sms_storeforward.py example/default-suites.conf suites/smpp/esme_ms_sms_transaction.py suites/smpp/suite.conf suites/nitb_sms/suite.conf suites/nitb_smpp/esme_ms_sms_transaction.py suites/nitb_netreg/suite.conf suites/aoip_sms/suite.conf suites/nitb_netreg/register_default.py suites/netreg/register_default.py suites/aoip_smpp/esme_connect_policy_acceptall.py suites/nitb_ussd/suite.conf suites/aoip_sms/mo_mt_sms.py suites/aoip_debug/interactive.py suites/encryption/register_a5_1_authreq.py suites/nitb_smpp/esme_connect_policy_closed.py suites/nitb_sms/mo_mt_sms.py suites/nitb_debug/error.py suites/aoip_smpp/esme_connect_policy_closed.py suites/sms/mo_mt_sms.py suites/smpp/esme_connect_policy_closed.py suites/debug/interactive.py suites/debug/fail_raise.py suites/nitb_smpp/esme_connect_policy_acceptall.py suites/debug/pass.py suites/debug/fail.py suites/nitb_debug/fail_raise.py suites/nitb_netreg/register.py suites/ussd/assert_extension.py suites/ussd/suite.conf suites/nitb_smpp/suite.conf suites/encryption/suite.conf suites/aoip_encryption/suite.conf suites/aoip_smpp/esme_ms_sms_storeforward.py suites/aoip_ussd/suite.conf suites/sms/suite.conf suites/aoip_encryption/register_a5_0_authopt.py suites/smpp/esme_ms_sms_storeforward.py suites/aoip_encryption/register_a5_1_authreq.py suites/encryption/register_a5_0_authreq.py suites/aoip_smpp/esme_ms_sms_transaction.py suites/debug/suite.conf suites/nitb_debug/interactive.py suites/encryption/register_a5_0_authopt.py suites/aoip_debug/suite.conf suites/smpp/esme_connect_policy_acceptall.py
Pau Espin Pedrol at
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
Holger Freyther at
osmo-bts-trx: Add multiTRX support
Support is limited to 1 osmo-trx with 1 phy and multiple instances.
Change-Id: If2bda5ec7ac9fa3fe6bc5d71f323c3ccc2a70158
Pau Espin Pedrol at
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
Pau Espin Pedrol at
default-suites: Remove nanobts HR1 voice test
nanobts doesn't support this codec, so it will always fail.
Change-Id: Iea4e6395809e5ef5485892f8f17e0dcfa36640dc
laforge at
contrib: Add jenkins-build-osmo-iuh.sh
Change-Id: I75cb9551db6b1b4aa5bfb76177694c14fad82f04
Pau Espin Pedrol at
contrib: Build osmo-msc with IU support
Change-Id: I68503ae2f27948aff60a9424e6b114db548d79e9
Pau Espin Pedrol at
contrib: Build osmo-sgsn with IU support
Change-Id: I810ae848c350550430c1918b3abb4376d21d7317
Pau Espin Pedrol at
suites: encryption: Add test register_a5_3_authreq
Change-Id: I279e78e741b3ca841cb8508db40874f3c17b0785
Pau Espin Pedrol at
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
Pau Espin Pedrol at
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
Pau Espin Pedrol at
default-suites.conf: Add empty lines to easily spot different sections
Change-Id: If33fa9be091113d57b25dc3d73e277bbb3b0ce5a
Pau Espin Pedrol at
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
laforge at
Package mobile and virtphy as part of osmocom-bb as well
Change-Id: Ie44dca72327e928073b00cde434d1cf2de574d9c
laforge at
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
laforge at
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
Pau Espin Pedrol at
osmotrx: Allow running osmo-trx from remote host
Change-Id: Ia31ac8eb41e02eda28d9f6f56774679300244ee8
Pau Espin Pedrol at
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
Pau Espin Pedrol at
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
Pau Espin Pedrol at
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
Pau Espin Pedrol at
osmo-trx: Enable multi_arfcn for B200 and only in multiTRX setup
Change-Id: I6a29e1813f0603b00b49b7b7c805be23a72cf0e3
Pau Espin Pedrol at
default-suites.conf: Add test to check multiTRX with Ettus B200
Change-Id: Ied768938851488c3f502b2d41334afa17f7f5401
Pau Espin Pedrol at
Drop unused sysmobts-mgr.cfg.tmpl
Change-Id: I09632a6b4d3a431f1699d00843b9d7ee257a8b4c
Pau Espin Pedrol at
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
Pau Espin Pedrol at
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
Pau Espin Pedrol at
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
Pau Espin Pedrol at
osmo-bts-trx: Add support for osmo-trx-lms
Change-Id: I44db0fe4592109ecb665e1880806d90379da64f7
Pau Espin Pedrol at
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
Pau Espin Pedrol at
process: Make sure sync process is terminated if ogt is stopped
Change-Id: Iecdac96ea576a312be2a6c6b6799e249074687ef
Pau Espin Pedrol at
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
Pau Espin Pedrol at
default-suites: Remove .conf suffic from scenarios
Change-Id: I090a3ba8c5eb8fc256f09c798bfb5a17cdca274e
Pau Espin Pedrol at
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
Pau Espin Pedrol at
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
Holger Freyther at
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
Holger Freyther at
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
Pau Espin Pedrol at
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
Pau Espin Pedrol at
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
Pau Espin Pedrol at
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
Pau Espin Pedrol at
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
Pau Espin Pedrol at
pcap_recorder: Add support to run in netns
Change-Id: Ie1c848254f221f26c59e7f4bd8c079fe3e7bdfc2
Pau Espin Pedrol at
resources.conf: Add extra IPaddr to pool
Change-Id: If0f1a6a3f4e99091ed117bc7a77a5e60eccb2425
Pau Espin Pedrol at
Introduce iperf3 testing infrastructure
Change-Id: I6ff6bef14feb535d98ca41b9788700d699e1ef1e
Pau Espin Pedrol at
default-suites.conf: Enable testing egprs
Change-Id: I1885e2a749e62547f60b9c35e15f1277b2627bb4
Pau Espin Pedrol at
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
Pau Espin Pedrol at
ms_driver: Initialize event_server_sk_tmp_dir in ctor
Change-Id: I9f39a25f292262cf335df371f434995e58c9ae93
Holger Freyther at
ms_driver: Use terminate not kill and initialize in ctor
Change-Id: Ib0102569cfb64a2f85ff33b93dd4ffc8ec59171b
Holger Freyther at
resources.conf.prod: Update modem info after HW upgrade
A new quadmodem with 4xEC20 has been added to the Prod setup.
Change-Id: I51f0b7dd7a1857d34fc2c5076016caeffa15240d
Pau Espin Pedrol at
ms_driver: Fix subject in the header
Change-Id: I47e688b9fe3aef6679e3c82c641393ab041cbec3
holger at
osmo-trx: Add support for dev-args cfg parameter
Change-Id: I3cff225e378e187779bf2b0c7d65bd6b97217104
Pau Espin Pedrol at
resurces.conf.prod: Add UmTRX device
Change-Id: I11f3275bddcc1c0c5bcd75e6a32f040a8f7c1174
Pau Espin Pedrol at
default-suites: Add tests for UmTRX
Change-Id: I0d0fe17676550a96d9bcf795faf43f7e6b82fb1a
Pau Espin Pedrol at
iperf3: Fix parsing of incorrect json from iperf3
Change-Id: I759d99857c17de061e6d7c1ae1c38f6b15172131
Pau Espin Pedrol at
process: Move standalone run_local_sync as method of Process
Change-Id: Ib2b3fd39db5400a93a8caabae367dac3e3250247
Pau Espin Pedrol at
process: launch_sync: allow non success return
Change-Id: I0617335b594ba565cf2e5ffd0edfb8bffa398c48
Pau Espin Pedrol at
nanobts: ipacces-config: Use process.launch_sync helper
Change-Id: I986ba81d766240d4f11c079d90b126bf96d776b9
Pau Espin Pedrol at
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
Pau Espin Pedrol at
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
Pau Espin Pedrol at
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
Holger Freyther at
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
Holger Freyther at
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
Holger Freyther at
default-suites: Enable tests for LimeSDR-USB
Change-Id: I896ea76f1d2847ec014a62c87220d184b95d1dd2
laforge at
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
Pau Espin Pedrol at
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
Pau Espin Pedrol at
iperf3: implement str() method in iperf3 server
This way it can be logged easily during test runs.
Change-Id: I699f0a9a8d263ac9f02ea9594a28ca9fd8d48db6
Pau Espin Pedrol at
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
Pau Espin Pedrol at
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
Pau Espin Pedrol at
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
Pau Espin Pedrol at
suites: gprs: Add test to verify MS can use gprs after long idle time
Change-Id: I1a726049d1e4a95f1145dcf1f654c63503ceb78a
Pau Espin Pedrol at
suites: gprs: Add test to verify CS paging works while MS is GPRS
attached
Related: OS#2204 Change-Id: If2844d78b52eda59c1f6d9e18363b858f2b5f007
Pau Espin Pedrol at
ms_driver: use the util.Dir and create one dir per instance
Change-Id: Ie0f2fe99f6a6640606eb4e69fb1a2d22eae9b2c8
Holger Freyther at
ms_driver: Consult the suite to get the binaries
Change-Id: I7fbb04cf67fe21378aacefcf1a15533d20d10d49
Holger Freyther at
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
holger at