[PATCH] osmo-ci[master]: add jenkins job builder files for osmocom-nightly-nitb-split.sh
add jenkins job builder files for osmocom-nightly-nitb-split.sh jenkins job builder is a python library to write jenkins jobs in .yml or .json including templating and basic substition operation. To update the job call: Create your own jenkins_jobs.ini based on the exmaple and call jenkins-jobs --conf ./jenkins_jobs.ini update osmocom-nightly-nitb-split.yml Change-Id: Ie7c655c6e0e3761e7970e479cadb5ae14faa2c1c --- M .gitignore A scripts/jenkins_jobs.ini.example A scripts/osmocom-nightly-nitb-split.yml 3 files changed, 27 insertions(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/30/3530/3 diff --git a/.gitignore b/.gitignore index 4e25b2f..4163eb6 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ install-* tokens.txt .*.sw? +jenkins_jobs.ini diff --git a/scripts/jenkins_jobs.ini.example b/scripts/jenkins_jobs.ini.example new file mode 100644 index 000..639b399 --- /dev/null +++ b/scripts/jenkins_jobs.ini.example @@ -0,0 +1,6 @@ +[jenkins] +user=example +# To get a token: Go to Jenkins via Web -> Login -> Press up right Corner on your Username -> Configure -> API token in the body +password=get_a_token +url=https://jenkins.osmocom.org/jenkins +query_plugins_info=False diff --git a/scripts/osmocom-nightly-nitb-split.yml b/scripts/osmocom-nightly-nitb-split.yml new file mode 100644 index 000..6c264fd --- /dev/null +++ b/scripts/osmocom-nightly-nitb-split.yml @@ -0,0 +1,20 @@ +--- +- project: +name: Osmocom_nightly_nitb_split +jobs: + - Osmocom_nightly_nitb_split + +- job: +name: 'Osmocom_nightly_nitb_split' +project-type: freestyle +defaults: global +description: 'Generated by job-builder' +node: linux_amd64_debian8 +builders: + - shell: + ./scripts/osmocom-nightly-nitb-split.sh +scm: + - git: + url: git://git.osmocom.org/osmo-ci + git-config-name: 'Jenkins Builder' + git-config-email: 'jenk...@osmocom.org -- To view, visit https://gerrit.osmocom.org/3530 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newpatchset Gerrit-Change-Id: Ie7c655c6e0e3761e7970e479cadb5ae14faa2c1c Gerrit-PatchSet: 3 Gerrit-Project: osmo-ci Gerrit-Branch: master Gerrit-Owner: lynxis lazus <lyn...@fe80.eu> Gerrit-Reviewer: Harald Welte <lafo...@gnumonks.org> Gerrit-Reviewer: Holger Freyther <hol...@freyther.de>
[PATCH] osmo-ci[master]: add jenkins job builder files for osmocom-nightly-nitb-split.sh
add jenkins job builder files for osmocom-nightly-nitb-split.sh jenkins job builder is a python library to write jenkins jobs in .yml or .json including templating and basic substition operation. To update the job call: Create your own jenkins_jobs.ini based on the exmaple and call jenkins-jobs --conf ./jenkins_jobs.ini update osmocom-nightly-nitb-split.yml Change-Id: Ie7c655c6e0e3761e7970e479cadb5ae14faa2c1c --- M .gitignore A scripts/jenkins_jobs.ini.example A scripts/osmocom-nightly-nitb-split.yml 3 files changed, 27 insertions(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/30/3530/2 diff --git a/.gitignore b/.gitignore index 4e25b2f..4163eb6 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ install-* tokens.txt .*.sw? +jenkins_jobs.ini diff --git a/scripts/jenkins_jobs.ini.example b/scripts/jenkins_jobs.ini.example new file mode 100644 index 000..639b399 --- /dev/null +++ b/scripts/jenkins_jobs.ini.example @@ -0,0 +1,6 @@ +[jenkins] +user=example +# To get a token: Go to Jenkins via Web -> Login -> Press up right Corner on your Username -> Configure -> API token in the body +password=get_a_token +url=https://jenkins.osmocom.org/jenkins +query_plugins_info=False diff --git a/scripts/osmocom-nightly-nitb-split.yml b/scripts/osmocom-nightly-nitb-split.yml new file mode 100644 index 000..cb4c50f --- /dev/null +++ b/scripts/osmocom-nightly-nitb-split.yml @@ -0,0 +1,20 @@ +--- +- project: +name: Osmocom_nightly_nitb_split +jobs: + - Osmocom_nightly_nitb_split + +- job: +name: 'Osmocom_nightly_nitb_split' +project-type: freestyle +defaults: global +description: 'Generated by job-builder' +node: linux_amd64_debian8 +builders: + - shell: + ./scripts/osmocom-nightly-nitb-split.sh +scm: + - git: + url: git://git.osmocom.org/osmo-ci + git-config-name: 'Jenkins Builder' + git-config-email: 'ad...@fe80.eu' -- To view, visit https://gerrit.osmocom.org/3530 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newpatchset Gerrit-Change-Id: Ie7c655c6e0e3761e7970e479cadb5ae14faa2c1c Gerrit-PatchSet: 2 Gerrit-Project: osmo-ci Gerrit-Branch: master Gerrit-Owner: lynxis lazus <lyn...@fe80.eu> Gerrit-Reviewer: Harald Welte <lafo...@gnumonks.org> Gerrit-Reviewer: Holger Freyther <hol...@freyther.de>
[PATCH] osmo-ci[master]: create osmocom-nightly-nitb-split.sh based on osmocom-nightl...
Review at https://gerrit.osmocom.org/3529 create osmocom-nightly-nitb-split.sh based on osmocom-nightly-packages.sh Create a snapshot of the nitb split and upload it to OBS. Change-Id: I8bf9fce1547e98c44b62a693ac4aaa4beed1aef9 --- A scripts/osmocom-nightly-nitb-split.sh 1 file changed, 119 insertions(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/29/3529/1 diff --git a/scripts/osmocom-nightly-nitb-split.sh b/scripts/osmocom-nightly-nitb-split.sh new file mode 100755 index 000..ee39a5b --- /dev/null +++ b/scripts/osmocom-nightly-nitb-split.sh @@ -0,0 +1,119 @@ +#!/bin/bash + +set -e +set -x + +DT=$(date +%Y%m%d) +PROJ=network:osmocom:nitb-split:nightly + +### common +checkout() { + local name=$1 + local branch=$2 + local url="git://git.osmocom.org" + + cd "$REPO" + + if [ -n "$branch" ] ; then +git clone "$url/$name" -b "$branch" + else +git clone "$url/$name" + fi + + cd - +} + +### OBS build +prepare() { + # clean up the whole space + mkdir -p "$REPO/osc/" + cd "$REPO/osc" + osc co "$PROJ" +} + +build() { + local name=$1 + local repodir=$REPO/$name + local oscdir=$REPO/osc/$PROJ/$name + + if [ -d "$oscdir" ] ; then +# remove earlier version +cd "$oscdir" +osc rm -- * || true + else +# new package +mkdir -p "$oscdir/" +cd "$REPO/osc/$PROJ/" +osc add "$name" + fi + + cd "$repodir" + + VER=$(head -1 debian/changelog | cut -d ' ' -f 2 | sed 's,(,,' | sed 's,),,') + dch -v "$VER.$DT" -m "Snapshot build" + git commit -m "$DT snapshot" debian/ + + mkdir -p "$DATA/$name" + # source code build without dependency checks and unsigned source and unsigned change log + gbp buildpackage -S -uc -us -d --git-ignore-branch "--git-export-dir=$DATA/$name" + + mv "$DATA/$name/"*.tar* "$DATA/$name/"*.dsc "$oscdir/" + + cd "$oscdir" + osc add -- *.tar* *.dsc + osc ci -m "Snapshot $name $DT" +} + +post() { + cd "$REPO/osc/$PROJ/" + osc status +} + +build_osmocom() { + BASE=$PWD + DATA=$BASE/data + REPO=$BASE/repo + + # rather than including a dangerous 'rm -rf *' here, lets delegate to the user: + if [ -n "$(ls)" ]; then +echo "ERROR: I need to run in an empty directory." +exit 1 + fi + + prepare + + checkout libosmocore + checkout libosmo-abis + checkout libosmo-netif + checkout libosmo-sccp + checkout libsmpp34 + checkout libasn1c + checkout osmo-iuh lynxis/pre_release + checkout osmo-hlr + checkout openggsn + checkout osmo-mgw pre_release + checkout osmo-bsc lynxis/pre_release + checkout osmo-msc pre_release + checkout osmo-sgsn pre_release + + build libosmocore + build libosmo-abis + build libosmo-netif + build libosmo-sccp + build libsmpp34 + build libasn1c + build osmo-iuh + build osmo-hlr + build openggsn + build osmo-mgw + build osmo-bsc + build osmo-msc + build osmo-sgsn + + post +} + +TMPDIR=$(mktemp -d nightly-3g_XX) +cd "$TMPDIR" +build_osmocom +rm -rf "./$TMPDIR/" -- To view, visit https://gerrit.osmocom.org/3529 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I8bf9fce1547e98c44b62a693ac4aaa4beed1aef9 Gerrit-PatchSet: 1 Gerrit-Project: osmo-ci Gerrit-Branch: master Gerrit-Owner: lynxis lazus <lyn...@fe80.eu>
[PATCH] osmo-ci[master]: add jenkins job builder files for osmocom-nightly-nitb-split.sh
Review at https://gerrit.osmocom.org/3530 add jenkins job builder files for osmocom-nightly-nitb-split.sh jenkins job builder is a python library to write jenkins jobs in .yml or .json including templating and basic substition operation. To update the job call: Create your own jenkins_jobs.ini based on the exmaple and call jenkins-jobs --conf ./jenkins_jobs.ini update osmocom-nightly-nitb-split.yml Change-Id: Ie7c655c6e0e3761e7970e479cadb5ae14faa2c1c --- M .gitignore A scripts/jenkins_jobs.ini.example A scripts/osmocom-nightly-nitb-split.yml 3 files changed, 27 insertions(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/30/3530/1 diff --git a/.gitignore b/.gitignore index 4e25b2f..4163eb6 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ install-* tokens.txt .*.sw? +jenkins_jobs.ini diff --git a/scripts/jenkins_jobs.ini.example b/scripts/jenkins_jobs.ini.example new file mode 100644 index 000..3a28c40 --- /dev/null +++ b/scripts/jenkins_jobs.ini.example @@ -0,0 +1,6 @@ +[jenkins] +user=example +# To get a token: Go to Jenkins via Web -> Login -> Press up right Corner on your Username -> Configure -> API token in the body +password=get_a_token +url=https://jenkins.osmocom.org +query_plugins_info=False diff --git a/scripts/osmocom-nightly-nitb-split.yml b/scripts/osmocom-nightly-nitb-split.yml new file mode 100644 index 000..cb4c50f --- /dev/null +++ b/scripts/osmocom-nightly-nitb-split.yml @@ -0,0 +1,20 @@ +--- +- project: +name: Osmocom_nightly_nitb_split +jobs: + - Osmocom_nightly_nitb_split + +- job: +name: 'Osmocom_nightly_nitb_split' +project-type: freestyle +defaults: global +description: 'Generated by job-builder' +node: linux_amd64_debian8 +builders: + - shell: + ./scripts/osmocom-nightly-nitb-split.sh +scm: + - git: + url: git://git.osmocom.org/osmo-ci + git-config-name: 'Jenkins Builder' + git-config-email: 'ad...@fe80.eu' -- To view, visit https://gerrit.osmocom.org/3530 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ie7c655c6e0e3761e7970e479cadb5ae14faa2c1c Gerrit-PatchSet: 1 Gerrit-Project: osmo-ci Gerrit-Branch: master Gerrit-Owner: lynxis lazus <lyn...@fe80.eu>
libasn1c[master]: add /debian to build a package
Patch Set 2: done -- To view, visit https://gerrit.osmocom.org/3440 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: I135d975b84027d51cb1dc534e04dd314bbd20289 Gerrit-PatchSet: 2 Gerrit-Project: libasn1c Gerrit-Branch: master Gerrit-Owner: lynxis lazus <lyn...@fe80.eu> Gerrit-Reviewer: Harald Welte <lafo...@gnumonks.org> Gerrit-Reviewer: Neels Hofmeyr <nhofm...@sysmocom.de> Gerrit-Reviewer: lynxis lazus <lyn...@fe80.eu> Gerrit-HasComments: No
[PATCH] libasn1c[master]: add /debian to build a package
AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + diff --git a/debian/libasn1c-dev.install b/debian/libasn1c-dev.install new file mode 100644 index 000..d8a8a49 --- /dev/null +++ b/debian/libasn1c-dev.install @@ -0,0 +1,4 @@ +usr/include +usr/lib/*/pkgconfig/*.pc +usr/lib/*/*.a +usr/lib/*/lib*.so diff --git a/debian/libasn1c0.install b/debian/libasn1c0.install new file mode 100644 index 000..3de3b10 --- /dev/null +++ b/debian/libasn1c0.install @@ -0,0 +1 @@ +usr/lib/*/*.so.* diff --git a/debian/rules b/debian/rules new file mode 100755 index 000..267bea9 --- /dev/null +++ b/debian/rules @@ -0,0 +1,59 @@ +#!/usr/bin/make -f +# You must remove unused comment lines for the released package. +# See debhelper(7) (uncomment to enable) +# This is an autogenerated template for debian/rules. +# +# Output every command that modifies files on the build system. +#export DH_VERBOSE = 1 +# +# Copy some variable definitions from pkg-info.mk and vendor.mk +# under /usr/share/dpkg/ to here if they are useful. +# +# See FEATURE AREAS/ENVIRONMENT in dpkg-buildflags(1) +# Apply all hardening options +#export DEB_BUILD_MAINT_OPTIONS = hardening=+all +# Package maintainers to append CFLAGS +#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic +# Package maintainers to append LDFLAGS +#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed +# +# With debhelper version 9 or newer, the dh command exports +# all buildflags. So there is no need to include the +# /usr/share/dpkg/buildflags.mk file here if compat is 9 or newer. +# +# These are rarely used code. (START) +# +# The following include for *.mk magically sets miscellaneous +# variables while honoring existing values of pertinent +# environment variables: +# +# Architecture-related variables such as DEB_TARGET_MULTIARCH: +#include /usr/share/dpkg/architecture.mk +# Vendor-related variables such as DEB_VENDOR: +#include /usr/share/dpkg/vendor.mk +# Package-related variables such as DEB_DISTRIBUTION +#include /usr/share/dpkg/pkg-info.mk +# +# You may alternatively set them susing a simple script such as: +# DEB_VENDOR ?= $(shell dpkg-vendor --query Vendor) +# +# These are rarely used code. (END) +# + +# main packaging script based on dh7 syntax +%: + dh $@ --with autoreconf + +# debmake generated override targets +# Set options for ./configure +#CONFIGURE_FLAGS = +#overrride_dh_configure: +# dh_configure -- $(CONFIGURE_FLAGS) +# +# Do not install libtool archive, python .pyc .pyo +#override_dh_install: +# dh_install --list-missing -X.la -X.pyc -X.pyo + +# See https://www.debian.org/doc/manuals/developers-reference/best-pkging-practices.html#bpp-dbg +override_dh_strip: + dh_strip --dbg-package=libasn1c-dbg diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 000..89ae9db --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (native) -- To view, visit https://gerrit.osmocom.org/3440 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newpatchset Gerrit-Change-Id: I135d975b84027d51cb1dc534e04dd314bbd20289 Gerrit-PatchSet: 2 Gerrit-Project: libasn1c Gerrit-Branch: master Gerrit-Owner: lynxis lazus <lyn...@fe80.eu> Gerrit-Reviewer: Harald Welte <lafo...@gnumonks.org> Gerrit-Reviewer: Neels Hofmeyr <nhofm...@sysmocom.de>
[PATCH] osmo-iuh[master]: add /debian package support
in this distribution in + the file called "COPYING". + . + Contact Information + . + On Debian systems, the complete text of the GNU General Public License + Version 2 can be found in `/usr/share/common-licenses/GPL-2'. + diff --git a/debian/libosmo-ranap-dev.install b/debian/libosmo-ranap-dev.install new file mode 100644 index 000..5bd9dd0 --- /dev/null +++ b/debian/libosmo-ranap-dev.install @@ -0,0 +1,3 @@ +usr/include +usr/lib/*/*.so +usr/lib/*/pkgconfig/*.pc diff --git a/debian/libosmo-ranap0.install b/debian/libosmo-ranap0.install new file mode 100644 index 000..3de3b10 --- /dev/null +++ b/debian/libosmo-ranap0.install @@ -0,0 +1 @@ +usr/lib/*/*.so.* diff --git a/debian/osmo-hnbgw.install b/debian/osmo-hnbgw.install new file mode 100644 index 000..e230915 --- /dev/null +++ b/debian/osmo-hnbgw.install @@ -0,0 +1,2 @@ +usr/bin/osmo-hnbgw +usr/share/doc/osmo-iuh/examples/osmo-hnbgw.cfg diff --git a/debian/rules b/debian/rules new file mode 100755 index 000..03432e6 --- /dev/null +++ b/debian/rules @@ -0,0 +1,18 @@ +#!/usr/bin/make -f + +DEBIAN := $(shell dpkg-parsechangelog | grep ^Version: | cut -d' ' -f2) +DEBVERS := $(shell echo '$(DEBIAN)' | cut -d- -f1) +VERSION := $(shell echo '$(DEBVERS)' | sed -e 's/[+-].*//' -e 's/~//g') + +# main packaging script based on dh7 syntax +%: + dh $@ --with autoreconf + +override_dh_autoreconf: + echo $(VERSION) > .tarball-version + dh_autoreconf + +# See https://www.debian.org/doc/manuals/developers-reference/best-pkging-practices.html#bpp-dbg +override_dh_strip: + dh_strip --dbg-package=libosmo-ranap-dbg + dh_strip --dbg-package=osmo-hnbgw diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 000..89ae9db --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (native) -- To view, visit https://gerrit.osmocom.org/3506 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newpatchset Gerrit-Change-Id: I985805aea0e48fe70619de8b81206098e4e37613 Gerrit-PatchSet: 2 Gerrit-Project: osmo-iuh Gerrit-Branch: master Gerrit-Owner: Neels Hofmeyr <nhofm...@sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: Neels Hofmeyr <nhofm...@sysmocom.de> Gerrit-Reviewer: lynxis lazus <lyn...@fe80.eu>
[PATCH] libasn1c[master]: add .gitreview to support git review plugin
Review at https://gerrit.osmocom.org/3439 add .gitreview to support git review plugin Change-Id: Ia197da1614a8cbec5f177368ca9e25946059c68a --- A .gitreview 1 file changed, 3 insertions(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/libasn1c refs/changes/39/3439/1 diff --git a/.gitreview b/.gitreview new file mode 100644 index 000..972358d --- /dev/null +++ b/.gitreview @@ -0,0 +1,3 @@ +[gerrit] +host=gerrit.osmocom.org +project=libasn1c -- To view, visit https://gerrit.osmocom.org/3439 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ia197da1614a8cbec5f177368ca9e25946059c68a Gerrit-PatchSet: 1 Gerrit-Project: libasn1c Gerrit-Branch: master Gerrit-Owner: lynxis lazus <lyn...@fe80.eu>
[PATCH] libasn1c[master]: add /debian to build a package
d system. +#export DH_VERBOSE = 1 +# +# Copy some variable definitions from pkg-info.mk and vendor.mk +# under /usr/share/dpkg/ to here if they are useful. +# +# See FEATURE AREAS/ENVIRONMENT in dpkg-buildflags(1) +# Apply all hardening options +#export DEB_BUILD_MAINT_OPTIONS = hardening=+all +# Package maintainers to append CFLAGS +#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic +# Package maintainers to append LDFLAGS +#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed +# +# With debhelper version 9 or newer, the dh command exports +# all buildflags. So there is no need to include the +# /usr/share/dpkg/buildflags.mk file here if compat is 9 or newer. +# +# These are rarely used code. (START) +# +# The following include for *.mk magically sets miscellaneous +# variables while honoring existing values of pertinent +# environment variables: +# +# Architecture-related variables such as DEB_TARGET_MULTIARCH: +#include /usr/share/dpkg/architecture.mk +# Vendor-related variables such as DEB_VENDOR: +#include /usr/share/dpkg/vendor.mk +# Package-related variables such as DEB_DISTRIBUTION +#include /usr/share/dpkg/pkg-info.mk +# +# You may alternatively set them susing a simple script such as: +# DEB_VENDOR ?= $(shell dpkg-vendor --query Vendor) +# +# These are rarely used code. (END) +# + +# main packaging script based on dh7 syntax +%: + dh $@ --with autoreconf + +# debmake generated override targets +# Set options for ./configure +#CONFIGURE_FLAGS = +#overrride_dh_configure: +# dh_configure -- $(CONFIGURE_FLAGS) +# +# Do not install libtool archive, python .pyc .pyo +#override_dh_install: +# dh_install --list-missing -X.la -X.pyc -X.pyo + +# See https://www.debian.org/doc/manuals/developers-reference/best-pkging-practices.html#bpp-dbg +override_dh_strip: + dh_strip --dbg-package=libasn1c-dbg diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 000..89ae9db --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (native) -- To view, visit https://gerrit.osmocom.org/3440 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I135d975b84027d51cb1dc534e04dd314bbd20289 Gerrit-PatchSet: 1 Gerrit-Project: libasn1c Gerrit-Branch: master Gerrit-Owner: lynxis lazus <lyn...@fe80.eu>
[PATCH] osmo-iuh[master]: add .gitreview to support git review plugin
Review at https://gerrit.osmocom.org/3442 add .gitreview to support git review plugin Change-Id: If8ebdb687f41911f55679472a0c87f9734264e80 --- A .gitreview 1 file changed, 3 insertions(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-iuh refs/changes/42/3442/1 diff --git a/.gitreview b/.gitreview new file mode 100644 index 000..b8af595 --- /dev/null +++ b/.gitreview @@ -0,0 +1,3 @@ +[gerrit] +host=gerrit.osmocom.org +project=osmo-iuh -- To view, visit https://gerrit.osmocom.org/3442 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: If8ebdb687f41911f55679472a0c87f9734264e80 Gerrit-PatchSet: 1 Gerrit-Project: osmo-iuh Gerrit-Branch: master Gerrit-Owner: lynxis lazus <lyn...@fe80.eu>
[PATCH] osmo-msc[master]: update .gitreview to new repo url
Review at https://gerrit.osmocom.org/3446 update .gitreview to new repo url Leftover from split out of openbsc Change-Id: I684eedfdeb52a9b018d3798961b29b9e31526cd1 --- M .gitreview 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.osmocom.org:29418/osmo-msc refs/changes/46/3446/1 diff --git a/.gitreview b/.gitreview index ee67509..6f1bb85 100644 --- a/.gitreview +++ b/.gitreview @@ -1,3 +1,3 @@ [gerrit] host=gerrit.osmocom.org -project=openbsc +project=osmo-msc -- To view, visit https://gerrit.osmocom.org/3446 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I684eedfdeb52a9b018d3798961b29b9e31526cd1 Gerrit-PatchSet: 1 Gerrit-Project: osmo-msc Gerrit-Branch: master Gerrit-Owner: lynxis lazus <lyn...@fe80.eu>
[PATCH] osmo-mgw[master]: .gitreview: update repo url to new location
Review at https://gerrit.osmocom.org/3444 .gitreview: update repo url to new location Change-Id: Ic08e308e3b6f9dda35c95da4628268ccd2b6cfaa --- M .gitreview 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.osmocom.org:29418/osmo-mgw refs/changes/44/3444/1 diff --git a/.gitreview b/.gitreview index ee67509..1f71dcf 100644 --- a/.gitreview +++ b/.gitreview @@ -1,3 +1,3 @@ [gerrit] host=gerrit.osmocom.org -project=openbsc +project=osmo-mgw -- To view, visit https://gerrit.osmocom.org/3444 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ic08e308e3b6f9dda35c95da4628268ccd2b6cfaa Gerrit-PatchSet: 1 Gerrit-Project: osmo-mgw Gerrit-Branch: master Gerrit-Owner: lynxis lazus <lyn...@fe80.eu>
[PATCH] osmo-bsc[master]: .gitreview: update repo url to new location
Review at https://gerrit.osmocom.org/3445 .gitreview: update repo url to new location Old files came from openbsc. Change-Id: If8b5b0b3c9472e2d25f90f659dcc90aac44d7566 --- M .gitreview 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/45/3445/1 diff --git a/.gitreview b/.gitreview index ee67509..bd724b7 100644 --- a/.gitreview +++ b/.gitreview @@ -1,3 +1,3 @@ [gerrit] host=gerrit.osmocom.org -project=openbsc +project=osmo-bsc -- To view, visit https://gerrit.osmocom.org/3445 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: If8b5b0b3c9472e2d25f90f659dcc90aac44d7566 Gerrit-PatchSet: 1 Gerrit-Project: osmo-bsc Gerrit-Branch: master Gerrit-Owner: lynxis lazus <lyn...@fe80.eu>
osmo-msc[master]: rework debian packages support
Patch Set 1: it was moved yesterday to: https://build.opensuse.org/project/show/network:osmocom:nitb-split:nightly -- To view, visit https://gerrit.osmocom.org/3499 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: I77544cb38c31777c3fab52979d19488a63e52de3 Gerrit-PatchSet: 1 Gerrit-Project: osmo-msc Gerrit-Branch: master Gerrit-Owner: Neels Hofmeyr <nhofm...@sysmocom.de> Gerrit-Reviewer: Harald Welte <lafo...@gnumonks.org> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: Max <msur...@sysmocom.de> Gerrit-Reviewer: Neels Hofmeyr <nhofm...@sysmocom.de> Gerrit-Reviewer: lynxis lazus <lyn...@fe80.eu> Gerrit-HasComments: No
[PATCH] osmo-ci[master]: osmocom-nightly-nitb-split.yml: schedule the job to be run a...
Review at https://gerrit.osmocom.org/3558 osmocom-nightly-nitb-split.yml: schedule the job to be run at midnight Change-Id: I0d80e7d260f9092f44d4d80471a4dd67b7acc839 --- M scripts/osmocom-nightly-nitb-split.yml 1 file changed, 3 insertions(+), 1 deletion(-) git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/58/3558/1 diff --git a/scripts/osmocom-nightly-nitb-split.yml b/scripts/osmocom-nightly-nitb-split.yml index 6c264fd..7dbf46f 100644 --- a/scripts/osmocom-nightly-nitb-split.yml +++ b/scripts/osmocom-nightly-nitb-split.yml @@ -17,4 +17,6 @@ - git: url: git://git.osmocom.org/osmo-ci git-config-name: 'Jenkins Builder' - git-config-email: 'jenk...@osmocom.org + git-config-email: 'jenk...@osmocom.org' +triggers: + - timed: "@midnight" -- To view, visit https://gerrit.osmocom.org/3558 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I0d80e7d260f9092f44d4d80471a4dd67b7acc839 Gerrit-PatchSet: 1 Gerrit-Project: osmo-ci Gerrit-Branch: master Gerrit-Owner: lynxis lazus <lyn...@fe80.eu>
[PATCH] osmo-ci[master]: scripts: add requirements.txt to list jenkins-job-builder
Review at https://gerrit.osmocom.org/3559 scripts: add requirements.txt to list jenkins-job-builder Change-Id: If25ce84593bbf6a393928a8f4e1670f320c48ca4 --- A scripts/requirements.txt 1 file changed, 1 insertion(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/59/3559/1 diff --git a/scripts/requirements.txt b/scripts/requirements.txt new file mode 100644 index 000..6b700dc --- /dev/null +++ b/scripts/requirements.txt @@ -0,0 +1 @@ +jenkins-job-builder -- To view, visit https://gerrit.osmocom.org/3559 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: If25ce84593bbf6a393928a8f4e1670f320c48ca4 Gerrit-PatchSet: 1 Gerrit-Project: osmo-ci Gerrit-Branch: master Gerrit-Owner: lynxis lazus <lyn...@fe80.eu>
osmo-ci[master]: Add .gitreview
Patch Set 1: Code-Review+1 -- To view, visit https://gerrit.osmocom.org/2892 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: Ib5e18e675230540c79673eaaf4dc2b75f1353f6d Gerrit-PatchSet: 1 Gerrit-Project: osmo-ci Gerrit-Branch: master Gerrit-Owner: Max <msur...@sysmocom.de> Gerrit-Reviewer: lynxis lazus <lyn...@fe80.eu> Gerrit-HasComments: No
[MERGED] osmo-pcu[master]: tbf.cpp: use new tlli instead of old tlli
lynxis lazus has submitted this change and it was merged. Change subject: tbf.cpp: use new tlli instead of old tlli .. tbf.cpp: use new tlli instead of old tlli The old tlli might be 0x. Change-Id: I2fd6fec022506e203d05e91c36ccd9e020ff816c --- M src/tbf.cpp M tests/tbf/TbfTest.err 2 files changed, 3 insertions(+), 3 deletions(-) Approvals: Jenkins Builder: Verified Holger Freyther: Looks good to me, approved diff --git a/src/tbf.cpp b/src/tbf.cpp index 820131c..99ad30a 100644 --- a/src/tbf.cpp +++ b/src/tbf.cpp @@ -1311,7 +1311,7 @@ if (dl_tbf && dl_tbf->ms() != ms()) { LOGP(DRLCMACUL, LOGL_NOTICE, "Got RACH from " "TLLI=0x%08x while %s still exists. " - "Killing pending DL TBF\n", tlli(), + "Killing pending DL TBF\n", new_tlli, tbf_name(dl_tbf)); tbf_free(dl_tbf); dl_tbf = NULL; @@ -1319,7 +1319,7 @@ if (ul_tbf && ul_tbf->ms() != ms()) { LOGP(DRLCMACUL, LOGL_NOTICE, "Got RACH from " "TLLI=0x%08x while %s still exists. " - "Killing pending UL TBF\n", tlli(), + "Killing pending UL TBF\n", new_tlli, tbf_name(ul_tbf)); tbf_free(ul_tbf); ul_tbf = NULL; diff --git a/tests/tbf/TbfTest.err b/tests/tbf/TbfTest.err index 3412bde..2002379 100644 --- a/tests/tbf/TbfTest.err +++ b/tests/tbf/TbfTest.err @@ -2184,7 +2184,7 @@ - BSN 0 storing in window (0..63) TBF(TFI=0 TLLI=0x DIR=UL STATE=FLOW): data_length=20, data=f1 22 33 44 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 Decoded premier TLLI=0x of UL DATA TFI=0. -Got RACH from TLLI=0x while TBF(TFI=0 TLLI=0xf1223344 DIR=DL STATE=ASSIGN) still exists. Killing pending DL TBF +Got RACH from TLLI=0xf1223344 while TBF(TFI=0 TLLI=0xf1223344 DIR=DL STATE=ASSIGN) still exists. Killing pending DL TBF TBF(TFI=0 TLLI=0xf1223344 DIR=DL STATE=ASSIGN) changes state from ASSIGN to RELEASING TBF(TFI=0 TLLI=0xf1223344 DIR=DL STATE=RELEASING) free TBF(TFI=0 TLLI=0xf1223344 DIR=DL STATE=RELEASING) stopping timer 0. -- To view, visit https://gerrit.osmocom.org/1663 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: I2fd6fec022506e203d05e91c36ccd9e020ff816c Gerrit-PatchSet: 3 Gerrit-Project: osmo-pcu Gerrit-Branch: master Gerrit-Owner: lynxis lazus <lyn...@fe80.eu> Gerrit-Reviewer: Holger Freyther <hol...@freyther.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: Neels Hofmeyr <nhofm...@sysmocom.de> Gerrit-Reviewer: lynxis lazus <lyn...@fe80.eu>
osmo-pcu[master]: fix PACCH paging: don't return early in case of NULL TBF
Patch Set 3: Code-Review+1 LGTM -- To view, visit https://gerrit.osmocom.org/2420 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: Ib79f4a945e211a13ac7d1e511cc37b0940ac6202 Gerrit-PatchSet: 3 Gerrit-Project: osmo-pcu Gerrit-Branch: master Gerrit-Owner: Neels Hofmeyr <nhofm...@sysmocom.de> Gerrit-Reviewer: Harald Welte <lafo...@gnumonks.org> Gerrit-Reviewer: Holger Freyther <hol...@freyther.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: Max <msur...@sysmocom.de> Gerrit-Reviewer: Neels Hofmeyr <nhofm...@sysmocom.de> Gerrit-Reviewer: lynxis lazus <lyn...@fe80.eu> Gerrit-Reviewer: sivasankari <sivasankari.theerthag...@radisys.com> Gerrit-HasComments: No
[PATCH] osmo-mgw[master]: debian/rules: compile with debug symbols
Review at https://gerrit.osmocom.org/3945 debian/rules: compile with debug symbols The debug symbol will be stripped out of the "normal" package. Change-Id: I2428b922298c312c6071f51f23d7fd5939e5af91 --- M debian/rules 1 file changed, 2 insertions(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-mgw refs/changes/45/3945/1 diff --git a/debian/rules b/debian/rules index 8976ede..8514f30 100755 --- a/debian/rules +++ b/debian/rules @@ -10,6 +10,8 @@ DEBVERS := $(shell echo '$(DEBIAN)' | cut -d- -f1) VERSION := $(shell echo '$(DEBVERS)' | sed -e 's/[+-].*//' -e 's/~//g') +CFLAGS += -g + # main packaging script based on dh7 syntax %: dh $@ --with autoreconf -- To view, visit https://gerrit.osmocom.org/3945 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I2428b922298c312c6071f51f23d7fd5939e5af91 Gerrit-PatchSet: 1 Gerrit-Project: osmo-mgw Gerrit-Branch: master Gerrit-Owner: lynxis lazus <lyn...@fe80.eu>
[PATCH] osmo-mgw[master]: debian: .install: split mgcp-client out of legacy-mgcp
Review at https://gerrit.osmocom.org/3944 debian: .install: split mgcp-client out of legacy-mgcp Change-Id: I681e9a1299607ff3a30de34c043da499c471bc31 --- M debian/libosmo-legacy-mgcp-dev.install M debian/libosmo-legacy-mgcp0.install A debian/libosmo-mgcp-client-dev.install A debian/libosmo-mgcp-client1.install 4 files changed, 10 insertions(+), 4 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-mgw refs/changes/44/3944/1 diff --git a/debian/libosmo-legacy-mgcp-dev.install b/debian/libosmo-legacy-mgcp-dev.install index 5bd9dd0..4184fef 100644 --- a/debian/libosmo-legacy-mgcp-dev.install +++ b/debian/libosmo-legacy-mgcp-dev.install @@ -1,3 +1,4 @@ -usr/include -usr/lib/*/*.so -usr/lib/*/pkgconfig/*.pc +usr/include/osmocom/legacy_mgcp +usr/lib/*/*legacy-mgcp*.so +usr/lib/*/*legacy-mgcp*.a +usr/lib/*/pkgconfig/*legacy-mgcp*.pc diff --git a/debian/libosmo-legacy-mgcp0.install b/debian/libosmo-legacy-mgcp0.install index 3de3b10..a47cc34 100644 --- a/debian/libosmo-legacy-mgcp0.install +++ b/debian/libosmo-legacy-mgcp0.install @@ -1 +1 @@ -usr/lib/*/*.so.* +usr/lib/*/*legacy-mgcp*.so.* diff --git a/debian/libosmo-mgcp-client-dev.install b/debian/libosmo-mgcp-client-dev.install new file mode 100644 index 000..c12a86a --- /dev/null +++ b/debian/libosmo-mgcp-client-dev.install @@ -0,0 +1,4 @@ +usr/include/osmocom/mgcp_client +usr/lib/*/libosmo-mgcp-client.so +usr/lib/*/libosmo-mgcp-client.a +usr/lib/*/pkgconfig/libosmo-mgcp-client.pc diff --git a/debian/libosmo-mgcp-client1.install b/debian/libosmo-mgcp-client1.install new file mode 100644 index 000..4fc8bc6 --- /dev/null +++ b/debian/libosmo-mgcp-client1.install @@ -0,0 +1 @@ +usr/lib/*/*mgcp-client*.so.* -- To view, visit https://gerrit.osmocom.org/3944 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I681e9a1299607ff3a30de34c043da499c471bc31 Gerrit-PatchSet: 1 Gerrit-Project: osmo-mgw Gerrit-Branch: master Gerrit-Owner: lynxis lazus <lyn...@fe80.eu>
[PATCH] osmo-mgw[master]: debian: use new dbgsym package instead of old dbg packages.
Review at https://gerrit.osmocom.org/3946 debian: use new dbgsym package instead of old dbg packages. The new dbgsym packages gets created automatic without taken care of them. Change-Id: I4113c10d7698232217071becddd997fad918ca36 --- M debian/control M debian/rules 2 files changed, 0 insertions(+), 25 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-mgw refs/changes/46/3946/1 diff --git a/debian/control b/debian/control index 262ba69..2dfeb09 100644 --- a/debian/control +++ b/debian/control @@ -19,26 +19,12 @@ Depends: libosmo-legacy-mgcp0, ${misc:Depends}, ${shlibs:Depends} Description: OsmoMGW: Osmocom's Media Gateway for 2G and 3G circuit-switched mobile networks -Package: osmo-mgw-dbg -Section: debug -Architecture: any -Multi-Arch: same -Depends: osmo-mgw (= ${binary:Version}), ${misc:Depends} -Description: OsmoMGW: Osmocom's Media Gateway for 2G and 3G circuit-switched mobile networks - Package: libosmo-legacy-mgcp0 Section: libs Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${misc:Depends}, ${shlibs:Depends} -Description: libosmo-legacy-mgcp: Osmocom's Media Gateway server library - -Package: libosmo-legacy-mgcp-dbg -Section: debug -Architecture: any -Multi-Arch: same -Depends: libosmo-legacy-mgcp0 (= ${binary:Version}), ${misc:Depends} Description: libosmo-legacy-mgcp: Osmocom's Media Gateway server library Package: libosmo-legacy-mgcp-dev @@ -54,13 +40,6 @@ Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${misc:Depends}, ${shlibs:Depends} -Description: libosmo-mgcp-client: Osmocom's Media Gateway Control Protocol client utilities - -Package: libosmo-mgcp-client-dbg -Section: debug -Architecture: any -Multi-Arch: same -Depends: libosmo-mgcp-client1 (= ${binary:Version}), ${misc:Depends} Description: libosmo-mgcp-client: Osmocom's Media Gateway Control Protocol client utilities Package: libosmo-mgcp-client-dev diff --git a/debian/rules b/debian/rules index 8514f30..d089345 100755 --- a/debian/rules +++ b/debian/rules @@ -31,7 +31,3 @@ dh_autoreconf # See https://www.debian.org/doc/manuals/developers-reference/best-pkging-practices.html#bpp-dbg -override_dh_strip: - dh_strip --dbg-package=osmo-mgw-dbg - dh_strip --dbg-package=libosmo-legacy-mgcp-dbg - dh_strip --dbg-package=libosmo-mgcp-client-dbg -- To view, visit https://gerrit.osmocom.org/3946 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I4113c10d7698232217071becddd997fad918ca36 Gerrit-PatchSet: 1 Gerrit-Project: osmo-mgw Gerrit-Branch: master Gerrit-Owner: lynxis lazus <lyn...@fe80.eu>
[PATCH] osmo-mgw[master]: debian: rename libosmo-mgcp-client0 -> libosmo-mgcp-client1
Review at https://gerrit.osmocom.org/3943 debian: rename libosmo-mgcp-client0 -> libosmo-mgcp-client1 The numeral is describing the library major version. libosmo-mgcp-client has version 1.0.0 Change-Id: I66394109f909cfe0385d4519c14236bc53a10b14 --- M debian/control 1 file changed, 3 insertions(+), 3 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-mgw refs/changes/43/3943/1 diff --git a/debian/control b/debian/control index 6556370..262ba69 100644 --- a/debian/control +++ b/debian/control @@ -48,7 +48,7 @@ Depends: libosmo-legacy-mgcp0 (= ${binary:Version}), ${misc:Depends} Description: libosmo-legacy-mgcp: Osmocom's Media Gateway server library -Package: libosmo-mgcp-client0 +Package: libosmo-mgcp-client1 Section: libs Architecture: any Multi-Arch: same @@ -60,12 +60,12 @@ Section: debug Architecture: any Multi-Arch: same -Depends: libosmo-mgcp-client0 (= ${binary:Version}), ${misc:Depends} +Depends: libosmo-mgcp-client1 (= ${binary:Version}), ${misc:Depends} Description: libosmo-mgcp-client: Osmocom's Media Gateway Control Protocol client utilities Package: libosmo-mgcp-client-dev Section: libdevel Architecture: any Multi-Arch: same -Depends: libosmo-mgcp-client0 (= ${binary:Version}), ${misc:Depends} +Depends: libosmo-mgcp-client1 (= ${binary:Version}), ${misc:Depends} Description: libosmo-mgcp-client: Osmocom's Media Gateway Control Protocol client utilities -- To view, visit https://gerrit.osmocom.org/3943 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I66394109f909cfe0385d4519c14236bc53a10b14 Gerrit-PatchSet: 1 Gerrit-Project: osmo-mgw Gerrit-Branch: master Gerrit-Owner: lynxis lazus <lyn...@fe80.eu>
osmo-msc[master]: debian: fix dependency to mgcp library
Patch Set 1: Code-Review+1 LGTM -- To view, visit https://gerrit.osmocom.org/3941 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: I9c56c218fce2264fe0acae62caed4d9ff4bfb54c Gerrit-PatchSet: 1 Gerrit-Project: osmo-msc Gerrit-Branch: master Gerrit-Owner: Neels Hofmeyr <nhofm...@sysmocom.de> Gerrit-Reviewer: Harald Welte <lafo...@gnumonks.org> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: lynxis lazus <lyn...@fe80.eu> Gerrit-HasComments: No
[PATCH] osmo-sgsn[master]: debian: fix paths of examples
Review at https://gerrit.osmocom.org/3947 debian: fix paths of examples Change-Id: I054e500be9527b1dd0fc0c21cde2b7b2d2fdfbff --- M debian/osmo-gbproxy.install M debian/osmo-gtphub.install M debian/osmo-sgsn.install 3 files changed, 3 insertions(+), 3 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-sgsn refs/changes/47/3947/1 diff --git a/debian/osmo-gbproxy.install b/debian/osmo-gbproxy.install index 62ebe2a..33ec570 100644 --- a/debian/osmo-gbproxy.install +++ b/debian/osmo-gbproxy.install @@ -1,2 +1,2 @@ usr/bin/osmo-gbproxy -usr/share/doc/openbsc/examples/osmo-gbproxy +usr/share/doc/osmo-sgsn/examples/osmo-gbproxy diff --git a/debian/osmo-gtphub.install b/debian/osmo-gtphub.install index 8a5dafd..fb4c095 100644 --- a/debian/osmo-gtphub.install +++ b/debian/osmo-gtphub.install @@ -1,2 +1,2 @@ usr/bin/osmo-gtphub -usr/share/doc/openbsc/examples/osmo-gtphub +usr/share/doc/osmo-sgsn/examples/osmo-gtphub diff --git a/debian/osmo-sgsn.install b/debian/osmo-sgsn.install index a92ae18..bde329a 100644 --- a/debian/osmo-sgsn.install +++ b/debian/osmo-sgsn.install @@ -1,2 +1,2 @@ usr/bin/osmo-sgsn -usr/share/doc/openbsc/examples/osmo-sgsn +usr/share/doc/osmo-sgsn/examples/osmo-sgsn -- To view, visit https://gerrit.osmocom.org/3947 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I054e500be9527b1dd0fc0c21cde2b7b2d2fdfbff Gerrit-PatchSet: 1 Gerrit-Project: osmo-sgsn Gerrit-Branch: master Gerrit-Owner: lynxis lazus <lyn...@fe80.eu>
osmo-pcap[master]: Add gitreview config
Patch Set 1: Code-Review+1 -- To view, visit https://gerrit.osmocom.org/3576 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: I35b3aaa3f8af4127d8a1b00c77ab02ae6a182714 Gerrit-PatchSet: 1 Gerrit-Project: osmo-pcap Gerrit-Branch: master Gerrit-Owner: Max <msur...@sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: lynxis lazus <lyn...@fe80.eu> Gerrit-HasComments: No
osmo-sip-connector[master]: Add git review config
Patch Set 1: Code-Review+1 -- To view, visit https://gerrit.osmocom.org/3690 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: I60f6b29998954b0698e523efaa766f8bb895cdf7 Gerrit-PatchSet: 1 Gerrit-Project: osmo-sip-connector Gerrit-Branch: master Gerrit-Owner: Max <msur...@sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: lynxis lazus <lyn...@fe80.eu> Gerrit-HasComments: No
[PATCH] libosmo-netif[master]: debian/rules: show testsuite.log when tests are failing
Review at https://gerrit.osmocom.org/4215 debian/rules: show testsuite.log when tests are failing Change-Id: I3af7b50e3d3e0ba3eddace0e6d4e58c6cb98b9aa --- M debian/rules 1 file changed, 3 insertions(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/libosmo-netif refs/changes/15/4215/1 diff --git a/debian/rules b/debian/rules index ce5c618..f0e00c5 100755 --- a/debian/rules +++ b/debian/rules @@ -26,3 +26,6 @@ override_dh_clean: dh_clean rm -f tests/package.m4 tests/testsuite .version .tarball-version + +override_dh_auto_test: + dh_auto_test || (find . -name testsuite.log -exec cat {} \; ; false) -- To view, visit https://gerrit.osmocom.org/4215 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I3af7b50e3d3e0ba3eddace0e6d4e58c6cb98b9aa Gerrit-PatchSet: 1 Gerrit-Project: libosmo-netif Gerrit-Branch: master Gerrit-Owner: lynxis lazus <lyn...@fe80.eu>
[PATCH] libosmo-abis[master]: debian/rules: show testsuite.log when tests are failing
Review at https://gerrit.osmocom.org/4214 debian/rules: show testsuite.log when tests are failing Change-Id: Ic3322e3931612f2153797331b02f2789490e5e2b --- M debian/rules 1 file changed, 3 insertions(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/libosmo-abis refs/changes/14/4214/1 diff --git a/debian/rules b/debian/rules index cec3c9f..10ba659 100755 --- a/debian/rules +++ b/debian/rules @@ -21,3 +21,6 @@ override_dh_clean: dh_clean rm -f tests/package.m4 tests/testsuite .version .tarball-version + +override_dh_auto_test: + dh_auto_test || (find . -name testsuite.log -exec cat {} \; ; false) -- To view, visit https://gerrit.osmocom.org/4214 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ic3322e3931612f2153797331b02f2789490e5e2b Gerrit-PatchSet: 1 Gerrit-Project: libosmo-abis Gerrit-Branch: master Gerrit-Owner: lynxis lazus <lyn...@fe80.eu>
[PATCH] libosmo-abis[master]: unixsocket: fix a potential string overflow
Review at https://gerrit.osmocom.org/4213 unixsocket: fix a potential string overflow Change-Id: I8e3ec741247d728232f8c07c94eb63f068597d80 Found-by: coverity --- M src/input/unixsocket.c 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.osmocom.org:29418/libosmo-abis refs/changes/13/4213/1 diff --git a/src/input/unixsocket.c b/src/input/unixsocket.c index 63bd796..06841d3 100644 --- a/src/input/unixsocket.c +++ b/src/input/unixsocket.c @@ -232,7 +232,7 @@ int i; if (line->sock_path) - strcpy(sock_path, line->sock_path); + strncpy(sock_path, line->sock_path, PATH_MAX - 1); else sprintf(sock_path, "%s%d", UNIXSOCKET_SOCK_PATH_DEFAULT, line->num); -- To view, visit https://gerrit.osmocom.org/4213 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I8e3ec741247d728232f8c07c94eb63f068597d80 Gerrit-PatchSet: 1 Gerrit-Project: libosmo-abis Gerrit-Branch: master Gerrit-Owner: lynxis lazus <lyn...@fe80.eu>
[PATCH] osmo-msc[master]: debian/rules: show testsuite.log when tests are failing
Review at https://gerrit.osmocom.org/4220 debian/rules: show testsuite.log when tests are failing Change-Id: I588ed7c7766a2e71284c9c7a3f3ce5a48561fe7f --- M debian/rules 1 file changed, 4 insertions(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-msc refs/changes/20/4220/1 diff --git a/debian/rules b/debian/rules index 3500fbb..277d7a4 100755 --- a/debian/rules +++ b/debian/rules @@ -57,3 +57,7 @@ # See https://www.debian.org/doc/manuals/developers-reference/best-pkging-practices.html#bpp-dbg override_dh_strip: dh_strip --dbg-package=osmo-msc-dbg + +# Print test results in case of a failure +override_dh_auto_test: + dh_auto_test || (find . -name testsuite.log -exec cat {} \; ; false) -- To view, visit https://gerrit.osmocom.org/4220 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I588ed7c7766a2e71284c9c7a3f3ce5a48561fe7f Gerrit-PatchSet: 1 Gerrit-Project: osmo-msc Gerrit-Branch: master Gerrit-Owner: lynxis lazus <lyn...@fe80.eu>
[PATCH] osmo-sgsn[master]: debian/rules: show testsuite.log when tests are failing
Review at https://gerrit.osmocom.org/4221 debian/rules: show testsuite.log when tests are failing Change-Id: I4cc6589d4ce95538baf3f30079a3af53cc218268 --- M debian/rules 1 file changed, 4 insertions(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-sgsn refs/changes/21/4221/1 diff --git a/debian/rules b/debian/rules index 4fe1f46..dbe582b 100755 --- a/debian/rules +++ b/debian/rules @@ -59,3 +59,7 @@ dh_strip --dbg-package=osmo-sgsn-dbg dh_strip --dbg-package=osmo-gtphub-dbg dh_strip --dbg-package=osmo-gbproxy-dbg + +# Print test results in case of a failure +override_dh_auto_test: + dh_auto_test || (find . -name testsuite.log -exec cat {} \; ; false) -- To view, visit https://gerrit.osmocom.org/4221 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I4cc6589d4ce95538baf3f30079a3af53cc218268 Gerrit-PatchSet: 1 Gerrit-Project: osmo-sgsn Gerrit-Branch: master Gerrit-Owner: lynxis lazus <lyn...@fe80.eu>
[PATCH] osmo-iuh[master]: debian/rules: show testsuite.log when tests are failing
Review at https://gerrit.osmocom.org/4219 debian/rules: show testsuite.log when tests are failing Change-Id: Ice1c9f51225cef335626d5689ffb306395d7e2b6 --- M debian/rules 1 file changed, 4 insertions(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-iuh refs/changes/19/4219/1 diff --git a/debian/rules b/debian/rules index 03432e6..3e2c91f 100755 --- a/debian/rules +++ b/debian/rules @@ -16,3 +16,7 @@ override_dh_strip: dh_strip --dbg-package=libosmo-ranap-dbg dh_strip --dbg-package=osmo-hnbgw + +# Print test results in case of a failure +override_dh_auto_test: + dh_auto_test || (find . -name testsuite.log -exec cat {} \; ; false) -- To view, visit https://gerrit.osmocom.org/4219 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ice1c9f51225cef335626d5689ffb306395d7e2b6 Gerrit-PatchSet: 1 Gerrit-Project: osmo-iuh Gerrit-Branch: master Gerrit-Owner: lynxis lazus <lyn...@fe80.eu>
[PATCH] osmo-hlr[master]: debian/rules: show testsuite.log when tests are failing
Review at https://gerrit.osmocom.org/4218 debian/rules: show testsuite.log when tests are failing Change-Id: If0b10c02f87ed81878593198e21da1fc9f8d4bbc --- M debian/rules 1 file changed, 4 insertions(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-hlr refs/changes/18/4218/1 diff --git a/debian/rules b/debian/rules index d0ad702..1d8d8ab 100755 --- a/debian/rules +++ b/debian/rules @@ -11,3 +11,7 @@ override_dh_strip: dh_strip --dbg-package=osmo-hlr-dbg + +# Print test results in case of a failure +override_dh_auto_test: + dh_auto_test || (find . -name testsuite.log -exec cat {} \; ; false) -- To view, visit https://gerrit.osmocom.org/4218 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: If0b10c02f87ed81878593198e21da1fc9f8d4bbc Gerrit-PatchSet: 1 Gerrit-Project: osmo-hlr Gerrit-Branch: master Gerrit-Owner: lynxis lazus <lyn...@fe80.eu>
[PATCH] osmo-bsc[master]: debian/rules: show testsuite.log when tests are failing
Review at https://gerrit.osmocom.org/4217 debian/rules: show testsuite.log when tests are failing Change-Id: I373b26c9d5eb32b1155e6405c6305ac870061887 --- M debian/rules 1 file changed, 4 insertions(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/17/4217/1 diff --git a/debian/rules b/debian/rules index 7fe538a..fa93cf5 100755 --- a/debian/rules +++ b/debian/rules @@ -54,3 +54,7 @@ # See https://www.debian.org/doc/manuals/developers-reference/best-pkging-practices.html#bpp-dbg override_dh_strip: dh_strip --dbg-package=osmo-bsc-dbg + +# Print test results in case of a failure +override_dh_auto_test: + dh_auto_test || (find . -name testsuite.log -exec cat {} \; ; false) -- To view, visit https://gerrit.osmocom.org/4217 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I373b26c9d5eb32b1155e6405c6305ac870061887 Gerrit-PatchSet: 1 Gerrit-Project: osmo-bsc Gerrit-Branch: master Gerrit-Owner: lynxis lazus <lyn...@fe80.eu>
[PATCH] libsmpp34[master]: debian/rules: show testsuite.log when tests are failing
Review at https://gerrit.osmocom.org/4216 debian/rules: show testsuite.log when tests are failing Change-Id: If2d8576c5b15fe86419d1c21741f82d4d705bd60 --- M debian/rules 1 file changed, 4 insertions(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/libsmpp34 refs/changes/16/4216/1 diff --git a/debian/rules b/debian/rules index bedd9e0..4f472a7 100755 --- a/debian/rules +++ b/debian/rules @@ -17,3 +17,7 @@ override_dh_autoreconf: echo $(VERSION) > .tarball-version dh_autoreconf + +# Print test results in case of a failure +override_dh_auto_test: + dh_auto_test || (find . -name testsuite.log -exec cat {} \; ; false) -- To view, visit https://gerrit.osmocom.org/4216 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: If2d8576c5b15fe86419d1c21741f82d4d705bd60 Gerrit-PatchSet: 1 Gerrit-Project: libsmpp34 Gerrit-Branch: master Gerrit-Owner: lynxis lazus <lyn...@fe80.eu>
[PATCH] osmo-mgw[master]: debian/rules: show testsuite.log files when tests are failing
Review at https://gerrit.osmocom.org/4212 debian/rules: show testsuite.log files when tests are failing Change-Id: I11aca905350b2e3464fb526ec4d3ae6ffcf55114 --- M debian/rules 1 file changed, 3 insertions(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-mgw refs/changes/12/4212/1 diff --git a/debian/rules b/debian/rules index d089345..ae85e13 100755 --- a/debian/rules +++ b/debian/rules @@ -26,6 +26,9 @@ #override_dh_install: # dh_install --list-missing -X.la -X.pyc -X.pyo +override_dh_auto_test: + dh_auto_test || (find . -name testsuite.log -exec cat {} \; ; false) + override_dh_autoreconf: echo $(VERSION) > .tarball-version dh_autoreconf -- To view, visit https://gerrit.osmocom.org/4212 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I11aca905350b2e3464fb526ec4d3ae6ffcf55114 Gerrit-PatchSet: 1 Gerrit-Project: osmo-mgw Gerrit-Branch: master Gerrit-Owner: lynxis lazus <lyn...@fe80.eu>
[PATCH] osmo-sgsn[master]: .gitignore: remove unneeded ignores of bsc/msc/nitb files
Review at https://gerrit.osmocom.org/4841 .gitignore: remove unneeded ignores of bsc/msc/nitb files sgsn was splitted out of the openbsc repository Change-Id: I66905432c411291630f66579fa4177936c8f2bcf --- M .gitignore 1 file changed, 0 insertions(+), 21 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-sgsn refs/changes/41/4841/1 diff --git a/.gitignore b/.gitignore index a9e6b84..b8c841f 100644 --- a/.gitignore +++ b/.gitignore @@ -7,10 +7,6 @@ Makefile.in bscconfig.h bscconfig.h.in -openbsc.pc -src/osmo-nitb/osmo-nitb -src/osmo-bsc_mgcp/osmo-bsc_mgcp -src/osmo-bsc/osmo-bsc src/utils/meas_vis src/utils/meas_json src/utils/osmo-meas-pcap2db @@ -45,30 +41,14 @@ # apps and app data -hlr.sqlite3 -src/utils/bs11_config -src/ipaccess/ipaccess-config -src/ipaccess/abisip-find -src/ipaccess/ipaccess-firmware -src/ipaccess/ipaccess-proxy -src/utils/isdnsync -src/nat/bsc_nat src/gprs/osmo-sgsn src/gprs/osmo-gbproxy src/gprs/osmo-gtphub -src/osmo-bsc_nat/osmo-bsc_nat src/libcommon/gsup_test_client -src/osmo-msc/osmo-msc #tests tests/testsuite.dir tests/*/*_test -# ignore compiled binaries like msc_vlr_test_foo; do not ignore -# msc_vlr_test_foo.{c,ok,err}, but do still ignore the corresponding .o object -# files: -tests/msc_vlr/msc_vlr_test_* -!tests/msc_vlr/msc_vlr_test_*.* -tests/msc_vlr/msc_vlr_test_*.o tests/atconfig @@ -78,6 +58,5 @@ tests/testsuite.log gsn_restart -src/openbsc.cfg* writtenconfig/ gtphub_restart_count -- To view, visit https://gerrit.osmocom.org/4841 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I66905432c411291630f66579fa4177936c8f2bcf Gerrit-PatchSet: 1 Gerrit-Project: osmo-sgsn Gerrit-Branch: master Gerrit-Owner: lynxis lazus <lyn...@fe80.eu>
[PATCH] osmo-sgsn[master]: tests/ctrl_test_runner.py: remove BSC/NAT TestRunner
self.assertEquals(r['value'], None) - -def add_bsc_test(suite, workdir): -if not os.path.isfile(os.path.join(workdir, "src/osmo-bsc/osmo-bsc")): -print("Skipping the BSC test") -return -test = unittest.TestLoader().loadTestsFromTestCase(TestCtrlBSC) -suite.addTest(test) - -def add_nat_test(suite, workdir): -if not os.path.isfile(os.path.join(workdir, "src/osmo-bsc_nat/osmo-bsc_nat")): -print("Skipping the NAT test") -return -test = unittest.TestLoader().loadTestsFromTestCase(TestCtrlNAT) -suite.addTest(test) def add_sgsn_test(suite, workdir): if not os.path.isfile(os.path.join(workdir, "src/gprs/osmo-sgsn")): @@ -568,8 +199,6 @@ os.chdir(workdir) print "Running tests for specific control commands" suite = unittest.TestSuite() -add_bsc_test(suite, workdir) -add_nat_test(suite, workdir) add_sgsn_test(suite, workdir) res = unittest.TextTestRunner(verbosity=verbose_level).run(suite) sys.exit(len(res.errors) + len(res.failures)) -- To view, visit https://gerrit.osmocom.org/4842 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ie4e44e49e5c904929869b47fc4d608aab1aab75e Gerrit-PatchSet: 1 Gerrit-Project: osmo-sgsn Gerrit-Branch: master Gerrit-Owner: lynxis lazus <lyn...@fe80.eu>
[PATCH] osmo-sgsn[master]: debian: remove doublicated project name in example files
Review at https://gerrit.osmocom.org/4843 debian: remove doublicated project name in example files For example: /usr/share/doc/osmo-sgsn/examples/osmo-sgsn/osmo-sgsn.cfg -> /usr/share/doc/osmo-sgsn/examples/osmo-sgsn.cfg Change-Id: I77f9665e78e3e55910efb30cb50cefdb138e19f7 --- M debian/osmo-gbproxy.install M debian/osmo-gtphub.install M debian/osmo-sgsn.install 3 files changed, 6 insertions(+), 3 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-sgsn refs/changes/43/4843/1 diff --git a/debian/osmo-gbproxy.install b/debian/osmo-gbproxy.install index 33ec570..8272551 100644 --- a/debian/osmo-gbproxy.install +++ b/debian/osmo-gbproxy.install @@ -1,2 +1,3 @@ usr/bin/osmo-gbproxy -usr/share/doc/osmo-sgsn/examples/osmo-gbproxy +usr/share/doc/osmo-sgsn/examples/osmo-gbproxy/osmo-gbproxy-legacy.cfg usr/share/doc/osmo-gbproxy/examples +usr/share/doc/osmo-sgsn/examples/osmo-gbproxy/osmo-gbproxy.cfg usr/share/doc/osmo-gbproxy/examples diff --git a/debian/osmo-gtphub.install b/debian/osmo-gtphub.install index fb4c095..ed0bd1b 100644 --- a/debian/osmo-gtphub.install +++ b/debian/osmo-gtphub.install @@ -1,2 +1,3 @@ usr/bin/osmo-gtphub -usr/share/doc/osmo-sgsn/examples/osmo-gtphub +usr/share/doc/osmo-sgsn/examples/osmo-gtphub/osmo-gtphub-1iface.cfg usr/share/doc/osmo-gtphub/examples +usr/share/doc/osmo-sgsn/examples/osmo-gtphub/osmo-gtphub.cfg usr/share/doc/osmo-gtphub/examples diff --git a/debian/osmo-sgsn.install b/debian/osmo-sgsn.install index bde329a..9390deb 100644 --- a/debian/osmo-sgsn.install +++ b/debian/osmo-sgsn.install @@ -1,2 +1,3 @@ usr/bin/osmo-sgsn -usr/share/doc/osmo-sgsn/examples/osmo-sgsn +usr/share/doc/osmo-sgsn/examples/osmo-sgsn/osmo-sgsn.cfg usr/share/doc/osmo-sgsn/examples +usr/share/doc/osmo-sgsn/examples/osmo-sgsn/osmo-sgsn-accept-all.cfg usr/share/doc/osmo-sgsn/examples -- To view, visit https://gerrit.osmocom.org/4843 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I77f9665e78e3e55910efb30cb50cefdb138e19f7 Gerrit-PatchSet: 1 Gerrit-Project: osmo-sgsn Gerrit-Branch: master Gerrit-Owner: lynxis lazus <lyn...@fe80.eu>
[PATCH] osmo-mgw[master]: debian/control: correct library dependency of osmo-mgw again...
Review at https://gerrit.osmocom.org/4844 debian/control: correct library dependency of osmo-mgw against libosmo-mgcp1 When the library version was bump, the dependency of osmo-mgw was forgotten. Change-Id: I3eeafa3c294d9ec71a72fb2833fe3b2bdef05a50 Fixes: e7d27aeae10b ("Tag/Release Version 1.2.0") --- M debian/control 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.osmocom.org:29418/osmo-mgw refs/changes/44/4844/1 diff --git a/debian/control b/debian/control index 11fa685..e96115f 100644 --- a/debian/control +++ b/debian/control @@ -16,7 +16,7 @@ Package: osmo-mgw Architecture: any Multi-Arch: foreign -Depends: libosmo-mgcp0, ${misc:Depends}, ${shlibs:Depends} +Depends: libosmo-mgcp1, ${misc:Depends}, ${shlibs:Depends} Description: OsmoMGW: Osmocom's Media Gateway for 2G and 3G circuit-switched mobile networks Package: libosmo-mgcp1 -- To view, visit https://gerrit.osmocom.org/4844 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I3eeafa3c294d9ec71a72fb2833fe3b2bdef05a50 Gerrit-PatchSet: 1 Gerrit-Project: osmo-mgw Gerrit-Branch: master Gerrit-Owner: lynxis lazus <lyn...@fe80.eu>
[PATCH] osmo-msc[master]: debian/rules: remove doublicated project name in example files
Review at https://gerrit.osmocom.org/4846 debian/rules: remove doublicated project name in example files For example: /usr/share/doc/osmo-msc/examples/osmo-msc/osmo-msc.cfg -> /usr/share/doc/osmo-msc/examples/osmo-msc.cfg Change-Id: I702cd963d5c3a2f4085ebce5e0dfa1a8a27ea89f --- M debian/osmo-msc.install 1 file changed, 3 insertions(+), 1 deletion(-) git pull ssh://gerrit.osmocom.org:29418/osmo-msc refs/changes/46/4846/1 diff --git a/debian/osmo-msc.install b/debian/osmo-msc.install index b3d1a55..6b84b8f 100644 --- a/debian/osmo-msc.install +++ b/debian/osmo-msc.install @@ -1,2 +1,4 @@ usr/bin/osmo-msc -usr/share/doc/osmo-msc/examples/osmo-msc +usr/share/doc/osmo-msc/examples/osmo-msc/osmo-msc.cfg usr/share/doc/osmo-msc/examples +usr/share/doc/osmo-msc/examples/osmo-msc/osmo-msc_custom-sccp.cfg usr/share/doc/osmo-msc/examples +usr/share/doc/osmo-msc/examples/osmo-msc/osmo-msc_multi-cs7.cfg usr/share/doc/osmo-msc/examples -- To view, visit https://gerrit.osmocom.org/4846 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I702cd963d5c3a2f4085ebce5e0dfa1a8a27ea89f Gerrit-PatchSet: 1 Gerrit-Project: osmo-msc Gerrit-Branch: master Gerrit-Owner: lynxis lazus <lyn...@fe80.eu>
[PATCH] osmo-bsc[master]: debian: remove doublicated project name in example files
Review at https://gerrit.osmocom.org/4845 debian: remove doublicated project name in example files For example: /usr/share/doc/osmo-bsc/examples/osmo-bsc/osmo-bsc.cfg -> usr/share/doc/osmo-bsc/examples/osmo-bsc.cfg Change-Id: I8a9f45e72dd966ca3913b5483ff78039a3e472ea --- M debian/osmo-bsc.install 1 file changed, 2 insertions(+), 1 deletion(-) git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/45/4845/1 diff --git a/debian/osmo-bsc.install b/debian/osmo-bsc.install index a7800c9..9a2bc3f 100644 --- a/debian/osmo-bsc.install +++ b/debian/osmo-bsc.install @@ -1,3 +1,4 @@ usr/bin/osmo-bsc usr/bin/abisip-find -usr/share/doc/osmo-bsc/examples/osmo-bsc +usr/share/doc/osmo-bsc/examples/osmo-bsc/osmo-bsc_custom-sccp.cfg usr/share/doc/osmo-bsc/examples +usr/share/doc/osmo-bsc/examples/osmo-bsc/osmo-bsc.cfg usr/share/doc/osmo-bsc/examples -- To view, visit https://gerrit.osmocom.org/4845 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I8a9f45e72dd966ca3913b5483ff78039a3e472ea Gerrit-PatchSet: 1 Gerrit-Project: osmo-bsc Gerrit-Branch: master Gerrit-Owner: lynxis lazus <lyn...@fe80.eu>
[PATCH] osmo-hlr[master]: debian: include systemd service osmo-hlr.service
Review at https://gerrit.osmocom.org/4847 debian: include systemd service osmo-hlr.service Change-Id: I6d9fd34aa42b911f074557b526adde05e03d58b9 --- A debian/osmo-hlr.service 1 file changed, 1 insertion(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-hlr refs/changes/47/4847/1 diff --git a/debian/osmo-hlr.service b/debian/osmo-hlr.service new file mode 12 index 000..184f5aa --- /dev/null +++ b/debian/osmo-hlr.service @@ -0,0 +1 @@ +../contrib/systemd/osmo-hlr.service \ No newline at end of file -- To view, visit https://gerrit.osmocom.org/4847 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I6d9fd34aa42b911f074557b526adde05e03d58b9 Gerrit-PatchSet: 1 Gerrit-Project: osmo-hlr Gerrit-Branch: master Gerrit-Owner: lynxis lazus <lyn...@fe80.eu>
[PATCH] osmo-ci[master]: osmocom-nightly/latest: document which debian packages are r...
Review at https://gerrit.osmocom.org/5181 osmocom-nightly/latest: document which debian packages are required Change-Id: If127d0e852ea8e321461d6aa709621167a0a8ecb --- M scripts/osmocom-latest-packages.sh M scripts/osmocom-nightly-packages.sh 2 files changed, 6 insertions(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/81/5181/1 diff --git a/scripts/osmocom-latest-packages.sh b/scripts/osmocom-latest-packages.sh index d0f64e0..118f310 100755 --- a/scripts/osmocom-latest-packages.sh +++ b/scripts/osmocom-latest-packages.sh @@ -1,5 +1,8 @@ #!/bin/sh +# requirements +# apt install git-buildpackage osc git + set -e # OBS project name diff --git a/scripts/osmocom-nightly-packages.sh b/scripts/osmocom-nightly-packages.sh index b4e2335..aa32214 100755 --- a/scripts/osmocom-nightly-packages.sh +++ b/scripts/osmocom-nightly-packages.sh @@ -1,5 +1,8 @@ #!/bin/sh +# requirements +# apt install devscripts git-buildpackage osc git + # rather than including a dangerous 'rm -rf *' here, lets delegate to the user: if [ -n "$(ls)" ]; then echo "ERROR: I need to run in an empty directory." -- To view, visit https://gerrit.osmocom.org/5181 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: If127d0e852ea8e321461d6aa709621167a0a8ecb Gerrit-PatchSet: 1 Gerrit-Project: osmo-ci Gerrit-Branch: master Gerrit-Owner: lynxis lazus <lyn...@fe80.eu>
[PATCH] osmo-ci[master]: osmocom-nightly/latest: check if osc is installed
Review at https://gerrit.osmocom.org/5179 osmocom-nightly/latest: check if osc is installed Change-Id: I10ce91eab415c19bb811fbb2fd617d5ce2b58d41 --- M scripts/osmocom-latest-packages.sh M scripts/osmocom-nightly-packages.sh 2 files changed, 10 insertions(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/79/5179/1 diff --git a/scripts/osmocom-latest-packages.sh b/scripts/osmocom-latest-packages.sh index 6933baa..d0f64e0 100755 --- a/scripts/osmocom-latest-packages.sh +++ b/scripts/osmocom-latest-packages.sh @@ -8,6 +8,11 @@ DT=$(date +%Y%m%d) TOP=$(pwd) +if ! which osc >/dev/null 2>/dev/null ; then + echo "osc binary is not installed" + exit 1 +fi + # start with a checkout of the project if [ -d $PROJ ]; then (cd $PROJ && osc up) diff --git a/scripts/osmocom-nightly-packages.sh b/scripts/osmocom-nightly-packages.sh index 8c7a732..b4e2335 100755 --- a/scripts/osmocom-nightly-packages.sh +++ b/scripts/osmocom-nightly-packages.sh @@ -6,6 +6,11 @@ exit 1 fi +if ! which osc >/dev/null 2>/dev/null ; then + echo "osc binary is not installed" + exit 1 +fi + set -x -e git clone git://git.osmocom.org/osmo-sip-connector -- To view, visit https://gerrit.osmocom.org/5179 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I10ce91eab415c19bb811fbb2fd617d5ce2b58d41 Gerrit-PatchSet: 1 Gerrit-Project: osmo-ci Gerrit-Branch: master Gerrit-Owner: lynxis lazus <lyn...@fe80.eu>
[PATCH] osmo-sgsn[master]: .service: remove OpenBSC from service desription
Review at https://gerrit.osmocom.org/5443 .service: remove OpenBSC from service desription Change-Id: I555939235437a0b3253a1236a918e1f491ed9d3a --- M contrib/systemd/osmo-sgsn.service 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.osmocom.org:29418/osmo-sgsn refs/changes/43/5443/1 diff --git a/contrib/systemd/osmo-sgsn.service b/contrib/systemd/osmo-sgsn.service index bf6a8e0..468c078 100644 --- a/contrib/systemd/osmo-sgsn.service +++ b/contrib/systemd/osmo-sgsn.service @@ -1,5 +1,5 @@ [Unit] -Description=OpenBSC SGSN +Description=OsmoSGSN Wants=osmo-hlr.service After=osmo-hlr.service After=osmo-hnbgw.service -- To view, visit https://gerrit.osmocom.org/5443 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I555939235437a0b3253a1236a918e1f491ed9d3a Gerrit-PatchSet: 1 Gerrit-Project: osmo-sgsn Gerrit-Branch: master Gerrit-Owner: lynxis lazus <lyn...@fe80.eu>
[PATCH] osmo-sgsn[master]: configure.ac: remove unused libcdk check
Review at https://gerrit.osmocom.org/5442 configure.ac: remove unused libcdk check libcdk isn't used Change-Id: Iea2d61b34e9242bf59a1eb242c5cf1d82f625f2e --- M configure.ac 1 file changed, 0 insertions(+), 5 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-sgsn refs/changes/42/5442/1 diff --git a/configure.ac b/configure.ac index 225a534..8f279fd 100644 --- a/configure.ac +++ b/configure.ac @@ -80,11 +80,6 @@ dnl checks for header files AC_HEADER_STDC -found_cdk=yes -AC_CHECK_HEADERS(cdk/cdk.h,,found_cdk=no) -AM_CONDITIONAL(HAVE_LIBCDK, test "$found_cdk" = yes) - - dnl Checks for typedefs, structures and compiler characteristics AC_ARG_ENABLE(sanitize, -- To view, visit https://gerrit.osmocom.org/5442 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Iea2d61b34e9242bf59a1eb242c5cf1d82f625f2e Gerrit-PatchSet: 1 Gerrit-Project: osmo-sgsn Gerrit-Branch: master Gerrit-Owner: lynxis lazus <lyn...@fe80.eu>
[PATCH] osmo-sgsn[master]: .gitignore: remove non-existent /src/utils exludes
Review at https://gerrit.osmocom.org/5440 .gitignore: remove non-existent /src/utils exludes Change-Id: I674da025df4b5d6bcf585a0c764ff186c9281121 --- M .gitignore 1 file changed, 0 insertions(+), 5 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-sgsn refs/changes/40/5440/1 diff --git a/.gitignore b/.gitignore index b8c841f..5f6aee2 100644 --- a/.gitignore +++ b/.gitignore @@ -7,11 +7,6 @@ Makefile.in bscconfig.h bscconfig.h.in -src/utils/meas_vis -src/utils/meas_json -src/utils/osmo-meas-pcap2db -src/utils/osmo-meas-udp2db -src/utils/smpp_mirror *.*~ *.sw? .libs -- To view, visit https://gerrit.osmocom.org/5440 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I674da025df4b5d6bcf585a0c764ff186c9281121 Gerrit-PatchSet: 1 Gerrit-Project: osmo-sgsn Gerrit-Branch: master Gerrit-Owner: lynxis lazus <lyn...@fe80.eu>
[PATCH] osmo-sgsn[master]: configure.ac: remove pcap check
Review at https://gerrit.osmocom.org/5441 configure.ac: remove pcap check libpcap isn't used in osmo-sgsn Change-Id: I47880dba1f6855f31b5b6481eeb1027abc2a2671 --- M configure.ac 1 file changed, 0 insertions(+), 4 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-sgsn refs/changes/41/5441/1 diff --git a/configure.ac b/configure.ac index a1dbce5..225a534 100644 --- a/configure.ac +++ b/configure.ac @@ -80,10 +80,6 @@ dnl checks for header files AC_HEADER_STDC -found_pcap=yes -AC_CHECK_HEADERS(pcap/pcap.h,,found_pcap=no) -AM_CONDITIONAL(HAVE_PCAP, test "$found_pcap" = yes) - found_cdk=yes AC_CHECK_HEADERS(cdk/cdk.h,,found_cdk=no) AM_CONDITIONAL(HAVE_LIBCDK, test "$found_cdk" = yes) -- To view, visit https://gerrit.osmocom.org/5441 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I47880dba1f6855f31b5b6481eeb1027abc2a2671 Gerrit-PatchSet: 1 Gerrit-Project: osmo-sgsn Gerrit-Branch: master Gerrit-Owner: lynxis lazus <lyn...@fe80.eu>
[PATCH] libosmo-abis[master]: unixsocket: fix a potential string overflow
Hello Harald Welte, Jenkins Builder, I'd like you to reexamine a change. Please visit https://gerrit.osmocom.org/4213 to look at the new patch set (#2). unixsocket: fix a potential string overflow Change-Id: I8e3ec741247d728232f8c07c94eb63f068597d80 Found-by: coverity --- M src/input/unixsocket.c 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.osmocom.org:29418/libosmo-abis refs/changes/13/4213/2 diff --git a/src/input/unixsocket.c b/src/input/unixsocket.c index 03e2909..c49928d 100644 --- a/src/input/unixsocket.c +++ b/src/input/unixsocket.c @@ -233,7 +233,7 @@ int i; if (line->sock_path) - strcpy(sock_path, line->sock_path); + osmo_strlcpy(sock_path, line->sock_path, PATH_MAX); else sprintf(sock_path, "%s%d", UNIXSOCKET_SOCK_PATH_DEFAULT, line->num); -- To view, visit https://gerrit.osmocom.org/4213 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newpatchset Gerrit-Change-Id: I8e3ec741247d728232f8c07c94eb63f068597d80 Gerrit-PatchSet: 2 Gerrit-Project: libosmo-abis Gerrit-Branch: master Gerrit-Owner: lynxis lazus <lyn...@fe80.eu> Gerrit-Reviewer: Harald Welte <lafo...@gnumonks.org> Gerrit-Reviewer: Jenkins Builder
[ABANDON] openbsc[master]: openbsc: use _NUM_CHREQ_T to define the size of ctype_by_chreq
lynxis lazus has abandoned this change. Change subject: openbsc: use _NUM_CHREQ_T to define the size of ctype_by_chreq .. Abandoned moved to projecty osmo-bsc -- To view, visit https://gerrit.osmocom.org/2054 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: abandon Gerrit-Change-Id: I2acab2af8d67bccb2bc495512c1f259ae649a832 Gerrit-PatchSet: 2 Gerrit-Project: openbsc Gerrit-Branch: master Gerrit-Owner: lynxis lazus <lyn...@fe80.eu> Gerrit-Reviewer: Harald Welte <lafo...@gnumonks.org> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: lynxis lazus <lyn...@fe80.eu>
[PATCH] osmo-bsc[master]: use _NUM_CHREQ_T to define the size of ctype_by_chreq
Review at https://gerrit.osmocom.org/4947 use _NUM_CHREQ_T to define the size of ctype_by_chreq Make it future compatible for changes. Otherwise it will break when additional enums are adding to chreq in libosmocore. Depends on libosmocore Id67ba8de89dd6288e449197438e9e1c5d7f5a134 Change-Id: I2acab2af8d67bccb2bc495512c1f259ae649a832 --- M include/osmocom/bsc/gsm_data.h 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/47/4947/1 diff --git a/include/osmocom/bsc/gsm_data.h b/include/osmocom/bsc/gsm_data.h index b9427b8..837a876 100644 --- a/include/osmocom/bsc/gsm_data.h +++ b/include/osmocom/bsc/gsm_data.h @@ -435,7 +435,7 @@ enum rrlp_mode mode; } rrlp; - enum gsm_chan_t ctype_by_chreq[18]; + enum gsm_chan_t ctype_by_chreq[_NUM_CHREQ_T]; /* Use a TCH for handling requests of type paging any */ int pag_any_tch; -- To view, visit https://gerrit.osmocom.org/4947 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I2acab2af8d67bccb2bc495512c1f259ae649a832 Gerrit-PatchSet: 1 Gerrit-Project: osmo-bsc Gerrit-Branch: master Gerrit-Owner: lynxis lazus <lyn...@fe80.eu>
openbsc[master]: openbsc: use _NUM_CHREQ_T to define the size of ctype_by_chreq
Patch Set 2: https://gerrit.osmocom.org/#/c/4947/ -- To view, visit https://gerrit.osmocom.org/2054 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: I2acab2af8d67bccb2bc495512c1f259ae649a832 Gerrit-PatchSet: 2 Gerrit-Project: openbsc Gerrit-Branch: master Gerrit-Owner: lynxis lazus <lyn...@fe80.eu> Gerrit-Reviewer: Harald Welte <lafo...@gnumonks.org> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: lynxis lazus <lyn...@fe80.eu> Gerrit-HasComments: No
[PATCH] osmo-ci[master]: osmocom-latest-packages: set -e: exit on any failure
Review at https://gerrit.osmocom.org/4951 osmocom-latest-packages: set -e: exit on any failure Change-Id: I8dbf32a731d01b6eba933b8af22500c5edd1502d --- M scripts/osmocom-latest-packages.sh 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/51/4951/1 diff --git a/scripts/osmocom-latest-packages.sh b/scripts/osmocom-latest-packages.sh index 2f0152e..ff1bc34 100755 --- a/scripts/osmocom-latest-packages.sh +++ b/scripts/osmocom-latest-packages.sh @@ -1,6 +1,6 @@ #!/bin/sh -#set -e +set -e # OBS project name PROJ=network:osmocom:latest -- To view, visit https://gerrit.osmocom.org/4951 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I8dbf32a731d01b6eba933b8af22500c5edd1502d Gerrit-PatchSet: 1 Gerrit-Project: osmo-ci Gerrit-Branch: master Gerrit-Owner: lynxis lazus <lyn...@fe80.eu>
[PATCH] osmo-ci[master]: osmocom-latest-packages: introduce $TOP dir variable
Review at https://gerrit.osmocom.org/4952 osmocom-latest-packages: introduce $TOP dir variable Using a $TOP variable makes directory paths more clear to understandable. Path now expressed starting from the TOP dir instead of using ../../../foo Change-Id: I7a87532a3232fbcfb5f676588991dbc59a34f739 --- M scripts/osmocom-latest-packages.sh 1 file changed, 8 insertions(+), 6 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/52/4952/1 diff --git a/scripts/osmocom-latest-packages.sh b/scripts/osmocom-latest-packages.sh index ff1bc34..9deae23 100755 --- a/scripts/osmocom-latest-packages.sh +++ b/scripts/osmocom-latest-packages.sh @@ -6,6 +6,7 @@ PROJ=network:osmocom:latest DT=`date +%Y%m%d` +TOP=$(pwd) # start with a checkout of the project if [ -d $PROJ ]; then @@ -17,19 +18,20 @@ build() { echo echo "> Building $1" + cd $TOP rm -rf data [ -d $1 ] || git clone git://git.osmocom.org/$1 cd $1 git fetch VER=`git describe --abbrev=0 --tags --match "*.*.*" origin/master` git checkout -f -B $VER refs/tags/$VER - gbp buildpackage -d -S -uc -us --git-export-dir=$PWD/../data --git-debian-branch=$VER - cd ../$PROJ/$1 + gbp buildpackage -d -S -uc -us --git-export-dir=$TOP/data --git-debian-branch=$VER + cd $TOP/$PROJ/$1 osc rm * || true - mv ../../data/*.dsc . - mv ../../data/*.tar* . + mv $TOP/data/*.dsc . + mv $TOP/data/*.tar* . osc add * - cd ../../ + cd $TOP } PACKAGES=" @@ -58,5 +60,5 @@ build $p done -cd $PROJ +cd $TOP/$PROJ osc ci -m "Latest Tagged versions of $DT" -- To view, visit https://gerrit.osmocom.org/4952 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I7a87532a3232fbcfb5f676588991dbc59a34f739 Gerrit-PatchSet: 1 Gerrit-Project: osmo-ci Gerrit-Branch: master Gerrit-Owner: lynxis lazus <lyn...@fe80.eu>
[PATCH] osmo-msc[master]: libmsc/vty: don't access old bsc rate counters
Review at https://gerrit.osmocom.org/4959 libmsc/vty: don't access old bsc rate counters The BSC rate counters are a leftover from the nitb split. Accessing them would result into a null-pointer exception, because the struct isn't initialized. Change-Id: I8c72ab8bf781d3f9a436eb1a27ac4d13df5e656b --- M src/libmsc/vty_interface_layer3.c 1 file changed, 0 insertions(+), 8 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-msc refs/changes/59/4959/1 diff --git a/src/libmsc/vty_interface_layer3.c b/src/libmsc/vty_interface_layer3.c index 6211d48..02a3600 100644 --- a/src/libmsc/vty_interface_layer3.c +++ b/src/libmsc/vty_interface_layer3.c @@ -659,14 +659,6 @@ net->msc_ctrs->ctr[MSC_CTR_LOC_UPDATE_COMPLETED].current, net->msc_ctrs->ctr[MSC_CTR_LOC_UPDATE_FAILED].current, VTY_NEWLINE); - vty_out(vty, "Handover: %lu attempted, %lu no_channel, %lu timeout, " - "%lu completed, %lu failed%s", - net->bsc_ctrs->ctr[BSC_CTR_HANDOVER_ATTEMPTED].current, - net->bsc_ctrs->ctr[BSC_CTR_HANDOVER_NO_CHANNEL].current, - net->bsc_ctrs->ctr[BSC_CTR_HANDOVER_TIMEOUT].current, - net->bsc_ctrs->ctr[BSC_CTR_HANDOVER_COMPLETED].current, - net->bsc_ctrs->ctr[BSC_CTR_HANDOVER_FAILED].current, - VTY_NEWLINE); vty_out(vty, "SMS MO : %lu submitted, %lu no receiver%s", net->msc_ctrs->ctr[MSC_CTR_SMS_SUBMITTED].current, net->msc_ctrs->ctr[MSC_CTR_SMS_NO_RECEIVER].current, -- To view, visit https://gerrit.osmocom.org/4959 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I8c72ab8bf781d3f9a436eb1a27ac4d13df5e656b Gerrit-PatchSet: 1 Gerrit-Project: osmo-msc Gerrit-Branch: master Gerrit-Owner: lynxis lazus <lyn...@fe80.eu>
[PATCH] osmo-ci[master]: osmocom-latest-packages: only publish source tar balls if a ...
Review at https://gerrit.osmocom.org/4954 osmocom-latest-packages: only publish source tar balls if a new tag was created OBS should only be updated if there is a new tag. Change-Id: Ife10c9819e5971b001c5be9d313781eb3fd19e23 --- M scripts/osmocom-latest-packages.sh 1 file changed, 27 insertions(+), 9 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/54/4954/1 diff --git a/scripts/osmocom-latest-packages.sh b/scripts/osmocom-latest-packages.sh index 23ee3dd..6933baa 100755 --- a/scripts/osmocom-latest-packages.sh +++ b/scripts/osmocom-latest-packages.sh @@ -16,21 +16,36 @@ fi build() { + project=$1 + output=$2 echo - echo "> Building $1" + echo "> Building $project" cd "$TOP" - rm -rf data [ -d "$1" ] || git clone "git://git.osmocom.org/$1" cd "$1" git fetch VER=$(git describe --abbrev=0 --tags --match "*.*.*" origin/master) git checkout -f -B "$VER" "refs/tags/$VER" - gbp buildpackage -d -S -uc -us "--git-export-dir=$TOP/data" "--git-debian-branch=$VER" - cd "$TOP/$PROJ/$1" - osc rm ./* || true - mv $TOP/data/*.dsc . - mv $TOP/data/*.tar* . - osc add ./* + gbp buildpackage -d -S -uc -us "--git-export-dir=$output" "--git-debian-branch=$VER" + + if [ ! -d "$TOP/$PROJ/$1" ] ; then +# creating a new package is different from using old ones +mkdir "$TOP/$PROJ/$1" +mv "$output/"*.dsc "$TOP/$PROJ/$1/" +cd "$TOP/$PROJ" +osc add "$1" + else +cd "$TOP/$PROJ/$1" + +# update OBS only if the filename doesn't match +file=$(cd "$output/" ; ls ./*.dsc) +if [ ! -e "$file" ] ; then + osc rm ./* || true + mv "$output/"*.dsc . + mv "$output/"*.tar* . +osc add ./* + fi + fi cd "$TOP" } @@ -56,8 +71,11 @@ osmo-bsc " +[ -d "$TOP/debsrc" ] && rm -rf "$TOP/debsrc" +mkdir "$TOP/debsrc" + for p in $PACKAGES; do - build "$p" + build "$p" "$TOP/debsrc/$p" done cd "$TOP/$PROJ" -- To view, visit https://gerrit.osmocom.org/4954 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ife10c9819e5971b001c5be9d313781eb3fd19e23 Gerrit-PatchSet: 1 Gerrit-Project: osmo-ci Gerrit-Branch: master Gerrit-Owner: lynxis lazus <lyn...@fe80.eu>
[PATCH] osmo-mgw[master]: debian: include systemd service osmo-mgw.service
Review at https://gerrit.osmocom.org/4850 debian: include systemd service osmo-mgw.service Change-Id: Ic298b836620b3497734aed89b92c4f22a9071f0d --- A debian/osmo-mgw.service 1 file changed, 1 insertion(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-mgw refs/changes/50/4850/1 diff --git a/debian/osmo-mgw.service b/debian/osmo-mgw.service new file mode 12 index 000..1e0664c --- /dev/null +++ b/debian/osmo-mgw.service @@ -0,0 +1 @@ +../contrib/systemd/osmo-mgw.service \ No newline at end of file -- To view, visit https://gerrit.osmocom.org/4850 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ic298b836620b3497734aed89b92c4f22a9071f0d Gerrit-PatchSet: 1 Gerrit-Project: osmo-mgw Gerrit-Branch: master Gerrit-Owner: lynxis lazus <lyn...@fe80.eu>
[PATCH] osmo-hlr[master]: debian: install osmo-hlr.cfg to /etc/osmocom
Review at https://gerrit.osmocom.org/4849 debian: install osmo-hlr.cfg to /etc/osmocom Change-Id: Ifa1094da9b286a17a5c9a1ee300ec13a4a10a9a7 --- M debian/osmo-hlr.install 1 file changed, 1 insertion(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-hlr refs/changes/49/4849/1 diff --git a/debian/osmo-hlr.install b/debian/osmo-hlr.install index 1e3bbc6..062f4fd 100644 --- a/debian/osmo-hlr.install +++ b/debian/osmo-hlr.install @@ -2,3 +2,4 @@ /usr/bin/osmo-hlr-db-tool /usr/share/doc/osmo-hlr/hlr.sql /usr/share/doc/osmo-hlr/examples/osmo-hlr.cfg +/usr/share/doc/osmo-hlr/examples/osmo-hlr.cfg /etc/osmocom/ -- To view, visit https://gerrit.osmocom.org/4849 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ifa1094da9b286a17a5c9a1ee300ec13a4a10a9a7 Gerrit-PatchSet: 1 Gerrit-Project: osmo-hlr Gerrit-Branch: master Gerrit-Owner: lynxis lazus <lyn...@fe80.eu>
[PATCH] osmo-hlr[master]: doc: install example .cfg files to $(docdir)/examples/
Review at https://gerrit.osmocom.org/4848 doc: install example .cfg files to $(docdir)/examples/ Change-Id: I8671ce33b9bf28c89f767dd1b4a1463aeb275158 --- M Makefile.am M configure.ac M debian/osmo-hlr.install A doc/Makefile.am 4 files changed, 25 insertions(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-hlr refs/changes/48/4848/1 diff --git a/Makefile.am b/Makefile.am index 392d80d..f5062a2 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,6 +1,7 @@ AUTOMAKE_OPTIONS = foreign dist-bzip2 SUBDIRS = \ + doc \ src \ sql \ tests \ diff --git a/configure.ac b/configure.ac index 1db32d4..d72a026 100644 --- a/configure.ac +++ b/configure.ac @@ -64,6 +64,7 @@ AC_OUTPUT( Makefile + doc/Makefile src/Makefile sql/Makefile tests/Makefile diff --git a/debian/osmo-hlr.install b/debian/osmo-hlr.install index 0e2a1c4..1e3bbc6 100644 --- a/debian/osmo-hlr.install +++ b/debian/osmo-hlr.install @@ -1,3 +1,4 @@ /usr/bin/osmo-hlr /usr/bin/osmo-hlr-db-tool /usr/share/doc/osmo-hlr/hlr.sql +/usr/share/doc/osmo-hlr/examples/osmo-hlr.cfg diff --git a/doc/Makefile.am b/doc/Makefile.am new file mode 100644 index 000..e0e5380 --- /dev/null +++ b/doc/Makefile.am @@ -0,0 +1,22 @@ +CFG_FILES = find $(srcdir) -name '*.cfg*' | sed -e 's,^$(srcdir),,' + +dist-hook: + for f in $$($(CFG_FILES)); do \ + j="$(distdir)/$$f" && \ + mkdir -p "$$(dirname $$j)" && \ + $(INSTALL_DATA) $(srcdir)/$$f $$j; \ + done + +install-data-hook: + for f in $$($(CFG_FILES)); do \ + j="$(DESTDIR)$(docdir)/$$f" && \ + mkdir -p "$$(dirname $$j)" && \ + $(INSTALL_DATA) $(srcdir)/$$f $$j; \ + done + +uninstall-hook: + @$(PRE_UNINSTALL) + for f in $$($(CFG_FILES)); do \ + j="$(DESTDIR)$(docdir)/$$f" && \ + $(RM) $$j; \ + done -- To view, visit https://gerrit.osmocom.org/4848 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I8671ce33b9bf28c89f767dd1b4a1463aeb275158 Gerrit-PatchSet: 1 Gerrit-Project: osmo-hlr Gerrit-Branch: master Gerrit-Owner: lynxis lazus <lyn...@fe80.eu>
osmo-ci[master]: osmo-deps.sh: Force fetching git tags
Patch Set 1: > I think the --tags can be merged into one line. `git fetch --tags` is already fetching the same as `git fetch` according to the man pages. -- To view, visit https://gerrit.osmocom.org/4718 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: I4bfe4846959c70e435d6792a755a6f2a6f0a932c Gerrit-PatchSet: 1 Gerrit-Project: osmo-ci Gerrit-Branch: master Gerrit-Owner: Pau Espin Pedrol <pes...@sysmocom.de> Gerrit-Reviewer: Harald Welte <lafo...@gnumonks.org> Gerrit-Reviewer: lynxis lazus <lyn...@fe80.eu> Gerrit-HasComments: No
osmo-ci[master]: osmo-deps.sh: Force fetching git tags
Patch Set 1: Code-Review+1 -- To view, visit https://gerrit.osmocom.org/4718 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: I4bfe4846959c70e435d6792a755a6f2a6f0a932c Gerrit-PatchSet: 1 Gerrit-Project: osmo-ci Gerrit-Branch: master Gerrit-Owner: Pau Espin Pedrol <pes...@sysmocom.de> Gerrit-Reviewer: Harald Welte <lafo...@gnumonks.org> Gerrit-Reviewer: lynxis lazus <lyn...@fe80.eu> Gerrit-HasComments: No
osmo-ci[master]: osmo-deps.sh: Force fetching git tags
Patch Set 1: Code-Review-1 I think the --tags can be merged into one line. -- To view, visit https://gerrit.osmocom.org/4718 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: I4bfe4846959c70e435d6792a755a6f2a6f0a932c Gerrit-PatchSet: 1 Gerrit-Project: osmo-ci Gerrit-Branch: master Gerrit-Owner: Pau Espin Pedrol <pes...@sysmocom.de> Gerrit-Reviewer: Harald Welte <lafo...@gnumonks.org> Gerrit-Reviewer: lynxis lazus <lyn...@fe80.eu> Gerrit-HasComments: No
osmo-ci[master]: osmo-deps.sh: Force fetching git tags
Patch Set 1: Code-Review+1 -- To view, visit https://gerrit.osmocom.org/4718 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: I4bfe4846959c70e435d6792a755a6f2a6f0a932c Gerrit-PatchSet: 1 Gerrit-Project: osmo-ci Gerrit-Branch: master Gerrit-Owner: Pau Espin Pedrol <pes...@sysmocom.de> Gerrit-Reviewer: Harald Welte <lafo...@gnumonks.org> Gerrit-Reviewer: Pau Espin Pedrol <pes...@sysmocom.de> Gerrit-Reviewer: lynxis lazus <lyn...@fe80.eu> Gerrit-HasComments: No
osmo-ci[master]: osmocom-nightly/latest: check if osc is installed
Patch Set 1: will update it -- To view, visit https://gerrit.osmocom.org/5179 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: I10ce91eab415c19bb811fbb2fd617d5ce2b58d41 Gerrit-PatchSet: 1 Gerrit-Project: osmo-ci Gerrit-Branch: master Gerrit-Owner: lynxis lazus <lyn...@fe80.eu> Gerrit-Reviewer: Harald Welte <lafo...@gnumonks.org> Gerrit-Reviewer: lynxis lazus <lyn...@fe80.eu> Gerrit-HasComments: No
[PATCH] osmo-ci[master]: osmocom-nightly/latest: check if osc is installed
Hello Harald Welte, I'd like you to reexamine a change. Please visit https://gerrit.osmocom.org/5179 to look at the new patch set (#2). osmocom-nightly/latest: check if osc is installed Change-Id: I10ce91eab415c19bb811fbb2fd617d5ce2b58d41 --- M scripts/osmocom-latest-packages.sh M scripts/osmocom-nightly-packages.sh 2 files changed, 10 insertions(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/79/5179/2 diff --git a/scripts/osmocom-latest-packages.sh b/scripts/osmocom-latest-packages.sh index 6933baa..1d17177 100755 --- a/scripts/osmocom-latest-packages.sh +++ b/scripts/osmocom-latest-packages.sh @@ -8,6 +8,11 @@ DT=$(date +%Y%m%d) TOP=$(pwd) +if ! which osc >/dev/null 2>/dev/null ; then + echo "osc binary not found" + exit 1 +fi + # start with a checkout of the project if [ -d $PROJ ]; then (cd $PROJ && osc up) diff --git a/scripts/osmocom-nightly-packages.sh b/scripts/osmocom-nightly-packages.sh index 8c7a732..752162b 100755 --- a/scripts/osmocom-nightly-packages.sh +++ b/scripts/osmocom-nightly-packages.sh @@ -6,6 +6,11 @@ exit 1 fi +if ! which osc >/dev/null 2>/dev/null ; then + echo "osc binary not found" + exit 1 +fi + set -x -e git clone git://git.osmocom.org/osmo-sip-connector -- To view, visit https://gerrit.osmocom.org/5179 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newpatchset Gerrit-Change-Id: I10ce91eab415c19bb811fbb2fd617d5ce2b58d41 Gerrit-PatchSet: 2 Gerrit-Project: osmo-ci Gerrit-Branch: master Gerrit-Owner: lynxis lazus <lyn...@fe80.eu> Gerrit-Reviewer: Harald Welte <lafo...@gnumonks.org> Gerrit-Reviewer: lynxis lazus <lyn...@fe80.eu>
[PATCH] osmo-ci[master]: rewrite osmocom-nightly-package based on the old osmocom-nig...
l/main/b/bumpversion/bumpversion_$version-$release.dsc; +wget "http://http.debian.net/debian/pool/main/b/bumpversion/bumpversion_$version.orig.tar.gz; +wget "http://http.debian.net/debian/pool/main/b/bumpversion/bumpversion_$version-$release.debian.tar.xz; + fi +} + +checkout_limesuite() { + TAG="v17.12.0" + + cd "$REPO" + git clone https://github.com/myriadrf/LimeSuite limesuite + cd limesuite + git checkout "$TAG" +} + +build_osmocom() { + BASE=$PWD + DATA=$BASE/data + REPO=$BASE/repo + + # rather than including a dangerous 'rm -rf *' here, lets delegate to the user: + if [ -n "$(ls)" ]; then +echo "ERROR: I need to run in an empty directory." +exit 1 + fi + + prepare + + checkout libosmocore + checkout libosmo-sccp + checkout libosmo-abis + checkout libosmo-netif + checkout libsmpp34 + checkout libasn1c + checkout libgtpnl + checkout osmo-iuh + checkout osmo-ggsn + checkout osmo-sgsn + checkout openbsc + checkout osmo-pcap + checkout osmo-trx + checkout osmo-sip-connector + checkout osmo-bts + checkout osmo-pcu + checkout osmo-hlr + checkout osmo-mgw + checkout osmo-msc + checkout osmo-bsc + checkout_limesuite + + build libosmocore + build libosmo-sccp + build libosmo-abis + build libosmo-netif + build libsmpp34 + build libasn1c + build libgtpnl + build osmo-iuh + build osmo-ggsn + build osmo-sgsn + build openbsc + build osmo-pcap + build osmo-trx + build osmo-sip-connector + build osmo-bts + build osmo-pcu + build osmo-hlr + build osmo-mgw + build osmo-msc + build osmo-bsc + + download_bumpversion + build limesuite no_commit --git-upstream-tree=v17.12.0 + + post +} + +if ! which osc >/dev/null 2>/dev/null ; then + echo "osc binary is not installed" + exit 1 +fi + +TMPDIR=$(mktemp -d nightly-3g_XX) +cd "$TMPDIR" +build_osmocom -- To view, visit https://gerrit.osmocom.org/5295 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I3b55e14b5b4915a3aae23ee382d65bce4ef82774 Gerrit-PatchSet: 1 Gerrit-Project: osmo-ci Gerrit-Branch: master Gerrit-Owner: lynxis lazus <lyn...@fe80.eu>
[PATCH] libosmocore[master]: vty: show asciidoc counters: don't create an empty table for...
Review at https://gerrit.osmocom.org/5190 vty: show asciidoc counters: don't create an empty table for osmo_counters When creating asciidocs for osmo_counter an empty is not useful. If there aren't any counter, output a hidden comment Change-Id: Ie2768100e69dcd7d8d77533688585dd9b43c4a5e --- M src/vty/stats_vty.c 1 file changed, 7 insertions(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/90/5190/1 diff --git a/src/vty/stats_vty.c b/src/vty/stats_vty.c index 6c09c38..faa136d 100644 --- a/src/vty/stats_vty.c +++ b/src/vty/stats_vty.c @@ -393,6 +393,13 @@ static void asciidoc_counter_generate(struct vty *vty) { + if (osmo_counters_count() == 0) + { + vty_out(vty, "// there are no ungrouped osmo_counters%s", + VTY_NEWLINE); + return; + } + vty_out(vty, "// ungrouped osmo_counters%s", VTY_NEWLINE); vty_out(vty, ".ungrouped osmo counters%s", VTY_NEWLINE); vty_out(vty, "[options=\"header\"]%s", VTY_NEWLINE); -- To view, visit https://gerrit.osmocom.org/5190 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ie2768100e69dcd7d8d77533688585dd9b43c4a5e Gerrit-PatchSet: 1 Gerrit-Project: libosmocore Gerrit-Branch: master Gerrit-Owner: lynxis lazus <lyn...@fe80.eu>
[PATCH] libosmocore[master]: counters: add osmo_counters_count() returns the amount of co...
Review at https://gerrit.osmocom.org/5189 counters: add osmo_counters_count() returns the amount of counters Change-Id: I9068231d71876e06d27ee67a688d7fb611ac3a1b --- M include/osmocom/core/counter.h M src/counter.c 2 files changed, 9 insertions(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/89/5189/1 diff --git a/include/osmocom/core/counter.h b/include/osmocom/core/counter.h index e692f7e..259f1ed 100644 --- a/include/osmocom/core/counter.h +++ b/include/osmocom/core/counter.h @@ -44,6 +44,8 @@ int osmo_counters_for_each(int (*handle_counter)(struct osmo_counter *, void *), void *data); +int osmo_counters_count(); + struct osmo_counter *osmo_counter_get_by_name(const char *name); int osmo_counter_difference(struct osmo_counter *ctr); diff --git a/src/counter.c b/src/counter.c index 0fa84c8..0fa3166 100644 --- a/src/counter.c +++ b/src/counter.c @@ -77,6 +77,13 @@ return rc; } +/*! Counts the registered counter + * \returns amount of counters */ +int osmo_counters_count() +{ + return llist_count(); +} + /*! Find a counter by its name. * \param[in] name Name used to look-up/search counter * \returns Counter on success; NULL if not found */ -- To view, visit https://gerrit.osmocom.org/5189 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I9068231d71876e06d27ee67a688d7fb611ac3a1b Gerrit-PatchSet: 1 Gerrit-Project: libosmocore Gerrit-Branch: master Gerrit-Owner: lynxis lazus <lyn...@fe80.eu>
[PATCH] osmo-gsm-manuals[master]: OsmoMSC: add rate counter documentation
Review at https://gerrit.osmocom.org/5192 OsmoMSC: add rate counter documentation Change-Id: Idc105fd16511c6ea4f5069a57b217ea3319bdbec --- A OsmoMSC/chapters/counters.adoc A OsmoMSC/chapters/counters_generated.adoc M OsmoMSC/osmomsc-usermanual.adoc 3 files changed, 46 insertions(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-gsm-manuals refs/changes/92/5192/1 diff --git a/OsmoMSC/chapters/counters.adoc b/OsmoMSC/chapters/counters.adoc new file mode 100644 index 000..7fbb10c --- /dev/null +++ b/OsmoMSC/chapters/counters.adoc @@ -0,0 +1,4 @@ +[[counters]] +== Counters + +include::./counters_generated.adoc[] diff --git a/OsmoMSC/chapters/counters_generated.adoc b/OsmoMSC/chapters/counters_generated.adoc new file mode 100644 index 000..afeb8ff --- /dev/null +++ b/OsmoMSC/chapters/counters_generated.adoc @@ -0,0 +1,40 @@ +// autogenerated by show asciidoc counters +These counters and their description based on OsmoMSC UNKNOWN (OsmoMSC). + +// generating tables for rate_ctr_group +// rate_ctr_group table mobile switching center +.msc - mobile switching center +[options="header"] +|=== +| Name | Reference | Description +| loc_update_type:attach | <> | Received location update imsi attach requests. +| loc_update_type:normal | <> | Received location update normal requests. +| loc_update_type:periodic | <> | Received location update periodic requests. +| loc_update_type:detach | <> | Received location update detach indication. +| loc_update_resp:failed | <> | Rejected location updates. +| loc_update_resp:completed | <> | Successful location updates. +| sms:submitted | <> | Received a RPDU from a MS (MO). +| sms:no_receiver | <> | Counts SMS which couldn't routed because no receiver found. +| sms:delivered | <> | Global SMS Deliver attempts. +| sms:rp_err_mem | <> | CAUSE_MT_MEM_EXCEEDED errors of MS responses on a sms deliver attempt. +| sms:rp_err_other | <> | Other error of MS responses on a sms delive attempt. +| sms:deliver_unknown_error | <> | Unknown error occured during sms delivery. +| call:mo_setup | <> | Received setup requests from a MS to init a MO call. +| call:mo_connect_ack | <> | Received a connect ack from MS of a MO call. Call is now succesful connected up. +| call:mt_setup | <> | Sent setup requests to the MS (MT). +| call:mt_connect | <> | Sent a connect to the MS (MT). +| call:active | <> | Count total amount of calls that ever reached active state. +| call:complete | <> | Count total amount of calls which got terminated by disconnect req or ind after reaching active state. +| call:incomplete | <> | Count total amount of call which got terminated by any other reason after reaching active state. +|=== +// generating tables for osmo_stat_items +// generating tables for osmo_counters +// ungrouped osmo_counters +.ungrouped osmo counters +[options="header"] +|=== +| Name | Reference | Description +| msc.active_calls | <> | +|=== + + diff --git a/OsmoMSC/osmomsc-usermanual.adoc b/OsmoMSC/osmomsc-usermanual.adoc index 7c20020..6190481 100644 --- a/OsmoMSC/osmomsc-usermanual.adoc +++ b/OsmoMSC/osmomsc-usermanual.adoc @@ -14,6 +14,8 @@ include::chapters/control.adoc[] +include::chapters/counters.adoc[] + include::../common/chapters/vty.adoc[] include::../common/chapters/logging.adoc[] -- To view, visit https://gerrit.osmocom.org/5192 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Idc105fd16511c6ea4f5069a57b217ea3319bdbec Gerrit-PatchSet: 1 Gerrit-Project: osmo-gsm-manuals Gerrit-Branch: master Gerrit-Owner: lynxis lazus <lyn...@fe80.eu>
[PATCH] osmo-gsm-manuals[master]: OsmoBSC: add rate counter documentation
[options="header"] +|=== +| Name | Reference | Description +| msc.active_calls | <> | +|=== + diff --git a/OsmoBSC/osmobsc-usermanual.adoc b/OsmoBSC/osmobsc-usermanual.adoc index b455897..2ff985d 100644 --- a/OsmoBSC/osmobsc-usermanual.adoc +++ b/OsmoBSC/osmobsc-usermanual.adoc @@ -13,6 +13,8 @@ include::chapters/control.adoc[] +include::chapters/counters.adoc[] + include::../common/chapters/vty.adoc[] include::../common/chapters/logging.adoc[] -- To view, visit https://gerrit.osmocom.org/5191 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ia8711dd4bc9db36a7121552dc067c7afb1051b0a Gerrit-PatchSet: 1 Gerrit-Project: osmo-gsm-manuals Gerrit-Branch: master Gerrit-Owner: lynxis lazus <lyn...@fe80.eu>
[PATCH] osmo-gsm-manuals[master]: OsmoPCU: add rate counter documentation
t;> | Timedout Frames +| llc:dropped | <> | Dropped Frames +| llc:scheduled | <> | Scheduled Frames +| llc:dl_bytes | <> | RLC encapsulated PDUs +| llc:ul_bytes | <> | full PDUs received +| rach:requests | <> | RACH requests +| 11bit_rach:requests | <> | 11BIT_RACH requests +| spb:uplink_first_segment | <> | First seg of UL SPB +| spb:uplink_second_segment | <> | Second seg of UL SPB +| spb:downlink_first_segment | <> | First seg of DL SPB +| spb:downlink_second_segment | <> | Second seg of DL SPB +| immediate:assignment_UL | <> | Immediate Assign UL +| immediate:assignment_rej | <> | Immediate Assign Rej +| immediate:assignment_DL | <> | Immediate Assign DL +| channel:request_description | <> | Channel Request Desc +| pkt:ul_assignment | <> | Packet UL Assignment +| pkt:access_reject | <> | Packet Access Reject +| pkt:dl_assignment | <> | Packet DL Assignment +| ul:control | <> | UL control Block +| ul:assignment_poll_timeout | <> | UL Assign Timeout +| ul:assignment_failed | <> | UL Assign Failed +| dl:assignment_timeout | <> | DL Assign Timeout +| dl:assignment_failed | <> | DL Assign Failed +| pkt:ul_ack_nack_timeout | <> | PUAN Poll Timeout +| pkt:ul_ack_nack_failed | <> | PUAN poll Failed +| pkt:dl_ack_nack_timeout | <> | PDAN poll Timeout +| pkt:dl_ack_nack_failed | <> | PDAN poll Failed +| gprs:downlink_cs1 | <> | CS1 downlink +| gprs:downlink_cs2 | <> | CS2 downlink +| gprs:downlink_cs3 | <> | CS3 downlink +| gprs:downlink_cs4 | <> | CS4 downlink +| egprs:downlink_mcs1 | <> | MCS1 downlink +| egprs:downlink_mcs2 | <> | MCS2 downlink +| egprs:downlink_mcs3 | <> | MCS3 downlink +| egprs:downlink_mcs4 | <> | MCS4 downlink +| egprs:downlink_mcs5 | <> | MCS5 downlink +| egprs:downlink_mcs6 | <> | MCS6 downlink +| egprs:downlink_mcs7 | <> | MCS7 downlink +| egprs:downlink_mcs8 | <> | MCS8 downlink +| egprs:downlink_mcs9 | <> | MCS9 downlink +| gprs:uplink_cs1 | <> | CS1 Uplink +| gprs:uplink_cs2 | <> | CS2 Uplink +| gprs:uplink_cs3 | <> | CS3 Uplink +| gprs:uplink_cs4 | <> | CS4 Uplink +| egprs:uplink_mcs1 | <> | MCS1 Uplink +| egprs:uplink_mcs2 | <> | MCS2 Uplink +| egprs:uplink_mcs3 | <> | MCS3 Uplink +| egprs:uplink_mcs4 | <> | MCS4 Uplink +| egprs:uplink_mcs5 | <> | MCS5 Uplink +| egprs:uplink_mcs6 | <> | MCS6 Uplink +| egprs:uplink_mcs7 | <> | MCS7 Uplink +| egprs:uplink_mcs8 | <> | MCS8 Uplink +| egprs:uplink_mcs9 | <> | MCS9 Uplink +|=== +// generating tables for osmo_stat_items +NSVC Peer Statistics +// osmo_stat_item_group table NSVC Peer Statistics +.ns.nsvc - NSVC Peer Statistics +[options="header"] +|=== +| Name | Reference | Description | Unit +| alive.delay | <> | ALIVE response time | ms +|=== +NSVC Peer Statistics +// osmo_stat_item_group table NSVC Peer Statistics +.ns.nsvc - NSVC Peer Statistics +[options="header"] +|=== +| Name | Reference | Description | Unit +| alive.delay | <> | ALIVE response time | ms +|=== +BTS Statistics +// osmo_stat_item_group table BTS Statistics +.bts - BTS Statistics +[options="header"] +|=== +| Name | Reference | Description | Unit +| ms.present | <> | MS Present| +|=== +// generating tables for osmo_counters +// ungrouped osmo_counters +.ungrouped osmo counters +[options="header"] +|=== +| Name | Reference | Description +|=== + + diff --git a/OsmoPCU/osmopcu-usermanual.adoc b/OsmoPCU/osmopcu-usermanual.adoc index f47a0a9..a72e947 100644 --- a/OsmoPCU/osmopcu-usermanual.adoc +++ b/OsmoPCU/osmopcu-usermanual.adoc @@ -17,6 +17,8 @@ include::chapters/configuration.adoc[] +include::chapters/counters.adoc[] + include::../common/chapters/gb.adoc[] include::../common/chapters/port_numbers.adoc[] -- To view, visit https://gerrit.osmocom.org/5193 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ieb4e1dab415a70ded5c65c21752dca497856e96f Gerrit-PatchSet: 1 Gerrit-Project: osmo-gsm-manuals Gerrit-Branch: master Gerrit-Owner: lynxis lazus <lyn...@fe80.eu>
[PATCH] osmo-gsm-manuals[master]: OsmoSGSN: add rate counter documentation
<> | NS-VC gone dead count +| replaced | <> | NS-VC replaced other count +| nsei-chg | <> | NS-VC changed NSEI count +| inv-nsvci | <> | NS-VCI was invalid count +| inv-nsei | <> | NSEI was invalid count +| lost:alive | <> | ALIVE ACK missing count +| lost:reset | <> | RESET ACK missing count +|=== +// generating tables for osmo_stat_items +NSVC Peer Statistics +// osmo_stat_item_group table NSVC Peer Statistics +.ns.nsvc - NSVC Peer Statistics +[options="header"] +|=== +| Name | Reference | Description | Unit +| alive.delay | <> | ALIVE response time | ms +|=== +NSVC Peer Statistics +// osmo_stat_item_group table NSVC Peer Statistics +.ns.nsvc - NSVC Peer Statistics +[options="header"] +|=== +| Name | Reference | Description | Unit +| alive.delay | <> | ALIVE response time | ms +|=== +// generating tables for osmo_counters +// ungrouped osmo_counters +.ungrouped osmo counters +[options="header"] +|=== +| Name | Reference | Description +|=== + + diff --git a/OsmoSGSN/osmosgsn-usermanual.adoc b/OsmoSGSN/osmosgsn-usermanual.adoc index 79c94f6..a6a7709 100644 --- a/OsmoSGSN/osmosgsn-usermanual.adoc +++ b/OsmoSGSN/osmosgsn-usermanual.adoc @@ -27,6 +27,8 @@ include::chapters/gsup.adoc[] +include::chapters/counters.adoc[] + include::../common/chapters/port_numbers.adoc[] include::../common/chapters/bibliography.adoc[] -- To view, visit https://gerrit.osmocom.org/5194 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I4c5d5744f961a92bc7cca739d1e8a8a0be9c Gerrit-PatchSet: 1 Gerrit-Project: osmo-gsm-manuals Gerrit-Branch: master Gerrit-Owner: lynxis lazus <lyn...@fe80.eu>
osmo-gsm-manuals[master]: OsmoBSC: add rate counter documentation
Patch Set 1: @laforge: I'm unsure if the chapter is at the right position. -- To view, visit https://gerrit.osmocom.org/5191 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: Ia8711dd4bc9db36a7121552dc067c7afb1051b0a Gerrit-PatchSet: 1 Gerrit-Project: osmo-gsm-manuals Gerrit-Branch: master Gerrit-Owner: lynxis lazus <lyn...@fe80.eu> Gerrit-Reviewer: Harald Welte <lafo...@gnumonks.org> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: lynxis lazus <lyn...@fe80.eu> Gerrit-HasComments: No
Change in osmo-ci[master]: jobs: osmo-gsm-tester-runner: Add ttcn3 job
lynxis lazus has posted comments on this change. ( https://gerrit.osmocom.org/9225 ) Change subject: jobs: osmo-gsm-tester-runner: Add ttcn3 job .. Patch Set 1: pip install --pre ... still not released yet even I'm using jjb 2.0 for other reason. I'm not sure if it's worth to do a workaround in our receipts?! -- To view, visit https://gerrit.osmocom.org/9225 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-ci Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: I8ca1c9a3a18138a27232efba7d65d6806e044a6b Gerrit-Change-Number: 9225 Gerrit-PatchSet: 1 Gerrit-Owner: Pau Espin Pedrol <pes...@sysmocom.de> Gerrit-Reviewer: Pau Espin Pedrol <pes...@sysmocom.de> Gerrit-Reviewer: lynxis lazus <lyn...@fe80.eu> Gerrit-Comment-Date: Fri, 18 May 2018 12:02:11 + Gerrit-HasComments: No Gerrit-HasLabels: No
Change in osmo-ttcn3-hacks[master]: ttcn3-tcpdump-start.sh: reduce snaplen of tcpdump
lynxis lazus has uploaded this change for review. ( https://gerrit.osmocom.org/9176 Change subject: ttcn3-tcpdump-start.sh: reduce snaplen of tcpdump .. ttcn3-tcpdump-start.sh: reduce snaplen of tcpdump Improve speed of tcpdump startup. -s 0 sets the snaplen is 256k. tcpdump will request the snaplen multiplied by the buffer as a contigous buffer in the kernel. This could lead to higher start time. Change-Id: I8a372e71798b366faa3b723573c60de6e8fd128f --- M ttcn3-tcpdump-start.sh 1 file changed, 2 insertions(+), 2 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/76/9176/1 diff --git a/ttcn3-tcpdump-start.sh b/ttcn3-tcpdump-start.sh index 7321b52..395941d 100755 --- a/ttcn3-tcpdump-start.sh +++ b/ttcn3-tcpdump-start.sh @@ -20,7 +20,7 @@ else CMD="sudo $TCPDUMP" fi -$CMD -U -s 0 -n -i any -w "$TTCN3_PCAP_PATH/$TESTCASE.pcap" >$TTCN3_PCAP_PATH/$TESTCASE.pcap.stdout 2>&1 & +$CMD -U -s 1500 -n -i any -w "$TTCN3_PCAP_PATH/$TESTCASE.pcap" >$TTCN3_PCAP_PATH/$TESTCASE.pcap.stdout 2>&1 & PID=$! echo $PID > $PIDFILE @@ -31,7 +31,7 @@ PID=$! i=0 while [ ! -f "$TTCN3_PCAP_PATH/$TESTCASE.pcap" ] || - [ "$($TCPDUMP -r "$TTCN3_PCAP_PATH/$TESTCASE.pcap" 2>/dev/null | wc -l)" -eq 0 ] + [ "$(stat -c '%s' "$TTCN3_PCAP_PATH/$TESTCASE.pcap")" -eq 32 ] do echo "Waiting for tcpdump to start... $i" sleep 1 -- To view, visit https://gerrit.osmocom.org/9176 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-ttcn3-hacks Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: I8a372e71798b366faa3b723573c60de6e8fd128f Gerrit-Change-Number: 9176 Gerrit-PatchSet: 1 Gerrit-Owner: lynxis lazus <lyn...@fe80.eu>
Change in osmo-ttcn3-hacks[master]: sgsn: fix a typo in comment
lynxis lazus has uploaded this change for review. ( https://gerrit.osmocom.org/9175 Change subject: sgsn: fix a typo in comment .. sgsn: fix a typo in comment Change-Id: I061aba5af1e466b33472c9f829b982823bcff71e --- M sgsn/SGSN_Tests.ttcn 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/75/9175/1 diff --git a/sgsn/SGSN_Tests.ttcn b/sgsn/SGSN_Tests.ttcn index adf87f2..1434a67 100644 --- a/sgsn/SGSN_Tests.ttcn +++ b/sgsn/SGSN_Tests.ttcn @@ -460,7 +460,7 @@ BSSGP.send(attach_req); f_gmm_auth(umts_aka_challenge, force_gsm_sres); - /* Expect MSC to perform LU with HLR */ + /* Expect SGSN to perform LU with HLR */ f_gmm_gsup_lu_isd(); BSSGP.receive(tr_BD_L3_MT(tr_GMM_ATTACH_ACCEPT('001'B, ?, ?))) -> value bd { -- To view, visit https://gerrit.osmocom.org/9175 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-ttcn3-hacks Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: I061aba5af1e466b33472c9f829b982823bcff71e Gerrit-Change-Number: 9175 Gerrit-PatchSet: 1 Gerrit-Owner: lynxis lazus <lyn...@fe80.eu>
Change in osmo-ttcn3-hacks[master]: sgsn: fix RAU_ATTACH not to interact with following testes
lynxis lazus has uploaded this change for review. ( https://gerrit.osmocom.org/9174 Change subject: sgsn: fix RAU_ATTACH not to interact with following testes .. sgsn: fix RAU_ATTACH not to interact with following testes TC_attach_rau will interact with the following tests, because the sgsn is continuing sending RAU_ACCEPTs until it timed out or received a RAU COMPLETE Change-Id: Idac92bd61ee7145b7542e60c24e0a66b4ff7ddd4 --- M sgsn/SGSN_Tests.ttcn 1 file changed, 1 insertion(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/74/9174/1 diff --git a/sgsn/SGSN_Tests.ttcn b/sgsn/SGSN_Tests.ttcn index adf87f2..0b439ec 100644 --- a/sgsn/SGSN_Tests.ttcn +++ b/sgsn/SGSN_Tests.ttcn @@ -753,6 +753,7 @@ alt { [] BSSGP.receive(tr_BD_L3_MT(tr_GMM_RAU_ACCEPT)) -> value bd { f_process_rau_accept(bd.l3_mt.msgs.gprs_mm.routingAreaUpdateAccept); + BSSGP.send(ts_GMM_RAU_COMPL); setverdict(pass); } [] BSSGP.receive(tr_BD_L3_MT(tr_GMM_RAU_REJECT)) { -- To view, visit https://gerrit.osmocom.org/9174 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-ttcn3-hacks Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: Idac92bd61ee7145b7542e60c24e0a66b4ff7ddd4 Gerrit-Change-Number: 9174 Gerrit-PatchSet: 1 Gerrit-Owner: lynxis lazus <lyn...@fe80.eu>
Change in osmo-ci[master]: jobs: osmo-gsm-tester-runner: Add ttcn3 job
lynxis lazus has posted comments on this change. ( https://gerrit.osmocom.org/9225 ) Change subject: jobs: osmo-gsm-tester-runner: Add ttcn3 job .. Patch Set 1: works for me. I'm using jjb 2.0 -- To view, visit https://gerrit.osmocom.org/9225 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-ci Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: I8ca1c9a3a18138a27232efba7d65d6806e044a6b Gerrit-Change-Number: 9225 Gerrit-PatchSet: 1 Gerrit-Owner: Pau Espin Pedrol <pes...@sysmocom.de> Gerrit-Reviewer: Pau Espin Pedrol <pes...@sysmocom.de> Gerrit-Reviewer: lynxis lazus <lyn...@fe80.eu> Gerrit-Comment-Date: Thu, 17 May 2018 18:34:45 + Gerrit-HasComments: No Gerrit-HasLabels: No
Change in osmo-ttcn3-hacks[master]: L3_Templates: rename tr_GMM_DET_ACCEPT_MT -> tr_GMM_DET_ACCEPT_MO
lynxis lazus has uploaded this change for review. ( https://gerrit.osmocom.org/9245 Change subject: L3_Templates: rename tr_GMM_DET_ACCEPT_MT -> tr_GMM_DET_ACCEPT_MO .. L3_Templates: rename tr_GMM_DET_ACCEPT_MT -> tr_GMM_DET_ACCEPT_MO The standard defines this messages, even it's send from the Network -> MS as MO, because the procedure initiated by the MS. Change-Id: I4b5e2d43c9754d34b3749bff43b7df7196b9bb9c --- M library/L3_Templates.ttcn M sgsn/SGSN_Tests.ttcn 2 files changed, 5 insertions(+), 5 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/45/9245/1 diff --git a/library/L3_Templates.ttcn b/library/L3_Templates.ttcn index 5acd2bf..b2bfb07 100644 --- a/library/L3_Templates.ttcn +++ b/library/L3_Templates.ttcn @@ -1843,7 +1843,7 @@ } } -template PDU_L3_SGSN_MS tr_GMM_DET_ACCEPT_MT := { +template PDU_L3_SGSN_MS tr_GMM_DET_ACCEPT_MO := { discriminator := '1000'B, tiOrSkip := { skipIndicator := ''B @@ -1859,7 +1859,7 @@ } } -template PDU_L3_SGSN_MS tr_GMM_DET_REQ_MT(template BIT3 dtt := ?, template boolean power_off := ?) := { +template PDU_L3_SGSN_MS tr_GMM_DET_REQ_MO(template BIT3 dtt := ?, template boolean power_off := ?) := { discriminator := '1000'B, tiOrSkip := { skipIndicator := ''B diff --git a/sgsn/SGSN_Tests.ttcn b/sgsn/SGSN_Tests.ttcn index e1d35c5..36a4700 100644 --- a/sgsn/SGSN_Tests.ttcn +++ b/sgsn/SGSN_Tests.ttcn @@ -784,7 +784,7 @@ [not expect_purge] GSUP.receive(tr_GSUP_PURGE_MS_REQ(?)) { setverdict(fail, "Unexpected GSUP PURGE MS for unregistered TLLI"); } - [power_off] BSSGP.receive(tr_BD_L3_MT(tr_GMM_DET_ACCEPT_MT)) -> value bd { + [power_off] BSSGP.receive(tr_BD_L3_MT(tr_GMM_DET_ACCEPT_MO)) -> value bd { g_pars.ra := omit; setverdict(fail, "Unexpected ATTACH ACCEPT in no-power-off DETACH"); /* TODO: check if any PDP contexts are deactivated on network side? */ @@ -792,7 +792,7 @@ [power_off] T.timeout { setverdict(pass); } - [not power_off] BSSGP.receive(tr_BD_L3_MT(tr_GMM_DET_ACCEPT_MT)) -> value bd { + [not power_off] BSSGP.receive(tr_BD_L3_MT(tr_GMM_DET_ACCEPT_MO)) -> value bd { g_pars.ra := omit; setverdict(pass); /* TODO: check if any PDP contexts are deactivated on network side? */ @@ -1130,7 +1130,7 @@ apars.apn, apars.pco)); alt { /* We might want toalso actually expect a PDPC CTX ACT REJ? */ - [] BSSGP.receive(tr_BD_L3_MT(tr_GMM_DET_REQ_MT(?, ?))) { + [] BSSGP.receive(tr_BD_L3_MT(tr_GMM_DET_REQ_MO(?, ?))) { setverdict(pass); } [] GTP.receive(tr_GTPC_MsgType(?, createPDPContextRequest, ?)) { -- To view, visit https://gerrit.osmocom.org/9245 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-ttcn3-hacks Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: I4b5e2d43c9754d34b3749bff43b7df7196b9bb9c Gerrit-Change-Number: 9245 Gerrit-PatchSet: 1 Gerrit-Owner: lynxis lazus <lyn...@fe80.eu>
Change in osmo-ttcn3-hacks[master]: SGSN: add TC_hlr_location_cancel_request
lynxis lazus has uploaded this change for review. ( https://gerrit.osmocom.org/9248 Change subject: SGSN: add TC_hlr_location_cancel_request .. SGSN: add TC_hlr_location_cancel_request MS <-> SGSN: GMM Attach HLR -> SGSN: Cancel Location Request HLR <- SGSN: Cancel Location Ack MS <- SGSN: Detach Request SGSN-> MS: Detach Complete Change-Id: Id5d6b018a5a4389eefa8f5d950324aab91709f5a --- M sgsn/SGSN_Tests.ttcn 1 file changed, 34 insertions(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/48/9248/1 diff --git a/sgsn/SGSN_Tests.ttcn b/sgsn/SGSN_Tests.ttcn index 36a4700..a2679cf 100644 --- a/sgsn/SGSN_Tests.ttcn +++ b/sgsn/SGSN_Tests.ttcn @@ -1249,6 +1249,39 @@ } +private function f_TC_hlr_location_cancel_request_withdraw(charstring id) runs on BSSGP_ConnHdlr { + /* MS: perform regular attach */ + f_TC_attach(id); + + /* HLR: cancel the location request */ + var GSUP_PDU gsup; + gsup := valueof(ts_GSUP_CL_REQ(g_pars.imsi, OSMO_GSUP_CANCEL_TYPE_WITHDRAW)); + GSUP.send(gsup); + GSUP.receive(tr_GSUP_CL_RES(g_pars.imsi)); + GSUP.send(ts_GSUP_UL_RES(g_pars.imsi)); + + /* MS: receive a Detach Request */ + BSSGP.receive(tr_BD_L3_MT(tr_GMM_DET_REQ_MT(c_GMM_DTT_MT_IMSI_DETACH, ?, ?))); + BSSGP.send(ts_GMM_DET_ACCEPT_MT); + + setverdict(pass); +} + +testcase TC_hlr_location_cancel_request_withdraw() runs on test_CT { + /* MS <-> SGSN: GMM Attach +* HLR -> SGSN: Cancel Location Request +* HLR <- SGSN: Cancel Location Ack +* MS <- SGSN: Detach Request +* SGSN-> MS: Detach Complete +*/ + var BSSGP_ConnHdlr vc_conn; + f_init(); + f_sleep(1.0); + vc_conn := f_start_handler(refers(f_TC_hlr_location_cancel_request_withdraw), testcasename(), g_gb[0], 29); + vc_conn.done; +} + + control { execute( TC_attach() ); execute( TC_attach_mnc3() ); @@ -1262,6 +1295,7 @@ execute( TC_attach_combined() ); execute( TC_attach_accept_all() ); execute( TC_attach_closed() ); + execute( TC_hlr_location_cancel_request_withdraw(), 5.0 ); execute( TC_rau_unknown() ); execute( TC_attach_rau() ); execute( TC_detach_unknown_nopoweroff() ); -- To view, visit https://gerrit.osmocom.org/9248 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-ttcn3-hacks Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: Id5d6b018a5a4389eefa8f5d950324aab91709f5a Gerrit-Change-Number: 9248 Gerrit-PatchSet: 1 Gerrit-Owner: lynxis lazus <lyn...@fe80.eu>
Change in osmo-ttcn3-hacks[master]: SGSN: add TC_hlr_location_cancel_request_update
lynxis lazus has uploaded this change for review. ( https://gerrit.osmocom.org/9251 Change subject: SGSN: add TC_hlr_location_cancel_request_update .. SGSN: add TC_hlr_location_cancel_request_update MS <-> SGSN: GMM Attach HLR -> SGSN: Cancel Location Request HLR <- SGSN: Cancel Location Ack Change-Id: I5d3a818eb0a4eb3b0d4bd7bd88874bd2ac6adb11 --- M sgsn/SGSN_Tests.ttcn 1 file changed, 40 insertions(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/51/9251/1 diff --git a/sgsn/SGSN_Tests.ttcn b/sgsn/SGSN_Tests.ttcn index 860ca09..bce0241 100644 --- a/sgsn/SGSN_Tests.ttcn +++ b/sgsn/SGSN_Tests.ttcn @@ -1249,6 +1249,45 @@ } +private function f_TC_hlr_location_cancel_request_update(charstring id) runs on BSSGP_ConnHdlr { + /* MS: perform regular attach */ + f_TC_attach(id); + + /* HLR: cancel the location request */ + var GSUP_PDU gsup; + gsup := valueof(ts_GSUP_CL_REQ(g_pars.imsi, OSMO_GSUP_CANCEL_TYPE_UPDATE)); + GSUP.send(gsup); + GSUP.receive(tr_GSUP_CL_RES(g_pars.imsi)); + GSUP.send(ts_GSUP_UL_RES(g_pars.imsi)); + + /* ensure no Detach Request got received */ + timer T := 5.0; + T.start; + alt { + [] BSSGP.receive(tr_BD_L3_MT(tr_GMM_DET_REQ_MT(c_GMM_DTT_MT_IMSI_DETACH, ?, ?))) { + T.stop; + setverdict(fail, "Unexpected GMM Detach Request"); +} + [] T.timeout { + setverdict(pass); + self.stop; + } + } +} + +testcase TC_hlr_location_cancel_request_update() runs on test_CT { + /* MS <-> SGSN: GMM Attach +* HLR -> SGSN: Cancel Location Request +* HLR <- SGSN: Cancel Location Ack +*/ + var BSSGP_ConnHdlr vc_conn; + f_init(); + f_sleep(1.0); + vc_conn := f_start_handler(refers(f_TC_hlr_location_cancel_request_update), testcasename(), g_gb[0], 31); + vc_conn.done; +} + + private function f_TC_hlr_location_cancel_request_withdraw(charstring id) runs on BSSGP_ConnHdlr { /* MS: perform regular attach */ f_TC_attach(id); @@ -1344,6 +1383,7 @@ execute( TC_attach_combined() ); execute( TC_attach_accept_all() ); execute( TC_attach_closed() ); + execute( TC_hlr_location_cancel_request_update(), 10.0 ); execute( TC_hlr_location_cancel_request_withdraw(), 5.0 ); execute( TC_hlr_location_cancel_request_unknown_subscriber_withdraw(), 5.0 ); execute( TC_hlr_location_cancel_request_unknown_subscriber_update(), 5.0 ); -- To view, visit https://gerrit.osmocom.org/9251 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-ttcn3-hacks Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: I5d3a818eb0a4eb3b0d4bd7bd88874bd2ac6adb11 Gerrit-Change-Number: 9251 Gerrit-PatchSet: 1 Gerrit-Owner: lynxis lazus <lyn...@fe80.eu>
Change in osmo-ttcn3-hacks[master]: L3_Templates: add values for c_GMM_DTT_MT_*
lynxis lazus has uploaded this change for review. ( https://gerrit.osmocom.org/9246 Change subject: L3_Templates: add values for c_GMM_DTT_MT_* .. L3_Templates: add values for c_GMM_DTT_MT_* GMM detach type values Change-Id: I4903fa4c915add3062ab6b82a1d39d60426b5681 --- M library/L3_Templates.ttcn 1 file changed, 4 insertions(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/46/9246/1 diff --git a/library/L3_Templates.ttcn b/library/L3_Templates.ttcn index b2bfb07..ec3f257 100644 --- a/library/L3_Templates.ttcn +++ b/library/L3_Templates.ttcn @@ -1790,6 +1790,10 @@ const BIT3 c_GMM_DTT_MO_IMSI := '010'B; const BIT3 c_GMM_DTT_MO_GPRS_IMSI_COMBINED := '011'B; +const BIT3 c_GMM_DTT_MT_REATTACH_REQUIRED := '001'B; +const BIT3 c_GMM_DTT_MT_REATTACH_NOT_REQUIRED := '010'B; +const BIT3 c_GMM_DTT_MT_IMSI_DETACH := '011'B; + template (value) DetachTypeV ts_GMM_DetType(BIT3 dtt, boolean power_off := false) := { detachType := dtt, powerOffFlag := bool2bit(power_off) -- To view, visit https://gerrit.osmocom.org/9246 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-ttcn3-hacks Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: I4903fa4c915add3062ab6b82a1d39d60426b5681 Gerrit-Change-Number: 9246 Gerrit-PatchSet: 1 Gerrit-Owner: lynxis lazus <lyn...@fe80.eu>
Change in osmo-ttcn3-hacks[master]: GSUP_Types.ttcn: allow other TLV appear in Cancel Location Errors
lynxis lazus has uploaded this change for review. ( https://gerrit.osmocom.org/9249 Change subject: GSUP_Types.ttcn: allow other TLV appear in Cancel Location Errors .. GSUP_Types.ttcn: allow other TLV appear in Cancel Location Errors Change-Id: I21ee02556f0734dad871a6294b21ca6f2864dea0 --- M library/GSUP_Types.ttcn 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/49/9249/1 diff --git a/library/GSUP_Types.ttcn b/library/GSUP_Types.ttcn index 57c0a39..4c2aac0 100644 --- a/library/GSUP_Types.ttcn +++ b/library/GSUP_Types.ttcn @@ -341,7 +341,7 @@ template GSUP_PDU tr_GSUP_CL_ERR(template hexstring imsi, template integer cause := ?) := tr_GSUP(OSMO_GSUP_MSGT_LOCATION_CANCEL_ERROR, { - tr_GSUP_IE_IMSI(imsi), tr_GSUP_IE_Cause(cause) }); + tr_GSUP_IE_IMSI(imsi), tr_GSUP_IE_Cause(cause), * }); template (value) GSUP_PDU ts_GSUP_PURGE_MS_REQ(hexstring imsi, GSUP_CnDomain dom) := ts_GSUP(OSMO_GSUP_MSGT_PURGE_MS_REQUEST, { -- To view, visit https://gerrit.osmocom.org/9249 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-ttcn3-hacks Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: I21ee02556f0734dad871a6294b21ca6f2864dea0 Gerrit-Change-Number: 9249 Gerrit-PatchSet: 1 Gerrit-Owner: lynxis lazus <lyn...@fe80.eu>
Change in osmo-ttcn3-hacks[master]: SGSN: add TC_hlr_location_cancel_request_unknown_subscriber_{withdraw...
lynxis lazus has uploaded this change for review. ( https://gerrit.osmocom.org/9250 Change subject: SGSN: add TC_hlr_location_cancel_request_unknown_subscriber_{withdraw,update} .. SGSN: add TC_hlr_location_cancel_request_unknown_subscriber_{withdraw,update} Cancel Location using an unknown IMSI. HLR -> SGSN: Cancel Location Request HLR <- SGSN: Cancel Location Error Change-Id: Iad90c3cc25d72b9ab40e358fe60aa6f62163f146 --- M sgsn/SGSN_Tests.ttcn 1 file changed, 51 insertions(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/50/9250/1 diff --git a/sgsn/SGSN_Tests.ttcn b/sgsn/SGSN_Tests.ttcn index a2679cf..860ca09 100644 --- a/sgsn/SGSN_Tests.ttcn +++ b/sgsn/SGSN_Tests.ttcn @@ -1282,6 +1282,55 @@ } +private function f_hlr_location_cancel_request_unknown_subscriber( + charstring id, + GSUP_CancelType canceltype) runs on BSSGP_ConnHdlr { + + /* HLR: cancel the location request */ + var GSUP_PDU gsup; + gsup := valueof(ts_GSUP_CL_REQ(g_pars.imsi, canceltype)); + GSUP.send(gsup); + + /* cause 2 = IMSI_UNKNOWN */ + GSUP.receive(tr_GSUP_CL_ERR(g_pars.imsi, 2)); + + setverdict(pass); +} + +private function f_TC_hlr_location_cancel_request_unknown_subscriber_withdraw(charstring id) runs on BSSGP_ConnHdlr { +f_hlr_location_cancel_request_unknown_subscriber(id, OSMO_GSUP_CANCEL_TYPE_WITHDRAW); +} + +testcase TC_hlr_location_cancel_request_unknown_subscriber_withdraw() runs on test_CT { + /* HLR -> SGSN: Cancel Location Request +* HLR <- SGSN: Cancel Location Error +*/ + + var BSSGP_ConnHdlr vc_conn; + f_init(); + f_sleep(1.0); + vc_conn := f_start_handler(refers(f_TC_hlr_location_cancel_request_unknown_subscriber_withdraw), testcasename(), g_gb[0], 30); + vc_conn.done; +} + +private function f_TC_hlr_location_cancel_request_unknown_subscriber_update(charstring id) runs on BSSGP_ConnHdlr { +f_hlr_location_cancel_request_unknown_subscriber(id, OSMO_GSUP_CANCEL_TYPE_WITHDRAW); +} + +testcase TC_hlr_location_cancel_request_unknown_subscriber_update() runs on test_CT { + /* HLR -> SGSN: Cancel Location Request +* HLR <- SGSN: Cancel Location Error +*/ + + var BSSGP_ConnHdlr vc_conn; + f_init(); + f_sleep(1.0); + vc_conn := f_start_handler(refers(f_TC_hlr_location_cancel_request_unknown_subscriber_update), testcasename(), g_gb[0], 30); + vc_conn.done; +} + + + control { execute( TC_attach() ); execute( TC_attach_mnc3() ); @@ -1296,6 +1345,8 @@ execute( TC_attach_accept_all() ); execute( TC_attach_closed() ); execute( TC_hlr_location_cancel_request_withdraw(), 5.0 ); + execute( TC_hlr_location_cancel_request_unknown_subscriber_withdraw(), 5.0 ); + execute( TC_hlr_location_cancel_request_unknown_subscriber_update(), 5.0 ); execute( TC_rau_unknown() ); execute( TC_attach_rau() ); execute( TC_detach_unknown_nopoweroff() ); -- To view, visit https://gerrit.osmocom.org/9250 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-ttcn3-hacks Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: Iad90c3cc25d72b9ab40e358fe60aa6f62163f146 Gerrit-Change-Number: 9250 Gerrit-PatchSet: 1 Gerrit-Owner: lynxis lazus <lyn...@fe80.eu>
Change in libosmocore[master]: core/timer_compat: define CLOCK_BOOTTIME
lynxis lazus has abandoned this change. ( https://gerrit.osmocom.org/7906 ) Change subject: core/timer_compat: define CLOCK_BOOTTIME .. Abandoned -- To view, visit https://gerrit.osmocom.org/7906 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: libosmocore Gerrit-Branch: master Gerrit-MessageType: abandon Gerrit-Change-Id: Ia3d3a829700272ec8e5cf67379d8d85368230726 Gerrit-Change-Number: 7906 Gerrit-PatchSet: 1 Gerrit-Owner: lynxis lazus <lyn...@fe80.eu> Gerrit-Reviewer: Harald Welte <lafo...@gnumonks.org> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: Neels Hofmeyr <nhofm...@sysmocom.de> Gerrit-Reviewer: Pau Espin Pedrol <pes...@sysmocom.de> Gerrit-Reviewer: lynxis lazus <lyn...@fe80.eu>
Change in osmo-sgsn[master]: gprs_gmm: introduce a GMM Attach Request FSM
lynxis lazus has posted comments on this change. ( https://gerrit.osmocom.org/9257 ) Change subject: gprs_gmm: introduce a GMM Attach Request FSM .. Set Ready For Review -- To view, visit https://gerrit.osmocom.org/9257 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-sgsn Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: I58b9c17be9776a03bb2a5b21e99135cfefc8c912 Gerrit-Change-Number: 9257 Gerrit-PatchSet: 1 Gerrit-Owner: lynxis lazus <lyn...@fe80.eu> Gerrit-Reviewer: Jenkins Builder Gerrit-Comment-Date: Wed, 23 May 2018 00:44:13 + Gerrit-HasComments: No Gerrit-HasLabels: No
Change in osmo-sgsn[master]: gprs_gmm: introduce a GMM Attach Request FSM
lynxis lazus has posted comments on this change. ( https://gerrit.osmocom.org/9257 ) Change subject: gprs_gmm: introduce a GMM Attach Request FSM .. Patch Set 1: the failing tests are related to the changes. I would recommend removing the unit tests, because ttcn3 is testing the same and is much more maintainable and debug'able. -- To view, visit https://gerrit.osmocom.org/9257 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-sgsn Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: I58b9c17be9776a03bb2a5b21e99135cfefc8c912 Gerrit-Change-Number: 9257 Gerrit-PatchSet: 1 Gerrit-Owner: lynxis lazus <lyn...@fe80.eu> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: lynxis lazus <lyn...@fe80.eu> Gerrit-Comment-Date: Wed, 23 May 2018 00:44:46 + Gerrit-HasComments: No Gerrit-HasLabels: No
Change in osmo-sgsn[master]: WIP: tests: remove gmm unit tests
lynxis lazus has uploaded this change for review. ( https://gerrit.osmocom.org/9258 Change subject: WIP: tests: remove gmm unit tests .. WIP: tests: remove gmm unit tests The TTCN3 tests should replace all of the GMM unit tests. The GMM unit tests uses send/recieve LLME while TTCN3 is using BSSGP tx/rx to the same. TTCN3 has better tooling and can handle packets more easier. The unittests expect the package in a specific order and do checks the internal state, which is now changing because of the new FSM. TODO: compare TTCN3 <> unit tests and add missing checks. Change-Id: Iac1c8854b5ea4aa03279990390ebc110c979aac2 --- M tests/sgsn/sgsn_test.c 1 file changed, 0 insertions(+), 818 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-sgsn refs/changes/58/9258/1 diff --git a/tests/sgsn/sgsn_test.c b/tests/sgsn/sgsn_test.c index 0e5267b..3e86266 100644 --- a/tests/sgsn/sgsn_test.c +++ b/tests/sgsn/sgsn_test.c @@ -925,166 +925,6 @@ cleanup_test(); } -/* - * Test the GMM Attach procedure - */ -static void test_gmm_attach(int retry) -{ - struct gprs_ra_id raid = { 0, }; - struct sgsn_mm_ctx *ctx = NULL; - struct sgsn_mm_ctx *ictx; - uint32_t ptmsi1; - uint32_t foreign_tlli; - uint32_t local_tlli = 0; - struct gprs_llc_lle *lle; - - /* DTAP - Attach Request */ - /* The P-TMSI is not known by the SGSN */ - static const unsigned char attach_req[] = { - 0x08, 0x01, 0x02, 0xf5, 0xe0, 0x21, 0x08, 0x02, 0x05, 0xf4, - 0xfb, 0xc5, 0x46, 0x79, 0x11, 0x22, 0x33, 0x40, 0x50, 0x60, - 0x19, 0x18, 0xb3, 0x43, 0x2b, 0x25, 0x96, 0x62, 0x00, 0x60, - 0x80, 0x9a, 0xc2, 0xc6, 0x62, 0x00, 0x60, 0x80, 0xba, 0xc8, - 0xc6, 0x62, 0x00, 0x60, 0x80, 0x00 - }; - - /* DTAP - Identity Response IMEI */ - static const unsigned char ident_resp_imei[] = { - 0x08, 0x16, 0x08, 0x9a, 0x78, 0x56, 0x34, 0x12, 0x90, 0x78, - 0x56 - }; - - /* DTAP - Identity Response IMSI */ - static const unsigned char ident_resp_imsi[] = { - 0x08, 0x16, 0x08, 0x19, 0x32, 0x54, 0x76, 0x98, 0x10, 0x32, - 0x54 - }; - - /* DTAP - Authentication and Ciphering Resp */ - static const unsigned char auth_ciph_resp[] = { - 0x08, 0x13, 0x00, 0x22, 0x51, 0xe5, 0x51, 0xe5, 0x23, 0x09, - 0x9a, 0x78, 0x56, 0x34, 0x12, 0x90, 0x78, 0x56, 0x01 - }; - - /* DTAP - Attach Complete */ - static const unsigned char attach_compl[] = { - 0x08, 0x03 - }; - - /* DTAP - Detach Request (MO) */ - /* normal detach, power_off = 0 */ - static const unsigned char detach_req[] = { - 0x08, 0x05, 0x01, 0x18, 0x05, 0xf4, 0xeb, 0x8b, - 0x45, 0x67, 0x19, 0x03, 0xb9, 0x97, 0xcb - }; - - printf("Testing GMM attach%s\n", retry ? " with retry" : ""); - - foreign_tlli = gprs_tmsi2tlli(0xc023, TLLI_FOREIGN); - - /* Create a LLE/LLME */ - OSMO_ASSERT(count(gprs_llme_list()) == 0); - lle = gprs_lle_get_or_create(foreign_tlli, 3); - OSMO_ASSERT(count(gprs_llme_list()) == 1); - - /* inject the attach request */ - send_0408_message(lle->llme, foreign_tlli, , - attach_req, ARRAY_SIZE(attach_req)); - - ctx = sgsn_mm_ctx_by_tlli(foreign_tlli, ); - OSMO_ASSERT(ctx != NULL); - OSMO_ASSERT(ctx->gmm_state == GMM_COMMON_PROC_INIT); - - /* we expect an identity request (IMEI) */ - OSMO_ASSERT(sgsn_tx_counter == 1); - - /* inject the identity response (IMEI) */ - send_0408_message(ctx->gb.llme, foreign_tlli, , - ident_resp_imei, ARRAY_SIZE(ident_resp_imei)); - - /* we expect an identity request (IMSI) */ - OSMO_ASSERT(sgsn_tx_counter == 1); - - /* inject the identity response (IMSI) */ - send_0408_message(ctx->gb.llme, foreign_tlli, , - ident_resp_imsi, ARRAY_SIZE(ident_resp_imsi)); - - /* check that the MM context has not been removed due to a failed -* authorization */ - OSMO_ASSERT(ctx == sgsn_mm_ctx_by_tlli(foreign_tlli, )); - - OSMO_ASSERT(ctx->gmm_state == GMM_COMMON_PROC_INIT); - -retry_attach_req: - - if (retry && sgsn_tx_counter == 0) { - fprintf(stderr, "Retrying attach request\n"); - /* re-inject the attach request */ - send_0408_message(lle->llme, foreign_tlli, , - attach_req, ARRAY_SIZE(attach_req)); - } - - if (ctx->auth_state == SGSN_AUTH_AUTHENTICATE && sgsn_tx_counter == 1) { - /* we got an auth & ciph request */ - - /* inject t
Change in osmo-ci[master]: ansible/setup-gsm-tester: add docker
lynxis lazus has uploaded this change for review. ( https://gerrit.osmocom.org/9274 Change subject: ansible/setup-gsm-tester: add docker .. ansible/setup-gsm-tester: add docker Change-Id: Idfd96c4e3556b93ca85acb94a2176ec269a906d1 --- M ansible/setup-gsm-tester.yml 1 file changed, 5 insertions(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/74/9274/1 diff --git a/ansible/setup-gsm-tester.yml b/ansible/setup-gsm-tester.yml index a1a0389..36c8287 100644 --- a/ansible/setup-gsm-tester.yml +++ b/ansible/setup-gsm-tester.yml @@ -38,6 +38,11 @@ tags: - jenkins-slave +- name: docker + jenkins_user: jenkins + tags: +- docker + - name: udhcpd udhcpd_router: 10.42.42.1 udhcpd_range_start: 10.42.42.230 -- To view, visit https://gerrit.osmocom.org/9274 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-ci Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: Idfd96c4e3556b93ca85acb94a2176ec269a906d1 Gerrit-Change-Number: 9274 Gerrit-PatchSet: 1 Gerrit-Owner: lynxis lazus <lyn...@fe80.eu>
Change in osmo-ci[master]: ansible: gsm-tester: add jenkins to the dialout group
lynxis lazus has uploaded this change for review. ( https://gerrit.osmocom.org/9275 Change subject: ansible: gsm-tester: add jenkins to the dialout group .. ansible: gsm-tester: add jenkins to the dialout group To access tty* Change-Id: Icc7b3fa9ca7c14360d78069d8d42e6039afda32b --- M ansible/roles/gsm-tester/tasks/main.yml 1 file changed, 1 insertion(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/75/9275/1 diff --git a/ansible/roles/gsm-tester/tasks/main.yml b/ansible/roles/gsm-tester/tasks/main.yml index f7eb1ee..2b00270 100644 --- a/ansible/roles/gsm-tester/tasks/main.yml +++ b/ansible/roles/gsm-tester/tasks/main.yml @@ -150,6 +150,7 @@ with_items: - systemd-journal - osmo-gsm-tester +- dialout - name: setup state directory file: -- To view, visit https://gerrit.osmocom.org/9275 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-ci Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: Icc7b3fa9ca7c14360d78069d8d42e6039afda32b Gerrit-Change-Number: 9275 Gerrit-PatchSet: 1 Gerrit-Owner: lynxis lazus <lyn...@fe80.eu>
Change in osmo-ci[master]: ansible: add a simple README.md
lynxis lazus has uploaded this change for review. ( https://gerrit.osmocom.org/9276 Change subject: ansible: add a simple README.md .. ansible: add a simple README.md Change-Id: I96057bb92faa8e3375c5bad20ef1536475807b67 --- A ansible/README.md 1 file changed, 20 insertions(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/76/9276/1 diff --git a/ansible/README.md b/ansible/README.md new file mode 100644 index 000..21763f4 --- /dev/null +++ b/ansible/README.md @@ -0,0 +1,20 @@ +# ansible repository + +Ansible is an automisation, provisioning and configuration management utility. + +# How to use it? + +- you need ansible installed (version 2.4, other might work as well) + +# How to setup the gsm-tester? + +`ansible-playbook -i hosts setup-gsm-tester.yml` + +Your ssh key need to be deployed on the host. +Further information on this job can be found in **setup-gsm-tester.md**. + +# How to setup a jenkin slave? + +`ansible-playbook -i hosts setup-jenkins-slave.yml` + +Further information on this job and around the setup can be found on the redmine wiki. -- To view, visit https://gerrit.osmocom.org/9276 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-ci Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: I96057bb92faa8e3375c5bad20ef1536475807b67 Gerrit-Change-Number: 9276 Gerrit-PatchSet: 1 Gerrit-Owner: lynxis lazus <lyn...@fe80.eu>
Change in osmo-sgsn[master]: gprs_subscriber: gsup_auth_error: reject MS in all cases
lynxis lazus has uploaded this change for review. ( https://gerrit.osmocom.org/9253 Change subject: gprs_subscriber: gsup_auth_error: reject MS in all cases .. gprs_subscriber: gsup_auth_error: reject MS in all cases There is no way to recover from "PROTOCOL_ERRORS". As long the error_cause is not set, the SGSN won't send out a GMM Request Reject. Fixes: TTCN: SGGN_Tests.TC_attach_auth_sai_reject Change-Id: Iefe8f05686ef4acac721f3c0672910704f3b0ff8 --- M src/gprs/gprs_subscriber.c 1 file changed, 1 insertion(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-sgsn refs/changes/53/9253/1 diff --git a/src/gprs/gprs_subscriber.c b/src/gprs/gprs_subscriber.c index bebdb1e..1bebc65 100644 --- a/src/gprs/gprs_subscriber.c +++ b/src/gprs/gprs_subscriber.c @@ -502,6 +502,7 @@ "GSUP protocol remote error, GMM cause = '%s' (%d)\n", get_value_string(gsm48_gmm_cause_names, gsup_msg->cause), gsup_msg->cause); + sdata->error_cause = gsup_msg->cause; break; } -- To view, visit https://gerrit.osmocom.org/9253 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-sgsn Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: Iefe8f05686ef4acac721f3c0672910704f3b0ff8 Gerrit-Change-Number: 9253 Gerrit-PatchSet: 1 Gerrit-Owner: lynxis lazus <lyn...@fe80.eu>
Change in osmo-sgsn[master]: gprs_gmm: Cancel Location: use detach type IMSI
lynxis lazus has uploaded this change for review. ( https://gerrit.osmocom.org/9254 Change subject: gprs_gmm: Cancel Location: use detach type IMSI .. gprs_gmm: Cancel Location: use detach type IMSI The detach type network side is defined as - Reattach required - Reattach not required - IMSI detach (after VLR failure) IMSI detach seems to be more close. Howeever the standard isn't clear about this. Change-Id: I27da6dc5165819cccd1ae0a98b132b45a01f38bb --- M src/gprs/gprs_gmm.c 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.osmocom.org:29418/osmo-sgsn refs/changes/54/9254/1 diff --git a/src/gprs/gprs_gmm.c b/src/gprs/gprs_gmm.c index 93d64a4..4593dde 100644 --- a/src/gprs/gprs_gmm.c +++ b/src/gprs/gprs_gmm.c @@ -1150,7 +1150,7 @@ get_value_string(gsm48_gmm_cause_names, gmm_cause), gmm_cause); gsm48_tx_gmm_detach_req( - ctx, GPRS_DET_T_MT_REATT_NOTREQ, gmm_cause); + ctx, GPRS_DET_T_MT_IMSI, gmm_cause); mm_ctx_cleanup_free(ctx, "auth lost"); break; -- To view, visit https://gerrit.osmocom.org/9254 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-sgsn Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: I27da6dc5165819cccd1ae0a98b132b45a01f38bb Gerrit-Change-Number: 9254 Gerrit-PatchSet: 1 Gerrit-Owner: lynxis lazus <lyn...@fe80.eu>
Change in osmo-sgsn[master]: gprs_gmm: introduce a GMM Attach Request FSM
lynxis lazus has uploaded this change for review. ( https://gerrit.osmocom.org/9257 Change subject: gprs_gmm: introduce a GMM Attach Request FSM .. gprs_gmm: introduce a GMM Attach Request FSM The old GMM Attach Request handling used a recursive function which can not handle certain states and is quite complex and hard to extend. The new FSM handles such request in a FSM and can be called multiple times. Change-Id: I58b9c17be9776a03bb2a5b21e99135cfefc8c912 --- M include/osmocom/sgsn/gprs_sgsn.h M src/gprs/Makefile.am M src/gprs/gprs_gmm.c A src/gprs/gprs_gmm_attach.c A src/gprs/gprs_gmm_attach.h M src/gprs/gprs_sgsn.c M tests/sgsn/Makefile.am 7 files changed, 404 insertions(+), 8 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-sgsn refs/changes/57/9257/1 diff --git a/include/osmocom/sgsn/gprs_sgsn.h b/include/osmocom/sgsn/gprs_sgsn.h index 64e5619..2a01a99 100644 --- a/include/osmocom/sgsn/gprs_sgsn.h +++ b/include/osmocom/sgsn/gprs_sgsn.h @@ -4,6 +4,7 @@ #include #include +#include #include #include @@ -168,6 +169,8 @@ struct ranap_ue_conn_ctx*ue_ctx; struct service_info service; } iu; + struct osmo_fsm_inst *gmm_att_req_fsm; + uint32_t gmm_att_identy_type; /* VLR number */ uint32_tnew_sgsn_addr; /* Authentication Triplet */ diff --git a/src/gprs/Makefile.am b/src/gprs/Makefile.am index 4c7f730..aa6b08c 100644 --- a/src/gprs/Makefile.am +++ b/src/gprs/Makefile.am @@ -58,6 +58,7 @@ $(NULL) osmo_sgsn_SOURCES = \ + gprs_gmm_attach.c \ gprs_gmm.c \ gprs_sgsn.c \ gprs_sndcp.c \ diff --git a/src/gprs/gprs_gmm.c b/src/gprs/gprs_gmm.c index 57d3883..4236870 100644 --- a/src/gprs/gprs_gmm.c +++ b/src/gprs/gprs_gmm.c @@ -64,6 +64,8 @@ #include +#include "gprs_gmm_attach.h" + #define PTMSI_ALLOC extern struct sgsn_instance *sgsn; @@ -791,7 +793,7 @@ /* FIXME: enable LLC cipheirng */ /* Check if we can let the mobile station enter */ - return gsm48_gmm_authorize(ctx); + return osmo_fsm_inst_dispatch(ctx->gmm_att_req_fsm, E_AUTH_RESP_RECV, NULL); } /* Section 9.4.10: Authentication and Ciphering Failure */ @@ -1107,7 +1109,10 @@ { ctx->sec_ctx = OSMO_AUTH_TYPE_NONE; - gsm48_gmm_authorize(ctx); + if (ctx->gmm_att_req_fsm->state != ST_INIT) + osmo_fsm_inst_dispatch(ctx->gmm_att_req_fsm, E_VLR_ANSWERED, (void *) 0); + else + gsm48_gmm_authorize(ctx); } void gsm0408_gprs_access_granted(struct sgsn_mm_ctx *ctx) @@ -1118,7 +1123,8 @@ "Authorized, continuing procedure, IMSI=%s\n", ctx->imsi); /* Continue with the authorization */ - gsm48_gmm_authorize(ctx); + if (ctx->gmm_att_req_fsm->state != ST_INIT) + osmo_fsm_inst_dispatch(ctx->gmm_att_req_fsm, E_VLR_ANSWERED, (void *) 0); break; default: LOGMMCTXP(LOGL_INFO, ctx, @@ -1139,8 +1145,8 @@ "with cause '%s' (%d)\n", get_value_string(gsm48_gmm_cause_names, gmm_cause), gmm_cause); - gsm48_tx_gmm_att_rej(ctx, gmm_cause); - mm_ctx_cleanup_free(ctx, "GPRS ATTACH REJECT"); + if (ctx->gmm_att_req_fsm->state != ST_INIT) + osmo_fsm_inst_dispatch(ctx->gmm_att_req_fsm, E_REJECT, (void *) (long) gmm_cause); break; case GMM_REGISTERED_NORMAL: case GMM_REGISTERED_SUSPENDED: @@ -1183,6 +1189,7 @@ { struct gsm48_hdr *gh = (struct gsm48_hdr *) msgb_gmmh(msg); uint8_t mi_type = gh->data[1] & GSM_MI_TYPE_MASK; + long mi_typel = mi_type; char mi_string[GSM48_MI_SIZE]; gsm48_mi_to_string(mi_string, sizeof(mi_string), >data[1], gh->data[0]); @@ -1235,7 +1242,7 @@ } /* Check if we can let the mobile station enter */ - return gsm48_gmm_authorize(ctx); + return osmo_fsm_inst_dispatch(ctx->gmm_att_req_fsm, E_IDEN_RESP_RECV, (void *)mi_typel); } /* Allocate a new P-TMSI and change context state */ @@ -1425,8 +1432,8 @@ gprs_llgmm_assign(ctx->gb.llme, ctx->gb.tlli, ctx->gb.tlli_new); } - ctx->pending_req = GSM48_MT_GMM_ATTACH_REQ; - return gsm48_gmm_authorize(ctx); + osmo_fsm_inst_dispatch(ctx->gmm_att_req_fsm, E_ATTACH_REQ_RECV, msg); + return 0; err_inval: LOGPC(DMM, LOGL_INFO, "\n"); @@ -2023,6 +2030,7 @@ mmctx_set_mm_state(mmctx, MM_READY); rc = 0; + osmo_fsm_inst_dispatch(mmctx->gmm_att_req_fsm, E_ATTACH_COMPLETE_RECV, 0);
Change in osmo-sgsn[master]: gprs_gmm: make functions relating to GMM Attach Request public
lynxis lazus has uploaded this change for review. ( https://gerrit.osmocom.org/9255 Change subject: gprs_gmm: make functions relating to GMM Attach Request public .. gprs_gmm: make functions relating to GMM Attach Request public GMM Attach Request will be handled in it's own file and will use those functions. Change-Id: Ic90d77f7b0bacd2a8e2e409e82d676772d352749 --- M include/osmocom/sgsn/gprs_gmm.h M src/gprs/gprs_gmm.c 2 files changed, 13 insertions(+), 5 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-sgsn refs/changes/55/9255/1 diff --git a/include/osmocom/sgsn/gprs_gmm.h b/include/osmocom/sgsn/gprs_gmm.h index 6324c5d..b89eff5 100644 --- a/include/osmocom/sgsn/gprs_gmm.h +++ b/include/osmocom/sgsn/gprs_gmm.h @@ -11,6 +11,9 @@ uint8_t cause, uint8_t pco_len, uint8_t *pco_v); int gsm48_tx_gsm_act_pdp_acc(struct sgsn_pdp_ctx *pdp); int gsm48_tx_gsm_deact_pdp_acc(struct sgsn_pdp_ctx *pdp); +int gsm48_tx_gmm_auth_ciph_req(struct sgsn_mm_ctx *mm, + const struct osmo_auth_vector *vec, + uint8_t key_seq, bool force_standby); int gsm0408_gprs_rcvmsg_gb(struct msgb *msg, struct gprs_llc_llme *llme, bool drop_cipherable); @@ -32,4 +35,9 @@ int iu_rab_act_ps(uint8_t rab_id, struct sgsn_pdp_ctx *pdp); +int gsm48_tx_gmm_id_req(struct sgsn_mm_ctx *mm, uint8_t id_type); +int gsm48_tx_gmm_att_rej(struct sgsn_mm_ctx *mm, + uint8_t gmm_cause); +int gsm48_tx_gmm_att_ack(struct sgsn_mm_ctx *mm); + #endif /* _GPRS_GMM_H */ diff --git a/src/gprs/gprs_gmm.c b/src/gprs/gprs_gmm.c index 93d64a4..df498c1 100644 --- a/src/gprs/gprs_gmm.c +++ b/src/gprs/gprs_gmm.c @@ -424,7 +424,7 @@ }; /* Chapter 9.4.2: Attach accept */ -static int gsm48_tx_gmm_att_ack(struct sgsn_mm_ctx *mm) +int gsm48_tx_gmm_att_ack(struct sgsn_mm_ctx *mm) { struct msgb *msg = gsm48_msgb_alloc_name("GSM 04.08 ATT ACK"); struct gsm48_hdr *gh; @@ -503,7 +503,7 @@ gmm_copy_id(msg, old_msg); return _tx_gmm_att_rej(msg, gmm_cause, NULL); } -static int gsm48_tx_gmm_att_rej(struct sgsn_mm_ctx *mm, +int gsm48_tx_gmm_att_rej(struct sgsn_mm_ctx *mm, uint8_t gmm_cause) { struct msgb *msg = gsm48_msgb_alloc_name("GSM 04.08 ATT REJ"); @@ -547,7 +547,7 @@ } /* Transmit Chapter 9.4.12 Identity Request */ -static int gsm48_tx_gmm_id_req(struct sgsn_mm_ctx *mm, uint8_t id_type) +int gsm48_tx_gmm_id_req(struct sgsn_mm_ctx *mm, uint8_t id_type) { struct msgb *msg = gsm48_msgb_alloc_name("GSM 04.08 ID REQ"); struct gsm48_hdr *gh; @@ -577,7 +577,7 @@ } /* 3GPP TS 24.008 Section 9.4.9: Authentication and Ciphering Request */ -static int gsm48_tx_gmm_auth_ciph_req(struct sgsn_mm_ctx *mm, +int gsm48_tx_gmm_auth_ciph_req(struct sgsn_mm_ctx *mm, const struct osmo_auth_vector *vec, uint8_t key_seq, bool force_standby) { @@ -1533,7 +1533,7 @@ } /* Chapter 9.4.17: Routing area update reject */ -static int gsm48_tx_gmm_ra_upd_rej(struct msgb *old_msg, uint8_t cause) +int gsm48_tx_gmm_ra_upd_rej(struct msgb *old_msg, uint8_t cause) { struct msgb *msg = gsm48_msgb_alloc_name("GSM 04.08 RA UPD REJ"); struct gsm48_hdr *gh; -- To view, visit https://gerrit.osmocom.org/9255 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-sgsn Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: Ic90d77f7b0bacd2a8e2e409e82d676772d352749 Gerrit-Change-Number: 9255 Gerrit-PatchSet: 1 Gerrit-Owner: lynxis lazus <lyn...@fe80.eu>
Change in osmo-sgsn[master]: gprs_gmm: make extract_subscr_msisdn extract_subscr_hlr public
lynxis lazus has uploaded this change for review. ( https://gerrit.osmocom.org/9256 Change subject: gprs_gmm: make extract_subscr_msisdn extract_subscr_hlr public .. gprs_gmm: make extract_subscr_msisdn extract_subscr_hlr public Change-Id: I54168e1a58dd36b38c53c13bbb5cdb4311f34410 --- M include/osmocom/sgsn/gprs_gmm.h M src/gprs/gprs_gmm.c 2 files changed, 5 insertions(+), 2 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-sgsn refs/changes/56/9256/1 diff --git a/include/osmocom/sgsn/gprs_gmm.h b/include/osmocom/sgsn/gprs_gmm.h index b89eff5..3c93efc 100644 --- a/include/osmocom/sgsn/gprs_gmm.h +++ b/include/osmocom/sgsn/gprs_gmm.h @@ -40,4 +40,7 @@ uint8_t gmm_cause); int gsm48_tx_gmm_att_ack(struct sgsn_mm_ctx *mm); +/* TODO: move extract_subscr_* when gsm48_gmm_authorize() got removed */ +void extract_subscr_msisdn(struct sgsn_mm_ctx *ctx); +void extract_subscr_hlr(struct sgsn_mm_ctx *ctx); #endif /* _GPRS_GMM_H */ diff --git a/src/gprs/gprs_gmm.c b/src/gprs/gprs_gmm.c index df498c1..57d3883 100644 --- a/src/gprs/gprs_gmm.c +++ b/src/gprs/gprs_gmm.c @@ -848,7 +848,7 @@ return rc; } -static void extract_subscr_msisdn(struct sgsn_mm_ctx *ctx) +void extract_subscr_msisdn(struct sgsn_mm_ctx *ctx) { struct gsm_mncc_number called; uint8_t msisdn[sizeof(ctx->subscr->sgsn_data->msisdn) + 1]; @@ -879,7 +879,7 @@ } } -static void extract_subscr_hlr(struct sgsn_mm_ctx *ctx) +void extract_subscr_hlr(struct sgsn_mm_ctx *ctx) { struct gsm_mncc_number called; uint8_t hlr_number[sizeof(ctx->subscr->sgsn_data->hlr) + 1]; -- To view, visit https://gerrit.osmocom.org/9256 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-sgsn Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: I54168e1a58dd36b38c53c13bbb5cdb4311f34410 Gerrit-Change-Number: 9256 Gerrit-PatchSet: 1 Gerrit-Owner: lynxis lazus <lyn...@fe80.eu>
Change in osmo-ttcn3-hacks[master]: *.default: change logging filemask from ERROR | WARNING to += PARALLE...
lynxis lazus has uploaded this change for review. ( https://gerrit.osmocom.org/9556 Change subject: *.default: change logging filemask from ERROR | WARNING to += PARALLEL | VERDICTOP .. *.default: change logging filemask from ERROR | WARNING to += PARALLEL | VERDICTOP PARALLEL | VERDICTOP will log when the port is dying or when other components will change to fail. This helped to find a timeout in the SGSN tests where a function call message timed out. Change-Id: I770ac964dc37e2752e7d35e493f707b091c739b0 --- M bsc/BSC_Tests.default M bts/BTS_Tests.default M msc/MSC_Tests.default M sgsn/SGSN_Tests.default M sip/SIP_Tests.default 5 files changed, 23 insertions(+), 23 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/56/9556/1 diff --git a/bsc/BSC_Tests.default b/bsc/BSC_Tests.default index 6ba9ea2..c13f7b0 100644 --- a/bsc/BSC_Tests.default +++ b/bsc/BSC_Tests.default @@ -1,10 +1,10 @@ [LOGGING] BSSAP.FileMask := LOG_NOTHING; -"VirtMSC-M3UA".FileMask := ERROR | WARNING; -"VirtMSC-SCCP".FileMask := ERROR | WARNING; -"VirtMSC-MGCP".FileMask := ERROR | WARNING; -"IPA0-RSL-IPA".FileMask := ERROR | WARNING; -"IPA0-CTRL-IPA".FileMask := ERROR | WARNING; +"VirtMSC-M3UA".FileMask := ERROR | WARNING | PARALLEL | VERDICTOP; +"VirtMSC-SCCP".FileMask := ERROR | WARNING | PARALLEL | VERDICTOP; +"VirtMSC-MGCP".FileMask := ERROR | WARNING | PARALLEL | VERDICTOP; +"IPA0-RSL-IPA".FileMask := ERROR | WARNING | PARALLEL | VERDICTOP; +"IPA0-CTRL-IPA".FileMask := ERROR | WARNING | PARALLEL | VERDICTOP; mtc.FileMask := LOG_ALL | TTCN_DEBUG | TTCN_MATCHING | DEBUG_ENCDEC; [TESTPORT_PARAMETERS] diff --git a/bts/BTS_Tests.default b/bts/BTS_Tests.default index 196d088..502c17f 100644 --- a/bts/BTS_Tests.default +++ b/bts/BTS_Tests.default @@ -1,7 +1,7 @@ [LOGGING] -"BTS-Test-RSL-IPA".FileMask := ERROR | WARNING; -"BTS-Test-RSL".FileMask := ERROR | WARNING; -"IPA0-CTRL-IPA".FileMask := ERROR | WARNING; +"BTS-Test-RSL-IPA".FileMask := ERROR | WARNING | PARALLEL | VERDICTOP; +"BTS-Test-RSL".FileMask := ERROR | WARNING | PARALLEL | VERDICTOP; +"IPA0-CTRL-IPA".FileMask := ERROR | WARNING | PARALLEL | VERDICTOP; mtc.FileMask := LOG_ALL | TTCN_DEBUG | TTCN_MATCHING | DEBUG_ENCDEC; [TESTPORT_PARAMETERS] diff --git a/msc/MSC_Tests.default b/msc/MSC_Tests.default index e8508c2..bcaae06 100644 --- a/msc/MSC_Tests.default +++ b/msc/MSC_Tests.default @@ -2,14 +2,14 @@ FileMask := LOG_ALL | TTCN_MATCHING; BSSAP.FileMask := LOG_NOTHING; -"MSC_Test_0-M3UA".FileMask := ERROR | WARNING; -"MSC_Test_0-SCCP".FileMask := ERROR | WARNING; -"MSC_Test_1-M3UA".FileMask := ERROR | WARNING; -"MSC_Test_1-SCCP".FileMask := ERROR | WARNING; -"MSC_Test-GSUP-IPA".FileMask := ERROR | WARNING; -"MSC_Test-GSUP".FileMask := ERROR | WARNING; -"IPA-CTRL-IPA".FileMask := ERROR | WARNING; -mtc.FileMask := ERROR | WARNING; +"MSC_Test_0-M3UA".FileMask := ERROR | WARNING | PARALLEL | VERDICTOP; +"MSC_Test_0-SCCP".FileMask := ERROR | WARNING | PARALLEL | VERDICTOP; +"MSC_Test_1-M3UA".FileMask := ERROR | WARNING | PARALLEL | VERDICTOP; +"MSC_Test_1-SCCP".FileMask := ERROR | WARNING | PARALLEL | VERDICTOP; +"MSC_Test-GSUP-IPA".FileMask := ERROR | WARNING | PARALLEL | VERDICTOP; +"MSC_Test-GSUP".FileMask := ERROR | WARNING | PARALLEL | VERDICTOP; +"IPA-CTRL-IPA".FileMask := ERROR | WARNING | PARALLEL | VERDICTOP; +mtc.FileMask := ERROR | WARNING | PARALLEL | VERDICTOP; [TESTPORT_PARAMETERS] "MSC_Test-MNCC".MNCC.socket_type := "SEQPACKET"; diff --git a/sgsn/SGSN_Tests.default b/sgsn/SGSN_Tests.default index 67a8032..bac5fdd 100644 --- a/sgsn/SGSN_Tests.default +++ b/sgsn/SGSN_Tests.default @@ -1,11 +1,11 @@ [LOGGING] FileMask := LOG_ALL | TTCN_MATCHING; -"IPA-CTRL-IPA".FileMask := ERROR | WARNING; -"SGSN_Test-GSUP-IPA".FileMask := ERROR | WARNING; -"SGSN_Test-Gb0-NS".FileMask := ERROR | WARNING; -"SGSN_Test-Gb0-BSSGP".FileMask := ERROR | WARNING; -"SGSN_Test-GSUP".FileMask := ERROR | WARNING; +"IPA-CTRL-IPA".FileMask := ERROR | WARNING | PARALLEL | VERDICTOP; +"SGSN_Test-GSUP-IPA".FileMask := ERROR | WARNING | PARALLEL | VERDICTOP; +"SGSN_Test-Gb0-NS".FileMask := ERROR | WARNING | PARALLEL | VERDICTOP; +"SGSN_Test-Gb0-BSSGP".FileMask := ERROR | WARNING | PARALLEL | VERDICTOP; +"SGSN_Test-GSUP".FileMask := ERROR | WARNING | PARALLEL | VERDICTOP; [TESTPORT_PARAMETERS] *.SGSNVTY.CTRL_MODE := "client" diff --git a/sip/SIP_Tests.default b/sip/SIP_Tests.default index 5f7de90..2576b33 100644 --- a/sip/SIP_Tests.default +++ b/s
Change in osmo-ttcn3-hacks[master]: sgsn: TC_hlr_location_cancel_*: 5 seconds timeout is to short
lynxis lazus has uploaded this change for review. ( https://gerrit.osmocom.org/9560 Change subject: sgsn: TC_hlr_location_cancel_*: 5 seconds timeout is to short .. sgsn: TC_hlr_location_cancel_*: 5 seconds timeout is to short Increase the timeout to 10 seconds. These tests fails on jenkins. Change-Id: I56a62e70763b7c331fc528cd7e4064a5ec9f2a04 --- M sgsn/SGSN_Tests.ttcn 1 file changed, 3 insertions(+), 3 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/60/9560/1 diff --git a/sgsn/SGSN_Tests.ttcn b/sgsn/SGSN_Tests.ttcn index f8ce5e7..4dab9a8 100644 --- a/sgsn/SGSN_Tests.ttcn +++ b/sgsn/SGSN_Tests.ttcn @@ -1381,9 +1381,9 @@ execute( TC_attach_accept_all() ); execute( TC_attach_closed() ); execute( TC_hlr_location_cancel_request_update(), 10.0 ); - execute( TC_hlr_location_cancel_request_withdraw(), 5.0 ); - execute( TC_hlr_location_cancel_request_unknown_subscriber_withdraw(), 5.0 ); - execute( TC_hlr_location_cancel_request_unknown_subscriber_update(), 5.0 ); + execute( TC_hlr_location_cancel_request_withdraw(), 10.0 ); + execute( TC_hlr_location_cancel_request_unknown_subscriber_withdraw(), 10.0 ); + execute( TC_hlr_location_cancel_request_unknown_subscriber_update(), 10.0 ); execute( TC_rau_unknown() ); execute( TC_attach_rau() ); execute( TC_detach_unknown_nopoweroff() ); -- To view, visit https://gerrit.osmocom.org/9560 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-ttcn3-hacks Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: I56a62e70763b7c331fc528cd7e4064a5ec9f2a04 Gerrit-Change-Number: 9560 Gerrit-PatchSet: 1 Gerrit-Owner: lynxis lazus