Build failure of network:osmocom:nightly/osmo-sgsn in Debian_9.0/aarch64

2018-05-15 Thread OBS Notification
Visit 
https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/osmo-sgsn/Debian_9.0/aarch64

Package network:osmocom:nightly/osmo-sgsn failed to build in Debian_9.0/aarch64

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

Last lines of build log:
[  264s] [  242.084790] dracut-initqueue[459]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  264s] [  242.735300] dracut-initqueue[459]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  265s] [  243.364733] dracut-initqueue[459]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  266s] [  244.005368] dracut-initqueue[459]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  266s] [  244.675033] dracut-initqueue[459]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  266s] [  244.682047] dracut-initqueue[459]: Warning: Could not boot.
[  266s]  Starting Setup Virtual Console...
[  266s] [  OK  ] Started Setup Virtual Console.
[  266s]  Starting Dracut Emergency Shell...
[  266s] Warning: /dev/disk/by-uuid/00750419-b769-40be-aa7a-a81dca13c577 does 
not exist
[  266s] 
[  266s] Generating "/run/initramfs/rdsosreport.txt"
[  267s] 
[  267s] 
[  267s] Entering emergency mode. Exit the shell to continue.
[  267s] Type "journalctl" to view system logs.
[  267s] You might want to save "/run/initramfs/rdsosreport.txt" to a USB stick 
or /boot
[  267s] after mounting them and attach it to a bug report.
[  267s] 
[  267s] 
[  327s] dracut:/# ### WATCHDOG TRIGGERED, KILLING VM ###
[  327s] /var/cache/obs/worker/root_19/root: 47306
[  327s] qemu-system-aarch64: terminating on signal 15 from pid 8081 ()
[  327s] ### VM INTERACTION END ###
[  327s] /var/run/obs/worker/19/build/build-vm: line 458: kill: (47299) - No 
such process
[  327s] No buildstatus set, either the base system is broken 
(kernel/initrd/udev/glibc/bash/perl)
[  327s] or the build host has a kernel or hardware problem...

gave up after 13 failed build attempts...

-- 
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_9.0/aarch64

2018-05-15 Thread OBS Notification
Visit 
https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/osmo-msc/Debian_9.0/aarch64

Package network:osmocom:nightly/osmo-msc failed to build in Debian_9.0/aarch64

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

Last lines of build log:
[  264s] [  242.264806] dracut-initqueue[460]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  265s] [  242.915308] dracut-initqueue[460]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  265s] [  243.564856] dracut-initqueue[460]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  266s] [  244.235320] dracut-initqueue[460]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  267s] [  244.914699] dracut-initqueue[460]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  267s] [  244.921315] dracut-initqueue[460]: Warning: Could not boot.
[  267s]  Starting Setup Virtual Console...
[  267s] [  OK  ] Started Setup Virtual Console.
[  267s]  Starting Dracut Emergency Shell...
[  267s] Warning: /dev/disk/by-uuid/00750419-b769-40be-aa7a-a81dca13c577 does 
not exist
[  267s] 
[  267s] Generating "/run/initramfs/rdsosreport.txt"
[  267s] 
[  267s] 
[  267s] Entering emergency mode. Exit the shell to continue.
[  267s] Type "journalctl" to view system logs.
[  267s] You might want to save "/run/initramfs/rdsosreport.txt" to a USB stick 
or /boot
[  267s] after mounting them and attach it to a bug report.
[  267s] 
[  267s] 
[  327s] dracut:/# ### WATCHDOG TRIGGERED, KILLING VM ###
[  327s] /var/cache/obs/worker/root_32/root: 30355
[  327s] qemu-system-aarch64: terminating on signal 15 from pid 43519 ()
[  327s] ### VM INTERACTION END ###
[  327s] /var/run/obs/worker/32/build/build-vm: line 458: kill: (30348) - No 
such process
[  327s] No buildstatus set, either the base system is broken 
(kernel/initrd/udev/glibc/bash/perl)
[  327s] or the build host has a kernel or hardware problem...

gave up after 13 failed build attempts...

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


Build failure of network:osmocom:nightly/osmo-bsc in Debian_9.0/aarch64

2018-05-15 Thread OBS Notification
Visit 
https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/osmo-bsc/Debian_9.0/aarch64

Package network:osmocom:nightly/osmo-bsc failed to build in Debian_9.0/aarch64

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

Last lines of build log:
[  266s] [  243.704807] dracut-initqueue[445]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  267s] [  244.375374] dracut-initqueue[445]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  268s] [  245.044759] dracut-initqueue[445]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  268s] [  245.705470] dracut-initqueue[445]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  269s] [  246.364760] dracut-initqueue[445]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  269s] [  246.371535] dracut-initqueue[445]: Warning: Could not boot.
[  269s]  Starting Setup Virtual Console...
[  269s] [  OK  ] Started Setup Virtual Console.
[  269s]  Starting Dracut Emergency Shell...
[  269s] Warning: /dev/disk/by-uuid/00750419-b769-40be-aa7a-a81dca13c577 does 
not exist
[  269s] 
[  269s] Generating "/run/initramfs/rdsosreport.txt"
[  269s] 
[  269s] 
[  269s] Entering emergency mode. Exit the shell to continue.
[  269s] Type "journalctl" to view system logs.
[  269s] You might want to save "/run/initramfs/rdsosreport.txt" to a USB stick 
or /boot
[  269s] after mounting them and attach it to a bug report.
[  269s] 
[  269s] 
[  328s] dracut:/# ### WATCHDOG TRIGGERED, KILLING VM ###
[  328s] /var/cache/obs/worker/root_20/root: 30473
[  328s] qemu-system-aarch64: terminating on signal 15 from pid 37132 ()
[  328s] ### VM INTERACTION END ###
[  328s] /var/run/obs/worker/20/build/build-vm: line 458: kill: (30466) - No 
such process
[  328s] No buildstatus set, either the base system is broken 
(kernel/initrd/udev/glibc/bash/perl)
[  328s] or the build host has a kernel or hardware problem...

gave up after 12 failed build attempts...

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


Build failure of network:osmocom:nightly/openbsc in Debian_9.0/aarch64

2018-05-15 Thread OBS Notification
Visit 
https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/openbsc/Debian_9.0/aarch64

Package network:osmocom:nightly/openbsc failed to build in Debian_9.0/aarch64

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

Last lines of build log:
[  322s] [  291.425473] dracut-initqueue[463]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  322s] [  292.056599] dracut-initqueue[463]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  323s] [  292.695756] dracut-initqueue[463]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  323s] [  293.326605] dracut-initqueue[463]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  324s] [  293.975769] dracut-initqueue[463]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  324s] [  293.983128] dracut-initqueue[463]: Warning: Could not boot.
[  324s]  Starting Setup Virtual Console...
[  324s] [  OK  ] Started Setup Virtual Console.
[  324s]  Starting Dracut Emergency Shell...
[  324s] Warning: /dev/disk/by-uuid/00750419-b769-40be-aa7a-a81dca13c577 does 
not exist
[  324s] 
[  324s] Generating "/run/initramfs/rdsosreport.txt"
[  325s] 
[  325s] 
[  325s] Entering emergency mode. Exit the shell to continue.
[  325s] Type "journalctl" to view system logs.
[  325s] You might want to save "/run/initramfs/rdsosreport.txt" to a USB stick 
or /boot
[  325s] after mounting them and attach it to a bug report.
[  325s] 
[  325s] 
[  330s] dracut:/# ### WATCHDOG TRIGGERED, KILLING VM ###
[  330s] /var/cache/obs/worker/root_2/root:  6506
[  330s] qemu-system-aarch64: terminating on signal 15 from pid 18315 ()
[  330s] ### VM INTERACTION END ###
[  330s] /var/run/obs/worker/2/build/build-vm: line 458: kill: (6499) - No such 
process
[  330s] No buildstatus set, either the base system is broken 
(kernel/initrd/udev/glibc/bash/perl)
[  330s] or the build host has a kernel or hardware problem...

gave up after 11 failed build attempts...

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


Jenkins build is back to normal : master-osmo-sgsn » --enable-iu,a2=default,a3=default,osmocom-master-debian9 #3005

2018-05-15 Thread jenkins
See 




Jenkins build is back to normal : master-osmo-pcu » v2017.01,osmocom-master-debian9,lc15,True #473

2018-05-15 Thread jenkins
See 




Jenkins build is back to normal : master-osmo-sgsn » --disable-iu,a2=default,a3=default,osmocom-master-debian9 #3005

2018-05-15 Thread jenkins
See 




Build failure of network:osmocom:nightly/osmo-mgw in Debian_9.0/aarch64

2018-05-15 Thread OBS Notification
Visit 
https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/osmo-mgw/Debian_9.0/aarch64

Package network:osmocom:nightly/osmo-mgw failed to build in Debian_9.0/aarch64

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

Last lines of build log:
[  265s] [  243.424762] dracut-initqueue[478]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  266s] [  244.075449] dracut-initqueue[478]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  267s] [  244.724733] dracut-initqueue[478]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  267s] [  245.395410] dracut-initqueue[478]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  268s] [  246.014873] dracut-initqueue[478]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  268s] [  246.021721] dracut-initqueue[478]: Warning: Could not boot.
[  268s]  Starting Setup Virtual Console...
[  268s] [  OK  ] Started Setup Virtual Console.
[  268s]  Starting Dracut Emergency Shell...
[  268s] Warning: /dev/disk/by-uuid/00750419-b769-40be-aa7a-a81dca13c577 does 
not exist
[  268s] 
[  268s] Generating "/run/initramfs/rdsosreport.txt"
[  268s] 
[  268s] 
[  268s] Entering emergency mode. Exit the shell to continue.
[  268s] Type "journalctl" to view system logs.
[  268s] You might want to save "/run/initramfs/rdsosreport.txt" to a USB stick 
or /boot
[  268s] after mounting them and attach it to a bug report.
[  268s] 
[  268s] 
[  327s] dracut:/# ### WATCHDOG TRIGGERED, KILLING VM ###
[  327s] /var/cache/obs/worker/root_12/root: 20669
[  327s] qemu-system-aarch64: terminating on signal 15 from pid 23258 ()
[  327s] ### VM INTERACTION END ###
[  327s] /var/run/obs/worker/12/build/build-vm: line 458: kill: (20660) - No 
such process
[  327s] No buildstatus set, either the base system is broken 
(kernel/initrd/udev/glibc/bash/perl)
[  327s] or the build host has a kernel or hardware problem...

gave up after 12 failed build attempts...

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


Build failure of network:osmocom:nightly/libosmo-sccp in Debian_9.0/aarch64

2018-05-15 Thread OBS Notification
Visit 
https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/libosmo-sccp/Debian_9.0/aarch64

Package network:osmocom:nightly/libosmo-sccp failed to build in 
Debian_9.0/aarch64

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

Last lines of build log:
[   11s] [68/71] preinstalling sysvinit-utils...
[   11s] [69/71] preinstalling e2fsprogs...
[   12s] [70/71] preinstalling sysv-rc...
[   12s] [71/71] preinstalling initscripts...
[   12s] 
[   12s] [1/1] preinstalling libdevmapper1.02.1...
[   12s] copying packages...
[   14s] reordering...cycle: libc6 -> libgcc1
[   14s]   breaking dependency libgcc1 -> libc6
[   14s] cycle: debhelper -> dh-autoreconf
[   14s]   breaking dependency debhelper -> dh-autoreconf
[   14s] cycle: dh-strip-nondeterminism -> debhelper
[   14s]   breaking dependency debhelper -> dh-strip-nondeterminism
[   14s] done
[   14s] objdump: /boot/Image.guest: File format not recognized
[   16s] booting kvm...
[   16s] ### VM INTERACTION START ###
[   16s] /usr/bin/qemu-system-aarch64 -nodefaults -no-reboot -nographic -vga 
none -enable-kvm -cpu host -M virt,gic-version=host -object 
rng-random,filename=/dev/hwrng,id=rng0 -device virtio-rng-device,rng=rng0 
-runas qemu -net none -kernel /boot/Image.guest -initrd /boot/initrd.guest 
-append root=/dev/disk/by-id/virtio-0 rootfstype=ext4 rootflags=noatime panic=1 
quiet no-kvmclock nmi_watchdog=0 rw rd.driver.pre=binfmt_misc elevator=noop 
console=ttyAMA0 init=/.build/build -m 2048 -drive 
file=/var/cache/obs/worker/root_3/root,format=raw,if=none,id=disk,serial=0,cache=unsafe
 -device virtio-blk-device,drive=disk -drive 
file=/var/cache/obs/worker/root_3/swap,format=raw,if=none,id=swap,serial=1,cache=unsafe
 -device virtio-blk-device,drive=swap -serial stdio -chardev 
socket,id=monitor,server,nowait,path=/var/cache/obs/worker/root_3/root.qemu/monitor
 -mon chardev=monitor,mode=readline -smp 4
[   16s] qemu-system-aarch64: -drive 
file=/var/cache/obs/worker/root_3/root,format=raw,if=none,id=disk,serial=0,cache=unsafe:
 'serial' is deprecated, please use the corresponding option of '-device' 
instead
[   16s] qemu-system-aarch64: -drive 
file=/var/cache/obs/worker/root_3/swap,format=raw,if=none,id=swap,serial=1,cache=unsafe:
 'serial' is deprecated, please use the corresponding option of '-device' 
instead
[  322s] ### WATCHDOG TRIGGERED, KILLING VM ###
[  322s] /var/cache/obs/worker/root_3/root:  9753
[  322s] qemu-system-aarch64: terminating on signal 15 from pid 11020 ()
[  322s] ### VM INTERACTION END ###
[  322s] /var/run/obs/worker/3/build/build-vm: line 458: kill: (9739) - No such 
process
[  322s] No buildstatus set, either the base system is broken 
(kernel/initrd/udev/glibc/bash/perl)
[  322s] or the build host has a kernel or hardware problem...

gave up after 11 failed build attempts...

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


Build failure of network:osmocom:nightly/osmo-hlr in Debian_9.0/aarch64

2018-05-15 Thread OBS Notification
Visit 
https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/osmo-hlr/Debian_9.0/aarch64

Package network:osmocom:nightly/osmo-hlr failed to build in Debian_9.0/aarch64

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

Last lines of build log:
[  267s] [  244.154798] dracut-initqueue[460]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  267s] [  244.806003] dracut-initqueue[460]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  268s] [  245.464849] dracut-initqueue[460]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  269s] [  246.105661] dracut-initqueue[460]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  269s] [  246.754893] dracut-initqueue[460]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  269s] [  246.761632] dracut-initqueue[460]: Warning: Could not boot.
[  269s]  Starting Setup Virtual Console...
[  269s] [  OK  ] Started Setup Virtual Console.
[  269s]  Starting Dracut Emergency Shell...
[  270s] Warning: /dev/disk/by-uuid/00750419-b769-40be-aa7a-a81dca13c577 does 
not exist
[  270s] 
[  270s] Generating "/run/initramfs/rdsosreport.txt"
[  270s] 
[  270s] 
[  270s] Entering emergency mode. Exit the shell to continue.
[  270s] Type "journalctl" to view system logs.
[  270s] You might want to save "/run/initramfs/rdsosreport.txt" to a USB stick 
or /boot
[  270s] after mounting them and attach it to a bug report.
[  270s] 
[  270s] 
[  328s] dracut:/# ### WATCHDOG TRIGGERED, KILLING VM ###
[  328s] /var/cache/obs/worker/root_6/root: 34508
[  328s] qemu-system-aarch64: terminating on signal 15 from pid 8586 ()
[  328s] ### VM INTERACTION END ###
[  328s] /var/run/obs/worker/6/build/build-vm: line 458: kill: (34501) - No 
such process
[  328s] No buildstatus set, either the base system is broken 
(kernel/initrd/udev/glibc/bash/perl)
[  328s] or the build host has a kernel or hardware problem...

gave up after 10 failed build attempts...

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


Jenkins build is back to normal : master-osmo-msc » --enable-iu,a2=default,a3=default,osmocom-master-debian9 #3415

2018-05-15 Thread jenkins
See 




Jenkins build is back to normal : master-osmo-msc » --disable-iu,a2=default,a3=default,osmocom-master-debian9 #3415

2018-05-15 Thread jenkins
See 




Build failure of network:osmocom:nightly/osmo-bts in Debian_9.0/aarch64

2018-05-15 Thread OBS Notification
Visit 
https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/osmo-bts/Debian_9.0/aarch64

Package network:osmocom:nightly/osmo-bts failed to build in Debian_9.0/aarch64

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

Last lines of build log:
[***   ] A start job is running for 
dev-disk...2d0.device (4min 58s / no limit)
[**] A start job is running for 
dev-disk...2d0.device (4min 59s / no limit)
[* ] A start job is running for dev-disk...2d0.device 
(4min 59s / no limit)
[**] A start job is running for 
dev-disk...io\x2d0.device (5min / no limit)
[***   ] A start job is running for 
dev-disk...io\x2d0.device (5min / no limit)
[ ***  ] A start job is running for 
dev-disk...x2d0.device (5min 1s / no limit)
[  *** ] A start job is running for 
dev-disk...x2d0.device (5min 1s / no limit)
[   ***] A start job is running for 
dev-disk...x2d0.device (5min 2s / no limit)
[**] A start job is running for 
dev-disk...x2d0.device (5min 2s / no limit)
[ *] A start job is running for dev-disk...x2d0.device (5min 
3s / no limit)
[**] A start job is running for 
dev-disk...x2d0.device (5min 3s / no limit)
[   ***] A start job is running for 
dev-disk...x2d0.device (5min 4s / no limit)
[  *** ] A start job is running for 
dev-disk...x2d0.device (5min 4s / no limit)
[ ***  ] A start job is running for 
dev-disk...x2d0.device (5min 5s / no limit)
[***   ] A start job is running for 
dev-disk...x2d0.device (5min 5s / no limit)
[**] A start job is running for 
dev-disk...x2d0.device (5min 6s / no limit)
[* ] A start job is running for dev-disk...x2d0.device 
(5min 6s / no limit)
[**] A start job is running for 
dev-disk...x2d0.device (5min 7s / no limit)
[***   ] A start job is running for 
dev-disk...x2d0.device (5min 7s / no limit)
[ ***  ] A start job is running for 
dev-disk...x2d0.device (5min 8s / no limit)
[  *** ] A start job is running for 
dev-disk...x2d0.device (5min 8s / no limit)### WATCHDOG TRIGGERED, KILLING VM 
###
[  321s] /var/cache/obs/worker/root_2/root: 17783
[  321s] qemu-system-aarch64: terminating on signal 15 from pid 21356
[  321s] ### VM INTERACTION END ###
[  321s] /var/run/obs/worker/2/build/build-vm: line 458: kill: (17776) - No 
such process
[  321s] No buildstatus set, either the base system is broken 
(kernel/initrd/udev/glibc/bash/perl)
[  321s] or the build host has a kernel or hardware problem...

gave up after 11 failed build attempts...

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


Build failed in Jenkins: master-rtl-sdr » a1=default,a2=default,a3=default,osmocom-master-debian9 #35

2018-05-15 Thread jenkins
See 


--
[...truncated 93.29 KB...]
make[2]: Nothing to be done for 'dvi'.
make[2]: Leaving directory 
'
Making dvi in src
make[2]: Entering directory 
'
make[2]: Nothing to be done for 'dvi'.
make[2]: Leaving directory 
'
make[2]: Entering directory 
'
make[2]: Nothing to be done for 'dvi-am'.
make[2]: Leaving directory 
'
make[1]: Leaving directory 
'
make[1]: Entering directory 
'
make  check-recursive
make[2]: Entering directory 
'
Making check in include
make[3]: Entering directory 
'
make[3]: Nothing to be done for 'check'.
make[3]: Leaving directory 
'
Making check in src
make[3]: Entering directory 
'
make[3]: Nothing to be done for 'check'.
make[3]: Leaving directory 
'
make[3]: Entering directory 
'
make[3]: Leaving directory 
'
make[2]: Leaving directory 
'
make[1]: Leaving directory 
'
make[1]: Entering directory 
'
make  install-recursive
make[2]: Entering directory 
'
Making install in include
make[3]: Entering directory 
'
make[4]: Entering directory 
'
make[4]: Nothing to be done for 'install-exec-am'.
 /bin/mkdir -p 
'
 /usr/bin/install -c -m 644 ../../../include/rtl-sdr.h 
../../../include/rtl-sdr_export.h 
'
make[4]: Leaving directory 

Build failure of network:osmocom:nightly/libosmo-netif in Debian_9.0/aarch64

2018-05-15 Thread OBS Notification
Visit 
https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/libosmo-netif/Debian_9.0/aarch64

Package network:osmocom:nightly/libosmo-netif failed to build in 
Debian_9.0/aarch64

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

Last lines of build log:
[  325s] [  292.476070] dracut-initqueue[453]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  325s] [  293.178353] dracut-initqueue[453]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  326s] [  293.811246] dracut-initqueue[453]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  327s] [  294.467101] dracut-initqueue[453]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  327s] [  295.156317] dracut-initqueue[453]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  327s] [  295.163883] dracut-initqueue[453]: Warning: Could not boot.
[  327s]  Starting Setup Virtual Console...
[  327s] [  OK  ] Started Setup Virtual Console.
[  327s]  Starting Dracut Emergency Shell...
[  328s] Warning: /dev/disk/by-uuid/00750419-b769-40be-aa7a-a81dca13c577 does 
not exist
[  328s] 
[  328s] Generating "/run/initramfs/rdsosreport.txt"
[  328s] 
[  328s] 
[  328s] Entering emergency mode. Exit the shell to continue.
[  328s] Type "journalctl" to view system logs.
[  328s] You might want to save "/run/initramfs/rdsosreport.txt" to a USB stick 
or /boot
[  328s] after mounting them and attach it to a bug report.
[  328s] 
[  328s] 
[  331s] dracut:/# ### WATCHDOG TRIGGERED, KILLING VM ###
[  332s] /var/cache/obs/worker/root_19/root:  6943
[  332s] qemu-system-aarch64: terminating on signal 15 from pid 15548 ()
[  332s] ### VM INTERACTION END ###
[  332s] /var/run/obs/worker/19/build/build-vm: line 458: kill: (6935) - No 
such process
[  332s] No buildstatus set, either the base system is broken 
(kernel/initrd/udev/glibc/bash/perl)
[  332s] or the build host has a kernel or hardware problem...

gave up after 11 failed build attempts...

-- 
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_9.0/aarch64

2018-05-15 Thread OBS Notification
Visit 
https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/osmo-trx/Debian_9.0/aarch64

Package network:osmocom:nightly/osmo-trx failed to build in Debian_9.0/aarch64

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

Last lines of build log:
[**] A start job is running for 
dev-disk...2d0.device (4min 53s / no limit)
[ *] A start job is running for dev-disk...2d0.device (4min 
53s / no limit)
[**] A start job is running for 
dev-disk...2d0.device (4min 54s / no limit)
[   ***] A start job is running for 
dev-disk...2d0.device (4min 54s / no limit)
[  *** ] A start job is running for 
dev-disk...2d0.device (4min 55s / no limit)
[ ***  ] A start job is running for 
dev-disk...2d0.device (4min 55s / no limit)
[***   ] A start job is running for 
dev-disk...2d0.device (4min 56s / no limit)
[**] A start job is running for 
dev-disk...2d0.device (4min 56s / no limit)
[* ] A start job is running for dev-disk...2d0.device 
(4min 57s / no limit)
[**] A start job is running for 
dev-disk...2d0.device (4min 57s / no limit)
[***   ] A start job is running for 
dev-disk...2d0.device (4min 58s / no limit)
[ ***  ] A start job is running for 
dev-disk...2d0.device (4min 58s / no limit)
[  *** ] A start job is running for 
dev-disk...2d0.device (4min 59s / no limit)
[   ***] A start job is running for 
dev-disk...2d0.device (4min 59s / no limit)
[**] A start job is running for 
dev-disk...io\x2d0.device (5min / no limit)
[ *] A start job is running for dev-disk...io\x2d0.device 
(5min / no limit)
[**] A start job is running for 
dev-disk...x2d0.device (5min 1s / no limit)
[   ***] A start job is running for 
dev-disk...x2d0.device (5min 1s / no limit)
[  *** ] A start job is running for 
dev-disk...x2d0.device (5min 2s / no limit)
[ ***  ] A start job is running for 
dev-disk...x2d0.device (5min 2s / no limit)
[***   ] A start job is running for 
dev-disk...x2d0.device (5min 3s / no limit)### WATCHDOG TRIGGERED, KILLING VM 
###
[  317s] /var/cache/obs/worker/root_3/root: 23429
[  317s] qemu-system-aarch64: terminating on signal 15 from pid 24766
[  317s] ### VM INTERACTION END ###
[  317s] /var/run/obs/worker/3/build/build-vm: line 458: kill: (23422) - No 
such process
[  317s] No buildstatus set, either the base system is broken 
(kernel/initrd/udev/glibc/bash/perl)
[  317s] or the build host has a kernel or hardware problem...

gave up after 11 failed build attempts...

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


Build failure of network:osmocom:nightly/osmo-pcap in Debian_9.0/aarch64

2018-05-15 Thread OBS Notification
Visit 
https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/osmo-pcap/Debian_9.0/aarch64

Package network:osmocom:nightly/osmo-pcap failed to build in Debian_9.0/aarch64

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

Last lines of build log:
[  269s] [  245.415161] dracut-initqueue[463]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  270s] [  246.075638] dracut-initqueue[463]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  271s] [  246.714958] dracut-initqueue[463]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  271s] [  247.365762] dracut-initqueue[463]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  272s] [  248.015063] dracut-initqueue[463]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  272s] [  248.021956] dracut-initqueue[463]: Warning: Could not boot.
[  272s]  Starting Setup Virtual Console...
[  272s] [  OK  ] Started Setup Virtual Console.
[  272s]  Starting Dracut Emergency Shell...
[  272s] Warning: /dev/disk/by-uuid/00750419-b769-40be-aa7a-a81dca13c577 does 
not exist
[  272s] 
[  272s] Generating "/run/initramfs/rdsosreport.txt"
[  272s] 
[  272s] 
[  272s] Entering emergency mode. Exit the shell to continue.
[  272s] Type "journalctl" to view system logs.
[  272s] You might want to save "/run/initramfs/rdsosreport.txt" to a USB stick 
or /boot
[  272s] after mounting them and attach it to a bug report.
[  272s] 
[  272s] 
[  329s] dracut:/# ### WATCHDOG TRIGGERED, KILLING VM ###
[  330s] /var/cache/obs/worker/root_12/root: 23435
[  330s] qemu-system-aarch64: terminating on signal 15 from pid 41388 ()
[  330s] ### VM INTERACTION END ###
[  330s] /var/run/obs/worker/12/build/build-vm: line 458: kill: (23417) - No 
such process
[  330s] No buildstatus set, either the base system is broken 
(kernel/initrd/udev/glibc/bash/perl)
[  330s] or the build host has a kernel or hardware problem...

gave up after 12 failed build attempts...

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


Build failure of network:osmocom:nightly/osmo-pcu in Debian_9.0/aarch64

2018-05-15 Thread OBS Notification
Visit 
https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/osmo-pcu/Debian_9.0/aarch64

Package network:osmocom:nightly/osmo-pcu failed to build in Debian_9.0/aarch64

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

Last lines of build log:
[  267s] [  244.675027] dracut-initqueue[460]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  268s] [  245.325597] dracut-initqueue[460]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  268s] [  245.964961] dracut-initqueue[460]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  269s] [  246.645519] dracut-initqueue[460]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  270s] [  247.294996] dracut-initqueue[460]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  270s] [  247.301922] dracut-initqueue[460]: Warning: Could not boot.
[  270s]  Starting Setup Virtual Console...
[  270s] [  OK  ] Started Setup Virtual Console.
[  270s]  Starting Dracut Emergency Shell...
[  270s] Warning: /dev/disk/by-uuid/00750419-b769-40be-aa7a-a81dca13c577 does 
not exist
[  270s] 
[  270s] Generating "/run/initramfs/rdsosreport.txt"
[  270s] 
[  270s] 
[  270s] Entering emergency mode. Exit the shell to continue.
[  270s] Type "journalctl" to view system logs.
[  270s] You might want to save "/run/initramfs/rdsosreport.txt" to a USB stick 
or /boot
[  270s] after mounting them and attach it to a bug report.
[  270s] 
[  270s] 
[  332s] dracut:/# ### WATCHDOG TRIGGERED, KILLING VM ###
[  333s] /var/cache/obs/worker/root_22/root: 14615
[  333s] qemu-system-aarch64: terminating on signal 15 from pid 47232 ()
[  333s] ### VM INTERACTION END ###
[  333s] /var/run/obs/worker/22/build/build-vm: line 458: kill: (14608) - No 
such process
[  333s] No buildstatus set, either the base system is broken 
(kernel/initrd/udev/glibc/bash/perl)
[  333s] or the build host has a kernel or hardware problem...

gave up after 11 failed build attempts...

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


Build failure of network:osmocom:nightly/libosmo-abis in Debian_9.0/aarch64

2018-05-15 Thread OBS Notification
Visit 
https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/libosmo-abis/Debian_9.0/aarch64

Package network:osmocom:nightly/libosmo-abis failed to build in 
Debian_9.0/aarch64

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

Last lines of build log:
[  265s] [  243.464979] dracut-initqueue[467]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  266s] [  244.105497] dracut-initqueue[467]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  267s] [  244.744916] dracut-initqueue[467]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  267s] [  245.375436] dracut-initqueue[467]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  268s] [  246.014909] dracut-initqueue[467]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  268s] [  246.021674] dracut-initqueue[467]: Warning: Could not boot.
[  268s]  Starting Setup Virtual Console...
[  268s] [  OK  ] Started Setup Virtual Console.
[  268s]  Starting Dracut Emergency Shell...
[  268s] Warning: /dev/disk/by-uuid/00750419-b769-40be-aa7a-a81dca13c577 does 
not exist
[  268s] 
[  268s] Generating "/run/initramfs/rdsosreport.txt"
[  268s] 
[  268s] 
[  268s] Entering emergency mode. Exit the shell to continue.
[  268s] Type "journalctl" to view system logs.
[  268s] You might want to save "/run/initramfs/rdsosreport.txt" to a USB stick 
or /boot
[  268s] after mounting them and attach it to a bug report.
[  268s] 
[  268s] 
[  327s] dracut:/# ### WATCHDOG TRIGGERED, KILLING VM ###
[  327s] /var/cache/obs/worker/root_25/root: 13498
[  327s] qemu-system-aarch64: terminating on signal 15 from pid 45522 ()
[  327s] ### VM INTERACTION END ###
[  327s] /var/run/obs/worker/25/build/build-vm: line 458: kill: (13491) - No 
such process
[  327s] No buildstatus set, either the base system is broken 
(kernel/initrd/udev/glibc/bash/perl)
[  327s] or the build host has a kernel or hardware problem...

gave up after 11 failed build attempts...

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


Build failure of network:osmocom:nightly/osmo-ggsn in Debian_9.0/aarch64

2018-05-15 Thread OBS Notification
Visit 
https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/osmo-ggsn/Debian_9.0/aarch64

Package network:osmocom:nightly/osmo-ggsn failed to build in Debian_9.0/aarch64

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

Last lines of build log:
[  267s] [  244.725002] dracut-initqueue[463]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  267s] [  245.355528] dracut-initqueue[463]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  268s] [  246.014805] dracut-initqueue[463]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  269s] [  246.665457] dracut-initqueue[463]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  269s] [  247.325027] dracut-initqueue[463]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  269s] [  247.331831] dracut-initqueue[463]: Warning: Could not boot.
[  269s]  Starting Setup Virtual Console...
[  269s] [  OK  ] Started Setup Virtual Console.
[  269s]  Starting Dracut Emergency Shell...
[  269s] Warning: /dev/disk/by-uuid/00750419-b769-40be-aa7a-a81dca13c577 does 
not exist
[  269s] 
[  269s] Generating "/run/initramfs/rdsosreport.txt"
[  270s] 
[  270s] 
[  270s] Entering emergency mode. Exit the shell to continue.
[  270s] Type "journalctl" to view system logs.
[  270s] You might want to save "/run/initramfs/rdsosreport.txt" to a USB stick 
or /boot
[  270s] after mounting them and attach it to a bug report.
[  270s] 
[  270s] 
[  327s] dracut:/# ### WATCHDOG TRIGGERED, KILLING VM ###
[  327s] /var/cache/obs/worker/root_9/root: 10470
[  327s] qemu-system-aarch64: terminating on signal 15 from pid 30585 ()
[  328s] ### VM INTERACTION END ###
[  328s] /var/run/obs/worker/9/build/build-vm: line 458: kill: (10463) - No 
such process
[  328s] No buildstatus set, either the base system is broken 
(kernel/initrd/udev/glibc/bash/perl)
[  328s] or the build host has a kernel or hardware problem...

gave up after 11 failed build attempts...

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


Build failure of network:osmocom:nightly/osmo-sip-connector in Debian_9.0/aarch64

2018-05-15 Thread OBS Notification
Visit 
https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/osmo-sip-connector/Debian_9.0/aarch64

Package network:osmocom:nightly/osmo-sip-connector failed to build in 
Debian_9.0/aarch64

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

Last lines of build log:
[  267s] [  244.324947] dracut-initqueue[466]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  268s] [  244.985627] dracut-initqueue[466]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  268s] [  245.644920] dracut-initqueue[466]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  269s] [  246.295663] dracut-initqueue[466]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  270s] [  246.945016] dracut-initqueue[466]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  270s] [  246.951976] dracut-initqueue[466]: Warning: Could not boot.
[  270s]  Starting Setup Virtual Console...
[  270s] [  OK  ] Started Setup Virtual Console.
[  270s]  Starting Dracut Emergency Shell...
[  270s] Warning: /dev/disk/by-uuid/00750419-b769-40be-aa7a-a81dca13c577 does 
not exist
[  270s] 
[  270s] Generating "/run/initramfs/rdsosreport.txt"
[  270s] 
[  270s] 
[  270s] Entering emergency mode. Exit the shell to continue.
[  270s] Type "journalctl" to view system logs.
[  270s] You might want to save "/run/initramfs/rdsosreport.txt" to a USB stick 
or /boot
[  270s] after mounting them and attach it to a bug report.
[  270s] 
[  270s] 
[  328s] dracut:/# ### WATCHDOG TRIGGERED, KILLING VM ###
[  328s] /var/cache/obs/worker/root_29/root: 49011
[  328s] qemu-system-aarch64: terminating on signal 15 from pid 21172 ()
[  328s] ### VM INTERACTION END ###
[  328s] /var/run/obs/worker/29/build/build-vm: line 458: kill: (49004) - No 
such process
[  328s] No buildstatus set, either the base system is broken 
(kernel/initrd/udev/glibc/bash/perl)
[  328s] or the build host has a kernel or hardware problem...

gave up after 10 failed build attempts...

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


Jenkins build is back to normal : master-osmo-sgsn » --enable-iu,a2=default,a3=default,osmocom-master-debian9 #3002

2018-05-15 Thread jenkins
See 




Build failure of network:osmocom:nightly/libgtpnl in Debian_9.0/aarch64

2018-05-15 Thread OBS Notification
Visit 
https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/libgtpnl/Debian_9.0/aarch64

Package network:osmocom:nightly/libgtpnl failed to build in Debian_9.0/aarch64

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

Last lines of build log:
[  270s] [  245.325504] dracut-initqueue[471]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  271s] [  245.995970] dracut-initqueue[471]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  272s] [  246.655424] dracut-initqueue[471]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  272s] [  247.296057] dracut-initqueue[471]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  273s] [  247.954062] dracut-initqueue[471]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  273s] [  247.961045] dracut-initqueue[471]: Warning: Could not boot.
[  273s]  Starting Setup Virtual Console...
[  273s] [  OK  ] Started Setup Virtual Console.
[  273s]  Starting Dracut Emergency Shell...
[  273s] Warning: /dev/disk/by-uuid/00750419-b769-40be-aa7a-a81dca13c577 does 
not exist
[  273s] 
[  273s] Generating "/run/initramfs/rdsosreport.txt"
[  273s] 
[  273s] 
[  273s] Entering emergency mode. Exit the shell to continue.
[  273s] Type "journalctl" to view system logs.
[  273s] You might want to save "/run/initramfs/rdsosreport.txt" to a USB stick 
or /boot
[  273s] after mounting them and attach it to a bug report.
[  273s] 
[  273s] 
[  330s] dracut:/# ### WATCHDOG TRIGGERED, KILLING VM ###
[  331s] /var/cache/obs/worker/root_20/root: 26684
[  331s] qemu-system-aarch64: terminating on signal 15 from pid 14469 ()
[  331s] ### VM INTERACTION END ###
[  331s] /var/run/obs/worker/20/build/build-vm: line 458: kill: (26675) - No 
such process
[  331s] No buildstatus set, either the base system is broken 
(kernel/initrd/udev/glibc/bash/perl)
[  331s] or the build host has a kernel or hardware problem...

gave up after 12 failed build attempts...

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


Change in osmo-bsc[master]: bsc_api.c: actually log with context

2018-05-15 Thread Harald Welte
Harald Welte has posted comments on this change. ( 
https://gerrit.osmocom.org/7996 )

Change subject: bsc_api.c: actually log with context
..


Patch Set 1: Code-Review+2

(1 comment)

https://gerrit.osmocom.org/#/c/7996/1/src/libbsc/bsc_api.c
File src/libbsc/bsc_api.c:

https://gerrit.osmocom.org/#/c/7996/1/src/libbsc/bsc_api.c@47
PS1, Line 47: #define LOGPLCHAN(lchan, ss, level, fmt, args...) \
I think this should go in a header file so it can be used from more code



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

Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: If469defcc6fe8950dac5df61db3f39d297893318
Gerrit-Change-Number: 7996
Gerrit-PatchSet: 1
Gerrit-Owner: Neels Hofmeyr 
Gerrit-Reviewer: Harald Welte 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Comment-Date: Tue, 15 May 2018 20:59:26 +
Gerrit-HasComments: Yes
Gerrit-HasLabels: Yes


Change in osmo-bts[master]: let osmo-bts log a special notice if OML connection is closed early

2018-05-15 Thread Harald Welte
Harald Welte has submitted this change and it was merged. ( 
https://gerrit.osmocom.org/8056 )

Change subject: let osmo-bts log a special notice if OML connection is closed 
early
..

let osmo-bts log a special notice if OML connection is closed early

A frequent configuration file error is that the unit_id settings of
osmo-bts and osmo-bsc don't match. The BSC already prints an error
in this case. Let the BTS print an error as well.

We use a heuristic for this purpose: If the OML link is dropped within
10 seconds after being established, log a special warning which alerts
the user and recommend a manual configuration file check.

Change-Id: I476ac797458b5a46edea3ae9cfbd491fd7f77f47
Related: OS#3143
---
M include/osmo-bts/gsm_data_shared.h
M src/common/abis.c
2 files changed, 23 insertions(+), 1 deletion(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/include/osmo-bts/gsm_data_shared.h 
b/include/osmo-bts/gsm_data_shared.h
index 812d086..81cac3e 100644
--- a/include/osmo-bts/gsm_data_shared.h
+++ b/include/osmo-bts/gsm_data_shared.h
@@ -514,6 +514,10 @@
uint8_t initial_mcs;
 };

+/* The amount of time within which a sudden disconnect of a newly established
+ * OML connection will cause a special warning to be logged. */
+#define OSMO_BTS_OML_CONN_EARLY_DISCONNECT 10   /* in seconds */
+
 /* One BTS */
 struct gsm_bts {
/* list header in net->bts_list */
@@ -552,6 +556,7 @@
/* how do we talk OML with this TRX? */
uint8_t oml_tei;
struct e1inp_sign_link *oml_link;
+   struct timespec oml_conn_established_timestamp;

/* Abis network management O handle */
struct abis_nm_h *nmh;
diff --git a/src/common/abis.c b/src/common/abis.c
index 6aa2f1d..21240b8 100644
--- a/src/common/abis.c
+++ b/src/common/abis.c
@@ -31,6 +31,7 @@
 #include 
 #include 
 #include 
+#include 

 #include 
 #include 
@@ -108,6 +109,9 @@
sign_link = g_bts->oml_link =
e1inp_sign_link_create(>ts[E1INP_SIGN_OML-1],
E1INP_SIGN_OML, NULL, 255, 0);
+   if (clock_gettime(CLOCK_MONOTONIC, 
_bts->oml_conn_established_timestamp) != 0)
+   memset(_bts->oml_conn_established_timestamp, 0,
+  sizeof(g_bts->oml_conn_established_timestamp));
drain_oml_queue(g_bts);
sign_link->trx = g_bts->c0;
bts_link_estab(g_bts);
@@ -140,9 +144,22 @@
LOGP(DABIS, LOGL_ERROR, "Signalling link down\n");

/* First remove the OML signalling link */
-   if (g_bts->oml_link)
+   if (g_bts->oml_link) {
+   struct timespec now;
+
e1inp_sign_link_destroy(g_bts->oml_link);
+
+   /* Log a special notice if the OML connection was dropped 
relatively quickly. */
+   if (g_bts->oml_conn_established_timestamp.tv_sec != 0 && 
clock_gettime(CLOCK_MONOTONIC, ) == 0 &&
+   g_bts->oml_conn_established_timestamp.tv_sec + 
OSMO_BTS_OML_CONN_EARLY_DISCONNECT >= now.tv_sec) {
+   LOGP(DABIS, LOGL_FATAL, "OML link was closed early 
within %" PRIu64 " seconds. "
+   "If this situation persists, please check your BTS and 
BSC configuration files for errors. "
+   "A common error is a mismatch between unit_id 
configuration parameters of BTS and BSC.\n",
+   (uint64_t)(now.tv_sec - 
g_bts->oml_conn_established_timestamp.tv_sec));
+   }
+   }
g_bts->oml_link = NULL;
+   memset(_bts->oml_conn_established_timestamp, 0, 
sizeof(g_bts->oml_conn_established_timestamp));

/* Then iterate over the RSL signalling links */
llist_for_each_entry(trx, _bts->trx_list, list) {

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

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I476ac797458b5a46edea3ae9cfbd491fd7f77f47
Gerrit-Change-Number: 8056
Gerrit-PatchSet: 4
Gerrit-Owner: Stefan Sperling 
Gerrit-Reviewer: Harald Welte 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Stefan Sperling 


Change in libosmocore[master]: fix spelling

2018-05-15 Thread Harald Welte
Harald Welte has submitted this change and it was merged. ( 
https://gerrit.osmocom.org/9166 )

Change subject: fix spelling
..

fix spelling

Change-Id: I3ac92217f83279d5f987ab34eb18b2e6cb1c7812
---
M include/osmocom/gsm/protocol/gsm_08_08.h
M src/gsm/gsm0808.c
2 files changed, 4 insertions(+), 4 deletions(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/include/osmocom/gsm/protocol/gsm_08_08.h 
b/include/osmocom/gsm/protocol/gsm_08_08.h
index 5d2864f..b699080 100644
--- a/include/osmocom/gsm/protocol/gsm_08_08.h
+++ b/include/osmocom/gsm/protocol/gsm_08_08.h
@@ -316,7 +316,7 @@
GSM0808_CAUSE_REDUCE_LOAD_IN_SERVING_CELL   = 0x10,
GSM0808_CAUSE_TRAFFIC_LOAD_IN_TGT_HIGHER_THAN_IN_SRC_CELL   = 0x11,
GSM0808_CAUSE_RELOCATION_TRIGGERED  = 0x12,
-   GSM0808_CAUSE_REQUSTED_OPT_NOT_AUTHORISED   = 0x14,
+   GSM0808_CAUSE_REQUESTED_OPT_NOT_AUTHORISED  = 0x14,
GSM0808_CAUSE_ALT_CHAN_CONFIG_REQUESTED = 0x15,
GSM0808_CAUSE_RESP_TO_INT_HO_ENQ_MSG= 0x16,
GSM0808_CAUSE_INT_HO_ENQUIRY_REJECT = 0x17,
@@ -358,7 +358,7 @@
GSM0808_CAUSE_DTM_HO_INVALID_PS_IND = 0x56,
GSM0808_CAUSE_CALL_ID_ALREADY_ALLOC = 0x57,
GSM0808_CAUSE_PROTOCOL_ERROR_BETWEEN_BSS_AND_MSC= 96,
-   GSM0808_CAUSE_VGCS_VBS_CALL_NON_EXISTANT= 0x61,
+   GSM0808_CAUSE_VGCS_VBS_CALL_NON_EXISTENT= 0x61,
GSM0808_CAUSE_DTM_HO_TIMER_EXPIRY   = 0x62,
 };

diff --git a/src/gsm/gsm0808.c b/src/gsm/gsm0808.c
index e6a581c..4743175 100644
--- a/src/gsm/gsm0808.c
+++ b/src/gsm/gsm0808.c
@@ -936,7 +936,7 @@
{ GSM0808_CAUSE_REDUCE_LOAD_IN_SERVING_CELL, "REDUCE LOAD IN SERVING 
CELL" },
{ GSM0808_CAUSE_TRAFFIC_LOAD_IN_TGT_HIGHER_THAN_IN_SRC_CELL, "TRAFFIC 
LOAD IN TGT HIGHER THAN IN SRC CELL" },
{ GSM0808_CAUSE_RELOCATION_TRIGGERED, "RELOCATION TRIGGERED" },
-   { GSM0808_CAUSE_REQUSTED_OPT_NOT_AUTHORISED, "REQUSTED OPT NOT 
AUTHORISED" },
+   { GSM0808_CAUSE_REQUESTED_OPT_NOT_AUTHORISED, "REQUESTED OPT NOT 
AUTHORISED" },
{ GSM0808_CAUSE_ALT_CHAN_CONFIG_REQUESTED, "ALT CHAN CONFIG REQUESTED" 
},
{ GSM0808_CAUSE_RESP_TO_INT_HO_ENQ_MSG, "RESP TO INT HO ENQ MSG" },
{ GSM0808_CAUSE_INT_HO_ENQUIRY_REJECT, "INT HO ENQUIRY REJECT" },
@@ -978,7 +978,7 @@
{ GSM0808_CAUSE_DTM_HO_INVALID_PS_IND, "DTM HO INVALID PS IND" },
{ GSM0808_CAUSE_CALL_ID_ALREADY_ALLOC, "CALL ID ALREADY ALLOC" },
{ GSM0808_CAUSE_PROTOCOL_ERROR_BETWEEN_BSS_AND_MSC, "PROTOCOL ERROR 
BETWEEN BSS AND MSC" },
-   { GSM0808_CAUSE_VGCS_VBS_CALL_NON_EXISTANT, "VGCS VBS CALL NON 
EXISTANT" },
+   { GSM0808_CAUSE_VGCS_VBS_CALL_NON_EXISTENT, "VGCS VBS CALL NON 
EXISTENT" },
{ GSM0808_CAUSE_DTM_HO_TIMER_EXPIRY, "DTM HO TIMER EXPIRY" },
{ 0, NULL }
 };

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

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I3ac92217f83279d5f987ab34eb18b2e6cb1c7812
Gerrit-Change-Number: 9166
Gerrit-PatchSet: 2
Gerrit-Owner: Thorsten Alteholz 
Gerrit-Reviewer: Harald Welte 
Gerrit-Reviewer: Jenkins Builder


Change in osmo-msc[master]: vlr_access_req_fsm: use correct cause codes

2018-05-15 Thread Harald Welte
Harald Welte has posted comments on this change. ( 
https://gerrit.osmocom.org/9169 )

Change subject: vlr_access_req_fsm: use correct cause codes
..


Patch Set 1: Code-Review+1


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

Gerrit-Project: osmo-msc
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ic058c93387f9be9af4940f8961839c02b93ee370
Gerrit-Change-Number: 9169
Gerrit-PatchSet: 1
Gerrit-Owner: dexter 
Gerrit-Reviewer: Harald Welte 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Comment-Date: Tue, 15 May 2018 20:57:24 +
Gerrit-HasComments: No
Gerrit-HasLabels: Yes


Change in osmo-ttcn3-hacks[master]: ttcn3-tcpdump-start.sh: reduce snaplen of tcpdump

2018-05-15 Thread Harald Welte
Harald Welte has submitted this change and it was merged. ( 
https://gerrit.osmocom.org/9176 )

Change subject: ttcn3-tcpdump-start.sh: reduce snaplen of tcpdump
..

ttcn3-tcpdump-start.sh: reduce snaplen of tcpdump

Improve speed of tcpdump startup. -s 0 sets the snaplen is 256k.
tcpdump will request the snaplen multiplied by the buffer as
a contigous buffer in the kernel. This could lead to higher
start time.

Change-Id: I8a372e71798b366faa3b723573c60de6e8fd128f
---
M ttcn3-tcpdump-start.sh
1 file changed, 2 insertions(+), 2 deletions(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/ttcn3-tcpdump-start.sh b/ttcn3-tcpdump-start.sh
index 7321b52..395941d 100755
--- a/ttcn3-tcpdump-start.sh
+++ b/ttcn3-tcpdump-start.sh
@@ -20,7 +20,7 @@
 else
CMD="sudo $TCPDUMP"
 fi
-$CMD -U -s 0 -n -i any -w "$TTCN3_PCAP_PATH/$TESTCASE.pcap" 
>$TTCN3_PCAP_PATH/$TESTCASE.pcap.stdout 2>&1 &
+$CMD -U -s 1500 -n -i any -w "$TTCN3_PCAP_PATH/$TESTCASE.pcap" 
>$TTCN3_PCAP_PATH/$TESTCASE.pcap.stdout 2>&1 &
 PID=$!
 echo $PID > $PIDFILE

@@ -31,7 +31,7 @@
 PID=$!
 i=0
 while [ ! -f "$TTCN3_PCAP_PATH/$TESTCASE.pcap" ] ||
-  [ "$($TCPDUMP -r "$TTCN3_PCAP_PATH/$TESTCASE.pcap" 2>/dev/null | wc -l)" 
-eq 0 ]
+  [ "$(stat -c '%s' "$TTCN3_PCAP_PATH/$TESTCASE.pcap")" -eq 32 ]
 do
echo "Waiting for tcpdump to start... $i"
sleep 1

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

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I8a372e71798b366faa3b723573c60de6e8fd128f
Gerrit-Change-Number: 9176
Gerrit-PatchSet: 2
Gerrit-Owner: lynxis lazus 
Gerrit-Reviewer: Harald Welte 
Gerrit-Reviewer: Jenkins Builder


Change in libosmo-netif[master]: osmux: change log lvl of batch full to debug

2018-05-15 Thread Harald Welte
Harald Welte has posted comments on this change. ( 
https://gerrit.osmocom.org/9173 )

Change subject: osmux: change log lvl of batch full to debug
..


Patch Set 1: Code-Review+2


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

Gerrit-Project: libosmo-netif
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I3d8227f2281f6ca92fd2502d3e328765dc7ecfe9
Gerrit-Change-Number: 9173
Gerrit-PatchSet: 1
Gerrit-Owner: Pau Espin Pedrol 
Gerrit-Reviewer: Harald Welte 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Comment-Date: Tue, 15 May 2018 20:55:27 +
Gerrit-HasComments: No
Gerrit-HasLabels: Yes


Change in osmo-ttcn3-hacks[master]: sgsn: fix a typo in comment

2018-05-15 Thread Harald Welte
Harald Welte has submitted this change and it was merged. ( 
https://gerrit.osmocom.org/9175 )

Change subject: sgsn: fix a typo in comment
..

sgsn: fix a typo in comment

Change-Id: I061aba5af1e466b33472c9f829b982823bcff71e
---
M sgsn/SGSN_Tests.ttcn
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/sgsn/SGSN_Tests.ttcn b/sgsn/SGSN_Tests.ttcn
index 0b439ec..e1d35c5 100644
--- a/sgsn/SGSN_Tests.ttcn
+++ b/sgsn/SGSN_Tests.ttcn
@@ -460,7 +460,7 @@

BSSGP.send(attach_req);
f_gmm_auth(umts_aka_challenge, force_gsm_sres);
-   /* Expect MSC to perform LU with HLR */
+   /* Expect SGSN to perform LU with HLR */
f_gmm_gsup_lu_isd();

BSSGP.receive(tr_BD_L3_MT(tr_GMM_ATTACH_ACCEPT('001'B, ?, ?))) -> value 
bd {

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

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I061aba5af1e466b33472c9f829b982823bcff71e
Gerrit-Change-Number: 9175
Gerrit-PatchSet: 2
Gerrit-Owner: lynxis lazus 
Gerrit-Reviewer: Harald Welte 
Gerrit-Reviewer: Jenkins Builder


Change in osmo-ttcn3-hacks[master]: sgsn: fix a typo in comment

2018-05-15 Thread Harald Welte
Harald Welte has posted comments on this change. ( 
https://gerrit.osmocom.org/9175 )

Change subject: sgsn: fix a typo in comment
..


Patch Set 1: Code-Review+2


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

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I061aba5af1e466b33472c9f829b982823bcff71e
Gerrit-Change-Number: 9175
Gerrit-PatchSet: 1
Gerrit-Owner: lynxis lazus 
Gerrit-Reviewer: Harald Welte 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Comment-Date: Tue, 15 May 2018 20:54:36 +
Gerrit-HasComments: No
Gerrit-HasLabels: Yes


Change in osmo-ttcn3-hacks[master]: sgsn: fix RAU_ATTACH not to interact with following testes

2018-05-15 Thread Harald Welte
Harald Welte has posted comments on this change. ( 
https://gerrit.osmocom.org/9174 )

Change subject: sgsn: fix RAU_ATTACH not to interact with following testes
..


Patch Set 1: Code-Review+2


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

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Idac92bd61ee7145b7542e60c24e0a66b4ff7ddd4
Gerrit-Change-Number: 9174
Gerrit-PatchSet: 1
Gerrit-Owner: lynxis lazus 
Gerrit-Reviewer: Harald Welte 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Comment-Date: Tue, 15 May 2018 20:54:24 +
Gerrit-HasComments: No
Gerrit-HasLabels: Yes


Change in osmo-ttcn3-hacks[master]: sgsn: fix RAU_ATTACH not to interact with following testes

2018-05-15 Thread Harald Welte
Harald Welte has submitted this change and it was merged. ( 
https://gerrit.osmocom.org/9174 )

Change subject: sgsn: fix RAU_ATTACH not to interact with following testes
..

sgsn: fix RAU_ATTACH not to interact with following testes

TC_attach_rau will interact with the following tests, because the sgsn
is continuing sending RAU_ACCEPTs until it timed out or received a
RAU COMPLETE

Change-Id: Idac92bd61ee7145b7542e60c24e0a66b4ff7ddd4
---
M sgsn/SGSN_Tests.ttcn
1 file changed, 1 insertion(+), 0 deletions(-)

Approvals:
  Jenkins Builder: Verified
  Harald Welte: Looks good to me, approved



diff --git a/sgsn/SGSN_Tests.ttcn b/sgsn/SGSN_Tests.ttcn
index adf87f2..0b439ec 100644
--- a/sgsn/SGSN_Tests.ttcn
+++ b/sgsn/SGSN_Tests.ttcn
@@ -753,6 +753,7 @@
alt {
[] BSSGP.receive(tr_BD_L3_MT(tr_GMM_RAU_ACCEPT)) -> value bd {

f_process_rau_accept(bd.l3_mt.msgs.gprs_mm.routingAreaUpdateAccept);
+   BSSGP.send(ts_GMM_RAU_COMPL);
setverdict(pass);
}
[] BSSGP.receive(tr_BD_L3_MT(tr_GMM_RAU_REJECT)) {

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

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Idac92bd61ee7145b7542e60c24e0a66b4ff7ddd4
Gerrit-Change-Number: 9174
Gerrit-PatchSet: 1
Gerrit-Owner: lynxis lazus 
Gerrit-Reviewer: Harald Welte 
Gerrit-Reviewer: Jenkins Builder


Change in osmo-ttcn3-hacks[master]: ttcn3-tcpdump-start.sh: reduce snaplen of tcpdump

2018-05-15 Thread Harald Welte
Harald Welte has posted comments on this change. ( 
https://gerrit.osmocom.org/9176 )

Change subject: ttcn3-tcpdump-start.sh: reduce snaplen of tcpdump
..


Patch Set 1: Code-Review+2


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

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I8a372e71798b366faa3b723573c60de6e8fd128f
Gerrit-Change-Number: 9176
Gerrit-PatchSet: 1
Gerrit-Owner: lynxis lazus 
Gerrit-Reviewer: Harald Welte 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Comment-Date: Tue, 15 May 2018 20:54:09 +
Gerrit-HasComments: No
Gerrit-HasLabels: Yes


Change in osmo-pcu[master]: Fix "left shift of 1 by 31 places cannot be represented in type 'int'...

2018-05-15 Thread Harald Welte
Harald Welte has abandoned this change. ( https://gerrit.osmocom.org/9168 )

Change subject: Fix "left shift of 1 by 31 places cannot be represented in type 
'int'" errors
..


Abandoned

fixed long ago in master
--
To view, visit https://gerrit.osmocom.org/9168
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-MessageType: abandon
Gerrit-Change-Id: I88e92be37caab399fc1d55f07699d601f6ea96c0
Gerrit-Change-Number: 9168
Gerrit-PatchSet: 1
Gerrit-Owner: Harald Welte 
Gerrit-Reviewer: Jenkins Builder


Build failure of network:osmocom:nightly/libusrp in Debian_9.0/aarch64

2018-05-15 Thread OBS Notification
Visit 
https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/libusrp/Debian_9.0/aarch64

Package network:osmocom:nightly/libusrp failed to build in Debian_9.0/aarch64

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

Last lines of build log:
[  275s] [  244.955192] dracut-initqueue[458]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  275s] [  245.625950] dracut-initqueue[458]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  276s] [  246.308013] dracut-initqueue[458]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  277s] [  246.964347] dracut-initqueue[458]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  277s] [  247.585369] dracut-initqueue[458]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  277s] [  247.592522] dracut-initqueue[458]: Warning: Could not boot.
[  277s]  Starting Setup Virtual Console...
[  277s] [  OK  ] Started Setup Virtual Console.
[  277s]  Starting Dracut Emergency Shell...
[  277s] Warning: /dev/disk/by-uuid/00750419-b769-40be-aa7a-a81dca13c577 does 
not exist
[  277s] 
[  277s] Generating "/run/initramfs/rdsosreport.txt"
[  277s] 
[  277s] 
[  277s] Entering emergency mode. Exit the shell to continue.
[  277s] Type "journalctl" to view system logs.
[  277s] You might want to save "/run/initramfs/rdsosreport.txt" to a USB stick 
or /boot
[  277s] after mounting them and attach it to a bug report.
[  277s] 
[  277s] 
[  334s] dracut:/# ### WATCHDOG TRIGGERED, KILLING VM ###
[  335s] /var/cache/obs/worker/root_3/root: 23394
[  335s] qemu-system-aarch64: terminating on signal 15 from pid 1700 ()
[  335s] ### VM INTERACTION END ###
[  335s] /var/run/obs/worker/3/build/build-vm: line 458: kill: (23387) - No 
such process
[  335s] No buildstatus set, either the base system is broken 
(kernel/initrd/udev/glibc/bash/perl)
[  335s] or the build host has a kernel or hardware problem...

gave up after 10 failed build attempts...

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


Build failure of network:osmocom:nightly/libsmpp34 in Debian_9.0/aarch64

2018-05-15 Thread OBS Notification
Visit 
https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/libsmpp34/Debian_9.0/aarch64

Package network:osmocom:nightly/libsmpp34 failed to build in Debian_9.0/aarch64

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

Last lines of build log:
[ *] A start job is running for dev-disk...2d0.device (4min 
55s / no limit)
[**] A start job is running for 
dev-disk...2d0.device (4min 56s / no limit)
[   ***] A start job is running for 
dev-disk...2d0.device (4min 56s / no limit)
[  *** ] A start job is running for 
dev-disk...2d0.device (4min 57s / no limit)
[ ***  ] A start job is running for 
dev-disk...2d0.device (4min 57s / no limit)
[***   ] A start job is running for 
dev-disk...2d0.device (4min 58s / no limit)
[**] A start job is running for 
dev-disk...2d0.device (4min 58s / no limit)
[* ] A start job is running for dev-disk...2d0.device 
(4min 59s / no limit)
[**] A start job is running for 
dev-disk...2d0.device (4min 59s / no limit)
[***   ] A start job is running for 
dev-disk...io\x2d0.device (5min / no limit)
[ ***  ] A start job is running for 
dev-disk...io\x2d0.device (5min / no limit)
[  *** ] A start job is running for 
dev-disk...x2d0.device (5min 1s / no limit)
[   ***] A start job is running for 
dev-disk...x2d0.device (5min 1s / no limit)
[**] A start job is running for 
dev-disk...x2d0.device (5min 2s / no limit)
[ *] A start job is running for dev-disk...x2d0.device (5min 
2s / no limit)
[**] A start job is running for 
dev-disk...x2d0.device (5min 3s / no limit)
[   ***] A start job is running for 
dev-disk...x2d0.device (5min 3s / no limit)
[  *** ] A start job is running for 
dev-disk...x2d0.device (5min 4s / no limit)
[ ***  ] A start job is running for 
dev-disk...x2d0.device (5min 4s / no limit)
[***   ] A start job is running for 
dev-disk...x2d0.device (5min 5s / no limit)
[**] A start job is running for 
dev-disk...x2d0.device (5min 5s / no limit)### WATCHDOG TRIGGERED, KILLING VM 
###
[  336s] /var/cache/obs/worker/root_2/root: 24149
[  336s] qemu-system-aarch64: terminating on signal 15 from pid 25622
[  336s] ### VM INTERACTION END ###
[  336s] /var/run/obs/worker/2/build/build-vm: line 458: kill: (24142) - No 
such process
[  336s] No buildstatus set, either the base system is broken 
(kernel/initrd/udev/glibc/bash/perl)
[  336s] or the build host has a kernel or hardware problem...

gave up after 9 failed build attempts...

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


Change in docker-playground[master]: redmine: Change content-disposition of image attachments to 'inline'

2018-05-15 Thread Harald Welte
Harald Welte has submitted this change and it was merged. ( 
https://gerrit.osmocom.org/9178 )

Change subject: redmine: Change content-disposition of image attachments to 
'inline'
..

redmine: Change content-disposition of image attachments to 'inline'

Closes: OS#3264
Change-Id: Ib60a12fc4adc0ceebfed70ff14d5ae256868bb2b
---
M redmine/Dockerfile
A redmine/redmine-image-content-disposition.diff
2 files changed, 67 insertions(+), 0 deletions(-)

Approvals:
  Harald Welte: Looks good to me, approved; Verified



diff --git a/redmine/Dockerfile b/redmine/Dockerfile
index 81976c6..1d8362d 100644
--- a/redmine/Dockerfile
+++ b/redmine/Dockerfile
@@ -12,3 +12,6 @@

 COPY   redmine-openid-hmac-digest.diff /tmp/
 RUNcd /usr/local/bundle/gems/ruby-openid-2.3.0 && patch -p0 < 
/tmp/redmine-openid-hmac-digest.diff
+
+COPY   redmine-image-content-disposition.diff /tmp/
+RUNpatch -p1 < /tmp/redmine-image-content-disposition.diff
diff --git a/redmine/redmine-image-content-disposition.diff 
b/redmine/redmine-image-content-disposition.diff
new file mode 100644
index 000..50d83db
--- /dev/null
+++ b/redmine/redmine-image-content-disposition.diff
@@ -0,0 +1,64 @@
+From 6c94d485cb3e23559da8f0356a1052a620d7a2c2 Mon Sep 17 00:00:00 2001
+From: Harald Welte 
+Date: Mon, 14 May 2018 23:16:51 +0200
+Subject: [PATCH] chagnge content-disposition of pdf/image/text/patch to
+ 'inline'
+
+Related:  https://osmocom.org/issues/3264
+---
+ app/controllers/attachments_controller.rb | 9 -
+ app/models/attachment.rb  | 8 
+ 2 files changed, 16 insertions(+), 1 deletion(-)
+
+diff --git a/app/controllers/attachments_controller.rb 
b/app/controllers/attachments_controller.rb
+index c2b5fa9c8..f2a57c31d 100644
+--- a/app/controllers/attachments_controller.rb
 b/app/controllers/attachments_controller.rb
+@@ -57,7 +57,7 @@ class AttachmentsController < ApplicationController
+   # images are sent inline
+   send_file @attachment.diskfile, :filename => 
filename_for_content_disposition(@attachment.filename),
+   :type => 
detect_content_type(@attachment),
+-  :disposition => 'attachment'
++  :disposition => disposition(@attachment)
+ end
+   end
+
+@@ -188,4 +188,12 @@ class AttachmentsController < ApplicationController
+ end
+ content_type.to_s
+   end
++
++  def disposition(attachment)
++if attachment.is_pdf? || attachment.is_image? || attachment.is_diff? || 
attachment.is_text?
++  'inline'
++else
++  'attachment'
++end
++  end
+ end
+diff --git a/app/models/attachment.rb b/app/models/attachment.rb
+index 3d16f57cc..a2520b0d5 100644
+--- a/app/models/attachment.rb
 b/app/models/attachment.rb
+@@ -236,10 +236,18 @@ class Attachment < ActiveRecord::Base
+ Redmine::MimeType.is_type?('text', filename)
+   end
+
++  def is_image?
++Redmine::MimeType.is_type?('image', filename)
++  end
++
+   def is_diff?
+ self.filename =~ /\.(patch|diff)$/i
+   end
+
++  def is_pdf?
++Redmine::MimeType.of(filename) == "application/pdf"
++  end
++
+   # Returns true if the file is readable
+   def readable?
+ File.readable?(diskfile)
+--
+2.17.0
+

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

Gerrit-Project: docker-playground
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Ib60a12fc4adc0ceebfed70ff14d5ae256868bb2b
Gerrit-Change-Number: 9178
Gerrit-PatchSet: 1
Gerrit-Owner: Harald Welte 
Gerrit-Reviewer: Harald Welte 


Change in docker-playground[master]: redmine: add missing patch "redmine-issue-2047-svg-image-support.diff"

2018-05-15 Thread Harald Welte
Harald Welte has posted comments on this change. ( 
https://gerrit.osmocom.org/9177 )

Change subject: redmine: add missing patch 
"redmine-issue-2047-svg-image-support.diff"
..


Patch Set 1: Verified+1 Code-Review+2


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

Gerrit-Project: docker-playground
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ib357ed1c847c7c3d9395b1b45a7f9b4a88dd09f8
Gerrit-Change-Number: 9177
Gerrit-PatchSet: 1
Gerrit-Owner: Harald Welte 
Gerrit-Reviewer: Harald Welte 
Gerrit-Comment-Date: Tue, 15 May 2018 18:47:18 +
Gerrit-HasComments: No
Gerrit-HasLabels: Yes


Change in docker-playground[master]: redmine: add missing patch "redmine-issue-2047-svg-image-support.diff"

2018-05-15 Thread Harald Welte
Harald Welte has submitted this change and it was merged. ( 
https://gerrit.osmocom.org/9177 )

Change subject: redmine: add missing patch 
"redmine-issue-2047-svg-image-support.diff"
..

redmine: add missing patch "redmine-issue-2047-svg-image-support.diff"

Change-Id: Ib357ed1c847c7c3d9395b1b45a7f9b4a88dd09f8
---
A redmine/redmine-issue-2047-svg-image-support.diff
1 file changed, 24 insertions(+), 0 deletions(-)

Approvals:
  Harald Welte: Looks good to me, approved; Verified



diff --git a/redmine/redmine-issue-2047-svg-image-support.diff 
b/redmine/redmine-issue-2047-svg-image-support.diff
new file mode 100644
index 000..23fc1e2
--- /dev/null
+++ b/redmine/redmine-issue-2047-svg-image-support.diff
@@ -0,0 +1,24 @@
+diff -ru app.orig/helpers/application_helper.rb 
app/helpers/application_helper.rb
+--- app.orig/helpers/application_helper.rb  2018-01-08 19:37:37.0 
+
 app/helpers/application_helper.rb   2018-05-14 08:15:11.558390732 +
+@@ -637,7 +637,7 @@
+ attachments = options[:attachments] || []
+ attachments += obj.attachments if obj.respond_to?(:attachments)
+ if attachments.present?
+-  
text.gsub!(/src="([^\/"]+\.(bmp|gif|jpg|jpe|jpeg|png))"(\s+alt="([^"]*)")?/i) 
do |m|
++  
text.gsub!(/src="([^\/"]+\.(bmp|gif|jpg|jpe|jpeg|png|svg))"(\s+alt="([^"]*)")?/i)
 do |m|
+ filename, ext, alt, alttext = $1.downcase, $2, $3, $4
+ # search for the picture in attachments
+ if found = Attachment.latest_attach(attachments, 
CGI.unescape(filename))
+diff -ru app.orig/models/attachment.rb app/models/attachment.rb
+--- app.orig/models/attachment.rb   2018-01-08 19:37:37.0 +
 app/models/attachment.rb2018-05-14 08:14:49.542526978 +
+@@ -193,7 +193,7 @@
+   end
+
+   def image?
+-!!(self.filename =~ /\.(bmp|gif|jpg|jpe|jpeg|png)$/i)
++!!(self.filename =~ /\.(bmp|gif|jpg|jpe|jpeg|png|svg)$/i)
+   end
+
+   def thumbnailable?

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

Gerrit-Project: docker-playground
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Ib357ed1c847c7c3d9395b1b45a7f9b4a88dd09f8
Gerrit-Change-Number: 9177
Gerrit-PatchSet: 1
Gerrit-Owner: Harald Welte 
Gerrit-Reviewer: Harald Welte 


Change in docker-playground[master]: redmine: Change content-disposition of image attachments to 'inline'

2018-05-15 Thread Harald Welte
Harald Welte has posted comments on this change. ( 
https://gerrit.osmocom.org/9178 )

Change subject: redmine: Change content-disposition of image attachments to 
'inline'
..


Patch Set 1: Verified+1 Code-Review+2


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

Gerrit-Project: docker-playground
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ib60a12fc4adc0ceebfed70ff14d5ae256868bb2b
Gerrit-Change-Number: 9178
Gerrit-PatchSet: 1
Gerrit-Owner: Harald Welte 
Gerrit-Reviewer: Harald Welte 
Gerrit-Comment-Date: Tue, 15 May 2018 18:47:13 +
Gerrit-HasComments: No
Gerrit-HasLabels: Yes


Change in docker-playground[master]: redmine: Change content-disposition of image attachments to 'inline'

2018-05-15 Thread Harald Welte
Harald Welte has uploaded this change for review. ( 
https://gerrit.osmocom.org/9178


Change subject: redmine: Change content-disposition of image attachments to 
'inline'
..

redmine: Change content-disposition of image attachments to 'inline'

Closes: OS#3264
Change-Id: Ib60a12fc4adc0ceebfed70ff14d5ae256868bb2b
---
M redmine/Dockerfile
A redmine/redmine-image-content-disposition.diff
2 files changed, 67 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/docker-playground 
refs/changes/78/9178/1

diff --git a/redmine/Dockerfile b/redmine/Dockerfile
index 81976c6..1d8362d 100644
--- a/redmine/Dockerfile
+++ b/redmine/Dockerfile
@@ -12,3 +12,6 @@

 COPY   redmine-openid-hmac-digest.diff /tmp/
 RUNcd /usr/local/bundle/gems/ruby-openid-2.3.0 && patch -p0 < 
/tmp/redmine-openid-hmac-digest.diff
+
+COPY   redmine-image-content-disposition.diff /tmp/
+RUNpatch -p1 < /tmp/redmine-image-content-disposition.diff
diff --git a/redmine/redmine-image-content-disposition.diff 
b/redmine/redmine-image-content-disposition.diff
new file mode 100644
index 000..50d83db
--- /dev/null
+++ b/redmine/redmine-image-content-disposition.diff
@@ -0,0 +1,64 @@
+From 6c94d485cb3e23559da8f0356a1052a620d7a2c2 Mon Sep 17 00:00:00 2001
+From: Harald Welte 
+Date: Mon, 14 May 2018 23:16:51 +0200
+Subject: [PATCH] chagnge content-disposition of pdf/image/text/patch to
+ 'inline'
+
+Related:  https://osmocom.org/issues/3264
+---
+ app/controllers/attachments_controller.rb | 9 -
+ app/models/attachment.rb  | 8 
+ 2 files changed, 16 insertions(+), 1 deletion(-)
+
+diff --git a/app/controllers/attachments_controller.rb 
b/app/controllers/attachments_controller.rb
+index c2b5fa9c8..f2a57c31d 100644
+--- a/app/controllers/attachments_controller.rb
 b/app/controllers/attachments_controller.rb
+@@ -57,7 +57,7 @@ class AttachmentsController < ApplicationController
+   # images are sent inline
+   send_file @attachment.diskfile, :filename => 
filename_for_content_disposition(@attachment.filename),
+   :type => 
detect_content_type(@attachment),
+-  :disposition => 'attachment'
++  :disposition => disposition(@attachment)
+ end
+   end
+
+@@ -188,4 +188,12 @@ class AttachmentsController < ApplicationController
+ end
+ content_type.to_s
+   end
++
++  def disposition(attachment)
++if attachment.is_pdf? || attachment.is_image? || attachment.is_diff? || 
attachment.is_text?
++  'inline'
++else
++  'attachment'
++end
++  end
+ end
+diff --git a/app/models/attachment.rb b/app/models/attachment.rb
+index 3d16f57cc..a2520b0d5 100644
+--- a/app/models/attachment.rb
 b/app/models/attachment.rb
+@@ -236,10 +236,18 @@ class Attachment < ActiveRecord::Base
+ Redmine::MimeType.is_type?('text', filename)
+   end
+
++  def is_image?
++Redmine::MimeType.is_type?('image', filename)
++  end
++
+   def is_diff?
+ self.filename =~ /\.(patch|diff)$/i
+   end
+
++  def is_pdf?
++Redmine::MimeType.of(filename) == "application/pdf"
++  end
++
+   # Returns true if the file is readable
+   def readable?
+ File.readable?(diskfile)
+--
+2.17.0
+

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

Gerrit-Project: docker-playground
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib60a12fc4adc0ceebfed70ff14d5ae256868bb2b
Gerrit-Change-Number: 9178
Gerrit-PatchSet: 1
Gerrit-Owner: Harald Welte 


Change in docker-playground[master]: redmine: add missing patch "redmine-issue-2047-svg-image-support.diff"

2018-05-15 Thread Harald Welte
Harald Welte has uploaded this change for review. ( 
https://gerrit.osmocom.org/9177


Change subject: redmine: add missing patch 
"redmine-issue-2047-svg-image-support.diff"
..

redmine: add missing patch "redmine-issue-2047-svg-image-support.diff"

Change-Id: Ib357ed1c847c7c3d9395b1b45a7f9b4a88dd09f8
---
A redmine/redmine-issue-2047-svg-image-support.diff
1 file changed, 24 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/docker-playground 
refs/changes/77/9177/1

diff --git a/redmine/redmine-issue-2047-svg-image-support.diff 
b/redmine/redmine-issue-2047-svg-image-support.diff
new file mode 100644
index 000..23fc1e2
--- /dev/null
+++ b/redmine/redmine-issue-2047-svg-image-support.diff
@@ -0,0 +1,24 @@
+diff -ru app.orig/helpers/application_helper.rb 
app/helpers/application_helper.rb
+--- app.orig/helpers/application_helper.rb  2018-01-08 19:37:37.0 
+
 app/helpers/application_helper.rb   2018-05-14 08:15:11.558390732 +
+@@ -637,7 +637,7 @@
+ attachments = options[:attachments] || []
+ attachments += obj.attachments if obj.respond_to?(:attachments)
+ if attachments.present?
+-  
text.gsub!(/src="([^\/"]+\.(bmp|gif|jpg|jpe|jpeg|png))"(\s+alt="([^"]*)")?/i) 
do |m|
++  
text.gsub!(/src="([^\/"]+\.(bmp|gif|jpg|jpe|jpeg|png|svg))"(\s+alt="([^"]*)")?/i)
 do |m|
+ filename, ext, alt, alttext = $1.downcase, $2, $3, $4
+ # search for the picture in attachments
+ if found = Attachment.latest_attach(attachments, 
CGI.unescape(filename))
+diff -ru app.orig/models/attachment.rb app/models/attachment.rb
+--- app.orig/models/attachment.rb   2018-01-08 19:37:37.0 +
 app/models/attachment.rb2018-05-14 08:14:49.542526978 +
+@@ -193,7 +193,7 @@
+   end
+
+   def image?
+-!!(self.filename =~ /\.(bmp|gif|jpg|jpe|jpeg|png)$/i)
++!!(self.filename =~ /\.(bmp|gif|jpg|jpe|jpeg|png|svg)$/i)
+   end
+
+   def thumbnailable?

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

Gerrit-Project: docker-playground
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib357ed1c847c7c3d9395b1b45a7f9b4a88dd09f8
Gerrit-Change-Number: 9177
Gerrit-PatchSet: 1
Gerrit-Owner: Harald Welte 


Change in osmo-ttcn3-hacks[master]: sgsn: fix a typo in comment

2018-05-15 Thread lynxis lazus
lynxis lazus has uploaded this change for review. ( 
https://gerrit.osmocom.org/9175


Change subject: sgsn: fix a typo in comment
..

sgsn: fix a typo in comment

Change-Id: I061aba5af1e466b33472c9f829b982823bcff71e
---
M sgsn/SGSN_Tests.ttcn
1 file changed, 1 insertion(+), 1 deletion(-)



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

diff --git a/sgsn/SGSN_Tests.ttcn b/sgsn/SGSN_Tests.ttcn
index adf87f2..1434a67 100644
--- a/sgsn/SGSN_Tests.ttcn
+++ b/sgsn/SGSN_Tests.ttcn
@@ -460,7 +460,7 @@

BSSGP.send(attach_req);
f_gmm_auth(umts_aka_challenge, force_gsm_sres);
-   /* Expect MSC to perform LU with HLR */
+   /* Expect SGSN to perform LU with HLR */
f_gmm_gsup_lu_isd();

BSSGP.receive(tr_BD_L3_MT(tr_GMM_ATTACH_ACCEPT('001'B, ?, ?))) -> value 
bd {

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

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I061aba5af1e466b33472c9f829b982823bcff71e
Gerrit-Change-Number: 9175
Gerrit-PatchSet: 1
Gerrit-Owner: lynxis lazus 


Change in osmo-ttcn3-hacks[master]: ttcn3-tcpdump-start.sh: reduce snaplen of tcpdump

2018-05-15 Thread lynxis lazus
lynxis lazus has uploaded this change for review. ( 
https://gerrit.osmocom.org/9176


Change subject: ttcn3-tcpdump-start.sh: reduce snaplen of tcpdump
..

ttcn3-tcpdump-start.sh: reduce snaplen of tcpdump

Improve speed of tcpdump startup. -s 0 sets the snaplen is 256k.
tcpdump will request the snaplen multiplied by the buffer as
a contigous buffer in the kernel. This could lead to higher
start time.

Change-Id: I8a372e71798b366faa3b723573c60de6e8fd128f
---
M ttcn3-tcpdump-start.sh
1 file changed, 2 insertions(+), 2 deletions(-)



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

diff --git a/ttcn3-tcpdump-start.sh b/ttcn3-tcpdump-start.sh
index 7321b52..395941d 100755
--- a/ttcn3-tcpdump-start.sh
+++ b/ttcn3-tcpdump-start.sh
@@ -20,7 +20,7 @@
 else
CMD="sudo $TCPDUMP"
 fi
-$CMD -U -s 0 -n -i any -w "$TTCN3_PCAP_PATH/$TESTCASE.pcap" 
>$TTCN3_PCAP_PATH/$TESTCASE.pcap.stdout 2>&1 &
+$CMD -U -s 1500 -n -i any -w "$TTCN3_PCAP_PATH/$TESTCASE.pcap" 
>$TTCN3_PCAP_PATH/$TESTCASE.pcap.stdout 2>&1 &
 PID=$!
 echo $PID > $PIDFILE

@@ -31,7 +31,7 @@
 PID=$!
 i=0
 while [ ! -f "$TTCN3_PCAP_PATH/$TESTCASE.pcap" ] ||
-  [ "$($TCPDUMP -r "$TTCN3_PCAP_PATH/$TESTCASE.pcap" 2>/dev/null | wc -l)" 
-eq 0 ]
+  [ "$(stat -c '%s' "$TTCN3_PCAP_PATH/$TESTCASE.pcap")" -eq 32 ]
 do
echo "Waiting for tcpdump to start... $i"
sleep 1

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

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I8a372e71798b366faa3b723573c60de6e8fd128f
Gerrit-Change-Number: 9176
Gerrit-PatchSet: 1
Gerrit-Owner: lynxis lazus 


Change in osmo-ttcn3-hacks[master]: sgsn: fix RAU_ATTACH not to interact with following testes

2018-05-15 Thread lynxis lazus
lynxis lazus has uploaded this change for review. ( 
https://gerrit.osmocom.org/9174


Change subject: sgsn: fix RAU_ATTACH not to interact with following testes
..

sgsn: fix RAU_ATTACH not to interact with following testes

TC_attach_rau will interact with the following tests, because the sgsn
is continuing sending RAU_ACCEPTs until it timed out or received a
RAU COMPLETE

Change-Id: Idac92bd61ee7145b7542e60c24e0a66b4ff7ddd4
---
M sgsn/SGSN_Tests.ttcn
1 file changed, 1 insertion(+), 0 deletions(-)



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

diff --git a/sgsn/SGSN_Tests.ttcn b/sgsn/SGSN_Tests.ttcn
index adf87f2..0b439ec 100644
--- a/sgsn/SGSN_Tests.ttcn
+++ b/sgsn/SGSN_Tests.ttcn
@@ -753,6 +753,7 @@
alt {
[] BSSGP.receive(tr_BD_L3_MT(tr_GMM_RAU_ACCEPT)) -> value bd {

f_process_rau_accept(bd.l3_mt.msgs.gprs_mm.routingAreaUpdateAccept);
+   BSSGP.send(ts_GMM_RAU_COMPL);
setverdict(pass);
}
[] BSSGP.receive(tr_BD_L3_MT(tr_GMM_RAU_REJECT)) {

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

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Idac92bd61ee7145b7542e60c24e0a66b4ff7ddd4
Gerrit-Change-Number: 9174
Gerrit-PatchSet: 1
Gerrit-Owner: lynxis lazus 


Change in libosmo-netif[master]: tests: jibuf_test: Add scenario to show out-of-order bug

2018-05-15 Thread Harald Welte
Harald Welte has posted comments on this change. ( 
https://gerrit.osmocom.org/9171 )

Change subject: tests: jibuf_test: Add scenario to show out-of-order bug
..


Patch Set 1: Code-Review+2


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

Gerrit-Project: libosmo-netif
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I1e78cc44f8a04dcb983352b513f8de2574b2394b
Gerrit-Change-Number: 9171
Gerrit-PatchSet: 1
Gerrit-Owner: Pau Espin Pedrol 
Gerrit-Reviewer: Harald Welte 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Comment-Date: Tue, 15 May 2018 15:33:11 +
Gerrit-HasComments: No
Gerrit-HasLabels: Yes


Change in libosmo-netif[master]: tests: jibuf_test: Set some functions as static

2018-05-15 Thread Harald Welte
Harald Welte has posted comments on this change. ( 
https://gerrit.osmocom.org/9170 )

Change subject: tests: jibuf_test: Set some functions as static
..


Patch Set 1: Code-Review+2


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

Gerrit-Project: libosmo-netif
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I3af6db3fd74d55c5e659132fc542f22478a55eb7
Gerrit-Change-Number: 9170
Gerrit-PatchSet: 1
Gerrit-Owner: Pau Espin Pedrol 
Gerrit-Reviewer: Harald Welte 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Comment-Date: Tue, 15 May 2018 15:32:52 +
Gerrit-HasComments: No
Gerrit-HasLabels: Yes


Change in osmo-pcu[master]: Don't register SIGHUP handler without actually handling SIGHUP

2018-05-15 Thread Harald Welte
Harald Welte has submitted this change and it was merged. ( 
https://gerrit.osmocom.org/9165 )

Change subject: Don't register SIGHUP handler without actually handling SIGHUP
..

Don't register SIGHUP handler without actually handling SIGHUP

In libosmocore, we normally register a SIGHUP handler for log file
rotation.

However, the osmo-pcu code so far installed its own signal handler,
which did exactly nothing in the SIGHUP case.

Let's fix this by removing SIGHUP handling here, letting libosmocore
take care about this.

Change-Id: Ifa20d79770bc4d88d40601b008a3a2a79d083c04
Closes: OS#3265
---
M src/pcu_main.cpp
1 file changed, 2 insertions(+), 3 deletions(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/src/pcu_main.cpp b/src/pcu_main.cpp
index 5b1b1be..7480842 100644
--- a/src/pcu_main.cpp
+++ b/src/pcu_main.cpp
@@ -143,7 +143,7 @@

 void sighandler(int sigset)
 {
-   if (sigset == SIGHUP || sigset == SIGPIPE)
+   if (sigset == SIGPIPE)
return;

fprintf(stderr, "Signal %d received.\n", sigset);
@@ -155,7 +155,6 @@
 * is terminated without finishing shutdown process.
 */
signal(SIGINT, SIG_DFL);
-   signal(SIGHUP, SIG_DFL);
signal(SIGTERM, SIG_DFL);
signal(SIGPIPE, SIG_DFL);
signal(SIGABRT, SIG_DFL);
@@ -311,12 +310,12 @@
return rc;

signal(SIGINT, sighandler);
-   signal(SIGHUP, sighandler);
signal(SIGTERM, sighandler);
signal(SIGPIPE, sighandler);
signal(SIGABRT, sighandler);
signal(SIGUSR1, sighandler);
signal(SIGUSR2, sighandler);
+   osmo_init_ignore_signals();

/* enable realtime priority for us */
if (rt_prio != -1) {

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

Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Ifa20d79770bc4d88d40601b008a3a2a79d083c04
Gerrit-Change-Number: 9165
Gerrit-PatchSet: 5
Gerrit-Owner: Harald Welte 
Gerrit-Reviewer: Harald Welte 
Gerrit-Reviewer: Jenkins Builder
Gerrit-CC: Neels Hofmeyr 


Change in libosmo-netif[master]: osmux: change log lvl of batch full to debug

2018-05-15 Thread Pau Espin Pedrol
Pau Espin Pedrol has uploaded this change for review. ( 
https://gerrit.osmocom.org/9173


Change subject: osmux: change log lvl of batch full to debug
..

osmux: change log lvl of batch full to debug

This message is expected as all code filling batches call
osmux_batch_enqueue() and checks for error to know if it must tell the
user of the lib to call osmux_xfrm_input_deliver.

Change-Id: I3d8227f2281f6ca92fd2502d3e328765dc7ecfe9
---
M src/osmux.c
1 file changed, 2 insertions(+), 2 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/libosmo-netif refs/changes/73/9173/1

diff --git a/src/osmux.c b/src/osmux.c
index 46170ba..7a6ce60 100644
--- a/src/osmux.c
+++ b/src/osmux.c
@@ -356,7 +356,7 @@
 static int osmux_batch_enqueue(struct msgb *msg, struct osmux_circuit *circuit,
uint8_t batch_factor)
 {
-   /* Too many messages per batch, discard it. The counter field of the
+   /* Validate amount of messages per batch. The counter field of the
 * osmux header is just 3 bits long, so make sure it doesn't overflow.
 */
if (circuit->nmsgs >= batch_factor || circuit->nmsgs >= 8) {
@@ -366,7 +366,7 @@
if (rtph == NULL)
return -1;

-   LOGP(DLMUX, LOGL_ERROR, "too many messages for this RTP "
+   LOGP(DLMUX, LOGL_DEBUG, "Batch is full for RTP "
"ssrc=%u\n", rtph->ssrc);
return -1;
}

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

Gerrit-Project: libosmo-netif
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I3d8227f2281f6ca92fd2502d3e328765dc7ecfe9
Gerrit-Change-Number: 9173
Gerrit-PatchSet: 1
Gerrit-Owner: Pau Espin Pedrol 


Change in osmo-gsm-tester[master]: tests: dyn_ts_*: Add tests to verify dyn ts with gprs disabled

2018-05-15 Thread Pau Espin Pedrol
Pau Espin Pedrol has submitted this change and it was merged. ( 
https://gerrit.osmocom.org/9161 )

Change subject: tests: dyn_ts_*: Add tests to verify dyn ts with gprs disabled
..

tests: dyn_ts_*: Add tests to verify dyn ts with gprs disabled

Change-Id: If943ae0fb4e56787df02b09dea7387cb13eb9db3
---
M suites/dyn_ts_ipa/mo_mt_call_dyn_ipa.py
A suites/dyn_ts_ipa/mo_mt_call_dyn_ipa_no_gprs.py
M suites/dyn_ts_osmo/mo_mt_call_dyn_osmo.py
A suites/dyn_ts_osmo/mo_mt_call_dyn_osmo_no_gprs.py
4 files changed, 42 insertions(+), 8 deletions(-)

Approvals:
  Jenkins Builder: Verified
  Harald Welte: Looks good to me, but someone else must approve
  Pau Espin Pedrol: Looks good to me, approved



diff --git a/suites/dyn_ts_ipa/mo_mt_call_dyn_ipa.py 
b/suites/dyn_ts_ipa/mo_mt_call_dyn_ipa.py
index 82e357c..4fe4e46 100755
--- a/suites/dyn_ts_ipa/mo_mt_call_dyn_ipa.py
+++ b/suites/dyn_ts_ipa/mo_mt_call_dyn_ipa.py
@@ -16,8 +16,4 @@
 bts.set_trx_phy_channel(0, 6, 'TCH/F_PDCH')
 bts.set_trx_phy_channel(0, 7, 'PDCH')

-#FIXME: if we don't enable gprs (gprs none in BSC vty) then dyn chans are 
broken, see OS#3244
-# Once Fixed, add a new test with following test:
-#call_test_setup_run(bts_setup_cb=my_bts_setup, gprs_enable=False)
-
 call_test_setup_run(bts_setup_cb=my_bts_setup, gprs_enable=True)
diff --git a/suites/dyn_ts_ipa/mo_mt_call_dyn_ipa_no_gprs.py 
b/suites/dyn_ts_ipa/mo_mt_call_dyn_ipa_no_gprs.py
new file mode 100755
index 000..c1349ae
--- /dev/null
+++ b/suites/dyn_ts_ipa/mo_mt_call_dyn_ipa_no_gprs.py
@@ -0,0 +1,21 @@
+#!/usr/bin/env python3
+from osmo_gsm_tester.testenv import *
+
+import testlib
+suite.test_import_modules_register_for_cleanup(testlib)
+from testlib import call_test_setup_run
+
+def my_bts_setup(bts):
+bts.set_num_trx(1)
+bts.set_trx_phy_channel(0, 0, 'CCCH+SDCCH4')
+bts.set_trx_phy_channel(0, 1, 'SDCCH8')
+bts.set_trx_phy_channel(0, 2, 'TCH/F_PDCH')
+bts.set_trx_phy_channel(0, 3, 'TCH/F_PDCH')
+bts.set_trx_phy_channel(0, 4, 'TCH/F_PDCH')
+bts.set_trx_phy_channel(0, 5, 'TCH/F_PDCH')
+bts.set_trx_phy_channel(0, 6, 'TCH/F_PDCH')
+bts.set_trx_phy_channel(0, 7, 'TCH/F_PDCH')
+
+# Check that dynamic timeslots work fine with gprs disabled.
+
+call_test_setup_run(bts_setup_cb=my_bts_setup, gprs_enable=False)
diff --git a/suites/dyn_ts_osmo/mo_mt_call_dyn_osmo.py 
b/suites/dyn_ts_osmo/mo_mt_call_dyn_osmo.py
index 1424da8..b9b7935 100755
--- a/suites/dyn_ts_osmo/mo_mt_call_dyn_osmo.py
+++ b/suites/dyn_ts_osmo/mo_mt_call_dyn_osmo.py
@@ -16,8 +16,4 @@
 bts.set_trx_phy_channel(0, 6, 'TCH/F_TCH/H_PDCH')
 bts.set_trx_phy_channel(0, 7, 'PDCH')

-#FIXME: if we don't enable gprs (gprs none in BSC vty) then dyn chans are 
broken, see OS#3244
-# Once Fixed, add a new test with following test:
-#call_test_setup_run(bts_setup_cb=my_bts_setup, gprs_enable=False)
-
 call_test_setup_run(bts_setup_cb=my_bts_setup, gprs_enable=True)
diff --git a/suites/dyn_ts_osmo/mo_mt_call_dyn_osmo_no_gprs.py 
b/suites/dyn_ts_osmo/mo_mt_call_dyn_osmo_no_gprs.py
new file mode 100755
index 000..d80d27a
--- /dev/null
+++ b/suites/dyn_ts_osmo/mo_mt_call_dyn_osmo_no_gprs.py
@@ -0,0 +1,21 @@
+#!/usr/bin/env python3
+from osmo_gsm_tester.testenv import *
+
+import testlib
+suite.test_import_modules_register_for_cleanup(testlib)
+from testlib import call_test_setup_run
+
+def my_bts_setup(bts):
+bts.set_num_trx(1)
+bts.set_trx_phy_channel(0, 0, 'CCCH+SDCCH4')
+bts.set_trx_phy_channel(0, 1, 'SDCCH8')
+bts.set_trx_phy_channel(0, 2, 'TCH/F_TCH/H_PDCH')
+bts.set_trx_phy_channel(0, 3, 'TCH/F_TCH/H_PDCH')
+bts.set_trx_phy_channel(0, 4, 'TCH/F_TCH/H_PDCH')
+bts.set_trx_phy_channel(0, 5, 'TCH/F_TCH/H_PDCH')
+bts.set_trx_phy_channel(0, 6, 'TCH/F_TCH/H_PDCH')
+bts.set_trx_phy_channel(0, 7, 'TCH/F_TCH/H_PDCH')
+
+# Check that dynamic timeslots work fine with gprs disabled.
+
+call_test_setup_run(bts_setup_cb=my_bts_setup, gprs_enable=False)

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

Gerrit-Project: osmo-gsm-tester
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: If943ae0fb4e56787df02b09dea7387cb13eb9db3
Gerrit-Change-Number: 9161
Gerrit-PatchSet: 1
Gerrit-Owner: Pau Espin Pedrol 
Gerrit-Reviewer: Harald Welte 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Pau Espin Pedrol 


Change in osmo-gsm-tester[master]: tests: dyn_ts_*: Add tests to verify dyn ts with gprs disabled

2018-05-15 Thread Pau Espin Pedrol
Pau Espin Pedrol has posted comments on this change. ( 
https://gerrit.osmocom.org/9161 )

Change subject: tests: dyn_ts_*: Add tests to verify dyn ts with gprs disabled
..


Patch Set 1: Code-Review+2


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

Gerrit-Project: osmo-gsm-tester
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: If943ae0fb4e56787df02b09dea7387cb13eb9db3
Gerrit-Change-Number: 9161
Gerrit-PatchSet: 1
Gerrit-Owner: Pau Espin Pedrol 
Gerrit-Reviewer: Harald Welte 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Pau Espin Pedrol 
Gerrit-Comment-Date: Tue, 15 May 2018 14:55:39 +
Gerrit-HasComments: No
Gerrit-HasLabels: Yes


Change in libosmo-netif[master]: jibuf: Fix out-of-order seq queue around syncpoints

2018-05-15 Thread Pau Espin Pedrol
Pau Espin Pedrol has uploaded this change for review. ( 
https://gerrit.osmocom.org/9172


Change subject: jibuf: Fix out-of-order seq queue around syncpoints
..

jibuf: Fix out-of-order seq queue around syncpoints

Fixes: OS#3262

Change-Id: Ib8c61dbe6261cf73d6efcd7873e23b7656117556
---
M src/jibuf.c
M tests/jibuf/jibuf_test.c
M tests/jibuf/jibuf_test.ok
3 files changed, 36 insertions(+), 7 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/libosmo-netif refs/changes/72/9172/1

diff --git a/src/jibuf.c b/src/jibuf.c
index 45019ae..2632a57 100644
--- a/src/jibuf.c
+++ b/src/jibuf.c
@@ -119,6 +119,35 @@

 }

+static void enqueue_pkt(struct osmo_jibuf *jb, struct msgb  *msg, bool 
is_syncpoint)
+{
+   struct msgb *cur;
+   struct timeval *msg_ts;
+
+   if (!is_syncpoint) {
+   llist_add_sorted(msg, >msg_list);
+   return;
+   }
+
+   /* syncpoints change the reference timings, and as such they can provoke
+  out of order enqueuing of this packet and its followups with regards
+  to the already stored packets which may be scheduled for later times.
+  We thus need to adapt dequeue time for the already stored pkts to be
+  dequeued before the syncpoint pkt. See OS#3262 for related scenarios.
+   */
+
+   msg_ts = msgb_scheduled_ts(msg);
+
+   llist_for_each_entry(cur, >msg_list, list) {
+   struct timeval *cur_ts = msgb_scheduled_ts(cur);
+   if (timercmp(msg_ts, cur_ts, <))
+   *cur_ts = *msg_ts;
+   }
+   /* syncpoint goes always to the end since we moved all older packets
+  before it */
+   llist_add_tail(>list, >msg_list);
+}
+
 static bool msg_get_marker(struct msgb *msg)
 {
/* TODO: make it more generic as a callback so that different types of
@@ -314,11 +343,13 @@
 {
int rel_delay, delay;
struct timeval delay_ts, sched_ts;
+   bool is_syncpoint;

clock_gettime_timeval(CLOCK_MONOTONIC, >last_enqueue_time);

/* Check if it's time to sync, ie. start of talkspurt */
-   if (!jb->started || msg_is_syncpoint(jb, msg)) {
+   is_syncpoint = !jb->started || msg_is_syncpoint(jb, msg);
+   if (is_syncpoint) {
jb->started = true;
msg_set_as_reference(jb, msg);
rel_delay = 0;
@@ -365,8 +396,7 @@
jbcb->ts = sched_ts;
jbcb->old_cb = old_cb;

-   llist_add_sorted(msg, >msg_list);
-
+   enqueue_pkt(jb, msg, is_syncpoint);

/* See if updating the timer is needed: */
if (!osmo_timer_pending(>timer) ||
diff --git a/tests/jibuf/jibuf_test.c b/tests/jibuf/jibuf_test.c
index 7993a65..ba1bb01 100644
--- a/tests/jibuf/jibuf_test.c
+++ b/tests/jibuf/jibuf_test.c
@@ -673,8 +673,7 @@
clock_override_add(0, min_delay*1000);
osmo_select_main(0);

-   /* This assert shows that packets are queued out of order in this 
case:*/
-   OSMO_ASSERT(!osmo_jibuf_empty(jb));
+   OSMO_ASSERT(osmo_jibuf_empty(jb));

osmo_jibuf_delete(jb);
 }
diff --git a/tests/jibuf/jibuf_test.ok b/tests/jibuf/jibuf_test.ok
index 6bf52fb..b92f73c 100644
--- a/tests/jibuf/jibuf_test.ok
+++ b/tests/jibuf/jibuf_test.ok
@@ -383,10 +383,10 @@
 sys={0.14}, mono={0.14}: dequeue: seq=34 ts=720 INTERMEDIATE
 sys={0.14}, mono={0.14}: dequeue: seq=35 ts=880 INTERMEDIATE
 sys={0.14}, mono={0.14}: dequeue: seq=36 ts=1040 INTERMEDIATE
-sys={0.14}, mono={0.14}: dequeue: seq=39 ts=1520 INTERMEDIATE
 sys={0.14}, mono={0.14}: dequeue: seq=37 ts=1200 INTERMEDIATE
-sys={0.14}, mono={0.14}: dequeue: seq=40 ts=1680 LATEST
 sys={0.14}, mono={0.14}: dequeue: seq=38 ts=1360 INTERMEDIATE
+sys={0.14}, mono={0.14}: dequeue: seq=39 ts=1520 INTERMEDIATE
+sys={0.14}, mono={0.14}: dequeue: seq=40 ts=1680 LATEST
 ===test_rtp_out_of_sync(1600, 5, 800, 1)===
 sys={0.00}, mono={0.00}: clock_override_set
 sys={0.00}, mono={0.00}: enqueue 1st packet (seq=33, ts=560)

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

Gerrit-Project: libosmo-netif
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib8c61dbe6261cf73d6efcd7873e23b7656117556
Gerrit-Change-Number: 9172
Gerrit-PatchSet: 1
Gerrit-Owner: Pau Espin Pedrol 


Change in libosmo-netif[master]: tests: jibuf_test: Add scenario to show out-of-order bug

2018-05-15 Thread Pau Espin Pedrol
Pau Espin Pedrol has uploaded this change for review. ( 
https://gerrit.osmocom.org/9171


Change subject: tests: jibuf_test: Add scenario to show out-of-order bug
..

tests: jibuf_test: Add scenario to show out-of-order bug

Related: OS#3262

Change-Id: I1e78cc44f8a04dcb983352b513f8de2574b2394b
---
M tests/jibuf/jibuf_test.c
M tests/jibuf/jibuf_test.ok
2 files changed, 83 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/libosmo-netif refs/changes/71/9171/1

diff --git a/tests/jibuf/jibuf_test.c b/tests/jibuf/jibuf_test.c
index c0c24fd..7993a65 100644
--- a/tests/jibuf/jibuf_test.c
+++ b/tests/jibuf/jibuf_test.c
@@ -619,6 +619,66 @@
osmo_jibuf_delete(jb);
 }

+/* This test aims at testing scenarios described in OS#3262, in which syncpoint
+   packets can provoke a situation in which packets are stored out-of-order in
+   the queue. */
+static void test_rtp_marker_queue_order()
+{
+   int min_delay = 60;
+   struct msgb *msg;
+   struct rtp_hdr *rtph;
+
+   printf("===test_rtp_marker_queue_order===\n");
+
+   clock_override_enable(true);
+   clock_override_set(0, 0);
+   rtp_init(32, 400);
+   jb = osmo_jibuf_alloc(NULL);
+   osmo_jibuf_set_dequeue_cb(jb, dequeue_cb, NULL);
+   osmo_jibuf_set_min_delay(jb, min_delay);
+   osmo_jibuf_set_max_delay(jb, 200);
+
+   /* First rtp at t=0, should be scheduled in min_delay time */
+   clock_debug("enqueue 1st packet");
+   ENQUEUE_NEXT(jb);
+   clock_override_add(0, TIME_RTP_PKT_MS*1000);
+   clock_debug("enqueue 2nd packet");
+   ENQUEUE_NEXT(jb);
+   clock_override_add(0, TIME_RTP_PKT_MS*1000);
+   clock_debug("enqueue 3rd packet");
+   ENQUEUE_NEXT(jb);
+   clock_override_add(0, TIME_RTP_PKT_MS*1000);
+
+   /* We then emulate an scenario in which an Osmux queue in front of us
+  receives a new frame before expected time, which means the packets in
+  the osmux genreated rtp queue will be flushed and sent to jibuf
+  directly. On top, the first packet of the new frame has the RTP
+  Marker bit set. */
+   clock_debug("enqueue 3 packets instantly");
+   ENQUEUE_NEXT(jb); /* scheduled min_delay+0 */
+   ENQUEUE_NEXT(jb); /* a min_delay+TIME_RTP_PKT_MS */
+   ENQUEUE_NEXT(jb); /* scheduled min_delay+TIME_RTP_PKT_MS*2 */
+   clock_debug("enqueue pkt with marker=1 instantly");
+   msg = rtp_next();
+   rtph = osmo_rtp_get_hdr(msg);
+   rtph->marker = 1;
+   OSMO_ASSERT(osmo_jibuf_enqueue(jb, msg) == 0); /* syncpoint, scheduled 
in min_delay+0 */
+   osmo_select_main(0);
+
+   clock_override_add(0, TIME_RTP_PKT_MS*1000);
+   clock_debug("enqueue pkt after syncpoint");
+   ENQUEUE_NEXT(jb); /* scheduled min_delay+0 */
+
+   clock_debug("all packets dequeued");
+   clock_override_add(0, min_delay*1000);
+   osmo_select_main(0);
+
+   /* This assert shows that packets are queued out of order in this 
case:*/
+   OSMO_ASSERT(!osmo_jibuf_empty(jb));
+
+   osmo_jibuf_delete(jb);
+}
+
 static void test_rtp_out_of_sync(unsigned int time_inc_ms, uint16_t 
seq_nosync_inc, uint32_t ts_nosync_inc, bool expect_drop)
 {
int min_delay = 60;
@@ -754,6 +814,7 @@
test_seq_wraparound();
test_timestamp_wraparound();
test_rtp_marker();
+   test_rtp_marker_queue_order();
test_rtp_out_of_sync(80*TIME_RTP_PKT_MS, 5, 5*SAMPLES_PER_PKT, true);
test_rtp_out_of_sync(80*TIME_RTP_PKT_MS, 6, 5*SAMPLES_PER_PKT, false);
test_rtp_out_of_sync(80*TIME_RTP_PKT_MS, 5, 5*SAMPLES_PER_PKT + 3, 
false);
diff --git a/tests/jibuf/jibuf_test.ok b/tests/jibuf/jibuf_test.ok
index e495435..6bf52fb 100644
--- a/tests/jibuf/jibuf_test.ok
+++ b/tests/jibuf/jibuf_test.ok
@@ -365,6 +365,28 @@
 sys={0.20}, mono={0.20}: clock_override_add
 sys={0.20}, mono={0.20}: dequeue: seq=35 ts=880 INTERMEDIATE
 sys={0.20}, mono={0.20}: dequeue: seq=36 ts=1040 LATEST
+===test_rtp_marker_queue_order===
+sys={0.00}, mono={0.00}: clock_override_set
+sys={0.00}, mono={0.00}: enqueue 1st packet
+sys={0.02}, mono={0.02}: clock_override_add
+sys={0.02}, mono={0.02}: enqueue 2nd packet
+sys={0.04}, mono={0.04}: clock_override_add
+sys={0.04}, mono={0.04}: enqueue 3rd packet
+sys={0.06}, mono={0.06}: clock_override_add
+sys={0.06}, mono={0.06}: enqueue 3 packets instantly
+sys={0.06}, mono={0.06}: enqueue pkt with marker=1 instantly
+sys={0.06}, mono={0.06}: dequeue: seq=33 ts=560 INTERMEDIATE
+sys={0.08}, mono={0.08}: clock_override_add
+sys={0.08}, mono={0.08}: enqueue pkt after syncpoint
+sys={0.08}, mono={0.08}: all packets dequeued
+sys={0.14}, mono={0.14}: clock_override_add
+sys={0.14}, mono={0.14}: dequeue: seq=34 ts=720 INTERMEDIATE

Change in libosmo-netif[master]: tests: jibuf_test: Set some functions as static

2018-05-15 Thread Pau Espin Pedrol
Pau Espin Pedrol has uploaded this change for review. ( 
https://gerrit.osmocom.org/9170


Change subject: tests: jibuf_test: Set some functions as static
..

tests: jibuf_test: Set some functions as static

Change-Id: I3af6db3fd74d55c5e659132fc542f22478a55eb7
---
M tests/jibuf/jibuf_test.c
1 file changed, 2 insertions(+), 2 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/libosmo-netif refs/changes/70/9170/1

diff --git a/tests/jibuf/jibuf_test.c b/tests/jibuf/jibuf_test.c
index 6e8c805..c0c24fd 100644
--- a/tests/jibuf/jibuf_test.c
+++ b/tests/jibuf/jibuf_test.c
@@ -619,7 +619,7 @@
osmo_jibuf_delete(jb);
 }

-void test_rtp_out_of_sync(unsigned int time_inc_ms, uint16_t seq_nosync_inc, 
uint32_t ts_nosync_inc, bool expect_drop)
+static void test_rtp_out_of_sync(unsigned int time_inc_ms, uint16_t 
seq_nosync_inc, uint32_t ts_nosync_inc, bool expect_drop)
 {
int min_delay = 60;
struct msgb *msg;
@@ -686,7 +686,7 @@
 }


-void test_skew(unsigned int skew_inc_us, bool skew_compensation) {
+static void test_skew(unsigned int skew_inc_us, bool skew_compensation) {
int min_delay = 40;
unsigned int dropped = 0;
struct msgb *msg;

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

Gerrit-Project: libosmo-netif
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I3af6db3fd74d55c5e659132fc542f22478a55eb7
Gerrit-Change-Number: 9170
Gerrit-PatchSet: 1
Gerrit-Owner: Pau Espin Pedrol 


Change in osmo-msc[master]: vlr_access_req_fsm: use correct cause codes

2018-05-15 Thread dexter
dexter has uploaded this change for review. ( https://gerrit.osmocom.org/9169


Change subject: vlr_access_req_fsm: use correct cause codes
..

vlr_access_req_fsm: use correct cause codes

The FSM that controls the VLR ACCESS uses cause code 9
(GSM48_REJECT_MS_IDENTITY_NOT_DERVIVABLE) to signal that the
identity of the MS is currently not known in VLR (MSC-Reboot)
However, this cause code is from the GMM domain and is interpreted
as GSM48_REJECT_SRV_OPT_TMP_OUT_OF_ORDER by the MS, which cauese
the MS not to make a new LOCATION UPDATE on CM SERVICE REQUEST

- use GSM48_REJECT_IMSI_UNKNOWN_IN_VLR and
  GSM48_REJECT_IMSI_UNKNOWN_IN_VLR instead of
  GSM48_REJECT_IMSI_UNKNOWN_IN_VLR

Change-Id: Ic058c93387f9be9af4940f8961839c02b93ee370
Closes: OS#3266
---
M src/libvlr/vlr_access_req_fsm.c
1 file changed, 4 insertions(+), 4 deletions(-)



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

diff --git a/src/libvlr/vlr_access_req_fsm.c b/src/libvlr/vlr_access_req_fsm.c
index dd95821..79eb75f 100644
--- a/src/libvlr/vlr_access_req_fsm.c
+++ b/src/libvlr/vlr_access_req_fsm.c
@@ -381,7 +381,7 @@
if (!par->by_tmsi) {
/* We couldn't find a subscriber even by IMSI,
 * Set User Error: Unidentified Subscriber */
-   proc_arq_fsm_done(fi, GSM48_REJECT_MS_IDENTITY_NOT_DERVIVABLE);
+   proc_arq_fsm_done(fi, GSM48_REJECT_IMSI_UNKNOWN_IN_VLR);
return;
} else {
/* TMSI was included, are we permitted to use it? */
@@ -392,7 +392,7 @@
return;
} else {
/* Set User Error: Unidentified Subscriber */
-   proc_arq_fsm_done(fi, 
GSM48_REJECT_MS_IDENTITY_NOT_DERVIVABLE);
+   proc_arq_fsm_done(fi, GSM48_REJECT_IMSI_UNKNOWN_IN_VLR);
return;
}
}
@@ -411,7 +411,7 @@
vsub = vlr_subscr_find_by_imsi(vlr, par->imsi);
if (!vsub) {
/* Set User Error: Unidentified Subscriber */
-   proc_arq_fsm_done(fi, GSM48_REJECT_MS_IDENTITY_NOT_DERVIVABLE);
+   proc_arq_fsm_done(fi, GSM48_REJECT_IMSI_UNKNOWN_IN_VLR);
return;
}
assoc_par_with_subscr(fi, vsub);
@@ -687,7 +687,7 @@
case GSM_MI_TYPE_IMEI:
/* TODO: IMEI (emergency call) */
default:
-   proc_arq_fsm_done(fi, GSM48_REJECT_MS_IDENTITY_NOT_DERVIVABLE);
+   proc_arq_fsm_done(fi, GSM48_REJECT_INVALID_MANDANTORY_INF);
return;
}


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

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


Change in osmo-pcu[master]: Don't register SIGHUP handler without actually handling SIGHUP

2018-05-15 Thread Harald Welte
Harald Welte has posted comments on this change. ( 
https://gerrit.osmocom.org/9165 )

Change subject: Don't register SIGHUP handler without actually handling SIGHUP
..


Patch Set 5: Code-Review+2


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

Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ifa20d79770bc4d88d40601b008a3a2a79d083c04
Gerrit-Change-Number: 9165
Gerrit-PatchSet: 5
Gerrit-Owner: Harald Welte 
Gerrit-Reviewer: Harald Welte 
Gerrit-Reviewer: Jenkins Builder
Gerrit-CC: Neels Hofmeyr 
Gerrit-Comment-Date: Tue, 15 May 2018 14:24:21 +
Gerrit-HasComments: No
Gerrit-HasLabels: Yes


Change in osmo-pcu[master]: Fix "left shift of 1 by 31 places cannot be represented in type 'int'...

2018-05-15 Thread Harald Welte
Harald Welte has uploaded this change for review. ( 
https://gerrit.osmocom.org/9168


Change subject: Fix "left shift of 1 by 31 places cannot be represented in type 
'int'" errors
..

Fix "left shift of 1 by 31 places cannot be represented in type 'int'" errors

Change-Id: I88e92be37caab399fc1d55f07699d601f6ea96c0
---
M src/mslot_class.c
1 file changed, 3 insertions(+), 3 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-pcu refs/changes/68/9168/1

diff --git a/src/mslot_class.c b/src/mslot_class.c
index 2a482f1..6b311ea 100644
--- a/src/mslot_class.c
+++ b/src/mslot_class.c
@@ -239,7 +239,7 @@
return -1;

for (tfi = 0; tfi < 32; tfi++) {
-   if (!(tfi_map & (1 << tfi)))
+   if (!(tfi_map & (1u << tfi)))
return tfi;
}

@@ -268,8 +268,8 @@

 bool mslot_test_and_set_bit(uint32_t *bits, size_t elem)
 {
-   bool was_set = bits[elem/32] & (1 << (elem % 32));
-   bits[elem/32] |= (1 << (elem % 32));
+   bool was_set = bits[elem/32] & (1u << (elem % 32));
+   bits[elem/32] |= (1u << (elem % 32));

return was_set;
 }

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

Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I88e92be37caab399fc1d55f07699d601f6ea96c0
Gerrit-Change-Number: 9168
Gerrit-PatchSet: 1
Gerrit-Owner: Harald Welte 


Change in osmo-bts[master]: cosmetic: it's n_r in check_for_first_ciphrd(), not n_s

2018-05-15 Thread Harald Welte
Harald Welte has uploaded this change for review. ( 
https://gerrit.osmocom.org/9167


Change subject: cosmetic: it's n_r in check_for_first_ciphrd(), not n_s
..

cosmetic: it's n_r in check_for_first_ciphrd(), not n_s

When we introduced the n_s verification in
2cc37035d73191b71b9ba9c0d559a0da6a5f35e5, the variable name n_s was
used for what is actually n_r N(R) read from the LAPDm frame

Change-Id: Iaef1648f35ceae9d7f4cd1d9d5409e05115d199a
---
M src/common/l1sap.c
1 file changed, 3 insertions(+), 3 deletions(-)



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

diff --git a/src/common/l1sap.c b/src/common/l1sap.c
index e7cef4e..3a40949 100644
--- a/src/common/l1sap.c
+++ b/src/common/l1sap.c
@@ -956,7 +956,7 @@
 static inline int check_for_first_ciphrd(struct gsm_lchan *lchan,
  uint8_t *data, int len)
 {
-   uint8_t n_s;
+   uint8_t n_r;

/* if this is the first valid message after enabling Rx
 * decryption, we have to enable Tx encryption */
@@ -972,8 +972,8 @@
if ((data[1] & 0x01) != 0)
return 0;

-   n_s = data[1] >> 5;
-   if (lchan->ciph_ns != n_s)
+   n_r = data[1] >> 5;
+   if (lchan->ciph_ns != n_r)
return 0;

return 1;

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

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Iaef1648f35ceae9d7f4cd1d9d5409e05115d199a
Gerrit-Change-Number: 9167
Gerrit-PatchSet: 1
Gerrit-Owner: Harald Welte 


Change in osmo-bts[master]: scheduler_trx: Add reminders to use libosmocore functions

2018-05-15 Thread Harald Welte
Hello Jenkins Builder,

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

https://gerrit.osmocom.org/8103

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

Change subject: scheduler_trx: Add reminders to use libosmocore functions
..

scheduler_trx: Add reminders to use libosmocore functions

Let' wait until the just-merged osmo_timerfd_* functions
of Change-Id Ibeffba7c997252c003723bcd5d14122c4ded2fe7 have made it
into the next tagged release, and then replace the implementation
here.

Change-Id: Ic0f0a7437b6acb535177e5ad6ac7a6d336654c66
---
M src/osmo-bts-trx/scheduler_trx.c
1 file changed, 3 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/03/8103/2
--
To view, visit https://gerrit.osmocom.org/8103
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Ic0f0a7437b6acb535177e5ad6ac7a6d336654c66
Gerrit-Change-Number: 8103
Gerrit-PatchSet: 2
Gerrit-Owner: Harald Welte 
Gerrit-Reviewer: Harald Welte 
Gerrit-Reviewer: Jenkins Builder


Change in osmo-pcu[master]: Don't register SIGHUP handler without actually handling SIGHUP

2018-05-15 Thread Harald Welte
Hello Jenkins Builder,

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

https://gerrit.osmocom.org/9165

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

Change subject: Don't register SIGHUP handler without actually handling SIGHUP
..

Don't register SIGHUP handler without actually handling SIGHUP

In libosmocore, we normally register a SIGHUP handler for log file
rotation.

However, the osmo-pcu code so far installed its own signal handler,
which did exactly nothing in the SIGHUP case.

Let's fix this by removing SIGHUP handling here, letting libosmocore
take care about this.

Change-Id: Ifa20d79770bc4d88d40601b008a3a2a79d083c04
Closes: OS#3265
---
M src/pcu_main.cpp
1 file changed, 2 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-pcu refs/changes/65/9165/3
--
To view, visit https://gerrit.osmocom.org/9165
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Ifa20d79770bc4d88d40601b008a3a2a79d083c04
Gerrit-Change-Number: 9165
Gerrit-PatchSet: 3
Gerrit-Owner: Harald Welte 
Gerrit-Reviewer: Harald Welte 
Gerrit-Reviewer: Jenkins Builder
Gerrit-CC: Neels Hofmeyr 


Build failure of network:osmocom:latest/osmo-bts in Debian_9.0/aarch64

2018-05-15 Thread OBS Notification
Visit 
https://build.opensuse.org/package/live_build_log/network:osmocom:latest/osmo-bts/Debian_9.0/aarch64

Package network:osmocom:latest/osmo-bts failed to build in Debian_9.0/aarch64

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

Last lines of build log:
[  267s] [  244.465179] dracut-initqueue[460]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  268s] [  245.115742] dracut-initqueue[460]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  268s] [  245.785212] dracut-initqueue[460]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  269s] [  246.415956] dracut-initqueue[460]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  270s] [  247.085138] dracut-initqueue[460]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  270s] [  247.092005] dracut-initqueue[460]: Warning: Could not boot.
[  270s]  Starting Setup Virtual Console...
[  270s] [  OK  ] Started Setup Virtual Console.
[  270s]  Starting Dracut Emergency Shell...
[  270s] Warning: /dev/disk/by-uuid/00750419-b769-40be-aa7a-a81dca13c577 does 
not exist
[  270s] 
[  270s] Generating "/run/initramfs/rdsosreport.txt"
[  270s] 
[  270s] 
[  270s] Entering emergency mode. Exit the shell to continue.
[  270s] Type "journalctl" to view system logs.
[  270s] You might want to save "/run/initramfs/rdsosreport.txt" to a USB stick 
or /boot
[  270s] after mounting them and attach it to a bug report.
[  270s] 
[  270s] 
[  328s] dracut:/# ### WATCHDOG TRIGGERED, KILLING VM ###
[  328s] /var/cache/obs/worker/root_32/root: 39565
[  328s] qemu-system-aarch64: terminating on signal 15 from pid 5425 (fuser)
[  328s] ### VM INTERACTION END ###
[  328s] /var/run/obs/worker/32/build/build-vm: line 458: kill: (39558) - No 
such process
[  328s] No buildstatus set, either the base system is broken 
(kernel/initrd/udev/glibc/bash/perl)
[  328s] or the build host has a kernel or hardware problem...

gave up after 12 failed build attempts...

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


Build failure of network:osmocom:latest/osmo-bsc in Debian_9.0/aarch64

2018-05-15 Thread OBS Notification
Visit 
https://build.opensuse.org/package/live_build_log/network:osmocom:latest/osmo-bsc/Debian_9.0/aarch64

Package network:osmocom:latest/osmo-bsc failed to build in Debian_9.0/aarch64

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

Last lines of build log:
[  266s] [  242.804316] dracut-initqueue[459]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  266s] [  243.485500] dracut-initqueue[459]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  267s] [  244.104449] dracut-initqueue[459]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  268s] [  244.765588] dracut-initqueue[459]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  268s] [  245.404669] dracut-initqueue[459]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  268s] [  245.411468] dracut-initqueue[459]: Warning: Could not boot.
[  268s]  Starting Setup Virtual Console...
[  268s] [  OK  ] Started Setup Virtual Console.
[  268s]  Starting Dracut Emergency Shell...
[  268s] Warning: /dev/disk/by-uuid/00750419-b769-40be-aa7a-a81dca13c577 does 
not exist
[  268s] 
[  268s] Generating "/run/initramfs/rdsosreport.txt"
[  269s] 
[  269s] 
[  269s] Entering emergency mode. Exit the shell to continue.
[  269s] Type "journalctl" to view system logs.
[  269s] You might want to save "/run/initramfs/rdsosreport.txt" to a USB stick 
or /boot
[  269s] after mounting them and attach it to a bug report.
[  269s] 
[  269s] 
[  328s] dracut:/# ### WATCHDOG TRIGGERED, KILLING VM ###
[  328s] /var/cache/obs/worker/root_3/root: 15484
[  328s] qemu-system-aarch64: terminating on signal 15 from pid 20879 ()
[  328s] ### VM INTERACTION END ###
[  328s] /var/run/obs/worker/3/build/build-vm: line 458: kill: (15477) - No 
such process
[  328s] No buildstatus set, either the base system is broken 
(kernel/initrd/udev/glibc/bash/perl)
[  328s] or the build host has a kernel or hardware problem...

gave up after 12 failed build attempts...

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


Change in osmo-pcu[master]: Don't register SIGHUP handler without actually handling SIGHUP

2018-05-15 Thread Neels Hofmeyr
Neels Hofmeyr has posted comments on this change. ( 
https://gerrit.osmocom.org/9165 )

Change subject: Don't register SIGHUP handler without actually handling SIGHUP
..


Patch Set 2:

(1 comment)

https://gerrit.osmocom.org/#/c/9165/2/src/pcu_main.cpp
File src/pcu_main.cpp:

https://gerrit.osmocom.org/#/c/9165/2/src/pcu_main.cpp@146
PS2, Line 146:  if (sigset == SIGHUP || sigset == SIGPIPE)
remove SIGHUP here as well?



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

Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ifa20d79770bc4d88d40601b008a3a2a79d083c04
Gerrit-Change-Number: 9165
Gerrit-PatchSet: 2
Gerrit-Owner: Harald Welte 
Gerrit-Reviewer: Harald Welte 
Gerrit-CC: Jenkins Builder
Gerrit-CC: Neels Hofmeyr 
Gerrit-Comment-Date: Tue, 15 May 2018 13:52:44 +
Gerrit-HasComments: Yes
Gerrit-HasLabels: No


Change in libosmocore[master]: fsm: guard action callback

2018-05-15 Thread Harald Welte
Harald Welte has posted comments on this change. ( 
https://gerrit.osmocom.org/9160 )

Change subject: fsm: guard action callback
..


Patch Set 1: Code-Review+2


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

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I36d221c973d3890721ef1d376fb9be82c4311378
Gerrit-Change-Number: 9160
Gerrit-PatchSet: 1
Gerrit-Owner: dexter 
Gerrit-Reviewer: Harald Welte 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Comment-Date: Tue, 15 May 2018 13:49:51 +
Gerrit-HasComments: No
Gerrit-HasLabels: Yes


Change in osmo-gsm-tester[master]: tests: dyn_ts_*: Add tests to verify dyn ts with gprs disabled

2018-05-15 Thread Harald Welte
Harald Welte has posted comments on this change. ( 
https://gerrit.osmocom.org/9161 )

Change subject: tests: dyn_ts_*: Add tests to verify dyn ts with gprs disabled
..


Patch Set 1: Code-Review+1


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

Gerrit-Project: osmo-gsm-tester
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: If943ae0fb4e56787df02b09dea7387cb13eb9db3
Gerrit-Change-Number: 9161
Gerrit-PatchSet: 1
Gerrit-Owner: Pau Espin Pedrol 
Gerrit-Reviewer: Harald Welte 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Comment-Date: Tue, 15 May 2018 13:49:14 +
Gerrit-HasComments: No
Gerrit-HasLabels: Yes


Change in libosmocore[master]: fsm: guard action callback

2018-05-15 Thread Harald Welte
Harald Welte has submitted this change and it was merged. ( 
https://gerrit.osmocom.org/9160 )

Change subject: fsm: guard action callback
..

fsm: guard action callback

The FSM allows to set individual action callback functions for each
state but it does not allow to leave the action callback pointer
unpopulated. However, there are cornercases where having no callback
function is desirable.

- Check if action callback is popolated before executing it.

Change-Id: I36d221c973d3890721ef1d376fb9be82c4311378
---
M src/fsm.c
1 file changed, 3 insertions(+), 1 deletion(-)

Approvals:
  Jenkins Builder: Verified
  Harald Welte: Looks good to me, approved



diff --git a/src/fsm.c b/src/fsm.c
index ae2fdc2..0370f65 100644
--- a/src/fsm.c
+++ b/src/fsm.c
@@ -541,7 +541,9 @@
osmo_fsm_event_name(fsm, event));
return -1;
}
-   fs->action(fi, event, data);
+
+   if (fs->action)
+   fs->action(fi, event, data);

return 0;
 }

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

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I36d221c973d3890721ef1d376fb9be82c4311378
Gerrit-Change-Number: 9160
Gerrit-PatchSet: 1
Gerrit-Owner: dexter 
Gerrit-Reviewer: Harald Welte 
Gerrit-Reviewer: Jenkins Builder


Change in libosmocore[master]: fix spelling

2018-05-15 Thread Harald Welte
Harald Welte has posted comments on this change. ( 
https://gerrit.osmocom.org/9166 )

Change subject: fix spelling
..


Patch Set 1: Code-Review+2

the question is if anyone has already used the old / wrong spelling.  At least 
in the osmocom code base, the answer is no, so we should be safe to change it 
without adding a backwards-compatible #define.


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

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I3ac92217f83279d5f987ab34eb18b2e6cb1c7812
Gerrit-Change-Number: 9166
Gerrit-PatchSet: 1
Gerrit-Owner: Thorsten Alteholz 
Gerrit-Reviewer: Harald Welte 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Comment-Date: Tue, 15 May 2018 13:48:55 +
Gerrit-HasComments: No
Gerrit-HasLabels: Yes


Change in osmo-pcu[master]: Forward GPRS SUSPEND REQ from BTS to SGSN using BSSGP

2018-05-15 Thread Harald Welte
Harald Welte has posted comments on this change. ( 
https://gerrit.osmocom.org/3384 )

Change subject: Forward GPRS SUSPEND REQ from BTS to SGSN using BSSGP
..


Patch Set 9: Code-Review-1

we need test coverage before merging this


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

Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I7b4beb413a6f974373a404b5a11c44d86ba695d3
Gerrit-Change-Number: 3384
Gerrit-PatchSet: 9
Gerrit-Owner: Harald Welte 
Gerrit-Reviewer: Harald Welte 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Max 
Gerrit-Comment-Date: Tue, 15 May 2018 13:46:50 +
Gerrit-HasComments: No
Gerrit-HasLabels: Yes


Change in osmo-pcu[master]: UL TBF: Actually raise V(Q) in raise_v_q() method

2018-05-15 Thread Harald Welte
Harald Welte has posted comments on this change. ( 
https://gerrit.osmocom.org/9164 )

Change subject: UL TBF: Actually raise V(Q) in raise_v_q() method
..


Patch Set 2: Code-Review-1

we need test coverage before merging this


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

Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I699ebf6d1fceec655585e430711f59648b525728
Gerrit-Change-Number: 9164
Gerrit-PatchSet: 2
Gerrit-Owner: Harald Welte 
Gerrit-Reviewer: Harald Welte 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Comment-Date: Tue, 15 May 2018 13:46:17 +
Gerrit-HasComments: No
Gerrit-HasLabels: Yes


Change in osmo-pcu[master]: Don't register SIGHUP handler without actually handling SIGHUP

2018-05-15 Thread Harald Welte
Harald Welte has posted comments on this change. ( 
https://gerrit.osmocom.org/9165 )

Change subject: Don't register SIGHUP handler without actually handling SIGHUP
..


Patch Set 2: Code-Review+2


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

Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ifa20d79770bc4d88d40601b008a3a2a79d083c04
Gerrit-Change-Number: 9165
Gerrit-PatchSet: 2
Gerrit-Owner: Harald Welte 
Gerrit-Reviewer: Harald Welte 
Gerrit-Comment-Date: Tue, 15 May 2018 13:45:49 +
Gerrit-HasComments: No
Gerrit-HasLabels: Yes


Change in libosmocore[master]: fix spelling

2018-05-15 Thread Thorsten Alteholz
Thorsten Alteholz has uploaded this change for review. ( 
https://gerrit.osmocom.org/9166


Change subject: fix spelling
..

fix spelling

Change-Id: I3ac92217f83279d5f987ab34eb18b2e6cb1c7812
---
M include/osmocom/gsm/protocol/gsm_08_08.h
M src/gsm/gsm0808.c
2 files changed, 4 insertions(+), 4 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/66/9166/1

diff --git a/include/osmocom/gsm/protocol/gsm_08_08.h 
b/include/osmocom/gsm/protocol/gsm_08_08.h
index 5d2864f..b699080 100644
--- a/include/osmocom/gsm/protocol/gsm_08_08.h
+++ b/include/osmocom/gsm/protocol/gsm_08_08.h
@@ -316,7 +316,7 @@
GSM0808_CAUSE_REDUCE_LOAD_IN_SERVING_CELL   = 0x10,
GSM0808_CAUSE_TRAFFIC_LOAD_IN_TGT_HIGHER_THAN_IN_SRC_CELL   = 0x11,
GSM0808_CAUSE_RELOCATION_TRIGGERED  = 0x12,
-   GSM0808_CAUSE_REQUSTED_OPT_NOT_AUTHORISED   = 0x14,
+   GSM0808_CAUSE_REQUESTED_OPT_NOT_AUTHORISED  = 0x14,
GSM0808_CAUSE_ALT_CHAN_CONFIG_REQUESTED = 0x15,
GSM0808_CAUSE_RESP_TO_INT_HO_ENQ_MSG= 0x16,
GSM0808_CAUSE_INT_HO_ENQUIRY_REJECT = 0x17,
@@ -358,7 +358,7 @@
GSM0808_CAUSE_DTM_HO_INVALID_PS_IND = 0x56,
GSM0808_CAUSE_CALL_ID_ALREADY_ALLOC = 0x57,
GSM0808_CAUSE_PROTOCOL_ERROR_BETWEEN_BSS_AND_MSC= 96,
-   GSM0808_CAUSE_VGCS_VBS_CALL_NON_EXISTANT= 0x61,
+   GSM0808_CAUSE_VGCS_VBS_CALL_NON_EXISTENT= 0x61,
GSM0808_CAUSE_DTM_HO_TIMER_EXPIRY   = 0x62,
 };

diff --git a/src/gsm/gsm0808.c b/src/gsm/gsm0808.c
index e6a581c..4743175 100644
--- a/src/gsm/gsm0808.c
+++ b/src/gsm/gsm0808.c
@@ -936,7 +936,7 @@
{ GSM0808_CAUSE_REDUCE_LOAD_IN_SERVING_CELL, "REDUCE LOAD IN SERVING 
CELL" },
{ GSM0808_CAUSE_TRAFFIC_LOAD_IN_TGT_HIGHER_THAN_IN_SRC_CELL, "TRAFFIC 
LOAD IN TGT HIGHER THAN IN SRC CELL" },
{ GSM0808_CAUSE_RELOCATION_TRIGGERED, "RELOCATION TRIGGERED" },
-   { GSM0808_CAUSE_REQUSTED_OPT_NOT_AUTHORISED, "REQUSTED OPT NOT 
AUTHORISED" },
+   { GSM0808_CAUSE_REQUESTED_OPT_NOT_AUTHORISED, "REQUESTED OPT NOT 
AUTHORISED" },
{ GSM0808_CAUSE_ALT_CHAN_CONFIG_REQUESTED, "ALT CHAN CONFIG REQUESTED" 
},
{ GSM0808_CAUSE_RESP_TO_INT_HO_ENQ_MSG, "RESP TO INT HO ENQ MSG" },
{ GSM0808_CAUSE_INT_HO_ENQUIRY_REJECT, "INT HO ENQUIRY REJECT" },
@@ -978,7 +978,7 @@
{ GSM0808_CAUSE_DTM_HO_INVALID_PS_IND, "DTM HO INVALID PS IND" },
{ GSM0808_CAUSE_CALL_ID_ALREADY_ALLOC, "CALL ID ALREADY ALLOC" },
{ GSM0808_CAUSE_PROTOCOL_ERROR_BETWEEN_BSS_AND_MSC, "PROTOCOL ERROR 
BETWEEN BSS AND MSC" },
-   { GSM0808_CAUSE_VGCS_VBS_CALL_NON_EXISTANT, "VGCS VBS CALL NON 
EXISTANT" },
+   { GSM0808_CAUSE_VGCS_VBS_CALL_NON_EXISTENT, "VGCS VBS CALL NON 
EXISTENT" },
{ GSM0808_CAUSE_DTM_HO_TIMER_EXPIRY, "DTM HO TIMER EXPIRY" },
{ 0, NULL }
 };

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

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I3ac92217f83279d5f987ab34eb18b2e6cb1c7812
Gerrit-Change-Number: 9166
Gerrit-PatchSet: 1
Gerrit-Owner: Thorsten Alteholz 


Change in osmo-pcu[master]: UL TBF: Actually raise V(Q) in raise_v_q() method

2018-05-15 Thread Harald Welte
Harald Welte has uploaded this change for review. ( 
https://gerrit.osmocom.org/9164


Change subject: UL TBF: Actually raise V(Q) in raise_v_q() method
..

UL TBF: Actually raise V(Q) in raise_v_q() method

So far the method only printed that it was raising V(Q) but never
actually did so.  The increment statement was only in the log
statement, its result never store to the actual m_v_q member variable.

Change-Id: I699ebf6d1fceec655585e430711f59648b525728
---
M src/rlc.cpp
1 file changed, 4 insertions(+), 2 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-pcu refs/changes/64/9164/1

diff --git a/src/rlc.cpp b/src/rlc.cpp
index a82f550..59061f3 100644
--- a/src/rlc.cpp
+++ b/src/rlc.cpp
@@ -294,11 +294,13 @@
uint16_t count = 0;

while (v_q() != v_r()) {
+   uint16_t v_q_old;
if (!m_v_n.is_received(v_q()))
break;
+   v_q_old = v_q();
+   set_v_q(mod_sns(v_q() + 1));
LOGP(DRLCMACUL, LOGL_DEBUG, "- Taking block %d out, raising "
-   "V(Q) to %d\n", v_q(), mod_sns(v_q() + 1));
-   raise_v_q(1);
+   "V(Q) to %d\n", v_q_old, v_q());
count += 1;
}


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

Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I699ebf6d1fceec655585e430711f59648b525728
Gerrit-Change-Number: 9164
Gerrit-PatchSet: 1
Gerrit-Owner: Harald Welte 


Change in osmo-pcu[master]: Forward GPRS SUSPEND REQ from BTS to SGSN using BSSGP

2018-05-15 Thread Harald Welte
Hello Max, Jenkins Builder,

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

https://gerrit.osmocom.org/3384

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

Change subject: Forward GPRS SUSPEND REQ from BTS to SGSN using BSSGP
..

Forward GPRS SUSPEND REQ from BTS to SGSN using BSSGP

As specified in 3GPP TS 03.60 Section 16.2.1 and 44.018 Section 3.4.15,
a Class B MS is sending a "RR GPRS SUSPEND REQ" via a DCCH to the BTS if
it wants to suspend GPRS services.  As of
Change-Id I3c1af662c8f0d3d22da200638480f6ef05c3ed1f, OsmoBTS forwards
this via the PCU socket, so we need to pick it up and send it via BSSGP
to the SGSN.

Change-Id: I7b4beb413a6f974373a404b5a11c44d86ba695d3
Closes: OS#2249
---
M include/osmocom/pcu/pcuif_proto.h
M src/pcu_l1_if.cpp
2 files changed, 27 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-pcu refs/changes/84/3384/8
--
To view, visit https://gerrit.osmocom.org/3384
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I7b4beb413a6f974373a404b5a11c44d86ba695d3
Gerrit-Change-Number: 3384
Gerrit-PatchSet: 8
Gerrit-Owner: Harald Welte 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Max 


Change in osmo-pcu[master]: Don't register SIGHUP handler without actually handling SIGHUP

2018-05-15 Thread Harald Welte
Harald Welte has uploaded this change for review. ( 
https://gerrit.osmocom.org/9165


Change subject: Don't register SIGHUP handler without actually handling SIGHUP
..

Don't register SIGHUP handler without actually handling SIGHUP

In libosmocore, we normally register a SIGHUP handler for log file
rotation.

However, the osmo-pcu code so far installed its own signal handler,
which did exactly nothing in the SIGHUP case.

Let's fix this by removing SIGHUP handling here, letting libosmocore
take care about this.

Change-Id: Ifa20d79770bc4d88d40601b008a3a2a79d083c04
Closes: OS#3265
---
M src/pcu_main.cpp
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-pcu refs/changes/65/9165/1

diff --git a/src/pcu_main.cpp b/src/pcu_main.cpp
index 84ade6f..611b2d0 100644
--- a/src/pcu_main.cpp
+++ b/src/pcu_main.cpp
@@ -308,12 +308,12 @@
return rc;

signal(SIGINT, sighandler);
-   signal(SIGHUP, sighandler);
signal(SIGTERM, sighandler);
signal(SIGPIPE, sighandler);
signal(SIGABRT, sighandler);
signal(SIGUSR1, sighandler);
signal(SIGUSR2, sighandler);
+   osmo_init_ignore_signals();

/* enable realtime priority for us */
if (rt_prio != -1) {

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

Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ifa20d79770bc4d88d40601b008a3a2a79d083c04
Gerrit-Change-Number: 9165
Gerrit-PatchSet: 1
Gerrit-Owner: Harald Welte 


Re: Build failure of network:osmocom:nightly/osmo-sgsn in Debian_9.0/aarch64

2018-05-15 Thread Neels Hofmeyr
Hi OBS build admins,

for some days now the aarch64 builds have given us this error report,
which seems like a hardware failure of sorts:

> [  274s] Warning: /dev/disk/by-uuid/00750419-b769-40be-aa7a-a81dca13c577 does 
> not exist

I thought I'd ping you on it in case you haven't noticed yet.

Thanks!

~N

On Tue, May 15, 2018 at 12:03:33PM +, OBS Notification wrote:
> Visit 
> https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/osmo-sgsn/Debian_9.0/aarch64
> 
> Package network:osmocom:nightly/osmo-sgsn failed to build in 
> Debian_9.0/aarch64
> 
> Check out the package for editing:
>   osc checkout network:osmocom:nightly osmo-sgsn
> 
> Last lines of build log:
> [  272s] [  245.194987] dracut-initqueue[471]: Warning: dracut-initqueue 
> timeout - starting timeout scripts
> [  272s] [  245.855673] dracut-initqueue[471]: Warning: dracut-initqueue 
> timeout - starting timeout scripts
> [  273s] [  246.515140] dracut-initqueue[471]: Warning: dracut-initqueue 
> timeout - starting timeout scripts
> [  274s] [  247.185542] dracut-initqueue[471]: Warning: dracut-initqueue 
> timeout - starting timeout scripts
> [  274s] [  247.834883] dracut-initqueue[471]: Warning: dracut-initqueue 
> timeout - starting timeout scripts
> [  274s] [  247.841695] dracut-initqueue[471]: Warning: Could not boot.
> [  274s]  Starting Setup Virtual Console...
> [  274s] [  OK  ] Started Setup Virtual Console.
> [  274s]  Starting Dracut Emergency Shell...
> [  274s] Warning: /dev/disk/by-uuid/00750419-b769-40be-aa7a-a81dca13c577 does 
> not exist
> [  274s] 
> [  274s] Generating "/run/initramfs/rdsosreport.txt"
> [  275s] 
> [  275s] 
> [  275s] Entering emergency mode. Exit the shell to continue.
> [  275s] Type "journalctl" to view system logs.
> [  275s] You might want to save "/run/initramfs/rdsosreport.txt" to a USB 
> stick or /boot
> [  275s] after mounting them and attach it to a bug report.
> [  275s] 
> [  275s] 
> [  337s] dracut:/# ### WATCHDOG TRIGGERED, KILLING VM ###
> [  337s] /var/cache/obs/worker/root_19/root: 33002
> [  337s] qemu-system-aarch64: terminating on signal 15 from pid 3472 ()
> [  337s] ### VM INTERACTION END ###
> [  337s] /var/run/obs/worker/19/build/build-vm: line 458: kill: (32991) - No 
> such process
> [  337s] No buildstatus set, either the base system is broken 
> (kernel/initrd/udev/glibc/bash/perl)
> [  337s] or the build host has a kernel or hardware problem...
> 
> gave up after 18 failed build attempts...
> 
> -- 
> Configure notifications at https://build.opensuse.org/user/notifications
> openSUSE Build Service (https://build.opensuse.org/)

-- 
- Neels Hofmeyr   http://www.sysmocom.de/
===
* sysmocom - systems for mobile communications GmbH
* Alt-Moabit 93
* 10559 Berlin, Germany
* Sitz / Registered office: Berlin, HRB 134158 B
* Geschäftsführer / Managing Directors: Harald Welte


signature.asc
Description: PGP signature


Jenkins build is back to normal : master-asn1c » a1=default,a2=default,a3=default,osmocom-master-debian9 #123

2018-05-15 Thread jenkins
See 




Build failure of network:osmocom:nightly/binutils-arm-osmo-eabi in Debian_9.0/aarch64

2018-05-15 Thread OBS Notification
Visit 
https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/binutils-arm-osmo-eabi/Debian_9.0/aarch64

Package network:osmocom:nightly/binutils-arm-osmo-eabi failed to build in 
Debian_9.0/aarch64

Check out the package for editing:
  osc checkout network:osmocom:nightly binutils-arm-osmo-eabi

Last lines of build log:
[  270s] [  245.674889] dracut-initqueue[464]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  270s] [  246.345509] dracut-initqueue[464]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  271s] [  246.994845] dracut-initqueue[464]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  272s] [  247.645514] dracut-initqueue[464]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  272s] [  248.304884] dracut-initqueue[464]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  272s] [  248.312605] dracut-initqueue[464]: Warning: Could not boot.
[  272s]  Starting Setup Virtual Console...
[  272s] [  OK  ] Started Setup Virtual Console.
[  272s]  Starting Dracut Emergency Shell...
[  272s] Warning: /dev/disk/by-uuid/00750419-b769-40be-aa7a-a81dca13c577 does 
not exist
[  272s] 
[  272s] Generating "/run/initramfs/rdsosreport.txt"
[  273s] 
[  273s] 
[  273s] Entering emergency mode. Exit the shell to continue.
[  273s] Type "journalctl" to view system logs.
[  273s] You might want to save "/run/initramfs/rdsosreport.txt" to a USB stick 
or /boot
[  273s] after mounting them and attach it to a bug report.
[  273s] 
[  273s] 
[  329s] dracut:/# ### WATCHDOG TRIGGERED, KILLING VM ###
[  330s] /var/cache/obs/worker/root_4/root: 48604
[  330s] qemu-system-aarch64: terminating on signal 15 from pid 11499 ()
[  330s] ### VM INTERACTION END ###
[  330s] /var/run/obs/worker/4/build/build-vm: line 458: kill: (48597) - No 
such process
[  330s] No buildstatus set, either the base system is broken 
(kernel/initrd/udev/glibc/bash/perl)
[  330s] or the build host has a kernel or hardware problem...

gave up after 9 failed build attempts...

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


Change in libosmo-sccp[master]: free msgb for primitive allocated in lm_timer_cb() of lm_fsm

2018-05-15 Thread Harald Welte
Harald Welte has submitted this change and it was merged. ( 
https://gerrit.osmocom.org/8065 )

Change subject: free msgb for primitive allocated in lm_timer_cb() of lm_fsm
..

free msgb for primitive allocated in lm_timer_cb() of lm_fsm

A primitive allocated in lm_timer_cb() with xua_xlm_prim_alloc()
was never freed. Don't forget to free the msgb in osmo_xlm_sap_down().

Found by code inspection.

Also, assert that allocation suceeded like we do elsewhere.

Change-Id: Ie667b1b8beeda2aa4520a1413f51101435215cc0
Related: OS#2449
---
M src/xua_default_lm_fsm.c
M src/xua_rkm.c
2 files changed, 2 insertions(+), 0 deletions(-)

Approvals:
  Jenkins Builder: Verified
  Harald Welte: Looks good to me, approved



diff --git a/src/xua_default_lm_fsm.c b/src/xua_default_lm_fsm.c
index eba89c2..11a97a2 100644
--- a/src/xua_default_lm_fsm.c
+++ b/src/xua_default_lm_fsm.c
@@ -175,6 +175,7 @@
 * let's dynamically register */
osmo_fsm_inst_state_chg(fi, S_RKM_REG, 10, T_WAIT_RK_REG_RESP);
prim = xua_xlm_prim_alloc(OSMO_XLM_PRIM_M_RK_REG, 
PRIM_OP_REQUEST);
+   OSMO_ASSERT(prim);
as = find_first_as_in_asp(lmp->asp);
if (!as) {
LOGPFSML(fi, LOGL_ERROR, "Unable to find AS!\n");
diff --git a/src/xua_rkm.c b/src/xua_rkm.c
index b3c5be7..b79f7f3 100644
--- a/src/xua_rkm.c
+++ b/src/xua_rkm.c
@@ -545,6 +545,7 @@
break;
}

+   msgb_free(prim->oph.msg);
return 0;
 }


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

Gerrit-Project: libosmo-sccp
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Ie667b1b8beeda2aa4520a1413f51101435215cc0
Gerrit-Change-Number: 8065
Gerrit-PatchSet: 2
Gerrit-Owner: Stefan Sperling 
Gerrit-Reviewer: Harald Welte 
Gerrit-Reviewer: Jenkins Builder


Change in libosmo-sccp[master]: free msgb for primitive allocated in lm_timer_cb() of lm_fsm

2018-05-15 Thread Harald Welte
Harald Welte has posted comments on this change. ( 
https://gerrit.osmocom.org/8065 )

Change subject: free msgb for primitive allocated in lm_timer_cb() of lm_fsm
..


Patch Set 2: Code-Review+2


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

Gerrit-Project: libosmo-sccp
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ie667b1b8beeda2aa4520a1413f51101435215cc0
Gerrit-Change-Number: 8065
Gerrit-PatchSet: 2
Gerrit-Owner: Stefan Sperling 
Gerrit-Reviewer: Harald Welte 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Comment-Date: Tue, 15 May 2018 12:30:12 +
Gerrit-HasComments: No
Gerrit-HasLabels: Yes


Change in osmo-bsc[master]: Bump version: 1.2.0.9-a7008 → 1.2.1

2018-05-15 Thread Pau Espin Pedrol
Pau Espin Pedrol has submitted this change and it was merged. ( 
https://gerrit.osmocom.org/9163 )

Change subject: Bump version: 1.2.0.9-a7008 → 1.2.1
..

Bump version: 1.2.0.9-a7008 → 1.2.1

Change-Id: I5f6135b7e16cac95c58a1bbc147234e10ee37574
---
M debian/changelog
1 file changed, 23 insertions(+), 0 deletions(-)

Approvals:
  Jenkins Builder: Verified
  Harald Welte: Looks good to me, approved



diff --git a/debian/changelog b/debian/changelog
index a8e2631..461b0c9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,26 @@
+osmo-bsc (1.2.1) unstable; urgency=medium
+
+  [ Philipp Maier ]
+  * bsc_api/GSCON: prevent unnecessary channel mode modifications
+
+  [ Neels Hofmeyr ]
+  * resurrect meas_feed.c: vty, vty-test
+  * dyn ts, bts_ipaccess_nanobts.c: init PDCH on Chan OPSTART ACK
+  * dyn TS, assignment: set lchan state to LCHAN_S_ACT_REQ in the proper place
+  * dyn TS, assignment: allow switch from PDCH with associated conn
+  * dyn TS: init only when both RSL and the Channel OM are established
+  * dyn TS: allow any pchan type changes, fix for gprs mode none
+  * debug log: verbosely log all lchan alloc choices
+  * deprecate dyn_ts_allow_tch_f and by default allow all TCH
+  * fix default fallbacks in audio_support_to_gsm88()
+  * log: indicate hr/fr in audio_support_to_gsm88() error
+  * cosmetic: dyn ts init: undup logging for gprs = none
+
+  [ Vadim Yanitskiy ]
+  * osmo_bsc_vty.c: fix: write MGW configuration
+
+ -- Pau Espin Pedrol   Tue, 15 May 2018 14:10:38 +0200
+
 osmo-bsc (1.2.0) unstable; urgency=medium

   [ Neels Hofmeyr ]

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

Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I5f6135b7e16cac95c58a1bbc147234e10ee37574
Gerrit-Change-Number: 9163
Gerrit-PatchSet: 1
Gerrit-Owner: Pau Espin Pedrol 
Gerrit-Reviewer: Harald Welte 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Pau Espin Pedrol 


Change in osmo-bts[master]: Bump version: 0.8.0.16-6a9a → 0.8.1

2018-05-15 Thread Pau Espin Pedrol
Pau Espin Pedrol has submitted this change and it was merged. ( 
https://gerrit.osmocom.org/9162 )

Change subject: Bump version: 0.8.0.16-6a9a → 0.8.1
..

Bump version: 0.8.0.16-6a9a → 0.8.1

Change-Id: Idee331e94cf00dac4cff29c32453d2bc6780548a
---
M debian/changelog
1 file changed, 26 insertions(+), 0 deletions(-)

Approvals:
  Jenkins Builder: Verified
  Harald Welte: Looks good to me, approved



diff --git a/debian/changelog b/debian/changelog
index 39409d0..09e2a83 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,29 @@
+osmo-bts (0.8.1) unstable; urgency=medium
+
+  [ Neels Hofmeyr ]
+  * cosmetic: dyn TS: clarify rsl_tx_rf_rel_ack() with a switch
+  * dyn TS: fix TCH/F_TCH/H_PDCH: properly record release of PDCH TS
+  * dyn TS: rx_rf_chan_rel: properly mark PDCH rel when no PCU, clarify
+  * dyn TS: clear TCH state upon reconnecting as PDCH
+  * cosmetic: dyn TS: clarify chan_nr composition
+  * ignore RSL RF CHAN REL for inactive lchans
+  * fix RSL Chan Activ Nack messages
+  * ip.access dyn ts: properly NACK a PDCH ACT on a still active lchan
+  * add/improve various logging around dyn ts
+  * dyn TS: be less strict on chan_nr, to allow arbitrary pchan switches
+
+  [ Stefan Sperling ]
+  * send a State Changed Event Report when rf is locked/unlocked
+
+  [ Harald Welte ]
+  * rsl: log errors when parsing of  encryption information fails
+  * rsl: Make channel activation fail if encryption algorithm not supported
+  * rsl: Properly NACK CHAN_ACKT / MODE_MODIFY
+  * rsl: If CHAN ACT or MODE MODIF fails, send respective NACK
+  * osmo-bts-trx: Enable A5/3 cipher support
+
+ -- Pau Espin Pedrol   Tue, 15 May 2018 14:08:47 +0200
+
 osmo-bts (0.8.0) unstable; urgency=medium

   [ Neels Hofmeyr ]

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

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Idee331e94cf00dac4cff29c32453d2bc6780548a
Gerrit-Change-Number: 9162
Gerrit-PatchSet: 1
Gerrit-Owner: Pau Espin Pedrol 
Gerrit-Reviewer: Harald Welte 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Pau Espin Pedrol 


Change in osmo-bts[master]: let osmo-bts log a special notice if OML connection is closed early

2018-05-15 Thread Harald Welte
Harald Welte has posted comments on this change. ( 
https://gerrit.osmocom.org/8056 )

Change subject: let osmo-bts log a special notice if OML connection is closed 
early
..


Patch Set 3: Code-Review+2


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

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I476ac797458b5a46edea3ae9cfbd491fd7f77f47
Gerrit-Change-Number: 8056
Gerrit-PatchSet: 3
Gerrit-Owner: Stefan Sperling 
Gerrit-Reviewer: Harald Welte 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Stefan Sperling 
Gerrit-Comment-Date: Tue, 15 May 2018 12:28:42 +
Gerrit-HasComments: No
Gerrit-HasLabels: Yes


Change in osmo-bsc[master]: Bump version: 1.2.0.9-a7008 → 1.2.1

2018-05-15 Thread Harald Welte
Harald Welte has posted comments on this change. ( 
https://gerrit.osmocom.org/9163 )

Change subject: Bump version: 1.2.0.9-a7008 → 1.2.1
..


Patch Set 1: Code-Review+2


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

Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I5f6135b7e16cac95c58a1bbc147234e10ee37574
Gerrit-Change-Number: 9163
Gerrit-PatchSet: 1
Gerrit-Owner: Pau Espin Pedrol 
Gerrit-Reviewer: Harald Welte 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Comment-Date: Tue, 15 May 2018 12:28:12 +
Gerrit-HasComments: No
Gerrit-HasLabels: Yes


Change in osmo-bts[master]: Bump version: 0.8.0.16-6a9a → 0.8.1

2018-05-15 Thread Harald Welte
Harald Welte has posted comments on this change. ( 
https://gerrit.osmocom.org/9162 )

Change subject: Bump version: 0.8.0.16-6a9a → 0.8.1
..


Patch Set 1: Code-Review+2


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

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Idee331e94cf00dac4cff29c32453d2bc6780548a
Gerrit-Change-Number: 9162
Gerrit-PatchSet: 1
Gerrit-Owner: Pau Espin Pedrol 
Gerrit-Reviewer: Harald Welte 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Comment-Date: Tue, 15 May 2018 12:28:16 +
Gerrit-HasComments: No
Gerrit-HasLabels: Yes


Change in osmo-bsc[master]: Bump version: 1.2.0.9-a7008 → 1.2.1

2018-05-15 Thread Pau Espin Pedrol
Pau Espin Pedrol has uploaded this change for review. ( 
https://gerrit.osmocom.org/9163


Change subject: Bump version: 1.2.0.9-a7008 → 1.2.1
..

Bump version: 1.2.0.9-a7008 → 1.2.1

Change-Id: I5f6135b7e16cac95c58a1bbc147234e10ee37574
---
M debian/changelog
1 file changed, 23 insertions(+), 0 deletions(-)



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

diff --git a/debian/changelog b/debian/changelog
index a8e2631..461b0c9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,26 @@
+osmo-bsc (1.2.1) unstable; urgency=medium
+
+  [ Philipp Maier ]
+  * bsc_api/GSCON: prevent unnecessary channel mode modifications
+
+  [ Neels Hofmeyr ]
+  * resurrect meas_feed.c: vty, vty-test
+  * dyn ts, bts_ipaccess_nanobts.c: init PDCH on Chan OPSTART ACK
+  * dyn TS, assignment: set lchan state to LCHAN_S_ACT_REQ in the proper place
+  * dyn TS, assignment: allow switch from PDCH with associated conn
+  * dyn TS: init only when both RSL and the Channel OM are established
+  * dyn TS: allow any pchan type changes, fix for gprs mode none
+  * debug log: verbosely log all lchan alloc choices
+  * deprecate dyn_ts_allow_tch_f and by default allow all TCH
+  * fix default fallbacks in audio_support_to_gsm88()
+  * log: indicate hr/fr in audio_support_to_gsm88() error
+  * cosmetic: dyn ts init: undup logging for gprs = none
+
+  [ Vadim Yanitskiy ]
+  * osmo_bsc_vty.c: fix: write MGW configuration
+
+ -- Pau Espin Pedrol   Tue, 15 May 2018 14:10:38 +0200
+
 osmo-bsc (1.2.0) unstable; urgency=medium

   [ Neels Hofmeyr ]

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

Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I5f6135b7e16cac95c58a1bbc147234e10ee37574
Gerrit-Change-Number: 9163
Gerrit-PatchSet: 1
Gerrit-Owner: Pau Espin Pedrol 


Change in osmo-bts[master]: let osmo-bts log a special notice if OML connection is closed early

2018-05-15 Thread Stefan Sperling
Stefan Sperling has posted comments on this change. ( 
https://gerrit.osmocom.org/8056 )

Change subject: let osmo-bts log a special notice if OML connection is closed 
early
..


Patch Set 3:

> (1 comment)

Log level set to FATAL in patch set 3.


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

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I476ac797458b5a46edea3ae9cfbd491fd7f77f47
Gerrit-Change-Number: 8056
Gerrit-PatchSet: 3
Gerrit-Owner: Stefan Sperling 
Gerrit-Reviewer: Harald Welte 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Stefan Sperling 
Gerrit-Comment-Date: Tue, 15 May 2018 12:11:20 +
Gerrit-HasComments: No
Gerrit-HasLabels: No


Change in osmo-bts[master]: let osmo-bts log a special notice if OML connection is closed early

2018-05-15 Thread Stefan Sperling
Hello Harald Welte, Jenkins Builder,

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

https://gerrit.osmocom.org/8056

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

Change subject: let osmo-bts log a special notice if OML connection is closed 
early
..

let osmo-bts log a special notice if OML connection is closed early

A frequent configuration file error is that the unit_id settings of
osmo-bts and osmo-bsc don't match. The BSC already prints an error
in this case. Let the BTS print an error as well.

We use a heuristic for this purpose: If the OML link is dropped within
10 seconds after being established, log a special warning which alerts
the user and recommend a manual configuration file check.

Change-Id: I476ac797458b5a46edea3ae9cfbd491fd7f77f47
Related: OS#3143
---
M include/osmo-bts/gsm_data_shared.h
M src/common/abis.c
2 files changed, 23 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/56/8056/3
--
To view, visit https://gerrit.osmocom.org/8056
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I476ac797458b5a46edea3ae9cfbd491fd7f77f47
Gerrit-Change-Number: 8056
Gerrit-PatchSet: 3
Gerrit-Owner: Stefan Sperling 
Gerrit-Reviewer: Harald Welte 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Stefan Sperling 


Change in osmo-bts[master]: Bump version: 0.8.0.16-6a9a → 0.8.1

2018-05-15 Thread Pau Espin Pedrol
Pau Espin Pedrol has uploaded this change for review. ( 
https://gerrit.osmocom.org/9162


Change subject: Bump version: 0.8.0.16-6a9a → 0.8.1
..

Bump version: 0.8.0.16-6a9a → 0.8.1

Change-Id: Idee331e94cf00dac4cff29c32453d2bc6780548a
---
M debian/changelog
1 file changed, 26 insertions(+), 0 deletions(-)



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

diff --git a/debian/changelog b/debian/changelog
index 39409d0..09e2a83 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,29 @@
+osmo-bts (0.8.1) unstable; urgency=medium
+
+  [ Neels Hofmeyr ]
+  * cosmetic: dyn TS: clarify rsl_tx_rf_rel_ack() with a switch
+  * dyn TS: fix TCH/F_TCH/H_PDCH: properly record release of PDCH TS
+  * dyn TS: rx_rf_chan_rel: properly mark PDCH rel when no PCU, clarify
+  * dyn TS: clear TCH state upon reconnecting as PDCH
+  * cosmetic: dyn TS: clarify chan_nr composition
+  * ignore RSL RF CHAN REL for inactive lchans
+  * fix RSL Chan Activ Nack messages
+  * ip.access dyn ts: properly NACK a PDCH ACT on a still active lchan
+  * add/improve various logging around dyn ts
+  * dyn TS: be less strict on chan_nr, to allow arbitrary pchan switches
+
+  [ Stefan Sperling ]
+  * send a State Changed Event Report when rf is locked/unlocked
+
+  [ Harald Welte ]
+  * rsl: log errors when parsing of  encryption information fails
+  * rsl: Make channel activation fail if encryption algorithm not supported
+  * rsl: Properly NACK CHAN_ACKT / MODE_MODIFY
+  * rsl: If CHAN ACT or MODE MODIF fails, send respective NACK
+  * osmo-bts-trx: Enable A5/3 cipher support
+
+ -- Pau Espin Pedrol   Tue, 15 May 2018 14:08:47 +0200
+
 osmo-bts (0.8.0) unstable; urgency=medium

   [ Neels Hofmeyr ]

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

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Idee331e94cf00dac4cff29c32453d2bc6780548a
Gerrit-Change-Number: 9162
Gerrit-PatchSet: 1
Gerrit-Owner: Pau Espin Pedrol 


Change in osmo-hlr[master]: move creation of insert subscriber data messages to a common function

2018-05-15 Thread Stefan Sperling
Hello neels, Neels Hofmeyr, Harald Welte, Jenkins Builder,

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

https://gerrit.osmocom.org/7992

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

Change subject: move creation of insert subscriber data messages to a common 
function
..

move creation of insert subscriber data messages to a common function

Move code to create an Insert Subscriber Data message into a common
function which can be shared by hlr.c and luop.c.

As a consequence, we always encode gsup.cn_domain in the corresponding
msgb and must adjust expected output of the 'gsup' test accordingly.

Change-Id: I6a92ca34cdaadca9eacc774bb1ca386c325ba865
Requested-by: neels
Related: OS#2785
---
M src/gsup_server.c
M src/gsup_server.h
M src/hlr.c
M src/luop.c
M tests/gsup/gsup_test.err
5 files changed, 103 insertions(+), 67 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-hlr refs/changes/92/7992/5
--
To view, visit https://gerrit.osmocom.org/7992
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-hlr
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I6a92ca34cdaadca9eacc774bb1ca386c325ba865
Gerrit-Change-Number: 7992
Gerrit-PatchSet: 5
Gerrit-Owner: Stefan Sperling 
Gerrit-Reviewer: Harald Welte 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Neels Hofmeyr 
Gerrit-Reviewer: Stefan Sperling 
Gerrit-Reviewer: neels 


Build failure of network:osmocom:nightly/osmo-sgsn in Debian_9.0/aarch64

2018-05-15 Thread OBS Notification
Visit 
https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/osmo-sgsn/Debian_9.0/aarch64

Package network:osmocom:nightly/osmo-sgsn failed to build in Debian_9.0/aarch64

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

Last lines of build log:
[  272s] [  245.194987] dracut-initqueue[471]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  272s] [  245.855673] dracut-initqueue[471]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  273s] [  246.515140] dracut-initqueue[471]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  274s] [  247.185542] dracut-initqueue[471]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  274s] [  247.834883] dracut-initqueue[471]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  274s] [  247.841695] dracut-initqueue[471]: Warning: Could not boot.
[  274s]  Starting Setup Virtual Console...
[  274s] [  OK  ] Started Setup Virtual Console.
[  274s]  Starting Dracut Emergency Shell...
[  274s] Warning: /dev/disk/by-uuid/00750419-b769-40be-aa7a-a81dca13c577 does 
not exist
[  274s] 
[  274s] Generating "/run/initramfs/rdsosreport.txt"
[  275s] 
[  275s] 
[  275s] Entering emergency mode. Exit the shell to continue.
[  275s] Type "journalctl" to view system logs.
[  275s] You might want to save "/run/initramfs/rdsosreport.txt" to a USB stick 
or /boot
[  275s] after mounting them and attach it to a bug report.
[  275s] 
[  275s] 
[  337s] dracut:/# ### WATCHDOG TRIGGERED, KILLING VM ###
[  337s] /var/cache/obs/worker/root_19/root: 33002
[  337s] qemu-system-aarch64: terminating on signal 15 from pid 3472 ()
[  337s] ### VM INTERACTION END ###
[  337s] /var/run/obs/worker/19/build/build-vm: line 458: kill: (32991) - No 
such process
[  337s] No buildstatus set, either the base system is broken 
(kernel/initrd/udev/glibc/bash/perl)
[  337s] or the build host has a kernel or hardware problem...

gave up after 18 failed build attempts...

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


Change in libosmo-sccp[master]: free msgb for primitive allocated in lm_timer_cb() of lm_fsm

2018-05-15 Thread Stefan Sperling
Hello Harald Welte, Jenkins Builder,

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

https://gerrit.osmocom.org/8065

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

Change subject: free msgb for primitive allocated in lm_timer_cb() of lm_fsm
..

free msgb for primitive allocated in lm_timer_cb() of lm_fsm

A primitive allocated in lm_timer_cb() with xua_xlm_prim_alloc()
was never freed. Don't forget to free the msgb in osmo_xlm_sap_down().

Found by code inspection.

Also, assert that allocation suceeded like we do elsewhere.

Change-Id: Ie667b1b8beeda2aa4520a1413f51101435215cc0
Related: OS#2449
---
M src/xua_default_lm_fsm.c
M src/xua_rkm.c
2 files changed, 2 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/libosmo-sccp refs/changes/65/8065/2
--
To view, visit https://gerrit.osmocom.org/8065
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: libosmo-sccp
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Ie667b1b8beeda2aa4520a1413f51101435215cc0
Gerrit-Change-Number: 8065
Gerrit-PatchSet: 2
Gerrit-Owner: Stefan Sperling 
Gerrit-Reviewer: Harald Welte 
Gerrit-Reviewer: Jenkins Builder


Build failure of network:osmocom:nightly/osmo-msc in Debian_9.0/aarch64

2018-05-15 Thread OBS Notification
Visit 
https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/osmo-msc/Debian_9.0/aarch64

Package network:osmocom:nightly/osmo-msc failed to build in Debian_9.0/aarch64

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

Last lines of build log:
[  270s] [  245.704965] dracut-initqueue[464]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  271s] [  246.355626] dracut-initqueue[464]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  271s] [  247.024937] dracut-initqueue[464]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  272s] [  247.665674] dracut-initqueue[464]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  272s] [  248.314951] dracut-initqueue[464]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  272s] [  248.321907] dracut-initqueue[464]: Warning: Could not boot.
[  273s]  Starting Setup Virtual Console...
[  273s] [  OK  ] Started Setup Virtual Console.
[  273s]  Starting Dracut Emergency Shell...
[  273s] Warning: /dev/disk/by-uuid/00750419-b769-40be-aa7a-a81dca13c577 does 
not exist
[  273s] 
[  273s] Generating "/run/initramfs/rdsosreport.txt"
[  273s] 
[  273s] 
[  273s] Entering emergency mode. Exit the shell to continue.
[  273s] Type "journalctl" to view system logs.
[  273s] You might want to save "/run/initramfs/rdsosreport.txt" to a USB stick 
or /boot
[  273s] after mounting them and attach it to a bug report.
[  273s] 
[  273s] 
[  329s] dracut:/# ### WATCHDOG TRIGGERED, KILLING VM ###
[  330s] /var/cache/obs/worker/root_16/root: 25847
[  330s] qemu-system-aarch64: terminating on signal 15 from pid 30387 ()
[  330s] ### VM INTERACTION END ###
[  330s] /var/run/obs/worker/16/build/build-vm: line 458: kill: (25840) - No 
such process
[  330s] No buildstatus set, either the base system is broken 
(kernel/initrd/udev/glibc/bash/perl)
[  330s] or the build host has a kernel or hardware problem...

gave up after 13 failed build attempts...

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


Build failure of network:osmocom:nightly/openbsc in Debian_9.0/aarch64

2018-05-15 Thread OBS Notification
Visit 
https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/openbsc/Debian_9.0/aarch64

Package network:osmocom:nightly/openbsc failed to build in Debian_9.0/aarch64

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

Last lines of build log:
[  271s] [  245.475044] dracut-initqueue[451]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  272s] [  246.135686] dracut-initqueue[451]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  273s] [  246.764978] dracut-initqueue[451]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  273s] [  247.435604] dracut-initqueue[451]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  274s] [  248.084962] dracut-initqueue[451]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  274s] [  248.091909] dracut-initqueue[451]: Warning: Could not boot.
[  274s]  Starting Setup Virtual Console...
[  274s] [  OK  ] Started Setup Virtual Console.
[  274s]  Starting Dracut Emergency Shell...
[  274s] Warning: /dev/disk/by-uuid/00750419-b769-40be-aa7a-a81dca13c577 does 
not exist
[  274s] 
[  274s] Generating "/run/initramfs/rdsosreport.txt"
[  274s] 
[  274s] 
[  274s] Entering emergency mode. Exit the shell to continue.
[  274s] Type "journalctl" to view system logs.
[  274s] You might want to save "/run/initramfs/rdsosreport.txt" to a USB stick 
or /boot
[  274s] after mounting them and attach it to a bug report.
[  274s] 
[  274s] 
[  331s] dracut:/# ### WATCHDOG TRIGGERED, KILLING VM ###
[  332s] /var/cache/obs/worker/root_6/root: 32955
[  332s] qemu-system-aarch64: terminating on signal 15 from pid 3354 ()
[  332s] ### VM INTERACTION END ###
[  332s] /var/run/obs/worker/6/build/build-vm: line 458: kill: (32946) - No 
such process
[  332s] No buildstatus set, either the base system is broken 
(kernel/initrd/udev/glibc/bash/perl)
[  332s] or the build host has a kernel or hardware problem...

gave up after 12 failed build attempts...

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


Build failure of network:osmocom:nightly/osmo-hlr in Debian_9.0/aarch64

2018-05-15 Thread OBS Notification
Visit 
https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/osmo-hlr/Debian_9.0/aarch64

Package network:osmocom:nightly/osmo-hlr failed to build in Debian_9.0/aarch64

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

Last lines of build log:
[  258s] [  234.426177] dracut-initqueue[483]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  259s] [  235.051796] dracut-initqueue[483]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  259s] [  235.693155] dracut-initqueue[483]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  260s] [  236.329357] dracut-initqueue[483]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  261s] [  237.040313] dracut-initqueue[483]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  261s] [  237.044131] dracut-initqueue[483]: Warning: Could not boot.
[  261s]  Starting Setup Virtual Console...
[  261s] [  OK  ] Started Setup Virtual Console.
[  261s]  Starting Dracut Emergency Shell...
[  261s] Warning: /dev/disk/by-uuid/00750419-b769-40be-aa7a-a81dca13c577 does 
not exist
[  261s] 
[  261s] Generating "/run/initramfs/rdsosreport.txt"
[  261s] 
[  261s] 
[  261s] Entering emergency mode. Exit the shell to continue.
[  261s] Type "journalctl" to view system logs.
[  261s] You might want to save "/run/initramfs/rdsosreport.txt" to a USB stick 
or /boot
[  261s] after mounting them and attach it to a bug report.
[  261s] 
[  261s] 
[  327s] dracut:/# ### WATCHDOG TRIGGERED, KILLING VM ###
[  328s] /var/cache/obs/worker/root_4/root: 39824
[  328s] qemu-system-aarch64: terminating on signal 15 from pid 7395 ()
[  328s] ### VM INTERACTION END ###
[  328s] /var/run/obs/worker/4/build/build-vm: line 458: kill: (39809) - No 
such process
[  328s] No buildstatus set, either the base system is broken 
(kernel/initrd/udev/glibc/bash/perl)
[  328s] or the build host has a kernel or hardware problem...

gave up after 11 failed build attempts...

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


Build failure of network:osmocom:nightly/libosmo-sccp in Debian_9.0/aarch64

2018-05-15 Thread OBS Notification
Visit 
https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/libosmo-sccp/Debian_9.0/aarch64

Package network:osmocom:nightly/libosmo-sccp failed to build in 
Debian_9.0/aarch64

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

Last lines of build log:
[  274s] [  245.645315] dracut-initqueue[475]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  275s] [  246.334362] dracut-initqueue[475]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  275s] [  246.995396] dracut-initqueue[475]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  276s] [  247.685933] dracut-initqueue[475]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  277s] [  248.355494] dracut-initqueue[475]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  277s] [  248.363594] dracut-initqueue[475]: Warning: Could not boot.
[  277s]  Starting Setup Virtual Console...
[  277s] [  OK  ] Started Setup Virtual Console.
[  277s]  Starting Dracut Emergency Shell...
[  277s] Warning: /dev/disk/by-uuid/00750419-b769-40be-aa7a-a81dca13c577 does 
not exist
[  277s] 
[  277s] Generating "/run/initramfs/rdsosreport.txt"
[  277s] 
[  277s] 
[  277s] Entering emergency mode. Exit the shell to continue.
[  277s] Type "journalctl" to view system logs.
[  277s] You might want to save "/run/initramfs/rdsosreport.txt" to a USB stick 
or /boot
[  277s] after mounting them and attach it to a bug report.
[  277s] 
[  277s] 
[  333s] dracut:/# ### WATCHDOG TRIGGERED, KILLING VM ###
[  334s] /var/cache/obs/worker/root_6/root: 28632
[  334s] qemu-system-aarch64: terminating on signal 15 from pid 23885 ()
[  334s] ### VM INTERACTION END ###
[  334s] /var/run/obs/worker/6/build/build-vm: line 458: kill: (28616) - No 
such process
[  334s] No buildstatus set, either the base system is broken 
(kernel/initrd/udev/glibc/bash/perl)
[  334s] or the build host has a kernel or hardware problem...

gave up after 10 failed build attempts...

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


Build failure of network:osmocom:nightly/osmo-mgw in Debian_9.0/aarch64

2018-05-15 Thread OBS Notification
Visit 
https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/osmo-mgw/Debian_9.0/aarch64

Package network:osmocom:nightly/osmo-mgw failed to build in Debian_9.0/aarch64

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

Last lines of build log:
[  269s] [  245.661646] dracut-initqueue[470]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  270s] [  246.305706] dracut-initqueue[470]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  270s] [  246.975047] dracut-initqueue[470]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  271s] [  247.635740] dracut-initqueue[470]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  272s] [  248.305032] dracut-initqueue[470]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  272s] [  248.311997] dracut-initqueue[470]: Warning: Could not boot.
[  272s]  Starting Setup Virtual Console...
[  272s] [  OK  ] Started Setup Virtual Console.
[  272s]  Starting Dracut Emergency Shell...
[  272s] Warning: /dev/disk/by-uuid/00750419-b769-40be-aa7a-a81dca13c577 does 
not exist
[  272s] 
[  272s] Generating "/run/initramfs/rdsosreport.txt"
[  272s] 
[  272s] 
[  272s] Entering emergency mode. Exit the shell to continue.
[  272s] Type "journalctl" to view system logs.
[  272s] You might want to save "/run/initramfs/rdsosreport.txt" to a USB stick 
or /boot
[  272s] after mounting them and attach it to a bug report.
[  272s] 
[  272s] 
[  334s] dracut:/# ### WATCHDOG TRIGGERED, KILLING VM ###
[  334s] /var/cache/obs/worker/root_16/root: 47992
[  334s] qemu-system-aarch64: terminating on signal 15 from pid 22592 ()
[  334s] ### VM INTERACTION END ###
[  334s] /var/run/obs/worker/16/build/build-vm: line 458: kill: (47984) - No 
such process
[  334s] No buildstatus set, either the base system is broken 
(kernel/initrd/udev/glibc/bash/perl)
[  334s] or the build host has a kernel or hardware problem...

gave up after 10 failed build attempts...

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


Change in osmo-gsm-tester[master]: tests: dyn_ts_*: Add tests to verify dyn ts with gprs disabled

2018-05-15 Thread Pau Espin Pedrol
Pau Espin Pedrol has uploaded this change for review. ( 
https://gerrit.osmocom.org/9161


Change subject: tests: dyn_ts_*: Add tests to verify dyn ts with gprs disabled
..

tests: dyn_ts_*: Add tests to verify dyn ts with gprs disabled

Change-Id: If943ae0fb4e56787df02b09dea7387cb13eb9db3
---
M suites/dyn_ts_ipa/mo_mt_call_dyn_ipa.py
A suites/dyn_ts_ipa/mo_mt_call_dyn_ipa_no_gprs.py
M suites/dyn_ts_osmo/mo_mt_call_dyn_osmo.py
A suites/dyn_ts_osmo/mo_mt_call_dyn_osmo_no_gprs.py
4 files changed, 42 insertions(+), 8 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-gsm-tester refs/changes/61/9161/1

diff --git a/suites/dyn_ts_ipa/mo_mt_call_dyn_ipa.py 
b/suites/dyn_ts_ipa/mo_mt_call_dyn_ipa.py
index 82e357c..4fe4e46 100755
--- a/suites/dyn_ts_ipa/mo_mt_call_dyn_ipa.py
+++ b/suites/dyn_ts_ipa/mo_mt_call_dyn_ipa.py
@@ -16,8 +16,4 @@
 bts.set_trx_phy_channel(0, 6, 'TCH/F_PDCH')
 bts.set_trx_phy_channel(0, 7, 'PDCH')

-#FIXME: if we don't enable gprs (gprs none in BSC vty) then dyn chans are 
broken, see OS#3244
-# Once Fixed, add a new test with following test:
-#call_test_setup_run(bts_setup_cb=my_bts_setup, gprs_enable=False)
-
 call_test_setup_run(bts_setup_cb=my_bts_setup, gprs_enable=True)
diff --git a/suites/dyn_ts_ipa/mo_mt_call_dyn_ipa_no_gprs.py 
b/suites/dyn_ts_ipa/mo_mt_call_dyn_ipa_no_gprs.py
new file mode 100755
index 000..c1349ae
--- /dev/null
+++ b/suites/dyn_ts_ipa/mo_mt_call_dyn_ipa_no_gprs.py
@@ -0,0 +1,21 @@
+#!/usr/bin/env python3
+from osmo_gsm_tester.testenv import *
+
+import testlib
+suite.test_import_modules_register_for_cleanup(testlib)
+from testlib import call_test_setup_run
+
+def my_bts_setup(bts):
+bts.set_num_trx(1)
+bts.set_trx_phy_channel(0, 0, 'CCCH+SDCCH4')
+bts.set_trx_phy_channel(0, 1, 'SDCCH8')
+bts.set_trx_phy_channel(0, 2, 'TCH/F_PDCH')
+bts.set_trx_phy_channel(0, 3, 'TCH/F_PDCH')
+bts.set_trx_phy_channel(0, 4, 'TCH/F_PDCH')
+bts.set_trx_phy_channel(0, 5, 'TCH/F_PDCH')
+bts.set_trx_phy_channel(0, 6, 'TCH/F_PDCH')
+bts.set_trx_phy_channel(0, 7, 'TCH/F_PDCH')
+
+# Check that dynamic timeslots work fine with gprs disabled.
+
+call_test_setup_run(bts_setup_cb=my_bts_setup, gprs_enable=False)
diff --git a/suites/dyn_ts_osmo/mo_mt_call_dyn_osmo.py 
b/suites/dyn_ts_osmo/mo_mt_call_dyn_osmo.py
index 1424da8..b9b7935 100755
--- a/suites/dyn_ts_osmo/mo_mt_call_dyn_osmo.py
+++ b/suites/dyn_ts_osmo/mo_mt_call_dyn_osmo.py
@@ -16,8 +16,4 @@
 bts.set_trx_phy_channel(0, 6, 'TCH/F_TCH/H_PDCH')
 bts.set_trx_phy_channel(0, 7, 'PDCH')

-#FIXME: if we don't enable gprs (gprs none in BSC vty) then dyn chans are 
broken, see OS#3244
-# Once Fixed, add a new test with following test:
-#call_test_setup_run(bts_setup_cb=my_bts_setup, gprs_enable=False)
-
 call_test_setup_run(bts_setup_cb=my_bts_setup, gprs_enable=True)
diff --git a/suites/dyn_ts_osmo/mo_mt_call_dyn_osmo_no_gprs.py 
b/suites/dyn_ts_osmo/mo_mt_call_dyn_osmo_no_gprs.py
new file mode 100755
index 000..d80d27a
--- /dev/null
+++ b/suites/dyn_ts_osmo/mo_mt_call_dyn_osmo_no_gprs.py
@@ -0,0 +1,21 @@
+#!/usr/bin/env python3
+from osmo_gsm_tester.testenv import *
+
+import testlib
+suite.test_import_modules_register_for_cleanup(testlib)
+from testlib import call_test_setup_run
+
+def my_bts_setup(bts):
+bts.set_num_trx(1)
+bts.set_trx_phy_channel(0, 0, 'CCCH+SDCCH4')
+bts.set_trx_phy_channel(0, 1, 'SDCCH8')
+bts.set_trx_phy_channel(0, 2, 'TCH/F_TCH/H_PDCH')
+bts.set_trx_phy_channel(0, 3, 'TCH/F_TCH/H_PDCH')
+bts.set_trx_phy_channel(0, 4, 'TCH/F_TCH/H_PDCH')
+bts.set_trx_phy_channel(0, 5, 'TCH/F_TCH/H_PDCH')
+bts.set_trx_phy_channel(0, 6, 'TCH/F_TCH/H_PDCH')
+bts.set_trx_phy_channel(0, 7, 'TCH/F_TCH/H_PDCH')
+
+# Check that dynamic timeslots work fine with gprs disabled.
+
+call_test_setup_run(bts_setup_cb=my_bts_setup, gprs_enable=False)

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

Gerrit-Project: osmo-gsm-tester
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: If943ae0fb4e56787df02b09dea7387cb13eb9db3
Gerrit-Change-Number: 9161
Gerrit-PatchSet: 1
Gerrit-Owner: Pau Espin Pedrol 


Build failure of network:osmocom:nightly/osmo-sip-connector in Debian_9.0/aarch64

2018-05-15 Thread OBS Notification
Visit 
https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/osmo-sip-connector/Debian_9.0/aarch64

Package network:osmocom:nightly/osmo-sip-connector failed to build in 
Debian_9.0/aarch64

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

Last lines of build log:
[  263s] [  235.525451] dracut-initqueue[487]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  263s] [  236.134621] dracut-initqueue[487]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  264s] [  236.748591] dracut-initqueue[487]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  264s] [  237.369898] dracut-initqueue[487]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  265s] [  237.994711] dracut-initqueue[487]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  266s] [  238.615530] dracut-initqueue[487]: Warning: dracut-initqueue 
timeout - starting timeout scripts
[  266s] [  238.618079] dracut-initqueue[487]: Warning: Could not boot.
[  266s]  Starting Setup Virtual Console...
[  266s] [  OK  ] Started Setup Virtual Console.
[  266s]  Starting Dracut Emergency Shell...
[  266s] Warning: /dev/disk/by-uuid/00750419-b769-40be-aa7a-a81dca13c577 does 
not exist
[  266s] 
[  266s] Generating "/run/initramfs/rdsosreport.txt"
[  266s] 
[  266s] 
[  266s] Entering emergency mode. Exit the shell to continue.
[  266s] Type "journalctl" to view system logs.
[  266s] You might want to save "/run/initramfs/rdsosreport.txt" to a USB stick 
or /boot
[  266s] after mounting them and attach it to a bug report.
[  266s] 
[  266s] 
[  331s] dracut:/# ### WATCHDOG TRIGGERED, KILLING VM ###
[  331s] /var/cache/obs/worker/root_23/root:  9186
[  331s] qemu-system-aarch64: terminating on signal 15 from pid 37554 ()
[  331s] ### VM INTERACTION END ###
[  331s] /var/run/obs/worker/23/build/build-vm: line 458: kill: (9173) - No 
such process

gave up after 12 failed build attempts...
[  332s] No buildstatus set, either the base system is broken 
(kernel/initrd/udev/glibc/bash/perl)

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


Build failure of network:osmocom:nightly/osmo-pcu in Debian_9.0/aarch64

2018-05-15 Thread OBS Notification
Visit 
https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/osmo-pcu/Debian_9.0/aarch64

Package network:osmocom:nightly/osmo-pcu failed to build in Debian_9.0/aarch64

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

Last lines of build log:
[**] A start job is running for 
dev-disk...2d0.device (4min 49s / no limit)
[***   ] A start job is running for 
dev-disk...2d0.device (4min 50s / no limit)
[ ***  ] A start job is running for 
dev-disk...2d0.device (4min 50s / no limit)
[  *** ] A start job is running for 
dev-disk...2d0.device (4min 51s / no limit)
[   ***] A start job is running for 
dev-disk...2d0.device (4min 51s / no limit)
[**] A start job is running for 
dev-disk...2d0.device (4min 52s / no limit)
[ *] A start job is running for dev-disk...2d0.device (4min 
52s / no limit)
[**] A start job is running for 
dev-disk...2d0.device (4min 53s / no limit)
[   ***] A start job is running for 
dev-disk...2d0.device (4min 53s / no limit)
[  *** ] A start job is running for 
dev-disk...2d0.device (4min 54s / no limit)
[ ***  ] A start job is running for 
dev-disk...2d0.device (4min 54s / no limit)
[***   ] A start job is running for 
dev-disk...2d0.device (4min 55s / no limit)
[**] A start job is running for 
dev-disk...2d0.device (4min 55s / no limit)
[* ] A start job is running for dev-disk...2d0.device 
(4min 56s / no limit)
[**] A start job is running for 
dev-disk...2d0.device (4min 56s / no limit)
[***   ] A start job is running for 
dev-disk...2d0.device (4min 57s / no limit)
[ ***  ] A start job is running for 
dev-disk...2d0.device (4min 57s / no limit)
[  *** ] A start job is running for 
dev-disk...2d0.device (4min 58s / no limit)
[   ***] A start job is running for 
dev-disk...2d0.device (4min 58s / no limit)
[**] A start job is running for 
dev-disk...2d0.device (4min 59s / no limit)
[ *] A start job is running for dev-disk...2d0.device (4min 
59s / no limit)### WATCHDOG TRIGGERED, KILLING VM ###
[  357s] /var/cache/obs/worker/root_3/root: 14880
[  357s] qemu-system-aarch64: terminating on signal 15 from pid 16324
[  357s] ### VM INTERACTION END ###
[  357s] /var/run/obs/worker/3/build/build-vm: line 458: kill: (14873) - No 
such process
[  357s] No buildstatus set, either the base system is broken 
(kernel/initrd/udev/glibc/bash/perl)
[  357s] or the build host has a kernel or hardware problem...

gave up after 12 failed build attempts...

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


  1   2   >