AgeCommit message (Collapse)AuthorFilesLines
2019-03-07nitb_netreg_mass: Provide 100 subscriberszecke/testHolger Hans Peter Freyther2-2/+180
Change-Id: I386885f4179d4fc2df23cc48cd1eda850b5a990b
2019-03-07nitb_netreg_mass: Add code to declare a run successful/failureHolger Hans Peter Freyther3-7/+71
Change-Id: If26047f0635db8c7209af143fbd1da4c9b2312d1
2019-03-07nitb_netreg_mass: Allow a suite to configure num subscriberHolger Hans Peter Freyther7-65/+80
Remove hardcoded configuration and replace it with a reservation in the suite. Change-Id: Ic9fd560c2924731e4fd6eea5aaf3ad565cb4ef52
2019-03-07resource: Add a mobile resource for the virtual testHolger Hans Peter Freyther5-1/+58
Add a new resource and make a reservation in the suite. Change-Id: Ic26aa63cad62323bb85f952640672eb28af0eadc Add dev_args to select specific Lime devicePau Espin Pedrol1-0/+1
Change-Id: I6ef234edb06031644758174e93a9d3817d0acc1f
2019-03-05Log signals from VoiceCall dbus objectsPau Espin Pedrol1-8/+54
Change-Id: I0def02b9063f75ec32c8b9382bdb12d65e1fb9eb
2019-03-05resource: Introduce a base class for the modemHolger Hans Peter Freyther2-16/+56
Extract IMSI, KI and authentication algorithm into a base class. Change-Id: Id547cdcc241a307a2ea59b5fbac6b8d7a9d95639
2019-03-05resource: Use a factory to initiate a modemHolger Hans Peter Freyther2-2/+15
Change-Id: I4baa791c92196cda477b2d969d4f67dfbe1152af
2019-03-05Revert "nitb_netreg_mass: Add code to declare a run successful/failure"Holger Freyther3-71/+7
This reverts commit b4ad8d72431df2336b9c7fbc6eb9597daa80a35c. Reason for revert: There was a true dependency on earlier changes (len(mobiles)). Rollback until the resource configuration is merged. Change-Id: If0f5e24cec2f0d1d144b464180b341cacbdf0ebb
2019-03-05process: Make killing processes non-sequentialHolger Hans Peter Freyther2-3/+129
Change-Id: Icf1ac6774ea11880542012fd6c6ac73302bb74f5
2019-03-05nitb_netreg_mass: Add code to declare a run successful/failureHolger Hans Peter Freyther3-7/+71
Change-Id: I49a821e8e4656466259e519ef901726cbb76ef86
2019-03-05resource: Introduce a type attribute to the resource definitionHolger Hans Peter Freyther1-0/+1
Change-Id: Ie1fd10ec878311b7347118badb1b9dce5b49e976
2019-03-04process: Make sending signals (kill) externally visibleHolger Hans Peter Freyther1-9/+9
Change-Id: I87bba8a8c467ba5936e0b6604d8abb9432e5e7a8
2019-03-04process: Speed-up terminating lots of processes by batching itHolger Hans Peter Freyther2-10/+38
Introduce a strategy to terminate processes and begin with an implementation for parallel (that has no degree of parallelism right now). Change-Id: I7dd4a7e26aca758198aa08a434eaf5f3f5af632d
2019-02-27pyflakes: Rename local variable to not shadow importHolger Hans Peter Freyther1-2/+2
Change-Id: Ib70130dbbeeeb9813eaea707bf66f1db91088b92
2019-02-27pyflakes: Remove occurrences of using undefined variablesHolger Hans Peter Freyther2-6/+1
Mention the attribute right away and remove a method that looks to have been broken (more vs. more_rules). Change-Id: Iba18a96ff804780e66c69b459e112f9d42b7b2ff
2019-02-27pyflakes: Remove assigned but unread variablesHolger Hans Peter Freyther4-11/+8
Change-Id: Ie257ac051739ea6f846d1aac2c8f778638b5f8a6
2019-02-27pyflakes: Remove imports of unused modulesHolger Hans Peter Freyther9-18/+7
Change-Id: I7496030e5857078cd66a36a5e46c9a50217ce6e3
2019-02-23ms_driver: Rename method to hopefully be more clearHolger Hans Peter Freyther1-2/+2
This is finding min/max in a dataset. Call it like this and update the caller. Change-Id: Ic7f5cd34639f897e460ca1edcb4f9b6df44683e9
2019-02-21contrib: Add script to build osmo-bts and osmo-pcu for oc2gPau Espin Pedrol2-0/+55
Change-Id: I7cc8937fb3e6c5d74b56cb049afb293b0b7ed25e
2019-02-21jenkins: Fix the test for journalctl if it isn't presentHolger Hans Peter Freyther1-1/+1
test -x for an empty string is still true. Check if the result of command is empty or not. It seems to work for the negative case now. Change-Id: I7e4326df155dae776481bf7824694b3fb47abcad
2019-02-21jenkins: Only run journalctl if it is available on the machineHolger Hans Peter Freyther1-1/+3
It's not common to run journald inside containers and the journalctl command is not installed. Don't attempt to run it. Change-Id: I9dee3cb0d0ca203da77dfa1a793a4e4e5f8593c6
2019-02-20modem: Do not connect to the systembus until a modem is in useHolger Hans Peter Freyther1-1/+3
In case of the "virtual" tests we: * Don't use ofono based modems (they are physical for now). * Run in an environment that doesn't naturally run a dbus-daemon Modify the code to memoize the bus by hand. Change-Id: Ieae4bf819903402f7f715eb489e0a96ed59dc3f8
2019-02-20resources: Introduce a separate resource file for the virtual testsHolger Hans Peter Freyther1-0/+41
Create a dedicated resources file for running "virtual" tests. If all components run on the same machine we can avoid having to manage separate network. Change-Id: I0da1267a71dc06fd06f3cf4fc3dcfefda4bcf40b
2019-02-19doc: Update list of dependencies and add pysispm oneHolger Hans Peter Freyther1-1/+3
Change-Id: I05cc63bfd627bfec83b50fe89fe8004d130384e6
2019-02-13modem: Log once dbus returns call was answeredPau Espin Pedrol1-0/+1
Change-Id: Ia277b2eecdbf9969d77a688638837f9d9e1a44b6
2019-02-13modem: print call ID during log of call statePau Espin Pedrol1-1/+1
Change-Id: I33d0153b3e89aa1924129b8068ef068c08059958
2018-12-30mobile: Switch from removed cli option to vty portHolger Hans Peter Freyther2-1/+3
Bind the mobile's to a random (chosen by the kernel) VTY port. The CLI option was removed and I added a new VTY command to be able to specify the port in addition to the address. Change-Id: Ie40a2ba156ba5674d37a15eb30e5b2527e75fbe7
2018-12-15osmo-bts: Package the osmo-bts-virtual binary for the ms_driverHolger Hans Peter Freyther1-1/+1
Change-Id: Id6db5d0bea5262075c3e06fbb0ccfef86afa85e4
2018-12-13ms_driver: Add a virtual bts and make use of itHolger Hans Peter Freyther6-2/+175
It's very close to the osmo-bts-trx but without osmo-trx. Modify the suite to make use of this BTS. Change-Id: I9f5a2501eb4473ccf2287c902ee207c6a45a1bc5
2018-12-10contrib/jenkins*: build and publish manualsOliver Smith2-0/+41
Add contrib/, which clones or updates osmo-gsm-manuals and builds the manuals. When the environment variable PUBLISH=1 is set, it also uploads them. Call from, without PUBLISH=1, so the manuals get build-tested in the osmo-gsm-tester_gerrit job. A new job master-osmo-gsm-tester will be added in the future, which will run PUBLISH=1 The script does not use the osmo-ci.git scripts for installing dependencies and cleaning up the workspace. These scripts are not available on the node, which runs the osmo-gsm-tester_gerrit job, and it is not trivial to add just them (without building the osmo-ci Docker image etc.). The only dependency is osmo-gsm-manuals, and it does not need to be compiled, so it seemed to be the most maintainable solution to implement the clone/update and clean up in a few lines of shell code instead. Related: OS#3385 Change-Id: I4ebfe12a164f807b63bc897aff44db83fc0705bd
2018-12-05test: cs_paging_gprs_active: Make sure gprs data (TBF) is ongoingPau Espin Pedrol2-79/+36
PACCH is used for paging only if the MS is actively using a PDCH, and the only way to be sure that's happening is to place some data through the GPRS path so MS has TBF in use when the call is placed. Change-Id: Id29391d75101d94e2cd58f444b383f4c5217ab6a
2018-12-04md_driver: Store the virtphy unix sockets in the temp directoryHolger Hans Peter Freyther1-1/+1
Storing them inside the testrun directory will most likely violate the file length limit of the AF_UNIX files. This has happened on the jenkins test run and can not be mitigated by picking shorter paths in the code. We are already storing the event server in a tmp directory and can add subdirs+files there. Change-Id: I9ba4cd5c3e220ec10fc7c3160d7211daa821358f
2018-12-04ms_driver: Do the existance check with the pathHolger Hans Peter Freyther1-1/+1
Change the existance test to use the full path and not just the binary name. Change-Id: Ibe28514df03efb7c302ac30411761a8d1a6dcf5d
2018-12-02Fix and use the right member variableHolger Hans Peter Freyther1-2/+2
Change-Id: Ib5d50322ecd30c7724eef8452d22845450e9c633
2018-11-30Add and use compatible scenario when testing IPA dynts with nanoBTSPau Espin Pedrol2-2/+15
nanoBTS doesn't support SDCCH8 in TS!=1 according to osmo-bsc code. Let's use in this case TCH/H to make sure they are not used for the test (since we require osmo-bsc to use full rate codecs for the call). Change-Id: I37f3fe813d4074fbfe64ff3176048e7d25d470e2
2018-11-29nanobts: Use -G parameter of ipaccess-config to avoid need to restart nanoBTSPau Espin Pedrol1-19/+37
If OML IP doesn't need to be changed because it's the one already configured, then there's no need to set + restart the nanoBTS, which means we can speed up a test running a nanoBTS by aprox 2 minutes per nanoBTS used. Requires osmo-bsc.git 5c2485dcff35996fce328798351af79c0ff4474c, which fixes json generation in ipaccess-config after -G -q was implemented. Related: OS#3624 Change-Id: I2871dee3de11512250445127f0b807a8990fd4c6
2018-11-29doc/manuals: integrate into this repositoryOliver Smith3-4/+39
Update .gitignore and make the manuals build without a toplevel file from autotools: $ cd doc/manuals $ make Related: OS#3385 Change-Id: I5916bc7e656b508fc74917e79841ce7e1ee4981b
2018-11-28build manuals moved here from osmo-gsm-manuals.gitOliver Smith3-13/+16
Moved to doc/manuals/, with full commit history, in preceding merge commit. Now incorporate in the build system. Build with: $ autoreconf -fi $ ./configure --enable-manuals $ make Shared files from osmo-gsm-manuals.git are found automatically if - the repository is checked out in ../osmo-gsm-manuals; or - if it osmo-gsm-manuals was installed with "make install"; or - OSMO_GSM_MANUALS_DIR is set. Related: OS#3385 Change-Id: I8a34871948425ea40f40dbb11a59806905e4bed1
2018-11-28Merge history from osmo-gsm-manuals.gitNeels Hofmeyr9-0/+1538
2018-11-28OsmoGSMTester: Update import test->testenvPau Espin Pedrol1-1/+1
Latest changes in osmo-gsm-tester require this import change. Depends on: osmo-gsm-tester I520bd046cb09042b5567d967f951f050e4e02e85 Change-Id: I0f7f7d0353014b7ef8a0c5a7707c91b2613be79a
2018-11-28OsmoGsmTester: Put several permission categories under cat User PermissionPau Espin Pedrol1-4/+4
Change-Id: Ie9f846af0311d768c5dd6f9da572c8f6482f4d39
2018-11-28OsmoGSMTester: Add state_dir sectionPau Espin Pedrol1-0/+22
Change-Id: Ie12e3933747a4e698de59ff9ac57281e9f261d3d
2018-11-28OsmoGSMTester: Add suites_dir sectionPau Espin Pedrol1-0/+10
Change-Id: Ie25fd742f484981f5e5b25397c2637eda38f0424
2018-11-28OsmoGSMTester: Add scenarios_dir sectionPau Espin Pedrol1-0/+55
It explains how scenario combination works Change-Id: I3f89bd3d71400da14cda7ea8bb9c190fe80a539f
2018-11-28OsmoGSMTester: Improve Trial section contentPau Espin Pedrol1-1/+10
Change-Id: I8d74b02166ea33ad9ab7f987894f4f02064fbebc
2018-11-28OsmoGSMTester: Update defaults.conf examplePau Espin Pedrol1-14/+31
Change-Id: If12df88b4088ecec6d6cb20c83a693c019b8af4a
2018-11-28OsmoGSMTester: Remove resolved TODOPau Espin Pedrol1-2/+0
Change-Id: Ie0f18293e566a690d2434d08cbaaf2fdf71d88e4
2018-11-28OsmoGSMTester: Update resources cfg documentationPau Espin Pedrol1-11/+38
Change-Id: I6ec9fc5468ce6ead52d9c8b35d8991cac4bfa97e
2018-11-28OsmoGSMTester: Document how to setup main unit to set CAP_NET_RAW asPau Espin Pedrol1-0/+30
non-root Change-Id: I011beaa929efcabe9a9dc4f9c7222ba36fa2aae4