aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
43 hoursttcn3-cpu: Support VTY prompt used in older versions of osmo-pcuHEADmasterPau Espin Pedrol2-0/+7
Change-Id: I8cec3da889623915ca46b5eb1b51bc81195accf9
46 hoursttcn3-bts: Mount trxcon dir so logs can be retrieved outside of dockerPau Espin Pedrol1-0/+1
Change-Id: Icd243b62b8c80cdb2c2f09e1308f00565589c0e7
5 daysremsim: Ensure non-overlapping junit-xml filenamesHarald Welte3-0/+3
The default filename pattern of the JUnit log plugins of TTCN-3 is "junit-xml-%u.xml" where %u represents the PID of the process. This is typically a good idea as the PID doesn't wrap that quickly. However, if you're executing a new docker container for every test suite run, then chances are high that two subsequent runs of the test suite container might end up with the same PID and hence the smae filename. This results in the output file being overwritten, which is what's responsible for many missing RemsimServer_Tests results on the jenkins.osmocom.org test results analyzer. Change-Id: I9b6d1b5a943eb4e058ad2bf7cf8acee7b70e68b6 Closes: OS#4205
6 daysttcn3-pcu: Set correct VTY listen addr in PCU_Tests.cfgPau Espin Pedrol1-0/+1
Now that osmo-ttcn3-hacks.git I221675721b65b3ab44179e9657da70ba4004d7de introduced VTY support for PCU_Tests_RAW, we need to use the correct addr here. Change-Id: I6807dafd79e58750ffa953da30eb34671aa25808
8 daysfor sip-latest tests, use MNCC version 5Neels Hofmeyr2-0/+5
osmo-sip-connector master and the ttcn3 tests have moved to protocol version 6. While the extension is gracefully handled by the ttcn templates to make do with both protocol versions, the actual protocol version number sent to osmo-sip-connector breaks the tests if it doesn't match. So that master can still run v6 yet also pass 'latest', configure v5 when the version is not 'master'. When 'latest' also moves to v6, we of course can revert this again. Related: Iaca9ed6611fc5ca8ca749bbbefc31f54bea5e925 (osmo-sip-connector) Related: I39d55432776926a385e1b85b21bcdea8180a8946 (osmo-ttcn3-hacks) Change-Id: I2174e90bdea32f06cd3e8298696b93027e7906bc
2019-11-20Update ttcn3-*/jenkins.sh to log stdout+stderr of process to log filePau Espin Pedrol30-138/+49
This way we get VTY parsing failures as well as backtraces upon process crash. Related: OS#4212 Change-Id: I3d9f6de638dbc07391a32c6a0cbd469dc5adf2b5
2019-11-20respawn.sh: Add logging and limit loop iterationsPau Espin Pedrol4-4/+28
Since we'll now log the script and its children output to a file, let's make sure the loop doesn't run countless times upon failing child process, producing lots of potential undesired output. For instance, if osmo-bts fails to read vty config and exits immediately. Change-Id: Icc8cac889d94d4cce7d6365781d5b5364404b5b9
2019-11-19Update osmo-*/Dockerfile to log stdout+stderr of process to log filePau Espin Pedrol29-133/+34
This way we get VTY parsing failures as well as backtraces upon process crash. Related: OS#4212 Change-Id: I9493ff73ef27c7c6d32b00cf827704b3f9cbf86a
2019-11-14Drop default vty cmd 'ms-power-control dsp'Pau Espin Pedrol3-3/+0
That's the default value for all BTS, so no need to have it there. Furthermore, forthcoming osmo-bts patches will drop osmo-bts-trx support for DSP/HW based MS Power control, which means BTS will reject this setting. Let's drop it now and let osmo-bts binary to select the preferred one. Related: OS#1851 Change-Id: I0f69880a5028002a53736653735c11ae3cd53f07
2019-11-13ttcn3-stp-tests: laforge/stp has been merged master; use masterHarald Welte1-3/+0
Change-Id: I0ec887f40d00f7c24b67a4525b363abb869ad18b
2019-11-12ttcn3-stp/Makefile: Drop defaulting to branch laforge/stpPau Espin Pedrol1-1/+0
Once osmo-ttcn3-hacks.git branch laforge/stp has been merged (where STP_Tests devel was done), we can use master like we do for other suites. Change-Id: I844ecf8a636ead55b7b406cb97424a4a35a6b674
2019-11-07ttcn3-stp: Update osmo-stp.cfg to match new TTCN3 tests expectanciesPau Espin Pedrol1-1/+66
Change-Id: If3b3b7f1c05bcd2b0ea2b1ef6f432eb5f0013026
2019-11-06ttcn3-stp/Makefile: Set branch to laforge/stp only if envvar not setPau Espin Pedrol1-1/+1
Change-Id: I1f4061f2b1d62e6a42af4629ce462269cfaf317f
2019-11-05ttcn3-stp: AS missing asp reference in osmo-stp.cfgPau Espin Pedrol1-0/+1
Change-Id: I3cac64217acf60720388f24713268a22e342e993
2019-11-05ttcn3-stp: Log osmo-stp output to file and gsmtapPau Espin Pedrol1-0/+10
Similar to what we do with other suites. Change-Id: Ib12bc92c86e4a2ba15e1eec56f2ac0905281b21d
2019-11-05make: Fix OSMO_BB_BRANCH not being passed correctlyPau Espin Pedrol1-0/+2
Change-Id: Ia289f8e71e8bb6c59b1caa7a23981a1f08a2f49e
2019-10-31ttcn3-bts-test: remove obsolete vty configPhilipp Maier1-3/+0
The configuration file for osmo-bsc contains obsolete config statements, which cause osmo-bsc to crash. Lets remove those config statements. Change-Id: Ic91e2ee1e9132886cd02535bc84a568d4c25dbb4
2019-10-30osmo-bsc-latest: remove obsolete logging categoriesPhilipp Maier1-2/+0
The logging categories cc and mgcp are obsolete for osmo-bsc and will cause recent versions of osmo-bsc to crash. Lets remove this logging categories from the config file now. Change-Id: Idd85318abe3fc982909c11115c886835a3d8cd37
2019-10-30repo-install-test: disable osmo-ggsn serviceOliver Smith1-1/+1
OsmoGGSN is not able to use the tun4 device from the default config in docker. Since the more strict config checking in [1], it does not just report a warning, but fails to start: <0002> ggsn.c:189 APN(internet): Opening TUN device tun4 <0001> tun.c:184 errno=2/No such file or directory open() failed <0002> ggsn.c:191 APN(internet): Failed to configure tun device Error occurred during reading the below line: no shutdown Failed to open config file: '/etc/osmocom/osmo-ggsn.cfg' Fix the repo install test jenkins job by not checking osmo-ggsn anymore. In theory, we could probably create the tun device on the host, and mount it inside the docker container. But that would require some additional logic to clean it up properly, and it does not seem worth the effort right now. [1] libosmocore Ic9c1b566ec4a459f03e6319cf369691903cf9d00 Change-Id: I15c7a2f38a21cd96c9852ad26f4b4a81798e6593
2019-10-30stp: don't only execute STP_Tests.control, but also M3UA and IPAHarald Welte1-0/+2
Change-Id: Icc7d168dc90d3551d27c1be27c50d66dd84f0a50 Related: OS4220
2019-10-30osmo-stp-test: Ensure we build the laforge/stp branchHarald Welte1-0/+1
Change-Id: I2cf300eb37b327450da0f8b20ee209a6109bf8fe Related: OS#4220
2019-10-30osmo-bsc.cfg: remove obsolete logging categories (cc, mgcp)Philipp Maier3-6/+0
The logging categories cc and mgcp are obsolete. The tests still contain logging statements with those categories, which makes osmo-bsc terminate during startup while parsing the configuration file. Change-Id: Ifd6bf46b73420c0443f997ea953318710544b751
2019-10-29Add docker image for osmo-nitb-latestDaniel Willmann6-0/+300
Change-Id: I23cb350ded2940bd63b47ae84e44faa3292b0d9d
2019-10-24Introduce ttcn3-stp-testpespin/masterPau Espin Pedrol5-0/+164
Currently builds from osmo-ttcn3-hacks.git branch laforge/stp instead of master, since it's only available in the former branch. Once it gets merged, we can modify Dockerfile as explained in it. OS#4220 Change-Id: I635c891f5da7b8c59527abbad14d7377465d1045
2019-10-23ttcn3-bsc-sccplite: Enable color output in log filePau Espin Pedrol1-1/+1
Change-Id: I63932a9d2aafad68624aee3e42bef0bd4c2c4717
2019-10-23Fix trailing whitespacePau Espin Pedrol2-6/+6
Change-Id: Ib51a84560bad521d0adf4bb883c10418c51468a2
2019-10-22bsc: Set route ctx 0 for IPA and 1 for M3UAPau Espin Pedrol2-3/+3
Since libosmo-sccp.git 89407619a31a4332bdb59e7921b99a29b7d6e00c it is not allowed to use routing ctx != 0 for IPA AS. Change-Id: If3e883aa988ffa1686f1363d5d5d4dbb21ce36c7
2019-10-15Fix ttcn3-pcu-test-latestDaniel Willmann1-0/+7
Remove the gsmtap-categories that are unknown to the latest osmo-pcu release. Change-Id: I4ed750aaa728272fcda09fd23cf172db0e539aa8
2019-10-04ttcn-*: Fix gsmtap log not enabledPau Espin Pedrol18-0/+18
gsmtap log won't be sending any message unless it is allowed by "logging filter all 1". Change-Id: Ibf8062c0d962f2572a07623e6f06936df0d42c67
2019-10-04debian-stretch-titan: Install netcat-openbsd required by osmo-ttcn3-hacksPau Espin Pedrol1-0/+1
Scripts ttcn3-tcpdump-start.sh and ttcn3-tcpdump-stop.sh, run by osmo-ttcn3-hacks upon start and end of every test in the suite, starts and stops tcpdump and netcat each time. netcat is started in order to have a dummy sink for gsmtap log packets, to get rid of annoying ICMP messages as well as the kernel deciding to drop those messages (hence not ending up inside the pcap file of tcpdump) under some circumstances. Depends: osmo-ttcn3-hacks.git Id69d98db63f8260067ad6bc1525fb05c936912f2 Change-Id: Iccda25bc274ee93705c23dfd3e0f9dad5fc2a059
2019-09-30ttcn3-pcu: Enable GSMTAPPau Espin Pedrol2-1/+15
Depends on recent commit adding RACH, AGCH and PCH gsmtap categories. Depends: osmo-pcui.git I4d62f98801af1b0a290d3dd35bd213ccf3151035 Change-Id: I24782f5403266d29aea46ef1d94a431077b194b3
2019-09-30ttcn3-pcu: Enable logging color in osmo-pcu.logPau Espin Pedrol1-1/+1
Change-Id: I209b03e493bb6b047a46eadd80712259f1d1474d
2019-09-16sgsn: enable Iu testsAlexander Couzens1-1/+1
All related Iu patches has been merged. Change-Id: Ic26bcabb8b5192c401ab0bcc6a88b29fa0d3d8da
2019-09-13Add 'osmo-remsim-latest' containerHarald Welte4-0/+62
Change-Id: If16d4038a3c9a0532ae3a59762c68e40c18a9236
2019-09-13support for dockerized osmo-resmim testsuiteHarald Welte8-0/+182
Change-Id: I05090f408b04aae24c23978da831e9f844d723a3
2019-09-13add osmo-resmsim-master Docker containerHarald Welte4-0/+77
this will be used in upcoming TTCN-3 tests for osmo-remsim Change-Id: I8508441289455d0a2e3486a99ef09c85937de26f
2019-08-23ttcn3-ggsn: Disable echo-timer test when running against latestPau Espin Pedrol2-0/+6
Change-Id: I6657eefed00df96e3bcdca174a6ea0be1897b762
2019-08-20sccplite/osmo-bsc.cfg: add bts 3Oliver Smith1-0/+29
Have the same amount of bts like in the regular (non-sccplite) osmo-bsc.cfg, so we can make BSC_Tests.TC_ctrl pass for regular and sccplite again. Related: I1c57a04747f5ec004ccf4657954dcb0b003c24fc Related: Ie2c664ba0f845da644e20e2c919c12d8fc2af6ba (osmo-ttcn3-hacks) Related: OS#4156 Change-Id: I00547dccf8908d46df4730cb513fe577956d7683
2019-08-19ttcn3-bsc/msc: Drop fixups for latest releases not supporting osmuxPau Espin Pedrol3-11/+0
Last releases of osmo-bsc and osmo-bsc already support Osmux, so we can drop those lines as indicated. Change-Id: Id6a18f2d691f6e9234a5a0cf91ed5c840a6394de
2019-08-19Fix ttcn3-sgsn-latest (cs7 instance override)Pau Espin Pedrol1-0/+6
Change-Id: Ie45fa7875b409c3955c26d333110c36453c276f9
2019-08-19ttcn3-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
2019-08-19ttcn3-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
2019-08-15apply 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
2019-08-13adjust 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
2019-08-12ttcn3-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