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

2019-09-24 Thread OBS Notification
Visit 
https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/osmo-trx/Debian_Testing/x86_64

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

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

Last lines of build log:
[  924s] ar: `u' modifier ignored since `D' is the default (see `U')
[  924s] libtool: link: ranlib .libs/libtransceiver_common.a
[  925s] libtool: link: ( cd ".libs" && rm -f "libtransceiver_common.la" && ln 
-s "../libtransceiver_common.la" "libtransceiver_common.la" )
[  925s] /bin/bash ../libtool  --tag=CXX   --mode=link g++ -lpthread 
-I/usr/include/ -I/usr/include/ -I/usr/include/ -g -O2 
-fdebug-prefix-map=/usr/src/packages/BUILD=. -fstack-protector-strong -Wformat 
-Werror=format-security  -Wl,-z,relro -Wl,-z,now -o osmo-trx-uhd 
osmo_trx_uhd-osmo-trx.o ./device/uhd/libdevice.la libtransceiver_common.la 
../Transceiver52M/arch/x86/libarch.la ../GSM/libGSM.la 
../CommonLibs/libcommon.la -lfftw3f -ltalloc -losmocore -ltalloc -losmoctrl 
-losmogsm -losmocore -ltalloc -losmovty -losmocore -luhd 
[  925s] libtool: link: g++ -I/usr/include/ -I/usr/include/ -I/usr/include/ -g 
-O2 -fdebug-prefix-map=/usr/src/packages/BUILD=. -fstack-protector-strong 
-Wformat -Werror=format-security -Wl,-z -Wl,relro -Wl,-z -Wl,now -o 
osmo-trx-uhd osmo_trx_uhd-osmo-trx.o  ./device/uhd/.libs/libdevice.a 
./.libs/libtransceiver_common.a ../Transceiver52M/arch/x86/.libs/libarch.a 
../GSM/.libs/libGSM.a ../CommonLibs/.libs/libcommon.a -lpthread -lfftw3f 
/usr/lib/x86_64-linux-gnu/libosmoctrl.so 
/usr/lib/x86_64-linux-gnu/libosmogsm.so -ltalloc 
/usr/lib/x86_64-linux-gnu/libosmovty.so 
/usr/lib/x86_64-linux-gnu/libosmocore.so -luhd
[  925s] /usr/bin/ld: ./device/uhd/.libs/libdevice.a(UHDDevice.o): undefined 
reference to symbol '_ZN5boost6system16generic_categoryEv'
[  925s] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libboost_system.so.1.67.0: 
error adding symbols: DSO missing from command line
[  925s] collect2: error: ld returned 1 exit status
[  925s] make[4]: *** [Makefile:681: osmo-trx-uhd] Error 1
[  925s] make[4]: Leaving directory '/usr/src/packages/BUILD/Transceiver52M'
[  925s] make[3]: *** [Makefile:820: all-recursive] Error 1
[  925s] make[3]: Leaving directory '/usr/src/packages/BUILD/Transceiver52M'
[  925s] make[2]: *** [Makefile:513: all-recursive] Error 1
[  925s] make[2]: Leaving directory '/usr/src/packages/BUILD'
[  926s] make[1]: *** [Makefile:444: all] Error 2
[  926s] make[1]: Leaving directory '/usr/src/packages/BUILD'
[  926s] dh_auto_build: make -j1 returned exit code 2
[  926s] make: *** [debian/rules:6: build] Error 255
[  926s] dpkg-buildpackage: error: debian/rules build subprocess returned exit 
status 2
[  926s] 
[  926s] cloud126 failed "build osmo-trx_1.1.1.28.ee2b.dsc" at Wed Sep 25 
03:16:56 UTC 2019.
[  926s] 
[  926s] ### VM INTERACTION START ###
[  929s] [  826.073828] sysrq: SysRq : Power Off
[  929s] [  826.081472] reboot: Power down
[  929s] ### VM INTERACTION END ###
[  929s] 
[  929s] cloud126 failed "build osmo-trx_1.1.1.28.ee2b.dsc" at Wed Sep 25 
03:17:00 UTC 2019.
[  929s] 

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


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

2019-09-24 Thread OBS Notification
Visit 
https://build.opensuse.org/package/live_build_log/network:osmocom:latest/osmo-trx/Debian_Testing/x86_64

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

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

Last lines of build log:
[  491s] ar: `u' modifier ignored since `D' is the default (see `U')
[  491s] libtool: link: ranlib .libs/libtransceiver_common.a
[  491s] libtool: link: ( cd ".libs" && rm -f "libtransceiver_common.la" && ln 
-s "../libtransceiver_common.la" "libtransceiver_common.la" )
[  491s] /bin/bash ../libtool  --tag=CXX   --mode=link g++ -lpthread 
-I/usr/include/ -I/usr/include/ -I/usr/include/ -g -O2 
-fdebug-prefix-map=/usr/src/packages/BUILD=. -fstack-protector-strong -Wformat 
-Werror=format-security  -Wl,-z,relro -Wl,-z,now -o osmo-trx-uhd 
osmo_trx_uhd-osmo-trx.o ./device/uhd/libdevice.la libtransceiver_common.la 
../Transceiver52M/arch/x86/libarch.la ../GSM/libGSM.la 
../CommonLibs/libcommon.la -lfftw3f -ltalloc -losmocore -ltalloc -losmoctrl 
-losmogsm -losmocore -ltalloc -losmovty -losmocore -luhd 
[  492s] libtool: link: g++ -I/usr/include/ -I/usr/include/ -I/usr/include/ -g 
-O2 -fdebug-prefix-map=/usr/src/packages/BUILD=. -fstack-protector-strong 
-Wformat -Werror=format-security -Wl,-z -Wl,relro -Wl,-z -Wl,now -o 
osmo-trx-uhd osmo_trx_uhd-osmo-trx.o  ./device/uhd/.libs/libdevice.a 
./.libs/libtransceiver_common.a ../Transceiver52M/arch/x86/.libs/libarch.a 
../GSM/.libs/libGSM.a ../CommonLibs/.libs/libcommon.a -lpthread -lfftw3f 
/usr/lib/x86_64-linux-gnu/libosmoctrl.so 
/usr/lib/x86_64-linux-gnu/libosmogsm.so -ltalloc 
/usr/lib/x86_64-linux-gnu/libosmovty.so 
/usr/lib/x86_64-linux-gnu/libosmocore.so -luhd
[  492s] /usr/bin/ld: ./device/uhd/.libs/libdevice.a(UHDDevice.o): undefined 
reference to symbol '_ZN5boost6system16generic_categoryEv'
[  492s] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libboost_system.so.1.67.0: 
error adding symbols: DSO missing from command line
[  492s] collect2: error: ld returned 1 exit status
[  492s] make[4]: *** [Makefile:681: osmo-trx-uhd] Error 1
[  492s] make[4]: Leaving directory '/usr/src/packages/BUILD/Transceiver52M'
[  492s] make[3]: *** [Makefile:820: all-recursive] Error 1
[  492s] make[3]: Leaving directory '/usr/src/packages/BUILD/Transceiver52M'
[  492s] make[2]: *** [Makefile:513: all-recursive] Error 1
[  492s] make[2]: Leaving directory '/usr/src/packages/BUILD'
[  492s] make[1]: *** [Makefile:444: all] Error 2
[  492s] make[1]: Leaving directory '/usr/src/packages/BUILD'
[  492s] dh_auto_build: make -j1 returned exit code 2
[  492s] make: *** [debian/rules:6: build] Error 255
[  492s] dpkg-buildpackage: error: debian/rules build subprocess returned exit 
status 2
[  492s] 
[  492s] lamb08 failed "build osmo-trx_1.1.1.dsc" at Wed Sep 25 03:08:29 UTC 
2019.
[  492s] 
[  492s] ### VM INTERACTION START ###
[  495s] [  474.553329] sysrq: SysRq : Power Off
[  495s] [  474.572866] reboot: Power down
[  495s] ### VM INTERACTION END ###
[  495s] 
[  495s] lamb08 failed "build osmo-trx_1.1.1.dsc" at Wed Sep 25 03:08:32 UTC 
2019.
[  495s] 

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


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

2019-09-24 Thread OBS Notification
Visit 
https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/osmo-trx/Debian_Testing/x86_64

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

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

Last lines of build log:
[  938s] ar: `u' modifier ignored since `D' is the default (see `U')
[  939s] libtool: link: ranlib .libs/libtransceiver_common.a
[  939s] libtool: link: ( cd ".libs" && rm -f "libtransceiver_common.la" && ln 
-s "../libtransceiver_common.la" "libtransceiver_common.la" )
[  939s] /bin/bash ../libtool  --tag=CXX   --mode=link g++ -lpthread 
-I/usr/include/ -I/usr/include/ -I/usr/include/ -g -O2 
-fdebug-prefix-map=/usr/src/packages/BUILD=. -fstack-protector-strong -Wformat 
-Werror=format-security  -Wl,-z,relro -Wl,-z,now -o osmo-trx-uhd 
osmo_trx_uhd-osmo-trx.o ./device/uhd/libdevice.la libtransceiver_common.la 
../Transceiver52M/arch/x86/libarch.la ../GSM/libGSM.la 
../CommonLibs/libcommon.la -lfftw3f -ltalloc -losmocore -ltalloc -losmoctrl 
-losmogsm -losmocore -ltalloc -losmovty -losmocore -luhd 
[  940s] libtool: link: g++ -I/usr/include/ -I/usr/include/ -I/usr/include/ -g 
-O2 -fdebug-prefix-map=/usr/src/packages/BUILD=. -fstack-protector-strong 
-Wformat -Werror=format-security -Wl,-z -Wl,relro -Wl,-z -Wl,now -o 
osmo-trx-uhd osmo_trx_uhd-osmo-trx.o  ./device/uhd/.libs/libdevice.a 
./.libs/libtransceiver_common.a ../Transceiver52M/arch/x86/.libs/libarch.a 
../GSM/.libs/libGSM.a ../CommonLibs/.libs/libcommon.a -lpthread -lfftw3f 
/usr/lib/x86_64-linux-gnu/libosmoctrl.so 
/usr/lib/x86_64-linux-gnu/libosmogsm.so -ltalloc 
/usr/lib/x86_64-linux-gnu/libosmovty.so 
/usr/lib/x86_64-linux-gnu/libosmocore.so -luhd
[  941s] /usr/bin/ld: ./device/uhd/.libs/libdevice.a(UHDDevice.o): undefined 
reference to symbol '_ZN5boost6system16generic_categoryEv'
[  941s] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libboost_system.so.1.67.0: 
error adding symbols: DSO missing from command line
[  941s] collect2: error: ld returned 1 exit status
[  941s] make[4]: *** [Makefile:681: osmo-trx-uhd] Error 1
[  941s] make[4]: Leaving directory '/usr/src/packages/BUILD/Transceiver52M'
[  941s] make[3]: *** [Makefile:820: all-recursive] Error 1
[  941s] make[3]: Leaving directory '/usr/src/packages/BUILD/Transceiver52M'
[  941s] make[2]: *** [Makefile:513: all-recursive] Error 1
[  941s] make[2]: Leaving directory '/usr/src/packages/BUILD'
[  941s] make[1]: *** [Makefile:444: all] Error 2
[  941s] make[1]: Leaving directory '/usr/src/packages/BUILD'
[  941s] dh_auto_build: make -j1 returned exit code 2
[  941s] make: *** [debian/rules:6: build] Error 255
[  941s] dpkg-buildpackage: error: debian/rules build subprocess returned exit 
status 2
[  941s] 
[  941s] cloud104 failed "build osmo-trx_1.1.1.28.ee2b.dsc" at Wed Sep 25 
02:50:06 UTC 2019.
[  941s] 
[  941s] ### VM INTERACTION START ###
[  945s] [  877.488502] sysrq: SysRq : Power Off
[  946s] [  877.779349] reboot: Power down
[  947s] ### VM INTERACTION END ###
[  947s] 
[  947s] cloud104 failed "build osmo-trx_1.1.1.28.ee2b.dsc" at Wed Sep 25 
02:50:12 UTC 2019.
[  947s] 

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


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

2019-09-24 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:
[  568s] ar: `u' modifier ignored since `D' is the default (see `U')
[  568s] libtool: link: ranlib .libs/libtransceiver_common.a
[  568s] libtool: link: ( cd ".libs" && rm -f "libtransceiver_common.la" && ln 
-s "../libtransceiver_common.la" "libtransceiver_common.la" )
[  568s] /bin/bash ../libtool  --tag=CXX   --mode=link g++ -lpthread 
-I/usr/include/ -I/usr/include/ -I/usr/include/ -g -O2 
-fdebug-prefix-map=/usr/src/packages/BUILD=. -fstack-protector-strong -Wformat 
-Werror=format-security  -Wl,-z,relro -Wl,-z,now -o osmo-trx-uhd 
osmo_trx_uhd-osmo-trx.o ./device/uhd/libdevice.la libtransceiver_common.la 
../Transceiver52M/arch/x86/libarch.la ../GSM/libGSM.la 
../CommonLibs/libcommon.la -lfftw3f -ltalloc -losmocore -ltalloc -losmoctrl 
-losmogsm -losmocore -ltalloc -losmovty -losmocore -luhd 
[  568s] libtool: link: g++ -I/usr/include/ -I/usr/include/ -I/usr/include/ -g 
-O2 -fdebug-prefix-map=/usr/src/packages/BUILD=. -fstack-protector-strong 
-Wformat -Werror=format-security -Wl,-z -Wl,relro -Wl,-z -Wl,now -o 
osmo-trx-uhd osmo_trx_uhd-osmo-trx.o  ./device/uhd/.libs/libdevice.a 
./.libs/libtransceiver_common.a ../Transceiver52M/arch/x86/.libs/libarch.a 
../GSM/.libs/libGSM.a ../CommonLibs/.libs/libcommon.a -lpthread -lfftw3f 
/usr/lib/x86_64-linux-gnu/libosmoctrl.so 
/usr/lib/x86_64-linux-gnu/libosmogsm.so -ltalloc 
/usr/lib/x86_64-linux-gnu/libosmovty.so 
/usr/lib/x86_64-linux-gnu/libosmocore.so -luhd
[  568s] /usr/bin/ld: ./device/uhd/.libs/libdevice.a(UHDDevice.o): undefined 
reference to symbol '_ZN5boost6system16generic_categoryEv'
[  568s] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libboost_system.so.1.67.0: 
error adding symbols: DSO missing from command line
[  568s] collect2: error: ld returned 1 exit status
[  568s] make[4]: *** [Makefile:681: osmo-trx-uhd] Error 1
[  568s] make[4]: Leaving directory '/usr/src/packages/BUILD/Transceiver52M'
[  568s] make[3]: *** [Makefile:820: all-recursive] Error 1
[  568s] make[3]: Leaving directory '/usr/src/packages/BUILD/Transceiver52M'
[  568s] make[2]: *** [Makefile:513: all-recursive] Error 1
[  568s] make[2]: Leaving directory '/usr/src/packages/BUILD'
[  568s] make[1]: *** [Makefile:444: all] Error 2
[  568s] make[1]: Leaving directory '/usr/src/packages/BUILD'
[  568s] dh_auto_build: make -j1 returned exit code 2
[  568s] make: *** [debian/rules:6: build] Error 255
[  568s] dpkg-buildpackage: error: debian/rules build subprocess returned exit 
status 2
[  568s] 
[  568s] lamb04 failed "build osmo-trx_1.1.1.28.ee2b.dsc" at Wed Sep 25 
02:40:54 UTC 2019.
[  568s] 
[  568s] ### VM INTERACTION START ###
[  571s] [  548.162824] sysrq: SysRq : Power Off
[  571s] [  548.168702] reboot: Power down
[  571s] ### VM INTERACTION END ###
[  571s] 
[  571s] lamb04 failed "build osmo-trx_1.1.1.28.ee2b.dsc" at Wed Sep 25 
02:40:58 UTC 2019.
[  571s] 

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


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

2019-09-24 Thread OBS Notification
Visit 
https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/osmo-msc/Debian_Testing/x86_64

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

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

Last lines of build log:
[  190s] [379/405] installing mount-2.34-0.1
[  191s] Processing triggers for man-db (2.8.7-3) ...
[  191s] [380/405] installing gpg-wks-client-2.2.17-3
[  191s] Processing triggers for man-db (2.8.7-3) ...
[  192s] [381/405] installing libpangocairo-1.0-0-1.42.4-7
[  192s] Processing triggers for libc-bin (2.29-1) ...
[  192s] [382/405] installing bash-5.0-4
[  192s] update-alternatives: using /usr/share/man/man7/bash-builtins.7.gz to 
provide /usr/share/man/man7/builtins.7.gz (builtins.7.gz) in auto mode
[  192s] Processing triggers for man-db (2.8.7-3) ...
[  193s] [383/405] installing libosmo-sigtran-dev-1.1.0.4.87c15
[  193s] [384/405] installing texlive-bibtex-extra-2019.20190830-1
[  197s] dpkg-deb (subprocess): decompressing archive member: lzma error: 
compressed data is corrupt
[  197s] dpkg-deb: error:  subprocess returned error exit status 2
[  197s] dpkg: error processing archive .init_b_cache/texlive-bibtex-extra.deb 
(--install):
[  197s]  cannot copy extracted data for 
'./usr/share/doc/texlive-doc/latex/biblatex-oxref/oxnum-doc.tex.gz' to 
'/usr/share/doc/texlive-doc/latex/biblatex-oxref/oxnum-doc.tex.gz.dpkg-new': 
unexpected end of file or stream
[  197s] Processing triggers for tex-common (6.12) ...
[  197s] Errors were encountered while processing:
[  197s]  .init_b_cache/texlive-bibtex-extra.deb
[  197s] exit ...
[  197s] 
[  197s] build34 failed "build osmo-msc_1.5.0.24.e9a3.dsc" at Tue Sep 24 
22:01:50 UTC 2019.
[  197s] 
[  197s] ### VM INTERACTION START ###
[  200s] [  180.766355] sysrq: SysRq : Power Off
[  200s] [  180.769109] reboot: Power down
[  200s] ### VM INTERACTION END ###
[  200s] 
[  200s] build34 failed "build osmo-msc_1.5.0.24.e9a3.dsc" at Tue Sep 24 
22:01:53 UTC 2019.
[  200s] 

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


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

2019-09-24 Thread OBS Notification
Visit 
https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/osmo-trx/Debian_Testing/x86_64

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

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

Last lines of build log:
[  494s] ar: `u' modifier ignored since `D' is the default (see `U')
[  494s] libtool: link: ranlib .libs/libtransceiver_common.a
[  494s] libtool: link: ( cd ".libs" && rm -f "libtransceiver_common.la" && ln 
-s "../libtransceiver_common.la" "libtransceiver_common.la" )
[  494s] /bin/bash ../libtool  --tag=CXX   --mode=link g++ -lpthread 
-I/usr/include/ -I/usr/include/ -I/usr/include/ -g -O2 
-fdebug-prefix-map=/usr/src/packages/BUILD=. -fstack-protector-strong -Wformat 
-Werror=format-security  -Wl,-z,relro -Wl,-z,now -o osmo-trx-uhd 
osmo_trx_uhd-osmo-trx.o ./device/uhd/libdevice.la libtransceiver_common.la 
../Transceiver52M/arch/x86/libarch.la ../GSM/libGSM.la 
../CommonLibs/libcommon.la -lfftw3f -ltalloc -losmocore -ltalloc -losmoctrl 
-losmogsm -losmocore -ltalloc -losmovty -losmocore -luhd 
[  494s] libtool: link: g++ -I/usr/include/ -I/usr/include/ -I/usr/include/ -g 
-O2 -fdebug-prefix-map=/usr/src/packages/BUILD=. -fstack-protector-strong 
-Wformat -Werror=format-security -Wl,-z -Wl,relro -Wl,-z -Wl,now -o 
osmo-trx-uhd osmo_trx_uhd-osmo-trx.o  ./device/uhd/.libs/libdevice.a 
./.libs/libtransceiver_common.a ../Transceiver52M/arch/x86/.libs/libarch.a 
../GSM/.libs/libGSM.a ../CommonLibs/.libs/libcommon.a -lpthread -lfftw3f 
/usr/lib/x86_64-linux-gnu/libosmoctrl.so 
/usr/lib/x86_64-linux-gnu/libosmogsm.so -ltalloc 
/usr/lib/x86_64-linux-gnu/libosmovty.so 
/usr/lib/x86_64-linux-gnu/libosmocore.so -luhd
[  495s] /usr/bin/ld: ./device/uhd/.libs/libdevice.a(UHDDevice.o): undefined 
reference to symbol '_ZN5boost6system16generic_categoryEv'
[  495s] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libboost_system.so.1.67.0: 
error adding symbols: DSO missing from command line
[  495s] collect2: error: ld returned 1 exit status
[  495s] make[4]: *** [Makefile:681: osmo-trx-uhd] Error 1
[  495s] make[4]: Leaving directory '/usr/src/packages/BUILD/Transceiver52M'
[  495s] make[3]: *** [Makefile:820: all-recursive] Error 1
[  495s] make[3]: Leaving directory '/usr/src/packages/BUILD/Transceiver52M'
[  495s] make[2]: *** [Makefile:513: all-recursive] Error 1
[  495s] make[2]: Leaving directory '/usr/src/packages/BUILD'
[  495s] make[1]: *** [Makefile:444: all] Error 2
[  495s] make[1]: Leaving directory '/usr/src/packages/BUILD'
[  495s] dh_auto_build: make -j1 returned exit code 2
[  495s] make: *** [debian/rules:6: build] Error 255
[  495s] dpkg-buildpackage: error: debian/rules build subprocess returned exit 
status 2
[  495s] 
[  495s] lamb56 failed "build osmo-trx_1.1.1.28.ee2b.dsc" at Tue Sep 24 
21:48:24 UTC 2019.
[  495s] 
[  495s] ### VM INTERACTION START ###
[  498s] [  477.364907] sysrq: SysRq : Power Off
[  498s] [  477.372284] reboot: Power down
[  498s] ### VM INTERACTION END ###
[  498s] 
[  498s] lamb56 failed "build osmo-trx_1.1.1.28.ee2b.dsc" at Tue Sep 24 
21:48:28 UTC 2019.
[  498s] 

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


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

2019-09-24 Thread OBS Notification
Visit 
https://build.opensuse.org/package/live_build_log/network:osmocom:latest/osmo-trx/Debian_Testing/x86_64

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

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

Last lines of build log:
[  426s] ar: `u' modifier ignored since `D' is the default (see `U')
[  426s] libtool: link: ranlib .libs/libtransceiver_common.a
[  426s] libtool: link: ( cd ".libs" && rm -f "libtransceiver_common.la" && ln 
-s "../libtransceiver_common.la" "libtransceiver_common.la" )
[  426s] /bin/bash ../libtool  --tag=CXX   --mode=link g++ -lpthread 
-I/usr/include/ -I/usr/include/ -I/usr/include/ -g -O2 
-fdebug-prefix-map=/usr/src/packages/BUILD=. -fstack-protector-strong -Wformat 
-Werror=format-security  -Wl,-z,relro -Wl,-z,now -o osmo-trx-uhd 
osmo_trx_uhd-osmo-trx.o ./device/uhd/libdevice.la libtransceiver_common.la 
../Transceiver52M/arch/x86/libarch.la ../GSM/libGSM.la 
../CommonLibs/libcommon.la -lfftw3f -ltalloc -losmocore -ltalloc -losmoctrl 
-losmogsm -losmocore -ltalloc -losmovty -losmocore -luhd 
[  427s] libtool: link: g++ -I/usr/include/ -I/usr/include/ -I/usr/include/ -g 
-O2 -fdebug-prefix-map=/usr/src/packages/BUILD=. -fstack-protector-strong 
-Wformat -Werror=format-security -Wl,-z -Wl,relro -Wl,-z -Wl,now -o 
osmo-trx-uhd osmo_trx_uhd-osmo-trx.o  ./device/uhd/.libs/libdevice.a 
./.libs/libtransceiver_common.a ../Transceiver52M/arch/x86/.libs/libarch.a 
../GSM/.libs/libGSM.a ../CommonLibs/.libs/libcommon.a -lpthread -lfftw3f 
/usr/lib/x86_64-linux-gnu/libosmoctrl.so 
/usr/lib/x86_64-linux-gnu/libosmogsm.so -ltalloc 
/usr/lib/x86_64-linux-gnu/libosmovty.so 
/usr/lib/x86_64-linux-gnu/libosmocore.so -luhd
[  427s] /usr/bin/ld: ./device/uhd/.libs/libdevice.a(UHDDevice.o): undefined 
reference to symbol '_ZN5boost6system16generic_categoryEv'
[  427s] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libboost_system.so.1.67.0: 
error adding symbols: DSO missing from command line
[  427s] collect2: error: ld returned 1 exit status
[  427s] make[4]: *** [Makefile:681: osmo-trx-uhd] Error 1
[  427s] make[4]: Leaving directory '/usr/src/packages/BUILD/Transceiver52M'
[  427s] make[3]: *** [Makefile:820: all-recursive] Error 1
[  427s] make[3]: Leaving directory '/usr/src/packages/BUILD/Transceiver52M'
[  427s] make[2]: *** [Makefile:513: all-recursive] Error 1
[  427s] make[2]: Leaving directory '/usr/src/packages/BUILD'
[  427s] make[1]: *** [Makefile:444: all] Error 2
[  427s] make[1]: Leaving directory '/usr/src/packages/BUILD'
[  427s] dh_auto_build: make -j1 returned exit code 2
[  427s] make: *** [debian/rules:6: build] Error 255
[  427s] dpkg-buildpackage: error: debian/rules build subprocess returned exit 
status 2
[  427s] 
[  427s] lamb28 failed "build osmo-trx_1.1.1.dsc" at Tue Sep 24 21:48:03 UTC 
2019.
[  427s] 
[  427s] ### VM INTERACTION START ###
[  430s] [  411.799107] sysrq: SysRq : Power Off
[  430s] [  411.804712] reboot: Power down
[  430s] ### VM INTERACTION END ###
[  430s] 
[  430s] lamb28 failed "build osmo-trx_1.1.1.dsc" at Tue Sep 24 21:48:06 UTC 
2019.
[  430s] 

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


Change in ...osmo-bts[master]: log: set L1 SAPI context

2019-09-24 Thread laforge
laforge has posted comments on this change. ( 
https://gerrit.osmocom.org/c/osmo-bts/+/15539 )

Change subject: log: set L1 SAPI context
..


Patch Set 4:

actually, as the BTs/PHY-specific SAPI value is translated into a rsl-style 
chan_nr, it may be possible to simply use that chan_nr for setting the filter.  
This might reduce the amount of BTS/PHY specific code (translating from 
PHY-specific SAPI values to yet another common/shared value).  However, the 
chan_nr doesn't fit a bitmask of enabled SAPIs, so it may not be the best 
choice either.  Maybe translate from the chan_nr to an enum?  AFAIR, the 
mapping from L1 SAPI to chan_nr is loosing some information/precision, so this 
entire current comment might not be the best of ideas.


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

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: I6b7bb2e1d61502b61214f854a4ec5cbb7267545b
Gerrit-Change-Number: 15539
Gerrit-PatchSet: 4
Gerrit-Owner: osmith 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria 
Gerrit-Reviewer: laforge 
Gerrit-Reviewer: neels 
Gerrit-Reviewer: osmith 
Gerrit-Reviewer: pespin 
Gerrit-CC: fixeria 
Gerrit-Comment-Date: Tue, 24 Sep 2019 16:39:34 +
Gerrit-HasComments: No
Gerrit-Has-Labels: No
Gerrit-MessageType: comment


Change in ...osmo-bts[master]: log: set L1 SAPI context

2019-09-24 Thread laforge
laforge has posted comments on this change. ( 
https://gerrit.osmocom.org/c/osmo-bts/+/15539 )

Change subject: log: set L1 SAPI context
..


Patch Set 4:

> I ran "git grep SAPI" in osmo-bts.git, and got the most matches
 > inside the common dir in pcu_sock.c. But I know now, that I should
 > have researched it better.

if you used case insensitive matches you would have found that most matches are 
outside common.


 > What I'm still struggling with is, how one should extract the L1
 > SAPI value from every L1P/L1C primitive. With "as soon as possible"
 > you could either mean in the code of the various PHYs or in
 > common/l1sap.c's l1sap_up() function (because that is the first
 > time, the primitive is passed to the common code).

you must do it in the bts-specific part - not in the PHY, as the PHY is outside 
of osmo-bts.

The rationale for that is quite obvious: It is exactly the tons of log 
statements (primarily LOGL_DEBUG)
in the BTS-specific code that require the filtering.  In order for any 
filtering to be effective,
it must be set as soon as possible, before any of those log statements are hit.

So to look at osmo-bts-sysmo as an example: l1if_handle_ind() or probably more 
likely in
handle_ph_data_ind(), handle_ph_ra_ind() and handle_ph_readytosend_ind() one 
would set that filter.

In handle_ph_data_ind, the phy/bts-specific SAPI value can be found in 
data_ind->sapi.  You add
one function to translate it to some new (common/shared) SAPI enum (if no such 
enum exists yet)
and set the log filter.

the main point is that the log context must be set *before* any related log 
messages are generated,
and that is in the downlink transmit direction in the common part, 
(RSL->LAPDm->common->specific->PHY) and in the uplink receive direction it's 
the BTS-specific part as the order is inverse.


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

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: I6b7bb2e1d61502b61214f854a4ec5cbb7267545b
Gerrit-Change-Number: 15539
Gerrit-PatchSet: 4
Gerrit-Owner: osmith 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria 
Gerrit-Reviewer: laforge 
Gerrit-Reviewer: neels 
Gerrit-Reviewer: osmith 
Gerrit-Reviewer: pespin 
Gerrit-CC: fixeria 
Gerrit-Comment-Date: Tue, 24 Sep 2019 16:36:00 +
Gerrit-HasComments: No
Gerrit-Has-Labels: No
Gerrit-MessageType: comment


Change in ...osmo-ttcn3-hacks[master]: MSC_Tests: Expect SGsAP-SERVICE-ABORT-REQUEST on paging timeout

2019-09-24 Thread laforge
laforge has posted comments on this change. ( 
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/15597 )

Change subject: MSC_Tests: Expect SGsAP-SERVICE-ABORT-REQUEST on paging timeout
..


Patch Set 1: Code-Review+1


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

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I99950a17ccf26aaa0eebded5480f33be4c57586a
Gerrit-Change-Number: 15597
Gerrit-PatchSet: 1
Gerrit-Owner: dexter 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge 
Gerrit-Comment-Date: Tue, 24 Sep 2019 13:31:16 +
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment


Change in ...osmo-msc[master]: paging: Send SGsAP-SERVICE-ABORT-REQUEST on paging timeout

2019-09-24 Thread laforge
laforge has posted comments on this change. ( 
https://gerrit.osmocom.org/c/osmo-msc/+/15598 )

Change subject: paging: Send SGsAP-SERVICE-ABORT-REQUEST on paging timeout
..


Patch Set 1: Code-Review+1


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

Gerrit-Project: osmo-msc
Gerrit-Branch: master
Gerrit-Change-Id: I3f8f153afe24cf2efa245713509bdc8488902877
Gerrit-Change-Number: 15598
Gerrit-PatchSet: 1
Gerrit-Owner: dexter 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge 
Gerrit-Comment-Date: Tue, 24 Sep 2019 13:30:21 +
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment


Change in ...osmo-ttcn3-hacks[master]: Cosmetic: Fix comment

2019-09-24 Thread laforge
laforge has posted comments on this change. ( 
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/15596 )

Change subject: Cosmetic: Fix comment
..


Patch Set 1: Code-Review+2


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

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: Ie1c80d951ea2f8e3e154beb5623aa0d5f5874a60
Gerrit-Change-Number: 15596
Gerrit-PatchSet: 1
Gerrit-Owner: dexter 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge 
Gerrit-Comment-Date: Tue, 24 Sep 2019 13:30:35 +
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment


Change in ...osmo-bts[master]: log: set L1 SAPI context

2019-09-24 Thread osmith
osmith has posted comments on this change. ( 
https://gerrit.osmocom.org/c/osmo-bts/+/15539 )

Change subject: log: set L1 SAPI context
..


Patch Set 4: Code-Review-2

>  > Sorry, I had assumed, that in OsmoBTS, this L1 SAPI logging would
>  > only be relevant for the BTS<-->PCU socket, and therefore thought
>  > the appropriate log context would be what is defined with
>  > PCU_IF_SAPI_*.
>
> I wonder where that impression was raised? The L1 is not used only by the PCU,
> but by all of OsmoBTS.

I ran "git grep SAPI" in osmo-bts.git, and got the most matches inside the 
common dir in pcu_sock.c. But I know now, that I should have researched it 
better.

>  > * set the log context in other places in OSmoBTS, that are not
>  > related to the PCU (that must be the other side, when talking to
>  > hardware backends)
>
> You need to set that value for every L1P (and possibly L1C?) primitive 
> received from the
> respective PHY, as soon as possible.  That's for the uplink part.  For 
> downlink, I
> suspect it's sufficient to set it based on chan_nr when received from L1SAP.

What I'm still struggling with is, how one should extract the L1 SAPI value 
from every L1P/L1C primitive. With "as soon as possible" you could either mean 
in the code of the various PHYs or in common/l1sap.c's l1sap_up() function 
(because that is the first time, the primitive is passed to the common code).

But there is only a "struct osmo_phsap_prim", which does not seem to have the 
SAPI attached to it. The only relation to the SAPI I can find, is in the 
"to_gsmtap" function, which gets called in l1sap_up() for *some* types of 
primitives (but not all of them! so it does not seem suitable for logging?). 
The to_gsmtap() function then runs one of gsmtap_pdch(), gsmtap_ph_data() or 
gsmtap_ph_rach(), which in turn set the chan_type variable, and this seems to 
be the SAPI (as its value comes from gsmtap_sapi_names).

So I'm wondering, what is the best way to go forward with this? Modify (and 
rename) the to_gsmtap function to also set the SAPI log context? (but then what 
about the cases where to_gsmtap is not called, are they simply irrelevant for 
setting the log context?)

Or am I missing something and there is a feasible way to read the SAPI from the 
osmo_phsap_prim?

Thanks!

(Voting with -2 and removing WIP state, because otherwise no mail notifications 
get sent.)


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

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: I6b7bb2e1d61502b61214f854a4ec5cbb7267545b
Gerrit-Change-Number: 15539
Gerrit-PatchSet: 4
Gerrit-Owner: osmith 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria 
Gerrit-Reviewer: laforge 
Gerrit-Reviewer: neels 
Gerrit-Reviewer: osmith 
Gerrit-Reviewer: pespin 
Gerrit-CC: fixeria 
Gerrit-Comment-Date: Tue, 24 Sep 2019 11:59:35 +
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment


Change in ...pysim[master]: cards.py: unify card programming

2019-09-24 Thread laforge
laforge has posted comments on this change. ( 
https://gerrit.osmocom.org/c/pysim/+/15501 )

Change subject: cards.py: unify card programming
..


Patch Set 5:

> I looked in cards.py now I am missing the following three:
 >
 > SysmoUSIMgr1

I should have those. Pleas remind me next week when I'm back to the office.

 > OpenCellsSim
 > FairwavesSIM

it makes sense to ask the authors of the respective patches to send us some 
card samples, as we otherwise cannot maintain that card support in the tree.  
Please check the git log and contact the respective authors.


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

Gerrit-Project: pysim
Gerrit-Branch: master
Gerrit-Change-Id: Ib757b1433c075c635fe43542103acae2167a1a15
Gerrit-Change-Number: 15501
Gerrit-PatchSet: 5
Gerrit-Owner: dexter 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: dexter 
Gerrit-Reviewer: laforge 
Gerrit-Comment-Date: Tue, 24 Sep 2019 11:59:54 +
Gerrit-HasComments: No
Gerrit-Has-Labels: No
Gerrit-MessageType: comment


Change in ...osmo-msc[master]: sgs_iface: Accept messages with unknown TLV elements

2019-09-24 Thread fixeria
fixeria has posted comments on this change. ( 
https://gerrit.osmocom.org/c/osmo-msc/+/15599 )

Change subject: sgs_iface: Accept messages with unknown TLV elements
..


Patch Set 1: Code-Review-1

(1 comment)

We should clearly distinguish presence of unknown IEs and other parsing errors.

https://gerrit.osmocom.org/#/c/15599/1/src/libmsc/sgs_iface.c
File src/libmsc/sgs_iface.c:

https://gerrit.osmocom.org/#/c/15599/1/src/libmsc/sgs_iface.c@947
PS1, Line 947: tlv_parse
What if a received message is malformed somehow? Is there any specific value 
that is returned by tlv_parse() if a massage is correct, but contains unknown 
IEs?



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

Gerrit-Project: osmo-msc
Gerrit-Branch: master
Gerrit-Change-Id: Ic6714451ad970043d4765f8420d753daf5294a44
Gerrit-Change-Number: 15599
Gerrit-PatchSet: 1
Gerrit-Owner: dexter 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria 
Gerrit-Comment-Date: Tue, 24 Sep 2019 10:21:32 +
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment


Change in ...osmo-msc[master]: sgs_iface: Accept messages with unknown TLV elements

2019-09-24 Thread dexter
dexter has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-msc/+/15599


Change subject: sgs_iface: Accept messages with unknown TLV elements
..

sgs_iface: Accept messages with unknown TLV elements

3GPP TS 29.118, chapter 7.5 states that unknown TLV elements should be
ignored rather than that the whole message is discarded a STATUS message
is sent. Lets turn the returncode check of the tlv_parse() call into a
log message and continue normally.

Change-Id: Ic6714451ad970043d4765f8420d753daf5294a44
Related: OS#4214
---
M src/libmsc/sgs_iface.c
1 file changed, 2 insertions(+), 4 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-msc refs/changes/99/15599/1

diff --git a/src/libmsc/sgs_iface.c b/src/libmsc/sgs_iface.c
index b12991c..a4527f4 100644
--- a/src/libmsc/sgs_iface.c
+++ b/src/libmsc/sgs_iface.c
@@ -945,10 +945,8 @@

/* Parse TLV elements */
rc = tlv_parse(, _ie_tlvdef, msgb_l2(msg) + 1, msgb_l2len(msg) 
- 1, 0, 0);
-   if (rc < 0) {
-   TX_STATUS_AND_LOG(sgc, msg_type, 
SGSAP_SGS_CAUSE_SEMANT_INCORR_MSG, "SGsAP Message %s parsing error\n");
-   goto error;
-   }
+   if (rc < 0)
+   LOGSGC(sgc, LOGL_NOTICE, "SGsAP Message %s contains unknown TLV 
IEs\n", sgsap_msg_type_name(msg_type));

/* Most of the messages contain an IMSI as mandatory IE, parse it right 
here */
if (!TLVP_PRESENT(, SGSAP_IE_IMSI) &&

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

Gerrit-Project: osmo-msc
Gerrit-Branch: master
Gerrit-Change-Id: Ic6714451ad970043d4765f8420d753daf5294a44
Gerrit-Change-Number: 15599
Gerrit-PatchSet: 1
Gerrit-Owner: dexter 
Gerrit-MessageType: newchange


Change in ...pysim[master]: cards.py: unify card programming

2019-09-24 Thread dexter
dexter has posted comments on this change. ( 
https://gerrit.osmocom.org/c/pysim/+/15501 )

Change subject: cards.py: unify card programming
..


Patch Set 5:

> Patch Set 5: Code-Review+1
>
> Looks fine to me. I can give you sysmoSIM-GR1, GR2 and magicSIM samples, but 
> I don't think I have other cards to test with.

I already have those cards, I looked in cards.py now I am missing the following 
three:

SysmoUSIMgr1
OpenCellsSim
FairwavesSIM


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

Gerrit-Project: pysim
Gerrit-Branch: master
Gerrit-Change-Id: Ib757b1433c075c635fe43542103acae2167a1a15
Gerrit-Change-Number: 15501
Gerrit-PatchSet: 5
Gerrit-Owner: dexter 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: dexter 
Gerrit-Reviewer: laforge 
Gerrit-Comment-Date: Tue, 24 Sep 2019 09:17:54 +
Gerrit-HasComments: No
Gerrit-Has-Labels: No
Gerrit-MessageType: comment


Change in ...libosmocore[master]: gsm29205_test: fix error: missing braces around initializer

2019-09-24 Thread osmith
osmith has posted comments on this change. ( 
https://gerrit.osmocom.org/c/libosmocore/+/15595 )

Change subject: gsm29205_test: fix error: missing braces around initializer
..


Patch Set 1: Code-Review+2


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

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: Ia814b4a4ed5bec84ff1f69232f7f7d5ca0d19794
Gerrit-Change-Number: 15595
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: osmith 
Gerrit-Reviewer: pespin 
Gerrit-Comment-Date: Tue, 24 Sep 2019 09:11:29 +
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment


Change in ...osmo-msc[master]: paging: Send SGsAP-SERVICE-ABORT-REQUEST on paging timeout

2019-09-24 Thread dexter
dexter has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-msc/+/15598


Change subject: paging: Send SGsAP-SERVICE-ABORT-REQUEST on paging timeout
..

paging: Send SGsAP-SERVICE-ABORT-REQUEST on paging timeout

When pagig for a CS-Call via SGs times out, the MME expects to be
informed about this via an SGsAP-SERVICE-ABORT-REQUEST, make sure this
message is sent, but only for CS-Fallback calls.

Change-Id: I3f8f153afe24cf2efa245713509bdc8488902877
Depends: osmo-ttcn3-hacks I99950a17ccf26aaa0eebded5480f33be4c57586a
Related: OS#3614
---
M include/osmocom/msc/sgs_iface.h
M src/libmsc/paging.c
M src/libmsc/sgs_iface.c
3 files changed, 27 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-msc refs/changes/98/15598/1

diff --git a/include/osmocom/msc/sgs_iface.h b/include/osmocom/msc/sgs_iface.h
index 575468e..a319663 100644
--- a/include/osmocom/msc/sgs_iface.h
+++ b/include/osmocom/msc/sgs_iface.h
@@ -89,4 +89,5 @@
 int sgs_iface_tx_paging(struct vlr_subscr *vsub, enum sgsap_service_ind 
serv_ind);
 int sgs_iface_tx_dtap_ud(struct msc_a *msc_a, struct msgb *msg);
 void sgs_iface_tx_release(struct vlr_subscr *vsub);
+void sgs_iface_tx_serv_abrt(struct vlr_subscr *vsub);

diff --git a/src/libmsc/paging.c b/src/libmsc/paging.c
index 182b036..743ce5c 100644
--- a/src/libmsc/paging.c
+++ b/src/libmsc/paging.c
@@ -49,6 +49,10 @@
 static void paging_response_timer_cb(void *data)
 {
struct vlr_subscr *vsub = data;
+
+   if (vsub->cs.attached_via_ran == OSMO_RAT_EUTRAN_SGS)
+   sgs_iface_tx_serv_abrt(vsub);
+
paging_expired(vsub);
 }

diff --git a/src/libmsc/sgs_iface.c b/src/libmsc/sgs_iface.c
index b12991c..2a37f4f 100644
--- a/src/libmsc/sgs_iface.c
+++ b/src/libmsc/sgs_iface.c
@@ -1258,6 +1258,28 @@
sgs_tx(mme->conn, msg_sgs);
 }

+/*! Send SGsAP-SERVICE-ABORT-REQUEST message to MME
+ *  \param[in] vsub subscriber context */
+void sgs_iface_tx_serv_abrt(struct vlr_subscr *vsub)
+{
+   struct msgb *msg_sgs;
+   struct sgs_mme_ctx *mme;
+
+   OSMO_ASSERT(vsub);
+
+   /* The service abort procedure is only defined for MT calls,
+* see also 3GPP TS 29.118, chapter 5.13.2 */
+   if (vsub->sgs.paging_serv_ind != SGSAP_SERV_IND_CS_CALL)
+   return;
+
+   mme = sgs_mme_ctx_by_vsub(vsub, SGSAP_MSGT_DL_UD);
+   if (!mme)
+   return;
+
+   msg_sgs = gsm29118_create_service_abort_req(vsub->imsi);
+   sgs_tx(mme->conn, msg_sgs);
+}
+
 /*! initalize SGs new interface
  *  \param[in] ctx talloc context
  *  \param[in] network associated gsm network

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

Gerrit-Project: osmo-msc
Gerrit-Branch: master
Gerrit-Change-Id: I3f8f153afe24cf2efa245713509bdc8488902877
Gerrit-Change-Number: 15598
Gerrit-PatchSet: 1
Gerrit-Owner: dexter 
Gerrit-MessageType: newchange


Change in ...osmo-ttcn3-hacks[master]: Cosmetic: Fix comment

2019-09-24 Thread dexter
dexter has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/15596


Change subject: Cosmetic: Fix comment
..

Cosmetic: Fix comment

Change-Id: Ie1c80d951ea2f8e3e154beb5623aa0d5f5874a60
---
M msc/MSC_Tests.ttcn
1 file changed, 3 insertions(+), 3 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks 
refs/changes/96/15596/1

diff --git a/msc/MSC_Tests.ttcn b/msc/MSC_Tests.ttcn
index 7499456..7c4ac51 100644
--- a/msc/MSC_Tests.ttcn
+++ b/msc/MSC_Tests.ttcn
@@ -4858,9 +4858,9 @@
/* Even on a failed paging the SGs Association should stay intact */
f_ctrl_get_exp(IPA_CTRL, "fsm.SGs-UE.id.imsi:" & hex2str(g_pars.imsi) & 
".state", "SGs-ASSOCIATED");

-   /* Note: We do not execute f_sgsap_bssmap_screening() here since the
-* MSC/VLR would re-try to deliver the test SMS trigered above and
-* so the screening would fail. */
+   /* Make sure that the SMS we just inserted is cleared and the
+* subscriber is expired. This is necessary because otherwise the MSC
+* might re-try the SMS delivery and disturb the following tests. */

f_vty_sms_clear(hex2str(g_pars.imsi));


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

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: Ie1c80d951ea2f8e3e154beb5623aa0d5f5874a60
Gerrit-Change-Number: 15596
Gerrit-PatchSet: 1
Gerrit-Owner: dexter 
Gerrit-MessageType: newchange


Change in ...osmo-ttcn3-hacks[master]: MSC_Tests: Expect SGsAP-SERVICE-ABORT-REQUEST on paging timeout

2019-09-24 Thread dexter
dexter has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/15597


Change subject: MSC_Tests: Expect SGsAP-SERVICE-ABORT-REQUEST on paging timeout
..

MSC_Tests: Expect SGsAP-SERVICE-ABORT-REQUEST on paging timeout

When a paging for a CS-Call times out the MSC/VLR is expected to send an
SGsAP-SERVICE-ABORT-REQUEST to the MME to indicate that the paging has
timed out. This is not taken into accound yet by TTCN3 test
TC_sgsap_paging_and_nothing

Related: OS#3614
Depends: osmo-msc I3f8f153afe24cf2efa245713509bdc8488902877
Change-Id: I99950a17ccf26aaa0eebded5480f33be4c57586a
---
M msc/MSC_Tests.ttcn
1 file changed, 21 insertions(+), 3 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks 
refs/changes/97/15597/1

diff --git a/msc/MSC_Tests.ttcn b/msc/MSC_Tests.ttcn
index 7c4ac51..063105c 100644
--- a/msc/MSC_Tests.ttcn
+++ b/msc/MSC_Tests.ttcn
@@ -4491,6 +4491,7 @@

var octetstring vlr_name := f_enc_dns_hostname(mp_vlr_name);
var template PDU_SGsAP exp_resp := tr_SGsAP_PAGING_REQ(g_pars.imsi, 
vlr_name, CS_call_indicator, omit);
+   var template PDU_SGsAP exp_serv_abrt := 
ts_SGsAP_SERVICE_ABORT_REQ(g_pars.imsi);
var template  LocationAreaId exp_lai := 
ts_SGsAP_IE_Lai(valueof(ts_SGsAP_LAI('901'H, '70'H, 2342)));
exp_resp.sGsAP_PAGING_REQUEST.locationAreaId := exp_lai;

@@ -4505,9 +4506,26 @@
}
}

-   /* Now do nothing, the MSC/VLR should fail silently to page after a
-* few seconds, The SGs association must remain unchanged. */
-   f_sleep(15.0);
+   /* While we are doing nothing, expect an SGsAP-SERVICE-ABORT-REQUEST
+* after some time */
+   timer T := 10.0;
+   T.start
+   alt {
+   [] SGsAP.receive(exp_serv_abrt)
+   {
+   setverdict(pass);
+   }
+   [] SGsAP.receive {
+   setverdict(fail, "unexpected SGsAP message received");
+   self.stop;
+   }
+   [] T.timeout {
+   setverdict(fail, "MSC did not send 
SGsAP-SERVICE-ABORT-REQUEST");
+   self.stop;
+   }
+   }
+
+   /* The SGs association must remain unchanged. */
f_ctrl_get_exp(IPA_CTRL, "fsm.SGs-UE.id.imsi:" & hex2str(g_pars.imsi) & 
".state", "SGs-ASSOCIATED");

f_sgsap_bssmap_screening();

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

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I99950a17ccf26aaa0eebded5480f33be4c57586a
Gerrit-Change-Number: 15597
Gerrit-PatchSet: 1
Gerrit-Owner: dexter 
Gerrit-MessageType: newchange


Change in ...libosmocore[master]: gsm29205_test: fix error: missing braces around initializer

2019-09-24 Thread pespin
pespin has posted comments on this change. ( 
https://gerrit.osmocom.org/c/libosmocore/+/15595 )

Change subject: gsm29205_test: fix error: missing braces around initializer
..


Patch Set 1: Code-Review+1


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

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: Ia814b4a4ed5bec84ff1f69232f7f7d5ca0d19794
Gerrit-Change-Number: 15595
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: pespin 
Gerrit-Comment-Date: Tue, 24 Sep 2019 09:02:05 +
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment


Change in ...osmo-ci[master]: gerrit, master builds: use stretch, not jessie

2019-09-24 Thread fixeria
fixeria has posted comments on this change. ( 
https://gerrit.osmocom.org/c/osmo-ci/+/15583 )

Change subject: gerrit, master builds: use stretch, not jessie
..


Patch Set 4:

(1 comment)

https://gerrit.osmocom.org/#/c/15583/3//COMMIT_MSG
Commit Message:

https://gerrit.osmocom.org/#/c/15583/3//COMMIT_MSG@11
PS3, Line 11: tests won't build out of
: the box with GCC-4.9.x from jessie
> I guess you were not building with -Werror. The jenkins build has it enabled. 
> […]
Ok, you're right. With '--enable-werror' it fails to build tests:

  gsm29205/gsm29205_test.c: In function ‘test_gcr’:
  gsm29205/gsm29205_test.c:47:9: error: missing braces around initializer 
[-Werror=missing-braces]
   struct osmo_gcr_parsed p = { 0 }, g = {
  gsm29205/gsm29205_test.c:47:9: error: (near initialization for ‘p.net’) 
[-Werror=missing-braces]

Please see: https://gerrit.osmocom.org/c/libosmocore/+/15595



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

Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Change-Id: I61fe93863d5367e3b9c01ab4726bb95bd16d891d
Gerrit-Change-Number: 15583
Gerrit-PatchSet: 4
Gerrit-Owner: osmith 
Gerrit-Reviewer: daniel 
Gerrit-Reviewer: fixeria 
Gerrit-Reviewer: neels 
Gerrit-Reviewer: osmith 
Gerrit-Reviewer: pespin 
Gerrit-Comment-Date: Tue, 24 Sep 2019 08:53:05 +
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: fixeria 
Comment-In-Reply-To: osmith 
Gerrit-MessageType: comment


Change in ...libosmocore[master]: gsm29205_test: fix error: missing braces around initializer

2019-09-24 Thread fixeria
fixeria has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/libosmocore/+/15595


Change subject: gsm29205_test: fix error: missing braces around initializer
..

gsm29205_test: fix error: missing braces around initializer

Since structure 'osmo_gcr_parsed' does contain arrays, GCC is not
happy about the way we initialize it. Let's do it explicitly.

Change-Id: Ia814b4a4ed5bec84ff1f69232f7f7d5ca0d19794
---
M tests/gsm29205/gsm29205_test.c
1 file changed, 7 insertions(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/95/15595/1

diff --git a/tests/gsm29205/gsm29205_test.c b/tests/gsm29205/gsm29205_test.c
index 5add1b1..44c3453 100644
--- a/tests/gsm29205/gsm29205_test.c
+++ b/tests/gsm29205/gsm29205_test.c
@@ -44,7 +44,13 @@
};
uint8_t len;
struct msgb *msg;
-   struct osmo_gcr_parsed p = { 0 }, g = {
+   struct osmo_gcr_parsed p = {
+   .net_len = 0,
+   .net = { 0 },
+   .node = 0x00,
+   .cr = { 0 },
+   };
+   struct osmo_gcr_parsed g = {
.net_len = 3,
.net = { 0x51, 0x52, 0x53 },
.node = 0xDEAD,

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

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: Ia814b4a4ed5bec84ff1f69232f7f7d5ca0d19794
Gerrit-Change-Number: 15595
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria 
Gerrit-MessageType: newchange


Change in ...pysim[master]: cards.py: unify card programming

2019-09-24 Thread laforge
laforge has posted comments on this change. ( 
https://gerrit.osmocom.org/c/pysim/+/15501 )

Change subject: cards.py: unify card programming
..


Patch Set 5: Code-Review+1

Looks fine to me. I can give you sysmoSIM-GR1, GR2 and magicSIM samples, but I 
don't think I have other cards to test with.


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

Gerrit-Project: pysim
Gerrit-Branch: master
Gerrit-Change-Id: Ib757b1433c075c635fe43542103acae2167a1a15
Gerrit-Change-Number: 15501
Gerrit-PatchSet: 5
Gerrit-Owner: dexter 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: dexter 
Gerrit-Reviewer: laforge 
Gerrit-Comment-Date: Tue, 24 Sep 2019 07:44:21 +
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment


Change in ...osmo-ci[master]: gerrit, master builds: make all jobs concurrent

2019-09-24 Thread laforge
laforge has posted comments on this change. ( 
https://gerrit.osmocom.org/c/osmo-ci/+/15585 )

Change subject: gerrit, master builds: make all jobs concurrent
..


Patch Set 5: Code-Review+2


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

Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Change-Id: I5fdf759faf47ec7e4f9cb2657bd004585a667add
Gerrit-Change-Number: 15585
Gerrit-PatchSet: 5
Gerrit-Owner: osmith 
Gerrit-Reviewer: laforge 
Gerrit-Reviewer: pespin 
Gerrit-Comment-Date: Tue, 24 Sep 2019 07:41:58 +
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment


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

2019-09-24 Thread OBS Notification
Visit 
https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/osmo-trx/Debian_Testing/x86_64

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

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

Last lines of build log:
[  469s] ar: `u' modifier ignored since `D' is the default (see `U')
[  469s] libtool: link: ranlib .libs/libtransceiver_common.a
[  469s] libtool: link: ( cd ".libs" && rm -f "libtransceiver_common.la" && ln 
-s "../libtransceiver_common.la" "libtransceiver_common.la" )
[  469s] /bin/bash ../libtool  --tag=CXX   --mode=link g++ -lpthread 
-I/usr/include/ -I/usr/include/ -I/usr/include/ -g -O2 
-fdebug-prefix-map=/usr/src/packages/BUILD=. -fstack-protector-strong -Wformat 
-Werror=format-security  -Wl,-z,relro -Wl,-z,now -o osmo-trx-uhd 
osmo_trx_uhd-osmo-trx.o ./device/uhd/libdevice.la libtransceiver_common.la 
../Transceiver52M/arch/x86/libarch.la ../GSM/libGSM.la 
../CommonLibs/libcommon.la -lfftw3f -ltalloc -losmocore -ltalloc -losmoctrl 
-losmogsm -losmocore -ltalloc -losmovty -losmocore -luhd 
[  469s] libtool: link: g++ -I/usr/include/ -I/usr/include/ -I/usr/include/ -g 
-O2 -fdebug-prefix-map=/usr/src/packages/BUILD=. -fstack-protector-strong 
-Wformat -Werror=format-security -Wl,-z -Wl,relro -Wl,-z -Wl,now -o 
osmo-trx-uhd osmo_trx_uhd-osmo-trx.o  ./device/uhd/.libs/libdevice.a 
./.libs/libtransceiver_common.a ../Transceiver52M/arch/x86/.libs/libarch.a 
../GSM/.libs/libGSM.a ../CommonLibs/.libs/libcommon.a -lpthread -lfftw3f 
/usr/lib/x86_64-linux-gnu/libosmoctrl.so 
/usr/lib/x86_64-linux-gnu/libosmogsm.so -ltalloc 
/usr/lib/x86_64-linux-gnu/libosmovty.so 
/usr/lib/x86_64-linux-gnu/libosmocore.so -luhd
[  469s] /usr/bin/ld: ./device/uhd/.libs/libdevice.a(UHDDevice.o): undefined 
reference to symbol '_ZN5boost6system16generic_categoryEv'
[  469s] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libboost_system.so.1.67.0: 
error adding symbols: DSO missing from command line
[  469s] collect2: error: ld returned 1 exit status
[  469s] make[4]: *** [Makefile:681: osmo-trx-uhd] Error 1
[  469s] make[4]: Leaving directory '/usr/src/packages/BUILD/Transceiver52M'
[  469s] make[3]: *** [Makefile:820: all-recursive] Error 1
[  469s] make[3]: Leaving directory '/usr/src/packages/BUILD/Transceiver52M'
[  469s] make[2]: *** [Makefile:513: all-recursive] Error 1
[  469s] make[2]: Leaving directory '/usr/src/packages/BUILD'
[  469s] make[1]: *** [Makefile:444: all] Error 2
[  469s] make[1]: Leaving directory '/usr/src/packages/BUILD'
[  469s] dh_auto_build: make -j1 returned exit code 2
[  470s] make: *** [debian/rules:6: build] Error 255
[  470s] dpkg-buildpackage: error: debian/rules build subprocess returned exit 
status 2
[  470s] 
[  470s] build33 failed "build osmo-trx_1.1.1.28.ee2b.dsc" at Tue Sep 24 
07:32:36 UTC 2019.
[  470s] 
[  470s] ### VM INTERACTION START ###
[  473s] [  445.699171] sysrq: SysRq : Power Off
[  473s] [  445.701807] reboot: Power down
[  474s] ### VM INTERACTION END ###
[  474s] 
[  474s] build33 failed "build osmo-trx_1.1.1.28.ee2b.dsc" at Tue Sep 24 
07:32:41 UTC 2019.
[  474s] 

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


Change in ...osmo-ci[master]: gerrit, master builds: use stretch, not jessie

2019-09-24 Thread osmith
osmith has posted comments on this change. ( 
https://gerrit.osmocom.org/c/osmo-ci/+/15583 )

Change subject: gerrit, master builds: use stretch, not jessie
..


Patch Set 4: Code-Review+2

got 3x +1, so setting it to +2


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

Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Change-Id: I61fe93863d5367e3b9c01ab4726bb95bd16d891d
Gerrit-Change-Number: 15583
Gerrit-PatchSet: 4
Gerrit-Owner: osmith 
Gerrit-Reviewer: daniel 
Gerrit-Reviewer: fixeria 
Gerrit-Reviewer: neels 
Gerrit-Reviewer: osmith 
Gerrit-Reviewer: pespin 
Gerrit-Comment-Date: Tue, 24 Sep 2019 07:30:59 +
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment


Change in ...osmo-ci[master]: gerrit, master builds: use stretch, not jessie

2019-09-24 Thread osmith
osmith has submitted this change and it was merged. ( 
https://gerrit.osmocom.org/c/osmo-ci/+/15583 )

Change subject: gerrit, master builds: use stretch, not jessie
..

gerrit, master builds: use stretch, not jessie

Debian jessie (8) is EOL already, so switch to stretch (9). This is
required to build all Osmocom projects in docker, because at least
libosmocore fails to build with the old image (tests won't build with
GCC-4.9.x from jessie unless -Werror is disabled).

Do not build the jessie image anymore, and update the shared dockerfile.
Remove everything jessie specific, and make it work with stretch by
installing asciidoc-dblatex. Otherwise we get this error when building
manuals:

a2x: ERROR: missing configuration file: 
/etc/asciidoc/dblatex/asciidoc-dblatex.xsl

Add '--cap-add SYS_PTRACE' argument to the docker run command, because
otherwise the address sanitizer isn't working anymore with stretch
(which makes the OsmoPCU tests fail).

I've tried to split this patch up into multiple ones, but since there is
no asciidoc-dblatex package in jessie, we must add the dependency and
switch the image at the same time.

Related: OS#3726
Change-Id: I61fe93863d5367e3b9c01ab4726bb95bd16d891d
---
M docker/Dockerfile_osmocom_jenkins.amd64
M docker/rebuild_osmocom_jenkins_image.sh
M jobs/gerrit-verifications.yml
M jobs/master-builds.yml
4 files changed, 11 insertions(+), 9 deletions(-)

Approvals:
  osmith: Looks good to me, approved; Verified
  daniel: Looks good to me, but someone else must approve



diff --git a/docker/Dockerfile_osmocom_jenkins.amd64 
b/docker/Dockerfile_osmocom_jenkins.amd64
index 3f499ad..897db15 100644
--- a/docker/Dockerfile_osmocom_jenkins.amd64
+++ b/docker/Dockerfile_osmocom_jenkins.amd64
@@ -1,10 +1,9 @@
-ARG DEBIAN_VERSION=jessie
+ARG DEBIAN_VERSION=stretch
 FROM debian:${DEBIAN_VERSION}
 
 RUN \
-echo "deb http://archive.debian.org/debian jessie-backports main" >> 
/etc/apt/sources.list && \
 dpkg --add-architecture i386 && \
-DEBIAN_FRONTEND=noninteractive apt-get -o Acquire::Check-Valid-Until=false 
update && \
+DEBIAN_FRONTEND=noninteractive apt-get update && \
 DEBIAN_FRONTEND=noninteractive apt-get upgrade -y && \
 DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends 
wget make

@@ -29,7 +28,7 @@
 RUN DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends 
libortp-dev libpcsclite-dev libsctp-dev libfftw3-dev libsnmp-dev  
libusb-1.0-0-dev libtalloc-dev libgnutls28-dev

 # OsmocomBB
-RUN DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends 
gcc-arm-none-eabi liblua5.3-dev/jessie-backports
+RUN DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends 
gcc-arm-none-eabi liblua5.3-dev

 # building
 RUN DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends 
libtool pkg-config automake autoconf
@@ -38,7 +37,7 @@
 RUN DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends 
python3-setuptools python-setuptools python3-pip python-pip

 # for osmo-gsm-manuals
-RUN DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends 
xsltproc dblatex docbook5-xml graphviz python-pychart python-nwdiag 
libxml2-utils
+RUN DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends 
xsltproc dblatex docbook5-xml graphviz python-pychart python-nwdiag 
libxml2-utils asciidoc-dblatex

 # Linux kernel
 RUN DEBIAN_FRONTEND=noninteractive apt-get install -y bc
diff --git a/docker/rebuild_osmocom_jenkins_image.sh 
b/docker/rebuild_osmocom_jenkins_image.sh
index c4e3b10..60c516b 100755
--- a/docker/rebuild_osmocom_jenkins_image.sh
+++ b/docker/rebuild_osmocom_jenkins_image.sh
@@ -22,6 +22,5 @@
build_once "-t" "${tag_name}" "--build-arg" 
DEBIAN_VERSION="${debian_version}"
 }

-# Create containers using jessie (Debian 8.0) and stretch (Debian 9.0) as base.
-build_container osmocom:amd64 jessie
+# Create containers using stretch (Debian 9.0) as base.
 build_container osmocom:deb9_amd64 stretch
diff --git a/jobs/gerrit-verifications.yml b/jobs/gerrit-verifications.yml
index 0f97c23..693d3c3 100644
--- a/jobs/gerrit-verifications.yml
+++ b/jobs/gerrit-verifications.yml
@@ -20,10 +20,12 @@
 combination_filter: ''
 sequential: false
 # most common build invocation
+# SYS_PTRACE is needed for ASAN 
(https://github.com/google/sanitizers/issues/764)
 docker_run: |
 ARTIFACT_STORE="$HOME/jenkins_build_artifact_store"
 mkdir -p "$ARTIFACT_STORE"
 docker run --rm=true \
+  --cap-add SYS_PTRACE \
   -e ARTIFACT_STORE=/artifact_store \
   -e ASCIIDOC_WARNINGS_CHECK="1" \
   -e HOME=/build \
@@ -36,7 +38,7 @@
   -w /build -i -u build \
   -v "$PWD:/build" -v "$HOME/bin:/build_bin" \
   -v "$ARTIFACT_STORE:/artifact_store" \
-docker_img: 

Change in ...osmo-ci[master]: gerrit, master builds: add docker_{run, img} vars

2019-09-24 Thread osmith
osmith has posted comments on this change. ( 
https://gerrit.osmocom.org/c/osmo-ci/+/15582 )

Change subject: gerrit, master builds: add docker_{run,img} vars
..


Patch Set 3: Verified+1


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

Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Change-Id: If529e6a93bb2227230981ee22f2c75bd0f1f4518
Gerrit-Change-Number: 15582
Gerrit-PatchSet: 3
Gerrit-Owner: osmith 
Gerrit-Reviewer: daniel 
Gerrit-Reviewer: fixeria 
Gerrit-Reviewer: laforge 
Gerrit-Reviewer: neels 
Gerrit-Reviewer: osmith 
Gerrit-Reviewer: pespin 
Gerrit-Comment-Date: Tue, 24 Sep 2019 07:30:15 +
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment


Change in ...osmo-ci[master]: gerrit, master builds: add docker_{run, img} vars

2019-09-24 Thread osmith
osmith has submitted this change and it was merged. ( 
https://gerrit.osmocom.org/c/osmo-ci/+/15582 )

Change subject: gerrit, master builds: add docker_{run,img} vars
..

gerrit, master builds: add docker_{run,img} vars

Move the common "docker run" invocation and image name into one place,
so it is not duplicated over and over. This prepares for changing the
image and building all Osmocom projects in docker (follow up patches).

Related: OS#3726
Change-Id: If529e6a93bb2227230981ee22f2c75bd0f1f4518
---
M jobs/gerrit-verifications.yml
M jobs/master-builds.yml
2 files changed, 57 insertions(+), 173 deletions(-)

Approvals:
  daniel: Looks good to me, approved
  pespin: Looks good to me, but someone else must approve
  osmith: Verified



diff --git a/jobs/gerrit-verifications.yml b/jobs/gerrit-verifications.yml
index c5aae68..0f97c23 100644
--- a/jobs/gerrit-verifications.yml
+++ b/jobs/gerrit-verifications.yml
@@ -20,6 +20,23 @@
 combination_filter: ''
 sequential: false
 # most common build invocation
+docker_run: |
+ARTIFACT_STORE="$HOME/jenkins_build_artifact_store"
+mkdir -p "$ARTIFACT_STORE"
+docker run --rm=true \
+  -e ARTIFACT_STORE=/artifact_store \
+  -e ASCIIDOC_WARNINGS_CHECK="1" \
+  -e HOME=/build \
+  -e JOB_NAME="$JOB_NAME" \
+  -e MAKE=make \
+  -e OSMOPY_DEBUG_TCP_SOCKETS="1" \
+  -e PARALLEL_MAKE="$PARALLEL_MAKE" \
+  -e PATH="$PATH:/build_bin" \
+  -e WITH_MANUALS="1" \
+  -w /build -i -u build \
+  -v "$PWD:/build" -v "$HOME/bin:/build_bin" \
+  -v "$ARTIFACT_STORE:/artifact_store" \
+docker_img: 'osmocom:amd64'
 cmd: ASCIIDOC_WARNINGS_CHECK=1 ./contrib/jenkins.sh
 repos_url: 'ssh://jenk...@gerrit.osmocom.org:29418/{repos}'
 gerrit_project: '{repos}'
@@ -30,16 +47,7 @@

   - cellmgr-ng:
   concurrent: true
-  cmd: |
-docker run --rm=true \
-  -e HOME=/build \
-  -e MAKE=make \
-  -e PARALLEL_MAKE="$PARALLEL_MAKE" \
-  -e PATH="$PATH:/build_bin" \
-  -w /build -i -u build \
-  -v "$PWD:/build" \
-  -v "$HOME/bin:/build_bin" \
-  osmocom:amd64 /build/contrib/jenkins.sh
+  cmd: '{docker_run} {docker_img} /build/contrib/jenkins.sh'

   - libasn1c
   - libgtpnl
@@ -67,26 +75,11 @@
   a3: !!python/tuple [--disable-iu]
   concurrent: true
   cmd: |
-ARTIFACT_STORE="$HOME/jenkins_build_artifact_store"
-mkdir -p "$ARTIFACT_STORE"
-docker run --rm=true \
-  -e HOME=/build \
-  -e ARTIFACT_STORE=/artifact_store \
-  -e JOB_NAME="$JOB_NAME" \
-  -e MAKE=make \
-  -e PARALLEL_MAKE="$PARALLEL_MAKE" \
+{docker_run} \
   -e IU="$IU" \
   -e SMPP="$SMPP" \
   -e MGCP="$MGCP" \
-  -e PATH="$PATH:/build_bin" \
-  -e OSMOPY_DEBUG_TCP_SOCKETS="1" \
-  -e WITH_MANUALS="1" \
-  -e ASCIIDOC_WARNINGS_CHECK="1" \
-  -w /build -i -u build \
-  -v "$PWD:/build" \
-  -v "$HOME/bin:/build_bin" \
-  -v "$ARTIFACT_STORE:/artifact_store" \
-  osmocom:amd64 /build/contrib/jenkins.sh
+  {docker_img} /build/contrib/jenkins.sh

   - openggsn:
   a1_name: GTP
@@ -95,18 +88,7 @@

   - osmo-bsc:
   concurrent: true
-  cmd: |
-docker run --rm=true \
-  -e HOME=/build \
-  -e MAKE=make \
-  -e PARALLEL_MAKE="$PARALLEL_MAKE" \
-  -e PATH="$PATH:/build_bin" \
-  -e OSMOPY_DEBUG_TCP_SOCKETS="1" \
-  -e WITH_MANUALS="1" \
-  -e ASCIIDOC_WARNINGS_CHECK="1" \
-  -w /build -i -u build \
-  -v "$PWD:/build" -v "$HOME/bin:/build_bin" \
-  osmocom:amd64 /build/contrib/jenkins.sh
+  cmd: '{docker_run} {docker_img} /build/contrib/jenkins.sh'

   - osmo-bts:
   a1_name: FIRMWARE_VERSION
@@ -148,18 +130,7 @@

   - osmo-mgw:
   concurrent: true
-  cmd: |
-docker run --rm=true \
-  -e HOME=/build \
-  -e MAKE=make \
-  -e PARALLEL_MAKE="$PARALLEL_MAKE" \
-  -e PATH="$PATH:/build_bin" \
-  -e OSMOPY_DEBUG_TCP_SOCKETS="1" \
-  -e WITH_MANUALS="1" \
-  -e ASCIIDOC_WARNINGS_CHECK="1" \
-  -w /build -i -u build \
-  -v "$PWD:/build" -v "$HOME/bin:/build_bin" \
-  osmocom:amd64 /build/contrib/jenkins.sh
+  cmd: '{docker_run} {docker_img} /build/contrib/jenkins.sh'

   - osmo-msc:
   a1_name: IU
@@ 

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

2019-09-24 Thread OBS Notification
Visit 
https://build.opensuse.org/package/live_build_log/network:osmocom:latest/osmo-trx/Debian_Testing/x86_64

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

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

Last lines of build log:
[  418s] ar: `u' modifier ignored since `D' is the default (see `U')
[  418s] libtool: link: ranlib .libs/libtransceiver_common.a
[  419s] libtool: link: ( cd ".libs" && rm -f "libtransceiver_common.la" && ln 
-s "../libtransceiver_common.la" "libtransceiver_common.la" )
[  419s] /bin/bash ../libtool  --tag=CXX   --mode=link g++ -lpthread 
-I/usr/include/ -I/usr/include/ -I/usr/include/ -g -O2 
-fdebug-prefix-map=/usr/src/packages/BUILD=. -fstack-protector-strong -Wformat 
-Werror=format-security  -Wl,-z,relro -Wl,-z,now -o osmo-trx-uhd 
osmo_trx_uhd-osmo-trx.o ./device/uhd/libdevice.la libtransceiver_common.la 
../Transceiver52M/arch/x86/libarch.la ../GSM/libGSM.la 
../CommonLibs/libcommon.la -lfftw3f -ltalloc -losmocore -ltalloc -losmoctrl 
-losmogsm -losmocore -ltalloc -losmovty -losmocore -luhd 
[  419s] libtool: link: g++ -I/usr/include/ -I/usr/include/ -I/usr/include/ -g 
-O2 -fdebug-prefix-map=/usr/src/packages/BUILD=. -fstack-protector-strong 
-Wformat -Werror=format-security -Wl,-z -Wl,relro -Wl,-z -Wl,now -o 
osmo-trx-uhd osmo_trx_uhd-osmo-trx.o  ./device/uhd/.libs/libdevice.a 
./.libs/libtransceiver_common.a ../Transceiver52M/arch/x86/.libs/libarch.a 
../GSM/.libs/libGSM.a ../CommonLibs/.libs/libcommon.a -lpthread -lfftw3f 
/usr/lib/x86_64-linux-gnu/libosmoctrl.so 
/usr/lib/x86_64-linux-gnu/libosmogsm.so -ltalloc 
/usr/lib/x86_64-linux-gnu/libosmovty.so 
/usr/lib/x86_64-linux-gnu/libosmocore.so -luhd
[  419s] /usr/bin/ld: ./device/uhd/.libs/libdevice.a(UHDDevice.o): undefined 
reference to symbol '_ZN5boost6system16generic_categoryEv'
[  419s] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libboost_system.so.1.67.0: 
error adding symbols: DSO missing from command line
[  419s] collect2: error: ld returned 1 exit status
[  419s] make[4]: *** [Makefile:681: osmo-trx-uhd] Error 1
[  419s] make[4]: Leaving directory '/usr/src/packages/BUILD/Transceiver52M'
[  419s] make[3]: *** [Makefile:820: all-recursive] Error 1
[  419s] make[3]: Leaving directory '/usr/src/packages/BUILD/Transceiver52M'
[  419s] make[2]: *** [Makefile:513: all-recursive] Error 1
[  419s] make[2]: Leaving directory '/usr/src/packages/BUILD'
[  419s] make[1]: *** [Makefile:444: all] Error 2
[  419s] make[1]: Leaving directory '/usr/src/packages/BUILD'
[  419s] dh_auto_build: make -j1 returned exit code 2
[  419s] make: *** [debian/rules:6: build] Error 255
[  419s] dpkg-buildpackage: error: debian/rules build subprocess returned exit 
status 2
[  419s] 
[  419s] lamb13 failed "build osmo-trx_1.1.1.dsc" at Tue Sep 24 07:27:28 UTC 
2019.
[  419s] 
[  419s] ### VM INTERACTION START ###
[  422s] [  404.601328] sysrq: SysRq : Power Off
[  422s] [  404.607788] reboot: Power down
[  422s] ### VM INTERACTION END ###
[  422s] 
[  422s] lamb13 failed "build osmo-trx_1.1.1.dsc" at Tue Sep 24 07:27:31 UTC 
2019.
[  422s] 

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


Change in ...osmo-ci[master]: gerrit, master builds: use stretch, not jessie

2019-09-24 Thread daniel
daniel has posted comments on this change. ( 
https://gerrit.osmocom.org/c/osmo-ci/+/15583 )

Change subject: gerrit, master builds: use stretch, not jessie
..


Patch Set 4: Code-Review+1


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

Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Change-Id: I61fe93863d5367e3b9c01ab4726bb95bd16d891d
Gerrit-Change-Number: 15583
Gerrit-PatchSet: 4
Gerrit-Owner: osmith 
Gerrit-Reviewer: daniel 
Gerrit-Reviewer: fixeria 
Gerrit-Reviewer: neels 
Gerrit-Reviewer: osmith 
Gerrit-Reviewer: pespin 
Gerrit-Comment-Date: Tue, 24 Sep 2019 07:26:07 +
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment


Change in ...osmo-ci[master]: gerrit, master builds: add docker_{run, img} vars

2019-09-24 Thread daniel
daniel has posted comments on this change. ( 
https://gerrit.osmocom.org/c/osmo-ci/+/15582 )

Change subject: gerrit, master builds: add docker_{run,img} vars
..


Patch Set 3: Code-Review+2


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

Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Change-Id: If529e6a93bb2227230981ee22f2c75bd0f1f4518
Gerrit-Change-Number: 15582
Gerrit-PatchSet: 3
Gerrit-Owner: osmith 
Gerrit-Reviewer: daniel 
Gerrit-Reviewer: fixeria 
Gerrit-Reviewer: laforge 
Gerrit-Reviewer: neels 
Gerrit-Reviewer: osmith 
Gerrit-Reviewer: pespin 
Gerrit-Comment-Date: Tue, 24 Sep 2019 07:22:29 +
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment


Change in ...osmo-ci[master]: gerrit, master builds: use stretch, not jessie

2019-09-24 Thread osmith
osmith has posted comments on this change. ( 
https://gerrit.osmocom.org/c/osmo-ci/+/15583 )

Change subject: gerrit, master builds: use stretch, not jessie
..


Patch Set 4: Verified+1

(1 comment)

This change is ready for review.

https://gerrit.osmocom.org/#/c/15583/3//COMMIT_MSG
Commit Message:

https://gerrit.osmocom.org/#/c/15583/3//COMMIT_MSG@11
PS3, Line 11: tests won't build out of
: the box with GCC-4.9.x from jessie
I guess you were not building with -Werror. The jenkins build has it enabled. 
When running on the jenkins host (stretch), it works fine. When running in 
docker with the current image (jessie), it fails with:

> /build/tests/gsm29205/gsm29205_test.c: In function ‘test_gcr’:
> /build/tests/gsm29205/gsm29205_test.c:47:9: error: missing braces around 
> initializer [-Werror=missing-braces]
>   struct osmo_gcr_parsed p = { 0 }, g = {

https://jenkins.osmocom.org/jenkins/job/gerrit-libosmocore/2232/a2=default,a3=default,a4=default,arch=amd64,label=osmocom-gerrit-debian9/consoleFull

(In the above build, I had temporarily uploaded a jenkins config that made 
libosmocore use docker, search for "docker run".)



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

Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Change-Id: I61fe93863d5367e3b9c01ab4726bb95bd16d891d
Gerrit-Change-Number: 15583
Gerrit-PatchSet: 4
Gerrit-Owner: osmith 
Gerrit-Reviewer: daniel 
Gerrit-Reviewer: fixeria 
Gerrit-Reviewer: neels 
Gerrit-Reviewer: osmith 
Gerrit-Reviewer: pespin 
Gerrit-Comment-Date: Tue, 24 Sep 2019 06:12:11 +
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Comment-In-Reply-To: fixeria 
Comment-In-Reply-To: osmith 
Gerrit-MessageType: comment