aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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 configure.ac 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
2018-11-28OsmoGSMTester: Move TODO comment to a redmine taskPau Espin Pedrol1-2/+0
Following task has been created: OS#2612 Change-Id: I79837e49f3e6af4254e9f0c7f53037eae66cda6d
2018-11-28OsmoGSMTester: Installation: change some confusing terminologyPau Espin Pedrol2-13/+12
It's difficult to understand when it referrs to jenkins job in general and when it talks about specific jenkins jobs that builds binaries required for osmo-gsm-tester and the ones which run osmo-gsm-tester. As a result, it's difficult to understand which sections apply to each host in case more than one host is used. Change-Id: I5c882e77b469629028b8d773053783e18f3d1737
2018-11-28OsmoGSMTester: Add deps required for osmo-bts-octphy supportPau Espin Pedrol1-0/+3
Change-Id: I384ec8cd55cfaa68ee1f461de99ceac78c5d8414
2018-11-28OSmoGsmTester: Specify group in Main unit introPau Espin Pedrol1-3/+4
Change-Id: I132bf7681a1a435c161c4048e41c28dc75c1fa28
2018-11-28OsmoGSMTester: Explain patchelf is used sometimes to modify RPATHPau Espin Pedrol1-1/+5
Change-Id: I7bb811bc984c8d576984b038b391cf8130cc465e
2018-11-28OsmoGSMTester: Update suite.conf examplePau Espin Pedrol1-0/+2
This is the one we are usig nowadays in suite.conf, which explicitly asks to be run with modems supporting sms features. Change-Id: If5dbc3b4689b282db6fae4668e2838be59e88da8
2018-11-28OsmoGSMTester: Use a more up-to-date resources.conf examplePau Espin Pedrol1-31/+58
It showcases new features such as osmo-trx support, cipher support, modem features support, etc. Change-Id: I66bbcd028f03290797c2c467271d0f0982698b47
2018-11-28OsmoGSMTester: Improve Resource Resolution section contentPau Espin Pedrol1-2/+2
Change-Id: Ice37093dc9f8e03a2a9f5e3f7df79d1b589b6991
2018-11-28OsmoGSMTester: Update sample test script with an AoIP examplePau Espin Pedrol1-11/+23
Change-Id: I7978c7e96c8f1d43837271c94dd64893649974e0
2018-11-28OsmoGSMTester: Update trial graph with current dataPau Espin Pedrol1-1/+1
The osmo-bts-trx tgz doesn't exist anymore and it does not contain osmo-trx, which comes in its own tgz. Change-Id: Id803eca3791137b04bc24d195119d5c511fcfc49
2018-11-28OsmoGSMTester: Improve setup graphPau Espin Pedrol1-10/+12
* Add sysmocell5000 * Remove 1 modem, showing 2 of them is enough * Split osmo-bts-trx from osmo-trx node as sysmocell500 doesn't use the later. * Update OsmoNITB node to show we also support split openbsc.git components. Change-Id: I893beb114d47edd3f67183dd9ea5acc19462496c
2018-11-28refactor Makefile build rules, don't use the FORCENeels Hofmeyr1-9/+4
The initial goal was to make sure we don't have overall FORCE rules causing unnecessary rebuilds -- annoying while writing documentation. As I looked through possible dependencies, I finally understood what's going on here. Remove code dup and nicely sort which belongs where in build/Makefile.*.inc. In each, describe in a top comment how to use it, and also unify how they are used: - Rename Makefile.inc to Makefile.docbook.inc and refactor - Add Makefile.vty-reference.inc - Add Makefile.common.inc Make sure that we accurately pick up all dependencies. Drop use of the macro called 'command', that silenced the actual command lines invoked and replaced them with short strings: it obscures what is actually going on and makes the Makefiles hard to read and understand. Each manual's makefile is greatly reduced to few definitions and a Makefile include, e.g. one for asciidoc, one for VTY reference. Move common/bsc_vty_additions.xml to OsmoBSC/vty/libbsc_vty_additions.xml, link from OsmoNITB. It applies only to OsmoBSC and OsmoNITB. Add a script that combines a VTY reference file with *all* additions files found in a manual's vty/ dir. Call this from Makefile.vty-reference.inc. Change-Id: I9758e04162a480e28c7dc83475b514cf7fd25ec0
2018-11-28OsmoGSMTester: document logrotate maxsizeNeels Hofmeyr1-0/+8
Change-Id: Ib3e7143eb5d90eea4860a0a334da25efe926a231
2018-11-28OsmoGsmTester: Move coredump section and add reference to ↵Pau Espin Pedrol1-25/+32
kernel.core_pattern sysctl This section is moved further below in order to have it after section which explains how to create user jenkins and osmo-gsm-tester group, as we need this group already created anyway for the config to work correctly. Change-Id: I5bdde0a9960f9806f081e9a876b8b66db9e7f37c
2018-11-28OsmoGSMTester: use proper systemd service namesMax1-1/+1
* use osmo-bts-sysmo for sysmoBTS systemd service name which is available since 114293a414bd5b7c86622ec8c293c4034c80d243 * use osmo-pcu for OsmoPCU systemd service name which is available since 241f5bcb00f9c6fee4200a3aea9aa497bf0d3eee Change-Id: Ie017946b9099460ac6758ff84ec7a10df13390a1
2018-11-28osmo-gsm-tester: jenkins fixes: install JDK, SSH instructionsNeels Hofmeyr1-1/+11
Add instructions to install Java JDK for jenkins build slave. Minor fixes to SSH key instructions. Change-Id: Ib2c1adc2ddee3be016e4d253451593b19dbe133a
2018-11-28OsmoGSMTester: update run-job post-build artifact archiving ruleNeels Hofmeyr1-6/+6
Change-Id: I73c1a6793369604cbe494c83b595a4130a44adc9
2018-11-28OsmoGsmTester: install.adoc: Remove trailing whitespacePau Espin Pedrol1-1/+0
My editor is removing it automatically. Change-Id: I25c8d179a21c66ab3424204e12215f8e1ddd8e54
2018-11-28OsmoGsmTester: Add missing dependency python-smpplibPau Espin Pedrol1-0/+1
Change-Id: I9a6ad33d41c8a90317d079ff0d1f9640c48a2353
2018-11-28OsmoGsmTester: Update sample test scriptPau Espin Pedrol1-7/+8
Copied from newest mo_mt_sms.py test. Change-Id: I49644f6f8223d45bccbcbb3aa8325c20c06dcdbe
2018-11-28OsmoGSMTester: tweak sysmobts: systemctl, ssh, limits, rebootNeels Hofmeyr1-29/+20
Simpler systemctl rule to disable stock services. Fix the limits config, which was not the right way for sysmoBTS. SSH access: apparently no need to create an ssh key at all, login is permitted right away. Add hint to reboot at the right time. Change-Id: I8e686383318ee2eece908a4e690e5061ade0cd02
2018-11-28OsmoGSMTester: add sqlite3 as dependencyNeels Hofmeyr1-0/+1
Needed to setup the initial hlr db using the hlr.sql file from osmo-hlr since osmo-gsm-tester commit 798e592fd642a1dd86380c412a9501931b9048e1 "MSC+BSC: add test api to run OsmoMSC and OsmoBSC with AoIP" Change-Id: Ic19f93a69df4062364da8523b5d30a1611a0eb77
2018-11-28OsmoGSMTester: add rtprio conf, tweak core dump confNeels Hofmeyr1-1/+16
Change-Id: I284c3bfb15e914f1f6ab00f15874fe5ea6190c5c
2018-11-28apply rename of resource nitb_iface to ip_addressNeels Hofmeyr2-6/+6
See osmo-gsm-tester change-id I829903d7b2111ab5ee106bce52d6121204a5a401 Change-Id: Icbbb7d921e7340739883650f778d5a7341840875
2018-11-28OsmoGSMTester: say 'modems', not 'modem' (sounds like it supports only one)Neels Hofmeyr1-1/+1
Change-Id: Ib59788a50754ea5290e665a9f9376d70e01c9be5
2018-11-28OsmoGSMTester: add install docs; fixes and tweaksNeels Hofmeyr5-12/+624
Change-Id: I574937dbf31bce49cfb7523f91041c20fecb421e
2018-11-28OsmoGSMTester: add / tweak overview graphsNeels Hofmeyr1-11/+94
Some mistakes fixed (missing osmo-trx, B200 pointing at NITB instead of osmo-bts-trx) Add graph showing resource selection. Add graph showing a trial dir. Change-Id: I1cfcd99ee11b851095a75107246cb156ede7f4cf
2018-11-28cosmetic: OsmoGSMTester: fix dir nameNeels Hofmeyr8-0/+599
All other subdirs are without dashes, but I added Osmo-GSM-Tester with dashes. Comply with the naming scheme and remove dashes. Change-Id: I36d0c94dde5deffba04b27436ae499a42c519bec
2018-11-28Importing history from osmo-gsm-manualsNeels Hofmeyr0-0/+0
2018-11-24suites: Add an initial test for the ms_driverHolger Hans Peter Freyther2-0/+35
Things to make configurable: * IMSI and matching MSISDN ranges (start + count) * Timeouts and number of MS (which should be related) Change-Id: I5be2a6b4d3d21bf48625624b9e2cccb33765fe39
2018-11-24ms_driver: Consult the suite to get the binariesHolger Hans Peter Freyther1-2/+29
Change-Id: I7fbb04cf67fe21378aacefcf1a15533d20d10d49
2018-11-24ms_driver: use the util.Dir and create one dir per instanceHolger Hans Peter Freyther3-6/+7
Change-Id: Ie0f2fe99f6a6640606eb4e69fb1a2d22eae9b2c8