Commit Graph

637 Commits

Author SHA1 Message Date
Harald Welte 57b6011e28 redmine: Make changeset keywords work with OS# annotation
In Osmocom we annotate osmocom issues as OS#1234 and not just as #1234,
in order to distinguish them from redmine or coverity issues.

Change-Id: I04a97434433a022f47a759a8219458e8772ae71e
Related: OS#5005, OS#3291
2021-02-10 16:57:26 +01:00
Daniel Willmann 60f4d39500 gbproxy: Fix ip-sns VTY config
Change-Id: I8faa5d29bfffe50c76c1b907717144ff893126a3
Related: SYS#5354
Depends: Ida979f3b9daa5f7280a629441e4006a7635653b0 (libosmocore.git)
2021-02-10 13:57:31 +01:00
Daniel Willmann ba06957cf4 Add osmo-gbproxy-* container for osmo-gbproxy
Uses the new repo split off of osmo-sgsn

Related: OS#4992
Change-Id: I1e7ede4d1da54e3bcb286213b34401bd9dcf7cc1
2021-02-04 16:48:23 +01:00
Harald Welte bd94a1443e ttcn3-fr-tests: Configure MTU to 1700
On our deb10fr VMs we have the modified kernel HDLC module supporting
the frame relay MTU up to 1700 bytes, so let's extend our tests to cover
that.  Mainline kernels only support 1500 bytes.

Depends: osmo-ttcn3-hacks.git I8e38ecf6b270c81bd73ee43b1fa0b259a999c14b
Change-Id: Id25532edbf5e1a918ad038723da464723d6f03f0
2021-02-04 15:01:57 +01:00
Harald Welte ed6163df50 ttcn3-fr-tests: Disable junit-xml generation for FRNET_Tests
FRNET_Tests is not a test suite, but just a stub against which we
execute FR_Tests.  Hence, we don't want it to generate a junit-xml,
as that doesn't contain any errors and only upsets our jenkins
test results analyzer, assuming the tests have failed.

Change-Id: Idec2bf8da30ccd211b21901d56979143ce3a172f
Requires: osmo-ttcn3-hacks.git Id296e62fb86731492d42370173a48f217b2fbdc0
2021-02-04 10:38:15 +01:00
Harald Welte 18564ba9c2 New ttcn3-fr-test container
Change-Id: I32433871e25de46ef58b70af46400cbb4dc0dbc5
2021-02-03 22:20:20 +01:00
Vadim Yanitskiy 0b9f7c338b osmo-pcu-master/Dockerfile: add missing libosmoctrl dependency
Since Id35f40d05f3e081f32fddbf1fa34cb338db452ca, osmo-pcu also
depends on libosmoctrl.  Debian based images work just fine,
because they depend on libosmocore-dev, while for CentOS we
need to specify all sub-libraries explicitly.

Change-Id: I6cccb77432b2b8fcb9f90c5205f7f1fb9dc41910
2021-02-01 14:19:44 +01:00
Pau Espin 0d6b421aa7 ttcn3-pcu: Update configs to support NACC tests
Change-Id: If027812940579a7f344a36543e85518cc096905b
2021-02-01 11:21:06 +00:00
Alexander Couzens c83c5d627f sgsn: change configuration to the new NS2
Change the whole vty configuration for NS to be more flexible
and support more setups. Old configurations are invalid.

For further information see:
https://osmocom.org/projects/libosmocore/wiki/Network_service_(NS)

Depends-on: Ie9306ab4d4738c2c57a69987086e22771b30657e (osmo-sgsn)
Change-Id: I65fb4e52d22617cf8488d8ab77c970f84995560d
2021-01-28 21:55:24 +01:00
Harald Welte 366ace7461 ttcn3-gbproxy-test: s/sgsn/gbproxy/
the jenkins.sh script was copied from the SGSN test suite and still
mentioned sgsn at several places when actually intending to mention
gbproxy.

Change-Id: I8709121d8501da4afc1c8dda70356096d331a9b0
2021-01-25 12:48:02 +00:00
Oliver Smith 4407e0e3aa debian10-repo-install-test: new container
Related: OS#4969
Change-Id: I7addb30aa3f8564dcbdc3f6cf2e2e0cfdf4dd02d
2021-01-25 09:24:03 +00:00
Oliver Smith 26bd12d73b rename {debian => debian9}-repo-install-test
Prepare to add debian10-repo-install-test. Make it consistent with
centos8-repo-install-test.

Related: OS#4969
Change-Id: I2ea18997019ebaa013c258996f5131386bcd6426
2021-01-25 09:24:03 +00:00
Oliver Smith 0861b9c7b8 debian-repo-install-test: remove Release.key
Make debian-repo-install-test simpler before copying it for debian10.
Don't install Release.key, as it is getting downloaded on demand in the
related repo-install-test script since osmo-ci
I91e7a208d8f5cb50f8baa2fde0eb979aae91da8f.

Related: OS#4969
Change-Id: Ia2ba9de264531502e2b0b9f42d7a4ecd34375851
2021-01-25 09:24:03 +00:00
Harald Welte 21b578c784 ttcn3-pcu-test-sns: Fix syntax errors in config file of previous commit
Change-Id: Ia291579d792019779ca40bc3cc1955dede6aa2e0
Fixes: I401f53bddd81e8386c01392d9a59c3b5ca8e9802
2021-01-25 09:54:41 +01:00
Vadim Yanitskiy e9c7b86978 ttcn3-pcu-test-sns: fix DTE 'Encoding an unbound integer value'
Starting from build #245 [1] all test cases fail due to DTE:

  RAW_NS.ttcnpp:62 Dynamic test case error:
    Text encoder: Encoding an unbound integer value.

This happens because fields 'data_weight' and 'signalling_weight'
are both unbound for two additional NS providers.  Fix this.

[1] https://jenkins.osmocom.org/jenkins/view/TTCN3-centos/job/TTCN3-centos-pcu-test-sns/245/

Change-Id: I401f53bddd81e8386c01392d9a59c3b5ca8e9802
Fixes: Ic607b3edc3bf724a8b2dbd6be8c806002c229509
2021-01-24 15:22:29 +01:00
Harald Welte 22b58d7ecc osmo-gbproxy: fix configuration
also, only change those values from their default values that are
neccessary to change; fall-back on the defaults whenever possible.

Change-Id: I5fba21ddf1854ed2b4f829785ab016dfa284456e
2021-01-21 20:54:18 +01:00
Harald Welte 98365d159f gbproxy: Use separate NS-VC for data + signaling
This follows the change implemented in osmo-ttcn3-hacks.git
If0e404bdf2c30a5e18748695608611be83f61109 to use data-only
and signalling-only NS-VCs on the SGSN side

Change-Id: I58f8a6d1c8d01551d366bd7d0dbfb892cce512ae
Requires: osmo-ttcn3-hacks.git If0e404bdf2c30a5e18748695608611be83f61109
Related: OS#4953
2021-01-21 09:43:20 +00:00
Harald Welte 9f53e36985 gbproxy,pcu,sgsn: Update config files
In upstream I9798e639b4bc8658482945970775b012b5840779 we introduce
two additional fields per NSVC (data_weight, signalling_weight). Make
sure those are specified everywhere.

Related: OS#4953
Requires: osmo-ttcn3-hacks.git I9798e639b4bc8658482945970775b012b5840779
Change-Id: Ic607b3edc3bf724a8b2dbd6be8c806002c229509
2021-01-21 09:43:20 +00:00
Alexander Couzens 28607d6bf5 ttcn3-pcu-test/sns: add configuration for 2nd and 3rd nsvc
With the change to NS_Provider the configruation has to be extended to also include
the other nsvcs.

osmo-ttcn3-hacks: c316572db111 ("RAW_NS: rework NS connection to use NS_Provider")
Change-Id: I8020f808c06054ee38427de65b8c3867817d4ad2
2021-01-18 13:24:54 +01:00
Harald Welte d12441a935 gbproxy: Update configs for SGSN poool with 2 SGSN, NRI, ...
Change-Id: Iac57e079d1375f186ddc200471bad1fa622c8860
2021-01-17 19:26:34 +01:00
Oliver Smith ee7107f8ee fpga-build: don't write path to /etc/environment
PATH isn't overwritten anymore when jenkins runs docker in osmo-ci.git's
master-builds.yml / gerrit-verifications.yml, therefore we can remove
this hack.

Change-Id: I5bff98f7af1a2f2de88c8d96d1e30de960057d01
2021-01-13 15:56:17 +01:00
Oliver Smith 8f60d951da Cosmetic: debian-stretch-jenkins, osmo-gsm-tester: fix indent
Change-Id: Ia6b12b2c35f69eb0434797b29ee0ef676b032250
2021-01-13 15:56:06 +01:00
Oliver Smith f92edcc32f debian-stretch-jenkins,fpga-build: add gsm-manuals
Prepare to remove 'build-deps.sh osmo-gsm-manuals' calls from all
projects.

Related: OS#4912
Change-Id: Id402e0ea372b5ca8a6c8f6f5beb190544c888207
2021-01-13 15:55:52 +01:00
Oliver Smith b68cfd7fa9 fpga-build: add osmo-ci
Clone osmo-ci.git, and install all files from scripts/* to
/usr/local/bin.

Related: OS#4911
Change-Id: I3625d6f10e566101fb25963757da6827670ca41b
2021-01-13 15:54:23 +01:00
Alexander Couzens 26003afcbc make osmo-gbproxy.cfg in ttcn3-gbproxy and ttcn3-gbproxy-fr to look similiar
Reduces human error when changing the configruation for both
cases.

Change-Id: I807589cc04f23d483695467320d34d79eaf5d290
2021-01-12 12:20:24 +01:00
Alexander Couzens 460e3070d3 ttcn3-gbproxy-test-fr: fix SNS ip address
Change-Id: Iba5aee47fb237884d4b0238b9cef4e2370e7ce09
2021-01-12 12:20:15 +01:00
Oliver Smith 8f2210f528 debian-stretch-jenkins, osmo-gsm-tester: add osmo-ci
Clone osmo-ci.git, and install all files from scripts/* to
/usr/local/bin. Together with osmo-ci
I45bd7ea56849dab839a98cfd52806f7cd288094e, this will make overwriting
PATH obsolete.

Related: OS#4911
Change-Id: I0820f13cd740f7d4a8999d279cef6ae293a67d81
2021-01-12 08:26:25 +00:00
Alexander Couzens 663c77203b gbproxy-fr: Enable IP-SNS towards SGSN
Change-Id: Id59cc404c355a3f494ad60be8d3a499b217084ec
2021-01-11 22:50:59 +01:00
Daniel Willmann 6ef07ae1b9 gbproxy: Enable IP-SNS towards SGSN
Change-Id: Iebbad7131d73c15ef7ded5eadce882c653b8bf2c
2021-01-11 01:51:24 +01:00
Daniel Willmann 096f6a0030 ttcn3-gbproxy-test: Fix pcap capture with dumpcap
In commit 2279aac6 dumpcap is used to capture pcaps, but dumpcap fails
if the directory isn't writable for everyone.
Commit 62ac27779 only fixed this issue for frame relay, this simply
mirrors the change for ttcn3-gbproxy-test

Change-Id: I11dcf9efd0b06544a82e31dec03fe76e182fd0d3
Related: OS#4518 SYS#5115
2021-01-08 16:51:37 +01:00
Daniel Willmann da8c47ecb5 ttcn3-gbproxy-test: Fix osmo-gbproxy config
Change-Id: If6fd41d0cecb807f002d87e18d4b0d80f41977ef
2021-01-05 18:48:46 +01:00
Harald Welte a6fc3bf44c osmo-gbproxy: Change config file to comply with change in upstream
In osmo-sgsn Change-Id Id67592aa7712e5e04e7264b2fb8f26d57eb7e69e we
have changed the config file syntax and must adjust here accordingly.

Change-Id: I8770baac2298ee9a71d7428ea30600751783b4f9
Depends: osmo-sgsn Id67592aa7712e5e04e7264b2fb8f26d57eb7e69e
2020-12-30 00:15:25 +01:00
Pau Espin d3bd2c2ba9 Introduce osmo-ran docker image set up
See osmo-ran/README.md in this commit for a description.

Related: SYS#4889
Change-Id: If5d22e9fa818310cbb4adc34bd7aceb4416ec969
2020-12-18 11:45:33 +00:00
Harald Welte 10c2ba7ea4 fpga-build: install missing toosls required for 'publish' and manuals
Change-Id: I7b416117e80133fcf4c07ee540d15783f4576fbd
2020-12-17 17:14:25 +01:00
Harald Welte 43ec5b7eab fpga-build: Make sure PATH is also set for non-root users
Change-Id: I16bf9c8cafbad85a6ec77f17b034c73f530565b9
2020-12-17 16:31:37 +01:00
Harald Welte bd4e9c2d9d fpga-build: Create 'build' user like in 'debian-stretch-jenkins'
Change-Id: Id99167568751b19f3454831e69eacdbadaf8aee4
2020-12-17 15:37:15 +01:00
Harald Welte 7500aebce7 fpga-build: Add packages required for rendering manuals
Change-Id: Ic9bec0689b3571db9cafa8a1671aa3bc68c3f4e5
2020-12-17 15:37:15 +01:00
Vadim Yanitskiy c52dbbe7f0 ttcn3-bts-test: fix: sleep 1 second before respawning the IUT
There has been a lot of changes merged to both osmo-{bsc,bts}, so
now the later seems to be respawning faster then before.  Because
of that, osmo-bts-trx is now reaching the limit of 500 runs on
Jenkins right in the middle of ttcn3-bts-test execution:

  respawn.sh: exiting after 500 runs

causing the remaining test cases to fail due to:

  "BTS_Tests.ttcn:253 : Timeout waiting for RSL bring up"

Most likely, the IUT respawns several times in the windows between
the test cases, i.e. after TITAN finishes one test case and before
it starts another.  Let's instruct respawn.sh to sleep 1 second
before starting the process again.

Change-Id: I09e5a8e7c4d28424cd0d004a8bae3cf0ade2d838
2020-12-16 14:07:12 +00:00
Harald Welte e05b032db9 fpga-build: Make riscv + fpga toolchain version configurable
Change-Id: I8969e383975c673c29169ff5b60229c4a75a499c
2020-12-16 10:54:37 +01:00
Harald Welte 37f3d4594b centos8-build: Make 'make' work again
Change-Id: I695ff7d6db7026a3b91771d4964f23d3151ef0aa
2020-12-16 10:54:37 +01:00
Harald Welte de52a89d0d migrate from CentOS_8_Stream to CentOS_8
Change-Id: I72c8fdae14816ec0a243f3fca4b4c2a49b562845
Related: SYS#5250
2020-12-16 10:54:37 +01:00
Harald Welte 62ac277796 gbproxy-test-fr: Avoid dumpcap failing to write to /data
Change-Id: I73dbdb4d85342e5fccd5ea4d9927f3244293d718
2020-12-11 18:11:52 +01:00
Harald Welte 5bffa66272 debian-stretch-titan: Add wireshark-common for dumpcap
We need dumpcap by ttcn3-dumpcap-start.sh

Change-Id: I0879710ff200bde7f77584dfb69cfb14f02f5d69
2020-12-11 15:26:14 +00:00
Harald Welte 2279aac61c ttcn3-gbproxy-test: Use dumpcap instead of tcpdump
This is required for creating proper pcap files with both ethernet
and framerelay/hdlc traffic.

Change-Id: Id237c25b12e70a89f12bd6d745b09c3abf9b7a7a
2020-12-11 15:44:46 +01:00
Harald Welte a10c26d6f7 ttcn3-gbproxy-test-fr: depend also on osmo-sgsn-master
osmo-gbproxy-master is derived from osmo-sgsn-mater, and the former
needs to be re-built to catch up with osmo-sgsn.git changes (Where
the osmo-gbproxy source code is located)

Change-Id: I8abc9f89d19d657403569b7705cd923342ff300b
2020-12-11 12:16:07 +01:00
Vadim Yanitskiy e1e8d3c592 debian-stretch-titan: use dpkg to install libfftranscode
For some magic reason, apt segfaults while installing the DEBs:

  $ apt install ./libfftranscode0_0.3_${DPKG_ARCH}.deb \
                ./libfftranscode-dev_0.3_${DPKG_ARCH}.deb
  WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
  Reading package lists...
  Segmentation fault (core dumped)

so it kind of confirms the warning about its stability ;)

Change-Id: I7f3288161577b055145afe89de7dff50853760f5
2020-12-10 15:19:22 +00:00
Harald Welte 233d37ee88 ttcn3-gbproxy-test-fr: Fix hdlcnet device names
In Change-Id I80de01c96185c60fe2de7a8ffa9daed2669658e1 we introduced
the wrong hdlcnetX device names.  We must use each devoce only once,
rather than trying to use hdlcnet1..4 twice.

Change-Id: I56f75995fe94b46b0210de2a4f83e384b4e4ca4f
2020-12-09 19:28:51 +01:00
Pau Espin Pedrol ffd76f2060 centos8-build: Use arg OSMOCOM_REPO_MIRROR
Change-Id: If2aefff04792fe4d215fcc52377bec64d9a1db2d
2020-12-09 16:36:17 +00:00
Harald Welte 120f786a54 centos8-repo-install-test: Upstream requires 'powertools' not 'PowerTools'
I just confirmed: With a centos:centos8 base image of a few weeks ago,
"PowerTools" works. With the current docker base image for
centos:centos8, only lowercase "powertools" works, uppercase is no
longer accepted.

https://access.redhat.com/discussions/5417621
https://www.reddit.com/r/CentOS/comments/jd7x3d/how_to_enable_powertools_in_centos_stream/
https://git.centos.org/rpms/centos-repos/blob/c8/f/SOURCES/CentOS-Stream-PowerTools.repo#_11

Change-Id: I0db6c82576c5aae94531b7ec2fd98429cab702de
Closes: SYS#5244
2020-12-09 17:09:32 +01:00
Harald Welte d3dacd4ad4 gbproxy-test-fr: Fix syntax error in config file
It's mp_enable_bss_load_sharing, not mp_enable_load_sharing

Change-Id: I0d2241e0d9e376f27d04721034b1e197901aa662
2020-12-09 12:02:39 +01:00