aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
13 hoursFix ttcn3-sgsn-latest (cs7 instance override)HEADmasterPau Espin Pedrol1-0/+6
Change-Id: Ie45fa7875b409c3955c26d333110c36453c276f9
14 hoursttcn3-sgsn: Disable not-yet available SGSN_Tests_Iu testsPau Espin Pedrol1-1/+1
Previous commit was merged without dependent tests from osmo-ttcn3-hacks being yet present. Let's disable them until they are present. Fixes: ca2ef842522a9ac7c840dc3725cc2d8f8a5cd527 Change-Id: Icd7a3885bac7f8189272981d4fdac3f269e6adef
15 hoursttcn3-sgsn-master: add support for IuAlexander Couzens4-0/+74
To support Iu tests, start osmo-stp when testing. Depends-on: I66069e31c30d33934ad57cc2b8794f56ffd5c7d6 (osmo-ttcn3-hacks) Change-Id: I4d6aef98832202652c5fe254105728430ba77119
5 daysapply osmo-bsc.cfg changes from osmo-ttcn3-hacksNeels Hofmeyr1-2/+0
Analogous to osmo-ttcn3-hacks patch If44dd6b578cdc55076c8180707d1c2d69fe5f2a8, also remove the neighbor config from osmo-bsc.cfg here. Change-Id: I23d9a2046709452f4d3904230871f7421c6987a9
6 daysadjust osmo-bsc.cfg for TC_ho_neighbor_config_1 thru _7Neels Hofmeyr1-1/+30
- Actually enable handover. - Add bts 3 Related: osmo-ttcn3-hacks Ia4ba0e75abd3d45a3422b2525e5f938cdc5a04cc Change-Id: I1c57a04747f5ec004ccf4657954dcb0b003c24fc
8 daysttcn3-sgsn: Unifi osmo-sgsn.cfg's logging setup to resemble other projectsPau Espin Pedrol1-39/+1
Change-Id: I89ba62be92557e35ed083dbc9a3624ff0fb6cbd3
2019-07-29osmo-hnbgw-master: Bind Iuh socket to 0.0.0.0Daniel Willmann1-1/+1
Change-Id: I117fb440beaf4fcecde705e1e6d7e0d43e1226e4 Related: OS#2589
2019-07-26debian-repo-install-test: systemctl status -n 200Oliver Smith1-1/+1
Show up to 200 log lines instead of the default (10). Related: OS#3369 Change-Id: Ic72dbf1b4c59a259139187b98e74211d57534dc2
2019-07-25debian-repo-install-test: add fixed servicesOliver Smith1-6/+10
Enable test of systemd services for osmo-sgsn, osmo-pcu, osmo-hnbgw and osmo-bts-virtual. Add issue ID to failing osmo-ctrl2cgi and osmo-trap2cgi services. Depends: Id892e1f4ab2daabbe9824b819b5fed985373b97a (osmo-sgsn) Depends: Ie8001611756b661ff1871508c6248b2e990ba1d7 (osmo-bsc) Depends: I354140f014854f1755b649e40a65e5d88b99c0ec (osmo-iuh) Related: OS#3369 Change-Id: I4e182b396e1a2e36a73384233b1a38a70c7cd5d9
2019-07-24regen_doc: Change IP network to an unused subnetDaniel Willmann1-4/+4
Previously we were using 178.18.12.0/24 which could have conflicted with the osmo-bsc sccplite TTCN3 tests. Change-Id: Ib5ab391ebb21ce2455fbb1ae47dd01ed53cd2e41
2019-07-24osmo-cn-latest: Let osmo-hlr upgrade the db schemeDaniel Willmann1-1/+1
Change-Id: I9171d908de03bf0de7cb7590c901c4ce0759b8c0
2019-07-24osmo-sgsn-master: Enable Iu supportDaniel Willmann1-2/+5
So far the SGSN master image is built without Iu support. osmo-sgsn-latest is using the built debian packages which enable Iu support, so it's not an issue there. Change-Id: Ib9c2e96dc7309f7fcbd563d656b64d37f2599f7b
2019-07-23debian-repo-install-test: run systemd servicesOliver Smith2-1/+60
Run systemd services of Osmocom programs, to check if any are not starting properly. Use a whitelist to determine which services must start up, because some are currently broken. Modify the docker run command to support changing the CPU scheduling policy/priority in systemd service files (used by osmo-bts). Related: OS#3369 Change-Id: Ie6385f85560fefa7e7c9dca72cb5e2e914d4507a
2019-07-23debian-repo-install-test: kill already runningOliver Smith1-6/+13
The container grows heavily in size as the test runs, so make sure to always kill existing ones (from stopped jobs) before starting a new one. In order to do that, do not use $BUILD_TAG as container name, which changes with every new jenkins run. Related: OS#3369 Change-Id: Ide795092b656c9f0eb92a075d8f662944089019f
2019-07-23debian-repo-install-test: add docker containerOliver Smith5-28/+50
Add own container with systemd, so we can (in a follow-up commit) run the Osmocom systemd services in this test job. Rewrite the "interactive shell" logic to support the new systemd docker container, and enable it with an INTERACTIVE environment variable instead of hardcoding 'interactive="true"' in the script. While at it, move the Repository.key install to the Dockerfile so it works more like the other docker containers we have. Related: OS#3369 Change-Id: I0348f65a2ac184ba6b001e5130dfc8124e657367
2019-07-18osmo-nitb-master: Include only one access-list in configDaniel Willmann1-1/+0
Each access list will have their own counters. Have only one in the config so the script generating the counter documentation doesn't repeat itself. Change-Id: I01b6e5af9cf84cf1b8d313ac47ab6b77fc598f4c
2019-07-11osmocom-bb-host-master: install python-enum as fake_trx dependencyAlexander Couzens1-1/+2
62825cc8eb4e26d58d32a0af72b17256b185af61 (osmocom-bb) started to use the python module enum which not part of the standard libary of python 2. Change-Id: I70b7f1b43a1e121114a924c09614d6eddc801881
2019-07-10ttcn3-*: enable GSMTAP loggingOliver Smith17-0/+51
Configure each osmo-* program to send GSMTAP log output to the IP of the docker container, which runs the testsuite (and therefore runs tcpdump). Related: https://lists.osmocom.org/pipermail/openbsc/2019-June/012946.html Change-Id: I99e74f6ffb5b7d566cec35995bf067df414968d8
2019-07-05clean up the net and attached containers to ensure reliable test startsEric Wild1-0/+10
We can't create the net if it exists, and it can't be removed until all attached containers are dead, so ensure this is the case upon net creation. This fixes test failures due to stale nets and half-killed test runs. Change-Id: Id6d13b233ebfd808d8dfe83b6d1d1ba20c3392c8
2019-07-02debian-stretch-build-dist: new Dockerfileosmith/tagged-release-tarballsOliver Smith3-0/+59
Provide all build dependencies needed to pass ./configure of most Osmocom repositories. This will be used to run osmo-release-tarballs.sh in jenkins. Related: OS#3870 Change-Id: I991fe41a1f55ccd6a66815ec3d7f239850397d9a
2019-06-30ggsn: Set correct name for osmo-ggsn log filePau Espin Pedrol1-1/+1
Change-Id: I65803bdd4d2bcd79c690841bfc3cc62c8260289d
2019-06-28ttcn3-mgw-test-latest: disable conn_timeout_testOliver Smith2-0/+5
Depends: I8bbf15baa45679d5812a5a9184520ef9b9e73bba (osmo-ttcn3-hacks) Change-Id: I05ff77246462ba90e8704969e0982662027ad630
2019-06-27regen_doc: check OSMO_INTERACT_VTY, fix defaultOliver Smith1-1/+6
Change default from osmo-interact-vty.py to osmo_interact_vty.py, which is the name of the script in osmo-python-tests.git. Check if that script is in PATH before building and running the docker container. Change-Id: I763c7379b710160e0155f1fde091137754141335
2019-06-24Have only one bts/bsc configured in osmo-bsc and bscnatDaniel Willmann2-194/+0
The way our counter reporting works is that each counter group is reported even if the same one exists multiple times. To avoid that change the default config (used by regen_doc.sh) to only configure one bts / bsc. Change-Id: I57468d983580b5ed4f15961ac1eac9bed9096556 Related: OS#1700
2019-06-24osmo-sgsn-master: Bind to localhost instead of a specific IP by defaultDaniel Willmann1-3/+3
This does not break ttcn3-sgsn-test since it uses a custom config file with the correct IPs. Change-Id: I2a922139c50d06217e5e6105ea65bf673daa10a8 Related: OS#1700
2019-06-24osmo-mgw: Bind to 0.0.0.0 by defaultDaniel Willmann1-2/+2
Don't bind to a specific IP otherwise starting osmo-mgw will fail (if we don't configure that exact IP address) Related: OS#1700 Change-Id: Ic5828957a29d4f317e1ebf4f03b5f5359f6250e8
2019-06-24ttcn3-{hlr,mgw,pcu}-test: log to fileOliver Smith4-0/+41
Add missing file output which all other tests already have. Related: OS#4067 Change-Id: Ifb4a39e6e2987f4dc04369508fe0dff0913a02ff
2019-06-24redmine: migrate from 3.4 to 3.4-passengerHarald Welte1-1/+1
This provides much more reasonable performance on our high-end server Change-Id: Idaa19566d1d5ac4ea0ff0296d57d1f9ca2bd599b
2019-06-19regen_doc.sh: Add optional parameter to customize docker executionDaniel Willmann1-1/+3
The osmo-nitb-master image can run not only osmo-nitb, but also osmo-bsc_nat. In that case we can't use the default command from Dockerfile, but should provide our own. This argument makes it possible to do so. Change-Id: I52c3cb2cdcfb143e71ac2c1aa40bb466e41a0f5c Related: OS#1700
2019-06-19osmo-nitb-master: Add default config file for osmo-bsc_natDaniel Willmann3-0/+65
Change-Id: I44bb395009582f5e1399f277e15203553c2dcf78 Related: OS#1700
2019-06-18Add script to regenerate VTY and counter documentationDaniel Willmann7-0/+53
This script needs access to the VTY interface, so I changed some remaining config files to bind the VTY interface to 0.0.0.0. There are a couple of services that do that already. Related: OS#1700 Change-Id: Ic5cf7f59de0c18d4c5568b89433c2b11db2a72a5
2019-06-13jenkins-common.sh: Don't rebuild debian-stretch-build during fix_permsHarald Welte1-1/+4
When fixing the permissions at the end of a test run, it really doesn't matter if we're running a current debian-stretch-build image, or if we are using an ancient one. All we need is a 'chmod' binary. Change-Id: Ib008ee72f40aeefb307c0ba74a57b70daae9d07b Related: OS#4060
2019-06-11bscnat: Bind bsc-nat CTRL on 0.0.0.0Pau Espin Pedrol1-0/+3
Other tests already do it, and allows using the CTRL iface in docker setups where 127.0.0.1 is not used. Change-Id: I6f16dc322d38f9f0870241f3416c81df8ec5481b
2019-06-04ttcn3-bts-tests: Add BTS_Tests_LAPDm.control to config fileHarald Welte1-0/+1
There's a number of new tests that aren't executed yet. Change-Id: I3bfb4483f39d4dbf3f506f86470e4f2d3b6b7af2
2019-06-03ttcn3-*: Enable extended-timestamp in VTY cfgPau Espin Pedrol9-1/+10
Having extended-timestamp allows for easier matching between osmo-*.log files and pcap traces. Change-Id: I98cdc0adc24edc966d5648d2c215c6ad7c749209
2019-05-31msc: Disable osmux for ttcn3-msc-test-latestPau Espin Pedrol2-0/+5
Latest tagged version of osmo-msc doesn't support "osmux on/off" VTY commands, so we have to enable osmux use on that version to avoid most TTCN3 tests failing during set up phase. Depends: osmo-ttcn3-hacks.git I53d58b2d905905ebf1df322d0389b3715a48212f Change-Id: I6b3be3981978661de2fa90be130f6f1811a3d1f9
2019-05-31bsc: Fix: Disable osmux for ttcn3-bsc-test-sccplite-latestPau Espin Pedrol1-0/+1
Recent commit added bits to disable "osmux on/off" vty commands on "-latest" tested, but forgot to add required line in sccplite/BSC_Tests.cfg for sed command in jenkins.sh script to work. Fixes: 2cdab85e5f42c876a3024ca2154c67c21d1d78cc Change-Id: I9b4ce2d7151d65b4c83417a59fd01672971b3937
2019-05-29ttcn3-bts-test: Execute OML tests without BSCHarald Welte3-3/+126
Run the testsuite one more time; this time for OML tests which require us to run without a BSC. We can run those with trxcon and omso-bts-trx and don't need virtphy for them. Related: OS#4031 Depends: osmo-ttcn3-hacks I82bb85b684d2db3a6b1e96a68ffde03e22affa6b Change-Id: I97db9c74c56ca93c75e5e5226955799cd945eec0
2019-05-29ttcn3-bts-test: Add virtphy based PCUIF testsHarald Welte3-3/+142
Some tests require GPRS features not yet present in trxcon, so we have to fall back using virtphy. Change-Id: I2f17f03194a4dfa0abca51b0d3e22b3934d08a9a
2019-05-29ttcn3-bts-test/jenkins.sh: Move start of containers into shell functionsHarald Welte1-46/+61
Change-Id: If9ac580aa5f0745468f69d413aa732891acb4a1c
2019-05-29osmoocm-bb-host-master: Build virtphy, not only trxconHarald Welte1-0/+5
There are some BTS_Tests which (so far) don't yet work with trxcon hence require virtphy. Change-Id: I0aabd73e2778b9144aa7945f25cae5cefea4111b
2019-05-29ttcn3-sgsn: Run log_merge.sh after testsPau Espin Pedrol1-2/+5
Change-Id: If03422bb8fb126fe6f204a4f8bc6edf0cbb7f194
2019-05-28bsc: Disable osmux for ttcn3-bsc-test-latestPau Espin Pedrol3-0/+8
Latest tagged version of osmo-bsc doesn't support "osmux on/off" VTY commands, so we have to enable osmux use on that version to avoid most TTCN3 tests failing during set up phase. Depends: osmo-ttcn3-hacks I61e4c59b2926f3f70cb6d0190a8683861e54179a Change-Id: I745b210f43cb147d323a15f78c294f70ee077729
2019-05-27ttcn3-bscnat: Prepare cfgs for VTY & Osmux supportPau Espin Pedrol3-0/+6
* Adding "osmux on" for each BSC will be required to enable Osmux later on, but still it doesn't change behavior now because Osmux must be enabled globally too (will be done through VTY). * Set up correct bind and remote IP addr to have VTY working later on. * Use extended timestamp to have subsecond accuracy to match with pcap easily. Change-Id: I794a17bdeaff9ab9316d7a6acb1e58dfd815b645
2019-05-23ttcn3-bts-test: Fix BSC VTY access from test suiteHarald Welte2-0/+2
Some tests, particularly those for SMSCB, want to access the BSC VTY. This was enabled in the ttcn3 code, but the configs we're using in the docker environment didn't properly refelect that yet. Change-Id: I6b6e8b47bfe85c15fb57a25b649029f872477146
2019-05-23ttcn3-bscnat-test: Use unique sub-network 172.18.15.0/24Harald Welte3-11/+11
For some reason, the bscnat tests were using the same subnet as the sip-connector tests, causing address clashes when trying to execute both test suites simultaneously: + echo Creating network ttcn3-sip-test Creating network ttcn3-sip-test + docker network create --internal --subnet 172.18.11.0/24 ttcn3-sip-test Error response from daemon: Pool overlaps with other one on this address space Change-Id: I62b01b4b291ed9d729139fcf9b0102459e7f5a6a
2019-05-22Fix git checkout for branches and commitsOliver Smith24-24/+48
Replace 'git checkout -f -B $BRANCH origin/$BRANCH && \' in all Dockerfiles that accept branch variables ($OSMO_TTCN3_BRANCH, $OSMO_MGW_BRANCH, ...) with the following: git checkout $BRANCH && \ (git symbolic-ref -q HEAD && git reset --hard origin/$BRANCH || exit 1); \ This allows using branch names and commit hashes in the $BRANCH variables. Using commits is needed for the bisect script added in [1]. The second line ("(git symbolic...") checks if we are in detached HEAD state after the checkout, and if we are not, pulls in all new commits from origin/$BRANCH. Note that it ends in ';' instead of '&&', because the command in the next line should be executed even if "git symbolic-ref" does not exit with 0 (detached HEAD state). Here is an example, to illustrate that the new command does the right thing. Clone a repository and be 50 commits behind origin/master: $ git clone "https://git.osmocom.org/osmo-mgw" $ cd osmo-mgw $ git reset --hard origin/master~50 With BRANCH="master": $ git checkout master && \ (git symbolic-ref -q HEAD && git reset --hard origin/master || exit 1); \ echo "done" Already on 'master' ... done $ git status Your branch is up-to-date with 'origin/master'. With BRANCH="85978d": $ git checkout 85978d && \ (git symbolic-ref -q HEAD && git reset --hard origin/85978d || exit 1); \ echo "done" Note: checking out '85978d'. ... done $ git status HEAD detached at 85978dad Related previous changes: * [2] made it work for commit hashes, but broke using branch names other than master, and pulling in new commits from master * [3] made branches other than master work again, but did not fix pulling in new commits from master * [4] reverted [3] and the git checkout related part from [2] [1] Change-Id: I11f7e61a9b30d58a0fdfcaf77dde447806bf661f [2] Change-Id: If3bc5fae07cf63c4fef68306be4c4328660bc869 [3] Change-Id: I2ff745c8d19b777d876170d5717c082ceb68a1f3 [4] Change-Id: Ie6da0f9ea96f11407e38545a6b3cf22ef9cadc25 Related: OS#4015 Change-Id: I4004980baf0b7d6096702b6f3067ccbdb369a28c
2019-05-21osmo-bts-test: Enable BTS_Tests_SMSCB.control for CBCH testingHarald Welte1-0/+1
Support for this was introdcued in osmo-ttcn3-hacks Change-Id If4b5a906a0841c0a8c3d7c4e9e5a3d1208ecf16a, but as we have a separate .cfg file here, we must update it, too. Change-Id: Iab0e9a46a8ee429619e9ef9159a631dc44ab5aeb
2019-05-21Revert "Simplify git checkout, allow branches and commits"Harald Welte26-47/+47
Unfortuately this commit will check out *local* master (i.e. the previous checkout) rather than the origin/master as it's supposed to be. This means that ever since merging this patch, our ttcn3 tests were running some "undefined" stale versions and not current master. This reverts commit 26565bb729549152ce8fa89f59df02f37c907c27. Change-Id: Ie6da0f9ea96f11407e38545a6b3cf22ef9cadc25
2019-05-16RFC: allow to set configuration and/or specific testcasesAlexander Couzens2-5/+11
Allows to pass the configuration file and/or tests to start-testsuite.sh. This way a single test can be specified by the command line. If this RFC gets accepted, I would convert all other Docker.files Change-Id: I17e480321f1e7bfa287349f438ff6990e30f1114