Build failed in Jenkins: master-simtrace2 ยป a1=default,a2=default,a3=default,a4=default,osmocom-master-debian9 #1008

2020-12-01 Thread jenkins
See 


Changes:


--
[...truncated 137.65 KB...]
UART_RX(00)
UART_RX(00)
UART_RX(07)
uart_enable(uart_chan=42, TX)
-I- 0: send_tpdu_header: a0 d2 00 00 07
-I- 0: flush_rx_buffer (5)
[L1]> 01 06 00 00 00 00 13 00 [L2]> 01 00 00 00 05 00 a0 d2 00 00 07 
flags=1, data= a0 d2 00 00 07
UART_TX(d2)
uart_enable(uart_chan=42, RX)
UART_RX(00)
UART_RX(01)
UART_RX(02)
UART_RX(03)
UART_RX(04)
UART_RX(05)
UART_RX(06)
-I- 0: flush_rx_buffer (7)
[L1]> 01 06 00 00 00 00 15 00 [L2]> 02 00 00 00 07 00 00 01 02 03 04 05 06 
flags=2, data= 00 01 02 03 04 05 06
UART_TX(90)
UART_TX(00)
uart_enable(uart_chan=42, RX)
uart_enable(uart_chan=42, RX)
-I- 0: CLK deactivated
-I- 0: CLK activated

==> transmitting APDU (HDR + PB + card-TX)
UART_RX(a0)
UART_RX(b2)
UART_RX(00)
UART_RX(00)
UART_RX(0a)
uart_enable(uart_chan=42, TX)
-I- 0: send_tpdu_header: a0 b2 00 00 0a
-I- 0: flush_rx_buffer (5)
[L1]> 01 06 00 00 00 00 13 00 [L2]> 01 00 00 00 05 00 a0 b2 00 00 0a 
flags=1, data= a0 b2 00 00 0a
UART_TX(b2)
UART_TX(00)
UART_TX(01)
UART_TX(02)
UART_TX(03)
UART_TX(04)
UART_TX(05)
UART_TX(06)
UART_TX(07)
UART_TX(08)
UART_TX(09)
UART_TX(90)
UART_TX(00)
uart_enable(uart_chan=42, RX)
uart_enable(uart_chan=42, RX)
-I- 0: CLK deactivated
-I- 0: CLK activated

=== HOST START  ==
aclocal: warning: couldn't open directory 'm4': No such file or directory
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
configure.ac:20: installing './compile'
configure.ac:22: installing './config.guess'
configure.ac:22: installing './config.sub'
configure.ac:8: installing './install-sh'
configure.ac:8: installing './missing'
lib/Makefile.am: installing './depcomp'
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking whether make sets $(MAKE)... (cached) yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu 
format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... 
func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for 

Build failure of network:osmocom:nightly/osmo-remsim in Debian_Unstable/x86_64

2020-12-01 Thread OBS Notification
Visit 
https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/osmo-remsim/Debian_Unstable/x86_64

Package network:osmocom:nightly/osmo-remsim failed to build in 
Debian_Unstable/x86_64

Check out the package for editing:
  osc checkout network:osmocom:nightly osmo-remsim

Last lines of build log:
[  237s] [459/526] installing python3.9-3.9.1~rc1-2
[  239s] Processing triggers for mailcap (3.67) ...
[  239s] Processing triggers for man-db (2.9.3-2) ...
[  239s] [460/526] installing texlive-plain-generic-2020.20201129-1
[  243s] Processing triggers for tex-common (6.15) ...
[  243s] Running mktexlsr. This may take some time... done.
[  243s] [461/526] installing texlive-latex-base-2020.20201129-2
[  244s] Processing triggers for man-db (2.9.3-2) ...
[  244s] Processing triggers for tex-common (6.15) ...
[  245s] Running mktexlsr. This may take some time... done.
[  245s] Running updmap-sys. This may take some time... done.
[  245s] Running mktexlsr /var/lib/texmf ... done.
[  245s] Building format(s) --all.
[  255s]This may take some time... 
[  255s] fmtutil failed. Output has been stored in
[  255s] /tmp/fmtutil.0i2sfw7k
[  255s] Please include this file if you report a bug.
[  255s] dpkg: error processing package tex-common (--install):
[  255s]  installed tex-common package post-installation script subprocess 
returned error exit status 1
[  255s] Errors were encountered while processing:
[  255s]  tex-common
[  255s] exit ...
[  255s] ### VM INTERACTION START ###
[  258s] [  235.013038] sysrq: Power Off
[  258s] [  235.019669] reboot: Power down
[  258s] ### VM INTERACTION END ###
[  258s] 
[  258s] cumulus3 failed "build osmo-remsim_0.2.2.103.dc34.dsc" at Wed Dec  2 
06:16:21 UTC 2020.
[  258s] 

-- 
Configure notifications at https://build.opensuse.org/my/subscriptions
openSUSE Build Service (https://build.opensuse.org/)


Build failure of network:osmocom:latest/osmo-msc in Debian_Unstable/x86_64

2020-12-01 Thread OBS Notification
Visit 
https://build.opensuse.org/package/live_build_log/network:osmocom:latest/osmo-msc/Debian_Unstable/x86_64

Package network:osmocom:latest/osmo-msc failed to build in 
Debian_Unstable/x86_64

Check out the package for editing:
  osc checkout network:osmocom:latest osmo-msc

Last lines of build log:
[  179s] Processing triggers for mailcap (3.67) ...
[  179s] Processing triggers for man-db (2.9.3-2) ...
[  180s] [449/514] installing texlive-plain-generic-2020.20201129-1
[  183s] Processing triggers for tex-common (6.15) ...
[  184s] Running mktexlsr. This may take some time... done.
[  184s] [450/514] installing libosmo-netif-dev-1.0.0
[  184s] [451/514] installing texlive-latex-base-2020.20201129-2
[  184s] Processing triggers for man-db (2.9.3-2) ...
[  184s] Processing triggers for tex-common (6.15) ...
[  185s] Running mktexlsr. This may take some time... done.
[  185s] Running updmap-sys. This may take some time... done.
[  185s] Running mktexlsr /var/lib/texmf ... done.
[  185s] Building format(s) --all.
[  194s]This may take some time... 
[  194s] fmtutil failed. Output has been stored in
[  194s] /tmp/fmtutil.tzTakjUE
[  194s] Please include this file if you report a bug.
[  194s] dpkg: error processing package tex-common (--install):
[  194s]  installed tex-common package post-installation script subprocess 
returned error exit status 1
[  194s] Errors were encountered while processing:
[  194s]  tex-common
[  194s] exit ...
[  194s] ### VM INTERACTION START ###
[  197s] [  161.451102] sysrq: Power Off
[  197s] [  161.456401] reboot: Power down
[  197s] ### VM INTERACTION END ###
[  197s] 
[  197s] cloud128 failed "build osmo-msc_1.6.3.dsc" at Wed Dec  2 05:36:03 UTC 
2020.
[  197s] 

-- 
Configure notifications at https://build.opensuse.org/my/subscriptions
openSUSE Build Service (https://build.opensuse.org/)


Build failure of network:osmocom:latest/osmo-sgsn in Debian_Unstable/x86_64

2020-12-01 Thread OBS Notification
Visit 
https://build.opensuse.org/package/live_build_log/network:osmocom:latest/osmo-sgsn/Debian_Unstable/x86_64

Package network:osmocom:latest/osmo-sgsn failed to build in 
Debian_Unstable/x86_64

Check out the package for editing:
  osc checkout network:osmocom:latest osmo-sgsn

Last lines of build log:
[  111s] Processing triggers for mailcap (3.67) ...
[  111s] Processing triggers for man-db (2.9.3-2) ...
[  111s] [447/511] installing texlive-plain-generic-2020.20201129-1
[  114s] Processing triggers for tex-common (6.15) ...
[  114s] Running mktexlsr. This may take some time... done.
[  114s] [448/511] installing libosmo-netif-dev-1.0.0
[  114s] [449/511] installing texlive-latex-base-2020.20201129-2
[  114s] Processing triggers for man-db (2.9.3-2) ...
[  115s] Processing triggers for tex-common (6.15) ...
[  115s] Running mktexlsr. This may take some time... done.
[  115s] Running updmap-sys. This may take some time... done.
[  115s] Running mktexlsr /var/lib/texmf ... done.
[  115s] Building format(s) --all.
[  122s]This may take some time... 
[  122s] fmtutil failed. Output has been stored in
[  122s] /tmp/fmtutil.VCsfa0cK
[  122s] Please include this file if you report a bug.
[  122s] dpkg: error processing package tex-common (--install):
[  122s]  installed tex-common package post-installation script subprocess 
returned error exit status 1
[  122s] Errors were encountered while processing:
[  122s]  tex-common
[  122s] exit ...
[  122s] ### VM INTERACTION START ###
[  125s] [  112.34] sysrq: Power Off
[  125s] [  112.112942] reboot: Power down
[  125s] ### VM INTERACTION END ###
[  125s] 
[  125s] build82 failed "build osmo-sgsn_1.6.2.dsc" at Wed Dec  2 05:34:33 UTC 
2020.
[  125s] 

-- 
Configure notifications at https://build.opensuse.org/my/subscriptions
openSUSE Build Service (https://build.opensuse.org/)


Build failure of network:osmocom:latest/osmo-bsc in Debian_Unstable/x86_64

2020-12-01 Thread OBS Notification
Visit 
https://build.opensuse.org/package/live_build_log/network:osmocom:latest/osmo-bsc/Debian_Unstable/x86_64

Package network:osmocom:latest/osmo-bsc failed to build in 
Debian_Unstable/x86_64

Check out the package for editing:
  osc checkout network:osmocom:latest osmo-bsc

Last lines of build log:
[  466s] Processing triggers for mailcap (3.67) ...
[  466s] Processing triggers for man-db (2.9.3-2) ...
[  468s] [439/505] installing texlive-plain-generic-2020.20201129-1
[  476s] Processing triggers for tex-common (6.15) ...
[  476s] Running mktexlsr. This may take some time... done.
[  476s] [440/505] installing libosmo-netif-dev-1.0.0
[  476s] [441/505] installing texlive-latex-base-2020.20201129-2
[  478s] Processing triggers for man-db (2.9.3-2) ...
[  480s] Processing triggers for tex-common (6.15) ...
[  480s] Running mktexlsr. This may take some time... done.
[  481s] Running updmap-sys. This may take some time... done.
[  481s] Running mktexlsr /var/lib/texmf ... done.
[  481s] Building format(s) --all.
[  493s]This may take some time... 
[  493s] fmtutil failed. Output has been stored in
[  493s] /tmp/fmtutil.onRbrzKz
[  493s] Please include this file if you report a bug.
[  493s] dpkg: error processing package tex-common (--install):
[  493s]  installed tex-common package post-installation script subprocess 
returned error exit status 1
[  493s] Errors were encountered while processing:
[  493s]  tex-common
[  493s] exit ...
[  493s] ### VM INTERACTION START ###
[  496s] [  459.615406] sysrq: Power Off
[  496s] [  459.654484] reboot: Power down
[  496s] ### VM INTERACTION END ###
[  497s] 
[  497s] lamb52 failed "build osmo-bsc_1.6.1.dsc" at Wed Dec  2 05:25:12 UTC 
2020.
[  497s] 

-- 
Configure notifications at https://build.opensuse.org/my/subscriptions
openSUSE Build Service (https://build.opensuse.org/)


Build failure of network:osmocom:latest/osmo-remsim in Debian_Unstable/x86_64

2020-12-01 Thread OBS Notification
Visit 
https://build.opensuse.org/package/live_build_log/network:osmocom:latest/osmo-remsim/Debian_Unstable/x86_64

Package network:osmocom:latest/osmo-remsim failed to build in 
Debian_Unstable/x86_64

Check out the package for editing:
  osc checkout network:osmocom:latest osmo-remsim

Last lines of build log:
[  250s] [457/524] installing python3.9-3.9.1~rc1-2
[  251s] Processing triggers for mailcap (3.67) ...
[  251s] Processing triggers for man-db (2.9.3-2) ...
[  251s] [458/524] installing texlive-plain-generic-2020.20201129-1
[  255s] Processing triggers for tex-common (6.15) ...
[  255s] Running mktexlsr. This may take some time... done.
[  255s] [459/524] installing texlive-latex-base-2020.20201129-2
[  256s] Processing triggers for man-db (2.9.3-2) ...
[  256s] Processing triggers for tex-common (6.15) ...
[  256s] Running mktexlsr. This may take some time... done.
[  257s] Running updmap-sys. This may take some time... done.
[  257s] Running mktexlsr /var/lib/texmf ... done.
[  257s] Building format(s) --all.
[  266s]This may take some time... 
[  266s] fmtutil failed. Output has been stored in
[  266s] /tmp/fmtutil.TxVwlpLl
[  266s] Please include this file if you report a bug.
[  266s] dpkg: error processing package tex-common (--install):
[  266s]  installed tex-common package post-installation script subprocess 
returned error exit status 1
[  266s] Errors were encountered while processing:
[  266s]  tex-common
[  266s] exit ...
[  266s] ### VM INTERACTION START ###
[  269s] [  247.848383] sysrq: Power Off
[  269s] [  247.854476] reboot: Power down
[  269s] ### VM INTERACTION END ###
[  269s] 
[  269s] lamb04 failed "build osmo-remsim_0.2.3.dsc" at Wed Dec  2 05:22:02 UTC 
2020.
[  269s] 

-- 
Configure notifications at https://build.opensuse.org/my/subscriptions
openSUSE Build Service (https://build.opensuse.org/)


Build failure of network:osmocom:latest/osmo-sip-connector in Debian_Unstable/x86_64

2020-12-01 Thread OBS Notification
Visit 
https://build.opensuse.org/package/live_build_log/network:osmocom:latest/osmo-sip-connector/Debian_Unstable/x86_64

Package network:osmocom:latest/osmo-sip-connector failed to build in 
Debian_Unstable/x86_64

Check out the package for editing:
  osc checkout network:osmocom:latest osmo-sip-connector

Last lines of build log:
[  194s] [438/513] installing python3.9-3.9.1~rc1-2
[  195s] Processing triggers for mailcap (3.67) ...
[  195s] Processing triggers for man-db (2.9.3-2) ...
[  196s] [439/513] installing texlive-plain-generic-2020.20201129-1
[  200s] Processing triggers for tex-common (6.15) ...
[  200s] Running mktexlsr. This may take some time... done.
[  200s] [440/513] installing texlive-latex-base-2020.20201129-2
[  200s] Processing triggers for man-db (2.9.3-2) ...
[  201s] Processing triggers for tex-common (6.15) ...
[  201s] Running mktexlsr. This may take some time... done.
[  202s] Running updmap-sys. This may take some time... done.
[  202s] Running mktexlsr /var/lib/texmf ... done.
[  202s] Building format(s) --all.
[  210s]This may take some time... 
[  210s] fmtutil failed. Output has been stored in
[  210s] /tmp/fmtutil.jUqkW3ze
[  210s] Please include this file if you report a bug.
[  210s] dpkg: error processing package tex-common (--install):
[  210s]  installed tex-common package post-installation script subprocess 
returned error exit status 1
[  210s] Errors were encountered while processing:
[  210s]  tex-common
[  210s] exit ...
[  210s] ### VM INTERACTION START ###
[  213s] [  177.387035] sysrq: Power Off
[  213s] [  177.391551] reboot: Power down
[  213s] ### VM INTERACTION END ###
[  213s] 
[  213s] cloud107 failed "build osmo-sip-connector_1.4.1.dsc" at Wed Dec  2 
05:20:07 UTC 2020.
[  213s] 

-- 
Configure notifications at https://build.opensuse.org/my/subscriptions
openSUSE Build Service (https://build.opensuse.org/)


Build failure of network:osmocom:latest/osmo-trx in Debian_Unstable/x86_64

2020-12-01 Thread OBS Notification
Visit 
https://build.opensuse.org/package/live_build_log/network:osmocom:latest/osmo-trx/Debian_Unstable/x86_64

Package network:osmocom:latest/osmo-trx failed to build in 
Debian_Unstable/x86_64

Check out the package for editing:
  osc checkout network:osmocom:latest osmo-trx

Last lines of build log:
[  236s] Processing triggers for man-db (2.9.3-2) ...
[  236s] [507/654] installing texlive-plain-generic-2020.20201129-1
[  240s] Processing triggers for tex-common (6.15) ...
[  240s] Running mktexlsr. This may take some time... done.
[  240s] [508/654] installing libpython3.9-3.9.1~rc1-2
[  240s] Processing triggers for libc-bin (2.31-5) ...
[  240s] [509/654] installing texlive-latex-base-2020.20201129-2
[  241s] Processing triggers for man-db (2.9.3-2) ...
[  241s] Processing triggers for tex-common (6.15) ...
[  241s] Running mktexlsr. This may take some time... done.
[  242s] Running updmap-sys. This may take some time... done.
[  242s] Running mktexlsr /var/lib/texmf ... done.
[  242s] Building format(s) --all.
[  250s]This may take some time... 
[  250s] fmtutil failed. Output has been stored in
[  250s] /tmp/fmtutil.HY6PjTcw
[  250s] Please include this file if you report a bug.
[  250s] dpkg: error processing package tex-common (--install):
[  250s]  installed tex-common package post-installation script subprocess 
returned error exit status 1
[  250s] Errors were encountered while processing:
[  250s]  tex-common
[  250s] exit ...
[  250s] ### VM INTERACTION START ###
[  254s] [  233.195930] sysrq: Power Off
[  254s] [  233.200410] reboot: Power down
[  254s] ### VM INTERACTION END ###
[  254s] 
[  254s] lamb28 failed "build osmo-trx_1.2.0.dsc" at Wed Dec  2 05:08:00 UTC 
2020.
[  254s] 

-- 
Configure notifications at https://build.opensuse.org/my/subscriptions
openSUSE Build Service (https://build.opensuse.org/)


Build failure of network:osmocom:latest/osmo-bts in Debian_Unstable/x86_64

2020-12-01 Thread OBS Notification
Visit 
https://build.opensuse.org/package/live_build_log/network:osmocom:latest/osmo-bts/Debian_Unstable/x86_64

Package network:osmocom:latest/osmo-bts failed to build in 
Debian_Unstable/x86_64

Check out the package for editing:
  osc checkout network:osmocom:latest osmo-bts

Last lines of build log:
[  199s] [436/499] installing python3.9-3.9.1~rc1-2
[  200s] Processing triggers for mailcap (3.67) ...
[  200s] Processing triggers for man-db (2.9.3-2) ...
[  201s] [437/499] installing texlive-plain-generic-2020.20201129-1
[  205s] Processing triggers for tex-common (6.15) ...
[  205s] Running mktexlsr. This may take some time... done.
[  205s] [438/499] installing texlive-latex-base-2020.20201129-2
[  205s] Processing triggers for man-db (2.9.3-2) ...
[  206s] Processing triggers for tex-common (6.15) ...
[  206s] Running mktexlsr. This may take some time... done.
[  207s] Running updmap-sys. This may take some time... done.
[  207s] Running mktexlsr /var/lib/texmf ... done.
[  207s] Building format(s) --all.
[  216s]This may take some time... 
[  216s] fmtutil failed. Output has been stored in
[  216s] /tmp/fmtutil.dPEnELL2
[  216s] Please include this file if you report a bug.
[  216s] dpkg: error processing package tex-common (--install):
[  216s]  installed tex-common package post-installation script subprocess 
returned error exit status 1
[  216s] Errors were encountered while processing:
[  216s]  tex-common
[  216s] exit ...
[  216s] ### VM INTERACTION START ###
[  219s] [  174.718157] sysrq: Power Off
[  219s] [  174.723767] reboot: Power down
[  219s] ### VM INTERACTION END ###
[  219s] 
[  219s] cloud116 failed "build osmo-bts_1.2.2.dsc" at Wed Dec  2 05:06:48 UTC 
2020.
[  219s] 

-- 
Configure notifications at https://build.opensuse.org/my/subscriptions
openSUSE Build Service (https://build.opensuse.org/)


Build failure of network:osmocom:latest/osmo-e1d in Debian_Unstable/x86_64

2020-12-01 Thread OBS Notification
Visit 
https://build.opensuse.org/package/live_build_log/network:osmocom:latest/osmo-e1d/Debian_Unstable/x86_64

Package network:osmocom:latest/osmo-e1d failed to build in 
Debian_Unstable/x86_64

Check out the package for editing:
  osc checkout network:osmocom:latest osmo-e1d

Last lines of build log:
[  193s] [425/488] installing python3.9-3.9.1~rc1-2
[  194s] Processing triggers for mailcap (3.67) ...
[  194s] Processing triggers for man-db (2.9.3-2) ...
[  195s] [426/488] installing texlive-plain-generic-2020.20201129-1
[  198s] Processing triggers for tex-common (6.15) ...
[  199s] Running mktexlsr. This may take some time... done.
[  199s] [427/488] installing texlive-latex-base-2020.20201129-2
[  199s] Processing triggers for man-db (2.9.3-2) ...
[  199s] Processing triggers for tex-common (6.15) ...
[  200s] Running mktexlsr. This may take some time... done.
[  200s] Running updmap-sys. This may take some time... done.
[  200s] Running mktexlsr /var/lib/texmf ... done.
[  200s] Building format(s) --all.
[  209s]This may take some time... 
[  209s] fmtutil failed. Output has been stored in
[  209s] /tmp/fmtutil.xezkY5iS
[  209s] Please include this file if you report a bug.
[  209s] dpkg: error processing package tex-common (--install):
[  209s]  installed tex-common package post-installation script subprocess 
returned error exit status 1
[  209s] Errors were encountered while processing:
[  209s]  tex-common
[  209s] exit ...
[  209s] ### VM INTERACTION START ###
[  213s] [  193.882209] sysrq: Power Off
[  213s] [  193.893576] reboot: Power down
[  213s] ### VM INTERACTION END ###
[  213s] 
[  213s] lamb16 failed "build osmo-e1d_0.1.1.dsc" at Wed Dec  2 05:05:08 UTC 
2020.
[  213s] 

-- 
Configure notifications at https://build.opensuse.org/my/subscriptions
openSUSE Build Service (https://build.opensuse.org/)


Build failure of network:osmocom:latest/osmo-pcu in Debian_Unstable/x86_64

2020-12-01 Thread OBS Notification
Visit 
https://build.opensuse.org/package/live_build_log/network:osmocom:latest/osmo-pcu/Debian_Unstable/x86_64

Package network:osmocom:latest/osmo-pcu failed to build in 
Debian_Unstable/x86_64

Check out the package for editing:
  osc checkout network:osmocom:latest osmo-pcu

Last lines of build log:
[  174s] [425/488] installing python3.9-3.9.1~rc1-2
[  176s] Processing triggers for mailcap (3.67) ...
[  176s] Processing triggers for man-db (2.9.3-2) ...
[  176s] [426/488] installing texlive-plain-generic-2020.20201129-1
[  180s] Processing triggers for tex-common (6.15) ...
[  180s] Running mktexlsr. This may take some time... done.
[  180s] [427/488] installing texlive-latex-base-2020.20201129-2
[  180s] Processing triggers for man-db (2.9.3-2) ...
[  181s] Processing triggers for tex-common (6.15) ...
[  181s] Running mktexlsr. This may take some time... done.
[  182s] Running updmap-sys. This may take some time... done.
[  182s] Running mktexlsr /var/lib/texmf ... done.
[  182s] Building format(s) --all.
[  190s]This may take some time... 
[  190s] fmtutil failed. Output has been stored in
[  190s] /tmp/fmtutil.SI2syT9z
[  190s] Please include this file if you report a bug.
[  190s] dpkg: error processing package tex-common (--install):
[  190s]  installed tex-common package post-installation script subprocess 
returned error exit status 1
[  190s] Errors were encountered while processing:
[  190s]  tex-common
[  190s] exit ...
[  190s] ### VM INTERACTION START ###
[  193s] [  174.079212] sysrq: Power Off
[  193s] [  174.085202] reboot: Power down
[  193s] ### VM INTERACTION END ###
[  193s] 
[  193s] lamb09 failed "build osmo-pcu_0.8.0.dsc" at Wed Dec  2 05:05:38 UTC 
2020.
[  193s] 

-- 
Configure notifications at https://build.opensuse.org/my/subscriptions
openSUSE Build Service (https://build.opensuse.org/)


Build failure of network:osmocom:latest/osmo-ggsn in Debian_Unstable/x86_64

2020-12-01 Thread OBS Notification
Visit 
https://build.opensuse.org/package/live_build_log/network:osmocom:latest/osmo-ggsn/Debian_Unstable/x86_64

Package network:osmocom:latest/osmo-ggsn failed to build in 
Debian_Unstable/x86_64

Check out the package for editing:
  osc checkout network:osmocom:latest osmo-ggsn

Last lines of build log:
[  479s] [427/490] installing python3.9-3.9.1~rc1-2
[  481s] Processing triggers for mailcap (3.67) ...
[  481s] Processing triggers for man-db (2.9.3-2) ...
[  483s] [428/490] installing texlive-plain-generic-2020.20201129-1
[  492s] Processing triggers for tex-common (6.15) ...
[  492s] Running mktexlsr. This may take some time... done.
[  492s] [429/490] installing texlive-latex-base-2020.20201129-2
[  493s] Processing triggers for man-db (2.9.3-2) ...
[  494s] Processing triggers for tex-common (6.15) ...
[  495s] Running mktexlsr. This may take some time... done.
[  496s] Running updmap-sys. This may take some time... done.
[  496s] Running mktexlsr /var/lib/texmf ... done.
[  496s] Building format(s) --all.
[  509s]This may take some time... 
[  509s] fmtutil failed. Output has been stored in
[  509s] /tmp/fmtutil.w83KL3Ze
[  509s] Please include this file if you report a bug.
[  509s] dpkg: error processing package tex-common (--install):
[  509s]  installed tex-common package post-installation script subprocess 
returned error exit status 1
[  509s] Errors were encountered while processing:
[  509s]  tex-common
[  509s] exit ...
[  509s] ### VM INTERACTION START ###
[  512s] [  465.383759] sysrq: Power Off
[  512s] [  465.402432] reboot: Power down
[  512s] ### VM INTERACTION END ###
[  512s] 
[  512s] lamb52 failed "build osmo-ggsn_1.6.0.dsc" at Wed Dec  2 05:02:54 UTC 
2020.
[  512s] 

-- 
Configure notifications at https://build.opensuse.org/my/subscriptions
openSUSE Build Service (https://build.opensuse.org/)


Build failure of network:osmocom:latest/libosmo-sccp in Debian_Unstable/x86_64

2020-12-01 Thread OBS Notification
Visit 
https://build.opensuse.org/package/live_build_log/network:osmocom:latest/libosmo-sccp/Debian_Unstable/x86_64

Package network:osmocom:latest/libosmo-sccp failed to build in 
Debian_Unstable/x86_64

Check out the package for editing:
  osc checkout network:osmocom:latest libosmo-sccp

Last lines of build log:
[  271s] Processing triggers for mailcap (3.67) ...
[  271s] Processing triggers for man-db (2.9.3-2) ...
[  272s] [436/500] installing texlive-plain-generic-2020.20201129-1
[  278s] Processing triggers for tex-common (6.15) ...
[  279s] Running mktexlsr. This may take some time... done.
[  279s] [437/500] installing libosmo-netif-dev-1.0.0
[  279s] [438/500] installing texlive-latex-base-2020.20201129-2
[  280s] Processing triggers for man-db (2.9.3-2) ...
[  280s] Processing triggers for tex-common (6.15) ...
[  281s] Running mktexlsr. This may take some time... done.
[  281s] Running updmap-sys. This may take some time... done.
[  281s] Running mktexlsr /var/lib/texmf ... done.
[  282s] Building format(s) --all.
[  290s]This may take some time... 
[  290s] fmtutil failed. Output has been stored in
[  290s] /tmp/fmtutil.sNvpy0oG
[  290s] Please include this file if you report a bug.
[  290s] dpkg: error processing package tex-common (--install):
[  290s]  installed tex-common package post-installation script subprocess 
returned error exit status 1
[  290s] Errors were encountered while processing:
[  290s]  tex-common
[  291s] exit ...
[  291s] ### VM INTERACTION START ###
[  294s] [  265.403506] sysrq: Power Off
[  294s] [  265.424865] reboot: Power down
[  294s] ### VM INTERACTION END ###
[  294s] 
[  294s] cloud132 failed "build libosmo-sccp_1.3.0.dsc" at Wed Dec  2 04:56:26 
UTC 2020.
[  294s] 

-- 
Configure notifications at https://build.opensuse.org/my/subscriptions
openSUSE Build Service (https://build.opensuse.org/)


Build failure of network:osmocom:latest/osmo-mgw in Debian_Unstable/x86_64

2020-12-01 Thread OBS Notification
Visit 
https://build.opensuse.org/package/live_build_log/network:osmocom:latest/osmo-mgw/Debian_Unstable/x86_64

Package network:osmocom:latest/osmo-mgw failed to build in 
Debian_Unstable/x86_64

Check out the package for editing:
  osc checkout network:osmocom:latest osmo-mgw

Last lines of build log:
[  174s] Processing triggers for mailcap (3.67) ...
[  174s] Processing triggers for man-db (2.9.3-2) ...
[  175s] [426/489] installing texlive-plain-generic-2020.20201129-1
[  179s] Processing triggers for tex-common (6.15) ...
[  179s] Running mktexlsr. This may take some time... done.
[  179s] [427/489] installing libosmo-netif-dev-1.0.0
[  179s] [428/489] installing texlive-latex-base-2020.20201129-2
[  180s] Processing triggers for man-db (2.9.3-2) ...
[  180s] Processing triggers for tex-common (6.15) ...
[  180s] Running mktexlsr. This may take some time... done.
[  181s] Running updmap-sys. This may take some time... done.
[  181s] Running mktexlsr /var/lib/texmf ... done.
[  181s] Building format(s) --all.
[  189s]This may take some time... 
[  189s] fmtutil failed. Output has been stored in
[  189s] /tmp/fmtutil.hTgdXGMw
[  189s] Please include this file if you report a bug.
[  189s] dpkg: error processing package tex-common (--install):
[  189s]  installed tex-common package post-installation script subprocess 
returned error exit status 1
[  189s] Errors were encountered while processing:
[  189s]  tex-common
[  189s] exit ...
[  189s] ### VM INTERACTION START ###
[  192s] [  174.095339] sysrq: Power Off
[  192s] [  174.101186] reboot: Power down
[  192s] ### VM INTERACTION END ###
[  192s] 
[  192s] lamb23 failed "build osmo-mgw_1.7.0.dsc" at Wed Dec  2 04:55:16 UTC 
2020.
[  192s] 

-- 
Configure notifications at https://build.opensuse.org/my/subscriptions
openSUSE Build Service (https://build.opensuse.org/)


Build failure of network:osmocom:latest/osmo-hlr in Debian_Unstable/x86_64

2020-12-01 Thread OBS Notification
Visit 
https://build.opensuse.org/package/live_build_log/network:osmocom:latest/osmo-hlr/Debian_Unstable/x86_64

Package network:osmocom:latest/osmo-hlr failed to build in 
Debian_Unstable/x86_64

Check out the package for editing:
  osc checkout network:osmocom:latest osmo-hlr

Last lines of build log:
[  123s] Processing triggers for mailcap (3.67) ...
[  123s] Processing triggers for man-db (2.9.3-2) ...
[  123s] [436/500] installing texlive-plain-generic-2020.20201129-1
[  126s] Processing triggers for tex-common (6.15) ...
[  126s] Running mktexlsr. This may take some time... done.
[  126s] [437/500] installing libosmo-netif-dev-1.0.0
[  127s] [438/500] installing texlive-latex-base-2020.20201129-2
[  127s] Processing triggers for man-db (2.9.3-2) ...
[  127s] Processing triggers for tex-common (6.15) ...
[  127s] Running mktexlsr. This may take some time... done.
[  128s] Running updmap-sys. This may take some time... done.
[  128s] Running mktexlsr /var/lib/texmf ... done.
[  128s] Building format(s) --all.
[  133s]This may take some time... 
[  133s] fmtutil failed. Output has been stored in
[  133s] /tmp/fmtutil.nWdw4sZh
[  133s] Please include this file if you report a bug.
[  133s] dpkg: error processing package tex-common (--install):
[  133s]  installed tex-common package post-installation script subprocess 
returned error exit status 1
[  133s] Errors were encountered while processing:
[  133s]  tex-common
[  133s] exit ...
[  133s] ### VM INTERACTION START ###
[  137s] [  121.512595] sysrq: Power Off
[  137s] [  121.516606] reboot: Power down
[  137s] ### VM INTERACTION END ###
[  137s] 
[  137s] sheep87 failed "build osmo-hlr_1.2.0.dsc" at Wed Dec  2 04:54:53 UTC 
2020.
[  137s] 

-- 
Configure notifications at https://build.opensuse.org/my/subscriptions
openSUSE Build Service (https://build.opensuse.org/)


Build failure of network:osmocom:nightly/osmo-sgsn in Debian_Unstable/x86_64

2020-12-01 Thread OBS Notification
Visit 
https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/osmo-sgsn/Debian_Unstable/x86_64

Package network:osmocom:nightly/osmo-sgsn failed to build in 
Debian_Unstable/x86_64

Check out the package for editing:
  osc checkout network:osmocom:nightly osmo-sgsn

Last lines of build log:
[   97s] Processing triggers for mailcap (3.67) ...
[   97s] Processing triggers for man-db (2.9.3-2) ...
[   97s] [447/511] installing texlive-plain-generic-2020.20201129-1
[   99s] Processing triggers for tex-common (6.15) ...
[   99s] Running mktexlsr. This may take some time... done.
[  100s] [448/511] installing libosmo-netif-dev-1.0.0.8.bd77
[  100s] [449/511] installing texlive-latex-base-2020.20201129-2
[  100s] Processing triggers for man-db (2.9.3-2) ...
[  100s] Processing triggers for tex-common (6.15) ...
[  100s] Running mktexlsr. This may take some time... done.
[  100s] Running updmap-sys. This may take some time... done.
[  101s] Running mktexlsr /var/lib/texmf ... done.
[  101s] Building format(s) --all.
[  105s]This may take some time... 
[  105s] fmtutil failed. Output has been stored in
[  105s] /tmp/fmtutil.73fcxFFL
[  105s] Please include this file if you report a bug.
[  105s] dpkg: error processing package tex-common (--install):
[  105s]  installed tex-common package post-installation script subprocess 
returned error exit status 1
[  105s] Errors were encountered while processing:
[  105s]  tex-common
[  105s] exit ...
[  105s] ### VM INTERACTION START ###
[  108s] [   95.014510] sysrq: Power Off
[  108s] [   95.015885] reboot: Power down
[  108s] ### VM INTERACTION END ###
[  108s] 
[  108s] build73 failed "build osmo-sgsn_1.6.0.67.d97ff.dsc" at Wed Dec  2 
04:51:48 UTC 2020.
[  108s] 

-- 
Configure notifications at https://build.opensuse.org/my/subscriptions
openSUSE Build Service (https://build.opensuse.org/)


Build failure of network:osmocom:nightly/simtrace2 in xUbuntu_20.10/x86_64

2020-12-01 Thread OBS Notification
Visit 
https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/simtrace2/xUbuntu_20.10/x86_64

Package network:osmocom:nightly/simtrace2 failed to build in 
xUbuntu_20.10/x86_64

Check out the package for editing:
  osc checkout network:osmocom:nightly simtrace2

Last lines of build log:
[  157s] [COMPILING apps/dfu/main.c]
[  158s] [COMPILING ./atmel_softpack_libraries/usb/device/dfu/dfu.c]
[  158s] [COMPILING ./atmel_softpack_libraries/usb/device/dfu/dfu_desc.c]
[  158s] [COMPILING ./atmel_softpack_libraries/usb/device/dfu/dfu_driver.c]
[  158s] Memory region Used Size  Region Size  %age Used
[  158s]  rom:   16580 B16 KB101.20%
[  158s]  ram:   11672 B48 KB 
23.75/usr/lib/gcc/arm-none-eabi/9.2.1/../../../arm-none-eabi/bin/ld: warning: 
changing start of section .stack by 4 bytes
[  158s] /usr/lib/gcc/arm-none-eabi/9.2.1/../../../arm-none-eabi/bin/ld: 
warning: changing start of section .stack by 4 bytes
[  158s] /usr/lib/gcc/arm-none-eabi/9.2.1/../../../arm-none-eabi/bin/ld: 
bin/qmod-dfu-flash.elf section `.text' will not fit in region `rom'
[  158s] /usr/lib/gcc/arm-none-eabi/9.2.1/../../../arm-none-eabi/bin/ld: 
warning: changing start of section .stack by 4 bytes
[  158s] /usr/lib/gcc/arm-none-eabi/9.2.1/../../../arm-none-eabi/bin/ld: 
warning: changing start of section .stack by 4 bytes
[  158s] /usr/lib/gcc/arm-none-eabi/9.2.1/../../../arm-none-eabi/bin/ld: 
warning: changing start of section .stack by 4 bytes
[  158s] /usr/lib/gcc/arm-none-eabi/9.2.1/../../../arm-none-eabi/bin/ld: region 
`rom' overflowed by 196 bytes
[  158s] collect2: error: ld returned 1 exit status
[  158s] %
[  158s] make[2]: *** [Makefile:234: flash] Error 1
[  158s] make[2]: Leaving directory '/usr/src/packages/BUILD/firmware'
[  158s] make[1]: *** [Makefile:13: fw-qmod-dfu] Error 2
[  158s] make[1]: Leaving directory '/usr/src/packages/BUILD'
[  158s] dh_auto_build: error: make -j1 returned exit code 2
[  158s] make: *** [debian/rules:16: build] Error 25
[  158s] dpkg-buildpackage: error: debian/rules build subprocess returned exit 
status 2
[  158s] ### VM INTERACTION START ###
[  161s] [  149.409423] sysrq: Power Off
[  161s] [  149.416702] reboot: Power down
[  161s] ### VM INTERACTION END ###
[  161s] 
[  161s] lamb02 failed "build simtrace2_0.7.0.69.aadd.dsc" at Wed Dec  2 
04:40:45 UTC 2020.
[  161s] 

-- 
Configure notifications at https://build.opensuse.org/my/subscriptions
openSUSE Build Service (https://build.opensuse.org/)


Build failure of network:osmocom:nightly/osmo-msc in Debian_Unstable/x86_64

2020-12-01 Thread OBS Notification
Visit 
https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/osmo-msc/Debian_Unstable/x86_64

Package network:osmocom:nightly/osmo-msc failed to build in 
Debian_Unstable/x86_64

Check out the package for editing:
  osc checkout network:osmocom:nightly osmo-msc

Last lines of build log:
[  195s] Processing triggers for mailcap (3.67) ...
[  195s] Processing triggers for man-db (2.9.3-2) ...
[  195s] [449/514] installing texlive-plain-generic-2020.20201129-1
[  199s] Processing triggers for tex-common (6.15) ...
[  199s] Running mktexlsr. This may take some time... done.
[  199s] [450/514] installing libosmo-netif-dev-1.0.0.8.bd77
[  199s] [451/514] installing texlive-latex-base-2020.20201129-2
[  200s] Processing triggers for man-db (2.9.3-2) ...
[  200s] Processing triggers for tex-common (6.15) ...
[  200s] Running mktexlsr. This may take some time... done.
[  201s] Running updmap-sys. This may take some time... done.
[  201s] Running mktexlsr /var/lib/texmf ... done.
[  201s] Building format(s) --all.
[  209s]This may take some time... 
[  209s] fmtutil failed. Output has been stored in
[  209s] /tmp/fmtutil.iP29P445
[  209s] Please include this file if you report a bug.
[  209s] dpkg: error processing package tex-common (--install):
[  209s]  installed tex-common package post-installation script subprocess 
returned error exit status 1
[  209s] Errors were encountered while processing:
[  209s]  tex-common
[  209s] exit ...
[  209s] ### VM INTERACTION START ###
[  212s] [  192.159865] sysrq: Power Off
[  212s] [  192.174268] reboot: Power down
[  212s] ### VM INTERACTION END ###
[  212s] 
[  212s] lamb54 failed "build osmo-msc_1.6.1.87.e917b.dsc" at Wed Dec  2 
04:39:58 UTC 2020.
[  212s] 

-- 
Configure notifications at https://build.opensuse.org/my/subscriptions
openSUSE Build Service (https://build.opensuse.org/)


Build failure of network:osmocom:nightly/osmo-smlc in Debian_Unstable/x86_64

2020-12-01 Thread OBS Notification
Visit 
https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/osmo-smlc/Debian_Unstable/x86_64

Package network:osmocom:nightly/osmo-smlc failed to build in 
Debian_Unstable/x86_64

Check out the package for editing:
  osc checkout network:osmocom:nightly osmo-smlc

Last lines of build log:
[  178s] Processing triggers for mailcap (3.67) ...
[  178s] Processing triggers for man-db (2.9.3-2) ...
[  179s] [429/494] installing texlive-plain-generic-2020.20201129-1
[  182s] Processing triggers for tex-common (6.15) ...
[  182s] Running mktexlsr. This may take some time... done.
[  182s] [430/494] installing libosmo-netif-dev-1.0.0.8.bd77
[  182s] [431/494] installing texlive-latex-base-2020.20201129-2
[  183s] Processing triggers for man-db (2.9.3-2) ...
[  183s] Processing triggers for tex-common (6.15) ...
[  183s] Running mktexlsr. This may take some time... done.
[  184s] Running updmap-sys. This may take some time... done.
[  184s] Running mktexlsr /var/lib/texmf ... done.
[  184s] Building format(s) --all.
[  192s]This may take some time... 
[  192s] fmtutil failed. Output has been stored in
[  192s] /tmp/fmtutil.huEZXByX
[  192s] Please include this file if you report a bug.
[  192s] dpkg: error processing package tex-common (--install):
[  192s]  installed tex-common package post-installation script subprocess 
returned error exit status 1
[  192s] Errors were encountered while processing:
[  192s]  tex-common
[  192s] exit ...
[  192s] ### VM INTERACTION START ###
[  195s] [  176.923734] sysrq: Power Off
[  195s] [  176.930377] reboot: Power down
[  195s] ### VM INTERACTION END ###
[  195s] 
[  195s] lamb27 failed "build osmo-smlc_0.1.0.5.5dad.dsc" at Wed Dec  2 
04:38:55 UTC 2020.
[  195s] 

-- 
Configure notifications at https://build.opensuse.org/my/subscriptions
openSUSE Build Service (https://build.opensuse.org/)


Build failure of network:osmocom:nightly/osmo-bsc in Debian_Unstable/x86_64

2020-12-01 Thread OBS Notification
Visit 
https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/osmo-bsc/Debian_Unstable/x86_64

Package network:osmocom:nightly/osmo-bsc failed to build in 
Debian_Unstable/x86_64

Check out the package for editing:
  osc checkout network:osmocom:nightly osmo-bsc

Last lines of build log:
[  171s] Processing triggers for mailcap (3.67) ...
[  171s] Processing triggers for man-db (2.9.3-2) ...
[  172s] [439/505] installing texlive-plain-generic-2020.20201129-1
[  175s] Processing triggers for tex-common (6.15) ...
[  175s] Running mktexlsr. This may take some time... done.
[  175s] [440/505] installing libosmo-netif-dev-1.0.0.8.bd77
[  175s] [441/505] installing texlive-latex-base-2020.20201129-2
[  176s] Processing triggers for man-db (2.9.3-2) ...
[  176s] Processing triggers for tex-common (6.15) ...
[  176s] Running mktexlsr. This may take some time... done.
[  177s] Running updmap-sys. This may take some time... done.
[  177s] Running mktexlsr /var/lib/texmf ... done.
[  177s] Building format(s) --all.
[  184s]This may take some time... 
[  184s] fmtutil failed. Output has been stored in
[  184s] /tmp/fmtutil.1QnJwdiZ
[  184s] Please include this file if you report a bug.
[  184s] dpkg: error processing package tex-common (--install):
[  184s]  installed tex-common package post-installation script subprocess 
returned error exit status 1
[  184s] Errors were encountered while processing:
[  184s]  tex-common
[  184s] exit ...
[  184s] ### VM INTERACTION START ###
[  187s] [  168.082416] sysrq: Power Off
[  187s] [  168.089564] reboot: Power down
[  187s] ### VM INTERACTION END ###
[  187s] 
[  187s] lamb09 failed "build osmo-bsc_1.6.0.416.18af.dsc" at Wed Dec  2 
04:39:26 UTC 2020.
[  187s] 

-- 
Configure notifications at https://build.opensuse.org/my/subscriptions
openSUSE Build Service (https://build.opensuse.org/)


Build failure of network:osmocom:latest/osmo-gsm-manuals in Debian_Unstable/x86_64

2020-12-01 Thread OBS Notification
Visit 
https://build.opensuse.org/package/live_build_log/network:osmocom:latest/osmo-gsm-manuals/Debian_Unstable/x86_64

Package network:osmocom:latest/osmo-gsm-manuals failed to build in 
Debian_Unstable/x86_64

Check out the package for editing:
  osc checkout network:osmocom:latest osmo-gsm-manuals

Last lines of build log:
[  120s] [407/469] installing python3.9-3.9.1~rc1-2
[  120s] Processing triggers for mailcap (3.67) ...
[  120s] Processing triggers for man-db (2.9.3-2) ...
[  121s] [408/469] installing texlive-plain-generic-2020.20201129-1
[  124s] Processing triggers for tex-common (6.15) ...
[  124s] Running mktexlsr. This may take some time... done.
[  124s] [409/469] installing texlive-latex-base-2020.20201129-2
[  124s] Processing triggers for man-db (2.9.3-2) ...
[  124s] Processing triggers for tex-common (6.15) ...
[  125s] Running mktexlsr. This may take some time... done.
[  125s] Running updmap-sys. This may take some time... done.
[  125s] Running mktexlsr /var/lib/texmf ... done.
[  125s] Building format(s) --all.
[  131s]This may take some time... 
[  131s] fmtutil failed. Output has been stored in
[  131s] /tmp/fmtutil.HeoWVcDm
[  131s] Please include this file if you report a bug.
[  131s] dpkg: error processing package tex-common (--install):
[  131s]  installed tex-common package post-installation script subprocess 
returned error exit status 1
[  131s] Errors were encountered while processing:
[  131s]  tex-common
[  131s] exit ...
[  131s] ### VM INTERACTION START ###
[  134s] [  118.132814] sysrq: Power Off
[  134s] [  118.136218] reboot: Power down
[  134s] ### VM INTERACTION END ###
[  134s] 
[  134s] sheep85 failed "build osmo-gsm-manuals-dev_0.3.0.dsc" at Wed Dec  2 
04:33:07 UTC 2020.
[  134s] 

-- 
Configure notifications at https://build.opensuse.org/my/subscriptions
openSUSE Build Service (https://build.opensuse.org/)


Build failure of network:osmocom:nightly/osmo-uecups in Debian_Unstable/x86_64

2020-12-01 Thread OBS Notification
Visit 
https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/osmo-uecups/Debian_Unstable/x86_64

Package network:osmocom:nightly/osmo-uecups failed to build in 
Debian_Unstable/x86_64

Check out the package for editing:
  osc checkout network:osmocom:nightly osmo-uecups

Last lines of build log:
[  202s] Processing triggers for mailcap (3.67) ...
[  202s] Processing triggers for man-db (2.9.3-2) ...
[  202s] [433/497] installing texlive-plain-generic-2020.20201129-1
[  206s] Processing triggers for tex-common (6.15) ...
[  206s] Running mktexlsr. This may take some time... done.
[  206s] [434/497] installing libosmo-netif-dev-1.0.0.8.bd77
[  206s] [435/497] installing texlive-latex-base-2020.20201129-2
[  207s] Processing triggers for man-db (2.9.3-2) ...
[  207s] Processing triggers for tex-common (6.15) ...
[  207s] Running mktexlsr. This may take some time... done.
[  208s] Running updmap-sys. This may take some time... done.
[  208s] Running mktexlsr /var/lib/texmf ... done.
[  208s] Building format(s) --all.
[  216s]This may take some time... 
[  216s] fmtutil failed. Output has been stored in
[  216s] /tmp/fmtutil.r3M3rbBm
[  216s] Please include this file if you report a bug.
[  216s] dpkg: error processing package tex-common (--install):
[  216s]  installed tex-common package post-installation script subprocess 
returned error exit status 1
[  216s] Errors were encountered while processing:
[  216s]  tex-common
[  216s] exit ...
[  216s] ### VM INTERACTION START ###
[  219s] [  198.813851] sysrq: Power Off
[  219s] [  198.820248] reboot: Power down
[  219s] ### VM INTERACTION END ###
[  219s] 
[  219s] lamb14 failed "build osmo-uecups_0.1.3.1.8362.dsc" at Wed Dec  2 
04:28:32 UTC 2020.
[  219s] 

-- 
Configure notifications at https://build.opensuse.org/my/subscriptions
openSUSE Build Service (https://build.opensuse.org/)


Build failure of network:osmocom:nightly/osmo-sip-connector in Debian_Unstable/x86_64

2020-12-01 Thread OBS Notification
Visit 
https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/osmo-sip-connector/Debian_Unstable/x86_64

Package network:osmocom:nightly/osmo-sip-connector failed to build in 
Debian_Unstable/x86_64

Check out the package for editing:
  osc checkout network:osmocom:nightly osmo-sip-connector

Last lines of build log:
[  216s] [438/513] installing python3.9-3.9.1~rc1-2
[  217s] Processing triggers for mailcap (3.67) ...
[  217s] Processing triggers for man-db (2.9.3-2) ...
[  218s] [439/513] installing texlive-plain-generic-2020.20201129-1
[  221s] Processing triggers for tex-common (6.15) ...
[  221s] Running mktexlsr. This may take some time... done.
[  221s] [440/513] installing texlive-latex-base-2020.20201129-2
[  222s] Processing triggers for man-db (2.9.3-2) ...
[  222s] Processing triggers for tex-common (6.15) ...
[  222s] Running mktexlsr. This may take some time... done.
[  223s] Running updmap-sys. This may take some time... done.
[  223s] Running mktexlsr /var/lib/texmf ... done.
[  223s] Building format(s) --all.
[  231s]This may take some time... 
[  231s] fmtutil failed. Output has been stored in
[  231s] /tmp/fmtutil.UfyCG64t
[  231s] Please include this file if you report a bug.
[  231s] dpkg: error processing package tex-common (--install):
[  231s]  installed tex-common package post-installation script subprocess 
returned error exit status 1
[  231s] Errors were encountered while processing:
[  231s]  tex-common
[  231s] exit ...
[  231s] ### VM INTERACTION START ###
[  234s] [  214.040180] sysrq: Power Off
[  234s] [  214.046234] reboot: Power down
[  234s] ### VM INTERACTION END ###
[  234s] 
[  234s] lamb01 failed "build osmo-sip-connector_1.4.1.6.05ee.dsc" at Wed Dec  
2 04:28:15 UTC 2020.
[  234s] 

-- 
Configure notifications at https://build.opensuse.org/my/subscriptions
openSUSE Build Service (https://build.opensuse.org/)


Build failure of network:osmocom:nightly/osmo-trx in Debian_Unstable/x86_64

2020-12-01 Thread OBS Notification
Visit 
https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/osmo-trx/Debian_Unstable/x86_64

Package network:osmocom:nightly/osmo-trx failed to build in 
Debian_Unstable/x86_64

Check out the package for editing:
  osc checkout network:osmocom:nightly osmo-trx

Last lines of build log:
[  184s] Processing triggers for man-db (2.9.3-2) ...
[  185s] [507/654] installing texlive-plain-generic-2020.20201129-1
[  188s] Processing triggers for tex-common (6.15) ...
[  188s] Running mktexlsr. This may take some time... done.
[  188s] [508/654] installing libpython3.9-3.9.1~rc1-2
[  188s] Processing triggers for libc-bin (2.31-5) ...
[  188s] [509/654] installing texlive-latex-base-2020.20201129-2
[  189s] Processing triggers for man-db (2.9.3-2) ...
[  189s] Processing triggers for tex-common (6.15) ...
[  189s] Running mktexlsr. This may take some time... done.
[  190s] Running updmap-sys. This may take some time... done.
[  190s] Running mktexlsr /var/lib/texmf ... done.
[  190s] Building format(s) --all.
[  197s]This may take some time... 
[  197s] fmtutil failed. Output has been stored in
[  197s] /tmp/fmtutil.c7rX1C5s
[  197s] Please include this file if you report a bug.
[  197s] dpkg: error processing package tex-common (--install):
[  197s]  installed tex-common package post-installation script subprocess 
returned error exit status 1
[  197s] Errors were encountered while processing:
[  197s]  tex-common
[  197s] exit ...
[  197s] ### VM INTERACTION START ###
[  200s] [  180.697192] sysrq: Power Off
[  200s] [  180.704063] reboot: Power down
[  201s] ### VM INTERACTION END ###
[  201s] 
[  201s] lamb16 failed "build osmo-trx_1.2.0.114.57db.dsc" at Wed Dec  2 
04:27:38 UTC 2020.
[  201s] 

-- 
Configure notifications at https://build.opensuse.org/my/subscriptions
openSUSE Build Service (https://build.opensuse.org/)


Build failure of network:osmocom:nightly/osmo-sgsn in Debian_8.0/x86_64

2020-12-01 Thread OBS Notification
Visit 
https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/osmo-sgsn/Debian_8.0/x86_64

Package network:osmocom:nightly/osmo-sgsn failed to build in Debian_8.0/x86_64

Check out the package for editing:
  osc checkout network:osmocom:nightly osmo-sgsn

Last lines of build log:
[  260s] make[4]: Entering directory '/usr/src/packages/BUILD/src/gbproxy'
[  260s]   CC   gb_proxy.o
[  260s] gb_proxy.c: In function 'gbprox_relay2nse':
[  260s] gb_proxy.c:846:17: error: 'struct ' has no member named 
'link_selector'
[  260s]nsp.u.unitdata.link_selector = tlli;
[  260s]  ^
[  260s] Makefile:482: recipe for target 'gb_proxy.o' failed
[  260s] make[4]: *** [gb_proxy.o] Error 1
[  260s] make[4]: Leaving directory '/usr/src/packages/BUILD/src/gbproxy'
[  260s] Makefile:383: recipe for target 'all-recursive' failed
[  260s] make[3]: *** [all-recursive] Error 1
[  260s] make[3]: Leaving directory '/usr/src/packages/BUILD/src'
[  260s] Makefile:449: recipe for target 'all-recursive' failed
[  260s] make[2]: *** [all-recursive] Error 1
[  260s] make[2]: Leaving directory '/usr/src/packages/BUILD'
[  260s] Makefile:380: recipe for target 'all' failed
[  260s] make[1]: *** [all] Error 2
[  260s] make[1]: Leaving directory '/usr/src/packages/BUILD'
[  260s] dh_auto_build: make -j1 returned exit code 2
[  260s] debian/rules:45: recipe for target 'build' failed
[  260s] make: *** [build] Error 2
[  260s] dpkg-buildpackage: error: debian/rules build gave error exit status 2
[  260s] ### VM INTERACTION START ###
[  261s] Powering off.
[  261s] [  250.139028] reboot: Power down
[  261s] ### VM INTERACTION END ###
[  261s] 
[  261s] lamb04 failed "build osmo-sgsn_1.6.0.67.d97ff.dsc" at Wed Dec  2 
04:26:21 UTC 2020.
[  261s] 

-- 
Configure notifications at https://build.opensuse.org/my/subscriptions
openSUSE Build Service (https://build.opensuse.org/)


Build failure of network:osmocom:nightly/simtrace2 in xUbuntu_20.04/x86_64

2020-12-01 Thread OBS Notification
Visit 
https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/simtrace2/xUbuntu_20.04/x86_64

Package network:osmocom:nightly/simtrace2 failed to build in 
xUbuntu_20.04/x86_64

Check out the package for editing:
  osc checkout network:osmocom:nightly simtrace2

Last lines of build log:
[  162s] [COMPILING libboard/qmod/source/wwan_perst.c]
[  162s] [COMPILING libboard/qmod/source/card_pres.c]
[  162s] [COMPILING libboard/qmod/source/wwan_led.c]
[  162s] [COMPILING libboard/qmod/source/i2c.c]
[  162s] [COMPILING libboard/qmod/source/board_qmod.c]
[  163s] [COMPILING apps/dfu/main.c]
[  163s] [COMPILING ./atmel_softpack_libraries/usb/device/dfu/dfu.c]
[  163s] [COMPILING ./atmel_softpack_libraries/usb/device/dfu/dfu_desc.c]
[  163s] [COMPILING ./atmel_softpack_libraries/usb/device/dfu/dfu_driver.c]
[  163s] Memory region Used Size  Region Size  %age Used
[  163s]  rom:   16588 B16 KB101.25%
[  163s]  ram:   11672 B48 KB 
23.75/usr/lib/gcc/arm-none-eabi/9.2.1/../../../arm-none-eabi/bin/ld: 
bin/qmod-dfu-flash.elf section `.text' will not fit in region `rom'
[  163s] /usr/lib/gcc/arm-none-eabi/9.2.1/../../../arm-none-eabi/bin/ld: region 
`rom' overflowed by 204 bytes
[  163s] collect2: error: ld returned 1 exit status
[  163s] %
[  163s] make[2]: *** [Makefile:234: flash] Error 1
[  163s] make[2]: Leaving directory '/usr/src/packages/BUILD/firmware'
[  163s] make[1]: *** [Makefile:13: fw-qmod-dfu] Error 2
[  163s] make[1]: Leaving directory '/usr/src/packages/BUILD'
[  163s] dh_auto_build: error: make -j1 returned exit code 2
[  163s] make: *** [debian/rules:16: build] Error 25
[  163s] dpkg-buildpackage: error: debian/rules build subprocess returned exit 
status 2
[  163s] ### VM INTERACTION START ###
[  166s] [  154.767653] sysrq: Power Off
[  166s] [  154.774199] reboot: Power down
[  166s] ### VM INTERACTION END ###
[  166s] 
[  166s] lamb25 failed "build simtrace2_0.7.0.69.aadd.dsc" at Wed Dec  2 
04:23:29 UTC 2020.
[  166s] 

-- 
Configure notifications at https://build.opensuse.org/my/subscriptions
openSUSE Build Service (https://build.opensuse.org/)


Build failure of network:osmocom:nightly/osmo-e1d in Debian_Unstable/x86_64

2020-12-01 Thread OBS Notification
Visit 
https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/osmo-e1d/Debian_Unstable/x86_64

Package network:osmocom:nightly/osmo-e1d failed to build in 
Debian_Unstable/x86_64

Check out the package for editing:
  osc checkout network:osmocom:nightly osmo-e1d

Last lines of build log:
[  134s] [425/488] installing python3.9-3.9.1~rc1-2
[  135s] Processing triggers for mailcap (3.67) ...
[  135s] Processing triggers for man-db (2.9.3-2) ...
[  135s] [426/488] installing texlive-plain-generic-2020.20201129-1
[  138s] Processing triggers for tex-common (6.15) ...
[  138s] Running mktexlsr. This may take some time... done.
[  138s] [427/488] installing texlive-latex-base-2020.20201129-2
[  139s] Processing triggers for man-db (2.9.3-2) ...
[  139s] Processing triggers for tex-common (6.15) ...
[  139s] Running mktexlsr. This may take some time... done.
[  140s] Running updmap-sys. This may take some time... done.
[  140s] Running mktexlsr /var/lib/texmf ... done.
[  140s] Building format(s) --all.
[  145s]This may take some time... 
[  145s] fmtutil failed. Output has been stored in
[  145s] /tmp/fmtutil.42RMAsx3
[  145s] Please include this file if you report a bug.
[  145s] dpkg: error processing package tex-common (--install):
[  145s]  installed tex-common package post-installation script subprocess 
returned error exit status 1
[  146s] Errors were encountered while processing:
[  146s]  tex-common
[  146s] exit ...
[  146s] ### VM INTERACTION START ###
[  149s] [  134.216513] sysrq: Power Off
[  149s] [  134.225914] reboot: Power down
[  149s] ### VM INTERACTION END ###
[  149s] 
[  149s] sheep81 failed "build osmo-e1d_0.1.1.20.e542.dsc" at Wed Dec  2 
04:19:04 UTC 2020.
[  149s] 

-- 
Configure notifications at https://build.opensuse.org/my/subscriptions
openSUSE Build Service (https://build.opensuse.org/)


Build failure of network:osmocom:nightly/osmo-pcu in Debian_Unstable/x86_64

2020-12-01 Thread OBS Notification
Visit 
https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/osmo-pcu/Debian_Unstable/x86_64

Package network:osmocom:nightly/osmo-pcu failed to build in 
Debian_Unstable/x86_64

Check out the package for editing:
  osc checkout network:osmocom:nightly osmo-pcu

Last lines of build log:
[  105s] [425/488] installing python3.9-3.9.1~rc1-2
[  106s] Processing triggers for mailcap (3.67) ...
[  106s] Processing triggers for man-db (2.9.3-2) ...
[  106s] [426/488] installing texlive-plain-generic-2020.20201129-1
[  108s] Processing triggers for tex-common (6.15) ...
[  108s] Running mktexlsr. This may take some time... done.
[  108s] [427/488] installing texlive-latex-base-2020.20201129-2
[  109s] Processing triggers for man-db (2.9.3-2) ...
[  109s] Processing triggers for tex-common (6.15) ...
[  109s] Running mktexlsr. This may take some time... done.
[  109s] Running updmap-sys. This may take some time... done.
[  109s] Running mktexlsr /var/lib/texmf ... done.
[  109s] Building format(s) --all.
[  113s]This may take some time... 
[  113s] fmtutil failed. Output has been stored in
[  113s] /tmp/fmtutil.KbODuXrr
[  113s] Please include this file if you report a bug.
[  113s] dpkg: error processing package tex-common (--install):
[  113s]  installed tex-common package post-installation script subprocess 
returned error exit status 1
[  113s] Errors were encountered while processing:
[  113s]  tex-common
[  113s] exit ...
[  113s] ### VM INTERACTION START ###
[  116s] [  102.205237] sysrq: Power Off
[  116s] [  102.208353] reboot: Power down
[  117s] ### VM INTERACTION END ###
[  117s] 
[  117s] hci-cnode2-m1 failed "build osmo-pcu_0.8.0.283.30d9.dsc" at Wed Dec  2 
04:18:23 UTC 2020.
[  117s] 

-- 
Configure notifications at https://build.opensuse.org/my/subscriptions
openSUSE Build Service (https://build.opensuse.org/)


Build failure of network:osmocom:nightly/osmo-bts in Debian_Unstable/x86_64

2020-12-01 Thread OBS Notification
Visit 
https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/osmo-bts/Debian_Unstable/x86_64

Package network:osmocom:nightly/osmo-bts failed to build in 
Debian_Unstable/x86_64

Check out the package for editing:
  osc checkout network:osmocom:nightly osmo-bts

Last lines of build log:
[  171s] [436/499] installing python3.9-3.9.1~rc1-2
[  172s] Processing triggers for mailcap (3.67) ...
[  172s] Processing triggers for man-db (2.9.3-2) ...
[  172s] [437/499] installing texlive-plain-generic-2020.20201129-1
[  176s] Processing triggers for tex-common (6.15) ...
[  176s] Running mktexlsr. This may take some time... done.
[  176s] [438/499] installing texlive-latex-base-2020.20201129-2
[  176s] Processing triggers for man-db (2.9.3-2) ...
[  177s] Processing triggers for tex-common (6.15) ...
[  177s] Running mktexlsr. This may take some time... done.
[  178s] Running updmap-sys. This may take some time... done.
[  178s] Running mktexlsr /var/lib/texmf ... done.
[  178s] Building format(s) --all.
[  185s]This may take some time... 
[  185s] fmtutil failed. Output has been stored in
[  185s] /tmp/fmtutil.5t1SswBg
[  185s] Please include this file if you report a bug.
[  185s] dpkg: error processing package tex-common (--install):
[  185s]  installed tex-common package post-installation script subprocess 
returned error exit status 1
[  185s] Errors were encountered while processing:
[  185s]  tex-common
[  185s] exit ...
[  185s] ### VM INTERACTION START ###
[  188s] [  169.946378] sysrq: Power Off
[  188s] [  169.957163] reboot: Power down
[  188s] ### VM INTERACTION END ###
[  188s] 
[  188s] lamb61 failed "build osmo-bts_1.2.0.349.5b25.dsc" at Wed Dec  2 
04:14:26 UTC 2020.
[  188s] 

-- 
Configure notifications at https://build.opensuse.org/my/subscriptions
openSUSE Build Service (https://build.opensuse.org/)


Build failure of network:osmocom:nightly/osmo-pcu in Debian_8.0/x86_64

2020-12-01 Thread OBS Notification
Visit 
https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/osmo-pcu/Debian_8.0/x86_64

Package network:osmocom:nightly/osmo-pcu failed to build in Debian_8.0/x86_64

Check out the package for editing:
  osc checkout network:osmocom:nightly osmo-pcu

Last lines of build log:
[  251s] make[2]: Nothing to be done for 'all'.
[  251s] make[2]: Leaving directory '/usr/src/packages/BUILD/include'
[  251s] Making all in src
[  251s] make[2]: Entering directory '/usr/src/packages/BUILD/src'
[  251s]   CXX  gprs_debug.lo
[  251s]   CC   csn1.lo
[  253s]   CC   gsm_rlcmac.lo
[  255s]   CXX  gprs_bssgp_pcu.lo
[  255s] gprs_bssgp_pcu.cpp: In function 'int ns_create_nsvc(gprs_rlcmac_bts*, 
uint16_t, const osmo_sockaddr*, const osmo_sockaddr*, const uint16_t*, 
uint16_t)':
[  255s] gprs_bssgp_pcu.cpp:987:13: error: 'GPRS_NS2_LL_UDP' was not declared 
in this scope
[  255s]  GPRS_NS2_LL_UDP);
[  255s]  ^
[  255s] Makefile:790: recipe for target 'gprs_bssgp_pcu.lo' failed
[  255s] make[2]: *** [gprs_bssgp_pcu.lo] Error 1
[  255s] make[2]: Leaving directory '/usr/src/packages/BUILD/src'
[  255s] Makefile:405: recipe for target 'all-recursive' failed
[  255s] make[1]: *** [all-recursive] Error 1
[  255s] make[1]: Leaving directory '/usr/src/packages/BUILD'
[  255s] dh_auto_build: make -j1 returned exit code 2
[  255s] debian/rules:12: recipe for target 'build' failed
[  255s] make: *** [build] Error 2
[  255s] dpkg-buildpackage: error: debian/rules build gave error exit status 2
[  255s] ### VM INTERACTION START ###
[  256s] Powering off.
[  256s] [  225.596422] reboot: Power down
[  256s] ### VM INTERACTION END ###
[  256s] 
[  256s] lamb02 failed "build osmo-pcu_0.8.0.283.30d9.dsc" at Wed Dec  2 
04:09:16 UTC 2020.
[  256s] 

-- 
Configure notifications at https://build.opensuse.org/my/subscriptions
openSUSE Build Service (https://build.opensuse.org/)


Change in libosmocore[master]: gprs_ns2_fr: remove include

2020-12-01 Thread lynxis lazus
lynxis lazus has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/libosmocore/+/21453 )


Change subject: gprs_ns2_fr: remove include 
..

gprs_ns2_fr: remove include 

It's not needed because net/if.h already include
the required parts. Furthermore the linux/if.h generates
a compiler error in combination with net/if.h on older systems
(e.g. debian jessie)

Change-Id: Iccf931207d8bea19969fbfc4225f622a1a709972
---
M src/gb/gprs_ns2_fr.c
1 file changed, 0 insertions(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/53/21453/1

diff --git a/src/gb/gprs_ns2_fr.c b/src/gb/gprs_ns2_fr.c
index 4140171..47d3a5d 100644
--- a/src/gb/gprs_ns2_fr.c
+++ b/src/gb/gprs_ns2_fr.c
@@ -42,7 +42,6 @@
 #include 
 #include 
 #include 
-#include 

 #include 
 #include 

--
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/21453
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: Iccf931207d8bea19969fbfc4225f622a1a709972
Gerrit-Change-Number: 21453
Gerrit-PatchSet: 1
Gerrit-Owner: lynxis lazus 
Gerrit-MessageType: newchange


Change in osmo-bsc[master]: OML: ip.access: move NSVC MO into a fsm

2020-12-01 Thread lynxis lazus
Hello Jenkins Builder, pespin,

I'd like you to reexamine a change. Please visit

https://gerrit.osmocom.org/c/osmo-bsc/+/21452

to look at the new patch set (#3).

Change subject: OML: ip.access: move NSVC MO into a fsm
..

OML: ip.access: move NSVC MO into a fsm

It now waits for feature negotiation before configuring
the NSVC MO.

Todo: need to be tested with nanobts!
Related: SYS#4915 OS$4870
Change-Id: I381472532c2622a8dba7c81ae00ea873c2e58ae1
---
M include/osmocom/bsc/nm_common_fsm.h
M src/ipaccess/Makefile.am
M src/osmo-bsc/Makefile.am
M src/osmo-bsc/abis_nm.c
M src/osmo-bsc/bts.c
M src/osmo-bsc/bts_ipaccess_nanobts.c
M src/osmo-bsc/bts_ipaccess_nanobts_omlattr.c
A src/osmo-bsc/nm_nsvc_fsm.c
M src/utils/Makefile.am
M tests/abis/Makefile.am
M tests/acc/Makefile.am
M tests/acc/acc_test.ok
M tests/bsc/Makefile.am
M tests/gsm0408/Makefile.am
M tests/handover/Makefile.am
M tests/nanobts_omlattr/Makefile.am
M tests/nanobts_omlattr/nanobts_omlattr_test.c
17 files changed, 472 insertions(+), 21 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/52/21452/3
--
To view, visit https://gerrit.osmocom.org/c/osmo-bsc/+/21452
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: I381472532c2622a8dba7c81ae00ea873c2e58ae1
Gerrit-Change-Number: 21452
Gerrit-PatchSet: 3
Gerrit-Owner: lynxis lazus 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: pespin 
Gerrit-MessageType: newpatchset


Build failure of network:osmocom:nightly/osmo-ggsn in Debian_Unstable/x86_64

2020-12-01 Thread OBS Notification
Visit 
https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/osmo-ggsn/Debian_Unstable/x86_64

Package network:osmocom:nightly/osmo-ggsn failed to build in 
Debian_Unstable/x86_64

Check out the package for editing:
  osc checkout network:osmocom:nightly osmo-ggsn

Last lines of build log:
[  189s] [427/490] installing python3.9-3.9.1~rc1-2
[  190s] Processing triggers for mailcap (3.67) ...
[  190s] Processing triggers for man-db (2.9.3-2) ...
[  190s] [428/490] installing texlive-plain-generic-2020.20201129-1
[  194s] Processing triggers for tex-common (6.15) ...
[  194s] Running mktexlsr. This may take some time... done.
[  194s] [429/490] installing texlive-latex-base-2020.20201129-2
[  195s] Processing triggers for man-db (2.9.3-2) ...
[  195s] Processing triggers for tex-common (6.15) ...
[  195s] Running mktexlsr. This may take some time... done.
[  196s] Running updmap-sys. This may take some time... done.
[  196s] Running mktexlsr /var/lib/texmf ... done.
[  196s] Building format(s) --all.
[  204s]This may take some time... 
[  204s] fmtutil failed. Output has been stored in
[  204s] /tmp/fmtutil.MppP5uWi
[  204s] Please include this file if you report a bug.
[  204s] dpkg: error processing package tex-common (--install):
[  204s]  installed tex-common package post-installation script subprocess 
returned error exit status 1
[  204s] Errors were encountered while processing:
[  204s]  tex-common
[  204s] exit ...
[  204s] ### VM INTERACTION START ###
[  207s] [  185.428263] sysrq: Power Off
[  207s] [  185.434494] reboot: Power down
[  207s] ### VM INTERACTION END ###
[  207s] 
[  207s] lamb24 failed "build osmo-ggsn_1.6.0.13.1230.dsc" at Wed Dec  2 
03:40:50 UTC 2020.
[  207s] 

-- 
Configure notifications at https://build.opensuse.org/my/subscriptions
openSUSE Build Service (https://build.opensuse.org/)


Build failure of network:osmocom:nightly/osmo-hlr in Debian_Unstable/x86_64

2020-12-01 Thread OBS Notification
Visit 
https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/osmo-hlr/Debian_Unstable/x86_64

Package network:osmocom:nightly/osmo-hlr failed to build in 
Debian_Unstable/x86_64

Check out the package for editing:
  osc checkout network:osmocom:nightly osmo-hlr

Last lines of build log:
[  181s] Processing triggers for mailcap (3.67) ...
[  181s] Processing triggers for man-db (2.9.3-2) ...
[  181s] [436/500] installing texlive-plain-generic-2020.20201129-1
[  185s] Processing triggers for tex-common (6.15) ...
[  185s] Running mktexlsr. This may take some time... done.
[  185s] [437/500] installing libosmo-netif-dev-1.0.0.8.bd77
[  185s] [438/500] installing texlive-latex-base-2020.20201129-2
[  186s] Processing triggers for man-db (2.9.3-2) ...
[  186s] Processing triggers for tex-common (6.15) ...
[  186s] Running mktexlsr. This may take some time... done.
[  187s] Running updmap-sys. This may take some time... done.
[  187s] Running mktexlsr /var/lib/texmf ... done.
[  187s] Building format(s) --all.
[  194s]This may take some time... 
[  194s] fmtutil failed. Output has been stored in
[  194s] /tmp/fmtutil.ZIwcBZGd
[  194s] Please include this file if you report a bug.
[  194s] dpkg: error processing package tex-common (--install):
[  194s]  installed tex-common package post-installation script subprocess 
returned error exit status 1
[  194s] Errors were encountered while processing:
[  194s]  tex-common
[  194s] exit ...
[  194s] ### VM INTERACTION START ###
[  197s] [  178.940907] sysrq: Power Off
[  197s] [  178.945966] reboot: Power down
[  197s] ### VM INTERACTION END ###
[  197s] 
[  197s] lamb51 failed "build osmo-hlr_1.2.0.67.dac8.dsc" at Wed Dec  2 
03:40:44 UTC 2020.
[  197s] 

-- 
Configure notifications at https://build.opensuse.org/my/subscriptions
openSUSE Build Service (https://build.opensuse.org/)


Build failure of network:osmocom:nightly/osmo-mgw in Debian_Unstable/x86_64

2020-12-01 Thread OBS Notification
Visit 
https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/osmo-mgw/Debian_Unstable/x86_64

Package network:osmocom:nightly/osmo-mgw failed to build in 
Debian_Unstable/x86_64

Check out the package for editing:
  osc checkout network:osmocom:nightly osmo-mgw

Last lines of build log:
[  175s] Processing triggers for mailcap (3.67) ...
[  175s] Processing triggers for man-db (2.9.3-2) ...
[  175s] [434/497] installing texlive-plain-generic-2020.20201129-1
[  178s] Processing triggers for tex-common (6.15) ...
[  179s] Running mktexlsr. This may take some time... done.
[  179s] [435/497] installing libosmo-netif-dev-1.0.0.8.bd77
[  179s] [436/497] installing texlive-latex-base-2020.20201129-2
[  179s] Processing triggers for man-db (2.9.3-2) ...
[  180s] Processing triggers for tex-common (6.15) ...
[  180s] Running mktexlsr. This may take some time... done.
[  180s] Running updmap-sys. This may take some time... done.
[  180s] Running mktexlsr /var/lib/texmf ... done.
[  181s] Building format(s) --all.
[  188s]This may take some time... 
[  188s] fmtutil failed. Output has been stored in
[  188s] /tmp/fmtutil.b2pcGs67
[  188s] Please include this file if you report a bug.
[  188s] dpkg: error processing package tex-common (--install):
[  188s]  installed tex-common package post-installation script subprocess 
returned error exit status 1
[  188s] Errors were encountered while processing:
[  188s]  tex-common
[  188s] exit ...
[  188s] ### VM INTERACTION START ###
[  191s] [  173.952038] sysrq: Power Off
[  191s] [  173.958417] reboot: Power down
[  191s] ### VM INTERACTION END ###
[  191s] 
[  191s] lamb17 failed "build osmo-mgw_1.7.0.132.6e279.dsc" at Wed Dec  2 
03:30:02 UTC 2020.
[  191s] 

-- 
Configure notifications at https://build.opensuse.org/my/subscriptions
openSUSE Build Service (https://build.opensuse.org/)


Build failure of network:osmocom:nightly/libosmo-sccp in Debian_Unstable/x86_64

2020-12-01 Thread OBS Notification
Visit 
https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/libosmo-sccp/Debian_Unstable/x86_64

Package network:osmocom:nightly/libosmo-sccp failed to build in 
Debian_Unstable/x86_64

Check out the package for editing:
  osc checkout network:osmocom:nightly libosmo-sccp

Last lines of build log:
[  120s] Processing triggers for mailcap (3.67) ...
[  120s] Processing triggers for man-db (2.9.3-2) ...
[  120s] [436/500] installing texlive-plain-generic-2020.20201129-1
[  123s] Processing triggers for tex-common (6.15) ...
[  123s] Running mktexlsr. This may take some time... done.
[  123s] [437/500] installing libosmo-netif-dev-1.0.0.8.bd77
[  123s] [438/500] installing texlive-latex-base-2020.20201129-2
[  123s] Processing triggers for man-db (2.9.3-2) ...
[  124s] Processing triggers for tex-common (6.15) ...
[  124s] Running mktexlsr. This may take some time... done.
[  124s] Running updmap-sys. This may take some time... done.
[  124s] Running mktexlsr /var/lib/texmf ... done.
[  124s] Building format(s) --all.
[  130s]This may take some time... 
[  130s] fmtutil failed. Output has been stored in
[  130s] /tmp/fmtutil.O6XQyd1q
[  130s] Please include this file if you report a bug.
[  130s] dpkg: error processing package tex-common (--install):
[  130s]  installed tex-common package post-installation script subprocess 
returned error exit status 1
[  130s] Errors were encountered while processing:
[  130s]  tex-common
[  130s] exit ...
[  130s] ### VM INTERACTION START ###
[  133s] [  117.757603] sysrq: Power Off
[  133s] [  117.759579] reboot: Power down
[  133s] ### VM INTERACTION END ###
[  133s] 
[  133s] wildcard2 failed "build libosmo-sccp_1.3.0.25.48e2.dsc" at Wed Dec  2 
03:24:48 UTC 2020.
[  133s] 

-- 
Configure notifications at https://build.opensuse.org/my/subscriptions
openSUSE Build Service (https://build.opensuse.org/)


Change in osmo-bsc[master]: OML: sysmobts: add state to track feature negotiation

2020-12-01 Thread lynxis lazus
Hello Jenkins Builder, pespin,

I'd like you to reexamine a change. Please visit

https://gerrit.osmocom.org/c/osmo-bsc/+/21451

to look at the new patch set (#2).

Change subject: OML: sysmobts: add state to track feature negotiation
..

OML: sysmobts: add state to track feature negotiation

Add variables to track feature negotiation for sysmobts. In preparation
for the NSVC MO which need to check for IPv6 feature.

Related: SYS#4915 OS#4870
Change-Id: I7c207eee0e331995ae04acec014fbd13d4d16280
---
M include/osmocom/bsc/bts.h
M src/osmo-bsc/abis_nm.c
M src/osmo-bsc/bts_ipaccess_nanobts.c
3 files changed, 9 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/51/21451/2
--
To view, visit https://gerrit.osmocom.org/c/osmo-bsc/+/21451
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: I7c207eee0e331995ae04acec014fbd13d4d16280
Gerrit-Change-Number: 21451
Gerrit-PatchSet: 2
Gerrit-Owner: lynxis lazus 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: pespin 
Gerrit-MessageType: newpatchset


Change in osmo-bsc[master]: OML: ip.access: move NSVC MO into a fsm

2020-12-01 Thread lynxis lazus
Hello Jenkins Builder, pespin,

I'd like you to reexamine a change. Please visit

https://gerrit.osmocom.org/c/osmo-bsc/+/21452

to look at the new patch set (#2).

Change subject: OML: ip.access: move NSVC MO into a fsm
..

OML: ip.access: move NSVC MO into a fsm

It now waits for feature negotiation before configuring
the NSVC MO.

Todo: need to be tested with nanobts!
Related: SYS#4915 OS$4870
Change-Id: I381472532c2622a8dba7c81ae00ea873c2e58ae1
---
M include/osmocom/bsc/nm_common_fsm.h
M src/ipaccess/Makefile.am
M src/osmo-bsc/Makefile.am
M src/osmo-bsc/abis_nm.c
M src/osmo-bsc/bts.c
M src/osmo-bsc/bts_ipaccess_nanobts.c
M src/osmo-bsc/bts_ipaccess_nanobts_omlattr.c
A src/osmo-bsc/nm_nsvc_fsm.c
M src/utils/Makefile.am
M tests/abis/Makefile.am
M tests/acc/Makefile.am
M tests/bsc/Makefile.am
M tests/gsm0408/Makefile.am
M tests/handover/Makefile.am
M tests/nanobts_omlattr/Makefile.am
15 files changed, 412 insertions(+), 21 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/52/21452/2
--
To view, visit https://gerrit.osmocom.org/c/osmo-bsc/+/21452
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: I381472532c2622a8dba7c81ae00ea873c2e58ae1
Gerrit-Change-Number: 21452
Gerrit-PatchSet: 2
Gerrit-Owner: lynxis lazus 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: pespin 
Gerrit-MessageType: newpatchset


Build failed in Jenkins: master-osmo-sip-connector ยป a1=default,a2=default,a3=default,a4=default,osmocom-master-debian9 #2933

2020-12-01 Thread jenkins
See 


Changes:


--
[...truncated 228.94 KB...]
make[4]: Leaving directory 
'/build/osmo-sip-connector-1.4.1.6-05ee/_build/sub/src'
make[3]: Leaving directory 
'/build/osmo-sip-connector-1.4.1.6-05ee/_build/sub/src'
Making install in tests
make[3]: Entering directory 
'/build/osmo-sip-connector-1.4.1.6-05ee/_build/sub/tests'
make[4]: Entering directory 
'/build/osmo-sip-connector-1.4.1.6-05ee/_build/sub/tests'
make[4]: Nothing to be done for 'install-exec-am'.
make[4]: Nothing to be done for 'install-data-am'.
make[4]: Leaving directory 
'/build/osmo-sip-connector-1.4.1.6-05ee/_build/sub/tests'
make[3]: Leaving directory 
'/build/osmo-sip-connector-1.4.1.6-05ee/_build/sub/tests'
Making install in contrib
make[3]: Entering directory 
'/build/osmo-sip-connector-1.4.1.6-05ee/_build/sub/contrib'
Making install in systemd
make[4]: Entering directory 
'/build/osmo-sip-connector-1.4.1.6-05ee/_build/sub/contrib/systemd'
make[5]: Entering directory 
'/build/osmo-sip-connector-1.4.1.6-05ee/_build/sub/contrib/systemd'
make[5]: Nothing to be done for 'install-exec-am'.
 /bin/mkdir -p 
'/tmp/am-dc-15660//build/osmo-sip-connector-1.4.1.6-05ee/_inst//lib/systemd/system'
 /usr/bin/install -c -m 644 
../../../../contrib/systemd/osmo-sip-connector.service 
'/tmp/am-dc-15660//build/osmo-sip-connector-1.4.1.6-05ee/_inst//lib/systemd/system'
make[5]: Leaving directory 
'/build/osmo-sip-connector-1.4.1.6-05ee/_build/sub/contrib/systemd'
make[4]: Leaving directory 
'/build/osmo-sip-connector-1.4.1.6-05ee/_build/sub/contrib/systemd'
make[4]: Entering directory 
'/build/osmo-sip-connector-1.4.1.6-05ee/_build/sub/contrib'
make[5]: Entering directory 
'/build/osmo-sip-connector-1.4.1.6-05ee/_build/sub/contrib'
make[5]: Nothing to be done for 'install-exec-am'.
make[5]: Nothing to be done for 'install-data-am'.
make[5]: Leaving directory 
'/build/osmo-sip-connector-1.4.1.6-05ee/_build/sub/contrib'
make[4]: Leaving directory 
'/build/osmo-sip-connector-1.4.1.6-05ee/_build/sub/contrib'
make[3]: Leaving directory 
'/build/osmo-sip-connector-1.4.1.6-05ee/_build/sub/contrib'
Making install in doc
make[3]: Entering directory 
'/build/osmo-sip-connector-1.4.1.6-05ee/_build/sub/doc'
Making install in examples
make[4]: Entering directory 
'/build/osmo-sip-connector-1.4.1.6-05ee/_build/sub/doc/examples'
make[5]: Entering directory 
'/build/osmo-sip-connector-1.4.1.6-05ee/_build/sub/doc/examples'
make[5]: Nothing to be done for 'install-exec-am'.
 /bin/mkdir -p 
'/tmp/am-dc-15660//build/osmo-sip-connector-1.4.1.6-05ee/_inst/share/doc/osmo-sip-connector/examples/osmo-sip-connector'
 /bin/mkdir -p 
'/tmp/am-dc-15660//build/osmo-sip-connector-1.4.1.6-05ee/_inst/etc/osmocom'
 /usr/bin/install -c -m 644 ../../../../doc/examples/osmo-sip-connector.cfg 
'/tmp/am-dc-15660//build/osmo-sip-connector-1.4.1.6-05ee/_inst/etc/osmocom'
 /usr/bin/install -c -m 644 ../../../../doc/examples/osmo-sip-connector.cfg 
'/tmp/am-dc-15660//build/osmo-sip-connector-1.4.1.6-05ee/_inst/share/doc/osmo-sip-connector/examples/osmo-sip-connector'
make[5]: Leaving directory 
'/build/osmo-sip-connector-1.4.1.6-05ee/_build/sub/doc/examples'
make[4]: Leaving directory 
'/build/osmo-sip-connector-1.4.1.6-05ee/_build/sub/doc/examples'
Making install in manuals
make[4]: Entering directory 
'/build/osmo-sip-connector-1.4.1.6-05ee/_build/sub/doc/manuals'
make[5]: Entering directory 
'/build/osmo-sip-connector-1.4.1.6-05ee/_build/sub/doc/manuals'
make[5]: Nothing to be done for 'install-exec-am'.
make[5]: Nothing to be done for 'install-data-am'.
make[5]: Leaving directory 
'/build/osmo-sip-connector-1.4.1.6-05ee/_build/sub/doc/manuals'
if [ "" != "1" ]; then \
for i in osmosipconnector-usermanual.pdf 
osmosipconnector-vty-reference.pdf; do \
install -vDm644 "$i" 
"/tmp/am-dc-15660//build/osmo-sip-connector-1.4.1.6-05ee/_inst/share/doc/osmo-sip-connector-doc/$i"
 || exit 1; \
done; \
fi
install: creating directory 
'/tmp/am-dc-15660//build/osmo-sip-connector-1.4.1.6-05ee/_inst/share/doc/osmo-sip-connector-doc'
'osmosipconnector-usermanual.pdf' -> 
'/tmp/am-dc-15660//build/osmo-sip-connector-1.4.1.6-05ee/_inst/share/doc/osmo-sip-connector-doc/osmosipconnector-usermanual.pdf'
'osmosipconnector-vty-reference.pdf' -> 
'/tmp/am-dc-15660//build/osmo-sip-connector-1.4.1.6-05ee/_inst/share/doc/osmo-sip-connector-doc/osmosipconnector-vty-reference.pdf'
make[4]: Leaving directory 
'/build/osmo-sip-connector-1.4.1.6-05ee/_build/sub/doc/manuals'
make[4]: Entering directory 
'/build/osmo-sip-connector-1.4.1.6-05ee/_build/sub/doc'
make[5]: Entering directory 
'/build/osmo-sip-connector-1.4.1.6-05ee/_build/sub/doc'
make[5]: Nothing to be done for 'install-exec-am'.
make[5]: Nothing to be done for 'install-data-am'.
make[5]: Leaving directory 

Build failure of network:osmocom:nightly/osmo-gsm-manuals in Debian_Unstable/x86_64

2020-12-01 Thread OBS Notification
Visit 
https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/osmo-gsm-manuals/Debian_Unstable/x86_64

Package network:osmocom:nightly/osmo-gsm-manuals failed to build in 
Debian_Unstable/x86_64

Check out the package for editing:
  osc checkout network:osmocom:nightly osmo-gsm-manuals

Last lines of build log:
[  215s] [407/469] installing python3.9-3.9.1~rc1-2
[  217s] Processing triggers for mailcap (3.67) ...
[  217s] Processing triggers for man-db (2.9.3-2) ...
[  217s] [408/469] installing texlive-plain-generic-2020.20201129-1
[  224s] Processing triggers for tex-common (6.15) ...
[  225s] Running mktexlsr. This may take some time... done.
[  225s] [409/469] installing texlive-latex-base-2020.20201129-2
[  226s] Processing triggers for man-db (2.9.3-2) ...
[  226s] Processing triggers for tex-common (6.15) ...
[  227s] Running mktexlsr. This may take some time... done.
[  228s] Running updmap-sys. This may take some time... done.
[  228s] Running mktexlsr /var/lib/texmf ... done.
[  228s] Building format(s) --all.
[  239s]This may take some time... 
[  239s] fmtutil failed. Output has been stored in
[  239s] /tmp/fmtutil.3zYWlD7d
[  239s] Please include this file if you report a bug.
[  239s] dpkg: error processing package tex-common (--install):
[  239s]  installed tex-common package post-installation script subprocess 
returned error exit status 1
[  239s] Errors were encountered while processing:
[  239s]  tex-common
[  239s] exit ...
[  239s] ### VM INTERACTION START ###
[  242s] [  220.370375] sysrq: Power Off
[  242s] [  220.382713] reboot: Power down
[  242s] ### VM INTERACTION END ###
[  242s] 
[  242s] old-atreju4 failed "build osmo-gsm-manuals-dev_0.3.0.37.c507.dsc" at 
Wed Dec  2 03:07:03 UTC 2020.
[  242s] 

-- 
Configure notifications at https://build.opensuse.org/my/subscriptions
openSUSE Build Service (https://build.opensuse.org/)


Change in osmo-bsc[master]: OML: ip.access: move NSVC MO into a fsm

2020-12-01 Thread lynxis lazus
lynxis lazus has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-bsc/+/21452 )


Change subject: OML: ip.access: move NSVC MO into a fsm
..

OML: ip.access: move NSVC MO into a fsm

It now waits for feature negotiation before configuring
the NSVC MO.

Todo: need to be tested with nanobts!
Change-Id: I381472532c2622a8dba7c81ae00ea873c2e58ae1
---
M include/osmocom/bsc/nm_common_fsm.h
M src/ipaccess/Makefile.am
M src/osmo-bsc/Makefile.am
M src/osmo-bsc/abis_nm.c
M src/osmo-bsc/bts.c
M src/osmo-bsc/bts_ipaccess_nanobts.c
M src/osmo-bsc/bts_ipaccess_nanobts_omlattr.c
A src/osmo-bsc/nm_nsvc_fsm.c
M src/utils/Makefile.am
M tests/abis/Makefile.am
M tests/acc/Makefile.am
M tests/bsc/Makefile.am
M tests/gsm0408/Makefile.am
M tests/handover/Makefile.am
M tests/nanobts_omlattr/Makefile.am
15 files changed, 412 insertions(+), 21 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/52/21452/1

diff --git a/include/osmocom/bsc/nm_common_fsm.h 
b/include/osmocom/bsc/nm_common_fsm.h
index 00031fb..58bc8c9 100644
--- a/include/osmocom/bsc/nm_common_fsm.h
+++ b/include/osmocom/bsc/nm_common_fsm.h
@@ -35,6 +35,7 @@
NM_EV_OPSTART_NACK,
NM_EV_OML_DOWN,
NM_EV_FORCE_LOCK, /* Only supported by RadioCarrier so far */
+   NM_EV_FEATURE_NEGOTIATED,
 };
 extern const struct value_string nm_fsm_event_names[];

@@ -82,3 +83,12 @@
NM_CHAN_ST_OP_ENABLED,
 };
 extern struct osmo_fsm nm_chan_fsm;
+
+/* NSVC */
+enum nm_nsvc_fsm_states {
+   NM_NSVC_ST_OP_DISABLED_NOTINSTALLED,
+   NM_NSVC_ST_OP_DISABLED_DEPENDENCY,
+   NM_NSVC_ST_OP_DISABLED_OFFLINE,
+   NM_NSVC_ST_OP_ENABLED,
+};
+extern struct osmo_fsm nm_nsvc_fsm;
diff --git a/src/ipaccess/Makefile.am b/src/ipaccess/Makefile.am
index 1574a8b..a39186b 100644
--- a/src/ipaccess/Makefile.am
+++ b/src/ipaccess/Makefile.am
@@ -59,6 +59,7 @@
$(top_builddir)/src/osmo-bsc/nm_bts_fsm.o \
$(top_builddir)/src/osmo-bsc/nm_bb_transc_fsm.o \
$(top_builddir)/src/osmo-bsc/nm_channel_fsm.o \
+   $(top_builddir)/src/osmo-bsc/nm_nsvc_fsm.o \
$(top_builddir)/src/osmo-bsc/nm_rcarrier_fsm.o \
$(OSMO_LIBS) \
$(NULL)
@@ -80,6 +81,7 @@
$(top_builddir)/src/osmo-bsc/nm_bts_fsm.o \
$(top_builddir)/src/osmo-bsc/nm_bb_transc_fsm.o \
$(top_builddir)/src/osmo-bsc/nm_channel_fsm.o \
+   $(top_builddir)/src/osmo-bsc/nm_nsvc_fsm.o \
$(top_builddir)/src/osmo-bsc/nm_rcarrier_fsm.o \
$(OSMO_LIBS) \
$(NULL)
diff --git a/src/osmo-bsc/Makefile.am b/src/osmo-bsc/Makefile.am
index 5739885..51292d7 100644
--- a/src/osmo-bsc/Makefile.am
+++ b/src/osmo-bsc/Makefile.am
@@ -81,6 +81,7 @@
nm_bts_sm_fsm.c \
nm_bts_fsm.c \
nm_channel_fsm.c \
+   nm_nsvc_fsm.c \
nm_rcarrier_fsm.c \
gsm_08_08.c \
osmo_bsc_bssap.c \
diff --git a/src/osmo-bsc/abis_nm.c b/src/osmo-bsc/abis_nm.c
index dab5bb6..b0ef649 100644
--- a/src/osmo-bsc/abis_nm.c
+++ b/src/osmo-bsc/abis_nm.c
@@ -49,6 +49,7 @@
 #include 
 #include 
 #include 
+#include 
 #include 

 #define OM_ALLOC_SIZE  1024
@@ -598,6 +599,8 @@
}

bts->ip_access.feature_negotiated = true;
+   for (i = 0; i < ARRAY_SIZE(bts->gprs.nsvc); i++)
+   osmo_fsm_inst_dispatch(bts->gprs.nsvc[i].mo.fi, 
NM_EV_FEATURE_NEGOTIATED, NULL);
}

/* Parse Attribute Response Info content for 3GPP TS 52.021 ยง9.4.28 
Manufacturer Dependent State */
diff --git a/src/osmo-bsc/bts.c b/src/osmo-bsc/bts.c
index 065b8ab..6837925 100644
--- a/src/osmo-bsc/bts.c
+++ b/src/osmo-bsc/bts.c
@@ -195,6 +195,10 @@
for (i = 0; i < ARRAY_SIZE(bts->gprs.nsvc); i++) {
bts->gprs.nsvc[i].bts = bts;
bts->gprs.nsvc[i].id = i;
+   bts->gprs.nsvc[i].mo.fi = osmo_fsm_inst_alloc(
+   _nsvc_fsm, bts, >gprs.nsvc[i],
+   LOGL_INFO, NULL);
+   osmo_fsm_inst_update_id_f(bts->mo.fi, "bts%d-nsvc%d", bts->nr, 
i);
gsm_mo_init(>gprs.nsvc[i].mo, bts, NM_OC_GPRS_NSVC,
bts->nr, i, 0xff);
}
diff --git a/src/osmo-bsc/bts_ipaccess_nanobts.c 
b/src/osmo-bsc/bts_ipaccess_nanobts.c
index 32823bb..e397c5f 100644
--- a/src/osmo-bsc/bts_ipaccess_nanobts.c
+++ b/src/osmo-bsc/bts_ipaccess_nanobts.c
@@ -214,30 +214,12 @@
bts = nsvc->bts;
if (bts->gprs.mode == BTS_GPRS_NONE)
break;
+
/* We skip NSVC1 since we only use NSVC0 */
if (nsvc->id == 1)
break;
-   if (!osmo_bts_has_feature(>features, BTS_FEAT_IPV6_NSVC) &&
-   nsvc->remote.u.sa.sa_family == AF_INET6) {
-   LOGP(DLINP, LOGL_ERROR, "BTS %d does not support IPv6 
but 

Change in osmo-bsc[master]: OML: sysmobts: add state to track feature negotiation

2020-12-01 Thread lynxis lazus
lynxis lazus has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-bsc/+/21451 )


Change subject: OML: sysmobts: add state to track feature negotiation
..

OML: sysmobts: add state to track feature negotiation

Add variables to track feature negotiation for sysmobts. In preparation
for the NSVC MO which need to check for IPv6 feature.

Change-Id: I7c207eee0e331995ae04acec014fbd13d4d16280
---
M include/osmocom/bsc/bts.h
M src/osmo-bsc/abis_nm.c
M src/osmo-bsc/bts_ipaccess_nanobts.c
3 files changed, 9 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/51/21451/1

diff --git a/include/osmocom/bsc/bts.h b/include/osmocom/bsc/bts.h
index 22839d6..de0994f 100644
--- a/include/osmocom/bsc/bts.h
+++ b/include/osmocom/bsc/bts.h
@@ -295,6 +295,8 @@
uint16_t bts_id;
uint32_t flags;
uint32_t rsl_ip;
+   bool feature_dynamic;
+   bool feature_negotiated;
} ip_access;
struct {
struct {
diff --git a/src/osmo-bsc/abis_nm.c b/src/osmo-bsc/abis_nm.c
index 73dc2d0..dab5bb6 100644
--- a/src/osmo-bsc/abis_nm.c
+++ b/src/osmo-bsc/abis_nm.c
@@ -596,6 +596,8 @@
 osmo_bts_has_feature(>features, i), 
osmo_bts_has_feature(>model->features, i));
}
}
+
+   bts->ip_access.feature_negotiated = true;
}

/* Parse Attribute Response Info content for 3GPP TS 52.021 ยง9.4.28 
Manufacturer Dependent State */
diff --git a/src/osmo-bsc/bts_ipaccess_nanobts.c 
b/src/osmo-bsc/bts_ipaccess_nanobts.c
index f9dc8b3..32823bb 100644
--- a/src/osmo-bsc/bts_ipaccess_nanobts.c
+++ b/src/osmo-bsc/bts_ipaccess_nanobts.c
@@ -502,6 +502,11 @@
/* First of all, remove deferred drop if enabled */
osmo_timer_del(>oml_drop_link_timer);

+   if (is_sysmobts_v2(bts)) {
+   bts->ip_access.feature_negotiated = false;
+   bts->ip_access.feature_dynamic = true;
+   }
+
if (!bts->oml_link)
return;


--
To view, visit https://gerrit.osmocom.org/c/osmo-bsc/+/21451
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: I7c207eee0e331995ae04acec014fbd13d4d16280
Gerrit-Change-Number: 21451
Gerrit-PatchSet: 1
Gerrit-Owner: lynxis lazus 
Gerrit-MessageType: newchange


Build failure of network:osmocom:nightly/osmo-sgsn in Debian_8.0/i586

2020-12-01 Thread OBS Notification
Visit 
https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/osmo-sgsn/Debian_8.0/i586

Package network:osmocom:nightly/osmo-sgsn failed to build in Debian_8.0/i586

Check out the package for editing:
  osc checkout network:osmocom:nightly osmo-sgsn

Last lines of build log:
[  314s] make[4]: Entering directory '/usr/src/packages/BUILD/src/gbproxy'
[  314s]   CC   gb_proxy.o
[  314s] gb_proxy.c: In function 'gbprox_relay2nse':
[  314s] gb_proxy.c:846:17: error: 'struct ' has no member named 
'link_selector'
[  314s]nsp.u.unitdata.link_selector = tlli;
[  314s]  ^
[  315s] Makefile:482: recipe for target 'gb_proxy.o' failed
[  315s] make[4]: *** [gb_proxy.o] Error 1
[  315s] make[4]: Leaving directory '/usr/src/packages/BUILD/src/gbproxy'
[  315s] Makefile:383: recipe for target 'all-recursive' failed
[  315s] make[3]: *** [all-recursive] Error 1
[  315s] make[3]: Leaving directory '/usr/src/packages/BUILD/src'
[  315s] Makefile:449: recipe for target 'all-recursive' failed
[  315s] make[2]: *** [all-recursive] Error 1
[  315s] make[2]: Leaving directory '/usr/src/packages/BUILD'
[  315s] Makefile:380: recipe for target 'all' failed
[  315s] make[1]: *** [all] Error 2
[  315s] make[1]: Leaving directory '/usr/src/packages/BUILD'
[  315s] dh_auto_build: make -j1 returned exit code 2
[  315s] debian/rules:45: recipe for target 'build' failed
[  315s] make: *** [build] Error 2
[  315s] dpkg-buildpackage: error: debian/rules build gave error exit status 2
[  315s] ### VM INTERACTION START ###
[  316s] Powering off.
[  316s] [  303.834375] reboot: Power down
[  316s] ### VM INTERACTION END ###
[  316s] 
[  316s] lamb01 failed "build osmo-sgsn_1.6.0.67.d97ff.dsc" at Wed Dec  2 
02:54:53 UTC 2020.
[  316s] 

-- 
Configure notifications at https://build.opensuse.org/my/subscriptions
openSUSE Build Service (https://build.opensuse.org/)


Build failure of network:osmocom:nightly/osmo-pcu in Debian_8.0/i586

2020-12-01 Thread OBS Notification
Visit 
https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/osmo-pcu/Debian_8.0/i586

Package network:osmocom:nightly/osmo-pcu failed to build in Debian_8.0/i586

Check out the package for editing:
  osc checkout network:osmocom:nightly osmo-pcu

Last lines of build log:
[  134s] make[2]: Nothing to be done for 'all'.
[  134s] make[2]: Leaving directory '/usr/src/packages/BUILD/include'
[  134s] Making all in src
[  134s] make[2]: Entering directory '/usr/src/packages/BUILD/src'
[  134s]   CXX  gprs_debug.lo
[  134s]   CC   csn1.lo
[  136s]   CC   gsm_rlcmac.lo
[  137s]   CXX  gprs_bssgp_pcu.lo
[  137s] gprs_bssgp_pcu.cpp: In function 'int ns_create_nsvc(gprs_rlcmac_bts*, 
uint16_t, const osmo_sockaddr*, const osmo_sockaddr*, const uint16_t*, 
uint16_t)':
[  137s] gprs_bssgp_pcu.cpp:987:13: error: 'GPRS_NS2_LL_UDP' was not declared 
in this scope
[  137s]  GPRS_NS2_LL_UDP);
[  137s]  ^
[  137s] Makefile:790: recipe for target 'gprs_bssgp_pcu.lo' failed
[  137s] make[2]: *** [gprs_bssgp_pcu.lo] Error 1
[  137s] make[2]: Leaving directory '/usr/src/packages/BUILD/src'
[  137s] Makefile:405: recipe for target 'all-recursive' failed
[  137s] make[1]: *** [all-recursive] Error 1
[  137s] make[1]: Leaving directory '/usr/src/packages/BUILD'
[  137s] dh_auto_build: make -j1 returned exit code 2
[  137s] debian/rules:12: recipe for target 'build' failed
[  137s] make: *** [build] Error 2
[  137s] dpkg-buildpackage: error: debian/rules build gave error exit status 2
[  137s] ### VM INTERACTION START ###
[  138s] Powering off.
[  138s] [  130.178746] reboot: Power down
[  138s] ### VM INTERACTION END ###
[  138s] 
[  138s] sheep88 failed "build osmo-pcu_0.8.0.283.30d9.dsc" at Wed Dec  2 
02:10:53 UTC 2020.
[  138s] 

-- 
Configure notifications at https://build.opensuse.org/my/subscriptions
openSUSE Build Service (https://build.opensuse.org/)


Build failure of network:osmocom:nightly/libosmocore in Debian_8.0/x86_64

2020-12-01 Thread OBS Notification
Visit 
https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/libosmocore/Debian_8.0/x86_64

Package network:osmocom:nightly/libosmocore failed to build in Debian_8.0/x86_64

Check out the package for editing:
  osc checkout network:osmocom:nightly libosmocore

Last lines of build log:
[  155s] ^
[  155s] In file included from gprs_ns2_fr.c:45:0:
[  155s] /usr/include/linux/if.h:252:8: error: redefinition of 'struct ifconf'
[  155s]  struct ifconf  {
[  155s] ^
[  155s] In file included from gprs_ns2_fr.c:39:0:
[  155s] /usr/include/net/if.h:176:8: note: originally defined here
[  155s]  struct ifconf
[  155s] ^
[  155s] Makefile:542: recipe for target 'gprs_ns2_fr.lo' failed
[  155s] make[3]: *** [gprs_ns2_fr.lo] Error 1
[  155s] make[3]: Leaving directory '/usr/src/packages/BUILD/src/gb'
[  155s] Makefile:690: recipe for target 'all-recursive' failed
[  155s] make[2]: *** [all-recursive] Error 1
[  155s] make[2]: Leaving directory '/usr/src/packages/BUILD'
[  155s] Makefile:468: recipe for target 'all' failed
[  155s] make[1]: *** [all] Error 2
[  155s] make[1]: Leaving directory '/usr/src/packages/BUILD'
[  155s] dh_auto_build: make -j1 returned exit code 2
[  155s] debian/rules:15: recipe for target 'build' failed
[  155s] make: *** [build] Error 2
[  155s] dpkg-buildpackage: error: debian/rules build gave error exit status 2
[  155s] ### VM INTERACTION START ###
[  156s] Powering off.
[  156s] [  147.597715] reboot: Power down
[  156s] ### VM INTERACTION END ###
[  156s] 
[  156s] lamb56 failed "build libosmocore_1.4.0.230.1e72d.dsc" at Wed Dec  2 
01:48:38 UTC 2020.
[  156s] 

-- 
Configure notifications at https://build.opensuse.org/my/subscriptions
openSUSE Build Service (https://build.opensuse.org/)


Build failure of network:osmocom:nightly/libosmocore in Debian_8.0/i586

2020-12-01 Thread OBS Notification
Visit 
https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/libosmocore/Debian_8.0/i586

Package network:osmocom:nightly/libosmocore failed to build in Debian_8.0/i586

Check out the package for editing:
  osc checkout network:osmocom:nightly libosmocore

Last lines of build log:
[  171s] ^
[  171s] In file included from gprs_ns2_fr.c:45:0:
[  171s] /usr/include/linux/if.h:252:8: error: redefinition of 'struct ifconf'
[  171s]  struct ifconf  {
[  171s] ^
[  171s] In file included from gprs_ns2_fr.c:39:0:
[  171s] /usr/include/net/if.h:176:8: note: originally defined here
[  171s]  struct ifconf
[  171s] ^
[  171s] Makefile:542: recipe for target 'gprs_ns2_fr.lo' failed
[  171s] make[3]: *** [gprs_ns2_fr.lo] Error 1
[  171s] make[3]: Leaving directory '/usr/src/packages/BUILD/src/gb'
[  171s] Makefile:690: recipe for target 'all-recursive' failed
[  171s] make[2]: *** [all-recursive] Error 1
[  171s] make[2]: Leaving directory '/usr/src/packages/BUILD'
[  171s] Makefile:468: recipe for target 'all' failed
[  171s] make[1]: *** [all] Error 2
[  171s] make[1]: Leaving directory '/usr/src/packages/BUILD'
[  171s] dh_auto_build: make -j1 returned exit code 2
[  171s] debian/rules:15: recipe for target 'build' failed
[  171s] make: *** [build] Error 2
[  171s] dpkg-buildpackage: error: debian/rules build gave error exit status 2
[  171s] ### VM INTERACTION START ###
[  172s] Powering off.
[  172s] [  162.853953] reboot: Power down
[  172s] ### VM INTERACTION END ###
[  172s] 
[  172s] lamb27 failed "build libosmocore_1.4.0.230.1e72d.dsc" at Wed Dec  2 
01:39:07 UTC 2020.
[  172s] 

-- 
Configure notifications at https://build.opensuse.org/my/subscriptions
openSUSE Build Service (https://build.opensuse.org/)


Change in osmo-bsc[master]: Store GPRS MOs directly under BTS SiteMgr object

2020-12-01 Thread lynxis lazus
lynxis lazus has posted comments on this change. ( 
https://gerrit.osmocom.org/c/osmo-bsc/+/21423 )

Change subject: Store GPRS MOs directly under BTS SiteMgr object
..


Patch Set 1:

(1 comment)

In theory there should be 1 NSE, 1-n NSVCs per Site. And 1 CELL per BTS (GSM 
Cell).
There might be special cases which I ignored here.

https://gerrit.osmocom.org/c/osmo-bsc/+/21423/1/src/osmo-bsc/bts_ipaccess_nanobts.c
File src/osmo-bsc/bts_ipaccess_nanobts.c:

https://gerrit.osmocom.org/c/osmo-bsc/+/21423/1/src/osmo-bsc/bts_ipaccess_nanobts.c@214
PS1, Line 214:  case NM_OC_GPRS_NSVC:
Why you don't also change NSVCs?



--
To view, visit https://gerrit.osmocom.org/c/osmo-bsc/+/21423
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: I06461b7784fa2a78de37383406e35beae85fbad8
Gerrit-Change-Number: 21423
Gerrit-PatchSet: 1
Gerrit-Owner: pespin 
Gerrit-Reviewer: Jenkins Builder
Gerrit-CC: laforge 
Gerrit-CC: lynxis lazus 
Gerrit-Comment-Date: Wed, 02 Dec 2020 00:51:05 +
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment


Build failed in Jenkins: master-osmo-sip-connector ยป a1=default,a2=default,a3=default,a4=default,osmocom-master-debian9 #2932

2020-12-01 Thread jenkins
See 


Changes:


--
[...truncated 216.87 KB...]
make[4]: Leaving directory 
'/build/osmo-sip-connector-1.4.1.6-05ee/_build/sub/src'
make[3]: Leaving directory 
'/build/osmo-sip-connector-1.4.1.6-05ee/_build/sub/src'
Making install in tests
make[3]: Entering directory 
'/build/osmo-sip-connector-1.4.1.6-05ee/_build/sub/tests'
make[4]: Entering directory 
'/build/osmo-sip-connector-1.4.1.6-05ee/_build/sub/tests'
make[4]: Nothing to be done for 'install-exec-am'.
make[4]: Nothing to be done for 'install-data-am'.
make[4]: Leaving directory 
'/build/osmo-sip-connector-1.4.1.6-05ee/_build/sub/tests'
make[3]: Leaving directory 
'/build/osmo-sip-connector-1.4.1.6-05ee/_build/sub/tests'
Making install in contrib
make[3]: Entering directory 
'/build/osmo-sip-connector-1.4.1.6-05ee/_build/sub/contrib'
Making install in systemd
make[4]: Entering directory 
'/build/osmo-sip-connector-1.4.1.6-05ee/_build/sub/contrib/systemd'
make[5]: Entering directory 
'/build/osmo-sip-connector-1.4.1.6-05ee/_build/sub/contrib/systemd'
make[5]: Nothing to be done for 'install-exec-am'.
 /bin/mkdir -p 
'/tmp/am-dc-15665//build/osmo-sip-connector-1.4.1.6-05ee/_inst//lib/systemd/system'
 /usr/bin/install -c -m 644 
../../../../contrib/systemd/osmo-sip-connector.service 
'/tmp/am-dc-15665//build/osmo-sip-connector-1.4.1.6-05ee/_inst//lib/systemd/system'
make[5]: Leaving directory 
'/build/osmo-sip-connector-1.4.1.6-05ee/_build/sub/contrib/systemd'
make[4]: Leaving directory 
'/build/osmo-sip-connector-1.4.1.6-05ee/_build/sub/contrib/systemd'
make[4]: Entering directory 
'/build/osmo-sip-connector-1.4.1.6-05ee/_build/sub/contrib'
make[5]: Entering directory 
'/build/osmo-sip-connector-1.4.1.6-05ee/_build/sub/contrib'
make[5]: Nothing to be done for 'install-exec-am'.
make[5]: Nothing to be done for 'install-data-am'.
make[5]: Leaving directory 
'/build/osmo-sip-connector-1.4.1.6-05ee/_build/sub/contrib'
make[4]: Leaving directory 
'/build/osmo-sip-connector-1.4.1.6-05ee/_build/sub/contrib'
make[3]: Leaving directory 
'/build/osmo-sip-connector-1.4.1.6-05ee/_build/sub/contrib'
Making install in doc
make[3]: Entering directory 
'/build/osmo-sip-connector-1.4.1.6-05ee/_build/sub/doc'
Making install in examples
make[4]: Entering directory 
'/build/osmo-sip-connector-1.4.1.6-05ee/_build/sub/doc/examples'
make[5]: Entering directory 
'/build/osmo-sip-connector-1.4.1.6-05ee/_build/sub/doc/examples'
make[5]: Nothing to be done for 'install-exec-am'.
 /bin/mkdir -p 
'/tmp/am-dc-15665//build/osmo-sip-connector-1.4.1.6-05ee/_inst/share/doc/osmo-sip-connector/examples/osmo-sip-connector'
 /bin/mkdir -p 
'/tmp/am-dc-15665//build/osmo-sip-connector-1.4.1.6-05ee/_inst/etc/osmocom'
 /usr/bin/install -c -m 644 ../../../../doc/examples/osmo-sip-connector.cfg 
'/tmp/am-dc-15665//build/osmo-sip-connector-1.4.1.6-05ee/_inst/share/doc/osmo-sip-connector/examples/osmo-sip-connector'
 /usr/bin/install -c -m 644 ../../../../doc/examples/osmo-sip-connector.cfg 
'/tmp/am-dc-15665//build/osmo-sip-connector-1.4.1.6-05ee/_inst/etc/osmocom'
make[5]: Leaving directory 
'/build/osmo-sip-connector-1.4.1.6-05ee/_build/sub/doc/examples'
make[4]: Leaving directory 
'/build/osmo-sip-connector-1.4.1.6-05ee/_build/sub/doc/examples'
Making install in manuals
make[4]: Entering directory 
'/build/osmo-sip-connector-1.4.1.6-05ee/_build/sub/doc/manuals'
make[5]: Entering directory 
'/build/osmo-sip-connector-1.4.1.6-05ee/_build/sub/doc/manuals'
make[5]: Nothing to be done for 'install-exec-am'.
make[5]: Nothing to be done for 'install-data-am'.
make[5]: Leaving directory 
'/build/osmo-sip-connector-1.4.1.6-05ee/_build/sub/doc/manuals'
if [ "" != "1" ]; then \
for i in osmosipconnector-usermanual.pdf 
osmosipconnector-vty-reference.pdf; do \
install -vDm644 "$i" 
"/tmp/am-dc-15665//build/osmo-sip-connector-1.4.1.6-05ee/_inst/share/doc/osmo-sip-connector-doc/$i"
 || exit 1; \
done; \
fi
install: creating directory 
'/tmp/am-dc-15665//build/osmo-sip-connector-1.4.1.6-05ee/_inst/share/doc/osmo-sip-connector-doc'
'osmosipconnector-usermanual.pdf' -> 
'/tmp/am-dc-15665//build/osmo-sip-connector-1.4.1.6-05ee/_inst/share/doc/osmo-sip-connector-doc/osmosipconnector-usermanual.pdf'
'osmosipconnector-vty-reference.pdf' -> 
'/tmp/am-dc-15665//build/osmo-sip-connector-1.4.1.6-05ee/_inst/share/doc/osmo-sip-connector-doc/osmosipconnector-vty-reference.pdf'
make[4]: Leaving directory 
'/build/osmo-sip-connector-1.4.1.6-05ee/_build/sub/doc/manuals'
make[4]: Entering directory 
'/build/osmo-sip-connector-1.4.1.6-05ee/_build/sub/doc'
make[5]: Entering directory 
'/build/osmo-sip-connector-1.4.1.6-05ee/_build/sub/doc'
make[5]: Nothing to be done for 'install-exec-am'.
make[5]: Nothing to be done for 'install-data-am'.
make[5]: Leaving directory 

Change in osmo-bts[master]: vty: fix dump_lchan_trx_ts(): dump dedicated channels only

2020-12-01 Thread fixeria
fixeria has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-bts/+/21450 )


Change subject: vty: fix dump_lchan_trx_ts(): dump dedicated channels only
..

vty: fix dump_lchan_trx_ts(): dump dedicated channels only

It does not make sense to dump CCCH/CBCH as dedicated channels:

  OsmoBTS# show lchan
  BTS 0, TRX 0, Timeslot 0, Lchan 4: Type CCCH
State: ACTIVE
BS (Downlink) Power Control (autonomous):
  Channel reduction: 0 dB (max 0 dB)
  TRX reduction: 0 dB
  Actual / Nominal power: 13 dBm / 13 dBm
MS (Uplink) Power Control (autonomous):
  Current power level: 0, -39 dBm (max 0, -39 dBm)
Channel Mode / Codec: SIGNALLING
LAPDm SAPIs: DCCH --, SACCH --
Valid System Information: 0x0060
MS Timing Offset: 0, propagation delay: 0 symbols
Radio Link Failure Counter 'S': 0

so let's only dump SDCCH, TCH/F, and TCH/H.

Change-Id: Id7880de56a93cc9fa4ca576b094cef35ee269822
---
M src/common/vty.c
1 file changed, 8 insertions(+), 2 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/50/21450/1

diff --git a/src/common/vty.c b/src/common/vty.c
index 7baddef..8837079 100644
--- a/src/common/vty.c
+++ b/src/common/vty.c
@@ -1405,9 +1405,15 @@
int lchan_nr;
for (lchan_nr = 0; lchan_nr < TS_MAX_LCHAN; lchan_nr++) {
const struct gsm_lchan *lchan = >lchan[lchan_nr];
-   if (lchan->state == LCHAN_S_NONE)
+   switch (lchan->state) {
+   case GSM_LCHAN_SDCCH:
+   case GSM_LCHAN_TCH_F:
+   case GSM_LCHAN_TCH_H:
+   dump_cb(vty, lchan);
+   break;
+   default:
continue;
-   dump_cb(vty, lchan);
+   }
}

return CMD_SUCCESS;

--
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/21450
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: Id7880de56a93cc9fa4ca576b094cef35ee269822
Gerrit-Change-Number: 21450
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria 
Gerrit-MessageType: newchange


Change in osmo-bts[master]: tx_power: remove unused get_p[_trxout]_target_mdBm_lchan()

2020-12-01 Thread fixeria
fixeria has abandoned this change. ( 
https://gerrit.osmocom.org/c/osmo-bts/+/21440 )

Change subject: tx_power: remove unused get_p[_trxout]_target_mdBm_lchan()
..


Abandoned
--
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/21440
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: Iaec20bf2711d3bc022325cd77ea8c675caeb7987
Gerrit-Change-Number: 21440
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria 
Gerrit-Reviewer: Jenkins Builder
Gerrit-CC: laforge 
Gerrit-MessageType: abandon


Change in osmo-bts[master]: osmo-bts-trx/scheduler: ensure no DL power attenuation on C0

2020-12-01 Thread fixeria
fixeria has submitted this change. ( 
https://gerrit.osmocom.org/c/osmo-bts/+/21449 )

Change subject: osmo-bts-trx/scheduler: ensure no DL power attenuation on C0
..

osmo-bts-trx/scheduler: ensure no DL power attenuation on C0

When [baseband] frequency hopping is in use, Downlink bursts from
additional transceivers may end up being transmitted on TRX0/C0.
In this case, we must not apply per-lchan attenuation, because
the BTS shall maintain constant power level on that TRX.

Change-Id: Id171df70447283b00da965e1f81dfac20e35495c
Related: SYS#4918
---
M src/osmo-bts-trx/scheduler_trx.c
1 file changed, 5 insertions(+), 2 deletions(-)

Approvals:
  Jenkins Builder: Verified
  laforge: Looks good to me, approved



diff --git a/src/osmo-bts-trx/scheduler_trx.c b/src/osmo-bts-trx/scheduler_trx.c
index c000324..1552a86 100644
--- a/src/osmo-bts-trx/scheduler_trx.c
+++ b/src/osmo-bts-trx/scheduler_trx.c
@@ -146,9 +146,12 @@
l1h = pinst->u.osmotrx.hdl;
}

-   /* update dummy burst mask for C0 */
-   if (pinst->trx == bts->c0)
+   if (pinst->trx == bts->c0) {
+   /* update dummy burst mask for C0 */
c0_mask |= (1 << tn);
+   /* ensure no attenuation on C0 */
+   br.att = 0;
+   }

trx_if_send_burst(l1h, );
}

--
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/21449
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: Id171df70447283b00da965e1f81dfac20e35495c
Gerrit-Change-Number: 21449
Gerrit-PatchSet: 2
Gerrit-Owner: fixeria 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria 
Gerrit-Reviewer: laforge 
Gerrit-MessageType: merged


Change in osmo-mgw[master]: mgcp_client: get rid of magic numbers for E1 slots

2020-12-01 Thread dexter
dexter has posted comments on this change. ( 
https://gerrit.osmocom.org/c/osmo-mgw/+/21385 )

Change subject: mgcp_client: get rid of magic numbers for E1 slots
..


Patch Set 4:

(2 comments)

(ensure all comments are sent)

https://gerrit.osmocom.org/c/osmo-mgw/+/21385/3/src/libosmo-mgcp-client/Makefile.am
File src/libosmo-mgcp-client/Makefile.am:

https://gerrit.osmocom.org/c/osmo-mgw/+/21385/3/src/libosmo-mgcp-client/Makefile.am@12
PS3, Line 12:   $
> this one is correct, we use the #define
Done


https://gerrit.osmocom.org/c/osmo-mgw/+/21385/3/src/libosmo-mgcp-client/Makefile.am@19
PS3, Line 19:   $
> this one is incorrect, as it means we create a runtime library dependency to  
> a library of which we  [โ€ฆ]
Done



--
To view, visit https://gerrit.osmocom.org/c/osmo-mgw/+/21385
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-mgw
Gerrit-Branch: master
Gerrit-Change-Id: Iee134d70f05883fcd2e58e0b9c78ed70aea16695
Gerrit-Change-Number: 21385
Gerrit-PatchSet: 4
Gerrit-Owner: dexter 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge 
Gerrit-Reviewer: pespin 
Gerrit-Comment-Date: Tue, 01 Dec 2020 20:02:45 +
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: laforge 
Gerrit-MessageType: comment


Change in osmo-mgw[master]: mgcp_client: get rid of magic numbers for E1 slots

2020-12-01 Thread dexter
Hello Jenkins Builder, laforge, pespin,

I'd like you to reexamine a change. Please visit

https://gerrit.osmocom.org/c/osmo-mgw/+/21385

to look at the new patch set (#4).

Change subject: mgcp_client: get rid of magic numbers for E1 slots
..

mgcp_client: get rid of magic numbers for E1 slots

use NUM_E1_TS-1 instead of 31 in relation of E1 timeslot count

Change-Id: Iee134d70f05883fcd2e58e0b9c78ed70aea16695
---
M src/libosmo-mgcp-client/Makefile.am
M src/libosmo-mgcp-client/mgcp_client.c
2 files changed, 4 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-mgw refs/changes/85/21385/4
--
To view, visit https://gerrit.osmocom.org/c/osmo-mgw/+/21385
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-mgw
Gerrit-Branch: master
Gerrit-Change-Id: Iee134d70f05883fcd2e58e0b9c78ed70aea16695
Gerrit-Change-Number: 21385
Gerrit-PatchSet: 4
Gerrit-Owner: dexter 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge 
Gerrit-Reviewer: pespin 
Gerrit-MessageType: newpatchset


Change in osmo-bts[master]: power_control: generalize power control state structure

2020-12-01 Thread fixeria
fixeria has posted comments on this change. ( 
https://gerrit.osmocom.org/c/osmo-bts/+/21441 )

Change subject: power_control: generalize power control state structure
..


Patch Set 1:

(1 comment)

https://gerrit.osmocom.org/c/osmo-bts/+/21441/1/include/osmo-bts/gsm_data.h
File include/osmo-bts/gsm_data.h:

https://gerrit.osmocom.org/c/osmo-bts/+/21441/1/include/osmo-bts/gsm_data.h@165
PS1, Line 165: uint8_t current;
 :  uint8_t max;
 :  bool fixed;
> units ?  - ah I see you're just moving. Would still be worth afollow-up patch.
This structure is a bit special: in case of Downlink, it stores attenuation in 
dB;  in case of Uplink, it stores MS Power Level, so we cannot specify specific 
units here.  I can also add a comment.



--
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/21441
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: I8c6ad8d14349e8a05084c2912644c5202f951f52
Gerrit-Change-Number: 21441
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge 
Gerrit-Comment-Date: Tue, 01 Dec 2020 19:50:08 +
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: laforge 
Gerrit-MessageType: comment


Change in osmo-bts[master]: osmo-bts-trx/scheduler: ensure no DL power attenuation on C0

2020-12-01 Thread laforge
laforge has posted comments on this change. ( 
https://gerrit.osmocom.org/c/osmo-bts/+/21449 )

Change subject: osmo-bts-trx/scheduler: ensure no DL power attenuation on C0
..


Patch Set 1: Code-Review+2


--
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/21449
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: Id171df70447283b00da965e1f81dfac20e35495c
Gerrit-Change-Number: 21449
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria 
Gerrit-Reviewer: laforge 
Gerrit-CC: Jenkins Builder
Gerrit-Comment-Date: Tue, 01 Dec 2020 19:47:34 +
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment


Change in osmo-bts[master]: rsl: properly initialize MS/BS Power Control state

2020-12-01 Thread laforge
laforge has posted comments on this change. ( 
https://gerrit.osmocom.org/c/osmo-bts/+/21448 )

Change subject: rsl: properly initialize MS/BS Power Control state
..


Patch Set 1: Code-Review+1


--
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/21448
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: Id9719088fc6e9479c13e9b327a3466d9e2810a3a
Gerrit-Change-Number: 21448
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge 
Gerrit-Comment-Date: Tue, 01 Dec 2020 19:46:54 +
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment


Change in osmo-bts[master]: power_control: derive calc_delta() from lchan_ms_pwr_ctrl()

2020-12-01 Thread laforge
laforge has posted comments on this change. ( 
https://gerrit.osmocom.org/c/osmo-bts/+/21446 )

Change subject: power_control: derive calc_delta() from lchan_ms_pwr_ctrl()
..


Patch Set 1:

(1 comment)

https://gerrit.osmocom.org/c/osmo-bts/+/21446/1/src/common/power_control.c
File src/common/power_control.c:

https://gerrit.osmocom.org/c/osmo-bts/+/21446/1/src/common/power_control.c@120
PS1, Line 120: #
I agree that this log message should go (and that for sure it never should have 
been LOGL_INFO).  However, this is a change to the existing code, I suggest to 
just move / restructure in one patch and then deactivate/remove code in a 
separate patch.



--
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/21446
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: I2525eb2c3f1fdb3d0847a8ad50b30a44d7741a55
Gerrit-Change-Number: 21446
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria 
Gerrit-Reviewer: Jenkins Builder
Gerrit-CC: laforge 
Gerrit-Comment-Date: Tue, 01 Dec 2020 19:45:32 +
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment


Change in osmo-bts[master]: vty: add commands for Downlink power control

2020-12-01 Thread fixeria
fixeria has posted comments on this change. ( 
https://gerrit.osmocom.org/c/osmo-bts/+/21438 )

Change subject: vty: add commands for Downlink power control
..


Patch Set 1:

(1 comment)

https://gerrit.osmocom.org/c/osmo-bts/+/21438/1/src/common/vty.c
File src/common/vty.c:

https://gerrit.osmocom.org/c/osmo-bts/+/21438/1/src/common/vty.c@655
PS1, Line 655:  i
> I would argue we can afford a full !strcmp here. [โ€ฆ]
We definitely not going to have more directions than Uplink and Downlink, so I 
don't see a reason to use strcmp() here.  I guess to improve readability?  I 
would just add comments then.



--
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/21438
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: I61efbe177aa06584cd7412640b888913de6e8f9d
Gerrit-Change-Number: 21438
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria 
Gerrit-Reviewer: Jenkins Builder
Gerrit-CC: laforge 
Gerrit-Comment-Date: Tue, 01 Dec 2020 19:44:23 +
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: laforge 
Gerrit-MessageType: comment


Change in osmo-bts[master]: power_control: generalize and rename lchan_ul_pf_ewma()

2020-12-01 Thread laforge
laforge has posted comments on this change. ( 
https://gerrit.osmocom.org/c/osmo-bts/+/21444 )

Change subject: power_control: generalize and rename lchan_ul_pf_ewma()
..


Patch Set 1: Code-Review+1


--
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/21444
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: I16c2e1b997f2b8af44d47809420293f072335bbd
Gerrit-Change-Number: 21444
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge 
Gerrit-Comment-Date: Tue, 01 Dec 2020 19:43:02 +
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment


Change in osmo-bts[master]: power_control: lchan_ms_pwr_ctrl(): make use of params/state pointers

2020-12-01 Thread laforge
laforge has posted comments on this change. ( 
https://gerrit.osmocom.org/c/osmo-bts/+/21445 )

Change subject: power_control: lchan_ms_pwr_ctrl(): make use of params/state 
pointers
..


Patch Set 1: Code-Review+1


--
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/21445
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: I177d82cd61d59256976007fed2f7da400b814789
Gerrit-Change-Number: 21445
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge 
Gerrit-Comment-Date: Tue, 01 Dec 2020 19:43:21 +
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment


Change in osmo-bts[master]: power_control: lchan_ms_pwr_ctrl(): use existing 'trx' pointer

2020-12-01 Thread laforge
laforge has posted comments on this change. ( 
https://gerrit.osmocom.org/c/osmo-bts/+/21443 )

Change subject: power_control: lchan_ms_pwr_ctrl(): use existing 'trx' pointer
..


Patch Set 1: Code-Review+2


--
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/21443
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: Idf46e47f20f031ff9dded1be1e6c4337d7b423e7
Gerrit-Change-Number: 21443
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge 
Gerrit-Comment-Date: Tue, 01 Dec 2020 19:42:38 +
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment


Change in osmo-bts[master]: power_control: lchan_ul_pf_ewma(): do not use lchan->meas.res_nr

2020-12-01 Thread laforge
laforge has posted comments on this change. ( 
https://gerrit.osmocom.org/c/osmo-bts/+/21442 )

Change subject: power_control: lchan_ul_pf_ewma(): do not use lchan->meas.res_nr
..


Patch Set 1: Code-Review+1

explanation "why" would be nice in changelog


--
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/21442
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: Idfefca30f4944bc722b4e9d8f1685eb77670a9db
Gerrit-Change-Number: 21442
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge 
Gerrit-Comment-Date: Tue, 01 Dec 2020 19:42:25 +
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment


Change in osmo-bts[master]: power_control: generalize power control state structure

2020-12-01 Thread laforge
laforge has posted comments on this change. ( 
https://gerrit.osmocom.org/c/osmo-bts/+/21441 )

Change subject: power_control: generalize power control state structure
..


Patch Set 1: Code-Review+1

(1 comment)

https://gerrit.osmocom.org/c/osmo-bts/+/21441/1/include/osmo-bts/gsm_data.h
File include/osmo-bts/gsm_data.h:

https://gerrit.osmocom.org/c/osmo-bts/+/21441/1/include/osmo-bts/gsm_data.h@165
PS1, Line 165: uint8_t current;
 :  uint8_t max;
 :  bool fixed;
units ?  - ah I see you're just moving. Would still be worth afollow-up patch.



--
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/21441
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: I8c6ad8d14349e8a05084c2912644c5202f951f52
Gerrit-Change-Number: 21441
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge 
Gerrit-Comment-Date: Tue, 01 Dec 2020 19:41:47 +
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment


Change in osmo-bts[master]: tx_power: remove unused get_p[_trxout]_target_mdBm_lchan()

2020-12-01 Thread laforge
laforge has posted comments on this change. ( 
https://gerrit.osmocom.org/c/osmo-bts/+/21440 )

Change subject: tx_power: remove unused get_p[_trxout]_target_mdBm_lchan()
..


Patch Set 1:

why? maybe we need it one day. Does it negatively affect your code in any way?


--
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/21440
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: Iaec20bf2711d3bc022325cd77ea8c675caeb7987
Gerrit-Change-Number: 21440
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria 
Gerrit-Reviewer: Jenkins Builder
Gerrit-CC: laforge 
Gerrit-Comment-Date: Tue, 01 Dec 2020 19:40:22 +
Gerrit-HasComments: No
Gerrit-Has-Labels: No
Gerrit-MessageType: comment


Change in osmo-bts[master]: l1sap: make sure that UL SACCH is always 23 octets long

2020-12-01 Thread laforge
laforge has posted comments on this change. ( 
https://gerrit.osmocom.org/c/osmo-bts/+/21439 )

Change subject: l1sap: make sure that UL SACCH is always 23 octets long
..


Patch Set 1: Code-Review+1


--
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/21439
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: I1c8a43337fbc1acfab3c0f0713c75ded95d69512
Gerrit-Change-Number: 21439
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge 
Gerrit-Comment-Date: Tue, 01 Dec 2020 19:39:39 +
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment


Change in osmo-bts[master]: vty: add commands for Downlink power control

2020-12-01 Thread laforge
laforge has posted comments on this change. ( 
https://gerrit.osmocom.org/c/osmo-bts/+/21438 )

Change subject: vty: add commands for Downlink power control
..


Patch Set 1:

(2 comments)

https://gerrit.osmocom.org/c/osmo-bts/+/21438/1/src/common/vty.c
File src/common/vty.c:

https://gerrit.osmocom.org/c/osmo-bts/+/21438/1/src/common/vty.c@655
PS1, Line 655:  i
I would argue we can afford a full !strcmp here. It's not like we are 
processing millions of VTY commands per second.


https://gerrit.osmocom.org/c/osmo-bts/+/21438/1/src/common/vty.c@676
PS1, Line 676:  i
likewise, also below further cases.



--
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/21438
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: I61efbe177aa06584cd7412640b888913de6e8f9d
Gerrit-Change-Number: 21438
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria 
Gerrit-Reviewer: Jenkins Builder
Gerrit-CC: laforge 
Gerrit-Comment-Date: Tue, 01 Dec 2020 19:39:12 +
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment


Change in osmo-bts[master]: bts: add Downlink power control parameters

2020-12-01 Thread laforge
laforge has posted comments on this change. ( 
https://gerrit.osmocom.org/c/osmo-bts/+/21437 )

Change subject: bts: add Downlink power control parameters
..


Patch Set 1: Code-Review+1


--
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/21437
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: I724f661e9ce5dd75f95fb7b270a89b2e2a73c951
Gerrit-Change-Number: 21437
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge 
Gerrit-Comment-Date: Tue, 01 Dec 2020 19:37:08 +
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment


Change in osmo-bts[master]: bts: generalize a struct for UL/DL power control parameters

2020-12-01 Thread laforge
laforge has posted comments on this change. ( 
https://gerrit.osmocom.org/c/osmo-bts/+/21436 )

Change subject: bts: generalize a struct for UL/DL power control parameters
..


Patch Set 1: Code-Review+1

(1 comment)

https://gerrit.osmocom.org/c/osmo-bts/+/21436/1/include/osmo-bts/bts.h
File include/osmo-bts/bts.h:

https://gerrit.osmocom.org/c/osmo-bts/+/21436/1/include/osmo-bts/bts.h@106
PS1, Line 106: /* Target value to strive to */
 :  int target;
 :  /* Tolerated deviation from target */
see my comment about adding the units to the commment.



--
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/21436
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: I504de17fb3c1300c2a3faa6d7d3a9eb1b74b214b
Gerrit-Change-Number: 21436
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge 
Gerrit-Comment-Date: Tue, 01 Dec 2020 19:36:09 +
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment


Change in osmo-bts[master]: bts: rename MS_UL_PF_ALGO_{NONE, EWMA} to BTS_PF_ALGO_{NONE, EWMA}

2020-12-01 Thread laforge
laforge has posted comments on this change. ( 
https://gerrit.osmocom.org/c/osmo-bts/+/21435 )

Change subject: bts: rename MS_UL_PF_ALGO_{NONE,EWMA} to BTS_PF_ALGO_{NONE,EWMA}
..


Patch Set 1: Code-Review+1


--
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/21435
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: I580512eea1d329a4d25ccbd6fc2ab98b083ec51d
Gerrit-Change-Number: 21435
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge 
Gerrit-Comment-Date: Tue, 01 Dec 2020 19:35:00 +
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment


Change in osmo-bts[master]: struct gsm_bts: move ul_power_{target, hysteresis} to ul_power_ctrl

2020-12-01 Thread laforge
laforge has posted comments on this change. ( 
https://gerrit.osmocom.org/c/osmo-bts/+/21434 )

Change subject: struct gsm_bts: move ul_power_{target,hysteresis} to 
ul_power_ctrl
..


Patch Set 1: Code-Review+1

(1 comment)

https://gerrit.osmocom.org/c/osmo-bts/+/21434/1/include/osmo-bts/bts.h
File include/osmo-bts/bts.h:

https://gerrit.osmocom.org/c/osmo-bts/+/21434/1/include/osmo-bts/bts.h@304
PS1, Line 304: * Target value to strive to */
 :  int target;
 :  /* Tolerated deviation from target */
 :  int hysteresis;
I know, unrelated to this patch, but it would be great  if at least the  
comment would state in which unit (dBm for target / dB for hysteresis?) they 
are.  Another approach that I typically use in such situations is to append the 
unit like target_dBm and hysteresis_mdB.



--
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/21434
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: I3886c7aedf3870536f1750f864cf698302ddf2df
Gerrit-Change-Number: 21434
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge 
Gerrit-Comment-Date: Tue, 01 Dec 2020 19:34:35 +
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment


Change in osmo-bsc[master]: Store GPRS MOs directly under BTS SiteMgr object

2020-12-01 Thread laforge
laforge has posted comments on this change. ( 
https://gerrit.osmocom.org/c/osmo-bsc/+/21423 )

Change subject: Store GPRS MOs directly under BTS SiteMgr object
..


Patch Set 1:

(2 comments)

https://gerrit.osmocom.org/c/osmo-bsc/+/21423/1/include/osmocom/bsc/bts.h
File include/osmocom/bsc/bts.h:

https://gerrit.osmocom.org/c/osmo-bsc/+/21423/1/include/osmocom/bsc/bts.h@a362
PS1, Line 362:  struct {
 :  struct gsm_abis_mo mo;
 :  uint16_t bvci;
 :  uint8_t timer[11];
 :  struct gprs_rlc_cfg rlc_cfg;
 :  } cell;
the "cell" could actually stay here, as there is always exactly one per BTS.


https://gerrit.osmocom.org/c/osmo-bsc/+/21423/1/include/osmocom/bsc/bts_sm.h
File include/osmocom/bsc/bts_sm.h:

https://gerrit.osmocom.org/c/osmo-bsc/+/21423/1/include/osmocom/bsc/bts_sm.h@69
PS1, Line 69:   struct
this one is per BTS, isn't it? One Cell == One BTS



--
To view, visit https://gerrit.osmocom.org/c/osmo-bsc/+/21423
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: I06461b7784fa2a78de37383406e35beae85fbad8
Gerrit-Change-Number: 21423
Gerrit-PatchSet: 1
Gerrit-Owner: pespin 
Gerrit-Reviewer: Jenkins Builder
Gerrit-CC: laforge 
Gerrit-Comment-Date: Tue, 01 Dec 2020 19:32:55 +
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment


Change in osmo-bts[master]: osmo-bts-trx/scheduler: ensure no DL power attenuation on C0

2020-12-01 Thread fixeria
fixeria has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-bts/+/21449 )


Change subject: osmo-bts-trx/scheduler: ensure no DL power attenuation on C0
..

osmo-bts-trx/scheduler: ensure no DL power attenuation on C0

When [baseband] frequency hopping is in use, Downlink bursts from
additional transceivers may end up being transmitted on TRX0/C0.
In this case, we must not apply per-lchan attenuation, because
the BTS shall maintain constant power level on that TRX.

Change-Id: Id171df70447283b00da965e1f81dfac20e35495c
Related: SYS#4918
---
M src/osmo-bts-trx/scheduler_trx.c
1 file changed, 5 insertions(+), 2 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/49/21449/1

diff --git a/src/osmo-bts-trx/scheduler_trx.c b/src/osmo-bts-trx/scheduler_trx.c
index c000324..1552a86 100644
--- a/src/osmo-bts-trx/scheduler_trx.c
+++ b/src/osmo-bts-trx/scheduler_trx.c
@@ -146,9 +146,12 @@
l1h = pinst->u.osmotrx.hdl;
}

-   /* update dummy burst mask for C0 */
-   if (pinst->trx == bts->c0)
+   if (pinst->trx == bts->c0) {
+   /* update dummy burst mask for C0 */
c0_mask |= (1 << tn);
+   /* ensure no attenuation on C0 */
+   br.att = 0;
+   }

trx_if_send_burst(l1h, );
}

--
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/21449
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: Id171df70447283b00da965e1f81dfac20e35495c
Gerrit-Change-Number: 21449
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria 
Gerrit-MessageType: newchange


Change in osmo-bts[master]: rsl: properly initialize MS/BS Power Control state

2020-12-01 Thread fixeria
fixeria has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-bts/+/21448 )


Change subject: rsl: properly initialize MS/BS Power Control state
..

rsl: properly initialize MS/BS Power Control state

struct lchan_power_ctrl_state actually contains more fields,
which also must be initialized on CHANnel ACTIVation.

Change-Id: Id9719088fc6e9479c13e9b327a3466d9e2810a3a
Related: SYS#4918
---
M src/common/rsl.c
1 file changed, 10 insertions(+), 6 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/48/21448/1

diff --git a/src/common/rsl.c b/src/common/rsl.c
index 2ebfb32..30fa259 100644
--- a/src/common/rsl.c
+++ b/src/common/rsl.c
@@ -1154,14 +1154,18 @@
  gsm_lchans_name(lchan->state));

/* Initialize MS Power Control defaults */
-   lchan->ms_power_ctrl.max = ms_pwr_ctl_lvl(lchan->ts->trx->bts->band, 0);
-   lchan->ms_power_ctrl.current = lchan->ms_power_ctrl.max;
-   lchan->ms_power_ctrl.fixed = true;
+   lchan->ms_power_ctrl = (struct lchan_power_ctrl_state) {
+   .max = ms_pwr_ctl_lvl(lchan->ts->trx->bts->band, 0),
+   .current = lchan->ms_power_ctrl.max,
+   .fixed = true,
+   };

/* Initialize BS Power Control defaults */
-   lchan->bs_power_ctrl.max = 2 * 15;
-   lchan->bs_power_ctrl.current = 0;
-   lchan->bs_power_ctrl.fixed = true;
+   lchan->bs_power_ctrl = (struct lchan_power_ctrl_state) {
+   .max = 2 * 15, /* maximum defined in 9.3.4 */
+   .current = 0,
+   .fixed = true,
+   };

rsl_tlv_parse(, msgb_l3(msg), msgb_l3len(msg));


--
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/21448
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: Id9719088fc6e9479c13e9b327a3466d9e2810a3a
Gerrit-Change-Number: 21448
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria 
Gerrit-MessageType: newchange


Change in osmo-bts[master]: power_control: implement Downlink power control

2020-12-01 Thread fixeria
fixeria has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-bts/+/21447 )


Change subject: power_control: implement Downlink power control
..

power_control: implement Downlink power control

Change-Id: I5b509e71d5f668b6b8b2abf8053c27f2a7c78451
Related: SYS#4918
---
M include/osmo-bts/gsm_data.h
M include/osmo-bts/power_control.h
M src/common/l1sap.c
M src/common/power_control.c
M src/common/rsl.c
M src/common/scheduler.c
M src/common/vty.c
7 files changed, 148 insertions(+), 22 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/47/21447/1

diff --git a/include/osmo-bts/gsm_data.h b/include/osmo-bts/gsm_data.h
index 04c6629..6af96fe 100644
--- a/include/osmo-bts/gsm_data.h
+++ b/include/osmo-bts/gsm_data.h
@@ -316,11 +316,9 @@
/* RTP header Marker bit to indicate beginning of speech after pause  */
bool rtp_tx_marker;

-   /* MS power control */
+   /* MS/BS power control */
struct lchan_power_ctrl_state ms_power_ctrl;
-
-   /* BTS power reduction (in dB) */
-   uint8_t bs_power_red;
+   struct lchan_power_ctrl_state bs_power_ctrl;

struct msgb *pending_rel_ind_msg;

diff --git a/include/osmo-bts/power_control.h b/include/osmo-bts/power_control.h
index cb566a8..f2e14cf 100644
--- a/include/osmo-bts/power_control.h
+++ b/include/osmo-bts/power_control.h
@@ -6,3 +6,6 @@
 int lchan_ms_pwr_ctrl(struct gsm_lchan *lchan,
  const uint8_t ms_power_lvl,
  const int8_t ul_rssi_dbm);
+
+int lchan_bs_pwr_ctrl(struct gsm_lchan *lchan,
+ const struct gsm48_hdr *gh);
diff --git a/src/common/l1sap.c b/src/common/l1sap.c
index 2038fba..33d10a5 100644
--- a/src/common/l1sap.c
+++ b/src/common/l1sap.c
@@ -1546,6 +1546,7 @@
lchan->meas.flags |= LC_UL_M_F_L1_VALID;

lchan_ms_pwr_ctrl(lchan, data[0] & 0x1f, data_ind->rssi);
+   lchan_bs_pwr_ctrl(lchan, (const struct gsm48_hdr *) [5]);
} else
le = >lapdm_ch.lapdm_dcch;

diff --git a/src/common/power_control.c b/src/common/power_control.c
index 592e4f6..71808c8 100644
--- a/src/common/power_control.c
+++ b/src/common/power_control.c
@@ -219,3 +219,105 @@

return 1;
 }
+
+ /*! compute the new Downlink attenuation value for the given logical channel.
+  *  \param lchan logical channel for which to compute (and in which to store) 
new power value.
+  *  \param[in] gh pointer to the beginning of (presumably) a Measurement 
Report.
+  */
+int lchan_bs_pwr_ctrl(struct gsm_lchan *lchan,
+ const struct gsm48_hdr *gh)
+{
+   struct gsm_bts_trx *trx = lchan->ts->trx;
+   struct gsm_bts *bts = trx->bts;
+   uint8_t rxqual_full, rxqual_sub;
+   uint8_t rxlev_full, rxlev_sub;
+   uint8_t rxqual, rxlev;
+   int delta, new;
+
+   const struct bts_power_ctrl_params *params = >dl_power_ctrl;
+   struct lchan_power_ctrl_state *state = >bs_power_ctrl;
+
+   /* Check if BS Power Control is enabled */
+   if (state->fixed)
+   return 0;
+   /* Check if this is a Measurement Report */
+   if (gh->proto_discr != GSM48_PDISC_RR)
+   return 0;
+   if (gh->msg_type != GSM48_MT_RR_MEAS_REP)
+   return 0;
+
+   /* Check if the measurement results are valid */
+   if ((gh->data[1] & 0x40) == 0x40) {
+   LOGPLCHAN(lchan, DLOOP, LOGL_DEBUG,
+ "The measurement results are not valid\n");
+   return 0;
+   }
+
+   /* See 3GPP TS 44.018, section 10.5.2.20 */
+   rxqual_full = (gh->data[2] >> 4) & 0x7;
+   rxqual_sub = (gh->data[2] >> 1) & 0x7;
+
+   rxlev_full = gh->data[0] & 0x3f;
+   rxlev_sub = gh->data[1] & 0x3f;
+
+   LOGPLCHAN(lchan, DLOOP, LOGL_DEBUG, "Rx DL Measurement Report: "
+ "RXLEV-FULL(%02u), RXQUAL-FULL(%u), "
+ "RXLEV-SUB(%02u), RXQUAL-SUB(%u), "
+ "DTx is %s => using %s\n",
+ rxqual_full, rxqual_sub, rxlev_full, rxlev_sub,
+ lchan->tch.dtx.dl_active ? "enabled" : "disabled",
+ lchan->tch.dtx.dl_active ? "SUB" : "FULL");
+
+   /* If DTx is active on Downlink, use the '-SUB' */
+   if (lchan->tch.dtx.dl_active) {
+   rxqual = rxqual_sub;
+   rxlev = rxlev_sub;
+   } else { /* ... otherwise use the '-FULL' */
+   rxqual = rxqual_full;
+   rxlev = rxlev_full;
+   }
+
+   /* Bit Error Rate > 0 => reduce by 2 */
+   if (rxqual > 0) {
+   LOGPLCHAN(lchan, DLOOP, LOGL_INFO, "Reducing Downlink 
attenuation "
+ "by half: %u -> %u dB due to RXQUAL %u > 0\n",
+ state->current, state->current / 2, rxqual);
+   state->current /= 2;
+   return 1;
+   }
+
+   /* 

Change in osmo-bts[master]: power_control: derive calc_delta() from lchan_ms_pwr_ctrl()

2020-12-01 Thread fixeria
fixeria has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-bts/+/21446 )


Change subject: power_control: derive calc_delta() from lchan_ms_pwr_ctrl()
..

power_control: derive calc_delta() from lchan_ms_pwr_ctrl()

This function will also be used by the BS Power Control logic.

Unfortunately, the unit test expectations have changed because:

  - lchan_ms_pwr_ctrl() has no access to the averaged input value
anymore, so now the actual input value is printed;
  - one logging statement and early return have been removed,
so now another logging statement substitutes it.

Change-Id: I2525eb2c3f1fdb3d0847a8ad50b30a44d7741a55
Related: SYS#4918
---
M src/common/power_control.c
M tests/power/power_test.err
2 files changed, 68 insertions(+), 56 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/46/21446/1

diff --git a/src/common/power_control.c b/src/common/power_control.c
index 21f7ce5..592e4f6 100644
--- a/src/common/power_control.c
+++ b/src/common/power_control.c
@@ -34,8 +34,8 @@
 #include 

 /* how many dB do we raise/lower as maximum (1 ms power level = 2 dB) */
-#define MS_RAISE_MAX_DB 4
-#define MS_LOWER_MAX_DB 8
+#define PWR_RAISE_MAX_DB 4
+#define PWR_LOWER_MAX_DB 8

 /* We don't want to deal with floating point, so we scale up */
 #define EWMA_SCALE_FACTOR 100
@@ -91,6 +91,55 @@
return *Avg100 / EWMA_SCALE_FACTOR;
 }

+/* Calculate a 'delta' value (for the given MS/BS power control state and 
parameters)
+ * to be applied to the current Tx power level to approach the target level. */
+static int calc_delta(const struct bts_power_ctrl_params *params,
+ struct lchan_power_ctrl_state *state,
+ const int rxlev_dbm)
+{
+   int rxlev_dbm_avg;
+   int delta;
+
+   /* Filter input value(s) to reduce unnecessary Tx power oscillations */
+   switch (params->pf_algo) {
+   case BTS_PF_ALGO_EWMA:
+   rxlev_dbm_avg = do_pf_ewma(params, state, rxlev_dbm);
+   break;
+   case BTS_PF_ALGO_NONE:
+   default:
+   /* No filtering (pass through) */
+   rxlev_dbm_avg = rxlev_dbm;
+   }
+
+   /* How many dBs measured power should be increased (+) or decreased (-)
+* to reach expected power. */
+   delta = params->target - rxlev_dbm_avg;
+
+   /* Tolerate small deviations from 'rx-target' */
+   if (abs(delta) <= params->hysteresis) {
+#if 0
+   LOGPLCHAN(lchan, DLOOP, LOGL_INFO,
+ "Keeping MS power at control level %d (%d dBm) 
because diff %d dBm "
+ "from 'rx-target' %d dBm is not significant 
(hysteresis %d dBm)\n",
+ ms_power_lvl, ms_dbm, delta, params->target, 
params->hysteresis);
+   /* Keep the current power level in sync (just to be sure) */
+   state->current = ms_power_lvl;
+   bts_model_adjst_ms_pwr(lchan);
+#endif
+   return 0;
+   }
+
+   /* Don't ever change more than PWR_{LOWER,RAISE}_MAX_DBM during one loop
+* iteration, i.e. reduce the speed at which the MS transmit power can
+* change. A higher value means a lower level (and vice versa) */
+   if (delta > PWR_RAISE_MAX_DB)
+   delta = PWR_RAISE_MAX_DB;
+   else if (delta < -PWR_LOWER_MAX_DB)
+   delta = -PWR_LOWER_MAX_DB;
+
+   return delta;
+}
+
  /*! compute the new MS POWER LEVEL communicated to the MS and store it in 
lchan.
   *  \param lchan logical channel for which to compute (and in which to store) 
new power value.
   *  \param[in] ms_power_lvl MS Power Level received from Uplink L1 SACCH 
Header in SACCH block.
@@ -100,13 +149,11 @@
  const uint8_t ms_power_lvl,
  const int8_t ul_rssi_dbm)
 {
-   int diff;
struct gsm_bts_trx *trx = lchan->ts->trx;
struct gsm_bts *bts = trx->bts;
enum gsm_band band = bts->band;
int8_t new_power_lvl; /* TS 05.05 power level */
int8_t ms_dbm, new_dbm, current_dbm, bsc_max_dbm;
-   int8_t avg_ul_rssi_dbm;

const struct bts_power_ctrl_params *params = >ul_power_ctrl;
struct lchan_power_ctrl_state *state = >ms_power_ctrl;
@@ -131,43 +178,8 @@
return 0;
}

-   /* Filter UL RSSI to reduce unnecessary Tx power oscillations */
-   switch (params->pf_algo) {
-   case BTS_PF_ALGO_EWMA:
-   avg_ul_rssi_dbm = do_pf_ewma(params, state, ul_rssi_dbm);
-   break;
-   case BTS_PF_ALGO_NONE:
-   default:
-   /* No filtering (pass through) */
-   avg_ul_rssi_dbm = ul_rssi_dbm;
-   }
-
-   /* How many dBs measured power should be increased (+) or decreased (-)
-  to reach expected power. */
-   diff = params->target - avg_ul_rssi_dbm;
-
-
-   /* Tolerate 

Change in osmo-bts[master]: power_control: lchan_ms_pwr_ctrl(): make use of params/state pointers

2020-12-01 Thread fixeria
fixeria has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-bts/+/21445 )


Change subject: power_control: lchan_ms_pwr_ctrl(): make use of params/state 
pointers
..

power_control: lchan_ms_pwr_ctrl(): make use of params/state pointers

Change-Id: I177d82cd61d59256976007fed2f7da400b814789
Related: SYS#4918
---
M src/common/power_control.c
1 file changed, 15 insertions(+), 17 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/45/21445/1

diff --git a/src/common/power_control.c b/src/common/power_control.c
index 9d17c89..21f7ce5 100644
--- a/src/common/power_control.c
+++ b/src/common/power_control.c
@@ -113,7 +113,7 @@

if (!trx_ms_pwr_ctrl_is_osmo(trx))
return 0;
-   if (lchan->ms_power_ctrl.fixed)
+   if (state->fixed)
return 0;

ms_dbm = ms_pwr_dbm(band, ms_power_lvl);
@@ -123,16 +123,16 @@
  ms_power_lvl, gsm_band_name(band));
return 0;
}
-   bsc_max_dbm = ms_pwr_dbm(band, lchan->ms_power_ctrl.max);
+   bsc_max_dbm = ms_pwr_dbm(band, state->max);
if (bsc_max_dbm < 0) {
LOGPLCHAN(lchan, DLOOP, LOGL_NOTICE,
  "Failed to calculate dBm for power ctl level %" PRIu8 
" on band %s\n",
- lchan->ms_power_ctrl.max, gsm_band_name(band));
+ state->max, gsm_band_name(band));
return 0;
}

/* Filter UL RSSI to reduce unnecessary Tx power oscillations */
-   switch (bts->ul_power_ctrl.pf_algo) {
+   switch (params->pf_algo) {
case BTS_PF_ALGO_EWMA:
avg_ul_rssi_dbm = do_pf_ewma(params, state, ul_rssi_dbm);
break;
@@ -144,17 +144,17 @@

/* How many dBs measured power should be increased (+) or decreased (-)
   to reach expected power. */
-   diff = bts->ul_power_ctrl.target - avg_ul_rssi_dbm;
+   diff = params->target - avg_ul_rssi_dbm;


/* Tolerate small deviations from 'rx-target' */
-   if (abs(diff) <= bts->ul_power_ctrl.hysteresis) {
+   if (abs(diff) <= params->hysteresis) {
LOGPLCHAN(lchan, DLOOP, LOGL_INFO,
  "Keeping MS power at control level %d (%d dBm) 
because diff %d dBm "
  "from 'rx-target' %d dBm is not significant 
(hysteresis %d dBm)\n",
- ms_power_lvl, ms_dbm, diff, 
bts->ul_power_ctrl.target, bts->ul_power_ctrl.hysteresis);
+ ms_power_lvl, ms_dbm, diff, params->target, 
params->hysteresis);
/* Keep the current power level in sync (just to be sure) */
-   lchan->ms_power_ctrl.current = ms_power_lvl;
+   state->current = ms_power_lvl;
bts_model_adjst_ms_pwr(lchan);
return 0;
}
@@ -186,25 +186,23 @@
return 0;
}

-   if (lchan->ms_power_ctrl.current == new_power_lvl) {
+   if (state->current == new_power_lvl) {
LOGPLCHAN(lchan, DLOOP, LOGL_INFO, "Keeping MS power at control 
level %d, %d dBm "
  "(rx-ms-pwr-lvl %" PRIu8 ", max-ms-pwr-lvl %" PRIu8 
", rx-current %d dBm, rx-target %d dBm)\n",
- new_power_lvl, new_dbm,
- ms_power_lvl, lchan->ms_power_ctrl.max,
- avg_ul_rssi_dbm, bts->ul_power_ctrl.target);
+ new_power_lvl, new_dbm, ms_power_lvl, state->max,
+ avg_ul_rssi_dbm, params->target);
return 0;
}

-   current_dbm = ms_pwr_dbm(band, lchan->ms_power_ctrl.current);
+   current_dbm = ms_pwr_dbm(band, state->current);
LOGPLCHAN(lchan, DLOOP, LOGL_INFO, "%s MS power from control level %d 
(%d dBm) to %d, %d dBm "
  "(rx-ms-pwr-lvl %" PRIu8 ", max-ms-pwr-lvl %" PRIu8 ", 
rx-current %d dBm, rx-target %d dBm)\n",
  (new_dbm > current_dbm) ? "Raising" : "Lowering",
- lchan->ms_power_ctrl.current, current_dbm, new_power_lvl, 
new_dbm,
- ms_power_lvl, lchan->ms_power_ctrl.max,
- avg_ul_rssi_dbm, bts->ul_power_ctrl.target);
+ state->current, current_dbm, new_power_lvl, new_dbm,
+ ms_power_lvl, state->max, avg_ul_rssi_dbm, params->target);

/* store the resulting new MS power level in the lchan */
-   lchan->ms_power_ctrl.current = new_power_lvl;
+   state->current = new_power_lvl;
bts_model_adjst_ms_pwr(lchan);

return 1;

--
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/21445
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: I177d82cd61d59256976007fed2f7da400b814789
Gerrit-Change-Number: 21445

Change in osmo-bts[master]: power_control: generalize and rename lchan_ul_pf_ewma()

2020-12-01 Thread fixeria
fixeria has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-bts/+/21444 )


Change subject: power_control: generalize and rename lchan_ul_pf_ewma()
..

power_control: generalize and rename lchan_ul_pf_ewma()

This way EWMA based filtering logic can be used not only for
MS Power Control, but also for BS Power Control.

Change-Id: I16c2e1b997f2b8af44d47809420293f072335bbd
Related: SYS#4918
---
M src/common/power_control.c
1 file changed, 9 insertions(+), 6 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/44/21444/1

diff --git a/src/common/power_control.c b/src/common/power_control.c
index a20ce55..9d17c89 100644
--- a/src/common/power_control.c
+++ b/src/common/power_control.c
@@ -74,12 +74,12 @@
  *   
https://en.wikipedia.org/wiki/Low-pass_filter#Simple_infinite_impulse_response_filter
  *   https://tomroelandts.com/articles/low-pass-single-pole-iir-filter
  */
-static int8_t lchan_ul_pf_ewma(const struct gsm_bts *bts,
-  struct gsm_lchan *lchan,
-  const int8_t Pwr)
+static int8_t do_pf_ewma(const struct bts_power_ctrl_params *params,
+struct lchan_power_ctrl_state *state,
+const int8_t Pwr)
 {
-   const uint8_t A = bts->ul_power_ctrl.pf.ewma.alpha;
-   int *Avg100 = >ms_power_ctrl.avg100_rxlev_dbm;
+   const uint8_t A = params->pf.ewma.alpha;
+   int *Avg100 = >avg100_rxlev_dbm;

/* We don't have 'Avg[n - 1]' if this is the first run */
if (*Avg100 == 0) {
@@ -108,6 +108,9 @@
int8_t ms_dbm, new_dbm, current_dbm, bsc_max_dbm;
int8_t avg_ul_rssi_dbm;

+   const struct bts_power_ctrl_params *params = >ul_power_ctrl;
+   struct lchan_power_ctrl_state *state = >ms_power_ctrl;
+
if (!trx_ms_pwr_ctrl_is_osmo(trx))
return 0;
if (lchan->ms_power_ctrl.fixed)
@@ -131,7 +134,7 @@
/* Filter UL RSSI to reduce unnecessary Tx power oscillations */
switch (bts->ul_power_ctrl.pf_algo) {
case BTS_PF_ALGO_EWMA:
-   avg_ul_rssi_dbm = lchan_ul_pf_ewma(bts, lchan, ul_rssi_dbm);
+   avg_ul_rssi_dbm = do_pf_ewma(params, state, ul_rssi_dbm);
break;
case BTS_PF_ALGO_NONE:
default:

--
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/21444
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: I16c2e1b997f2b8af44d47809420293f072335bbd
Gerrit-Change-Number: 21444
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria 
Gerrit-MessageType: newchange


Change in osmo-bts[master]: power_control: lchan_ms_pwr_ctrl(): use existing 'trx' pointer

2020-12-01 Thread fixeria
fixeria has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-bts/+/21443 )


Change subject: power_control: lchan_ms_pwr_ctrl(): use existing 'trx' pointer
..

power_control: lchan_ms_pwr_ctrl(): use existing 'trx' pointer

Change-Id: Idf46e47f20f031ff9dded1be1e6c4337d7b423e7
Related: SYS#4918
---
M src/common/power_control.c
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/43/21443/1

diff --git a/src/common/power_control.c b/src/common/power_control.c
index 5dbf8ce..a20ce55 100644
--- a/src/common/power_control.c
+++ b/src/common/power_control.c
@@ -108,7 +108,7 @@
int8_t ms_dbm, new_dbm, current_dbm, bsc_max_dbm;
int8_t avg_ul_rssi_dbm;

-   if (!trx_ms_pwr_ctrl_is_osmo(lchan->ts->trx))
+   if (!trx_ms_pwr_ctrl_is_osmo(trx))
return 0;
if (lchan->ms_power_ctrl.fixed)
return 0;

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/21443
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: Idf46e47f20f031ff9dded1be1e6c4337d7b423e7
Gerrit-Change-Number: 21443
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria 
Gerrit-MessageType: newchange


Change in osmo-bts[master]: power_control: lchan_ul_pf_ewma(): do not use lchan->meas.res_nr

2020-12-01 Thread fixeria
fixeria has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-bts/+/21442 )


Change subject: power_control: lchan_ul_pf_ewma(): do not use lchan->meas.res_nr
..

power_control: lchan_ul_pf_ewma(): do not use lchan->meas.res_nr

Change-Id: Idfefca30f4944bc722b4e9d8f1685eb77670a9db
Related: SYS#4918
---
M src/common/power_control.c
M tests/power/power_test.c
2 files changed, 2 insertions(+), 2 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/42/21442/1

diff --git a/src/common/power_control.c b/src/common/power_control.c
index 3328167..5dbf8ce 100644
--- a/src/common/power_control.c
+++ b/src/common/power_control.c
@@ -82,7 +82,7 @@
int *Avg100 = >ms_power_ctrl.avg100_rxlev_dbm;

/* We don't have 'Avg[n - 1]' if this is the first run */
-   if (lchan->meas.res_nr == 0) {
+   if (*Avg100 == 0) {
*Avg100 = Pwr * EWMA_SCALE_FACTOR;
return Pwr;
}
diff --git a/tests/power/power_test.c b/tests/power/power_test.c
index 1abe532..147c725 100644
--- a/tests/power/power_test.c
+++ b/tests/power/power_test.c
@@ -191,7 +191,7 @@

g_bts->ul_power_ctrl.pf.ewma.alpha = 70; /* 30% smoothing */
lchan->ms_power_ctrl.current = 15;
-   lchan->meas.res_nr = 0;
+   lchan->ms_power_ctrl.avg100_rxlev_dbm = 0;

/* This is the first sample, the filter outputs it as-is */
apply_power_test(lchan, -50, 0, 15);

--
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/21442
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: Idfefca30f4944bc722b4e9d8f1685eb77670a9db
Gerrit-Change-Number: 21442
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria 
Gerrit-MessageType: newchange


Change in osmo-bts[master]: power_control: generalize power control state structure

2020-12-01 Thread fixeria
fixeria has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-bts/+/21441 )


Change subject: power_control: generalize power control state structure
..

power_control: generalize power control state structure

Change-Id: I8c6ad8d14349e8a05084c2912644c5202f951f52
Related: SYS#4918
---
M include/osmo-bts/gsm_data.h
M src/common/power_control.c
M tests/power/power_test.c
3 files changed, 13 insertions(+), 10 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/41/21441/1

diff --git a/include/osmo-bts/gsm_data.h b/include/osmo-bts/gsm_data.h
index 64102f5..04c6629 100644
--- a/include/osmo-bts/gsm_data.h
+++ b/include/osmo-bts/gsm_data.h
@@ -161,6 +161,15 @@
uint32_t fn;
 };

+struct lchan_power_ctrl_state {
+   uint8_t current;
+   uint8_t max;
+   bool fixed;
+
+   /* Scaled up (100 times) average UL/DL RxLev (in dBm) */
+   int avg100_rxlev_dbm;
+};
+
 struct gsm_lchan {
/* The TS that we're part of */
struct gsm_bts_trx_ts *ts;
@@ -306,15 +315,9 @@
enum lchan_rel_act_kind rel_act_kind;
/* RTP header Marker bit to indicate beginning of speech after pause  */
bool rtp_tx_marker;
-   /* power handling */
-   struct {
-   uint8_t current;
-   uint8_t max;
-   bool fixed;

-   /* Scaled up (100 times) average UL RSSI */
-   int avg100_ul_rssi;
-   } ms_power_ctrl;
+   /* MS power control */
+   struct lchan_power_ctrl_state ms_power_ctrl;

/* BTS power reduction (in dB) */
uint8_t bs_power_red;
diff --git a/src/common/power_control.c b/src/common/power_control.c
index e022e59..3328167 100644
--- a/src/common/power_control.c
+++ b/src/common/power_control.c
@@ -79,7 +79,7 @@
   const int8_t Pwr)
 {
const uint8_t A = bts->ul_power_ctrl.pf.ewma.alpha;
-   int *Avg100 = >ms_power_ctrl.avg100_ul_rssi;
+   int *Avg100 = >ms_power_ctrl.avg100_rxlev_dbm;

/* We don't have 'Avg[n - 1]' if this is the first run */
if (lchan->meas.res_nr == 0) {
diff --git a/tests/power/power_test.c b/tests/power/power_test.c
index f1b910b..1abe532 100644
--- a/tests/power/power_test.c
+++ b/tests/power/power_test.c
@@ -152,7 +152,7 @@

init_test(__func__);
lchan = _trx->ts[0].lchan[0];
-   avg100 = >ms_power_ctrl.avg100_ul_rssi;
+   avg100 = >ms_power_ctrl.avg100_rxlev_dbm;

g_bts->ul_power_ctrl.pf_algo = BTS_PF_ALGO_EWMA;
g_bts->ul_power_ctrl.pf.ewma.alpha = 20; /* 80% smoothing */

--
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/21441
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: I8c6ad8d14349e8a05084c2912644c5202f951f52
Gerrit-Change-Number: 21441
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria 
Gerrit-MessageType: newchange


Change in osmo-bts[master]: tx_power: remove unused get_p[_trxout]_target_mdBm_lchan()

2020-12-01 Thread fixeria
fixeria has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-bts/+/21440 )


Change subject: tx_power: remove unused get_p[_trxout]_target_mdBm_lchan()
..

tx_power: remove unused get_p[_trxout]_target_mdBm_lchan()

Change-Id: Iaec20bf2711d3bc022325cd77ea8c675caeb7987
---
M include/osmo-bts/tx_power.h
M src/common/tx_power.c
2 files changed, 0 insertions(+), 10 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/40/21440/1

diff --git a/include/osmo-bts/tx_power.h b/include/osmo-bts/tx_power.h
index 8f68d8a..05388f3 100644
--- a/include/osmo-bts/tx_power.h
+++ b/include/osmo-bts/tx_power.h
@@ -67,12 +67,10 @@
 int get_p_nominal_mdBm(const struct gsm_bts_trx *trx);

 int get_p_target_mdBm(const struct gsm_bts_trx *trx, uint8_t bs_power_red);
-int get_p_target_mdBm_lchan(const struct gsm_lchan *lchan);

 int get_p_actual_mdBm(const struct gsm_bts_trx *trx, int p_target_mdBm);

 int get_p_trxout_target_mdBm(const struct gsm_bts_trx *trx, uint8_t 
bs_power_red);
-int get_p_trxout_target_mdBm_lchan(const struct gsm_lchan *lchan);

 int get_p_trxout_actual_mdBm(const struct gsm_bts_trx *trx, uint8_t 
bs_power_red);
 int get_p_trxout_actual_mdBm_lchan(const struct gsm_lchan *lchan);
diff --git a/src/common/tx_power.c b/src/common/tx_power.c
index 0741429..2e5e1be 100644
--- a/src/common/tx_power.c
+++ b/src/common/tx_power.c
@@ -66,10 +66,6 @@
/* Pn subtracted by RSL BS Power Recudtion (in 1 dB steps) */
return get_p_nominal_mdBm(trx) - to_mdB(bs_power_red);
 }
-int get_p_target_mdBm_lchan(const struct gsm_lchan *lchan)
-{
-   return get_p_target_mdBm(lchan->ts->trx, lchan->bs_power_red);
-}

 /* calculate the actual total output power required, taking into account the
  * attenuation required for power ramping but not thermal management */
@@ -132,10 +128,6 @@
/* internal PA input drive level is TRX output power */
return pa_drvlvl_mdBm;
 }
-int get_p_trxout_target_mdBm_lchan(const struct gsm_lchan *lchan)
-{
-   return get_p_trxout_target_mdBm(lchan->ts->trx, lchan->bs_power_red);
-}


 /* output power ramping code */

--
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/21440
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: Iaec20bf2711d3bc022325cd77ea8c675caeb7987
Gerrit-Change-Number: 21440
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria 
Gerrit-MessageType: newchange


Change in osmo-bts[master]: l1sap: make sure that UL SACCH is always 23 octets long

2020-12-01 Thread fixeria
fixeria has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-bts/+/21439 )


Change subject: l1sap: make sure that UL SACCH is always 23 octets long
..

l1sap: make sure that UL SACCH is always 23 octets long

Change-Id: I1c8a43337fbc1acfab3c0f0713c75ded95d69512
Related: SYS#4918
---
M src/common/l1sap.c
1 file changed, 2 insertions(+), 2 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/39/21439/1

diff --git a/src/common/l1sap.c b/src/common/l1sap.c
index 1785e66..2038fba 100644
--- a/src/common/l1sap.c
+++ b/src/common/l1sap.c
@@ -1531,8 +1531,8 @@
radio_link_timeout(lchan, false);
le = >lapdm_ch.lapdm_acch;
/* save the SACCH L1 header in the lchan struct for RSL MEAS 
RES */
-   if (len < 2) {
-   LOGPGT(DL1P, LOGL_NOTICE, _time, "SACCH with size 
%u<2 !?!\n", len);
+   if (len != GSM_MACBLOCK_LEN) {
+   LOGPGT(DL1P, LOGL_NOTICE, _time, "SACCH with odd 
len=%u!?!\n", len);
return -EINVAL;
}
/* Some brilliant engineer decided that the ordering of

--
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/21439
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: I1c8a43337fbc1acfab3c0f0713c75ded95d69512
Gerrit-Change-Number: 21439
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria 
Gerrit-MessageType: newchange


Change in osmo-bts[master]: vty: add commands for Downlink power control

2020-12-01 Thread fixeria
fixeria has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-bts/+/21438 )


Change subject: vty: add commands for Downlink power control
..

vty: add commands for Downlink power control

Change-Id: I61efbe177aa06584cd7412640b888913de6e8f9d
Related: SYS#4918
---
M src/common/vty.c
1 file changed, 93 insertions(+), 47 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/38/21438/1

diff --git a/src/common/vty.c b/src/common/vty.c
index f32f6cd..0e78ad3 100644
--- a/src/common/vty.c
+++ b/src/common/vty.c
@@ -228,6 +228,27 @@
return CMD_SUCCESS;
 }

+static void config_write_power_ctrl_params(struct vty *vty, const char *prefix,
+  const struct bts_power_ctrl_params 
*pp)
+{
+   vty_out(vty, " %s-power-target %d", prefix, pp->target);
+   if (pp->hysteresis > 0)
+   vty_out(vty, " hysteresis %d", pp->hysteresis);
+   vty_out(vty, "%s", VTY_NEWLINE);
+
+   /* Power filtering algorithm and parameters */
+   switch (pp->pf_algo) {
+   case BTS_PF_ALGO_EWMA:
+   vty_out(vty, " %s-power-filtering algo ewma beta %u%s",
+   prefix, 100 - pp->pf.ewma.alpha, VTY_NEWLINE);
+   break;
+   case BTS_PF_ALGO_NONE:
+   default:
+   vty_out(vty, " no %s-power-filtering%s", prefix, VTY_NEWLINE);
+   break;
+   }
+}
+
 static void config_write_bts_single(struct vty *vty, const struct gsm_bts *bts)
 {
const struct gsm_bts_trx *trx;
@@ -255,22 +276,10 @@
VTY_NEWLINE);
vty_out(vty, " paging lifetime %u%s", 
paging_get_lifetime(bts->paging_state),
VTY_NEWLINE);
-   vty_out(vty, " uplink-power-target %d", bts->ul_power_ctrl.target);
-   if (bts->ul_power_ctrl.hysteresis > 0)
-   vty_out(vty, " hysteresis %d", bts->ul_power_ctrl.hysteresis);
-   vty_out(vty, "%s", VTY_NEWLINE);

-   /* MS Tx power filtering algorithm and parameters */
-   switch (bts->ul_power_ctrl.pf_algo) {
-   case BTS_PF_ALGO_EWMA:
-   vty_out(vty, " uplink-power-filtering algo ewma beta %u%s",
-   100 - bts->ul_power_ctrl.pf.ewma.alpha, VTY_NEWLINE);
-   break;
-   case BTS_PF_ALGO_NONE:
-   default:
-   vty_out(vty, " no uplink-power-filtering%s", VTY_NEWLINE);
-   break;
-   }
+   /* UL/DL power control parameters */
+   config_write_power_ctrl_params(vty,   "uplink", >ul_power_ctrl);
+   config_write_power_ctrl_params(vty, "downlink", >dl_power_ctrl);

if (bts->agch_queue.thresh_level != 
GSM_BTS_AGCH_QUEUE_THRESH_LEVEL_DEFAULT
 || bts->agch_queue.low_level != 
GSM_BTS_AGCH_QUEUE_LOW_LEVEL_DEFAULT
@@ -621,68 +630,105 @@
return CMD_SUCCESS;
 }

-#define UL_POWER_TARGET_CMD \
-   "uplink-power-target <-110-0>"
-#define UL_POWER_TARGET_CMD_DESC \
-   "Set the nominal target Rx Level for uplink power control loop\n" \
-   "Target uplink Rx level in dBm\n"
+#define POWER_TARGET_CMD \
+   "(uplink-power-target|downlink-power-target) <-110-0>"
+#define POWER_TARGET_CMD_DESC \
+   "Set the nominal target Rx Level for Uplink power control loop\n" \
+   "Set the nominal target Rx Level for Downlink power control loop\n" \
+   "Target Rx level in dBm\n"

-DEFUN_ATTR(cfg_bts_ul_power_target, cfg_bts_ul_power_target_cmd,
-  UL_POWER_TARGET_CMD, UL_POWER_TARGET_CMD_DESC,
+#define POWER_HYST_CMD \
+   "hysteresis <1-25>"
+#define POWER_HYST_CMD_DESC \
+   "Target Rx Level hysteresis\n" \
+   "Tolerable deviation in dBm\n"
+
+DEFUN_ATTR(cfg_bts_power_target,
+  cfg_bts_power_target_cmd,
+  POWER_TARGET_CMD,
+  POWER_TARGET_CMD_DESC,
   CMD_ATTR_IMMEDIATE)
 {
+   struct bts_power_ctrl_params *params;
struct gsm_bts *bts = vty->index;

-   bts->ul_power_ctrl.target = atoi(argv[0]);
-   bts->ul_power_ctrl.hysteresis = 0;
+   if (argv[0][0] == 'u')
+   params = >ul_power_ctrl;
+   else
+   params = >dl_power_ctrl;
+
+   params->target = atoi(argv[1]);
+   params->hysteresis = 0;

return CMD_SUCCESS;
 }

 /* FIXME: libosmovty is unable to handle 'foo <-110-0> [bar <1-25>]' */
-DEFUN_ATTR(cfg_bts_ul_power_target_hysteresis,
-  cfg_bts_ul_power_target_hysteresis_cmd,
-  UL_POWER_TARGET_CMD " hysteresis <1-25>",
-  UL_POWER_TARGET_CMD_DESC
-  "Target Rx Level hysteresis\n"
-  "Tolerable deviation in dBm\n",
+DEFUN_ATTR(cfg_bts_power_target_hysteresis,
+  cfg_bts_power_target_hysteresis_cmd,
+  POWER_TARGET_CMD " " POWER_HYST_CMD,
+  POWER_TARGET_CMD_DESC POWER_HYST_CMD_DESC,
   CMD_ATTR_IMMEDIATE)
 {
+   struct bts_power_ctrl_params *params;
struct gsm_bts *bts = 

Change in osmo-bts[master]: bts: add Downlink power control parameters

2020-12-01 Thread fixeria
fixeria has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-bts/+/21437 )


Change subject: bts: add Downlink power control parameters
..

bts: add Downlink power control parameters

Change-Id: I724f661e9ce5dd75f95fb7b270a89b2e2a73c951
Related: SYS#4918
---
M include/osmo-bts/bts.h
M src/common/bts.c
M tests/power/power_test.c
3 files changed, 17 insertions(+), 5 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/37/21437/1

diff --git a/include/osmo-bts/bts.h b/include/osmo-bts/bts.h
index 129764e..3847a26 100644
--- a/include/osmo-bts/bts.h
+++ b/include/osmo-bts/bts.h
@@ -317,8 +317,9 @@
bool vty_override;  /* OML value overridden by VTY */
} radio_link_timeout;

-   /* Uplink power control */
+   /* Uplink/Downlink power control */
struct bts_power_ctrl_params ul_power_ctrl;
+   struct bts_power_ctrl_params dl_power_ctrl;

/* used by the sysmoBTS to adjust band */
uint8_t auto_band;
diff --git a/src/common/bts.c b/src/common/bts.c
index 80f4fdd..a974b9f 100644
--- a/src/common/bts.c
+++ b/src/common/bts.c
@@ -323,16 +323,26 @@

/* configurable via VTY */
bts->paging_state = paging_init(bts, 200, 0);
-   bts->ul_power_ctrl.target = -75;/* dBm default */
-   bts->ul_power_ctrl.hysteresis = 3;  /* -78 .. -72 dBm */
-   bts->ul_power_ctrl.pf_algo = BTS_PF_ALGO_EWMA;
-   bts->ul_power_ctrl.pf.ewma.alpha = 50; /* 50% smoothing */
bts->rtp_jitter_adaptive = false;
bts->rtp_port_range_start = 16384;
bts->rtp_port_range_end = 17407;
bts->rtp_port_range_next = bts->rtp_port_range_start;
bts->rtp_ip_dscp = -1;

+   /* Default UL/DL power control parameters */
+   bts->ul_power_ctrl = bts->dl_power_ctrl = \
+   (struct bts_power_ctrl_params) {
+   .target = -75,  /* dBm default */
+   .hysteresis = 3,/* -78 .. -72 dBm */
+   .pf_algo = BTS_PF_ALGO_EWMA,
+   .pf = {
+   .ewma = {
+   /* 50% smoothing */
+   .alpha = 50
+   }
+   }
+   };
+
/* configurable via OML */
bts->load.ccch.load_ind_period = 112;
load_timer_start(bts);
diff --git a/tests/power/power_test.c b/tests/power/power_test.c
index 14bef08..f1b910b 100644
--- a/tests/power/power_test.c
+++ b/tests/power/power_test.c
@@ -48,6 +48,7 @@
g_trx->ms_pwr_ctl_soft = true;

g_bts->ul_power_ctrl.target = -75;
+   g_bts->dl_power_ctrl.target = -75;
g_bts->band = GSM_BAND_1800;
g_bts->c0 = g_trx;


--
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/21437
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: I724f661e9ce5dd75f95fb7b270a89b2e2a73c951
Gerrit-Change-Number: 21437
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria 
Gerrit-MessageType: newchange


Change in osmo-bts[master]: bts: generalize a struct for UL/DL power control parameters

2020-12-01 Thread fixeria
fixeria has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-bts/+/21436 )


Change subject: bts: generalize a struct for UL/DL power control parameters
..

bts: generalize a struct for UL/DL power control parameters

Change-Id: I504de17fb3c1300c2a3faa6d7d3a9eb1b74b214b
Related: SYS#4918
---
M include/osmo-bts/bts.h
1 file changed, 19 insertions(+), 16 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/36/21436/1

diff --git a/include/osmo-bts/bts.h b/include/osmo-bts/bts.h
index 37d4c7d..129764e 100644
--- a/include/osmo-bts/bts.h
+++ b/include/osmo-bts/bts.h
@@ -101,6 +101,24 @@
BTS_PF_ALGO_EWMA,
 };

+/* UL/DL power control parameters */
+struct bts_power_ctrl_params {
+   /* Target value to strive to */
+   int target;
+   /* Tolerated deviation from target */
+   int hysteresis;
+   /* RxLev filtering algorithm */
+   enum bts_pf_algo pf_algo;
+   /* (Optional) filtering parameters */
+   union {
+   /* Exponentially Weighted Moving Average */
+   struct {
+   /* Smoothing factor: higher the value - less smoothing 
*/
+   uint8_t alpha; /* 1 .. 99 (in %) */
+   } ewma;
+   } pf;
+};
+
 /* BTS Site Manager */
 struct gsm_bts_sm {
struct gsm_abis_mo mo;
@@ -300,22 +318,7 @@
} radio_link_timeout;

/* Uplink power control */
-   struct {
-   /* Target value to strive to */
-   int target;
-   /* Tolerated deviation from target */
-   int hysteresis;
-   /* UL RSSI filtering algorithm */
-   enum bts_pf_algo pf_algo;
-   /* (Optional) filtering parameters */
-   union {
-   /* Exponentially Weighted Moving Average */
-   struct {
-   /* Smoothing factor: higher the value - less 
smoothing */
-   uint8_t alpha; /* 1 .. 99 (in %) */
-   } ewma;
-   } pf;
-   } ul_power_ctrl;
+   struct bts_power_ctrl_params ul_power_ctrl;

/* used by the sysmoBTS to adjust band */
uint8_t auto_band;

--
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/21436
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: I504de17fb3c1300c2a3faa6d7d3a9eb1b74b214b
Gerrit-Change-Number: 21436
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria 
Gerrit-MessageType: newchange


Change in osmo-bts[master]: bts: rename MS_UL_PF_ALGO_{NONE, EWMA} to BTS_PF_ALGO_{NONE, EWMA}

2020-12-01 Thread fixeria
fixeria has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-bts/+/21435 )


Change subject: bts: rename MS_UL_PF_ALGO_{NONE,EWMA} to BTS_PF_ALGO_{NONE,EWMA}
..

bts: rename MS_UL_PF_ALGO_{NONE,EWMA} to BTS_PF_ALGO_{NONE,EWMA}

Change-Id: I580512eea1d329a4d25ccbd6fc2ab98b083ec51d
Related: SYS#4918
---
M include/osmo-bts/bts.h
M src/common/bts.c
M src/common/power_control.c
M src/common/vty.c
M tests/power/power_test.c
5 files changed, 12 insertions(+), 12 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/35/21435/1

diff --git a/include/osmo-bts/bts.h b/include/osmo-bts/bts.h
index 66b03e1..37d4c7d 100644
--- a/include/osmo-bts/bts.h
+++ b/include/osmo-bts/bts.h
@@ -96,9 +96,9 @@
 };

 /* Tx power filtering algorithm */
-enum ms_ul_pf_algo {
-   MS_UL_PF_ALGO_NONE = 0,
-   MS_UL_PF_ALGO_EWMA,
+enum bts_pf_algo {
+   BTS_PF_ALGO_NONE = 0,
+   BTS_PF_ALGO_EWMA,
 };

 /* BTS Site Manager */
@@ -306,7 +306,7 @@
/* Tolerated deviation from target */
int hysteresis;
/* UL RSSI filtering algorithm */
-   enum ms_ul_pf_algo pf_algo;
+   enum bts_pf_algo pf_algo;
/* (Optional) filtering parameters */
union {
/* Exponentially Weighted Moving Average */
diff --git a/src/common/bts.c b/src/common/bts.c
index 6375241..80f4fdd 100644
--- a/src/common/bts.c
+++ b/src/common/bts.c
@@ -325,7 +325,7 @@
bts->paging_state = paging_init(bts, 200, 0);
bts->ul_power_ctrl.target = -75;/* dBm default */
bts->ul_power_ctrl.hysteresis = 3;  /* -78 .. -72 dBm */
-   bts->ul_power_ctrl.pf_algo = MS_UL_PF_ALGO_EWMA;
+   bts->ul_power_ctrl.pf_algo = BTS_PF_ALGO_EWMA;
bts->ul_power_ctrl.pf.ewma.alpha = 50; /* 50% smoothing */
bts->rtp_jitter_adaptive = false;
bts->rtp_port_range_start = 16384;
diff --git a/src/common/power_control.c b/src/common/power_control.c
index dc5636c..e022e59 100644
--- a/src/common/power_control.c
+++ b/src/common/power_control.c
@@ -130,10 +130,10 @@

/* Filter UL RSSI to reduce unnecessary Tx power oscillations */
switch (bts->ul_power_ctrl.pf_algo) {
-   case MS_UL_PF_ALGO_EWMA:
+   case BTS_PF_ALGO_EWMA:
avg_ul_rssi_dbm = lchan_ul_pf_ewma(bts, lchan, ul_rssi_dbm);
break;
-   case MS_UL_PF_ALGO_NONE:
+   case BTS_PF_ALGO_NONE:
default:
/* No filtering (pass through) */
avg_ul_rssi_dbm = ul_rssi_dbm;
diff --git a/src/common/vty.c b/src/common/vty.c
index 34e7cfa..f32f6cd 100644
--- a/src/common/vty.c
+++ b/src/common/vty.c
@@ -262,11 +262,11 @@

/* MS Tx power filtering algorithm and parameters */
switch (bts->ul_power_ctrl.pf_algo) {
-   case MS_UL_PF_ALGO_EWMA:
+   case BTS_PF_ALGO_EWMA:
vty_out(vty, " uplink-power-filtering algo ewma beta %u%s",
100 - bts->ul_power_ctrl.pf.ewma.alpha, VTY_NEWLINE);
break;
-   case MS_UL_PF_ALGO_NONE:
+   case BTS_PF_ALGO_NONE:
default:
vty_out(vty, " no uplink-power-filtering%s", VTY_NEWLINE);
break;
@@ -664,7 +664,7 @@
 {
struct gsm_bts *bts = vty->index;

-   bts->ul_power_ctrl.pf_algo = MS_UL_PF_ALGO_NONE;
+   bts->ul_power_ctrl.pf_algo = BTS_PF_ALGO_NONE;

return CMD_SUCCESS;
 }
@@ -681,7 +681,7 @@
 {
struct gsm_bts *bts = vty->index;

-   bts->ul_power_ctrl.pf_algo = MS_UL_PF_ALGO_EWMA;
+   bts->ul_power_ctrl.pf_algo = BTS_PF_ALGO_EWMA;
bts->ul_power_ctrl.pf.ewma.alpha = 100 - atoi(argv[0]);

return CMD_SUCCESS;
diff --git a/tests/power/power_test.c b/tests/power/power_test.c
index a686134..14bef08 100644
--- a/tests/power/power_test.c
+++ b/tests/power/power_test.c
@@ -153,7 +153,7 @@
lchan = _trx->ts[0].lchan[0];
avg100 = >ms_power_ctrl.avg100_ul_rssi;

-   g_bts->ul_power_ctrl.pf_algo = MS_UL_PF_ALGO_EWMA;
+   g_bts->ul_power_ctrl.pf_algo = BTS_PF_ALGO_EWMA;
g_bts->ul_power_ctrl.pf.ewma.alpha = 20; /* 80% smoothing */

lchan->ms_power_ctrl.current = ms_pwr_ctl_lvl(GSM_BAND_1800, 0);

--
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/21435
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: I580512eea1d329a4d25ccbd6fc2ab98b083ec51d
Gerrit-Change-Number: 21435
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria 
Gerrit-MessageType: newchange


Change in osmo-bts[master]: struct gsm_bts: move ul_power_{target, hysteresis} to ul_power_ctrl

2020-12-01 Thread fixeria
fixeria has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-bts/+/21434 )


Change subject: struct gsm_bts: move ul_power_{target,hysteresis} to 
ul_power_ctrl
..

struct gsm_bts: move ul_power_{target,hysteresis} to ul_power_ctrl

Change-Id: I3886c7aedf3870536f1750f864cf698302ddf2df
Related: SYS#4918
---
M include/osmo-bts/bts.h
M src/common/bts.c
M src/common/power_control.c
M src/common/vty.c
M src/osmo-bts-lc15/oml.c
M src/osmo-bts-oc2g/oml.c
M src/osmo-bts-sysmo/oml.c
M src/osmo-bts-sysmo/sysmobts_vty.c
M src/osmo-bts-trx/trx_vty.c
M tests/power/power_test.c
10 files changed, 37 insertions(+), 37 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/34/21434/1

diff --git a/include/osmo-bts/bts.h b/include/osmo-bts/bts.h
index ce7d9d4..66b03e1 100644
--- a/include/osmo-bts/bts.h
+++ b/include/osmo-bts/bts.h
@@ -299,12 +299,12 @@
bool vty_override;  /* OML value overridden by VTY */
} radio_link_timeout;

-   /* TODO: move it to bts->ul_power_ctrl struct */
-   int ul_power_target;/* Uplink Rx power target */
-   int ul_power_hysteresis;/* Tolerable Uplink Rx power deviation 
*/
-
/* Uplink power control */
struct {
+   /* Target value to strive to */
+   int target;
+   /* Tolerated deviation from target */
+   int hysteresis;
/* UL RSSI filtering algorithm */
enum ms_ul_pf_algo pf_algo;
/* (Optional) filtering parameters */
diff --git a/src/common/bts.c b/src/common/bts.c
index a1f9101..6375241 100644
--- a/src/common/bts.c
+++ b/src/common/bts.c
@@ -323,8 +323,8 @@

/* configurable via VTY */
bts->paging_state = paging_init(bts, 200, 0);
-   bts->ul_power_target = -75; /* dBm default */
-   bts->ul_power_hysteresis = 3;   /* -78 .. -72 dBm */
+   bts->ul_power_ctrl.target = -75;/* dBm default */
+   bts->ul_power_ctrl.hysteresis = 3;  /* -78 .. -72 dBm */
bts->ul_power_ctrl.pf_algo = MS_UL_PF_ALGO_EWMA;
bts->ul_power_ctrl.pf.ewma.alpha = 50; /* 50% smoothing */
bts->rtp_jitter_adaptive = false;
diff --git a/src/common/power_control.c b/src/common/power_control.c
index be6df48..dc5636c 100644
--- a/src/common/power_control.c
+++ b/src/common/power_control.c
@@ -141,15 +141,15 @@

/* How many dBs measured power should be increased (+) or decreased (-)
   to reach expected power. */
-   diff = bts->ul_power_target - avg_ul_rssi_dbm;
+   diff = bts->ul_power_ctrl.target - avg_ul_rssi_dbm;


/* Tolerate small deviations from 'rx-target' */
-   if (abs(diff) <= bts->ul_power_hysteresis) {
+   if (abs(diff) <= bts->ul_power_ctrl.hysteresis) {
LOGPLCHAN(lchan, DLOOP, LOGL_INFO,
  "Keeping MS power at control level %d (%d dBm) 
because diff %d dBm "
  "from 'rx-target' %d dBm is not significant 
(hysteresis %d dBm)\n",
- ms_power_lvl, ms_dbm, diff, bts->ul_power_target, 
bts->ul_power_hysteresis);
+ ms_power_lvl, ms_dbm, diff, 
bts->ul_power_ctrl.target, bts->ul_power_ctrl.hysteresis);
/* Keep the current power level in sync (just to be sure) */
lchan->ms_power_ctrl.current = ms_power_lvl;
bts_model_adjst_ms_pwr(lchan);
@@ -188,7 +188,7 @@
  "(rx-ms-pwr-lvl %" PRIu8 ", max-ms-pwr-lvl %" PRIu8 
", rx-current %d dBm, rx-target %d dBm)\n",
  new_power_lvl, new_dbm,
  ms_power_lvl, lchan->ms_power_ctrl.max,
- avg_ul_rssi_dbm, bts->ul_power_target);
+ avg_ul_rssi_dbm, bts->ul_power_ctrl.target);
return 0;
}

@@ -198,7 +198,7 @@
  (new_dbm > current_dbm) ? "Raising" : "Lowering",
  lchan->ms_power_ctrl.current, current_dbm, new_power_lvl, 
new_dbm,
  ms_power_lvl, lchan->ms_power_ctrl.max,
- avg_ul_rssi_dbm, bts->ul_power_target);
+ avg_ul_rssi_dbm, bts->ul_power_ctrl.target);

/* store the resulting new MS power level in the lchan */
lchan->ms_power_ctrl.current = new_power_lvl;
diff --git a/src/common/vty.c b/src/common/vty.c
index 7baddef..34e7cfa 100644
--- a/src/common/vty.c
+++ b/src/common/vty.c
@@ -255,9 +255,9 @@
VTY_NEWLINE);
vty_out(vty, " paging lifetime %u%s", 
paging_get_lifetime(bts->paging_state),
VTY_NEWLINE);
-   vty_out(vty, " uplink-power-target %d", bts->ul_power_target);
-   if (bts->ul_power_hysteresis > 0)
-   vty_out(vty, " hysteresis %d", bts->ul_power_hysteresis);
+   vty_out(vty, " uplink-power-target %d", bts->ul_power_ctrl.target);
+

Change in osmo-bsc[master]: bsc_vty: print bts number in VTY error message.

2020-12-01 Thread laforge
laforge has posted comments on this change. ( 
https://gerrit.osmocom.org/c/osmo-bsc/+/21250 )

Change subject: bsc_vty: print bts number in VTY error message.
..


Patch Set 2:

pmaier: please rebase, so it can be merged


--
To view, visit https://gerrit.osmocom.org/c/osmo-bsc/+/21250
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: Ic4213b257cb149634529e62782e4d98b3de9868b
Gerrit-Change-Number: 21250
Gerrit-PatchSet: 2
Gerrit-Owner: dexter 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge 
Gerrit-Reviewer: pespin 
Gerrit-Comment-Date: Tue, 01 Dec 2020 17:41:05 +
Gerrit-HasComments: No
Gerrit-Has-Labels: No
Gerrit-MessageType: comment


Change in osmo-bsc[master]: stats: Count transitions from BORKEN state due to LCHAN_EV_TS_ERROR s...

2020-12-01 Thread laforge
laforge has posted comments on this change. ( 
https://gerrit.osmocom.org/c/osmo-bsc/+/18703 )

Change subject: stats: Count transitions from BORKEN state due to 
LCHAN_EV_TS_ERROR signal.
..


Patch Set 1:

somehow this was +2 but never merged? ipse, would you mind to rebase so we can 
get it merged?


--
To view, visit https://gerrit.osmocom.org/c/osmo-bsc/+/18703
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: Ice3379020039dc3634aa3887939740729d720dee
Gerrit-Change-Number: 18703
Gerrit-PatchSet: 1
Gerrit-Owner: ipse 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge 
Gerrit-Reviewer: pespin 
Gerrit-Comment-Date: Tue, 01 Dec 2020 17:39:17 +
Gerrit-HasComments: No
Gerrit-Has-Labels: No
Gerrit-MessageType: comment


Change in osmo-bsc[master]: abis_nm: finally handle BTS_TYPE_VARIANT, match BTS type

2020-12-01 Thread laforge
laforge has posted comments on this change. ( 
https://gerrit.osmocom.org/c/osmo-bsc/+/18618 )

Change subject: abis_nm: finally handle BTS_TYPE_VARIANT, match BTS type
..


Patch Set 1:

ping?


--
To view, visit https://gerrit.osmocom.org/c/osmo-bsc/+/18618
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: I344afccdb82f62a7d483b57597d08f028f88bdc9
Gerrit-Change-Number: 18618
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria 
Gerrit-Reviewer: Jenkins Builder
Gerrit-CC: laforge 
Gerrit-Comment-Date: Tue, 01 Dec 2020 17:37:41 +
Gerrit-HasComments: No
Gerrit-Has-Labels: No
Gerrit-MessageType: comment


Change in libosmocore[master]: gprs_ns2_udp.c: Fix typo - it's a DSCP and not a DCSP

2020-12-01 Thread laforge
laforge has submitted this change. ( 
https://gerrit.osmocom.org/c/libosmocore/+/21433 )

Change subject: gprs_ns2_udp.c: Fix typo - it's a DSCP and not a DCSP
..

gprs_ns2_udp.c: Fix typo - it's a DSCP and not a DCSP

also, acronyms are typically all-caps.

Change-Id: Ia12d1fd66348f0b317405f46589f041045c513a2
---
M src/gb/gprs_ns2_udp.c
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Jenkins Builder: Verified
  laforge: Looks good to me, approved



diff --git a/src/gb/gprs_ns2_udp.c b/src/gb/gprs_ns2_udp.c
index 35935a7..928116d 100644
--- a/src/gb/gprs_ns2_udp.c
+++ b/src/gb/gprs_ns2_udp.c
@@ -97,7 +97,7 @@
nsvcs++;
}

-   vty_out(vty, "UDP bind: %s:%d dcsp: %d%s", sockstr.ip, sockstr.port, 
priv->dscp, VTY_NEWLINE);
+   vty_out(vty, "UDP bind: %s:%d DSCP: %d%s", sockstr.ip, sockstr.port, 
priv->dscp, VTY_NEWLINE);
vty_out(vty, "  %lu NS-VC: %s", nsvcs, VTY_NEWLINE);

llist_for_each_entry(nsvc, >nsvc, blist) {

--
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/21433
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: Ia12d1fd66348f0b317405f46589f041045c513a2
Gerrit-Change-Number: 21433
Gerrit-PatchSet: 1
Gerrit-Owner: laforge 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge 
Gerrit-MessageType: merged


Change in libosmocore[master]: gprs_ns2_udp.c: Fix typo - it's a DSCP and not a DCSP

2020-12-01 Thread laforge
laforge has posted comments on this change. ( 
https://gerrit.osmocom.org/c/libosmocore/+/21433 )

Change subject: gprs_ns2_udp.c: Fix typo - it's a DSCP and not a DCSP
..


Patch Set 1: Code-Review+2


--
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/21433
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: Ia12d1fd66348f0b317405f46589f041045c513a2
Gerrit-Change-Number: 21433
Gerrit-PatchSet: 1
Gerrit-Owner: laforge 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge 
Gerrit-Comment-Date: Tue, 01 Dec 2020 17:28:43 +
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment


Change in libosmocore[master]: gprs_ns2_vty: Print all relevant data on each NS-VC

2020-12-01 Thread laforge
laforge has submitted this change. ( 
https://gerrit.osmocom.org/c/libosmocore/+/21432 )

Change subject: gprs_ns2_vty: Print all relevant data on each NS-VC
..

gprs_ns2_vty: Print all relevant data on each NS-VC

After this patch, we can finally see the BLOCKED/UNBLOCKED state,
weights, persistence, etc. in the VTY.

Example:

OsmoGbProxy> show ns entities
NSEI 00101: UDP, DEAD
 NSVCI 00101: RESET PERSIST data_weight=1 sig_wight=1 
udp)[127.0.0.1]:23000<101>[127.0.0.1]:
NSEI 1: FR, ALIVE
 NSVCI 1: UNBLOCKED PERSIST data_weight=1 sig_wight=1 fr)netif: hdlcnet1 
dlci: 16
 NSVCI 2: UNBLOCKED PERSIST data_weight=1 sig_wight=1 fr)netif: hdlcnet2 
dlci: 17
 NSVCI 3: UNBLOCKED PERSIST data_weight=1 sig_wight=1 fr)netif: hdlcnet3 
dlci: 18
 NSVCI 4: UNBLOCKED PERSIST data_weight=1 sig_wight=1 fr)netif: hdlcnet4 
dlci: 19

Change-Id: I1cf8fe55d1d0cecc46113532c8550880558b0155
---
M src/gb/gprs_ns2_vty.c
1 file changed, 12 insertions(+), 1 deletion(-)

Approvals:
  Jenkins Builder: Verified
  laforge: Looks good to me, approved



diff --git a/src/gb/gprs_ns2_vty.c b/src/gb/gprs_ns2_vty.c
index 17b8d96..b244a96 100644
--- a/src/gb/gprs_ns2_vty.c
+++ b/src/gb/gprs_ns2_vty.c
@@ -260,7 +260,18 @@

 static void dump_nsvc(struct vty *vty, struct gprs_ns2_vc *nsvc, bool stats)
 {
-   vty_out(vty, " NSVCI %05u %s%s", nsvc->nsvci, gprs_ns2_ll_str(nsvc), 
VTY_NEWLINE);
+   char nsvci_str[32];
+
+   if (nsvc->nsvci_is_valid)
+   snprintf(nsvci_str, sizeof(nsvci_str), "%05u", nsvc->nsvci);
+   else
+   snprintf(nsvci_str, sizeof(nsvci_str), "none");
+
+   vty_out(vty, " NSVCI %s: %s %s data_weight=%u sig_weight=%u %s%s", 
nsvci_str,
+   osmo_fsm_inst_state_name(nsvc->fi),
+   nsvc->persistent ? "PERSIST" : "DYNAMIC",
+   nsvc->data_weight, nsvc->sig_weight,
+   gprs_ns2_ll_str(nsvc), VTY_NEWLINE);

if (stats) {
vty_out_rate_ctr_group(vty, "  ", nsvc->ctrg);

--
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/21432
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I1cf8fe55d1d0cecc46113532c8550880558b0155
Gerrit-Change-Number: 21432
Gerrit-PatchSet: 1
Gerrit-Owner: laforge 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge 
Gerrit-MessageType: merged


Change in libosmocore[master]: gprs_ns_vty: Unify display of NSVCI on VTY in 'show ns entities'

2020-12-01 Thread laforge
laforge has submitted this change. ( 
https://gerrit.osmocom.org/c/libosmocore/+/21431 )

Change subject: gprs_ns_vty: Unify display of NSVCI on VTY in 'show ns entities'
..

gprs_ns_vty: Unify display of NSVCI on VTY in 'show ns entities'

Change-Id: I2915b47a5fc4ed9ac16f611c9e9f71dc0955426a
---
M src/gb/gprs_ns2_fr.c
M src/gb/gprs_ns2_udp.c
2 files changed, 2 insertions(+), 2 deletions(-)

Approvals:
  Jenkins Builder: Verified
  laforge: Looks good to me, approved



diff --git a/src/gb/gprs_ns2_fr.c b/src/gb/gprs_ns2_fr.c
index 07c8d46..4140171 100644
--- a/src/gb/gprs_ns2_fr.c
+++ b/src/gb/gprs_ns2_fr.c
@@ -117,7 +117,7 @@
osmo_fr_role_str(fr_link->role), VTY_NEWLINE);

llist_for_each_entry(nsvc, >nsvc, blist) {
-   vty_out(vty, "%s%s", gprs_ns2_ll_str(nsvc), VTY_NEWLINE);
+   vty_out(vty, "NSVCI %05u: %s%s", nsvc->nsvci, 
gprs_ns2_ll_str(nsvc), VTY_NEWLINE);
}

priv = bind->priv;
diff --git a/src/gb/gprs_ns2_udp.c b/src/gb/gprs_ns2_udp.c
index 7f82667..35935a7 100644
--- a/src/gb/gprs_ns2_udp.c
+++ b/src/gb/gprs_ns2_udp.c
@@ -101,7 +101,7 @@
vty_out(vty, "  %lu NS-VC: %s", nsvcs, VTY_NEWLINE);

llist_for_each_entry(nsvc, >nsvc, blist) {
-   vty_out(vty, "%s%s", gprs_ns2_ll_str(nsvc), VTY_NEWLINE);
+   vty_out(vty, "NSVCI %05u: %s%s", nsvc->nsvci, 
gprs_ns2_ll_str(nsvc), VTY_NEWLINE);
}
 }


--
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/21431
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I2915b47a5fc4ed9ac16f611c9e9f71dc0955426a
Gerrit-Change-Number: 21431
Gerrit-PatchSet: 1
Gerrit-Owner: laforge 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge 
Gerrit-MessageType: merged


Change in libosmocore[master]: gprs_ns2_vty: Show NSVCI in dump_nsvc()

2020-12-01 Thread laforge
laforge has submitted this change. ( 
https://gerrit.osmocom.org/c/libosmocore/+/21430 )

Change subject: gprs_ns2_vty: Show NSVCI in dump_nsvc()
..

gprs_ns2_vty: Show NSVCI in dump_nsvc()

also, indent the statistics one more character

Change-Id: I2726d6f1c5f83255925d6a1b22f1ee71b8d6fdc5
---
M src/gb/gprs_ns2_vty.c
1 file changed, 3 insertions(+), 3 deletions(-)

Approvals:
  Jenkins Builder: Verified
  laforge: Looks good to me, approved



diff --git a/src/gb/gprs_ns2_vty.c b/src/gb/gprs_ns2_vty.c
index 8514704..17b8d96 100644
--- a/src/gb/gprs_ns2_vty.c
+++ b/src/gb/gprs_ns2_vty.c
@@ -260,11 +260,11 @@

 static void dump_nsvc(struct vty *vty, struct gprs_ns2_vc *nsvc, bool stats)
 {
-   vty_out(vty, " %s%s", gprs_ns2_ll_str(nsvc), VTY_NEWLINE);
+   vty_out(vty, " NSVCI %05u %s%s", nsvc->nsvci, gprs_ns2_ll_str(nsvc), 
VTY_NEWLINE);

if (stats) {
-   vty_out_rate_ctr_group(vty, " ", nsvc->ctrg);
-   vty_out_stat_item_group(vty, " ", nsvc->statg);
+   vty_out_rate_ctr_group(vty, "  ", nsvc->ctrg);
+   vty_out_stat_item_group(vty, "  ", nsvc->statg);
}
 }


--
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/21430
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I2726d6f1c5f83255925d6a1b22f1ee71b8d6fdc5
Gerrit-Change-Number: 21430
Gerrit-PatchSet: 1
Gerrit-Owner: laforge 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge 
Gerrit-MessageType: merged


Change in libosmocore[master]: gprs_ns2_vty: Differentiate 'show ns binds' and 'show ns entities'

2020-12-01 Thread laforge
laforge has submitted this change. ( 
https://gerrit.osmocom.org/c/libosmocore/+/21429 )

Change subject: gprs_ns2_vty: Differentiate 'show ns binds' and 'show ns 
entities'
..

gprs_ns2_vty: Differentiate 'show ns binds' and 'show ns entities'

Change-Id: I157467d6a74d6109bc23521c978c5aac6d29fe50
---
M src/gb/gprs_ns2_vty.c
1 file changed, 26 insertions(+), 12 deletions(-)

Approvals:
  Jenkins Builder: Verified
  laforge: Looks good to me, approved



diff --git a/src/gb/gprs_ns2_vty.c b/src/gb/gprs_ns2_vty.c
index 7b27a7e..8514704 100644
--- a/src/gb/gprs_ns2_vty.c
+++ b/src/gb/gprs_ns2_vty.c
@@ -292,34 +292,48 @@
bind->dump_vty(bind, vty, stats);
 }

-static void dump_ns(struct vty *vty, const struct gprs_ns2_inst *nsi, bool 
stats, bool persistent_only)
+static void dump_ns_bind(struct vty *vty, const struct gprs_ns2_inst *nsi, 
bool stats)
 {
struct gprs_ns2_vc_bind *bind;
-   struct gprs_ns2_nse *nse;

llist_for_each_entry(bind, >binding, list) {
dump_bind(vty, bind, stats);
}
+}
+
+
+static void dump_ns_entities(struct vty *vty, const struct gprs_ns2_inst *nsi, 
bool stats, bool persistent_only)
+{
+   struct gprs_ns2_nse *nse;

llist_for_each_entry(nse, >nse, list) {
dump_nse(vty, nse, stats, persistent_only);
}
-
 }
 
-DEFUN(show_ns, show_ns_cmd, "show ns",
-   SHOW_STR "Display information about the NS protocol")
+DEFUN(show_ns_binds, show_ns_binds_cmd, "show ns binds [stats]",
+   SHOW_STR
+   "Display information about the NS protocol binds\n"
+   "Include statistic\n")
 {
-   dump_ns(vty, vty_nsi, false, false);
+   bool stats = false;
+   if (argc > 0)
+   stats = true;
+
+   dump_ns_bind(vty, vty_nsi, stats);
return CMD_SUCCESS;
 }

-DEFUN(show_ns_stats, show_ns_stats_cmd, "show ns stats",
+DEFUN(show_ns_entities, show_ns_entities_cmd, "show ns entities [stats]",
SHOW_STR
-   "Display information about the NS protocol\n"
+   "Display information about the NS protocol entities (NSEs)\n"
"Include statistics\n")
 {
-   dump_ns(vty, vty_nsi, true, false);
+   bool stats = false;
+   if (argc > 0)
+   stats = true;
+
+   dump_ns_entities(vty, vty_nsi, stats, false);
return CMD_SUCCESS;
 }

@@ -328,7 +342,7 @@
"Display information about the NS protocol\n"
"Show only persistent NS\n")
 {
-   dump_ns(vty, vty_nsi, true, true);
+   dump_ns_entities(vty, vty_nsi, true, true);
return CMD_SUCCESS;
 }

@@ -776,8 +790,8 @@
return 0;
vty_elements_installed = true;

-   install_lib_element_ve(_ns_cmd);
-   install_lib_element_ve(_ns_stats_cmd);
+   install_lib_element_ve(_ns_binds_cmd);
+   install_lib_element_ve(_ns_entities_cmd);
install_lib_element_ve(_ns_pers_cmd);
install_lib_element_ve(_nse_cmd);
install_lib_element_ve(_fltr_nsvc_cmd);

--
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/21429
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I157467d6a74d6109bc23521c978c5aac6d29fe50
Gerrit-Change-Number: 21429
Gerrit-PatchSet: 1
Gerrit-Owner: laforge 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge 
Gerrit-MessageType: merged


Change in libosmocore[master]: gprs_ns2: Print link layer and global ALIVE/DEAD state

2020-12-01 Thread laforge
laforge has submitted this change. ( 
https://gerrit.osmocom.org/c/libosmocore/+/21428 )

Change subject: gprs_ns2: Print link layer and global ALIVE/DEAD state
..

gprs_ns2: Print link layer and global ALIVE/DEAD state

Change-Id: I56455d1fef2f99d72bc0c4811f307428aec12b96
---
M src/gb/gprs_ns2_vty.c
1 file changed, 2 insertions(+), 2 deletions(-)

Approvals:
  Jenkins Builder: Verified
  laforge: Looks good to me, approved



diff --git a/src/gb/gprs_ns2_vty.c b/src/gb/gprs_ns2_vty.c
index bfbc68c..7b27a7e 100644
--- a/src/gb/gprs_ns2_vty.c
+++ b/src/gb/gprs_ns2_vty.c
@@ -272,8 +272,8 @@
 {
struct gprs_ns2_vc *nsvc;

-   vty_out(vty, "NSEI %5u%s",
-   nse->nsei, VTY_NEWLINE);
+   vty_out(vty, "NSEI %05u: %s, %s%s", nse->nsei, 
gprs_ns2_lltype_str(nse->ll),
+   nse->alive ? "ALIVE" : "DEAD", VTY_NEWLINE);

gprs_ns2_sns_dump_vty(vty, nse, stats);
llist_for_each_entry(nsvc, >nsvc, list) {

--
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/21428
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I56455d1fef2f99d72bc0c4811f307428aec12b96
Gerrit-Change-Number: 21428
Gerrit-PatchSet: 1
Gerrit-Owner: laforge 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge 
Gerrit-MessageType: merged


Change in libosmocore[master]: cosmetic: frame_relay: Fix typos

2020-12-01 Thread laforge
laforge has submitted this change. ( 
https://gerrit.osmocom.org/c/libosmocore/+/21427 )

Change subject: cosmetic: frame_relay: Fix typos
..

cosmetic: frame_relay: Fix typos

Change-Id: Ifc29ddb43745571096b458393692a68052898daa
---
M include/osmocom/gprs/frame_relay.h
1 file changed, 2 insertions(+), 2 deletions(-)

Approvals:
  Jenkins Builder: Verified
  laforge: Looks good to me, approved



diff --git a/include/osmocom/gprs/frame_relay.h 
b/include/osmocom/gprs/frame_relay.h
index b382ea8..2860c6b 100644
--- a/include/osmocom/gprs/frame_relay.h
+++ b/include/osmocom/gprs/frame_relay.h
@@ -109,8 +109,8 @@
/* is this DLC about to be destroyed */
bool del;

-   /* the local state needs to be transfered to the
-* UE. The NET must wait until the UE confirms it implicited by a seq 
number check */
+   /* The local state needs to be transferred to the USER;
+* NET must wait until USER confirms it implicitly by a seq number 
check */
bool state_send;

int (*rx_cb)(void *cb_data, struct msgb *msg);

--
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/21427
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: Ifc29ddb43745571096b458393692a68052898daa
Gerrit-Change-Number: 21427
Gerrit-PatchSet: 1
Gerrit-Owner: laforge 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge 
Gerrit-MessageType: merged


Change in libosmocore[master]: gprs_ns2: Don't return an empty string in case of unknown LL

2020-12-01 Thread laforge
laforge has submitted this change. ( 
https://gerrit.osmocom.org/c/libosmocore/+/21426 )

Change subject: gprs_ns2: Don't return an empty string in case of unknown LL
..

gprs_ns2: Don't return an empty string in case of unknown LL

Change-Id: Id2c689ab83ada18a5cb6d70ded31aacaa701f99c
---
M src/gb/gprs_ns2.c
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Jenkins Builder: Verified
  laforge: Looks good to me, approved



diff --git a/src/gb/gprs_ns2.c b/src/gb/gprs_ns2.c
index 7fc737b..9bf1d7f 100644
--- a/src/gb/gprs_ns2.c
+++ b/src/gb/gprs_ns2.c
@@ -265,7 +265,7 @@
 gprs_ns2_fr_nsvc_dlci(nsvc));
break;
default:
-   buf[0] = '\0';
+   snprintf(buf, buf_len, "unknown)");
break;
}


--
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/21426
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: Id2c689ab83ada18a5cb6d70ded31aacaa701f99c
Gerrit-Change-Number: 21426
Gerrit-PatchSet: 1
Gerrit-Owner: laforge 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge 
Gerrit-MessageType: merged


Change in libosmocore[master]: gprs-ns2: Fix stringification of NS/FR NSVCI

2020-12-01 Thread laforge
laforge has submitted this change. ( 
https://gerrit.osmocom.org/c/libosmocore/+/21425 )

Change subject: gprs-ns2: Fix stringification of NS/FR NSVCI
..

gprs-ns2: Fix stringification of NS/FR NSVCI

Before this commit, gprs_ns2_ll_str_buf() would always return an empty
string.

Change-Id: I6ec07f58fa5cbb7ec4be967b2c72ae75935e4f75
---
M src/gb/gprs_ns2.c
1 file changed, 0 insertions(+), 5 deletions(-)

Approvals:
  Jenkins Builder: Verified
  laforge: Looks good to me, approved



diff --git a/src/gb/gprs_ns2.c b/src/gb/gprs_ns2.c
index 30716fc..7fc737b 100644
--- a/src/gb/gprs_ns2.c
+++ b/src/gb/gprs_ns2.c
@@ -261,11 +261,6 @@
snprintf(buf, buf_len, "frgre)");
break;
case GPRS_NS2_LL_FR:
-   if (!gprs_ns2_is_frgre_bind(nsvc->bind)) {
-   buf[0] = '\0';
-   return buf;
-   }
-
snprintf(buf, buf_len, "fr)netif: %s dlci: %u", 
gprs_ns2_fr_bind_netif(nsvc->bind),
 gprs_ns2_fr_nsvc_dlci(nsvc));
break;

--
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/21425
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I6ec07f58fa5cbb7ec4be967b2c72ae75935e4f75
Gerrit-Change-Number: 21425
Gerrit-PatchSet: 1
Gerrit-Owner: laforge 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge 
Gerrit-MessageType: merged


  1   2   >