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

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

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

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

Last lines of build log:
[  987s] | 
[  987s] | configure: exit 0
[  987s] 
[  987s] # -*- compilation -*-
[  987s] 6. testsuite.at:41: testing msc_vlr_test_gsm_ciph ...
[  987s] ./testsuite.at:45: 
$abs_top_builddir/tests/msc_vlr/msc_vlr_test_gsm_ciph
[  987s] --- experr 2020-06-16 03:20:01.427935071 +
[  987s] +++ /usr/src/packages/BUILD/tests/testsuite.dir/at-groups/6/stderr 
2020-06-16 03:20:01.459935071 +
[  987s] @@ -1790,7 +1790,7 @@
[  987s]  DVLR 
upd_hlr_vlr_fsm(IMSI-90170004620:GERAN-A:LU){UPD_HLR_VLR_S_INIT}: state_chg 
to UPD_HLR_VLR_S_WAIT_FOR_DATA
[  987s]  DBSSAP msc_a(IMSI-90170004620:GERAN-A:LU){MSC_A_ST_AUTH_CIPH}: 
RAN decode: DTAP
[  987s]  DRLL msc_a(IMSI-90170004620:GERAN-A:LU){MSC_A_ST_AUTH_CIPH}: 
Dispatching 04.08 message: RR GSM48_MT_RR_CIPH_M_COMPL
[  987s] -DBSSAP msc_a(IMSI-90170004620:GERAN-A:LU){MSC_A_ST_AUTH_CIPH}: RR 
Ciphering Mode Complete contains Mobile Identity: IMEI-SV-4234234234234275F
[  987s] +DBSSAP msc_a(IMSI-90170004620:GERAN-A:LU){MSC_A_ST_AUTH_CIPH}: RR 
Ciphering Mode Complete contains Mobile Identity: unknown
[  987s]  DVLR set IMEISV on subscriber; IMSI=90170004620 
IMEISV=4234234234234275
[  987s]  DVLR set IMEI on subscriber; IMSI=90170004620 IMEI=42342342342342
[  987s]  DVLR 
vlr_lu_fsm(IMSI-90170004620:GERAN-A:LU){VLR_ULA_S_WAIT_HLR_UPD}: Received 
Event VLR_ULA_E_ID_IMEISV
[  987s] 6. testsuite.at:41: 6. msc_vlr_test_gsm_ciph (testsuite.at:41): FAILED 
(testsuite.at:45)
[  987s] make[1]: *** [debian/rules:63: override_dh_auto_test] Error 1
[  987s] make[1]: Leaving directory '/usr/src/packages/BUILD'
[  987s] make: *** [debian/rules:45: build] Error 2
[  987s] dpkg-buildpackage: error: debian/rules build subprocess returned exit 
status 2
[  987s] ### VM INTERACTION START ###
[  988s] Powering off.
[  988s] [  930.410392] reboot: Power down
[  988s] ### VM INTERACTION END ###
[  988s] 
[  988s] cloud112 failed "build osmo-msc_1.6.1.40.5c38c.dsc" at Tue Jun 16 
03:20:05 UTC 2020.
[  988s] 

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


Build failure of network:osmocom:nightly/osmo-msc in xUbuntu_18.04/x86_64

2020-06-15 Thread OBS Notification
Visit 
https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/osmo-msc/xUbuntu_18.04/x86_64

Package network:osmocom:nightly/osmo-msc failed to build in xUbuntu_18.04/x86_64

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

Last lines of build log:
[  326s] 
[  326s] # -*- compilation -*-
[  326s] 6. testsuite.at:41: testing msc_vlr_test_gsm_ciph ...
[  326s] ./testsuite.at:45: 
$abs_top_builddir/tests/msc_vlr/msc_vlr_test_gsm_ciph
[  326s] --- experr 2020-06-16 03:10:41.2 +
[  326s] +++ /usr/src/packages/BUILD/tests/testsuite.dir/at-groups/6/stderr 
2020-06-16 03:10:41.22400 +
[  326s] @@ -1790,7 +1790,7 @@
[  326s]  DVLR 
upd_hlr_vlr_fsm(IMSI-90170004620:GERAN-A:LU){UPD_HLR_VLR_S_INIT}: state_chg 
to UPD_HLR_VLR_S_WAIT_FOR_DATA
[  326s]  DBSSAP msc_a(IMSI-90170004620:GERAN-A:LU){MSC_A_ST_AUTH_CIPH}: 
RAN decode: DTAP
[  326s]  DRLL msc_a(IMSI-90170004620:GERAN-A:LU){MSC_A_ST_AUTH_CIPH}: 
Dispatching 04.08 message: RR GSM48_MT_RR_CIPH_M_COMPL
[  326s] -DBSSAP msc_a(IMSI-90170004620:GERAN-A:LU){MSC_A_ST_AUTH_CIPH}: RR 
Ciphering Mode Complete contains Mobile Identity: IMEI-SV-4234234234234275F
[  326s] +DBSSAP msc_a(IMSI-90170004620:GERAN-A:LU){MSC_A_ST_AUTH_CIPH}: RR 
Ciphering Mode Complete contains Mobile Identity: unknown
[  326s]  DVLR set IMEISV on subscriber; IMSI=90170004620 
IMEISV=4234234234234275
[  326s]  DVLR set IMEI on subscriber; IMSI=90170004620 IMEI=42342342342342
[  326s]  DVLR 
vlr_lu_fsm(IMSI-90170004620:GERAN-A:LU){VLR_ULA_S_WAIT_HLR_UPD}: Received 
Event VLR_ULA_E_ID_IMEISV
[  326s] 6. testsuite.at:41: 6. msc_vlr_test_gsm_ciph (testsuite.at:41): FAILED 
(testsuite.at:45)
[  326s] debian/rules:63: recipe for target 'override_dh_auto_test' failed
[  326s] make[1]: *** [override_dh_auto_test] Error 1
[  326s] make[1]: Leaving directory '/usr/src/packages/BUILD'
[  326s] debian/rules:45: recipe for target 'build' failed
[  326s] make: *** [build] Error 2
[  326s] dpkg-buildpackage: error: debian/rules build subprocess returned exit 
status 2
[  326s] ### VM INTERACTION START ###
[  330s] [  318.575773] sysrq: SysRq : Power Off
[  330s] [  318.582904] reboot: Power down
[  330s] ### VM INTERACTION END ###
[  330s] 
[  330s] lamb71 failed "build osmo-msc_1.6.1.40.5c38c.dsc" at Tue Jun 16 
03:10:45 UTC 2020.
[  330s] 

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


Build failure of network:osmocom:nightly/osmo-msc in xUbuntu_19.10/x86_64

2020-06-15 Thread OBS Notification
Visit 
https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/osmo-msc/xUbuntu_19.10/x86_64

Package network:osmocom:nightly/osmo-msc failed to build in xUbuntu_19.10/x86_64

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

Last lines of build log:
[  295s] | #define HAVE_STDLIB_H 1
[  295s] | #define HAVE_STRING_H 1
[  295s] | #define HAVE_MEMORY_H 1
[  295s] | #define HAVE_STRINGS_H 1
[  295s] | #define HAVE_INTTYPES_H 1
[  295s] | #define HAVE_STDINT_H 1
[  295s] | #define HAVE_UNISTD_H 1
[  295s] | #define HAVE_DLFCN_H 1
[  295s] | #define LT_OBJDIR ".libs/"
[  295s] | #define HAVE_LIBSCTP 1
[  295s] | #define BUILD_SMPP 1
[  295s] | #define BUILD_IU 1
[  295s] | #define STDC_HEADERS 1
[  295s] | #define HAVE_DBI_DBD_H 1
[  295s] | #define HAVE_TM_GMTOFF_IN_TM 1
[  295s] | 
[  295s] | configure: exit 0
[  295s] 
[  295s] make[1]: *** [debian/rules:63: override_dh_auto_test] Error 1
[  295s] make[1]: Leaving directory '/usr/src/packages/BUILD'
[  295s] make: *** [debian/rules:45: build] Error 2
[  295s] dpkg-buildpackage: error: debian/rules build subprocess returned exit 
status 2
[  295s] ### VM INTERACTION START ###
[  298s] [  288.887053] sysrq: SysRq : Power Off
[  298s] [  288.895479] reboot: Power down
[  298s] ### VM INTERACTION END ###
[  298s] 
[  298s] sheep82 failed "build osmo-msc_1.6.1.40.5c38c.dsc" at Tue Jun 16 
03:11:10 UTC 2020.
[  298s] 

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


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

2020-06-15 Thread OBS Notification
Visit 
https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/osmo-msc/Debian_10/x86_64

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

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

Last lines of build log:
[  439s] | configure: exit 0
[  439s] 
[  439s] # -*- compilation -*-
[  439s] 6. testsuite.at:41: testing msc_vlr_test_gsm_ciph ...
[  439s] ./testsuite.at:45: 
$abs_top_builddir/tests/msc_vlr/msc_vlr_test_gsm_ciph
[  439s] --- experr 2020-06-16 03:09:26.47600 +
[  439s] +++ /usr/src/packages/BUILD/tests/testsuite.dir/at-groups/6/stderr 
2020-06-16 03:09:26.50400 +
[  439s] @@ -1790,7 +1790,7 @@
[  439s]  DVLR 
upd_hlr_vlr_fsm(IMSI-90170004620:GERAN-A:LU){UPD_HLR_VLR_S_INIT}: state_chg 
to UPD_HLR_VLR_S_WAIT_FOR_DATA
[  439s]  DBSSAP msc_a(IMSI-90170004620:GERAN-A:LU){MSC_A_ST_AUTH_CIPH}: 
RAN decode: DTAP
[  439s]  DRLL msc_a(IMSI-90170004620:GERAN-A:LU){MSC_A_ST_AUTH_CIPH}: 
Dispatching 04.08 message: RR GSM48_MT_RR_CIPH_M_COMPL
[  439s] -DBSSAP msc_a(IMSI-90170004620:GERAN-A:LU){MSC_A_ST_AUTH_CIPH}: RR 
Ciphering Mode Complete contains Mobile Identity: IMEI-SV-4234234234234275F
[  439s] +DBSSAP msc_a(IMSI-90170004620:GERAN-A:LU){MSC_A_ST_AUTH_CIPH}: RR 
Ciphering Mode Complete contains Mobile Identity: unknown
[  439s]  DVLR set IMEISV on subscriber; IMSI=90170004620 
IMEISV=4234234234234275
[  439s]  DVLR set IMEI on subscriber; IMSI=90170004620 IMEI=42342342342342
[  439s]  DVLR 
vlr_lu_fsm(IMSI-90170004620:GERAN-A:LU){VLR_ULA_S_WAIT_HLR_UPD}: Received 
Event VLR_ULA_E_ID_IMEISV
[  439s] 6. testsuite.at:41: 6. msc_vlr_test_gsm_ciph (testsuite.at:41): FAILED 
(testsuite.at:45)
[  439s] make[1]: *** [debian/rules:63: override_dh_auto_test] Error 1
[  439s] make[1]: Leaving directory '/usr/src/packages/BUILD'
[  439s] make: ***[  421.608031] serial8250: too much work for irq4
[  439s]  [debian/rules:45: build] Error 2
[  439s] dpkg-buildpackage: error: debian/rules build subprocess returned exit 
status 2
[  439s] ### VM INTERACTION START ###
[  442s] [  424.749263] sysrq: SysRq : Power Off
[  442s] [  424.753681] reboot: Power down
[  442s] ### VM INTERACTION END ###
[  442s] 
[  442s] lamb05 failed "build osmo-msc_1.6.1.40.5c38c.dsc" at Tue Jun 16 
03:09:32 UTC 2020.
[  442s] 

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


Build failure of network:osmocom:nightly/osmo-msc in xUbuntu_16.04/x86_64

2020-06-15 Thread OBS Notification
Visit 
https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/osmo-msc/xUbuntu_16.04/x86_64

Package network:osmocom:nightly/osmo-msc failed to build in xUbuntu_16.04/x86_64

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

Last lines of build log:
[  469s] | #define HAVE_MEMORY_H 1
[  469s] | #define HAVE_STRINGS_H 1
[  469s] | #define HAVE_INTTYPES_H 1
[  469s] | #define HAVE_STDINT_H 1
[  469s] | #define HAVE_UNISTD_H 1
[  469s] | #define HAVE_DLFCN_H 1
[  469s] | #define LT_OBJDIR ".libs/"
[  469s] | #define HAVE_LIBSCTP 1
[  469s] | #define BUILD_SMPP 1
[  469s] | #define BUILD_IU 1
[  469s] | #define STDC_HEADERS 1
[  469s] | #define HAVE_DBI_DBD_H 1
[  469s] | #define HAVE_TM_GMTOFF_IN_TM 1
[  469s] | 
[  469s] | configure: exit 0
[  469s] 
[  469s] debian/rules:63: recipe for target 'override_dh_auto_test' failed
[  469s] make[1]: *** [override_dh_auto_test] Error 1
[  469s] make[1]: Leaving directory '/usr/src/packages/BUILD'
[  469s] debian/rules:45: recipe for target 'build' failed
[  469s] make: *** [build] Error 2
[  469s] dpkg-buildpackage: error: debian/rules build gave error exit status 2
[  469s] ### VM INTERACTION START ###
[  472s] [  450.621505] sysrq: SysRq : Power Off
[  472s] [  450.630383] reboot: Power down
[  472s] ### VM INTERACTION END ###
[  472s] 
[  472s] lamb54 failed "build osmo-msc_1.6.1.40.5c38c.dsc" at Tue Jun 16 
02:51:46 UTC 2020.
[  472s] 

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


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

2020-06-15 Thread OBS Notification
Visit 
https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/osmo-msc/Debian_8.0/x86_64

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

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

Last lines of build log:
[  133s] # -*- compilation -*-
[  133s] 6. testsuite.at:41: testing msc_vlr_test_gsm_ciph ...
[  133s] ./testsuite.at:45: $abs_top_builddi[  127.068116] serial8250: too much 
work for irq4
[  133s] r/tests/msc_vlr/msc_vlr_test_gsm_ciph
[  133s] --- experr 2020-06-16 02:46:30.89200 +
[  133s] +++ /usr/src/packages/BUILD/tests/testsuite.dir/at-groups/6/stderr 
2020-06-16 02:46:30.90800 +
[  133s] @@ -1790,7 +1790,7 @@
[  133s]  DVLR 
upd_hlr_vlr_fsm(IMSI-90170004620:GERAN-A:LU){UPD_HLR_VLR_S_INIT}: state_chg 
to UPD_HLR_VLR_S_WAIT_FOR_DATA
[  133s]  DBSSAP msc_a(IMSI-90170004620:GERAN-A:LU){MSC_A_ST_AUTH_CIPH}: 
RAN decode: DTAP
[  133s]  DRLL msc_a(IMSI-90170004620:GERAN-A:LU){MSC_A_ST_AUTH_CIPH}: 
Dispatching 04.08 message: RR GSM48_MT_RR_CIPH_M_COMPL
[  133s] -DBSSAP msc_a(IMSI-90170004620:GERAN-A:LU){MSC_A_ST_AUTH_CIPH}: RR 
Ciphering Mode Complete contains Mobile Identity: IMEI-SV-4234234234234275F
[  133s] +DBSSAP msc_a(IMSI-90170004620:GERAN-A:LU){MSC_A_ST_AUTH_CIPH}: RR 
Ciphering Mode Complete contains Mobile Identity: unknown
[  133s]  DVLR set IMEISV on subscriber; IMSI=90170004620 
IMEISV=4234234234234275
[  133s]  DVLR set IMEI on subscriber; IMSI=90170004620 IMEI=42342342342342
[  133s]  DVLR 
vlr_lu_fsm(IMSI-90170004620:GERAN-A:LU){VLR_ULA_S_WAIT_HLR_UPD}: Received 
Event VLR_ULA_E_ID_IMEISV
[  133s] 6. testsuite.at:41: 6. msc_vlr_test_gsm_ciph (testsuite.at:41): FAILED 
(testsuite.at:45)
[  133s] debian/rules:63: recipe for target 'override_dh_auto_test' failed
[  133s] make[1]: *** [override_dh_auto_test] Error 1
[  133s] make[1]: Leaving directory '/usr/src/packages/BUILD'
[  133s] debian/rules:45: recipe for target 'build' failed
[  133s] make: *** [build] Error 2
[  133s] dpkg-buildpackage: error: debian/rules build gave error exit status 2
[  133s] ### VM INTERACTION START ###
[  134s] Powering off.
[  134s] [  128.140899] reboot: Power down
[  134s] ### VM INTERACTION END ###
[  134s] 
[  134s] goat17 failed "build osmo-msc_1.6.1.40.5c38c.dsc" at Tue Jun 16 
02:46:33 UTC 2020.
[  134s] 

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


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

2020-06-15 Thread OBS Notification
Visit 
https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/osmo-msc/Debian_9.0/x86_64

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

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

Last lines of build log:
[  268s] | #define HAVE_MEMORY_H 1
[  268s] | #define HAVE_STRINGS_H 1
[  268s] | #define HAVE_INTTYPES_H 1
[  268s] | #define HAVE_STDINT_H 1
[  268s] | #define HAVE_UNISTD_H 1
[  268s] | #define HAVE_DLFCN_H 1
[  268s] | #define LT_OBJDIR ".libs/"
[  268s] | #define HAVE_LIBSCTP 1
[  268s] | #define BUILD_SMPP 1
[  268s] | #define BUILD_IU 1
[  268s] | #define STDC_HEADERS 1
[  268s] | #define HAVE_DBI_DBD_H 1
[  268s] | #define HAVE_TM_GMTOFF_IN_TM 1
[  268s] | 
[  268s] | configure: exit 0
[  268s] 
[  268s] debian/rules:63: recipe for target 'override_dh_auto_test' failed
[  268s] make[1]: *** [override_dh_auto_test] Error 1
[  268s] make[1]: Leaving directory '/usr/src/packages/BUILD'
[  268s] debian/rules:45: recipe for target 'build' failed
[  268s] make: *** [build] Error 2
[  268s] dpkg-buildpackage: error: debian/rules build gave error exit status 2
[  268s] ### VM INTERACTION START ###
[  271s] [  260.905322] sysrq: SysRq : Power Off
[  271s] [  260.912186] reboot: Power down
[  271s] ### VM INTERACTION END ###
[  271s] 
[  271s] lamb72 failed "build osmo-msc_1.6.1.40.5c38c.dsc" at Tue Jun 16 
02:45:01 UTC 2020.
[  271s] 

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


Build failure of network:osmocom:nightly/osmo-msc in xUbuntu_18.10/x86_64

2020-06-15 Thread OBS Notification
Visit 
https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/osmo-msc/xUbuntu_18.10/x86_64

Package network:osmocom:nightly/osmo-msc failed to build in xUbuntu_18.10/x86_64

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

Last lines of build log:
[  297s] | #define HAVE_STDLIB_H 1
[  297s] | #define HAVE_STRING_H 1
[  297s] | #define HAVE_MEMORY_H 1
[  297s] | #define HAVE_STRINGS_H 1
[  297s] | #define HAVE_INTTYPES_H 1
[  297s] | #define HAVE_STDINT_H 1
[  297s] | #define HAVE_UNISTD_H 1
[  297s] | #define HAVE_DLFCN_H 1
[  297s] | #define LT_OBJDIR ".libs/"
[  297s] | #define HAVE_LIBSCTP 1
[  297s] | #define BUILD_SMPP 1
[  297s] | #define BUILD_IU 1
[  297s] | #define STDC_HEADERS 1
[  297s] | #define HAVE_DBI_DBD_H 1
[  297s] | #define HAVE_TM_GMTOFF_IN_TM 1
[  297s] | 
[  297s] | configure: exit 0
[  297s] 
[  297s] make[1]: *** [debian/rules:63: override_dh_auto_test] Error 1
[  297s] make[1]: Leaving directory '/usr/src/packages/BUILD'
[  297s] make: *** [debian/rules:45: build] Error 2
[  297s] dpkg-buildpackage: error: debian/rules build subprocess returned exit 
status 2
[  297s] ### VM INTERACTION START ###
[  300s] [  290.861557] sysrq: SysRq : Power Off
[  300s] [  290.864923] reboot: Power down
[  300s] ### VM INTERACTION END ###
[  300s] 
[  300s] build80 failed "build osmo-msc_1.6.1.40.5c38c.dsc" at Tue Jun 16 
02:44:54 UTC 2020.
[  300s] 

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


Build failure of network:osmocom:nightly/osmo-msc in xUbuntu_19.04/x86_64

2020-06-15 Thread OBS Notification
Visit 
https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/osmo-msc/xUbuntu_19.04/x86_64

Package network:osmocom:nightly/osmo-msc failed to build in xUbuntu_19.04/x86_64

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

Last lines of build log:
[  466s] | 
[  466s] | configure: exit 0
[  466s] 
[  466s] # -*- compilation -*-
[  466s] 6. testsuite.at:41: testing msc_vlr_test_gsm_ciph ...
[  466s] ./testsuite.at:45: 
$abs_top_builddir/tests/msc_vlr/msc_vlr_test_gsm_ciph
[  466s] --- experr 2020-06-16 02:35:18.68000 +
[  466s] +++ /usr/src/packages/BUILD/tests/testsuite.dir/at-groups/6/stderr 
2020-06-16 02:35:18.7 +
[  466s] @@ -1790,7 +1790,7 @@
[  466s]  DVLR 
upd_hlr_vlr_fsm(IMSI-90170004620:GERAN-A:LU){UPD_HLR_VLR_S_INIT}: state_chg 
to UPD_HLR_VLR_S_WAIT_FOR_DATA
[  466s]  DBSSAP msc_a(IMSI-90170004620:GERAN-A:LU){MSC_A_ST_AUTH_CIPH}: 
RAN decode: DTAP
[  466s]  DRLL msc_a(IMSI-90170004620:GERAN-A:LU){MSC_A_ST_AUTH_CIPH}: 
Dispatching 04.08 message: RR GSM48_MT_RR_CIPH_M_COMPL
[  466s] -DBSSAP msc_a(IMSI-90170004620:GERAN-A:LU){MSC_A_ST_AUTH_CIPH}: RR 
Ciphering Mode Complete contains Mobile Identity: IMEI-SV-4234234234234275F
[  466s] +DBSSAP msc_a(IMSI-90170004620:GERAN-A:LU){MSC_A_ST_AUTH_CIPH}: RR 
Ciphering Mode Complete contains Mobile Identity: unknown
[  466s]  DVLR set IMEISV on subscriber; IMSI=90170004620 
IMEISV=4234234234234275
[  466s]  DVLR set IMEI on subscriber; IMSI=90170004620 IMEI=42342342342342
[  466s]  DVLR 
vlr_lu_fsm(IMSI-90170004620:GERAN-A:LU){VLR_ULA_S_WAIT_HLR_UPD}: Received 
Event VLR_ULA_E_ID_IMEISV
[  466s] 6. testsuite.at:41: 6. msc_vlr_test_gsm_ciph (testsuite.at:41): FAILED 
(testsuite.at:45)
[  466s] make[1]: *** [debian/rules:63: override_dh_auto_test] Error 1
[  466s] make[1]: Leaving directory '/usr/src/packages/BUILD'
[  466s] make: *** [debian/rules:45: build] Error 2
[  466s] dpkg-buildpackage: error: debian/rules build subprocess returned exit 
status 2
[  467s] ### VM INTERACTION START ###
[  470s] [  455.844927] sysrq: SysRq : Power Off
[  470s] [  455.852343] reboot: Power down
[  470s] ### VM INTERACTION END ###
[  470s] 
[  470s] lamb13 failed "build osmo-msc_1.6.1.40.5c38c.dsc" at Tue Jun 16 
02:35:24 UTC 2020.
[  470s] 

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


Build failure of network:osmocom:nightly/osmo-msc in xUbuntu_18.04/i586

2020-06-15 Thread OBS Notification
Visit 
https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/osmo-msc/xUbuntu_18.04/i586

Package network:osmocom:nightly/osmo-msc failed to build in xUbuntu_18.04/i586

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

Last lines of build log:
[  412s] | #define HAVE_MEMORY_H 1
[  412s] | #define HAVE_STRINGS_H 1
[  412s] | #define HAVE_INTTYPES_H 1
[  412s] | #define HAVE_STDINT_H 1
[  412s] | #define HAVE_UNISTD_H 1
[  412s] | #define HAVE_DLFCN_H 1
[  412s] | #define LT_OBJDIR ".libs/"
[  412s] | #define HAVE_LIBSCTP 1
[  412s] | #define BUILD_SMPP 1
[  412s] | #define BUILD_IU 1
[  412s] | #define STDC_HEADERS 1
[  412s] | #define HAVE_DBI_DBD_H 1
[  412s] | #define HAVE_TM_GMTOFF_IN_TM 1
[  412s] | 
[  412s] | configure: exit 0
[  412s] 
[  412s] debian/rules:63: recipe for target 'override_dh_auto_test' failed
[  412s] make[1]: *** [override_dh_auto_test] Error 1
[  412s] make[1]: Leaving directory '/usr/src/packages/BUILD'
[  412s] debian/rules:45: recipe for target 'build' failed
[  412s] make: *** [build] Error 2
[  412s] dpkg-buildpackage: error: debian/rules build subprocess returned exit 
status 2
[  412s] ### VM INTERACTION START ###
[  415s] [  398.863687] sysrq: SysRq : Power Off
[  415s] [  398.868333] reboot: Power down
[  415s] ### VM INTERACTION END ###
[  415s] 
[  415s] cloud131 failed "build osmo-msc_1.6.1.40.5c38c.dsc" at Tue Jun 16 
02:25:06 UTC 2020.
[  415s] 

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


Build failure of network:osmocom:nightly/osmo-msc in Debian_10/i586

2020-06-15 Thread OBS Notification
Visit 
https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/osmo-msc/Debian_10/i586

Package network:osmocom:nightly/osmo-msc failed to build in Debian_10/i586

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

Last lines of build log:
[  389s] | 
[  389s] | configure: exit 0
[  389s] 
[  389s] # -*- compilation -*-
[  389s] 6. testsuite.at:41: testing msc_vlr_test_gsm_ciph ...
[  389s] ./testsuite.at:45: 
$abs_top_builddir/tests/msc_vlr/msc_vlr_test_gsm_ciph
[  389s] --- experr 2020-06-16 02:24:38.65600 +
[  389s] +++ /usr/src/packages/BUILD/tests/testsuite.dir/at-groups/6/stderr 
2020-06-16 02:24:38.68000 +
[  389s] @@ -1790,7 +1790,7 @@
[  389s]  DVLR 
upd_hlr_vlr_fsm(IMSI-90170004620:GERAN-A:LU){UPD_HLR_VLR_S_INIT}: state_chg 
to UPD_HLR_VLR_S_WAIT_FOR_DATA
[  389s]  DBSSAP msc_a(IMSI-90170004620:GERAN-A:LU){MSC_A_ST_AUTH_CIPH}: 
RAN decode: DTAP
[  389s]  DRLL msc_a(IMSI-90170004620:GERAN-A:LU){MSC_A_ST_AUTH_CIPH}: 
Dispatching 04.08 message: RR GSM48_MT_RR_CIPH_M_COMPL
[  389s] -DBSSAP msc_a(IMSI-90170004620:GERAN-A:LU){MSC_A_ST_AUTH_CIPH}: RR 
Ciphering Mode Complete contains Mobile Identity: IMEI-SV-4234234234234275F
[  389s] +DBSSAP msc_a(IMSI-90170004620:GERAN-A:LU){MSC_A_ST_AUTH_CIPH}: RR 
Ciphering Mode Complete contains Mobile Identity: unknown
[  389s]  DVLR set IMEISV on subscriber; IMSI=90170004620 
IMEISV=4234234234234275
[  389s]  DVLR set IMEI on subscriber; IMSI=90170004620 IMEI=42342342342342
[  389s]  DVLR 
vlr_lu_fsm(IMSI-90170004620:GERAN-A:LU){VLR_ULA_S_WAIT_HLR_UPD}: Received 
Event VLR_ULA_E_ID_IMEISV
[  389s] 6. testsuite.at:41: 6. msc_vlr_test_gsm_ciph (testsuite.at:41): FAILED 
(testsuite.at:45)
[  389s] make[1]: *** [debian/rules:63: override_dh_auto_test] Error 1
[  389s] make[1]: Leaving directory '/usr/src/packages/BUILD'
[  389s] make: *** [debian/rules:45: build] Error 2
[  389s] dpkg-buildpackage: error: debian/rules build subprocess returned exit 
status 2
[  389s] ### VM INTERACTION START ###
[  392s] [  379.157748] sysrq: SysRq : Power Off
[  392s] [  379.163401] reboot: Power down
[  392s] ### VM INTERACTION END ###
[  392s] 
[  392s] lamb74 failed "build osmo-msc_1.6.1.40.5c38c.dsc" at Tue Jun 16 
02:24:42 UTC 2020.
[  392s] 

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


Build failure of network:osmocom:nightly/osmo-msc in xUbuntu_16.04/i586

2020-06-15 Thread OBS Notification
Visit 
https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/osmo-msc/xUbuntu_16.04/i586

Package network:osmocom:nightly/osmo-msc failed to build in xUbuntu_16.04/i586

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

Last lines of build log:
[  233s] 
[  233s] # -*- compilation -*-
[  233s] 6. testsuite.at:41: testing msc_vlr_test_gsm_ciph ...
[  233s] ./testsuite.at:45: 
$abs_top_builddir/tests/msc_vlr/msc_vlr_test_gsm_ciph
[  233s] --- experr 2020-06-16 02:21:26.457489727 +
[  233s] +++ /usr/src/packages/BUILD/tests/testsuite.dir/at-groups/6/stderr 
2020-06-16 02:21:26.485489726 +
[  233s] @@ -1790,7 +1790,7 @@
[  233s]  DVLR 
upd_hlr_vlr_fsm(IMSI-90170004620:GERAN-A:LU){UPD_HLR_VLR_S_INIT}: state_chg 
to UPD_HLR_VLR_S_WAIT_FOR_DATA
[  233s]  DBSSAP msc_a(IMSI-90170004620:GERAN-A:LU){MSC_A_ST_AUTH_CIPH}: 
RAN decode: DTAP
[  233s]  DRLL msc_a(IMSI-90170004620:GERAN-A:LU){MSC_A_ST_AUTH_CIPH}: 
Dispatching 04.08 message: RR GSM48_MT_RR_CIPH_M_COMPL
[  233s] -DBSSAP msc_a(IMSI-90170004620:GERAN-A:LU){MSC_A_ST_AUTH_CIPH}: RR 
Ciphering Mode Complete contains Mobile Identity: IMEI-SV-4234234234234275F
[  233s] +DBSSAP msc_a(IMSI-90170004620:GERAN-A:LU){MSC_A_ST_AUTH_CIPH}: RR 
Ciphering Mode Complete contains Mobile Identity: unknown
[  233s]  DVLR set IMEISV on subscriber; IMSI=90170004620 
IMEISV=4234234234234275
[  233s]  DVLR set IMEI on subscriber; IMSI=90170004620 IMEI=42342342342342
[  233s]  DVLR 
vlr_lu_fsm(IMSI-90170004620:GERAN-A:LU){VLR_ULA_S_WAIT_HLR_UPD}: Received 
Event VLR_ULA_E_ID_IMEISV
[  233s] 6. testsuite.at:41: 6. msc_vlr_test_gsm_ciph (testsuite.at:41): FAILED 
(testsuite.at:45)
[  233s] debian/rules:63: recipe for target 'override_dh_auto_test' failed
[  233s] make[1]: *** [override_dh_auto_test] Error 1
[  233s] make[1]: Leaving directory '/usr/src/packages/BUILD'
[  233s] debian/rules:45: recipe for target 'build' failed
[  233s] make: *** [build] Error 2
[  233s] dpkg-buildpackage: error: debian/rules build gave error exit status 2
[  233s] ### VM INTERACTION START ###
[  235s] [  226.046391] sysrq: SysRq : Power Off
[  235s] [  226.047969] reboot: Power down
[  235s] ### VM INTERACTION END ###
[  235s] 
[  235s] build76 failed "build osmo-msc_1.6.1.40.5c38c.dsc" at Tue Jun 16 
02:21:30 UTC 2020.
[  235s] 

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


Build failure of network:osmocom:nightly/osmo-msc in xUbuntu_18.10/i586

2020-06-15 Thread OBS Notification
Visit 
https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/osmo-msc/xUbuntu_18.10/i586

Package network:osmocom:nightly/osmo-msc failed to build in xUbuntu_18.10/i586

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

Last lines of build log:
[  553s] | 
[  553s] | configure: exit 0
[  553s] 
[  553s] # -*- compilation -*-
[  553s] 6. testsuite.at:41: testing msc_vlr_test_gsm_ciph ...
[  553s] ./testsuite.at:45: 
$abs_top_builddir/tests/msc_vlr/msc_vlr_test_gsm_ciph
[  553s] --- experr 2020-06-16 02:18:43.424363195 +
[  553s] +++ /usr/src/packages/BUILD/tests/testsuite.dir/at-groups/6/stderr 
2020-06-16 02:18:43.436363195 +
[  553s] @@ -1790,7 +1790,7 @@
[  553s]  DVLR 
upd_hlr_vlr_fsm(IMSI-90170004620:GERAN-A:LU){UPD_HLR_VLR_S_INIT}: state_chg 
to UPD_HLR_VLR_S_WAIT_FOR_DATA
[  553s]  DBSSAP msc_a(IMSI-90170004620:GERAN-A:LU){MSC_A_ST_AUTH_CIPH}: 
RAN decode: DTAP
[  553s]  DRLL msc_a(IMSI-90170004620:GERAN-A:LU){MSC_A_ST_AUTH_CIPH}: 
Dispatching 04.08 message: RR GSM48_MT_RR_CIPH_M_COMPL
[  553s] -DBSSAP msc_a(IMSI-90170004620:GERAN-A:LU){MSC_A_ST_AUTH_CIPH}: RR 
Ciphering Mode Complete contains Mobile Identity: IMEI-SV-4234234234234275F
[  553s] +DBSSAP msc_a(IMSI-90170004620:GERAN-A:LU){MSC_A_ST_AUTH_CIPH}: RR 
Ciphering Mode Complete contains Mobile Identity: unknown
[  553s]  DVLR set IMEISV on subscriber; IMSI=90170004620 
IMEISV=4234234234234275
[  553s]  DVLR set IMEI on subscriber; IMSI=90170004620 IMEI=42342342342342
[  553s]  DVLR 
vlr_lu_fsm(IMSI-90170004620:GERAN-A:LU){VLR_ULA_S_WAIT_HLR_UPD}: Received 
Event VLR_ULA_E_ID_IMEISV
[  553s] 6. testsuite.at:41: 6. msc_vlr_test_gsm_ciph (testsuite.at:41): FAILED 
(testsuite.at:45)
[  553s] make[1]: *** [debian/rules:63: override_dh_auto_test] Error 1
[  553s] make[1]: Leaving directory '/usr/src/packages/BUILD'
[  553s] make: *** [debian/rules:45: build] Error 2
[  553s] dpkg-buildpackage: error: debian/rules build subprocess returned exit 
status 2
[  553s] ### VM INTERACTION START ###
[  556s] [  545.153446] sysrq: SysRq : Power Off
[  556s] [  545.157075] reboot: Power down
[  556s] ### VM INTERACTION END ###
[  556s] 
[  556s] build78 failed "build osmo-msc_1.6.1.40.5c38c.dsc" at Tue Jun 16 
02:18:48 UTC 2020.
[  556s] 

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


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

2020-06-15 Thread OBS Notification
Visit 
https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/osmo-msc/Debian_9.0/i586

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

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

Last lines of build log:
[  412s] 
[  412s] # -*- compilation -*-
[  412s] 6. testsuite.at:41: testing msc_vlr_test_gsm_ciph ...
[  412s] ./testsuite.at:45: 
$abs_top_builddir/tests/msc_vlr/msc_vlr_test_gsm_ciph
[  412s] --- experr 2020-06-16 02:16:43.79600 +
[  412s] +++ /usr/src/packages/BUILD/tests/testsuite.dir/at-groups/6/stderr 
2020-06-16 02:16:43.83200 +
[  412s] @@ -1790,7 +1790,7 @@
[  412s]  DVLR 
upd_hlr_vlr_fsm(IMSI-90170004620:GERAN-A:LU){UPD_HLR_VLR_S_INIT}: state_chg 
to UPD_HLR_VLR_S_WAIT_FOR_DATA
[  412s]  DBSSAP msc_a(IMSI-90170004620:GERAN-A:LU){MSC_A_ST_AUTH_CIPH}: 
RAN decode: DTAP
[  412s]  DRLL msc_a(IMSI-90170004620:GERAN-A:LU){MSC_A_ST_AUTH_CIPH}: 
Dispatching 04.08 message: RR GSM48_MT_RR_CIPH_M_COMPL
[  412s] -DBSSAP msc_a(IMSI-90170004620:GERAN-A:LU){MSC_A_ST_AUTH_CIPH}: RR 
Ciphering Mode Complete contains Mobile Identity: IMEI-SV-4234234234234275F
[  412s] +DBSSAP msc_a(IMSI-90170004620:GERAN-A:LU){MSC_A_ST_AUTH_CIPH}: RR 
Ciphering Mode Complete contains Mobile Identity: unknown
[  412s]  DVLR set IMEISV on subscriber; IMSI=90170004620 
IMEISV=4234234234234275
[  412s]  DVLR set IMEI on subscriber; IMSI=90170004620 IMEI=42342342342342
[  412s]  DVLR 
vlr_lu_fsm(IMSI-90170004620:GERAN-A:LU){VLR_ULA_S_WAIT_HLR_UPD}: Received 
Event VLR_ULA_E_ID_IMEISV
[  412s] 6. testsuite.at:41: 6. msc_vlr_test_gsm_ciph (testsuite.at:41): FAILED 
(testsuite.at:45)
[  412s] debian/rules:63: recipe for target 'override_dh_auto_test' failed
[  412s] make[1]: *** [override_dh_auto_test] Error 1
[  412s] make[1]: Leaving directory '/usr/src/packages/BUILD'
[  412s] debian/rules:45: recipe for target 'build' failed
[  412s] make: *** [build] Error 2
[  412s] dpkg-buildpackage: error: debian/rules build gave error exit status 2
[  412s] ### VM INTERACTION START ###
[  415s] [  403.470988] sysrq: SysRq : Power Off
[  415s] [  403.481575] reboot: Power down
[  415s] ### VM INTERACTION END ###
[  415s] 
[  415s] lamb21 failed "build osmo-msc_1.6.1.40.5c38c.dsc" at Tue Jun 16 
02:16:48 UTC 2020.
[  415s] 

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


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

2020-06-15 Thread OBS Notification
Visit 
https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/osmo-msc/Debian_8.0/i586

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

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

Last lines of build log:
[  386s] | #define HAVE_MEMORY_H 1
[  386s] | #define HAVE_STRINGS_H 1
[  386s] | #define HAVE_INTTYPES_H 1
[  386s] | #define HAVE_STDINT_H 1
[  386s] | #define HAVE_UNISTD_H 1
[  386s] | #define HAVE_DLFCN_H 1
[  386s] | #define LT_OBJDIR ".libs/"
[  386s] | #define HAVE_LIBSCTP 1
[  386s] | #define BUILD_SMPP 1
[  386s] | #define BUILD_IU 1
[  386s] | #define STDC_HEADERS 1
[  386s] | #define HAVE_DBI_DBD_H 1
[  386s] | #define HAVE_TM_GMTOFF_IN_TM 1
[  386s] | 
[  386s] | configure: exit 0
[  386s] 
[  386s] debian/rules:63: recipe for target 'override_dh_auto_test' failed
[  386s] make[1]: *** [override_dh_auto_test] Error 1
[  386s] make[1]: Leaving directory '/usr/src/packages/BUILD'
[  386s] debian/rules:45: recipe for target 'build' failed
[  386s] make: *** [build] Error 2
[  386s] dpkg-buildpackage: error: debian/rules build gave error exit status 2
[  386s] ### VM INTERACTION START ###
[  387s] Powering off.
[  388s] [  376.746088] reboot: Power down
[  388s] ### VM INTERACTION END ###
[  388s] 
[  388s] cumulus2 failed "build osmo-msc_1.6.1.40.5c38c.dsc" at Tue Jun 16 
02:12:08 UTC 2020.
[  388s] 

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


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

2020-06-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:
[  320s] 
[  320s] # -*- compilation -*-
[  320s] 6. testsuite.at:41: testing msc_vlr_test_gsm_ciph ...
[  320s] ./testsuite.at:45: 
$abs_top_builddir/tests/msc_vlr/msc_vlr_test_gsm_ciph
[  320s] --- experr 2020-06-16 02:05:24.52000 +
[  320s] +++ /usr/src/packages/BUILD/tests/testsuite.dir/at-groups/6/stderr 
2020-06-16 02:05:24.56000 +
[  320s] @@ -1790,7 +1790,7 @@
[  320s]  DVLR 
upd_hlr_vlr_fsm(IMSI-90170004620:GERAN-A:LU){UPD_HLR_VLR_S_INIT}: state_chg 
to UPD_HLR_VLR_S_WAIT_FOR_DATA
[  320s]  DBSSAP msc_a(IMSI-90170004620:GERAN-A:LU){MSC_A_ST_AUTH_CIPH}: 
RAN decode: DTAP
[  320s]  DRLL msc_a(IMSI-90170004620:GERAN-A:LU){MSC_A_ST_AUTH_CIPH}: 
Dispatching 04.08 message: RR GSM48_MT_RR_CIPH_M_COMPL
[  320s] -DBSSAP msc_a(IMSI-90170004620:GERAN-A:LU){MSC_A_ST_AUTH_CIPH}: RR 
Ciphering Mode Complete contains Mobile Identity: IMEI-SV-4234234234234275F
[  320s] +DBSSAP msc_a(IMSI-90170004620:GERAN-A:LU){MSC_A_ST_AUTH_CIPH}: RR 
Ciphering Mode Complete contains Mobile Identity: unknown
[  320s]  DVLR set IMEISV on subscriber; IMSI=90170004620 
IMEISV=4234234234234275
[  320s]  DVLR set IMEI on subscriber; IMSI=90170004620 IMEI=42342342342342
[  320s]  DVLR 
vlr_lu_fsm(IMSI-90170004620:GERAN-A:LU){VLR_ULA_S_WAIT_HLR_UPD}: Received 
Event VLR_ULA_E_ID_IMEISV
[  320s] 6. testsuite.at:41: 6. msc_vlr_test_gsm_ciph (testsuite.at:41): FAILED 
(testsuite.at:45)
[  320s] debian/rules:63: recipe for target 'override_dh_auto_test' failed
[  320s] make[1]: *** [override_dh_auto_test] Error 1
[  320s] make[1]: Leaving directory '/usr/src/packages/BUILD'
[  320s] debian/rules:45: recipe for target 'build' failed
[  320s] make: *** [build] Error 2
[  320s] dpkg-buildpackage: error: debian/rules build gave error exit status 2
[  320s] ### VM INTERACTION START ###
[  323s] [  310.552415] sysrq: Power Off
[  323s] [  310.553597] reboot: Power down
[  324s] ### VM INTERACTION END ###
[  324s] 
[  324s] obs-arm-9 failed "build osmo-msc_1.6.1.40.5c38c.dsc" at Tue Jun 16 
02:05:29 UTC 2020.
[  324s] 

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


Build failure of network:osmocom:nightly/osmo-msc in Debian_10/aarch64

2020-06-15 Thread OBS Notification
Visit 
https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/osmo-msc/Debian_10/aarch64

Package network:osmocom:nightly/osmo-msc failed to build in Debian_10/aarch64

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

Last lines of build log:
[  358s] | 
[  358s] | configure: exit 0
[  358s] 
[  358s] # -*- compilation -*-
[  358s] 6. testsuite.at:41: testing msc_vlr_test_gsm_ciph ...
[  358s] ./testsuite.at:45: 
$abs_top_builddir/tests/msc_vlr/msc_vlr_test_gsm_ciph
[  358s] --- experr 2020-06-16 01:57:40.24000 +
[  358s] +++ /usr/src/packages/BUILD/tests/testsuite.dir/at-groups/6/stderr 
2020-06-16 01:57:40.28000 +
[  358s] @@ -1790,7 +1790,7 @@
[  358s]  DVLR 
upd_hlr_vlr_fsm(IMSI-90170004620:GERAN-A:LU){UPD_HLR_VLR_S_INIT}: state_chg 
to UPD_HLR_VLR_S_WAIT_FOR_DATA
[  358s]  DBSSAP msc_a(IMSI-90170004620:GERAN-A:LU){MSC_A_ST_AUTH_CIPH}: 
RAN decode: DTAP
[  358s]  DRLL msc_a(IMSI-90170004620:GERAN-A:LU){MSC_A_ST_AUTH_CIPH}: 
Dispatching 04.08 message: RR GSM48_MT_RR_CIPH_M_COMPL
[  358s] -DBSSAP msc_a(IMSI-90170004620:GERAN-A:LU){MSC_A_ST_AUTH_CIPH}: RR 
Ciphering Mode Complete contains Mobile Identity: IMEI-SV-4234234234234275F
[  358s] +DBSSAP msc_a(IMSI-90170004620:GERAN-A:LU){MSC_A_ST_AUTH_CIPH}: RR 
Ciphering Mode Complete contains Mobile Identity: unknown
[  358s]  DVLR set IMEISV on subscriber; IMSI=90170004620 
IMEISV=4234234234234275
[  358s]  DVLR set IMEI on subscriber; IMSI=90170004620 IMEI=42342342342342
[  358s]  DVLR 
vlr_lu_fsm(IMSI-90170004620:GERAN-A:LU){VLR_ULA_S_WAIT_HLR_UPD}: Received 
Event VLR_ULA_E_ID_IMEISV
[  358s] 6. testsuite.at:41: 6. msc_vlr_test_gsm_ciph (testsuite.at:41): FAILED 
(testsuite.at:45)
[  358s] make[1]: *** [debian/rules:63: override_dh_auto_test] Error 1
[  358s] make[1]: Leaving directory '/usr/src/packages/BUILD'
[  358s] make: *** [debian/rules:45: build] Error 2
[  358s] dpkg-buildpackage: error: debian/rules build subprocess returned exit 
status 2
[  358s] ### VM INTERACTION START ###
[  360s] [  346.039583] sysrq: Power Off
[  360s] [  346.040531] reboot: Power down
[  361s] ### VM INTERACTION END ###
[  361s] 
[  361s] obs-arm-9 failed "build osmo-msc_1.6.1.40.5c38c.dsc" at Tue Jun 16 
01:57:44 UTC 2020.
[  361s] 

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


Build failure of network:osmocom:nightly/open5gs in Debian_10/i586

2020-06-15 Thread OBS Notification
Visit 
https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/open5gs/Debian_10/i586

Package network:osmocom:nightly/open5gs failed to build in Debian_10/i586

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

Last lines of build log:
[  165s] [1925/2112] cc -Isrc/pcrf/9bf4e44@@pcrf@sta -Isrc/pcrf -I../src/pcrf 
-Ilib/app -I../lib/app -Ilib -I../lib -Ilib/core -I../lib/core -Ilib/dbi 
-I../lib/dbi -Ilib/crypt -I../lib/crypt -Ilib/diameter/rx -I../lib/diameter/rx 
-Ilib/diameter/common -I../lib/diameter/common 
-Isubprojects/freeDiameter/include -I../subprojects/freeDiameter/include 
-Isubprojects/freeDiameter -I../subprojects/freeDiameter -Ilib/diameter/gx 
-I../lib/diameter/gx -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 
-fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -std=gnu89 -Wextra 
-Wlogical-op -Werror=missing-include-dirs -Werror=pointer-arith 
-Werror=init-self -Wfloat-equal -Wsuggest-attribute=noreturn 
-Werror=missing-prototypes -Werror=missing-declarations 
-Werror=implicit-function-declaration -Werror=return-type 
-Werror=incompatible-pointer-types -Werror=format=2 -Wstrict-prototypes 
-Wredundant-decls -Wimplicit-fallthrough=5 -Wendif-labels -Wstrict-aliasing=3 
-Wwrite-strings -Werror=overflow -Werror=shift-count-overflow 
-Werror=shift-overflow=2 -Wdate-time -Wnested-externs -Wunused 
-Wduplicated-branches -Wmisleading-indentation -Wno-sign-compare 
-Wno-unused-parameter -ffast-math -fdiagnostics-show-option -fstack-protector 
-fstack-protector-strong --param=ssp-buffer-size=4 -ffunction-sections 
-fdata-sections -g -O2 -fdebug-prefix-map=/usr/src/packages/BUILD=. 
-fstack-protector-strong -Wformat -Werror=format-security -Wdate-time 
-D_FORTIFY_SOURCE=2 -fPIC -pthread  -MD -MQ 
'src/pcrf/9bf4e44@@pcrf@sta/pcrf-gx-path.c.o' -MF 
'src/pcrf/9bf4e44@@pcrf@sta/pcrf-gx-path.c.o.d' -o 
'src/pcrf/9bf4e44@@pcrf@sta/pcrf-gx-path.c.o' -c ../src/pcrf/pcrf-gx-path.c
[  165s] [1926/2112] rm -f src/pcrf/libpcrf.a && gcc-ar csrD src/pcrf/libpcrf.a 
'src/pcrf/9bf4e44@@pcrf@sta/pcrf-init.c.o' 
'src/pcrf/9bf4e44@@pcrf@sta/pcrf-context.c.o' 
'src/pcrf/9bf4e44@@pcrf@sta/pcrf-fd-path.c.o' 
'src/pcrf/9bf4e44@@pcrf@sta/pcrf-gx-path.c.o' 
'src/pcrf/9bf4e44@@pcrf@sta/pcrf-rx-path.c.o'
[  165s] [1927/2112] cc -Isrc/udr/e340f29@@udr@sta -Isrc/udr -I../src/udr 
-Ilib/app -I../lib/app -Ilib -I../lib -Ilib/core -I../lib/core -Ilib/dbi 
-I../lib/dbi -Ilib/crypt -I../lib/crypt -Ilib/sbi -I../lib/sbi 
-Ilib/sbi/openapi -I../lib/sbi/openapi -I/usr/include/libmongoc-1.0 
-I/usr/include/libbson-1.0 -I/usr/include/p11-kit-1 
-I/usr/include/i386-linux-gnu -fdiagnostics-color=always -pipe 
-D_FILE_OFFSET_BITS=64 -std=gnu89 -Wextra -Wlogical-op 
-Werror=missing-include-dirs -Werror=pointer-arith -Werror=init-self 
-Wfloat-equal -Wsuggest-attribute=noreturn -Werror=missing-prototypes 
-Werror=missing-declarations -Werror=implicit-function-declaration 
-Werror=return-type -Werror=incompatible-pointer-types -Werror=format=2 
-Wstrict-prototypes -Wredundant-decls -Wimplicit-fallthrough=5 -Wendif-labels 
-Wstrict-aliasing=3 -Wwrite-strings -Werror=overflow 
-Werror=shift-count-overflow -Werror=shift-overflow=2 -Wdate-time 
-Wnested-externs -Wunused -Wduplicated-branches -Wmisleading-indentation 
-Wno-sign-compare -Wno-unused-parameter -ffast-math -fdiagnostics-show-option 
-fstack-protector -fstack-protector-strong --param=ssp-buffer-size=4 
-ffunction-sections -fdata-sections -g -O2 
-fdebug-prefix-map=/usr/src/packages/BUILD=. -fstack-protector-strong -Wformat 
-Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread  -MD -MQ 
'src/udr/e340f29@@udr@sta/nudr-handler.c.o' -MF 
'src/udr/e340f29@@udr@sta/nudr-handler.c.o.d' -o 
'src/udr/e340f29@@udr@sta/nudr-handler.c.o' -c ../src/udr/nudr-handler.c
[  165s] [1928/2112] cc -Isrc/udr/e340f29@@udr@sta -Isrc/udr -I../src/udr 
-Ilib/app -I../lib/app -Ilib -I../lib -Ilib/core -I../lib/core -Ilib/dbi 
-I../lib/dbi -Ilib/crypt -I../lib/crypt -Ilib/sbi -I../lib/sbi 
-Ilib/sbi/openapi -I../lib/sbi/openapi -I/usr/include/libmongoc-1.0 
-I/usr/include/libbson-1.0 -I/usr/include/p11-kit-1 
-I/usr/include/i386-linux-gnu -fdiagnostics-color=always -pipe 
-D_FILE_OFFSET_BITS=64 -std=gnu89 -Wextra -Wlogical-op 
-Werror=missing-include-dirs -Werror=pointer-arith -Werror=init-self 
-Wfloat-equal -Wsuggest-attribute=noreturn -Werror=missing-prototypes 
-Werror=missing-declarations -Werror=implicit-function-declaration 
-Werror=return-type -Werror=incompatible-pointer-types -Werror=format=2 
-Wstrict-prototypes -Wredundant-decls -Wimplicit-fallthrough=5 -Wendif-labels 
-Wstrict-aliasing=3 -Wwrite-strings -Werror=overflow 
-Werror=shift-count-overflow -Werror=shift-overflow=2 -Wdate-time 
-Wnested-externs -Wunused -Wduplicated-branches -Wmisleading-indentation 
-Wno-sign-compare -Wno-unused-parameter -ffast-math -fdiagnostics-show-option 
-fstack-protector -fstack-protector-strong --param=ssp-buffer-size=4 

Build failure of network:osmocom:nightly/open5gs in xUbuntu_18.10/i586

2020-06-15 Thread OBS Notification
Visit 
https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/open5gs/xUbuntu_18.10/i586

Package network:osmocom:nightly/open5gs failed to build in xUbuntu_18.10/i586

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

Last lines of build log:
sing-declarations -Werror=implicit-function-declaration -Werror=return-type 
-Werror=incompatible-pointer-types -Werror=format=2 -Wstrict-prototypes 
-Wredundant-decls -Wimplicit-fallthrough=5 -Wendif-labels -Wstrict-aliasing=3 
-Wwrite-strings -Werror=overflow -Werror=shift-count-overflow 
-Werror=shift-overflow=2 -Wdate-time -Wnested-externs -Wunused 
-Wduplicated-branches -Wmisleading-indentation -Wno-sign-compare 
-Wno-unused-parameter -ffast-math -fdiagnostics-show-option -fstack-protector 
-fstack-protector-strong --param=ssp-buffer-size=4 -ffunction-sections 
-fdata-sections -g -O2 -fdebug-prefix-map=/usr/src/packages/BUILD=. 
-fstack-protector-strong -Wformat -Werror=format-security -Wdate-time 
-D_FORTIFY_SOURCE=2 -fPIC -pthread  -MD -MQ 
'src/udr/src@udr@@udr@sta/timer.c.o' -MF 'src/udr/src@udr@@udr@sta/timer.c.o.d' 
-o 'src/udr/src@udr@@udr@sta/timer.c.o' -c ../src/udr/timer.c
[  237s] [1924/2112] cc -Isrc/udm/src@udm@@udm@sta -Isrc/udm -I../src/udm 
-Ilib/app -I../lib/app -Ilib -I../lib -Ilib/core -I../lib/core -Ilib/crypt 
-I../lib/crypt -Ilib/sbi -I../lib/sbi -Ilib/sbi/openapi -I../lib/sbi/openapi 
-I/usr/include/p11-kit-1 -I/usr/include/i386-linux-gnu 
-fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -std=gnu89 -Wextra 
-Wlogical-op -Werror=missing-include-dirs -Werror=pointer-arith 
-Werror=init-self -Wfloat-equal -Wsuggest-attribute=noreturn 
-Werror=missing-prototypes -Werror=missing-declarations 
-Werror=implicit-function-declaration -Werror=return-type 
-Werror=incompatible-pointer-types -Werror=format=2 -Wstrict-prototypes 
-Wredundant-decls -Wimplicit-fallthrough=5 -Wendif-labels -Wstrict-aliasing=3 
-Wwrite-strings -Werror=overflow -Werror=shift-count-overflow 
-Werror=shift-overflow=2 -Wdate-time -Wnested-externs -Wunused 
-Wduplicated-branches -Wmisleading-indentation -Wno-sign-compare 
-Wno-unused-parameter -ffast-math -fdiagnostics-show-option -fstack-protector 
-fstack-protector-strong --param=ssp-buffer-size=4 -ffunction-sections 
-fdata-sections -g -O2 -fdebug-prefix-map=/usr/src/packages/BUILD=. 
-fstack-protector-strong -Wformat -Werror=format-security -Wdate-time 
-D_FORTIFY_SOURCE=2 -fPIC -pthread  -MD -MQ 
'src/udm/src@udm@@udm@sta/nnrf-handler.c.o' -MF 
'src/udm/src@udm@@udm@sta/nnrf-handler.c.o.d' -o 
'src/udm/src@udm@@udm@sta/nnrf-handler.c.o' -c ../src/udm/nnrf-handler.c
[  237s] [1925/2112] cc -Isrc/udr/src@udr@@udr@sta -Isrc/udr -I../src/udr 
-Ilib/app -I../lib/app -Ilib -I../lib -Ilib/core -I../lib/core -Ilib/dbi 
-I../lib/dbi -Ilib/crypt -I../lib/crypt -Ilib/sbi -I../lib/sbi 
-Ilib/sbi/openapi -I../lib/sbi/openapi -I/usr/include/libmongoc-1.0 
-I/usr/include/libbson-1.0 -I/usr/include/p11-kit-1 
-I/usr/include/i386-linux-gnu -fdiagnostics-color=always -pipe 
-D_FILE_OFFSET_BITS=64 -std=gnu89 -Wextra -Wlogical-op 
-Werror=missing-include-dirs -Werror=pointer-arith -Werror=init-self 
-Wfloat-equal -Wsuggest-attribute=noreturn -Werror=missing-prototypes 
-Werror=missing-declarations -Werror=implicit-function-declaration 
-Werror=return-type -Werror=incompatible-pointer-types -Werror=format=2 
-Wstrict-prototypes -Wredundant-decls -Wimplicit-fallthrough=5 -Wendif-labels 
-Wstrict-aliasing=3 -Wwrite-strings -Werror=overflow 
-Werror=shift-count-overflow -Werror=shift-overflow=2 -Wdate-time 
-Wnested-externs -Wunused -Wduplicated-branches -Wmisleading-indentation 
-Wno-sign-compare -Wno-unused-parameter -ffast-math -fdiagnostics-show-option 
-fstack-protector -fstack-protector-strong --param=ssp-buffer-size=4 
-ffunction-sections -fdata-sections -g -O2 
-fdebug-prefix-map=/usr/src/packages/BUILD=. -fstack-protector-strong -Wformat 
-Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread  -MD -MQ 
'src/udr/src@udr@@udr@sta/sbi-path.c.o' -MF 
'src/udr/src@udr@@udr@sta/sbi-path.c.o.d' -o 
'src/udr/src@udr@@udr@sta/sbi-path.c.o' -c ../src/udr/sbi-path.c
[  237s] [1926/2112] cc -Isrc/udm/src@udm@@udm@sta -Isrc/udm -I../src/udm 
-Ilib/app -I../lib/app -Ilib -I../lib -Ilib/core -I../lib/core -Ilib/crypt 
-I../lib/crypt -Ilib/sbi -I../lib/sbi -Ilib/sbi/openapi -I../lib/sbi/openapi 
-I/usr/include/p11-kit-1 -I/usr/include/i386-linux-gnu 
-fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -std=gnu89 -Wextra 
-Wlogical-op -Werror=missing-include-dirs -Werror=pointer-arith 
-Werror=init-self -Wfloat-equal -Wsuggest-attribute=noreturn 
-Werror=missing-prototypes -Werror=missing-declarations 
-Werror=implicit-function-declaration -Werror=return-type 
-Werror=incompatible-pointer-types -Werror=format=2 -Wstrict-prototypes 
-Wredundant-decls -Wimplicit-fallthrough=5 -Wendif-labels -Wstrict-aliasing=3 
-Wwrite-strings -Werror=overflow -Werror=shift-count-overflow 

Build failure of network:osmocom:nightly/open5gs in xUbuntu_18.04/i586

2020-06-15 Thread OBS Notification
Visit 
https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/open5gs/xUbuntu_18.04/i586

Package network:osmocom:nightly/open5gs failed to build in xUbuntu_18.04/i586

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

Last lines of build log:
[  187s] [1939/2112] rm -f src/pcrf/libpcrf.a && gcc-ar csrD src/pcrf/libpcrf.a 
'src/pcrf/pcrf@sta/pcrf-init.c.o' 'src/pcrf/pcrf@sta/pcrf-context.c.o' 
'src/pcrf/pcrf@sta/pcrf-fd-path.c.o' 'src/pcrf/pcrf@sta/pcrf-gx-path.c.o' 
'src/pcrf/pcrf@sta/pcrf-rx-path.c.o'
[  187s] [1940/2112] cc  -Isrc/udm/udm@sta -Isrc/udm -I../src/udm -Ilib/app 
-I../lib/app -Ilib -I../lib -Ilib/core -I../lib/core -Ilib/crypt -I../lib/crypt 
-Ilib/sbi -I../lib/sbi -Ilib/sbi/openapi -I../lib/sbi/openapi 
-I/usr/include/p11-kit-1 -I/usr/include/i386-linux-gnu 
-fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -std=gnu89 -Wextra 
-Wlogical-op -Werror=missing-include-dirs -Werror=pointer-arith 
-Werror=init-self -Wfloat-equal -Wsuggest-attribute=noreturn 
-Werror=missing-prototypes -Werror=missing-declarations 
-Werror=implicit-function-declaration -Werror=return-type 
-Werror=incompatible-pointer-types -Werror=format=2 -Wstrict-prototypes 
-Wredundant-decls -Wimplicit-fallthrough=5 -Wendif-labels -Wstrict-aliasing=3 
-Wwrite-strings -Werror=overflow -Werror=shift-count-overflow 
-Werror=shift-overflow=2 -Wdate-time -Wnested-externs -Wunused 
-Wduplicated-branches -Wmisleading-indentation -Wno-sign-compare 
-Wno-unused-parameter -ffast-math -fdiagnostics-show-option -fstack-protector 
-fstack-protector-strong --param=ssp-buffer-size=4 -ffunction-sections 
-fdata-sections -g -O2 -fdebug-prefix-map=/usr/src/packages/BUILD=. 
-fstack-protector-strong -Wformat -Werror=format-security -Wdate-time 
-D_FORTIFY_SOURCE=2 -fPIC -pthread -MD -MQ 'src/udm/udm@sta/context.c.o' -MF 
'src/udm/udm@sta/context.c.o.d' -o 'src/udm/udm@sta/context.c.o' -c 
../src/udm/context.c
[  187s] FAILED: src/udm/udm@sta/context.c.o 
[  187s] cc  -Isrc/udm/udm@sta -Isrc/udm -I../src/udm -Ilib/app -I../lib/app 
-Ilib -I../lib -Ilib/core -I../lib/core -Ilib/crypt -I../lib/crypt -Ilib/sbi 
-I../lib/sbi -Ilib/sbi/openapi -I../lib/sbi/openapi -I/usr/include/p11-kit-1 
-I/usr/include/i386-linux-gnu -fdiagnostics-color=always -pipe 
-D_FILE_OFFSET_BITS=64 -std=gnu89 -Wextra -Wlogical-op 
-Werror=missing-include-dirs -Werror=pointer-arith -Werror=init-self 
-Wfloat-equal -Wsuggest-attribute=noreturn -Werror=missing-prototypes 
-Werror=missing-declarations -Werror=implicit-function-declaration 
-Werror=return-type -Werror=incompatible-pointer-types -Werror=format=2 
-Wstrict-prototypes -Wredundant-decls -Wimplicit-fallthrough=5 -Wendif-labels 
-Wstrict-aliasing=3 -Wwrite-strings -Werror=overflow 
-Werror=shift-count-overflow -Werror=shift-overflow=2 -Wdate-time 
-Wnested-externs -Wunused -Wduplicated-branches -Wmisleading-indentation 
-Wno-sign-compare -Wno-unused-parameter -ffast-math -fdiagnostics-show-option 
-fstack-protector -fstack-protector-strong --param=ssp-buffer-size=4 
-ffunction-sections -fdata-sections -g -O2 
-fdebug-prefix-map=/usr/src/packages/BUILD=. -fstack-protector-strong -Wformat 
-Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -MD -MQ 
'src/udm/udm@sta/context.c.o' -MF 'src/udm/udm@sta/context.c.o.d' -o 
'src/udm/udm@sta/context.c.o' -c ../src/udm/context.c
[  187s] ../src/udm/context.c: In function ‘udm_ue_add’:
[  187s] ../src/udm/context.c:129:38: error: format ‘%ld’ expects argument of 
type ‘long int’, but argument 2 has type ‘int’ [-Werror=format=]
[  187s]  udm_ue->ctx_id = ogs_msprintf("%ld", ogs_pool_index(_ue_pool, 
udm_ue));
[  187s] ~~^
[  187s] %d
[  187s] cc1: some warnings being treated as errors
[  187s] [1941/2112] cc  -Isrc/udm/udm@sta -Isrc/udm -I../src/udm -Ilib/app 
-I../lib/app -Ilib -I../lib -Ilib/core -I../lib/core -Ilib/crypt -I../lib/crypt 
-Ilib/sbi -I../lib/sbi -Ilib/sbi/openapi -I../lib/sbi/openapi 
-I/usr/include/p11-kit-1 -I/usr/include/i386-linux-gnu 
-fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -std=gnu89 -Wextra 
-Wlogical-op -Werror=missing-include-dirs -Werror=pointer-arith 
-Werror=init-self -Wfloat-equal -Wsuggest-attribute=noreturn 
-Werror=missing-prototypes -Werror=missing-declarations 
-Werror=implicit-function-declaration -Werror=return-type 
-Werror=incompatible-pointer-types -Werror=format=2 -Wstrict-prototypes 
-Wredundant-decls -Wimplicit-fallthrough=5 -Wendif-labels -Wstrict-aliasing=3 
-Wwrite-strings -Werror=overflow -Werror=shift-count-overflow 
-Werror=shift-overflow=2 -Wdate-time -Wnested-externs -Wunused 
-Wduplicated-branches -Wmisleading-indentation -Wno-sign-compare 
-Wno-unused-parameter -ffast-math -fdiagnostics-show-option -fstack-protector 
-fstack-protector-strong --param=ssp-buffer-size=4 -ffunction-sections 
-fdata-sections -g -O2 -fdebug-prefix-map=/usr/src/packages/BUILD=. 

Change in docker-playground[master]: BSC_Tests.cfg for SCCPlite: adjust cfg for multiple MSCs

2020-06-15 Thread neels
neels has submitted this change. ( 
https://gerrit.osmocom.org/c/docker-playground/+/18849 )

Change subject: BSC_Tests.cfg for SCCPlite: adjust cfg for multiple MSCs
..

BSC_Tests.cfg for SCCPlite: adjust cfg for multiple MSCs

Forgot to also adjust the SCCPlite structure in previous commit
c7b52048e63ac014bdb1e78b4883cc75da55428f, which broke SCCPlite testing.

Change-Id: I923e398ccd4bdd31c8325de1a850fe4c3236db79
---
M ttcn3-bsc-test/sccplite/BSC_Tests.cfg
1 file changed, 11 insertions(+), 9 deletions(-)

Approvals:
  neels: Looks good to me, approved; Verified



diff --git a/ttcn3-bsc-test/sccplite/BSC_Tests.cfg 
b/ttcn3-bsc-test/sccplite/BSC_Tests.cfg
index 6b72eec..5e0485c 100644
--- a/ttcn3-bsc-test/sccplite/BSC_Tests.cfg
+++ b/ttcn3-bsc-test/sccplite/BSC_Tests.cfg
@@ -13,15 +13,17 @@
 BSC_Tests.mp_test_ip   := "172.18.12.203";
 BSC_Tests.mp_enable_osmux_test := true;
 BSC_Tests.mp_bssap_cfg := {
-   transport := BSSAP_TRANSPORT_SCCPlite_SERVER,
-   sccp_service_type := "mtp3_itu",
-   sctp_addr := { 5000, "172.18.12.203", -1, "" },
-   own_pc := 185,
-   own_ssn := 254,
-   peer_pc := 187,
-   peer_ssn := 254,
-   sio := '83'O,
-   rctx := 0
+   {
+   transport := BSSAP_TRANSPORT_SCCPlite_SERVER,
+   sccp_service_type := "mtp3_itu",
+   sctp_addr := { 5000, "172.18.12.203", -1, "" },
+   own_pc := 185,  /* 0.23.1 first MSC emulation */
+   own_ssn := 254,
+   peer_pc := 187, /* 0.23.3 osmo-bsc */
+   peer_ssn := 254,
+   sio := '83'O,
+   rctx := 0
+   }
 };

 [MAIN_CONTROLLER]

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

Gerrit-Project: docker-playground
Gerrit-Branch: master
Gerrit-Change-Id: I923e398ccd4bdd31c8325de1a850fe4c3236db79
Gerrit-Change-Number: 18849
Gerrit-PatchSet: 1
Gerrit-Owner: neels 
Gerrit-Reviewer: neels 
Gerrit-MessageType: merged


Change in docker-playground[master]: BSC_Tests.cfg for SCCPlite: adjust cfg for multiple MSCs

2020-06-15 Thread neels
neels has posted comments on this change. ( 
https://gerrit.osmocom.org/c/docker-playground/+/18849 )

Change subject: BSC_Tests.cfg for SCCPlite: adjust cfg for multiple MSCs
..


Patch Set 1: Verified+1


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

Gerrit-Project: docker-playground
Gerrit-Branch: master
Gerrit-Change-Id: I923e398ccd4bdd31c8325de1a850fe4c3236db79
Gerrit-Change-Number: 18849
Gerrit-PatchSet: 1
Gerrit-Owner: neels 
Gerrit-Reviewer: neels 
Gerrit-Comment-Date: Mon, 15 Jun 2020 22:52:03 +
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment


Change in docker-playground[master]: BSC_Tests.cfg for SCCPlite: adjust cfg for multiple MSCs

2020-06-15 Thread neels
neels has posted comments on this change. ( 
https://gerrit.osmocom.org/c/docker-playground/+/18849 )

Change subject: BSC_Tests.cfg for SCCPlite: adjust cfg for multiple MSCs
..


Patch Set 1: Code-Review+2

quick merge to fix test suite breakage


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

Gerrit-Project: docker-playground
Gerrit-Branch: master
Gerrit-Change-Id: I923e398ccd4bdd31c8325de1a850fe4c3236db79
Gerrit-Change-Number: 18849
Gerrit-PatchSet: 1
Gerrit-Owner: neels 
Gerrit-Reviewer: neels 
Gerrit-Comment-Date: Mon, 15 Jun 2020 22:51:29 +
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment


Change in docker-playground[master]: bsc.cfg: SCCPlite = AoIP: adjust logging config

2020-06-15 Thread neels
neels has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/docker-playground/+/18852 )


Change subject: bsc.cfg: SCCPlite = AoIP: adjust logging config
..

bsc.cfg: SCCPlite = AoIP: adjust logging config

Adjust the SCCPlite osmo-bsc.cfg according to changes applied in osmo-bsc.cfg,
which were obviously forgotten to also apply to the SCCPlite test runs.

Do the same logging in both SCCPlite and AoIP osmo-bsc.cfg.

Change-Id: I4a8fe459ec580078228c6775df357b6e0acbbb03
---
M ttcn3-bsc-test/sccplite/osmo-bsc.cfg
1 file changed, 4 insertions(+), 15 deletions(-)



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

diff --git a/ttcn3-bsc-test/sccplite/osmo-bsc.cfg 
b/ttcn3-bsc-test/sccplite/osmo-bsc.cfg
index 0441492..0f5b520 100644
--- a/ttcn3-bsc-test/sccplite/osmo-bsc.cfg
+++ b/ttcn3-bsc-test/sccplite/osmo-bsc.cfg
@@ -13,21 +13,10 @@
  logging print category 1
  logging timestamp 1
  logging print extended-timestamp 1
- logging level all everything
- logging level rll notice
- logging level mm notice
- logging level rr notice
- logging level rsl notice
- logging level nm info
- logging level pag notice
- logging level meas notice
- logging level msc notice
- logging level ho notice
- logging level ref notice
- logging level ctrl notice
- logging level filter debug
- logging level pcu debug
- logging level lglobal notice
+ logging print category-hex 0
+ logging print file basename last
+ logging print level 1
+ logging level set-all debug
  logging level llapd notice
  logging level linp notice
  logging level lmux notice

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

Gerrit-Project: docker-playground
Gerrit-Branch: master
Gerrit-Change-Id: I4a8fe459ec580078228c6775df357b6e0acbbb03
Gerrit-Change-Number: 18852
Gerrit-PatchSet: 1
Gerrit-Owner: neels 
Gerrit-MessageType: newchange


Change in docker-playground[master]: bsc.cfg: SCCPlite = AoIP: adjust si2quater config

2020-06-15 Thread neels
neels has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/docker-playground/+/18851 )


Change subject: bsc.cfg: SCCPlite = AoIP: adjust si2quater config
..

bsc.cfg: SCCPlite = AoIP: adjust si2quater config

Adjust the SCCPlite osmo-bsc.cfg according to changes applied in osmo-bsc.cfg,
which were obviously forgotten to also apply to the SCCPlite test runs.

Make the SI2quater config reflect that of the AoIP osmo-bsc.cfg.

Change-Id: I4dbabcc28309424a336d2a052a067484d17663ac
---
M ttcn3-bsc-test/sccplite/osmo-bsc.cfg
1 file changed, 3 insertions(+), 0 deletions(-)



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

diff --git a/ttcn3-bsc-test/sccplite/osmo-bsc.cfg 
b/ttcn3-bsc-test/sccplite/osmo-bsc.cfg
index eb627fe..0441492 100644
--- a/ttcn3-bsc-test/sccplite/osmo-bsc.cfg
+++ b/ttcn3-bsc-test/sccplite/osmo-bsc.cfg
@@ -137,6 +137,7 @@
   gprs nsvc 1 remote udp port 0
   gprs nsvc 1 remote ip 0.0.0.0
   no force-combined-si
+  si2quater neighbor-list add earfcn 111 thresh-hi 20 thresh-lo 10 prio 3 
qrxlv 22 meas 3
   trx 0
rf_locked 0
arfcn 871
@@ -226,6 +227,7 @@
   gprs nsvc 1 remote udp port 0
   gprs nsvc 1 remote ip 0.0.0.0
   no force-combined-si
+  si2quater neighbor-list add earfcn 111 thresh-hi 20 thresh-lo 10 prio 3 
qrxlv 22 meas 3
   trx 0
rf_locked 0
arfcn 871
@@ -315,6 +317,7 @@
   gprs nsvc 1 remote udp port 0
   gprs nsvc 1 remote ip 0.0.0.0
   no force-combined-si
+  si2quater neighbor-list add earfcn 111 thresh-hi 20 thresh-lo 10 prio 3 
qrxlv 22 meas 3
   trx 0
rf_locked 0
arfcn 871

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

Gerrit-Project: docker-playground
Gerrit-Branch: master
Gerrit-Change-Id: I4dbabcc28309424a336d2a052a067484d17663ac
Gerrit-Change-Number: 18851
Gerrit-PatchSet: 1
Gerrit-Owner: neels 
Gerrit-MessageType: newchange


Change in docker-playground[master]: bsc.cfg: SCCPlite = AoIP: adjust handover config

2020-06-15 Thread neels
neels has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/docker-playground/+/18850 )


Change subject: bsc.cfg: SCCPlite = AoIP: adjust handover config
..

bsc.cfg: SCCPlite = AoIP: adjust handover config

Adjust the SCCPlite osmo-bsc.cfg according to changes applied in osmo-bsc.cfg,
which were obviously forgotten to also apply to the SCCPlite test runs.

These handover config changes should fix the TC_ho_* tests in
ttcn3-bsc-sccplite.

Change-Id: I9694863b2db6be6384d1d6ffb35fc477fe774d02
---
M ttcn3-bsc-test/sccplite/osmo-bsc.cfg
1 file changed, 1 insertion(+), 3 deletions(-)



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

diff --git a/ttcn3-bsc-test/sccplite/osmo-bsc.cfg 
b/ttcn3-bsc-test/sccplite/osmo-bsc.cfg
index 806ec69..eb627fe 100644
--- a/ttcn3-bsc-test/sccplite/osmo-bsc.cfg
+++ b/ttcn3-bsc-test/sccplite/osmo-bsc.cfg
@@ -69,7 +69,7 @@
  encryption a5 0 1 3
  neci 1
  paging any use tch 0
- handover 0
+ handover 1
  handover window rxlev averaging 10
  handover window rxqual averaging 1
  handover window rxlev neighbor averaging 10
@@ -104,8 +104,6 @@
   neighbor-list add arfcn 200
   si5 neighbor-list add arfcn 10
   si5 neighbor-list add arfcn 20
-  # remote-BSS neighbor:
-  neighbor lac 99 arfcn 123 bsic any
   codec-support fr hr efr amr
   gprs mode gprs
   gprs routing area 0

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

Gerrit-Project: docker-playground
Gerrit-Branch: master
Gerrit-Change-Id: I9694863b2db6be6384d1d6ffb35fc477fe774d02
Gerrit-Change-Number: 18850
Gerrit-PatchSet: 1
Gerrit-Owner: neels 
Gerrit-MessageType: newchange


Change in docker-playground[master]: BSC_Tests.cfg for SCCPlite: adjust cfg for multiple MSCs

2020-06-15 Thread neels
neels has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/docker-playground/+/18849 )


Change subject: BSC_Tests.cfg for SCCPlite: adjust cfg for multiple MSCs
..

BSC_Tests.cfg for SCCPlite: adjust cfg for multiple MSCs

Forgot to also adjust the SCCPlite structure in previous commit
c7b52048e63ac014bdb1e78b4883cc75da55428f, which broke SCCPlite testing.

Change-Id: I923e398ccd4bdd31c8325de1a850fe4c3236db79
---
M ttcn3-bsc-test/sccplite/BSC_Tests.cfg
1 file changed, 11 insertions(+), 9 deletions(-)



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

diff --git a/ttcn3-bsc-test/sccplite/BSC_Tests.cfg 
b/ttcn3-bsc-test/sccplite/BSC_Tests.cfg
index 6b72eec..5e0485c 100644
--- a/ttcn3-bsc-test/sccplite/BSC_Tests.cfg
+++ b/ttcn3-bsc-test/sccplite/BSC_Tests.cfg
@@ -13,15 +13,17 @@
 BSC_Tests.mp_test_ip   := "172.18.12.203";
 BSC_Tests.mp_enable_osmux_test := true;
 BSC_Tests.mp_bssap_cfg := {
-   transport := BSSAP_TRANSPORT_SCCPlite_SERVER,
-   sccp_service_type := "mtp3_itu",
-   sctp_addr := { 5000, "172.18.12.203", -1, "" },
-   own_pc := 185,
-   own_ssn := 254,
-   peer_pc := 187,
-   peer_ssn := 254,
-   sio := '83'O,
-   rctx := 0
+   {
+   transport := BSSAP_TRANSPORT_SCCPlite_SERVER,
+   sccp_service_type := "mtp3_itu",
+   sctp_addr := { 5000, "172.18.12.203", -1, "" },
+   own_pc := 185,  /* 0.23.1 first MSC emulation */
+   own_ssn := 254,
+   peer_pc := 187, /* 0.23.3 osmo-bsc */
+   peer_ssn := 254,
+   sio := '83'O,
+   rctx := 0
+   }
 };

 [MAIN_CONTROLLER]

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

Gerrit-Project: docker-playground
Gerrit-Branch: master
Gerrit-Change-Id: I923e398ccd4bdd31c8325de1a850fe4c3236db79
Gerrit-Change-Number: 18849
Gerrit-PatchSet: 1
Gerrit-Owner: neels 
Gerrit-MessageType: newchange


Change in osmo-ttcn3-hacks[master]: RAN_Emulation: drop unused function f_bssap_wait_for_reset()

2020-06-15 Thread neels
neels has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/18845 )


Change subject: RAN_Emulation: drop unused function f_bssap_wait_for_reset()
..

RAN_Emulation: drop unused function f_bssap_wait_for_reset()

Change-Id: I9ecf4fdeaee8e5437427564ef860c9053ffa4241
---
M library/RAN_Emulation.ttcnpp
1 file changed, 0 insertions(+), 22 deletions(-)



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

diff --git a/library/RAN_Emulation.ttcnpp b/library/RAN_Emulation.ttcnpp
index 5450706..a400dcd 100644
--- a/library/RAN_Emulation.ttcnpp
+++ b/library/RAN_Emulation.ttcnpp
@@ -518,28 +518,6 @@
return g_ran_ops.unitdata_cb.apply(bssap);
 }

-private function f_bssap_wait_for_reset() runs on RAN_Emulation_CT {
-   var BSSAP_N_UNITDATA_ind ud_ind;
-   timer T := 20.0;
-   var boolean append_osmux_support := append_osmux_ie();
-
-   T.start;
-   alt {
-   [] BSSAP.receive(tr_BSSAP_UNITDATA_ind(?, ?, 
tr_BSSMAP_Reset(append_osmux_support))) -> value ud_ind {
-   BSSAP.send(ts_BSSAP_UNITDATA_req(ud_ind.callingAddress, 
ud_ind.calledAddress,
-  ts_BSSMAP_ResetAck(append_osmux_support)));
-   }
-   [] as_reset_ack(append_osmux_support);
-   [] BSSAP.receive {
-   repeat;
-   }
-   [] T.timeout {
-   setverdict(fail, "Timeout waiting for BSSAP RESET");
-   mtc.stop;
-   }
-   }
-}
-
 function f_bssap_reset(SCCP_PAR_Address peer, SCCP_PAR_Address own) runs on 
RAN_Emulation_CT {
timer T := 5.0;
var boolean append_osmux_support := append_osmux_ie();

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

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I9ecf4fdeaee8e5437427564ef860c9053ffa4241
Gerrit-Change-Number: 18845
Gerrit-PatchSet: 1
Gerrit-Owner: neels 
Gerrit-MessageType: newchange


Change in osmo-ttcn3-hacks[master]: bsc: allow individual T_guard timeout via f_init()

2020-06-15 Thread neels
neels has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/18846 )


Change subject: bsc: allow individual T_guard timeout via f_init()
..

bsc: allow individual T_guard timeout via f_init()

The TC_ho_neighbor_config_* tests sometimes take longer than 30 seconds,
because they run multiple handovers. Since they don't have access to the
Test_CT, they cannot restart the T_guard. The simplest solution is to choose a
longer T_guard timeout for those tests specifically, by adding an argument to
f_init(). (A longer timeout for those tests is following in another patch.)

Why f_init()? Assigning a different default value to T_guard seems to not be
possible, but a different timeout value can be passed to T_guard.start(), which
happens in f_init().

Change-Id: I14918f6a44d6fa1bd5c3e133757ebdbe32813b33
---
M bsc/BSC_Tests.ttcn
1 file changed, 3 insertions(+), 3 deletions(-)



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

diff --git a/bsc/BSC_Tests.ttcn b/bsc/BSC_Tests.ttcn
index 302edfe..b84f1ca 100644
--- a/bsc/BSC_Tests.ttcn
+++ b/bsc/BSC_Tests.ttcn
@@ -104,7 +104,7 @@
/*Configure T(tiar) over VTY, seconds */
var integer g_bsc_sccp_timer_iar := 15 * 60;

-   /* global test case guard timer */
+   /* global test case guard timer (actual timeout value is set in 
f_init()) */
timer T_guard := 30.0;

 }
@@ -384,7 +384,7 @@
  * \param nr_msc Number of virtual MSCs to bring up to connect to osmo-bsc.
  */
 function f_init(integer nr_bts := NUM_BTS, boolean handler_mode := false, 
boolean allow_osmux := false,
-   integer nr_msc := 1) runs on test_CT {
+   integer nr_msc := 1, float guard_timeout := 30.0) runs on 
test_CT {
var integer bssap_idx;
var integer i;

@@ -393,7 +393,7 @@
}
g_initialized := true;

-   T_guard.start;
+   T_guard.start(guard_timeout);
activate(as_Tguard());

f_init_vty("VirtMSC");

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

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I14918f6a44d6fa1bd5c3e133757ebdbe32813b33
Gerrit-Change-Number: 18846
Gerrit-PatchSet: 1
Gerrit-Owner: neels 
Gerrit-MessageType: newchange


Change in osmo-ttcn3-hacks[master]: bsc: set longer T_guard for TC_ho_neighbor_config tests

2020-06-15 Thread neels
neels has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/18847 )


Change subject: bsc: set longer T_guard for TC_ho_neighbor_config tests
..

bsc: set longer T_guard for TC_ho_neighbor_config tests

They perform several handover runs and tend to timeout prematurely on my
machine.

Change-Id: I9d641c9b5d5a6f2c2edbc2c782f33872cf7a483f
---
M bsc/BSC_Tests.ttcn
1 file changed, 5 insertions(+), 5 deletions(-)



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

diff --git a/bsc/BSC_Tests.ttcn b/bsc/BSC_Tests.ttcn
index b84f1ca..876213b 100644
--- a/bsc/BSC_Tests.ttcn
+++ b/bsc/BSC_Tests.ttcn
@@ -3988,28 +3988,28 @@

 testcase TC_ho_neighbor_config_1() runs on test_CT {
var MSC_ConnHdlr vc_conn;
-   f_init(3, true);
+   f_init(3, true, guard_timeout := 60.0);
f_sleep(1.0);
vc_conn := f_start_handler(refers(f_tc_ho_neighbor_config_1));
vc_conn.done;
 }
 testcase TC_ho_neighbor_config_2() runs on test_CT {
var MSC_ConnHdlr vc_conn;
-   f_init(3, true);
+   f_init(3, true, guard_timeout := 50.0);
f_sleep(1.0);
vc_conn := f_start_handler(refers(f_tc_ho_neighbor_config_2));
vc_conn.done;
 }
 testcase TC_ho_neighbor_config_3() runs on test_CT {
var MSC_ConnHdlr vc_conn;
-   f_init(3, true);
+   f_init(3, true, guard_timeout := 50.0);
f_sleep(1.0);
vc_conn := f_start_handler(refers(f_tc_ho_neighbor_config_3));
vc_conn.done;
 }
 testcase TC_ho_neighbor_config_4() runs on test_CT {
var MSC_ConnHdlr vc_conn;
-   f_init(3, true);
+   f_init(3, true, guard_timeout := 50.0);
f_sleep(1.0);
vc_conn := f_start_handler(refers(f_tc_ho_neighbor_config_4));
vc_conn.done;
@@ -4030,7 +4030,7 @@
 }
 testcase TC_ho_neighbor_config_7() runs on test_CT {
var MSC_ConnHdlr vc_conn;
-   f_init(3, true);
+   f_init(3, true, guard_timeout := 50.0);
f_sleep(1.0);
vc_conn := f_start_handler(refers(f_tc_ho_neighbor_config_7));
vc_conn.done;

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

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I9d641c9b5d5a6f2c2edbc2c782f33872cf7a483f
Gerrit-Change-Number: 18847
Gerrit-PatchSet: 1
Gerrit-Owner: neels 
Gerrit-MessageType: newchange


Change in osmo-ttcn3-hacks[master]: RAN_Emulation: only respond to RESET with correct PC

2020-06-15 Thread neels
neels has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/18848 )


Change subject: RAN_Emulation: only respond to RESET with correct PC
..

RAN_Emulation: only respond to RESET with correct PC

While trying to add multiple MSCs on SCCPlite, I noticed that the MSC emulation
responds to RESET regardless of the PC. Only respond when the point-codes match
the configured ones.

Change-Id: Ia1f94c4fc99ca18196f3fd5c5efe26b7309df499
---
M library/RAN_Emulation.ttcnpp
1 file changed, 4 insertions(+), 4 deletions(-)



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

diff --git a/library/RAN_Emulation.ttcnpp b/library/RAN_Emulation.ttcnpp
index a400dcd..7032607 100644
--- a/library/RAN_Emulation.ttcnpp
+++ b/library/RAN_Emulation.ttcnpp
@@ -790,16 +790,16 @@
var RANAP_N_UNITDATA_ind rud_ind;
 #endif
 #ifdef RAN_EMULATION_BSSAP
-   [] BSSAP.receive(tr_BSSAP_UNITDATA_ind(?, ?, 
tr_BSSMAP_Reset(append_osmux_support))) -> value ud_ind {
-   log("Respoding to inbound RESET with RESET-ACK");
+   [] BSSAP.receive(tr_BSSAP_UNITDATA_ind(g_ran_ops.sccp_addr_local, 
g_ran_ops.sccp_addr_peer, tr_BSSMAP_Reset(append_osmux_support))) -> value 
ud_ind {
+   log("Respoding to inbound RESET from ", 
g_ran_ops.sccp_addr_peer, " to ", g_ran_ops.sccp_addr_local, " with RESET-ACK");
BSSAP.send(ts_BSSAP_UNITDATA_req(ud_ind.callingAddress, 
ud_ind.calledAddress,
   ts_BSSMAP_ResetAck(append_osmux_support)));
repeat;
}
 #endif
 #ifdef RAN_EMULATION_RANAP
-   [] RANAP.receive(tr_RANAP_UNITDATA_ind(?, ?, tr_RANAP_Reset)) -> value 
rud_ind {
-   log("Respoding to inbound IuRESET with IuRESET-ACK");
+   [] RANAP.receive(tr_RANAP_UNITDATA_ind(g_ran_ops.sccp_addr_local, 
g_ran_ops.sccp_addr_peer, tr_RANAP_Reset)) -> value rud_ind {
+   log("Respoding to inbound IuRESET from ", 
g_ran_ops.sccp_addr_peer, " to ", g_ran_ops.sccp_addr_local, " with 
IuRESET-ACK");
var CN_DomainIndicator dom;
dom := 
rud_ind.userData.initiatingMessage.value_.Reset.protocolIEs[1].value_.cN_DomainIndicator;
RANAP.send(ts_RANAP_UNITDATA_req(rud_ind.callingAddress, 
rud_ind.calledAddress,

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

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: Ia1f94c4fc99ca18196f3fd5c5efe26b7309df499
Gerrit-Change-Number: 18848
Gerrit-PatchSet: 1
Gerrit-Owner: neels 
Gerrit-MessageType: newchange


Change in osmo-ttcn3-hacks[master]: bsc: skip MSC pooling tests in SCCPlite

2020-06-15 Thread neels
neels has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/18844 )


Change subject: bsc: skip MSC pooling tests in SCCPlite
..

bsc: skip MSC pooling tests in SCCPlite

Change-Id: Ie0b393d26feb56738e2f5ef213a8a922bb5e90a7
---
M bsc/BSC_Tests.ttcn
1 file changed, 16 insertions(+), 10 deletions(-)



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

diff --git a/bsc/BSC_Tests.ttcn b/bsc/BSC_Tests.ttcn
index 9d48d62..fe55e59 100644
--- a/bsc/BSC_Tests.ttcn
+++ b/bsc/BSC_Tests.ttcn
@@ -5132,16 +5132,22 @@
execute( TC_assignment_verify_ms_power_params_ie() );

/* MSC pooling */
-   execute( TC_mscpool_L3Compl_on_1_msc() );
-   execute( TC_mscpool_L3Complete_by_imsi_round_robin() );
-   execute( TC_mscpool_LU_by_tmsi_null_nri_0_round_robin() );
-   execute( TC_mscpool_LU_by_tmsi_null_nri_1_round_robin() );
-   execute( TC_mscpool_L3Complete_by_tmsi_unassigned_nri_round_robin() );
-   execute( 
TC_mscpool_L3Complete_by_tmsi_valid_nri_msc_not_connected_round_robin() );
-   execute( TC_mscpool_L3Complete_by_tmsi_valid_nri_1() );
-   execute( TC_mscpool_L3Complete_by_tmsi_valid_nri_2() );
-   execute( TC_mscpool_paging_and_response_imsi() );
-   execute( TC_mscpool_paging_and_response_tmsi() );
+   /* FIXME: in SCCPlite, indicating how many MSCs should be connected 
does currently not work. Since
+* RESET->RESET-ACK is unconditionally negotiated for all configured 
MSCs, they always all appear as connected
+* to osmo-bsc. The MSC pooling tests however require disconnecting 
selected MSCs, and hence don't work out as
+* intended on SCCPlite. So for now, run these only for SCCP/M3UA. */
+   if (mp_bssap_cfg[0].transport == BSSAP_TRANSPORT_AoIP) {
+   execute( TC_mscpool_L3Compl_on_1_msc() );
+   execute( TC_mscpool_L3Complete_by_imsi_round_robin() );
+   execute( TC_mscpool_LU_by_tmsi_null_nri_0_round_robin() );
+   execute( TC_mscpool_LU_by_tmsi_null_nri_1_round_robin() );
+   execute( 
TC_mscpool_L3Complete_by_tmsi_unassigned_nri_round_robin() );
+   execute( 
TC_mscpool_L3Complete_by_tmsi_valid_nri_msc_not_connected_round_robin() );
+   execute( TC_mscpool_L3Complete_by_tmsi_valid_nri_1() );
+   execute( TC_mscpool_L3Complete_by_tmsi_valid_nri_2() );
+   execute( TC_mscpool_paging_and_response_imsi() );
+   execute( TC_mscpool_paging_and_response_tmsi() );
+   }

/* at bottom as they might crash OsmoBSC before OS#3182 is fixed */
execute( TC_early_conn_fail() );

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

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: Ie0b393d26feb56738e2f5ef213a8a922bb5e90a7
Gerrit-Change-Number: 18844
Gerrit-PatchSet: 1
Gerrit-Owner: neels 
Gerrit-MessageType: newchange


Build failure of network:osmocom:nightly/osmo-msc in Debian_10/armv7l

2020-06-15 Thread OBS Notification
Visit 
https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/osmo-msc/Debian_10/armv7l

Package network:osmocom:nightly/osmo-msc failed to build in Debian_10/armv7l

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

Last lines of build log:
[  921s] | #define HAVE_STDLIB_H 1
[  921s] | #define HAVE_STRING_H 1
[  921s] | #define HAVE_MEMORY_H 1
[  921s] | #define HAVE_STRINGS_H 1
[  921s] | #define HAVE_INTTYPES_H 1
[  921s] | #define HAVE_STDINT_H 1
[  921s] | #define HAVE_UNISTD_H 1
[  921s] | #define HAVE_DLFCN_H 1
[  921s] | #define LT_OBJDIR ".libs/"
[  921s] | #define HAVE_LIBSCTP 1
[  921s] | #define BUILD_SMPP 1
[  921s] | #define BUILD_IU 1
[  921s] | #define STDC_HEADERS 1
[  921s] | #define HAVE_DBI_DBD_H 1
[  921s] | #define HAVE_TM_GMTOFF_IN_TM 1
[  921s] | 
[  921s] | configure: exit 0
[  921s] 
[  921s] make[1]: *** [debian/rules:63: override_dh_auto_test] Error 1
[  921s] make[1]: Leaving directory '/usr/src/packages/BUILD'
[  921s] make: *** [debian/rules:45: build] Error 2
[  921s] dpkg-buildpackage: error: debian/rules build subprocess returned exit 
status 2
[  921s] ### VM INTERACTION START ###
[  924s] [  902.942201] sysrq: SysRq : Power Off
[  924s] [  902.951940] reboot: Power down
[  925s] ### VM INTERACTION END ###
[  925s] 
[  925s] armbuild22 failed "build osmo-msc_1.6.1.40.5c38c.dsc" at Mon Jun 15 
21:52:43 UTC 2020.
[  925s] 

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


Build failure of network:osmocom:nightly/osmo-msc in Raspbian_10/armv7l

2020-06-15 Thread OBS Notification
Visit 
https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/osmo-msc/Raspbian_10/armv7l

Package network:osmocom:nightly/osmo-msc failed to build in Raspbian_10/armv7l

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

Last lines of build log:
[ 1431s] | #define HAVE_STDLIB_H 1
[ 1431s] | #define HAVE_STRING_H 1
[ 1431s] | #define HAVE_MEMORY_H 1
[ 1431s] | #define HAVE_STRINGS_H 1
[ 1431s] | #define HAVE_INTTYPES_H 1
[ 1431s] | #define HAVE_STDINT_H 1
[ 1431s] | #define HAVE_UNISTD_H 1
[ 1431s] | #define HAVE_DLFCN_H 1
[ 1431s] | #define LT_OBJDIR ".libs/"
[ 1431s] | #define HAVE_LIBSCTP 1
[ 1431s] | #define BUILD_SMPP 1
[ 1431s] | #define BUILD_IU 1
[ 1431s] | #define STDC_HEADERS 1
[ 1431s] | #define HAVE_DBI_DBD_H 1
[ 1431s] | #define HAVE_TM_GMTOFF_IN_TM 1
[ 1431s] | 
[ 1431s] | configure: exit 0
[ 1431s] 
[ 1431s] make[1]: *** [debian/rules:63: override_dh_auto_test] Error 1
[ 1431s] make[1]: Leaving directory '/usr/src/packages/BUILD'
[ 1431s] make: *** [debian/rules:45: build] Error 2
[ 1431s] dpkg-buildpackage: error: debian/rules build subprocess returned exit 
status 2
[ 1432s] ### VM INTERACTION START ###
[ 1436s] [ 1398.033257] sysrq: SysRq : Power Off
[ 1436s] [ 1398.058874] reboot: Power down
[ 1438s] ### VM INTERACTION END ###
[ 1438s] 
[ 1438s] obs-arm-5 failed "build osmo-msc_1.6.1.40.5c38c.dsc" at Mon Jun 15 
21:34:22 UTC 2020.
[ 1438s] 

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


Change in libosmo-abis[master]: WIP: trau_frame: New API

2020-06-15 Thread laforge
Hello Jenkins Builder,

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

https://gerrit.osmocom.org/c/libosmo-abis/+/18249

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

Change subject: WIP: trau_frame: New API
..

WIP: trau_frame: New API

The old TRAU frame code in src/trau_frame.c (which is for some strange
reason part of libosmo-abis, and not libosmo-trau!) was introduced more
than a decade ago for the needs of bs11_abis AKA OpenBSC aka OsmoNITB.

It is too constrained to implement TRAU frame parsing in a generic way,
including:
* no way to add support for 8k sub-slots
* no way to handle CRC bits or UFI (i.e. no AMR)
* no real API design, it was just ripped out from OsmoNITB and moved into
  a library (even the wrong one)

For those reasons, let's introduce a new API for TRAU frame
encoding/decoding - one that supports all the relevant use cases.

This is marked WIP until the part handling T-bits is properly
implemented.

Change-Id: I5cf42e6c445d9224be18503cebc7584b3beba08c
---
M include/Makefile.am
A include/osmocom/trau/trau_frame.h
M src/Makefile.am
A src/trau/trau_frame.c
4 files changed, 1,473 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/libosmo-abis refs/changes/49/18249/6
--
To view, visit https://gerrit.osmocom.org/c/libosmo-abis/+/18249
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: libosmo-abis
Gerrit-Branch: master
Gerrit-Change-Id: I5cf42e6c445d9224be18503cebc7584b3beba08c
Gerrit-Change-Number: 18249
Gerrit-PatchSet: 6
Gerrit-Owner: laforge 
Gerrit-Reviewer: Jenkins Builder
Gerrit-MessageType: newpatchset


Change in libosmo-abis[master]: WIP: Add new TRAU frame sync code

2020-06-15 Thread laforge
Hello Jenkins Builder,

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

https://gerrit.osmocom.org/c/libosmo-abis/+/18250

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

Change subject: WIP: Add new TRAU frame sync code
..

WIP: Add new TRAU frame sync code

This code is able to detect and sync against a variety of TRAU
frame sync patterns.  Focus is so far on those patterns present on
16k sub-slots, but 8k sub-slots are expected to be supported soon,
too.

A new codebase for this is required as the old OsmoNITB code had
conflated a 16k sub-slot multiplexer with TRAU frame synchronization,
so there was no way to separate those two parts and hence no way to
support 8k sub-slots.

Change-Id: Ia6fe6228b0b8b9a27999f37ce1115ed5558881ea
---
M include/Makefile.am
A include/osmocom/trau/trau_sync.h
M src/Makefile.am
A src/trau/trau_sync.c
A src/trau/ubit_buf.h
M tests/Makefile.am
M tests/testsuite.at
A tests/trau_sync/trau_sync_test.c
A tests/trau_sync/trau_sync_test.err
A tests/trau_sync/trau_sync_test.ok
10 files changed, 704 insertions(+), 4 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/libosmo-abis refs/changes/50/18250/7
--
To view, visit https://gerrit.osmocom.org/c/libosmo-abis/+/18250
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: libosmo-abis
Gerrit-Branch: master
Gerrit-Change-Id: Ia6fe6228b0b8b9a27999f37ce1115ed5558881ea
Gerrit-Change-Number: 18250
Gerrit-PatchSet: 7
Gerrit-Owner: laforge 
Gerrit-Reviewer: Jenkins Builder
Gerrit-MessageType: newpatchset


Change in libosmo-abis[master]: WIP: TRAU frame RTP conversion

2020-06-15 Thread laforge
Hello Jenkins Builder,

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

https://gerrit.osmocom.org/c/libosmo-abis/+/18382

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

Change subject: WIP: TRAU frame RTP conversion
..

WIP: TRAU frame RTP conversion

This adds code that converts codec frames between (decoded) TRAU format
and RTP payload format.  The FR + EFR functions have been lifted from
OsmoNITB.

Change-Id: I7f6993cce2b95318203043e2e14952e581941b79
---
M include/Makefile.am
A include/osmocom/trau/trau_rtp.h
M src/Makefile.am
A src/trau/trau_rtp_conv.c
4 files changed, 516 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/libosmo-abis refs/changes/82/18382/5
--
To view, visit https://gerrit.osmocom.org/c/libosmo-abis/+/18382
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: libosmo-abis
Gerrit-Branch: master
Gerrit-Change-Id: I7f6993cce2b95318203043e2e14952e581941b79
Gerrit-Change-Number: 18382
Gerrit-PatchSet: 5
Gerrit-Owner: laforge 
Gerrit-Reviewer: Jenkins Builder
Gerrit-MessageType: newpatchset


Change in osmo-gsm-tester[master]: ms_srs: fix additional_args init

2020-06-15 Thread srs_andre
srs_andre has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-gsm-tester/+/18843 )


Change subject: ms_srs: fix additional_args init
..

ms_srs: fix additional_args init

regressions after porting to list. init to new empty list

Change-Id: I06f370462934ca35f3aa13bbfcd9e5fc3df91895
---
M src/osmo_gsm_tester/obj/ms_srs.py
1 file changed, 1 insertion(+), 2 deletions(-)



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

diff --git a/src/osmo_gsm_tester/obj/ms_srs.py 
b/src/osmo_gsm_tester/obj/ms_srs.py
index 6241685..cf2e166 100644
--- a/src/osmo_gsm_tester/obj/ms_srs.py
+++ b/src/osmo_gsm_tester/obj/ms_srs.py
@@ -230,11 +230,10 @@
 self.enable_pcap = util.str2bool(values['ue'].get('enable_pcap', 
'false'))
 config.overlay(values, dict(ue={'enable_pcap': self.enable_pcap}))

-self._additional_args = values['ue'].get('additional_args', '').split()
+self._additional_args = []
 for add_args in values['ue'].get('additional_args', []):
 self._additional_args += add_args.split()

-
 self.num_carriers = int(values['ue'].get('num_carriers', 1))

 # We need to set some specific variables programatically here to match 
IP addresses:

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

Gerrit-Project: osmo-gsm-tester
Gerrit-Branch: master
Gerrit-Change-Id: I06f370462934ca35f3aa13bbfcd9e5fc3df91895
Gerrit-Change-Number: 18843
Gerrit-PatchSet: 1
Gerrit-Owner: srs_andre 
Gerrit-MessageType: newchange


Change in osmo-ttcn3-hacks[master]: bts/expected-results: TC_rsl_bs_pwr_static_{ass, power_control} pass now

2020-06-15 Thread pespin
pespin has posted comments on this change. ( 
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/18842 )

Change subject: bts/expected-results: TC_rsl_bs_pwr_static_{ass,power_control} 
pass now
..


Patch Set 1: Code-Review+1


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

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I2e8db76be78fffcc8418096670ad3cf5174856f8
Gerrit-Change-Number: 18842
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: pespin 
Gerrit-Comment-Date: Mon, 15 Jun 2020 19:57:41 +
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment


Change in osmo-ttcn3-hacks[master]: library/RSL_Types: fix RSL_IE_BS_Power: Power Level is 4 bit long

2020-06-15 Thread pespin
pespin has posted comments on this change. ( 
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/18841 )

Change subject: library/RSL_Types: fix RSL_IE_BS_Power: Power Level is 4 bit 
long
..


Patch Set 1: Code-Review+1


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

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: Ic0cb2275ef585754b9ae5e3d8077ca652afd9365
Gerrit-Change-Number: 18841
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria 
Gerrit-Reviewer: laforge 
Gerrit-Reviewer: pespin 
Gerrit-Comment-Date: Mon, 15 Jun 2020 19:57:28 +
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment


Change in osmo-bts[master]: A-bis/RSL: refactor handling of BS Power IE (power reduction)

2020-06-15 Thread fixeria
fixeria has posted comments on this change. ( 
https://gerrit.osmocom.org/c/osmo-bts/+/18835 )

Change subject: A-bis/RSL: refactor handling of BS Power IE (power reduction)
..


Patch Set 2: Verified+1

Makes both BTS_Tests.TC_rsl_bs_pwr_static_ass and 
BTS_Tests.TC_rsl_bs_pwr_static_power_control pass.


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

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: I16cc50dfca102030380a06e16c234d5f6698f38f
Gerrit-Change-Number: 18835
Gerrit-PatchSet: 2
Gerrit-Owner: fixeria 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria 
Gerrit-Reviewer: pespin 
Gerrit-Comment-Date: Mon, 15 Jun 2020 18:45:34 +
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment


Change in osmo-ttcn3-hacks[master]: library/RSL_Types: fix RSL_IE_BS_Power: Power Level is 4 bit long

2020-06-15 Thread fixeria
fixeria has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/18841 )


Change subject: library/RSL_Types: fix RSL_IE_BS_Power: Power Level is 4 bit 
long
..

library/RSL_Types: fix RSL_IE_BS_Power: Power Level is 4 bit long

Unlike the RSL_IE_MS_Power, where power_level is 5 bit long, in
the RSL_IE_BS_Power it's 4 bit long. Fix this.

Change-Id: Ic0cb2275ef585754b9ae5e3d8077ca652afd9365
---
M bts/BTS_Tests.ttcn
M library/RSL_Types.ttcn
2 files changed, 7 insertions(+), 7 deletions(-)



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

diff --git a/bts/BTS_Tests.ttcn b/bts/BTS_Tests.ttcn
index b098fc6..f98419d 100644
--- a/bts/BTS_Tests.ttcn
+++ b/bts/BTS_Tests.ttcn
@@ -1697,7 +1697,7 @@
boolean toa256_enabled,
MeasElemFS meas_ul,
int16_t timing_offset_256syms,
-   uint5_t bs_power_level,
+   uint4_t bs_power_level,
uint5_t ms_power_level,
uint8_t ms_actual_ta
 }
@@ -2129,7 +2129,7 @@
f_trxc_fake_toffs256(g_pars.l1_pars.timing_offset_256syms);
}

-   var uint5_t pwr_var := 1;
+   var uint4_t pwr_var := 1;
var template (value) RSL_IE_BS_Power bs_power := 
ts_RSL_IE_BS_Power(pwr_var);
var template (value) RSL_IE pwr := t_RSL_IE(RSL_IE_BS_POWER, 
RSL_IE_Body:{bs_power := bs_power});

@@ -2152,7 +2152,7 @@
f_trxc_fake_toffs256(g_pars.l1_pars.timing_offset_256syms);
}

-   var uint5_t pwr_var := 1;
+   var uint4_t pwr_var := 1;
var template (value) RSL_IE_BS_Power bs_power := 
ts_RSL_IE_BS_Power(pwr_var);

f_est_dchan();
diff --git a/library/RSL_Types.ttcn b/library/RSL_Types.ttcn
index 77b4e79..af01c5d 100644
--- a/library/RSL_Types.ttcn
+++ b/library/RSL_Types.ttcn
@@ -386,15 +386,15 @@
coding_alg_rate := alg
}

-   /* 9.3.4 */
+   /* 9.3.4 BS Power IE */
type record RSL_IE_BS_Power {
-   uint1_t reserved,
+   uint2_t reserved,
boolean epc,
boolean fpc,
-   uint5_t power_level
+   uint4_t power_level
}

-   template (value) RSL_IE_BS_Power ts_RSL_IE_BS_Power(uint5_t power_level,
+   template (value) RSL_IE_BS_Power ts_RSL_IE_BS_Power(uint4_t power_level,
boolean epc := 
false, boolean fpc := false) := {
reserved := 0,
epc := epc,

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

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: Ic0cb2275ef585754b9ae5e3d8077ca652afd9365
Gerrit-Change-Number: 18841
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria 
Gerrit-MessageType: newchange


Change in osmo-ttcn3-hacks[master]: bts/expected-results: TC_rsl_bs_pwr_static_{ass, power_control} pass now

2020-06-15 Thread fixeria
fixeria has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/18842 )


Change subject: bts/expected-results: TC_rsl_bs_pwr_static_{ass,power_control} 
pass now
..

bts/expected-results: TC_rsl_bs_pwr_static_{ass,power_control} pass now

Change I16cc50dfca102030380a06e16c234d5f6698f38f fixes them both.

Change-Id: I2e8db76be78fffcc8418096670ad3cf5174856f8
---
M bts/expected-results.xml
1 file changed, 2 insertions(+), 12 deletions(-)



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

diff --git a/bts/expected-results.xml b/bts/expected-results.xml
index a03e16b..fa86f8a 100644
--- a/bts/expected-results.xml
+++ b/bts/expected-results.xml
@@ -51,18 +51,8 @@
   
 
   
-  
-"BTS_Tests.ttcn:MASKED : Received wrong BS 
power level in MEAS RES { msg_disc := { msg_group := RSL_MDISC_DCHAN (4), 
transparent := false }, msg_type := RSL_MT_MEAS_RES (40), ies := { { iei := 
RSL_IE_CHAN_NR (1), body := { chan_nr := { u := { ch0 := RSL_CHAN_NR_Bm_ACCH 
(1) }, tn := 1 } } }, { iei := RSL_IE_MEAS_RES_NR (27), body := { meas_res_nr 
:= 0 } }, { iei := RSL_IE_UPLINK_MEAS (25), body := { uplink_meas := { len := 
3, rfu := '0'B, dtx_d := false, rxlev_f_u := 10, reserved1 := '00'B, rxlev_s_u 
:= 10, reserved2 := '00'B, rxq_f_u := 0, rxq_s_u := 0, supp_meas_info := omit } 
} }, { iei := RSL_IE_BS_POWER (4), body := { bs_power := { reserved := 0, epc 
:= false, fpc := false, power_level := 0 } } }, { iei := RSL_IE_L1_INFO (10), 
body := { l1_info := { ms_power_lvl := 7, fpc := false, reserved := 0, 
actual_ta := 0 } } }, { iei := RSL_IE_L3_INFO (11), body := { l3_info := { len 
:= 18, payload := '0615363601C0'O } } }, { iei := 
RSL_IE_MS_TIMING_OFFSET (37), body := { ms_timing_offset := 65 } } } }"
-  BTS_Tests.ttcn:MASKED BTS_Tests control part
-  BTS_Tests.ttcn:MASKED TC_rsl_bs_pwr_static_ass testcase
-
-  
-  
-"BTS_Tests.ttcn:MASKED : Received wrong BS 
power level in MEAS RES { msg_disc := { msg_group := RSL_MDISC_DCHAN (4), 
transparent := false }, msg_type := RSL_MT_MEAS_RES (40), ies := { { iei := 
RSL_IE_CHAN_NR (1), body := { chan_nr := { u := { ch0 := RSL_CHAN_NR_Bm_ACCH 
(1) }, tn := 1 } } }, { iei := RSL_IE_MEAS_RES_NR (27), body := { meas_res_nr 
:= 0 } }, { iei := RSL_IE_UPLINK_MEAS (25), body := { uplink_meas := { len := 
3, rfu := '0'B, dtx_d := false, rxlev_f_u := 10, reserved1 := '00'B, rxlev_s_u 
:= 10, reserved2 := '00'B, rxq_f_u := 0, rxq_s_u := 0, supp_meas_info := omit } 
} }, { iei := RSL_IE_BS_POWER (4), body := { bs_power := { reserved := 0, epc 
:= false, fpc := false, power_level := 0 } } }, { iei := RSL_IE_L1_INFO (10), 
body := { l1_info := { ms_power_lvl := 7, fpc := false, reserved := 0, 
actual_ta := 0 } } }, { iei := RSL_IE_L3_INFO (11), body := { l3_info := { len 
:= 18, payload := '0615363601C0'O } } }, { iei := 
RSL_IE_MS_TIMING_OFFSET (37), body := { ms_timing_offset := 65 } } } }"
-  BTS_Tests.ttcn:MASKED BTS_Tests control part
-  BTS_Tests.ttcn:MASKED TC_rsl_bs_pwr_static_power_control testcase
-
-  
+  
+  
   
   
   

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

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I2e8db76be78fffcc8418096670ad3cf5174856f8
Gerrit-Change-Number: 18842
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria 
Gerrit-MessageType: newchange


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

2020-06-15 Thread OBS Notification
Visit 
https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/osmo-msc/Debian_9.0/armv7l

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

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

Last lines of build log:
[  904s] | | #define LT_OBJDIR ".libs/"
[  904s] | | /* end confdefs.h.  */
[  904s] | | 
[  904s] | | /* Override any GCC internal prototype to avoid an error.
[  904s] | |Use char because int might match the return type of a GCC
[  904s] | |builtin and then its argument prototype would still apply.  */
[  904s] | | #ifdef __cplusplus
[  904s] | | extern "C"
[  904s] | | #endif
[  904s] | | char sctp_send ();
[  904s] | | int
[  904s] | | main ()
[  904s] | | {
[  904s] | | return sctp_send ();
[  904s] | |   ;
[  904s] | |   return 0;
[  904s] | | }
[  904s] | configure:13334: gcc -o conftest -g -O2 
-fdebug-prefix-map=/usr/src/packages/BUILD=. -fstack-protector-strong -Wformat 
-Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro conftest.c 
-lsctp   >&5
[  904s] | configure:13334: $? = 0
[  904s] | configure:13351: result: -lsctp
[  904s] | configure:13414: checking for LIBSMPP34
[  904s] | configure:13421: $PKG_CONFIG --exists --print-errors "libsmpp34 >= 
1.14.0"
[  904s] | configure:13424: $? = 0
[  906s] | configure:13438: $PKG_CONFIG --exist[  862.454416] sysrq: SysRq : 
Power Off
[  906s] [  862.456844] reboot: Power down
[  906s] ### VM INTERACTION END ###
[  906s] 
[  906s] armbuild19 failed "build osmo-msc_1.6.1.40.5c38c.dsc" at Mon Jun 15 
17:43:17 UTC 2020.
[  906s] 

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


Change in osmo-gsm-tester[master]: iperf3: Add support for setting TOS

2020-06-15 Thread pespin
pespin has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-gsm-tester/+/18840 )


Change subject: iperf3: Add support for setting TOS
..

iperf3: Add support for setting TOS

Change-Id: I3ccc249ad1c9598c606303c52eff6823f45afa7b
---
M src/osmo_gsm_tester/obj/iperf3.py
1 file changed, 4 insertions(+), 1 deletion(-)



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

diff --git a/src/osmo_gsm_tester/obj/iperf3.py 
b/src/osmo_gsm_tester/obj/iperf3.py
index d79ff98..4ccbf42 100644
--- a/src/osmo_gsm_tester/obj/iperf3.py
+++ b/src/osmo_gsm_tester/obj/iperf3.py
@@ -219,7 +219,7 @@
 locally = not self._run_node or self._run_node.is_local()
 return locally

-def prepare_test_proc(self, dir=None, netns=None, time_sec=None, 
proto=None, bitrate=0):
+def prepare_test_proc(self, dir=None, netns=None, time_sec=None, 
proto=None, bitrate=0, tos=None):
 values = config.get_defaults('iperf3cli')
 config.overlay(values, self.testenv.suite().config().get('iperf3cli', 
{}))

@@ -256,6 +256,9 @@
 popen_args += ('--bidir',)
 if proto == IPerf3Client.PROTO_UDP:
 popen_args += ('-u', '-b', str(bitrate))
+if tos is not None:
+popen_args += ('-S', str(tos))
+
 if self.runs_locally():
 proc = self.prepare_test_proc_locally(netns, popen_args)
 else:

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

Gerrit-Project: osmo-gsm-tester
Gerrit-Branch: master
Gerrit-Change-Id: I3ccc249ad1c9598c606303c52eff6823f45afa7b
Gerrit-Change-Number: 18840
Gerrit-PatchSet: 1
Gerrit-Owner: pespin 
Gerrit-MessageType: newchange


Change in osmo-gsm-tester[master]: iperf3: Refactor iperf3cli popen arg list generation

2020-06-15 Thread pespin
pespin has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-gsm-tester/+/18839 )


Change subject: iperf3: Refactor iperf3cli popen arg list generation
..

iperf3: Refactor iperf3cli popen arg list generation

Change-Id: I10ab737e1317a52b6ccbd0de2470a9cf0c90c934
---
M src/osmo_gsm_tester/obj/iperf3.py
1 file changed, 14 insertions(+), 22 deletions(-)



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

diff --git a/src/osmo_gsm_tester/obj/iperf3.py 
b/src/osmo_gsm_tester/obj/iperf3.py
index 13fd455..d79ff98 100644
--- a/src/osmo_gsm_tester/obj/iperf3.py
+++ b/src/osmo_gsm_tester/obj/iperf3.py
@@ -246,14 +246,24 @@
 self.log_copied = False
 self.run_dir = 
util.Dir(self.testenv.test().get_run_dir().new_dir(self.name()))
 self.log_file = self.run_dir.new_file(IPerf3Client.LOGFILE)
+
+popen_args = ('iperf3', '-c',  self.server.addr(),
+  '-p', str(self.server.port()), '-J',
+  '-t', str(time_sec))
+if dir == IPerf3Client.DIR_DL:
+popen_args += ('-R',)
+elif dir == IPerf3Client.DIR_BI:
+popen_args += ('--bidir',)
+if proto == IPerf3Client.PROTO_UDP:
+popen_args += ('-u', '-b', str(bitrate))
 if self.runs_locally():
-proc = self.prepare_test_proc_locally(dir, netns, time_sec, proto 
== IPerf3Client.PROTO_UDP, bitrate)
+proc = self.prepare_test_proc_locally(netns, popen_args)
 else:
-proc = self.prepare_test_proc_remotely(dir, netns, time_sec, proto 
== IPerf3Client.PROTO_UDP, bitrate)
+proc = self.prepare_test_proc_remotely(netns, popen_args)
 proc.set_default_wait_timeout(time_sec + 30) # leave 30 extra sec for 
remote run, ctrl conn establishment, etc.
 return proc

-def prepare_test_proc_remotely(self, dir, netns, time_sec, use_udp, 
bitrate):
+def prepare_test_proc_remotely(self, netns, popen_args):
 self.rem_host = remote.RemoteHost(self.run_dir, 
self._run_node.ssh_user(), self._run_node.ssh_addr())

 remote_prefix_dir = util.Dir(IPerf3Client.REMOTE_DIR)
@@ -262,17 +272,8 @@

 self.rem_host.recreate_remote_dir(remote_run_dir)

-popen_args = ('iperf3', '-c',  self.server.addr(),
-  '-p', str(self.server.port()), '-J',
-  '-t', str(time_sec))
 if self.logfile_supported:
 popen_args += ('--logfile', self.remote_log_file,)
-if dir == IPerf3Client.DIR_DL:
-popen_args += ('-R',)
-elif dir == IPerf3Client.DIR_BI:
-popen_args += ('--bidir',)
-if use_udp:
-popen_args += ('-u', '-b', str(bitrate))
 
 if netns:
 self.process = self.rem_host.RemoteNetNSProcess(self.name(), 
netns, popen_args, env={})
@@ -280,21 +281,12 @@
 self.process = self.rem_host.RemoteProcess(self.name(), 
popen_args, env={})
 return self.process

-def prepare_test_proc_locally(self, dir, netns, time_sec, use_udp):
+def prepare_test_proc_locally(self, netns, popen_args):
 pcap_recorder.PcapRecorder(self.testenv, self.run_dir.new_dir('pcap'), 
None,
'host %s and port not 22' % 
self.server.addr(), netns)

-popen_args = ('iperf3', '-c',  self.server.addr(),
-  '-p', str(self.server.port()), '-J',
-  '-t', str(time_sec))
 if self.logfile_supported:
 popen_args += ('--logfile', os.path.abspath(self.log_file),)
-if dir == IPerf3Client.DIR_DL:
-popen_args += ('-R',)
-elif dir == IPerf3Client.DIR_BI:
-popen_args += ('--bidir',)
-if use_udp:
-popen_args += ('-u', '-b', '0')

 if netns:
 self.process = process.NetNSProcess(self.name(), self.run_dir, 
netns, popen_args, env={})

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

Gerrit-Project: osmo-gsm-tester
Gerrit-Branch: master
Gerrit-Change-Id: I10ab737e1317a52b6ccbd0de2470a9cf0c90c934
Gerrit-Change-Number: 18839
Gerrit-PatchSet: 1
Gerrit-Owner: pespin 
Gerrit-MessageType: newchange


Change in osmo-bsc[master]: abis_nm: fix length indicator in Set Channel Attributes

2020-06-15 Thread pespin
pespin has posted comments on this change. ( 
https://gerrit.osmocom.org/c/osmo-bsc/+/18829 )

Change subject: abis_nm: fix length indicator in Set Channel Attributes
..


Patch Set 2: Code-Review+1

(1 comment)

https://gerrit.osmocom.org/c/osmo-bsc/+/18829/2/src/osmo-bsc/abis_nm.c
File src/osmo-bsc/abis_nm.c:

https://gerrit.osmocom.org/c/osmo-bsc/+/18829/2/src/osmo-bsc/abis_nm.c@2061
PS2, Line 2061: msg->l2h = (uint8_t *) oh;
Not sure if this l2h is needed, but ok.



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

Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: I948ad4b847921324794a6eabd95d5583324da6e4
Gerrit-Change-Number: 18829
Gerrit-PatchSet: 2
Gerrit-Owner: fixeria 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: pespin 
Gerrit-Comment-Date: Mon, 15 Jun 2020 16:04:10 +
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment


Change in osmo-bsc[master]: abis_nm: fix length indicator in Set Channel Attributes

2020-06-15 Thread fixeria
Hello Jenkins Builder,

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

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

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

Change subject: abis_nm: fix length indicator in Set Channel Attributes
..

abis_nm: fix length indicator in Set Channel Attributes

This message may contain optional IEs (HSN, MAIO, ARFCN list),
so we cannot know the final length in advance. Let's set both
msg->{l2h,l3h} pointers and use msgb_l3len() to get the length.

Change-Id: I948ad4b847921324794a6eabd95d5583324da6e4
Related: OS#4545
---
M src/osmo-bsc/abis_nm.c
1 file changed, 6 insertions(+), 5 deletions(-)


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

Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: I948ad4b847921324794a6eabd95d5583324da6e4
Gerrit-Change-Number: 18829
Gerrit-PatchSet: 2
Gerrit-Owner: fixeria 
Gerrit-Reviewer: Jenkins Builder
Gerrit-CC: pespin 
Gerrit-MessageType: newpatchset


Change in osmo-bts[master]: A-bis/OML: handle hopping params in Set Channel Attributes

2020-06-15 Thread pespin
pespin has posted comments on this change. ( 
https://gerrit.osmocom.org/c/osmo-bts/+/18837 )

Change subject: A-bis/OML: handle hopping params in Set Channel Attributes
..


Patch Set 2: Code-Review+1

(1 comment)

https://gerrit.osmocom.org/c/osmo-bts/+/18837/2/src/common/oml.c
File src/common/oml.c:

https://gerrit.osmocom.org/c/osmo-bts/+/18837/2/src/common/oml.c@918
PS2, Line 918:  ts->hopping.ma[i] = osmo_load16be(TLVP_VAL(, 
NM_ATT_ARFCN_LIST) + i * 2);
here too: sizeof(uint16_t)



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

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: Ieac26c7aca118c16889cdde2565a514681dc137b
Gerrit-Change-Number: 18837
Gerrit-PatchSet: 2
Gerrit-Owner: fixeria 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: pespin 
Gerrit-Comment-Date: Mon, 15 Jun 2020 15:58:06 +
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment


Change in osmo-bts[master]: A-bis/RSL: refactor handling of BS Power IE (power reduction)

2020-06-15 Thread pespin
pespin has posted comments on this change. ( 
https://gerrit.osmocom.org/c/osmo-bts/+/18835 )

Change subject: A-bis/RSL: refactor handling of BS Power IE (power reduction)
..


Patch Set 2: Code-Review+1


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

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: I16cc50dfca102030380a06e16c234d5f6698f38f
Gerrit-Change-Number: 18835
Gerrit-PatchSet: 2
Gerrit-Owner: fixeria 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria 
Gerrit-Reviewer: pespin 
Gerrit-Comment-Date: Mon, 15 Jun 2020 15:57:13 +
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment


Change in osmo-bts[master]: A-bis/RSL: refactor handling of BS Power IE (power reduction)

2020-06-15 Thread fixeria
Hello Jenkins Builder,

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

https://gerrit.osmocom.org/c/osmo-bts/+/18835

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

Change subject: A-bis/RSL: refactor handling of BS Power IE (power reduction)
..

A-bis/RSL: refactor handling of BS Power IE (power reduction)

According to 3GPP TS 08.58, section 9.3.4, BS Power IE indicates
the transmission power attenuation on a particular channel:

  +--+-+-+
  | Reserved (3) | FPC (1) | Power level (4) |
  +--+-+-+

so let's change handling of this IE as follows:

  - s/bs_power/bs_power_red/g, so it reflects 'reduction';
  - store power attenuation value in dB, not in 2 db steps;
  - get rid of ms_power_ctrl.bts_tx_pwr, it's always 0 anyway;
- fix rsl_tx_meas_res(): use lchan->bs_power_red;
  - always check if FPC (Fast Power Control) flag is set;
- we don't support it, so reject messages containing it;
- fix rsl_rx_chan_activ(): properly apply the bitmask.

Change-Id: I16cc50dfca102030380a06e16c234d5f6698f38f
---
M include/osmo-bts/gsm_data_shared.h
M include/osmo-bts/tx_power.h
M src/common/rsl.c
M src/common/scheduler.c
M src/common/tx_power.c
M src/common/vty.c
M tests/tx_power/tx_power_test.c
7 files changed, 50 insertions(+), 43 deletions(-)


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

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: I16cc50dfca102030380a06e16c234d5f6698f38f
Gerrit-Change-Number: 18835
Gerrit-PatchSet: 2
Gerrit-Owner: fixeria 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria 
Gerrit-CC: pespin 
Gerrit-MessageType: newpatchset


Change in osmo-bts[master]: A-bis/OML: handle hopping params in Set Channel Attributes

2020-06-15 Thread fixeria
Hello Jenkins Builder,

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

https://gerrit.osmocom.org/c/osmo-bts/+/18837

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

Change subject: A-bis/OML: handle hopping params in Set Channel Attributes
..

A-bis/OML: handle hopping params in Set Channel Attributes

Change-Id: Ieac26c7aca118c16889cdde2565a514681dc137b
Related: OS#4546
---
M include/osmo-bts/gsm_data_shared.h
M src/common/gsm_data_shared.c
M src/common/oml.c
3 files changed, 41 insertions(+), 20 deletions(-)


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

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: Ieac26c7aca118c16889cdde2565a514681dc137b
Gerrit-Change-Number: 18837
Gerrit-PatchSet: 2
Gerrit-Owner: fixeria 
Gerrit-Reviewer: Jenkins Builder
Gerrit-CC: pespin 
Gerrit-MessageType: newpatchset


Change in osmo-bts[master]: A-bis/RSL: refactor handling of BS Power IE (power reduction)

2020-06-15 Thread fixeria
fixeria has posted comments on this change. ( 
https://gerrit.osmocom.org/c/osmo-bts/+/18835 )

Change subject: A-bis/RSL: refactor handling of BS Power IE (power reduction)
..


Patch Set 1:

(2 comments)

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

https://gerrit.osmocom.org/c/osmo-bts/+/18835/1/include/osmo-bts/gsm_data_shared.h@269
PS1, Line 269:  /* BTS power reduction (2 dB steps) */
> I think it makes more sense to keep it in dB internally, like we do for all 
> other power, pwr reducti […]
ACK.


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

https://gerrit.osmocom.org/c/osmo-bts/+/18835/1/src/common/tx_power.c@116
PS1, Line 116: int get_p_trxout_target_mdBm(struct gsm_bts_trx *trx, uint8_t 
bs_power_ie)
I'll change it in the next patch set.

> but not sure if this code is actually expecting 1dB unit instead 2db step.

The code does * 2, so it's correct. I'll change it too.



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

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: I16cc50dfca102030380a06e16c234d5f6698f38f
Gerrit-Change-Number: 18835
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria 
Gerrit-CC: pespin 
Gerrit-Comment-Date: Mon, 15 Jun 2020 15:52:51 +
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: pespin 
Gerrit-MessageType: comment


Change in osmo-gsm-tester[master]: selftest: Add test to verify junit xml report

2020-06-15 Thread pespin
pespin has submitted this change. ( 
https://gerrit.osmocom.org/c/osmo-gsm-tester/+/18825 )

Change subject: selftest: Add test to verify junit xml report
..

selftest: Add test to verify junit xml report

Change-Id: I8cad02abe776cc00b513113dbaf3c948ea7956cd
---
A selftest/report_test/_prep.py
A selftest/report_test/expected_junit_output.xml
A selftest/report_test/main.conf
A selftest/report_test/report_test.err
A selftest/report_test/report_test.ok
A selftest/report_test/report_test.ok.ign
A selftest/report_test/report_test.py
A selftest/report_test/resources.conf
M src/osmo_gsm_tester/core/suite.py
9 files changed, 225 insertions(+), 6 deletions(-)

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



diff --git a/selftest/report_test/_prep.py b/selftest/report_test/_prep.py
new file mode 12
index 000..9cea3fe
--- /dev/null
+++ b/selftest/report_test/_prep.py
@@ -0,0 +1 @@
+../_prep.py
\ No newline at end of file
diff --git a/selftest/report_test/expected_junit_output.xml 
b/selftest/report_test/expected_junit_output.xml
new file mode 100644
index 000..5de0edf
--- /dev/null
+++ b/selftest/report_test/expected_junit_output.xml
@@ -0,0 +1,62 @@
+
+  
+
+  test log file not available
+
+
+  yay this is a test-applied stdout
+
+
+  
+  
+
+  
+  
+
+  test log file not available
+
+
+  could not run
+  test log file not available
+
+
+  could not run
+  test log file not available
+
+
+  
+  
+
+  
+  
+
+  
+  test log file not available
+
+
+  test log file not available
+
+
+  
+  test log file not available
+
+
+  
+  
+
+  
+  
+
+  fake_fail_message
+  system stderr fake content
+  test log file not available
+
+
+  test log file not available
+
+
+  
+  
+
+  
+
diff --git a/selftest/report_test/main.conf b/selftest/report_test/main.conf
new file mode 100644
index 000..e69de29
--- /dev/null
+++ b/selftest/report_test/main.conf
diff --git a/selftest/report_test/report_test.err 
b/selftest/report_test/report_test.err
new file mode 100644
index 000..e69de29
--- /dev/null
+++ b/selftest/report_test/report_test.err
diff --git a/selftest/report_test/report_test.ok 
b/selftest/report_test/report_test.ok
new file mode 100644
index 000..87092ea
--- /dev/null
+++ b/selftest/report_test/report_test.ok
@@ -0,0 +1,17 @@
+cnf ResourcesPool: DBG: Found main configuration file in  
[PATH]/selftest/report_test/main.conf which is 
[PATH]/selftest/report_test/main.conf
+cnf ResourcesPool: DBG: MAIN CONFIG:
+{'default_suites_conf_path': '[PATH]/selftest/report_test/default-suites.conf',
+ 'defaults_conf_path': '[PATH]/selftest/report_test/defaults.conf',
+ 'resource_conf_path': '[PATH]/selftest/report_test/resources.conf',
+ 'scenarios_dir': ['[PATH]/selftest/report_test/scenarios'],
+ 'state_dir': '/var/tmp/osmo-gsm-tester/state',
+ 'suites_dir': ['[PATH]/selftest/report_test/suites'],
+ 'trial_dir': '[PATH]/selftest/report_test/trial'}
+tst suiteA: DBG: {combining='config'}
+tst {combining_scenarios='config'}: DBG: {definition_conf={}}  
[suiteA↪{combining_scenarios='config'}]
+tst suiteB: DBG: {combining='config'}
+tst {combining_scenarios='config'}: DBG: {definition_conf={}}  
[suiteB↪{combining_scenarios='config'}]
+tst suiteC: DBG: {combining='config'}
+tst {combining_scenarios='config'}: DBG: {definition_conf={}}  
[suiteC↪{combining_scenarios='config'}]
+tst suiteD: DBG: {combining='config'}
+tst {combining_scenarios='config'}: DBG: {definition_conf={}}  
[suiteD↪{combining_scenarios='config'}]
diff --git a/selftest/report_test/report_test.ok.ign 
b/selftest/report_test/report_test.ok.ign
new file mode 100644
index 000..dcda3b6
--- /dev/null
+++ b/selftest/report_test/report_test.ok.ign
@@ -0,0 +1,3 @@
+/[^ ]*/selftest/   [PATH]/selftest/
+\.py:[0-9]*.py:[LINENR]
+\([0-9.]+ sec\)(N.N sec)
diff --git a/selftest/report_test/report_test.py 
b/selftest/report_test/report_test.py
new file mode 100755
index 000..57e3a89
--- /dev/null
+++ b/selftest/report_test/report_test.py
@@ -0,0 +1,133 @@
+#!/usr/bin/env python3
+import _prep
+
+from osmo_gsm_tester.core import report
+from osmo_gsm_tester.core import log
+from osmo_gsm_tester.core import util
+from osmo_gsm_tester.core import test
+from osmo_gsm_tester.core import suite
+from osmo_gsm_tester.core import config
+
+import os
+import sys
+import shutil
+import difflib
+import xml.etree.ElementTree as et
+
+class FakeTrial(log.Origin):
+def __init__(self):
+super().__init__(log.C_TST, 'trial')
+self.dir = util.Dir(example_trial_dir)
+self._run_dir = None
+self.suites = []
+
+def get_all_inst_hash_info(self):
+return { 'foobar/potato': '1234', 'orange': 'abcd' }
+
+def 

Change in osmo-gsm-tester[master]: srs: Convert additional_args attr to list to allow combining differen...

2020-06-15 Thread pespin
pespin has submitted this change. ( 
https://gerrit.osmocom.org/c/osmo-gsm-tester/+/18838 )

Change subject: srs: Convert additional_args attr to list to allow combining 
different params
..

srs: Convert additional_args attr to list to allow combining different params

Change-Id: I4b371332cd6fbe11b98c85c79a6f8fdcc776a57b
---
M src/osmo_gsm_tester/obj/enb.py
M src/osmo_gsm_tester/obj/enb_srs.py
M src/osmo_gsm_tester/obj/ms_srs.py
M sysmocom/scenarios/mod-enb-args@.conf
M sysmocom/scenarios/mod-modem-args@.conf
5 files changed, 12 insertions(+), 5 deletions(-)

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



diff --git a/src/osmo_gsm_tester/obj/enb.py b/src/osmo_gsm_tester/obj/enb.py
index b221cb9..4a151d7 100644
--- a/src/osmo_gsm_tester/obj/enb.py
+++ b/src/osmo_gsm_tester/obj/enb.py
@@ -34,7 +34,7 @@
 'rx_gain': schema.UINT,
 'rf_dev_type': schema.STR,
 'rf_dev_args': schema.STR,
-'additional_args': schema.STR,
+'additional_args[]': schema.STR,
 'enable_measurements': schema.BOOL_STR,
 'a1_report_type': schema.STR,
 'a1_report_value': schema.INT,
diff --git a/src/osmo_gsm_tester/obj/enb_srs.py 
b/src/osmo_gsm_tester/obj/enb_srs.py
index 9dc8113..1b23172 100644
--- a/src/osmo_gsm_tester/obj/enb_srs.py
+++ b/src/osmo_gsm_tester/obj/enb_srs.py
@@ -176,7 +176,9 @@
 self.enable_pcap = util.str2bool(values['enb'].get('enable_pcap', 
'false'))
 config.overlay(values, dict(enb={'enable_pcap': self.enable_pcap}))

-self._additional_args = values['enb'].get('additional_args', 
'').split()
+self._additional_args = []
+for add_args in values['enb'].get('additional_args', []):
+self._additional_args += add_args.split()

 # We need to set some specific variables programatically here to match 
IP addresses:
 if self._conf.get('rf_dev_type') == 'zmq':
diff --git a/src/osmo_gsm_tester/obj/ms_srs.py 
b/src/osmo_gsm_tester/obj/ms_srs.py
index 3aa6b0a..6241685 100644
--- a/src/osmo_gsm_tester/obj/ms_srs.py
+++ b/src/osmo_gsm_tester/obj/ms_srs.py
@@ -35,7 +35,7 @@
 'rf_dev_type': schema.STR,
 'rf_dev_args': schema.STR,
 'num_carriers': schema.UINT,
-'additional_args': schema.STR,
+'additional_args[]': schema.STR,
 'airplane_t_on_ms': schema.INT,
 'airplane_t_off_ms': schema.INT,
 'tx_gain': schema.UINT,
@@ -231,6 +231,9 @@
 config.overlay(values, dict(ue={'enable_pcap': self.enable_pcap}))

 self._additional_args = values['ue'].get('additional_args', '').split()
+for add_args in values['ue'].get('additional_args', []):
+self._additional_args += add_args.split()
+

 self.num_carriers = int(values['ue'].get('num_carriers', 1))

diff --git a/sysmocom/scenarios/mod-enb-args@.conf 
b/sysmocom/scenarios/mod-enb-args@.conf
index a758d01..3e09a99 100644
--- a/sysmocom/scenarios/mod-enb-args@.conf
+++ b/sysmocom/scenarios/mod-enb-args@.conf
@@ -1,3 +1,4 @@
 modifiers:
   enb:
-  - additional_args: ${param1}
+  - additional_args:
+- ${param1}
diff --git a/sysmocom/scenarios/mod-modem-args@.conf 
b/sysmocom/scenarios/mod-modem-args@.conf
index dde7796..2ec0834 100644
--- a/sysmocom/scenarios/mod-modem-args@.conf
+++ b/sysmocom/scenarios/mod-modem-args@.conf
@@ -1,3 +1,4 @@
 modifiers:
   modem:
-  - additional_args: ${param1}
+  - additional_args:
+- ${param1}

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

Gerrit-Project: osmo-gsm-tester
Gerrit-Branch: master
Gerrit-Change-Id: I4b371332cd6fbe11b98c85c79a6f8fdcc776a57b
Gerrit-Change-Number: 18838
Gerrit-PatchSet: 1
Gerrit-Owner: pespin 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: pespin 
Gerrit-MessageType: merged


Change in osmo-gsm-tester[master]: Add per-test KPI support

2020-06-15 Thread pespin
pespin has submitted this change. ( 
https://gerrit.osmocom.org/c/osmo-gsm-tester/+/18832 )

Change subject: Add per-test KPI support
..

Add per-test KPI support

tests can now use 'tenv.test().set_kpis(some_dict)' to set any kind of
data as KPIs, which will be presented in the junit report.

The representation of KPIs in the xml file doesn't follow the junit
format, mainly because it has no support for per-test properties.

Change-Id: I00e976f65a202e82d440bf33708f06c8ce2643e2
---
M selftest/report_test/expected_junit_output.xml
M selftest/report_test/report_test.ok
M selftest/report_test/report_test.py
M src/osmo_gsm_tester/core/report.py
M src/osmo_gsm_tester/core/test.py
5 files changed, 98 insertions(+), 3 deletions(-)

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



diff --git a/selftest/report_test/expected_junit_output.xml 
b/selftest/report_test/expected_junit_output.xml
index 5de0edf..9f6185c 100644
--- a/selftest/report_test/expected_junit_output.xml
+++ b/selftest/report_test/expected_junit_output.xml
@@ -1,4 +1,4 @@
-
+
   
 
   test log file not available
@@ -59,4 +59,34 @@
   
 
   
-
+  
+
+  fake_fail_message
+  system stderr fake content
+  
+
+  
+  
+  
+
+  
+
+
+  
+
+
+  
+  test log file not available
+
+
+  
+
+  
+  test log file not available
+
+
+  
+  
+
+  
+
\ No newline at end of file
diff --git a/selftest/report_test/report_test.ok 
b/selftest/report_test/report_test.ok
index 87092ea..442d343 100644
--- a/selftest/report_test/report_test.ok
+++ b/selftest/report_test/report_test.ok
@@ -15,3 +15,5 @@
 tst {combining_scenarios='config'}: DBG: {definition_conf={}}  
[suiteC↪{combining_scenarios='config'}]
 tst suiteD: DBG: {combining='config'}
 tst {combining_scenarios='config'}: DBG: {definition_conf={}}  
[suiteD↪{combining_scenarios='config'}]
+tst suiteE: DBG: {combining='config'}
+tst {combining_scenarios='config'}: DBG: {definition_conf={}}  
[suiteE↪{combining_scenarios='config'}]
diff --git a/selftest/report_test/report_test.py 
b/selftest/report_test/report_test.py
index 57e3a89..5888bf3 100755
--- a/selftest/report_test/report_test.py
+++ b/selftest/report_test/report_test.py
@@ -39,11 +39,13 @@
 self.suite_dir = util.Dir(example_trial_dir).new_child('suitedef' 
+ name)


-def fake_run_test(test_obj, status, duration, sysout=None):
+def fake_run_test(test_obj, status, duration, sysout=None, kpis=None):
 test_obj.status = status
 test_obj.duration = duration
 if sysout is not None:
 test_obj.set_report_stdout(sysout)
+if kpis is not None:
+test_obj.set_kpis(kpis)
 if status == test.Test.FAIL:
 test_obj.fail_type = 'fake_fail_type'
 test_obj.fail_message = 'fake_fail_message'
@@ -92,6 +94,14 @@
 fake_run_test(s.tests[1], test.Test.PASS, 10)
 fake_run_suite(s, 20)

+# Test adding KPIs
+s_def = FakeSuiteDefinition('suiteE', 2)
+s = suite.SuiteRun(trial, s_def.name(), s_def)
+trial.suites.append(s)
+fake_run_test(s.tests[0], test.Test.FAIL, 12, kpis={'ueA': {'kpiA': 30, 
'kpiB': 'foobar', 'yet-another-level': {'foo': 'bar'}}, 'enbD': 
{'foobar-boolean': True }, 'somekpi': 'someval'})
+fake_run_test(s.tests[1], test.Test.PASS, 10, kpis={'abcd': 'abcdval'})
+fake_run_suite(s, 20)
+
 element = report.trial_to_junit(trial)

 def indent(elem, level=0):
@@ -126,6 +136,9 @@
 with open(exp_path, 'r') as f:
 exp = f.read().rstrip()
 udiff(exp, got, exp_path)
+# Uncomment to update exp_path:
+#with open(exp_path, 'w') as f:
+#f.write(got)

 #deleting generated tmp trial dir:
 shutil.rmtree(example_trial_dir, ignore_errors=True)
diff --git a/src/osmo_gsm_tester/core/report.py 
b/src/osmo_gsm_tester/core/report.py
index 5014bf5..d2c68c5 100644
--- a/src/osmo_gsm_tester/core/report.py
+++ b/src/osmo_gsm_tester/core/report.py
@@ -53,6 +53,46 @@
 prop.set('name', 'ref:' + key)
 prop.set('value', val)

+def dict_to_junit(parent, d):
+for key, val in d.items():
+if isinstance(val, dict):
+node = et.SubElement(parent, 'kpi_node')
+node.set('name', key)
+dict_to_junit(node, val)
+continue
+if isinstance(val, (tuple, list)):
+node = et.SubElement(parent, 'kpi_node')
+node.set('name', key)
+list_to_junit(node, val)
+continue
+# scalar:
+node = et.SubElement(parent, 'property')
+node.set('name', key)
+node.set('value', str(val))
+
+def list_to_junit(parent, li):
+for i in range(len(li)):
+if isinstance(li[i], dict):
+node = et.SubElement(parent, 'kpi_node')
+node.set('name', str(i))
+dict_to_junit(node, li[i])
+  

Change in osmo-gsm-tester[master]: Add per-test KPI support

2020-06-15 Thread pespin
pespin has posted comments on this change. ( 
https://gerrit.osmocom.org/c/osmo-gsm-tester/+/18832 )

Change subject: Add per-test KPI support
..


Patch Set 1: Code-Review+2


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

Gerrit-Project: osmo-gsm-tester
Gerrit-Branch: master
Gerrit-Change-Id: I00e976f65a202e82d440bf33708f06c8ce2643e2
Gerrit-Change-Number: 18832
Gerrit-PatchSet: 1
Gerrit-Owner: pespin 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: pespin 
Gerrit-Comment-Date: Mon, 15 Jun 2020 15:42:55 +
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment


Change in osmo-gsm-tester[master]: selftest: Add test to verify junit xml report

2020-06-15 Thread pespin
pespin has posted comments on this change. ( 
https://gerrit.osmocom.org/c/osmo-gsm-tester/+/18825 )

Change subject: selftest: Add test to verify junit xml report
..


Patch Set 6: Code-Review+2


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

Gerrit-Project: osmo-gsm-tester
Gerrit-Branch: master
Gerrit-Change-Id: I8cad02abe776cc00b513113dbaf3c948ea7956cd
Gerrit-Change-Number: 18825
Gerrit-PatchSet: 6
Gerrit-Owner: pespin 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: pespin 
Gerrit-Comment-Date: Mon, 15 Jun 2020 15:42:53 +
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment


Change in osmo-gsm-tester[master]: srs: Convert additional_args attr to list to allow combining differen...

2020-06-15 Thread pespin
pespin has posted comments on this change. ( 
https://gerrit.osmocom.org/c/osmo-gsm-tester/+/18838 )

Change subject: srs: Convert additional_args attr to list to allow combining 
different params
..


Patch Set 1: Code-Review+2


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

Gerrit-Project: osmo-gsm-tester
Gerrit-Branch: master
Gerrit-Change-Id: I4b371332cd6fbe11b98c85c79a6f8fdcc776a57b
Gerrit-Change-Number: 18838
Gerrit-PatchSet: 1
Gerrit-Owner: pespin 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: pespin 
Gerrit-Comment-Date: Mon, 15 Jun 2020 15:42:41 +
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment


Change in osmo-gsm-tester[master]: srs: Convert additional_args attr to list to allow combining differen...

2020-06-15 Thread pespin
pespin has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-gsm-tester/+/18838 )


Change subject: srs: Convert additional_args attr to list to allow combining 
different params
..

srs: Convert additional_args attr to list to allow combining different params

Change-Id: I4b371332cd6fbe11b98c85c79a6f8fdcc776a57b
---
M src/osmo_gsm_tester/obj/enb.py
M src/osmo_gsm_tester/obj/enb_srs.py
M src/osmo_gsm_tester/obj/ms_srs.py
M sysmocom/scenarios/mod-enb-args@.conf
M sysmocom/scenarios/mod-modem-args@.conf
5 files changed, 12 insertions(+), 5 deletions(-)



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

diff --git a/src/osmo_gsm_tester/obj/enb.py b/src/osmo_gsm_tester/obj/enb.py
index b221cb9..4a151d7 100644
--- a/src/osmo_gsm_tester/obj/enb.py
+++ b/src/osmo_gsm_tester/obj/enb.py
@@ -34,7 +34,7 @@
 'rx_gain': schema.UINT,
 'rf_dev_type': schema.STR,
 'rf_dev_args': schema.STR,
-'additional_args': schema.STR,
+'additional_args[]': schema.STR,
 'enable_measurements': schema.BOOL_STR,
 'a1_report_type': schema.STR,
 'a1_report_value': schema.INT,
diff --git a/src/osmo_gsm_tester/obj/enb_srs.py 
b/src/osmo_gsm_tester/obj/enb_srs.py
index 9dc8113..1b23172 100644
--- a/src/osmo_gsm_tester/obj/enb_srs.py
+++ b/src/osmo_gsm_tester/obj/enb_srs.py
@@ -176,7 +176,9 @@
 self.enable_pcap = util.str2bool(values['enb'].get('enable_pcap', 
'false'))
 config.overlay(values, dict(enb={'enable_pcap': self.enable_pcap}))

-self._additional_args = values['enb'].get('additional_args', 
'').split()
+self._additional_args = []
+for add_args in values['enb'].get('additional_args', []):
+self._additional_args += add_args.split()

 # We need to set some specific variables programatically here to match 
IP addresses:
 if self._conf.get('rf_dev_type') == 'zmq':
diff --git a/src/osmo_gsm_tester/obj/ms_srs.py 
b/src/osmo_gsm_tester/obj/ms_srs.py
index 3aa6b0a..6241685 100644
--- a/src/osmo_gsm_tester/obj/ms_srs.py
+++ b/src/osmo_gsm_tester/obj/ms_srs.py
@@ -35,7 +35,7 @@
 'rf_dev_type': schema.STR,
 'rf_dev_args': schema.STR,
 'num_carriers': schema.UINT,
-'additional_args': schema.STR,
+'additional_args[]': schema.STR,
 'airplane_t_on_ms': schema.INT,
 'airplane_t_off_ms': schema.INT,
 'tx_gain': schema.UINT,
@@ -231,6 +231,9 @@
 config.overlay(values, dict(ue={'enable_pcap': self.enable_pcap}))

 self._additional_args = values['ue'].get('additional_args', '').split()
+for add_args in values['ue'].get('additional_args', []):
+self._additional_args += add_args.split()
+

 self.num_carriers = int(values['ue'].get('num_carriers', 1))

diff --git a/sysmocom/scenarios/mod-enb-args@.conf 
b/sysmocom/scenarios/mod-enb-args@.conf
index a758d01..3e09a99 100644
--- a/sysmocom/scenarios/mod-enb-args@.conf
+++ b/sysmocom/scenarios/mod-enb-args@.conf
@@ -1,3 +1,4 @@
 modifiers:
   enb:
-  - additional_args: ${param1}
+  - additional_args:
+- ${param1}
diff --git a/sysmocom/scenarios/mod-modem-args@.conf 
b/sysmocom/scenarios/mod-modem-args@.conf
index dde7796..2ec0834 100644
--- a/sysmocom/scenarios/mod-modem-args@.conf
+++ b/sysmocom/scenarios/mod-modem-args@.conf
@@ -1,3 +1,4 @@
 modifiers:
   modem:
-  - additional_args: ${param1}
+  - additional_args:
+- ${param1}

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

Gerrit-Project: osmo-gsm-tester
Gerrit-Branch: master
Gerrit-Change-Id: I4b371332cd6fbe11b98c85c79a6f8fdcc776a57b
Gerrit-Change-Number: 18838
Gerrit-PatchSet: 1
Gerrit-Owner: pespin 
Gerrit-MessageType: newchange


Change in osmo-bts[master]: osmo-bts-trx: include BS Power reduction in Downlink bursts

2020-06-15 Thread pespin
pespin has posted comments on this change. ( 
https://gerrit.osmocom.org/c/osmo-bts/+/18834 )

Change subject: osmo-bts-trx: include BS Power reduction in Downlink bursts
..


Patch Set 1: Code-Review+1


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

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: Ib692ff1a75a80fceccb481839c8514d4b2a547b9
Gerrit-Change-Number: 18834
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria 
Gerrit-Reviewer: fixeria 
Gerrit-Reviewer: pespin 
Gerrit-CC: Jenkins Builder
Gerrit-Comment-Date: Mon, 15 Jun 2020 15:17:40 +
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment


Change in osmo-bts[master]: A-bis/OML: handle hopping params in Set Channel Attributes

2020-06-15 Thread pespin
pespin has posted comments on this change. ( 
https://gerrit.osmocom.org/c/osmo-bts/+/18837 )

Change subject: A-bis/OML: handle hopping params in Set Channel Attributes
..


Patch Set 1:

(2 comments)

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

https://gerrit.osmocom.org/c/osmo-bts/+/18837/1/src/common/oml.c@889
PS1, Line 889:  LOGPFOH(DOML, LOGL_NOTICE, foh, "SET CHAN ATTR: 
Frequency hopping not supported.\n");
NOTICE? ERROR better. Same below.


https://gerrit.osmocom.org/c/osmo-bts/+/18837/1/src/common/oml.c@916
PS1, Line 916:  ts->hopping.ma_len = TLVP_LEN(, NM_ATT_ARFCN_LIST) / 
2;
probably using sizeof(int16_t) here and below instead of "2" makes it easier to 
understand why is that there (because they are 16bit values).



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

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: Ieac26c7aca118c16889cdde2565a514681dc137b
Gerrit-Change-Number: 18837
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria 
Gerrit-CC: pespin 
Gerrit-Comment-Date: Mon, 15 Jun 2020 15:16:29 +
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment


Change in osmo-bts[master]: osmo-bts-trx: store pointer to gsm_lchan in l1sched_chan_state

2020-06-15 Thread pespin
pespin has posted comments on this change. ( 
https://gerrit.osmocom.org/c/osmo-bts/+/18833 )

Change subject: osmo-bts-trx: store pointer to gsm_lchan in l1sched_chan_state
..


Patch Set 1: Code-Review+1

Ok just wanted to make sure we simply talloc it once and then reuse it over 
different lchans over time.


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

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: Ic4378020f980845b962f71b9e4b7faea738bc174
Gerrit-Change-Number: 18833
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria 
Gerrit-Reviewer: pespin 
Gerrit-Comment-Date: Mon, 15 Jun 2020 15:17:09 +
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment


Change in osmo-mgw[master]: trunk: parse E1 trunk number

2020-06-15 Thread dexter
Hello neels, Jenkins Builder,

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

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

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

Change subject: trunk: parse E1 trunk number
..

trunk: parse E1 trunk number

The E1 trunk number is currently not parsed, whenever a trunk prefix is
detected that indicates an E1 trunk, then the entire request is
rejected.

Parse the trunk number and select the trunk accordingly

Related: OS#2547
Change-Id: Ifdaab953544151e73b58cc3e95d21afdb40765f4
---
M src/libosmo-mgcp/mgcp_trunk.c
1 file changed, 5 insertions(+), 3 deletions(-)


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

Gerrit-Project: osmo-mgw
Gerrit-Branch: master
Gerrit-Change-Id: Ifdaab953544151e73b58cc3e95d21afdb40765f4
Gerrit-Change-Number: 18752
Gerrit-PatchSet: 4
Gerrit-Owner: dexter 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: neels 
Gerrit-CC: pespin 
Gerrit-MessageType: newpatchset


Change in osmo-bts[master]: A-bis/OML: fix logging: do not print A-bis MO name twice

2020-06-15 Thread pespin
pespin has posted comments on this change. ( 
https://gerrit.osmocom.org/c/osmo-bts/+/18836 )

Change subject: A-bis/OML: fix logging: do not print A-bis MO name twice
..


Patch Set 1: Code-Review+1


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

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: I513efeb441a69e9eee1ad7bbd8cb0b552b7195eb
Gerrit-Change-Number: 18836
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria 
Gerrit-Reviewer: pespin 
Gerrit-Comment-Date: Mon, 15 Jun 2020 15:13:17 +
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment


Change in osmo-bts[master]: A-bis/RSL: refactor handling of BS Power IE (power reduction)

2020-06-15 Thread pespin
pespin has posted comments on this change. ( 
https://gerrit.osmocom.org/c/osmo-bts/+/18835 )

Change subject: A-bis/RSL: refactor handling of BS Power IE (power reduction)
..


Patch Set 1:

(2 comments)

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

https://gerrit.osmocom.org/c/osmo-bts/+/18835/1/include/osmo-bts/gsm_data_shared.h@269
PS1, Line 269:  /* BTS power reduction (2 dB steps) */
I think it makes more sense to keep it in dB internally, like we do for all 
other power, pwr reduction/attenuations.


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

https://gerrit.osmocom.org/c/osmo-bts/+/18835/1/src/common/tx_power.c@116
PS1, Line 116: int get_p_trxout_target_mdBm(struct gsm_bts_trx *trx, uint8_t 
bs_power_ie)
here too: bs_power_red_ie.

BTW, current name may be wrong too, as in it says "ie" meaning it's 2db step, 
but not sure if this code is actually expecting 1dB unit instead 2db step.



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

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: I16cc50dfca102030380a06e16c234d5f6698f38f
Gerrit-Change-Number: 18835
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria 
Gerrit-CC: pespin 
Gerrit-Comment-Date: Mon, 15 Jun 2020 15:12:59 +
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment


Change in osmo-mgw[master]: endp: add name generator function for E1 endpoints

2020-06-15 Thread dexter
Hello neels, Jenkins Builder,

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

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

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

Change subject: endp: add name generator function for E1 endpoints
..

endp: add name generator function for E1 endpoints

Currently the endpoint name that is generated for an E1 endpoint is not
correct. Let's add an endpoint name generator function that derives a
full endpoint name for a given E1 index

Change-Id: I70e0c3f96aa3947165f992815ee5614c8f57
Related: OS#2547
---
M src/libosmo-mgcp/mgcp_endp.c
1 file changed, 38 insertions(+), 4 deletions(-)


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

Gerrit-Project: osmo-mgw
Gerrit-Branch: master
Gerrit-Change-Id: I70e0c3f96aa3947165f992815ee5614c8f57
Gerrit-Change-Number: 18745
Gerrit-PatchSet: 6
Gerrit-Owner: dexter 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: dexter 
Gerrit-Reviewer: neels 
Gerrit-CC: pespin 
Gerrit-CC: tnt 
Gerrit-MessageType: newpatchset


Change in osmo-bts[master]: osmo-bts-trx: include BS Power reduction in Downlink bursts

2020-06-15 Thread fixeria
fixeria has posted comments on this change. ( 
https://gerrit.osmocom.org/c/osmo-bts/+/18834 )

Change subject: osmo-bts-trx: include BS Power reduction in Downlink bursts
..


Patch Set 1:

(1 comment)

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

https://gerrit.osmocom.org/c/osmo-bts/+/18834/1/src/common/scheduler.c@1194
PS1, Line 1194: if (l1cs->lchan != NULL)
> is it expected to be NULL at some point?
Yes, see 
https://gerrit.osmocom.org/c/osmo-bts/+/18833/1/include/osmo-bts/scheduler.h#74.



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

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: Ib692ff1a75a80fceccb481839c8514d4b2a547b9
Gerrit-Change-Number: 18834
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria 
Gerrit-Reviewer: fixeria 
Gerrit-Reviewer: pespin 
Gerrit-Comment-Date: Mon, 15 Jun 2020 15:10:44 +
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: pespin 
Gerrit-MessageType: comment


Change in osmo-gsm-tester[master]: rfemu: add max attenuation getter

2020-06-15 Thread srs_andre
srs_andre has submitted this change. ( 
https://gerrit.osmocom.org/c/osmo-gsm-tester/+/18791 )

Change subject: rfemu: add max attenuation getter
..

rfemu: add max attenuation getter

this allows to query the maximum channel attenuation from within a test case

Change-Id: I35f7cb188790c59bbf2450f78c663fbc9440e406
---
M src/osmo_gsm_tester/obj/rfemu.py
M src/osmo_gsm_tester/obj/rfemu_amarisoftctrl.py
M src/osmo_gsm_tester/obj/rfemu_minicircuits.py
3 files changed, 11 insertions(+), 0 deletions(-)

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



diff --git a/src/osmo_gsm_tester/obj/rfemu.py b/src/osmo_gsm_tester/obj/rfemu.py
index b2add6b..ac34ee1 100644
--- a/src/osmo_gsm_tester/obj/rfemu.py
+++ b/src/osmo_gsm_tester/obj/rfemu.py
@@ -39,6 +39,11 @@
 """Set attenuation in dB on the configured channel"""
 pass

+@abstractmethod
+def get_max_attenuation(self):
+"""Get maximum channel attenuation"""
+pass
+
 def get_instance_by_type(rfemu_type, rfemu_opt):
 """Allocate a RFemulation child class based on type. Opts are passed to 
the newly created object."""
 if rfemu_type == 'amarisoftctl':
diff --git a/src/osmo_gsm_tester/obj/rfemu_amarisoftctrl.py 
b/src/osmo_gsm_tester/obj/rfemu_amarisoftctrl.py
index 6ef25bb..17aa43a 100644
--- a/src/osmo_gsm_tester/obj/rfemu_amarisoftctrl.py
+++ b/src/osmo_gsm_tester/obj/rfemu_amarisoftctrl.py
@@ -59,5 +59,7 @@
 result = self.ws.recv()
 self.dbg('Received CTRL msg: "%s"' % result)

+def get_max_attenuation(self):
+return 200 # maximum cell_gain value in Amarisoft

 # vim: expandtab tabstop=4 shiftwidth=4
diff --git a/src/osmo_gsm_tester/obj/rfemu_minicircuits.py 
b/src/osmo_gsm_tester/obj/rfemu_minicircuits.py
index eea3a0e..6214040 100644
--- a/src/osmo_gsm_tester/obj/rfemu_minicircuits.py
+++ b/src/osmo_gsm_tester/obj/rfemu_minicircuits.py
@@ -64,4 +64,8 @@
 self.dbg('Received response: "%s"' % data_str)
 if data_str != '1':
 raise log.Error('Mini-circuits attenuation device returned 
failure! %s' & data_str)
+
+def get_max_attenuation(self):
+return 95 # Maximum value of the Mini-Circuits RC4DAT-6G-95
+
 # vim: expandtab tabstop=4 shiftwidth=4

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

Gerrit-Project: osmo-gsm-tester
Gerrit-Branch: master
Gerrit-Change-Id: I35f7cb188790c59bbf2450f78c663fbc9440e406
Gerrit-Change-Number: 18791
Gerrit-PatchSet: 5
Gerrit-Owner: srs_andre 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: pespin 
Gerrit-Reviewer: srs_andre 
Gerrit-MessageType: merged


Change in osmo-gsm-tester[master]: epc: refactor run_wait() method and rename to prepare_proc()

2020-06-15 Thread srs_andre
srs_andre has submitted this change. ( 
https://gerrit.osmocom.org/c/osmo-gsm-tester/+/18789 )

Change subject: epc: refactor run_wait() method and rename to prepare_proc()
..

epc: refactor run_wait() method and rename to prepare_proc()

this refactor no longer enforces blocking operation of the process.
Instead it returns the process object to the caller who
can now run either proc.launch() for non-blocking operation
or proc.launch_sync() for blocking mode.

The non-block mode allos doing other stuff in the background,
for example controlling the rfemu while running a ping.

Change-Id: Ia6372e55a8829f722e40db537d9dfd63a94d1be9
---
M src/osmo_gsm_tester/obj/epc.py
M sysmocom/suites/4g/rrc_idle_mt_ping.py
2 files changed, 6 insertions(+), 4 deletions(-)

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



diff --git a/src/osmo_gsm_tester/obj/epc.py b/src/osmo_gsm_tester/obj/epc.py
index dfeba74..6f056fc 100644
--- a/src/osmo_gsm_tester/obj/epc.py
+++ b/src/osmo_gsm_tester/obj/epc.py
@@ -76,13 +76,14 @@

 return  epc_class(testenv, run_node)

-def run_wait(self, name, popen_args):
-''' Execute process on EPC node, useful for MT traffic '''
+def prepare_process(self, name, popen_args):
+''' Prepare and return a process to run on EPC node.
+Caller calls either launch() or launch_sync()
+for non-blocking or blocking operation respectively '''
 if self._run_node.is_local():
 proc = process.Process(name, self.run_dir, popen_args)
 else:
 proc = self.rem_host.RemoteProcess(name, popen_args)
-proc.launch_sync()
 return proc

 ###
diff --git a/sysmocom/suites/4g/rrc_idle_mt_ping.py 
b/sysmocom/suites/4g/rrc_idle_mt_ping.py
index fb3c32c..dcabe21 100755
--- a/sysmocom/suites/4g/rrc_idle_mt_ping.py
+++ b/sysmocom/suites/4g/rrc_idle_mt_ping.py
@@ -27,7 +27,8 @@
 sleep(5)

 # Generate MO traffic, send single ping
-proc = epc.run_wait('ping', ('ping', '-c', '1', ue.get_assigned_addr()))
+proc = epc.prepare_process('ping', ('ping', '-c', '1', ue.get_assigned_addr()))
+proc.launch_sync()
 output = proc.get_stdout()

 # Check paging received

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

Gerrit-Project: osmo-gsm-tester
Gerrit-Branch: master
Gerrit-Change-Id: Ia6372e55a8829f722e40db537d9dfd63a94d1be9
Gerrit-Change-Number: 18789
Gerrit-PatchSet: 5
Gerrit-Owner: srs_andre 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: pespin 
Gerrit-Reviewer: srs_andre 
Gerrit-MessageType: merged


Change in osmo-gsm-tester[master]: amarisoft_drb.cfg.tmpl: adjust default values for QCI 1 and 2

2020-06-15 Thread srs_andre
srs_andre has posted comments on this change. ( 
https://gerrit.osmocom.org/c/osmo-gsm-tester/+/18828 )

Change subject: amarisoft_drb.cfg.tmpl: adjust default values for QCI 1 and 2
..


Patch Set 2: Verified+1


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

Gerrit-Project: osmo-gsm-tester
Gerrit-Branch: master
Gerrit-Change-Id: Ibfffde9ecccd473f22e816bd47e197fbe24b0ded
Gerrit-Change-Number: 18828
Gerrit-PatchSet: 2
Gerrit-Owner: srs_andre 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: pespin 
Gerrit-Reviewer: srs_andre 
Gerrit-Comment-Date: Mon, 15 Jun 2020 15:09:52 +
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment


Change in osmo-gsm-tester[master]: amarisoft_drb.cfg.tmpl: adjust default values for QCI 1 and 2

2020-06-15 Thread srs_andre
srs_andre has submitted this change. ( 
https://gerrit.osmocom.org/c/osmo-gsm-tester/+/18828 )

Change subject: amarisoft_drb.cfg.tmpl: adjust default values for QCI 1 and 2
..

amarisoft_drb.cfg.tmpl: adjust default values for QCI 1 and 2

use more realistic values for QCI 1 and 2 bearers to prepare
QoS operation

Change-Id: Ibfffde9ecccd473f22e816bd47e197fbe24b0ded
---
M src/osmo_gsm_tester/templates/amarisoft_drb.cfg.tmpl
1 file changed, 8 insertions(+), 8 deletions(-)

Approvals:
  pespin: Looks good to me, approved
  srs_andre: Verified



diff --git a/src/osmo_gsm_tester/templates/amarisoft_drb.cfg.tmpl 
b/src/osmo_gsm_tester/templates/amarisoft_drb.cfg.tmpl
index a200063..38281b5 100644
--- a/src/osmo_gsm_tester/templates/amarisoft_drb.cfg.tmpl
+++ b/src/osmo_gsm_tester/templates/amarisoft_drb.cfg.tmpl
@@ -7,7 +7,7 @@
 qci: 1, /* UM - real time (RTP for VOIP) */
 pdcp_config: {
   discardTimer: 100, /* in ms, 0 means infinity */
-  pdcp_SN_Size: 7,
+  pdcp_SN_Size: 12,
   /* ROHC header compression */
   /*
   headerCompression: {
@@ -30,9 +30,9 @@
 logical_channel_config: {
   /* Note: SRB1 has priority 1, SRB2 has priority 3.
  We start from 4 for priority 0.5 and increase the value */
-  priority: 7,
-  prioritisedBitRate: 0, /* in kb/s, -1 means infinity */
-  bucketSizeDuration: 100, /* in ms */
+  priority: 4,
+  prioritisedBitRate: 256, /* in kb/s, -1 means infinity */
+  bucketSizeDuration: 1000, /* in ms */
   logicalChannelGroup: 1,
   logicalChannelSR_Mask: false,
   logicalChannelSR_Prohibit: false,
@@ -54,9 +54,9 @@
   },
 },
 logical_channel_config: {
-  priority: 9,
-  prioritisedBitRate: 0, /* in kb/s, -1 means infinity */
-  bucketSizeDuration: 100, /* in ms */
+  priority: 5,
+  prioritisedBitRate: 128, /* in kb/s, -1 means infinity */
+  bucketSizeDuration: 1000, /* in ms */
   logicalChannelGroup: 1,
   logicalChannelSR_Mask: false,
   logicalChannelSR_Prohibit: false,
@@ -300,7 +300,7 @@
 },
 logical_channel_config: {
   priority: 15,
-  prioritisedBitRate: 8, /* in kb/s, -1 means infinity */
+  prioritisedBitRate: -1, /* in kb/s, -1 means infinity */
   bucketSizeDuration: 100, /* in ms */
   logicalChannelGroup: 3,
   logicalChannelSR_Mask: false,

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

Gerrit-Project: osmo-gsm-tester
Gerrit-Branch: master
Gerrit-Change-Id: Ibfffde9ecccd473f22e816bd47e197fbe24b0ded
Gerrit-Change-Number: 18828
Gerrit-PatchSet: 3
Gerrit-Owner: srs_andre 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: pespin 
Gerrit-Reviewer: srs_andre 
Gerrit-MessageType: merged


Change in osmo-gsm-tester[master]: iperf3: increase extra timeout to 30s

2020-06-15 Thread srs_andre
srs_andre has posted comments on this change. ( 
https://gerrit.osmocom.org/c/osmo-gsm-tester/+/18800 )

Change subject: iperf3: increase extra timeout to 30s
..


Patch Set 3: Verified+1


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

Gerrit-Project: osmo-gsm-tester
Gerrit-Branch: master
Gerrit-Change-Id: I80b732a060356aa98882ff0e8b5debaf623ba0fb
Gerrit-Change-Number: 18800
Gerrit-PatchSet: 3
Gerrit-Owner: srs_andre 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: pespin 
Gerrit-Reviewer: srs_andre 
Gerrit-Comment-Date: Mon, 15 Jun 2020 15:09:33 +
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment


Change in osmo-gsm-tester[master]: enb_amarisoft: fix typo

2020-06-15 Thread srs_andre
srs_andre has submitted this change. ( 
https://gerrit.osmocom.org/c/osmo-gsm-tester/+/18790 )

Change subject: enb_amarisoft: fix typo
..

enb_amarisoft: fix typo

Change-Id: Ie898da5eae10af96c2bca6c2413bdff4a5160e9f
---
M src/osmo_gsm_tester/obj/enb_amarisoft.py
1 file changed, 1 insertion(+), 1 deletion(-)

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



diff --git a/src/osmo_gsm_tester/obj/enb_amarisoft.py 
b/src/osmo_gsm_tester/obj/enb_amarisoft.py
index f6f2cb0..8b4ecae 100644
--- a/src/osmo_gsm_tester/obj/enb_amarisoft.py
+++ b/src/osmo_gsm_tester/obj/enb_amarisoft.py
@@ -223,7 +223,7 @@
 if cell_list is None or len(cell_list) < cell + 1:
 raise log.Error('cell_list attribute or subitem not found!')
 rfemu_cfg = cell_list[cell].get('dl_rfemu', None)
-if rfemu_cfg is None: # craft amarisfot by default:
+if rfemu_cfg is None: # craft amarisoft by default:
 rfemu_cfg = {'type': 'amarisoftctl',
  'addr': self.addr(),
  'ports': [9001]

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

Gerrit-Project: osmo-gsm-tester
Gerrit-Branch: master
Gerrit-Change-Id: Ie898da5eae10af96c2bca6c2413bdff4a5160e9f
Gerrit-Change-Number: 18790
Gerrit-PatchSet: 5
Gerrit-Owner: srs_andre 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: pespin 
Gerrit-Reviewer: srs_andre 
Gerrit-MessageType: merged


Change in osmo-gsm-tester[master]: iperf3: increase extra timeout to 30s

2020-06-15 Thread srs_andre
srs_andre has submitted this change. ( 
https://gerrit.osmocom.org/c/osmo-gsm-tester/+/18800 )

Change subject: iperf3: increase extra timeout to 30s
..

iperf3: increase extra timeout to 30s

10s was too short and has still caused tests to fail because they were
stopped just before the iperf finished.

30s seems to be enought and has passed multiple times so far

Change-Id: I80b732a060356aa98882ff0e8b5debaf623ba0fb
---
M src/osmo_gsm_tester/obj/iperf3.py
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  pespin: Looks good to me, approved
  srs_andre: Verified



diff --git a/src/osmo_gsm_tester/obj/iperf3.py 
b/src/osmo_gsm_tester/obj/iperf3.py
index ee62159..13fd455 100644
--- a/src/osmo_gsm_tester/obj/iperf3.py
+++ b/src/osmo_gsm_tester/obj/iperf3.py
@@ -250,7 +250,7 @@
 proc = self.prepare_test_proc_locally(dir, netns, time_sec, proto 
== IPerf3Client.PROTO_UDP, bitrate)
 else:
 proc = self.prepare_test_proc_remotely(dir, netns, time_sec, proto 
== IPerf3Client.PROTO_UDP, bitrate)
-proc.set_default_wait_timeout(time_sec + 10) # leave 10 extra sec for 
remote run, ctrl conn establishment, etc.
+proc.set_default_wait_timeout(time_sec + 30) # leave 30 extra sec for 
remote run, ctrl conn establishment, etc.
 return proc

 def prepare_test_proc_remotely(self, dir, netns, time_sec, use_udp, 
bitrate):

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

Gerrit-Project: osmo-gsm-tester
Gerrit-Branch: master
Gerrit-Change-Id: I80b732a060356aa98882ff0e8b5debaf623ba0fb
Gerrit-Change-Number: 18800
Gerrit-PatchSet: 4
Gerrit-Owner: srs_andre 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: pespin 
Gerrit-Reviewer: srs_andre 
Gerrit-MessageType: merged


Change in osmo-bts[master]: osmo-bts-trx: store pointer to gsm_lchan in l1sched_chan_state

2020-06-15 Thread fixeria
fixeria has posted comments on this change. ( 
https://gerrit.osmocom.org/c/osmo-bts/+/18833 )

Change subject: osmo-bts-trx: store pointer to gsm_lchan in l1sched_chan_state
..


Patch Set 1:

(1 comment)

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

https://gerrit.osmocom.org/c/osmo-bts/+/18833/1/src/common/scheduler.c@1005
PS1, Line 1005: chan_state->lchan = 
get_lchan_by_chan_nr(l1t->trx, chan_nr);
> I se chan_state->lchan never set to NULL explicitly. […]
We're using talloc_zero() everywhere, so it's set to NULL implicitly.



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

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: Ic4378020f980845b962f71b9e4b7faea738bc174
Gerrit-Change-Number: 18833
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria 
Gerrit-Reviewer: fixeria 
Gerrit-CC: Jenkins Builder
Gerrit-CC: pespin 
Gerrit-Comment-Date: Mon, 15 Jun 2020 15:09:14 +
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: pespin 
Gerrit-MessageType: comment


Change in osmo-bts[master]: osmo-bts-trx: include BS Power reduction in Downlink bursts

2020-06-15 Thread pespin
pespin has posted comments on this change. ( 
https://gerrit.osmocom.org/c/osmo-bts/+/18834 )

Change subject: osmo-bts-trx: include BS Power reduction in Downlink bursts
..


Patch Set 1:

(1 comment)

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

https://gerrit.osmocom.org/c/osmo-bts/+/18834/1/src/common/scheduler.c@1194
PS1, Line 1194: if (l1cs->lchan != NULL)
is it expected to be NULL at some point?



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

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: Ib692ff1a75a80fceccb481839c8514d4b2a547b9
Gerrit-Change-Number: 18834
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria 
Gerrit-Reviewer: fixeria 
Gerrit-Reviewer: pespin 
Gerrit-Comment-Date: Mon, 15 Jun 2020 15:08:30 +
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment


Change in osmo-bts[master]: osmo-bts-trx: store pointer to gsm_lchan in l1sched_chan_state

2020-06-15 Thread pespin
pespin has posted comments on this change. ( 
https://gerrit.osmocom.org/c/osmo-bts/+/18833 )

Change subject: osmo-bts-trx: store pointer to gsm_lchan in l1sched_chan_state
..


Patch Set 1:

(1 comment)

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

https://gerrit.osmocom.org/c/osmo-bts/+/18833/1/src/common/scheduler.c@1005
PS1, Line 1005: chan_state->lchan = 
get_lchan_by_chan_nr(l1t->trx, chan_nr);
I se chan_state->lchan never set to NULL explicitly. Are you sure that's fine?



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

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: Ic4378020f980845b962f71b9e4b7faea738bc174
Gerrit-Change-Number: 18833
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria 
Gerrit-CC: Jenkins Builder
Gerrit-CC: pespin 
Gerrit-Comment-Date: Mon, 15 Jun 2020 15:06:55 +
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment


Change in osmo-bts[master]: A-bis/OML: handle hopping params in Set Channel Attributes

2020-06-15 Thread fixeria
fixeria has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-bts/+/18837 )


Change subject: A-bis/OML: handle hopping params in Set Channel Attributes
..

A-bis/OML: handle hopping params in Set Channel Attributes

Change-Id: Ieac26c7aca118c16889cdde2565a514681dc137b
Related: OS#4546
---
M include/osmo-bts/gsm_data_shared.h
M src/common/gsm_data_shared.c
M src/common/oml.c
3 files changed, 41 insertions(+), 20 deletions(-)



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

diff --git a/include/osmo-bts/gsm_data_shared.h 
b/include/osmo-bts/gsm_data_shared.h
index c3dba3c..b6a0db7 100644
--- a/include/osmo-bts/gsm_data_shared.h
+++ b/include/osmo-bts/gsm_data_shared.h
@@ -315,15 +315,11 @@

struct {
/* Parameters below are configured by VTY */
-   int enabled;
+   bool enabled;
uint8_t maio;
uint8_t hsn;
-   struct bitvec arfcns;
-   uint8_t arfcns_data[1024/8];
-   /* This is the pre-computed MA for channel assignments */
-   struct bitvec ma;
-   uint8_t ma_len; /* part of ma_data that is used */
-   uint8_t ma_data[8]; /* 10.5.2.21: max 8 bytes value part */
+   uint16_t ma[64];
+   uint8_t ma_len;
} hopping;

struct gsm_lchan lchan[TS_MAX_LCHAN];
diff --git a/src/common/gsm_data_shared.c b/src/common/gsm_data_shared.c
index c680001..3ca51ae 100644
--- a/src/common/gsm_data_shared.c
+++ b/src/common/gsm_data_shared.c
@@ -209,11 +209,6 @@
gsm_mo_init(>mo, bts, NM_OC_CHANNEL,
bts->nr, trx->nr, ts->nr);

-   ts->hopping.arfcns.data_len = sizeof(ts->hopping.arfcns_data);
-   ts->hopping.arfcns.data = ts->hopping.arfcns_data;
-   ts->hopping.ma.data_len = sizeof(ts->hopping.ma_data);
-   ts->hopping.ma.data = ts->hopping.ma_data;
-
for (l = 0; l < TS_MAX_LCHAN; l++) {
struct gsm_lchan *lchan;
char *name;
diff --git a/src/common/oml.c b/src/common/oml.c
index 28fa066..ea90c30 100644
--- a/src/common/oml.c
+++ b/src/common/oml.c
@@ -872,7 +872,7 @@
struct abis_om_fom_hdr *foh = msgb_l3(msg);
struct gsm_bts *bts = ts->trx->bts;
struct tlv_parsed tp, *tp_merged;
-   int rc;
+   int rc, i;

DEBUGPFOH(DOML, foh, "Rx SET CHAN ATTR\n");

@@ -883,11 +883,39 @@
return oml_fom_ack_nack(msg, NM_NACK_INCORR_STRUCT);
}

-   /* 9.4.21 HSN... */
-   /* 9.4.27 MAIO */
+   /* Check frequency hopping parameters (HSN, MAIO, ARFCN list) */
if (TLVP_PRESENT(, NM_ATT_HSN) || TLVP_PRESENT(, NM_ATT_MAIO)) {
-   LOGPFOH(DOML, LOGL_NOTICE, foh, "SET CHAN ATTR: Frequency 
hopping not supported.\n");
-   return oml_fom_ack_nack(msg, NM_NACK_SPEC_IMPL_NOTSUPP);
+   if (!osmo_bts_has_feature(bts->features, BTS_FEAT_HOPPING)) {
+   LOGPFOH(DOML, LOGL_NOTICE, foh, "SET CHAN ATTR: 
Frequency hopping not supported.\n");
+   return oml_fom_ack_nack(msg, NM_NACK_SPEC_IMPL_NOTSUPP);
+   }
+
+   if (!TLVP_PRES_LEN(, NM_ATT_HSN, 1) || !TLVP_PRES_LEN(, 
NM_ATT_MAIO, 1)) {
+   LOGPFOH(DOML, LOGL_NOTICE, foh, "SET CHAN ATTR: HSN 
and/or MAIO is missing: "
+   "hsn=%u, maio=%u\n", TLVP_LEN(, NM_ATT_HSN), 
TLVP_LEN(, NM_ATT_MAIO));
+   return oml_fom_ack_nack(msg, 
NM_NACK_ATTRLIST_INCONSISTENT);
+   }
+
+   if (!TLVP_PRES_LEN(, NM_ATT_ARFCN_LIST, 2)) { /* At least 
one ARFCN */
+   LOGPFOH(DOML, LOGL_NOTICE, foh, "SET CHAN ATTR: ARFCN 
list is missing\n");
+   return oml_fom_ack_nack(msg, 
NM_NACK_ATTRLIST_INCONSISTENT);
+   }
+
+   if (TLVP_LEN(, NM_ATT_ARFCN_LIST) > sizeof(ts->hopping.ma)) {
+   LOGPFOH(DOML, LOGL_NOTICE, foh, "SET CHAN ATTR: ARFCN 
list is too long\n");
+   return oml_fom_ack_nack(msg, 
NM_NACK_ATTRLIST_INCONSISTENT);
+   } else if (TLVP_LEN(, NM_ATT_ARFCN_LIST) % 2 != 0) {
+   LOGPFOH(DOML, LOGL_NOTICE, foh, "SET CHAN ATTR: ARFCN 
list has odd length\n");
+   return oml_fom_ack_nack(msg, 
NM_NACK_ATTRLIST_INCONSISTENT);
+   }
+
+   ts->hopping.enabled = true;
+   ts->hopping.hsn = *TLVP_VAL(, NM_ATT_HSN);
+   ts->hopping.maio = *TLVP_VAL(, NM_ATT_MAIO);
+
+   ts->hopping.ma_len = TLVP_LEN(, NM_ATT_ARFCN_LIST) / 2;
+   for (i = 0; i < ts->hopping.ma_len; i++)
+   ts->hopping.ma[i] = osmo_load16be(TLVP_VAL(, 
NM_ATT_ARFCN_LIST) + i * 2);
}


Change in osmo-bts[master]: A-bis/RSL: refactor handling of BS Power IE (power reduction)

2020-06-15 Thread fixeria
fixeria has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-bts/+/18835 )


Change subject: A-bis/RSL: refactor handling of BS Power IE (power reduction)
..

A-bis/RSL: refactor handling of BS Power IE (power reduction)

According to 3GPP TS 08.58, section 9.3.4, BS Power IE indicates
the transmission power attenuation on a particular channel:

  +--+-+-+
  | Reserved (3) | FPC (1) | Power level (4) |
  +--+-+-+

so let's change handling of this IE as follows:

  - s/bs_power/bs_power_red/g, so it reflects 'reduction';
  - get rid of ms_power_ctrl.bts_tx_pwr, it's always 0 anyway;
- fix rsl_tx_meas_res(): use lchan->bs_power_red;
  - always check if FPC (Fast Power Control) flag is set;
- we don't support it, so reject messages containing it;
- fix rsl_rx_chan_activ(): properly apply the bitmask.

Change-Id: I16cc50dfca102030380a06e16c234d5f6698f38f
---
M include/osmo-bts/gsm_data_shared.h
M src/common/rsl.c
M src/common/tx_power.c
M src/common/vty.c
4 files changed, 26 insertions(+), 24 deletions(-)



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

diff --git a/include/osmo-bts/gsm_data_shared.h 
b/include/osmo-bts/gsm_data_shared.h
index 7cfbfeb..c3dba3c 100644
--- a/include/osmo-bts/gsm_data_shared.h
+++ b/include/osmo-bts/gsm_data_shared.h
@@ -193,8 +193,6 @@
uint8_t flags;
/* RSL measurement result number, 0 at lchan_act */
uint8_t res_nr;
-   /* current Tx power level of the BTS */
-   uint8_t bts_tx_pwr;
/* number of measurements stored in array below */
uint8_t num_ul_meas;
struct bts_ul_meas uplink[MAX_NUM_UL_MEAS];
@@ -267,8 +265,9 @@
uint8_t max;
bool fixed;
} ms_power_ctrl;
-   /* Power levels for BTS */
-   uint8_t bs_power;
+
+   /* BTS power reduction (2 dB steps) */
+   uint8_t bs_power_red;

struct msgb *pending_rel_ind_msg;
 
diff --git a/src/common/rsl.c b/src/common/rsl.c
index f057a89..b9c9695 100644
--- a/src/common/rsl.c
+++ b/src/common/rsl.c
@@ -1001,7 +1001,7 @@
lchan->tch_mode = 0;
memset(>encr, 0, sizeof(lchan->encr));
memset(>ho, 0, sizeof(lchan->ho));
-   lchan->bs_power = 0;
+   lchan->bs_power_red = 0;
memset(>ms_power_ctrl, 0, sizeof(lchan->ms_power_ctrl));
lchan->rqd_ta = 0;
copy_sacch_si_to_lchan(lchan);
@@ -1146,8 +1146,15 @@
}

/* 9.3.4 BS Power */
-   if (TLVP_PRES_LEN(, RSL_IE_BS_POWER, 1))
-   lchan->bs_power = *TLVP_VAL(, RSL_IE_BS_POWER);
+   if (TLVP_PRES_LEN(, RSL_IE_BS_POWER, 1)) {
+   if (*TLVP_VAL(, RSL_IE_BS_POWER) & (1 << 4)) {
+   LOGPLCHAN(lchan, DRSL, LOGL_NOTICE, "Fast Power Control 
is not supported\n");
+   return rsl_tx_chan_act_nack(lchan, 
RSL_ERR_SERV_OPT_UNIMPL);
+   }
+
+   lchan->bs_power_red = *TLVP_VAL(, RSL_IE_BS_POWER) & 0x0f;
+   }
+
/* 9.3.13 MS Power */
if (TLVP_PRES_LEN(, RSL_IE_MS_POWER, 1)) {
lchan->ms_power_ctrl.max = *TLVP_VAL(, RSL_IE_MS_POWER) & 
0x1F;
@@ -1664,21 +1671,13 @@
return 0;
 }

-/* See TS 48.058 Section 9.3.4 */
-static int bs_power_attenuation_dB(uint8_t bs_power)
-{
-   /* the lower nibble contains the number of 2dB steps that the BS power 
is reduced compared
-* to its nominal transmit power */
-   return - ((bs_power & 0xF) *2);
-}
-
 /* 8.4.16 BS POWER CONTROL */
 static int rsl_rx_bs_pwr_ctrl(struct msgb *msg)
 {
struct abis_rsl_dchan_hdr *dch = msgb_l2(msg);
struct gsm_lchan *lchan = msg->lchan;
struct tlv_parsed tp;
-   uint8_t new_bs_power;
+   uint8_t old_bs_power_red;

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

@@ -1686,12 +1685,16 @@
if (!TLVP_PRES_LEN(, RSL_IE_BS_POWER, 1))
return rsl_tx_error_report(msg->trx, RSL_ERR_MAND_IE_ERROR, 
>chan_nr, NULL, msg);

-   new_bs_power = *TLVP_VAL(, RSL_IE_BS_POWER);
+   if (*TLVP_VAL(, RSL_IE_BS_POWER) & (1 << 4)) {
+   LOGPLCHAN(lchan, DRSL, LOGL_NOTICE, "Fast Power Control is not 
supported\n");
+   return rsl_tx_error_report(msg->trx, RSL_ERR_SERV_OPT_UNIMPL, 
>chan_nr, NULL, msg);
+   }
+
+   old_bs_power_red = lchan->bs_power_red;
+   lchan->bs_power_red = *TLVP_VAL(, RSL_IE_BS_POWER) & 0x0f;

LOGPLCHAN(lchan, DRSL, LOGL_INFO, "BS POWER CONTROL Attenuation %d -> 
%d dB\n",
- bs_power_attenuation_dB(lchan->bs_power), 
bs_power_attenuation_dB(new_bs_power));
-
-   lchan->bs_power = new_bs_power;
+ old_bs_power_red * 2, lchan->bs_power_red * 2);

/* 9.3.31 MS Power Parameters (O) */
if 

Change in osmo-bts[master]: osmo-bts-trx: store pointer to gsm_lchan in l1sched_chan_state

2020-06-15 Thread fixeria
fixeria has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-bts/+/18833 )


Change subject: osmo-bts-trx: store pointer to gsm_lchan in l1sched_chan_state
..

osmo-bts-trx: store pointer to gsm_lchan in l1sched_chan_state

This change simplifies access to generic logical channel state
(struct gsm_lchan) from osmo-bts-trx specific state (struct
l1sched_chan_state), so there is no need to look it up using
get_lchan_by_chan_nr() on receipt of each Uplink burst.

Change-Id: Ic4378020f980845b962f71b9e4b7faea738bc174
---
M include/osmo-bts/scheduler.h
M src/common/scheduler.c
M src/osmo-bts-trx/sched_lchan_tchf.c
M src/osmo-bts-trx/sched_lchan_tchh.c
4 files changed, 12 insertions(+), 4 deletions(-)



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

diff --git a/include/osmo-bts/scheduler.h b/include/osmo-bts/scheduler.h
index a7bc6c7..f5f346e 100644
--- a/include/osmo-bts/scheduler.h
+++ b/include/osmo-bts/scheduler.h
@@ -71,6 +71,11 @@

 /* States each channel on a multiframe */
 struct l1sched_chan_state {
+   /* Pointer to the associated logical channel state from gsm_data_shared.
+* Initialized during channel activation, thus may be NULL for inactive
+* or auto-active channels. Always check before dereferencing! */
+   struct gsm_lchan*lchan;
+
/* scheduler */
boolactive; /* Channel is active */
ubit_t  *dl_bursts; /* burst buffer for TX */
diff --git a/src/common/scheduler.c b/src/common/scheduler.c
index ed6c623..b79c83d 100644
--- a/src/common/scheduler.c
+++ b/src/common/scheduler.c
@@ -1000,6 +1000,11 @@
else
chan_state->ho_rach_detect = 0;
chan_state->active = active;
+
+   if (active) {
+   chan_state->lchan = 
get_lchan_by_chan_nr(l1t->trx, chan_nr);
+   OSMO_ASSERT(chan_state->lchan != NULL);
+   }
}
}

diff --git a/src/osmo-bts-trx/sched_lchan_tchf.c 
b/src/osmo-bts-trx/sched_lchan_tchf.c
index 80115a9..d289620 100644
--- a/src/osmo-bts-trx/sched_lchan_tchf.c
+++ b/src/osmo-bts-trx/sched_lchan_tchf.c
@@ -50,6 +50,7 @@
 {
struct l1sched_ts *l1ts = l1sched_trx_get_ts(l1t, bi->tn);
struct l1sched_chan_state *chan_state = >chan_state[chan];
+   struct gsm_lchan *lchan = chan_state->lchan;
sbit_t *burst, **bursts_p = _state->ul_bursts;
uint8_t *mask = _state->ul_mask;
uint8_t rsl_cmode = chan_state->rsl_cmode;
@@ -59,8 +60,6 @@
int n_errors = 0;
int n_bits_total = 0;
bool bfi_flag = false;
-   struct gsm_lchan *lchan =
-   get_lchan_by_chan_nr(l1t->trx, trx_chan_desc[chan].chan_nr | 
bi->tn);
unsigned int fn_begin;
uint16_t ber10k;
uint8_t is_sub = 0;
diff --git a/src/osmo-bts-trx/sched_lchan_tchh.c 
b/src/osmo-bts-trx/sched_lchan_tchh.c
index 8adaec3..0281342 100644
--- a/src/osmo-bts-trx/sched_lchan_tchh.c
+++ b/src/osmo-bts-trx/sched_lchan_tchh.c
@@ -50,6 +50,7 @@
 {
struct l1sched_ts *l1ts = l1sched_trx_get_ts(l1t, bi->tn);
struct l1sched_chan_state *chan_state = >chan_state[chan];
+   struct gsm_lchan *lchan = chan_state->lchan;
sbit_t *burst, **bursts_p = _state->ul_bursts;
uint8_t *mask = _state->ul_mask;
uint8_t rsl_cmode = chan_state->rsl_cmode;
@@ -59,8 +60,6 @@
int n_errors = 0;
int n_bits_total = 0;
bool bfi_flag = false;
-   struct gsm_lchan *lchan =
-   get_lchan_by_chan_nr(l1t->trx, trx_chan_desc[chan].chan_nr | 
bi->tn);
/* Note on FN-10: If we are at FN 10, we decoded an even aligned
 * TCH/FACCH frame, because our burst buffer carries 6 bursts.
 * Even FN ending at: 10,11,19,20,2,3

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

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


Change in osmo-bts[master]: osmo-bts-trx: include BS Power reduction in Downlink bursts

2020-06-15 Thread fixeria
fixeria has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-bts/+/18834 )


Change subject: osmo-bts-trx: include BS Power reduction in Downlink bursts
..

osmo-bts-trx: include BS Power reduction in Downlink bursts

For those osmo-bts-trx specific logical channels with a generic
logical channel state associated, let's finally apply the BS Power
reduction (attenuation) value that was received from the BSC.

Change-Id: Ib692ff1a75a80fceccb481839c8514d4b2a547b9
---
M src/common/scheduler.c
M src/osmo-bts-trx/scheduler_trx.c
2 files changed, 5 insertions(+), 2 deletions(-)



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

diff --git a/src/common/scheduler.c b/src/common/scheduler.c
index b79c83d..ac9085d 100644
--- a/src/common/scheduler.c
+++ b/src/common/scheduler.c
@@ -1190,6 +1190,10 @@
if (func(l1t, chan, bid, br) != 0)
goto no_data;

+   /* BS Power reduction (2 dB steps) per logical channel */
+   if (l1cs->lchan != NULL)
+   br->att = l1cs->lchan->bs_power * 2;
+
/* encrypt */
if (br->burst_len && l1cs->dl_encr_algo) {
ubit_t ks[114];
diff --git a/src/osmo-bts-trx/scheduler_trx.c b/src/osmo-bts-trx/scheduler_trx.c
index 6996593..d4a38b6 100644
--- a/src/osmo-bts-trx/scheduler_trx.c
+++ b/src/osmo-bts-trx/scheduler_trx.c
@@ -86,10 +86,9 @@
_sched_rts(l1t, tn,
(fn + plink->u.osmotrx.rts_advance) % 
GSM_HYPERFRAME);

-   /* TODO: Tx attenuation is always 0? */
+   /* All other parameters to be set by _sched_dl_burst() 
*/
br = (struct trx_dl_burst_req) {
.fn = fn, .tn = tn,
-   .att = 0,
};
 
/* get burst for FN */

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

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


Change in osmo-bts[master]: A-bis/OML: fix logging: do not print A-bis MO name twice

2020-06-15 Thread fixeria
fixeria has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-bts/+/18836 )


Change subject: A-bis/OML: fix logging: do not print A-bis MO name twice
..

A-bis/OML: fix logging: do not print A-bis MO name twice

LOGPFOH() itself prepends A-bis MO name to the logging message.

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



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

diff --git a/src/common/oml.c b/src/common/oml.c
index 5610ab1..28fa066 100644
--- a/src/common/oml.c
+++ b/src/common/oml.c
@@ -937,8 +937,8 @@
/* If there is no TSC specified, use the BCC */
ts->tsc = BSIC2BCC(bts->bsic);
}
-   LOGPFOH(DOML, LOGL_INFO, foh, "%s SET CHAN ATTR (TSC=%u pchan=%s)\n",
-   gsm_abis_mo_name(>mo), ts->tsc, gsm_pchan_name(ts->pchan));
+   LOGPFOH(DOML, LOGL_INFO, foh, "SET CHAN ATTR (TSC=%u pchan=%s)\n",
+   ts->tsc, gsm_pchan_name(ts->pchan));

/* call into BTS driver to apply new attributes to hardware */
return bts_model_apply_oml(bts, msg, tp_merged, NM_OC_CHANNEL, ts);

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

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


Change in osmo-gsm-tester[master]: epc: refactor run_wait() method and rename to prepare_proc()

2020-06-15 Thread pespin
pespin has posted comments on this change. ( 
https://gerrit.osmocom.org/c/osmo-gsm-tester/+/18789 )

Change subject: epc: refactor run_wait() method and rename to prepare_proc()
..


Patch Set 4: Code-Review+2


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

Gerrit-Project: osmo-gsm-tester
Gerrit-Branch: master
Gerrit-Change-Id: Ia6372e55a8829f722e40db537d9dfd63a94d1be9
Gerrit-Change-Number: 18789
Gerrit-PatchSet: 4
Gerrit-Owner: srs_andre 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: pespin 
Gerrit-Reviewer: srs_andre 
Gerrit-Comment-Date: Mon, 15 Jun 2020 14:54:38 +
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment


Change in osmo-gsm-tester[master]: Add per-test KPI support

2020-06-15 Thread pespin
pespin has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-gsm-tester/+/18832 )


Change subject: Add per-test KPI support
..

Add per-test KPI support

tests can now use 'tenv.test().set_kpis(some_dict)' to set any kind of
data as KPIs, which will be presented in the junit report.

The representation of KPIs in the xml file doesn't follow the junit
format, mainly because it has no support for per-test properties.

Change-Id: I00e976f65a202e82d440bf33708f06c8ce2643e2
---
M selftest/report_test/expected_junit_output.xml
M selftest/report_test/report_test.ok
M selftest/report_test/report_test.py
M src/osmo_gsm_tester/core/report.py
M src/osmo_gsm_tester/core/test.py
5 files changed, 98 insertions(+), 3 deletions(-)



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

diff --git a/selftest/report_test/expected_junit_output.xml 
b/selftest/report_test/expected_junit_output.xml
index 5de0edf..9f6185c 100644
--- a/selftest/report_test/expected_junit_output.xml
+++ b/selftest/report_test/expected_junit_output.xml
@@ -1,4 +1,4 @@
-
+
   
 
   test log file not available
@@ -59,4 +59,34 @@
   
 
   
-
+  
+
+  fake_fail_message
+  system stderr fake content
+  
+
+  
+  
+  
+
+  
+
+
+  
+
+
+  
+  test log file not available
+
+
+  
+
+  
+  test log file not available
+
+
+  
+  
+
+  
+
\ No newline at end of file
diff --git a/selftest/report_test/report_test.ok 
b/selftest/report_test/report_test.ok
index 87092ea..442d343 100644
--- a/selftest/report_test/report_test.ok
+++ b/selftest/report_test/report_test.ok
@@ -15,3 +15,5 @@
 tst {combining_scenarios='config'}: DBG: {definition_conf={}}  
[suiteC↪{combining_scenarios='config'}]
 tst suiteD: DBG: {combining='config'}
 tst {combining_scenarios='config'}: DBG: {definition_conf={}}  
[suiteD↪{combining_scenarios='config'}]
+tst suiteE: DBG: {combining='config'}
+tst {combining_scenarios='config'}: DBG: {definition_conf={}}  
[suiteE↪{combining_scenarios='config'}]
diff --git a/selftest/report_test/report_test.py 
b/selftest/report_test/report_test.py
index 57e3a89..5888bf3 100755
--- a/selftest/report_test/report_test.py
+++ b/selftest/report_test/report_test.py
@@ -39,11 +39,13 @@
 self.suite_dir = util.Dir(example_trial_dir).new_child('suitedef' 
+ name)


-def fake_run_test(test_obj, status, duration, sysout=None):
+def fake_run_test(test_obj, status, duration, sysout=None, kpis=None):
 test_obj.status = status
 test_obj.duration = duration
 if sysout is not None:
 test_obj.set_report_stdout(sysout)
+if kpis is not None:
+test_obj.set_kpis(kpis)
 if status == test.Test.FAIL:
 test_obj.fail_type = 'fake_fail_type'
 test_obj.fail_message = 'fake_fail_message'
@@ -92,6 +94,14 @@
 fake_run_test(s.tests[1], test.Test.PASS, 10)
 fake_run_suite(s, 20)

+# Test adding KPIs
+s_def = FakeSuiteDefinition('suiteE', 2)
+s = suite.SuiteRun(trial, s_def.name(), s_def)
+trial.suites.append(s)
+fake_run_test(s.tests[0], test.Test.FAIL, 12, kpis={'ueA': {'kpiA': 30, 
'kpiB': 'foobar', 'yet-another-level': {'foo': 'bar'}}, 'enbD': 
{'foobar-boolean': True }, 'somekpi': 'someval'})
+fake_run_test(s.tests[1], test.Test.PASS, 10, kpis={'abcd': 'abcdval'})
+fake_run_suite(s, 20)
+
 element = report.trial_to_junit(trial)

 def indent(elem, level=0):
@@ -126,6 +136,9 @@
 with open(exp_path, 'r') as f:
 exp = f.read().rstrip()
 udiff(exp, got, exp_path)
+# Uncomment to update exp_path:
+#with open(exp_path, 'w') as f:
+#f.write(got)

 #deleting generated tmp trial dir:
 shutil.rmtree(example_trial_dir, ignore_errors=True)
diff --git a/src/osmo_gsm_tester/core/report.py 
b/src/osmo_gsm_tester/core/report.py
index 5014bf5..d2c68c5 100644
--- a/src/osmo_gsm_tester/core/report.py
+++ b/src/osmo_gsm_tester/core/report.py
@@ -53,6 +53,46 @@
 prop.set('name', 'ref:' + key)
 prop.set('value', val)

+def dict_to_junit(parent, d):
+for key, val in d.items():
+if isinstance(val, dict):
+node = et.SubElement(parent, 'kpi_node')
+node.set('name', key)
+dict_to_junit(node, val)
+continue
+if isinstance(val, (tuple, list)):
+node = et.SubElement(parent, 'kpi_node')
+node.set('name', key)
+list_to_junit(node, val)
+continue
+# scalar:
+node = et.SubElement(parent, 'property')
+node.set('name', key)
+node.set('value', str(val))
+
+def list_to_junit(parent, li):
+for i in range(len(li)):
+if isinstance(li[i], dict):
+node = et.SubElement(parent, 'kpi_node')
+node.set('name', str(i))
+

Change in osmo-gsm-tester[master]: epc: refactor run_wait() method and rename to prepare_proc()

2020-06-15 Thread srs_andre
Hello pespin, Jenkins Builder,

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

https://gerrit.osmocom.org/c/osmo-gsm-tester/+/18789

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

Change subject: epc: refactor run_wait() method and rename to prepare_proc()
..

epc: refactor run_wait() method and rename to prepare_proc()

this refactor no longer enforces blocking operation of the process.
Instead it returns the process object to the caller who
can now run either proc.launch() for non-blocking operation
or proc.launch_sync() for blocking mode.

The non-block mode allos doing other stuff in the background,
for example controlling the rfemu while running a ping.

Change-Id: Ia6372e55a8829f722e40db537d9dfd63a94d1be9
---
M src/osmo_gsm_tester/obj/epc.py
M sysmocom/suites/4g/rrc_idle_mt_ping.py
2 files changed, 6 insertions(+), 4 deletions(-)


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

Gerrit-Project: osmo-gsm-tester
Gerrit-Branch: master
Gerrit-Change-Id: Ia6372e55a8829f722e40db537d9dfd63a94d1be9
Gerrit-Change-Number: 18789
Gerrit-PatchSet: 4
Gerrit-Owner: srs_andre 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: pespin 
Gerrit-Reviewer: srs_andre 
Gerrit-MessageType: newpatchset


Build failure of network:osmocom:nightly/open5gs in Raspbian_10/armv7l

2020-06-15 Thread OBS Notification
Visit 
https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/open5gs/Raspbian_10/armv7l

Package network:osmocom:nightly/open5gs failed to build in Raspbian_10/armv7l

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

Last lines of build log:
[  628s] [1928/2112] cc -Isrc/udr/e340f29@@udr@sta -Isrc/udr -I../src/udr 
-Ilib/app -I../lib/app -Ilib -I../lib -Ilib/core -I../lib/core -Ilib/dbi 
-I../lib/dbi -Ilib/crypt -I../lib/crypt -Ilib/sbi -I../lib/sbi 
-Ilib/sbi/openapi -I../lib/sbi/openapi -I/usr/include/libmongoc-1.0 
-I/usr/include/libbson-1.0 -I/usr/include/p11-kit-1 
-I/usr/include/arm-linux-gnueabihf -fdiagnostics-color=always -pipe 
-D_FILE_OFFSET_BITS=64 -std=gnu89 -Wextra -Wlogical-op 
-Werror=missing-include-dirs -Werror=pointer-arith -Werror=init-self 
-Wfloat-equal -Wsuggest-attribute=noreturn -Werror=missing-prototypes 
-Werror=missing-declarations -Werror=implicit-function-declaration 
-Werror=return-type -Werror=incompatible-pointer-types -Werror=format=2 
-Wstrict-prototypes -Wredundant-decls -Wimplicit-fallthrough=5 -Wendif-labels 
-Wstrict-aliasing=3 -Wwrite-strings -Werror=overflow 
-Werror=shift-count-overflow -Werror=shift-overflow=2 -Wdate-time 
-Wnested-externs -Wunused -Wduplicated-branches -Wmisleading-indentation 
-Wno-sign-compare -Wno-unused-parameter -ffast-math -fdiagnostics-show-option 
-fstack-protector -fstack-protector-strong --param=ssp-buffer-size=4 
-ffunction-sections -fdata-sections -g -O2 
-fdebug-prefix-map=/usr/src/packages/BUILD=. -fstack-protector-strong -Wformat 
-Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread  -MD -MQ 
'src/udr/e340f29@@udr@sta/sbi-path.c.o' -MF 
'src/udr/e340f29@@udr@sta/sbi-path.c.o.d' -o 
'src/udr/e340f29@@udr@sta/sbi-path.c.o' -c ../src/udr/sbi-path.c
[  629s] [1929/2112] cc -Isrc/udr/e340f29@@udr@sta -Isrc/udr -I../src/udr 
-Ilib/app -I../lib/app -Ilib -I../lib -Ilib/core -I../lib/core -Ilib/dbi 
-I../lib/dbi -Ilib/crypt -I../lib/crypt -Ilib/sbi -I../lib/sbi 
-Ilib/sbi/openapi -I../lib/sbi/openapi -I/usr/include/libmongoc-1.0 
-I/usr/include/libbson-1.0 -I/usr/include/p11-kit-1 
-I/usr/include/arm-linux-gnueabihf -fdiagnostics-color=always -pipe 
-D_FILE_OFFSET_BITS=64 -std=gnu89 -Wextra -Wlogical-op 
-Werror=missing-include-dirs -Werror=pointer-arith -Werror=init-self 
-Wfloat-equal -Wsuggest-attribute=noreturn -Werror=missing-prototypes 
-Werror=missing-declarations -Werror=implicit-function-declaration 
-Werror=return-type -Werror=incompatible-pointer-types -Werror=format=2 
-Wstrict-prototypes -Wredundant-decls -Wimplicit-fallthrough=5 -Wendif-labels 
-Wstrict-aliasing=3 -Wwrite-strings -Werror=overflow 
-Werror=shift-count-overflow -Werror=shift-overflow=2 -Wdate-time 
-Wnested-externs -Wunused -Wduplicated-branches -Wmisleading-indentation 
-Wno-sign-compare -Wno-unused-parameter -ffast-math -fdiagnostics-show-option 
-fstack-protector -fstack-protector-strong --param=ssp-buffer-size=4 
-ffunction-sections -fdata-sections -g -O2 
-fdebug-prefix-map=/usr/src/packages/BUILD=. -fstack-protector-strong -Wformat 
-Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread  -MD -MQ 
'src/udr/e340f29@@udr@sta/udr-sm.c.o' -MF 
'src/udr/e340f29@@udr@sta/udr-sm.c.o.d' -o 
'src/udr/e340f29@@udr@sta/udr-sm.c.o' -c ../src/udr/udr-sm.c
[  629s] [1930/2112] cc -Isrc/udr/e340f29@@udr@sta -Isrc/udr -I../src/udr 
-Ilib/app -I../lib/app -Ilib -I../lib -Ilib/core -I../lib/core -Ilib/dbi 
-I../lib/dbi -Ilib/crypt -I../lib/crypt -Ilib/sbi -I../lib/sbi 
-Ilib/sbi/openapi -I../lib/sbi/openapi -I/usr/include/libmongoc-1.0 
-I/usr/include/libbson-1.0 -I/usr/include/p11-kit-1 
-I/usr/include/arm-linux-gnueabihf -fdiagnostics-color=always -pipe 
-D_FILE_OFFSET_BITS=64 -std=gnu89 -Wextra -Wlogical-op 
-Werror=missing-include-dirs -Werror=pointer-arith -Werror=init-self 
-Wfloat-equal -Wsuggest-attribute=noreturn -Werror=missing-prototypes 
-Werror=missing-declarations -Werror=implicit-function-declaration 
-Werror=return-type -Werror=incompatible-pointer-types -Werror=format=2 
-Wstrict-prototypes -Wredundant-decls -Wimplicit-fallthrough=5 -Wendif-labels 
-Wstrict-aliasing=3 -Wwrite-strings -Werror=overflow 
-Werror=shift-count-overflow -Werror=shift-overflow=2 -Wdate-time 
-Wnested-externs -Wunused -Wduplicated-branches -Wmisleading-indentation 
-Wno-sign-compare -Wno-unused-parameter -ffast-math -fdiagnostics-show-option 
-fstack-protector -fstack-protector-strong --param=ssp-buffer-size=4 
-ffunction-sections -fdata-sections -g -O2 
-fdebug-prefix-map=/usr/src/packages/BUILD=. -fstack-protector-strong -Wformat 
-Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread  -MD -MQ 
'src/udr/e340f29@@udr@sta/init.c.o' -MF 'src/udr/e340f29@@udr@sta/init.c.o.d' 
-o 'src/udr/e340f29@@udr@sta/init.c.o' -c ../src/udr/init.c
[  629s] [1931/2112] cc -Isrc/udm/3eca12a@@udm@sta -Isrc/udm -I../src/udm 
-Ilib/app -I../lib/app -Ilib -I../lib -Ilib/core -I../lib/core -Ilib/crypt 

Change in osmo-gsm-tester[master]: selftest: Add test to verify junit xml report

2020-06-15 Thread pespin
Hello Jenkins Builder,

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

https://gerrit.osmocom.org/c/osmo-gsm-tester/+/18825

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

Change subject: selftest: Add test to verify junit xml report
..

selftest: Add test to verify junit xml report

Change-Id: I8cad02abe776cc00b513113dbaf3c948ea7956cd
---
A selftest/report_test/_prep.py
A selftest/report_test/expected_junit_output.xml
A selftest/report_test/main.conf
A selftest/report_test/report_test.err
A selftest/report_test/report_test.ok
A selftest/report_test/report_test.ok.ign
A selftest/report_test/report_test.py
A selftest/report_test/resources.conf
M src/osmo_gsm_tester/core/suite.py
9 files changed, 225 insertions(+), 6 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-gsm-tester 
refs/changes/25/18825/6
--
To view, visit https://gerrit.osmocom.org/c/osmo-gsm-tester/+/18825
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-gsm-tester
Gerrit-Branch: master
Gerrit-Change-Id: I8cad02abe776cc00b513113dbaf3c948ea7956cd
Gerrit-Change-Number: 18825
Gerrit-PatchSet: 6
Gerrit-Owner: pespin 
Gerrit-Reviewer: Jenkins Builder
Gerrit-MessageType: newpatchset


Change in osmo-mgw[master]: endp: move endpoint name generation into mgcp_endp.c

2020-06-15 Thread pespin
pespin has posted comments on this change. ( 
https://gerrit.osmocom.org/c/osmo-mgw/+/18754 )

Change subject: endp: move endpoint name generation into mgcp_endp.c
..


Patch Set 2: Code-Review+1


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

Gerrit-Project: osmo-mgw
Gerrit-Branch: master
Gerrit-Change-Id: I8dee07f1c63037d1f73113f69c612d1f2703cee5
Gerrit-Change-Number: 18754
Gerrit-PatchSet: 2
Gerrit-Owner: dexter 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: neels 
Gerrit-Reviewer: pespin 
Gerrit-Comment-Date: Mon, 15 Jun 2020 14:18:37 +
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment


Change in osmo-mgw[master]: cosmetic: remove excess space

2020-06-15 Thread pespin
pespin has posted comments on this change. ( 
https://gerrit.osmocom.org/c/osmo-mgw/+/18831 )

Change subject: cosmetic: remove excess space
..


Patch Set 1: Code-Review+2


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

Gerrit-Project: osmo-mgw
Gerrit-Branch: master
Gerrit-Change-Id: I3620efea2f809fb822c5b8f0a68036066dc6aa95
Gerrit-Change-Number: 18831
Gerrit-PatchSet: 1
Gerrit-Owner: dexter 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: pespin 
Gerrit-Comment-Date: Mon, 15 Jun 2020 14:18:52 +
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment


Change in osmo-mgw[master]: trunk: parse E1 trunk number

2020-06-15 Thread pespin
pespin has posted comments on this change. ( 
https://gerrit.osmocom.org/c/osmo-mgw/+/18752 )

Change subject: trunk: parse E1 trunk number
..


Patch Set 3:

(1 comment)

https://gerrit.osmocom.org/c/osmo-mgw/+/18752/3/src/libosmo-mgcp/mgcp_trunk.c
File src/libosmo-mgcp/mgcp_trunk.c:

https://gerrit.osmocom.org/c/osmo-mgw/+/18752/3/src/libosmo-mgcp/mgcp_trunk.c@143
PS3, Line 143:  trunk_nr = strtol(epname+prefix_len, NULL, 10);
If you are looking for an unsigned int, then simply use strtoul(). Bear in mind 
checking for successfullnes in this function is a bit tricky. Have a look at 
how it is checked in mgcp_parse_audio_port_pt() to get an idea on how to handle 
it.



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

Gerrit-Project: osmo-mgw
Gerrit-Branch: master
Gerrit-Change-Id: Ifdaab953544151e73b58cc3e95d21afdb40765f4
Gerrit-Change-Number: 18752
Gerrit-PatchSet: 3
Gerrit-Owner: dexter 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: neels 
Gerrit-CC: pespin 
Gerrit-Comment-Date: Mon, 15 Jun 2020 14:17:47 +
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment


Change in osmo-gsm-tester[master]: selftest: Add test to verify junit xml report

2020-06-15 Thread pespin
Hello Jenkins Builder,

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

https://gerrit.osmocom.org/c/osmo-gsm-tester/+/18825

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

Change subject: selftest: Add test to verify junit xml report
..

selftest: Add test to verify junit xml report

Change-Id: I8cad02abe776cc00b513113dbaf3c948ea7956cd
---
A selftest/report_test/_prep.py
A selftest/report_test/expected_junit_output.xml
A selftest/report_test/main.conf
A selftest/report_test/report_test.err
A selftest/report_test/report_test.ok
A selftest/report_test/report_test.py
A selftest/report_test/resources.conf
M src/osmo_gsm_tester/core/suite.py
8 files changed, 222 insertions(+), 6 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-gsm-tester 
refs/changes/25/18825/5
--
To view, visit https://gerrit.osmocom.org/c/osmo-gsm-tester/+/18825
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-gsm-tester
Gerrit-Branch: master
Gerrit-Change-Id: I8cad02abe776cc00b513113dbaf3c948ea7956cd
Gerrit-Change-Number: 18825
Gerrit-PatchSet: 5
Gerrit-Owner: pespin 
Gerrit-Reviewer: Jenkins Builder
Gerrit-MessageType: newpatchset


Change in osmo-bsc[master]: vty: add 'mscpool roundrobin next' for ttcn3 tests

2020-06-15 Thread daniel
daniel has posted comments on this change. ( 
https://gerrit.osmocom.org/c/osmo-bsc/+/18767 )

Change subject: vty: add 'mscpool roundrobin next' for ttcn3 tests
..


Patch Set 5: Code-Review+2


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

Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: I2155d906505a26744966f442ffb1e87a6a9b494c
Gerrit-Change-Number: 18767
Gerrit-PatchSet: 5
Gerrit-Owner: neels 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: daniel 
Gerrit-Reviewer: dexter 
Gerrit-Reviewer: laforge 
Gerrit-Reviewer: neels 
Gerrit-Reviewer: pespin 
Gerrit-Comment-Date: Mon, 15 Jun 2020 14:11:47 +
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment


Change in osmo-bsc[master]: mscpool: add user manual chapter

2020-06-15 Thread daniel
daniel has posted comments on this change. ( 
https://gerrit.osmocom.org/c/osmo-bsc/+/18779 )

Change subject: mscpool: add user manual chapter
..


Patch Set 4:

(1 comment)

https://gerrit.osmocom.org/c/osmo-bsc/+/18779/4/doc/manuals/chapters/mscpool.adoc
File doc/manuals/chapters/mscpool.adoc:

https://gerrit.osmocom.org/c/osmo-bsc/+/18779/4/doc/manuals/chapters/mscpool.adoc@196
PS4, Line 196: new subscribes in OsmoBSC. This can be achieved in the telnet 
VTY by:
subscribers



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

Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: Ia60afc8a91189c9de0d8e8065781ed463bf18d7e
Gerrit-Change-Number: 18779
Gerrit-PatchSet: 4
Gerrit-Owner: neels 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: daniel 
Gerrit-Reviewer: dexter 
Gerrit-Reviewer: laforge 
Gerrit-Reviewer: neels 
Gerrit-Reviewer: pespin 
Gerrit-Comment-Date: Mon, 15 Jun 2020 14:10:40 +
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment


Change in osmo-mgw[master]: trunk: get rid of virt_trunk pointer

2020-06-15 Thread dexter
Hello pespin, neels, laforge, Jenkins Builder,

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

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

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

Change subject: trunk: get rid of virt_trunk pointer
..

trunk: get rid of virt_trunk pointer

The virtual trunk is a pre-configured trunk that always exists. It is
kept separate from the trunk list using a separate pointer. This makes
thinks unecessarly complicated. Lets organize the trunk in the trunk
list like any other trunk, except that we automatically create it on
startup and assign it always the trunk id number 0.

Change-Id: I81934fbd211b225ab7920e78510729c8e22607b3
Related: OS#2659
---
M include/osmocom/mgcp/mgcp.h
M include/osmocom/mgcp/mgcp_trunk.h
M src/libosmo-mgcp/mgcp_osmux.c
M src/libosmo-mgcp/mgcp_protocol.c
M src/libosmo-mgcp/mgcp_trunk.c
M src/libosmo-mgcp/mgcp_vty.c
M tests/mgcp/mgcp_test.c
7 files changed, 155 insertions(+), 105 deletions(-)


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

Gerrit-Project: osmo-mgw
Gerrit-Branch: master
Gerrit-Change-Id: I81934fbd211b225ab7920e78510729c8e22607b3
Gerrit-Change-Number: 18590
Gerrit-PatchSet: 12
Gerrit-Owner: dexter 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge 
Gerrit-Reviewer: neels 
Gerrit-Reviewer: pespin 
Gerrit-MessageType: newpatchset


Change in osmo-mgw[master]: endp: add name generator function for E1 endpoints

2020-06-15 Thread dexter
Hello neels, Jenkins Builder,

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

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

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

Change subject: endp: add name generator function for E1 endpoints
..

endp: add name generator function for E1 endpoints

Currently the endpoint name that is generated for an E1 endpoint is not
correct. Let's add an endpoint name generator function that derives a
full endpoint name for a given E1 index

Change-Id: I70e0c3f96aa3947165f992815ee5614c8f57
Related: OS#2547
---
A include/osmocom/mgcp_client/mgcp_common.h
M src/libosmo-mgcp/mgcp_endp.c
2 files changed, 139 insertions(+), 4 deletions(-)


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

Gerrit-Project: osmo-mgw
Gerrit-Branch: master
Gerrit-Change-Id: I70e0c3f96aa3947165f992815ee5614c8f57
Gerrit-Change-Number: 18745
Gerrit-PatchSet: 5
Gerrit-Owner: dexter 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: dexter 
Gerrit-Reviewer: neels 
Gerrit-CC: pespin 
Gerrit-CC: tnt 
Gerrit-MessageType: newpatchset


Change in osmo-mgw[master]: endp: move endpoint name generation into mgcp_endp.c

2020-06-15 Thread dexter
Hello neels, Jenkins Builder,

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

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

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

Change subject: endp: move endpoint name generation into mgcp_endp.c
..

endp: move endpoint name generation into mgcp_endp.c

When the trunk allocates its endpoints by using mgcp_endp_alloc()
ist passes the name for each endpoint as a parameter. In order to
generate the name endpoint specific knowlege is required.

This process can be simplified, since all what
mgcp_trunk_alloc_endpts() does is calling mgcp_endp_alloc() in a loop in
order to generate a consecuitve series of endpoints. The endpoint names
are generated from the index of the for loop.

When we just pass the index instead of the endpoint name to
mgcp_endp_alloc(), then we can greatly simplify the code since all the
knowledge about the name generation can go into mgcp_endp.c. The
endpoint will name itsself by the trunk properties and the index number
we pass with the allocator function.

Change-Id: I8dee07f1c63037d1f73113f69c612d1f2703cee5
Related: OS#2659
---
M include/osmocom/mgcp/mgcp_endp.h
M src/libosmo-mgcp/mgcp_endp.c
M src/libosmo-mgcp/mgcp_trunk.c
3 files changed, 18 insertions(+), 22 deletions(-)


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

Gerrit-Project: osmo-mgw
Gerrit-Branch: master
Gerrit-Change-Id: I8dee07f1c63037d1f73113f69c612d1f2703cee5
Gerrit-Change-Number: 18754
Gerrit-PatchSet: 2
Gerrit-Owner: dexter 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: neels 
Gerrit-CC: pespin 
Gerrit-MessageType: newpatchset


Change in osmo-mgw[master]: trunk: parse E1 trunk number

2020-06-15 Thread dexter
Hello neels, Jenkins Builder,

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

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

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

Change subject: trunk: parse E1 trunk number
..

trunk: parse E1 trunk number

The E1 trunk number is currently not parsed, whenever a trunk prefix is
detected that indicates an E1 trunk, then the entire request is
rejected.

Parse the trunk number and select the trunk accordingly

Related: OS#2547
Change-Id: Ifdaab953544151e73b58cc3e95d21afdb40765f4
---
M src/libosmo-mgcp/mgcp_trunk.c
1 file changed, 5 insertions(+), 3 deletions(-)


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

Gerrit-Project: osmo-mgw
Gerrit-Branch: master
Gerrit-Change-Id: Ifdaab953544151e73b58cc3e95d21afdb40765f4
Gerrit-Change-Number: 18752
Gerrit-PatchSet: 3
Gerrit-Owner: dexter 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: neels 
Gerrit-CC: pespin 
Gerrit-MessageType: newpatchset


Change in osmo-mgw[master]: cosmetic: remove excess space

2020-06-15 Thread dexter
dexter has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-mgw/+/18831 )


Change subject: cosmetic: remove excess space
..

cosmetic: remove excess space

Change-Id: I3620efea2f809fb822c5b8f0a68036066dc6aa95
---
M src/libosmo-mgcp/mgcp_trunk.c
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-mgw refs/changes/31/18831/1

diff --git a/src/libosmo-mgcp/mgcp_trunk.c b/src/libosmo-mgcp/mgcp_trunk.c
index 07cfd9f..6490ea9 100644
--- a/src/libosmo-mgcp/mgcp_trunk.c
+++ b/src/libosmo-mgcp/mgcp_trunk.c
@@ -148,7 +148,7 @@

prefix_len = sizeof(MGCP_ENDPOINT_PREFIX_VIRTUAL_TRUNK) - 1;
if (strncmp(epname, MGCP_ENDPOINT_PREFIX_VIRTUAL_TRUNK, prefix_len) == 
0) {
-   return  mgcp_trunk_by_num(cfg, MGCP_VIRT_TRUNK_ID);
+   return mgcp_trunk_by_num(cfg, MGCP_VIRT_TRUNK_ID);
}

/* E1 trunks are not implemented yet, so we deny any request for an

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

Gerrit-Project: osmo-mgw
Gerrit-Branch: master
Gerrit-Change-Id: I3620efea2f809fb822c5b8f0a68036066dc6aa95
Gerrit-Change-Number: 18831
Gerrit-PatchSet: 1
Gerrit-Owner: dexter 
Gerrit-MessageType: newchange


Change in osmo-gsm-tester[master]: testenv: Prepend underscor to internal method

2020-06-15 Thread pespin
pespin has submitted this change. ( 
https://gerrit.osmocom.org/c/osmo-gsm-tester/+/18824 )

Change subject: testenv: Prepend underscor to internal method
..

testenv: Prepend underscor to internal method

Change-Id: I2297f4b44d6f0c88409ab6982de4e3640a6a48b2
---
M src/osmo_gsm_tester/testenv.py
1 file changed, 4 insertions(+), 4 deletions(-)

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



diff --git a/src/osmo_gsm_tester/testenv.py b/src/osmo_gsm_tester/testenv.py
index 77d844a..ea71df9 100644
--- a/src/osmo_gsm_tester/testenv.py
+++ b/src/osmo_gsm_tester/testenv.py
@@ -56,7 +56,7 @@
 self.objects_to_clean_up = None
 MainLoop.register_poll_func(self.poll)
 if self._test.timeout is not None: # aimed at firing once
-MainLoop.register_poll_func(self.timeout_expired, 
timestep=self._test.timeout)
+MainLoop.register_poll_func(self._timeout_expired, 
timestep=self._test.timeout)

 def test(self):
 return self._test
@@ -122,9 +122,9 @@
 except Exception:
 log_module.log_exn()

-def timeout_expired(self):
+def _timeout_expired(self):
 # Avoid timeout being called several times:
-MainLoop.unregister_poll_func(self.timeout_expired)
+MainLoop.unregister_poll_func(self._timeout_expired)
 raise log_module.Error('Test Timeout triggered: %d seconds elapsed' % 
self._test.elapsed_time())

 def poll(self):
@@ -146,7 +146,7 @@
 self.objects_cleanup()
 self.suite_run.reserved_resources.put_all()
 MainLoop.unregister_poll_func(self.poll)
-MainLoop.unregister_poll_func(self.timeout_expired)
+MainLoop.unregister_poll_func(self._timeout_expired)
 self.test_import_modules_cleanup()
 self.set_overlay_template_dir(None)


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

Gerrit-Project: osmo-gsm-tester
Gerrit-Branch: master
Gerrit-Change-Id: I2297f4b44d6f0c88409ab6982de4e3640a6a48b2
Gerrit-Change-Number: 18824
Gerrit-PatchSet: 1
Gerrit-Owner: pespin 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: pespin 
Gerrit-MessageType: merged


  1   2   >