Build failure of network:osmocom:nightly/osmo-remsim in Raspbian_10/armv7l
Visit https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/osmo-remsim/Raspbian_10/armv7l Package network:osmocom:nightly/osmo-remsim failed to build in Raspbian_10/armv7l Check out the package for editing: osc checkout network:osmocom:nightly osmo-remsim Last lines of build log: [ 658s] #define HAVE_STDLIB_H 1 [ 658s] #define HAVE_STRING_H 1 [ 658s] #define HAVE_MEMORY_H 1 [ 658s] #define HAVE_STRINGS_H 1 [ 658s] #define HAVE_INTTYPES_H 1 [ 658s] #define HAVE_STDINT_H 1 [ 658s] #define HAVE_UNISTD_H 1 [ 658s] #define HAVE_DLFCN_H 1 [ 658s] #define LT_OBJDIR ".libs/" [ 658s] #define PACKAGE "osmo-remsim" [ 658s] #define VERSION "0.2.2.26-bbd1" [ 658s] #define HAVE_CSV_H 1 [ 658s] [ 658s] configure: exit 1 [ 658s] dh_auto_configure: ./configure --build=arm-linux-gnueabihf --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-silent-rules --libdir=\${prefix}/lib/arm-linux-gnueabihf --libexecdir=\${prefix}/lib/arm-linux-gnueabihf --disable-maintainer-mode --disable-dependency-tracking --with-systemdsystemunitdir=/lib/systemd/system --enable-manuals returned exit code 1 [ 658s] make[1]: *** [debian/rules:15: override_dh_auto_configure] Error 2 [ 658s] make[1]: Leaving directory '/usr/src/packages/BUILD' [ 659s] make: *** [debian/rules:12: build] Error 2 [ 659s] dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2 [ 659s] [ 659s] obs-arm-5 failed "build osmo-remsim_0.2.2.26.bbd1.dsc" at Wed Dec 18 04:32:49 UTC 2019. [ 659s] [ 659s] ### VM INTERACTION START ### [ 661s] [ 615.987464] sysrq: SysRq : Power Off [ 661s] [ 616.009361] reboot: Power down [ 662s] ### VM INTERACTION END ### [ 662s] [ 662s] obs-arm-5 failed "build osmo-remsim_0.2.2.26.bbd1.dsc" at Wed Dec 18 04:32:53 UTC 2019. [ 662s] -- Configure notifications at https://build.opensuse.org/my/notifications openSUSE Build Service (https://build.opensuse.org/)
Build failure of network:osmocom:nightly/osmo-remsim in Debian_10/armv7l
Visit https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/osmo-remsim/Debian_10/armv7l Package network:osmocom:nightly/osmo-remsim failed to build in Debian_10/armv7l Check out the package for editing: osc checkout network:osmocom:nightly osmo-remsim Last lines of build log: [ 612s] #define HAVE_STDLIB_H 1 [ 612s] #define HAVE_STRING_H 1 [ 612s] #define HAVE_MEMORY_H 1 [ 612s] #define HAVE_STRINGS_H 1 [ 612s] #define HAVE_INTTYPES_H 1 [ 612s] #define HAVE_STDINT_H 1 [ 612s] #define HAVE_UNISTD_H 1 [ 612s] #define HAVE_DLFCN_H 1 [ 612s] #define LT_OBJDIR ".libs/" [ 612s] #define PACKAGE "osmo-remsim" [ 612s] #define VERSION "0.2.2.26-bbd1" [ 612s] #define HAVE_CSV_H 1 [ 612s] [ 612s] configure: exit 1 [ 612s] dh_auto_configure: ./configure --build=arm-linux-gnueabihf --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-silent-rules --libdir=\${prefix}/lib/arm-linux-gnueabihf --libexecdir=\${prefix}/lib/arm-linux-gnueabihf --disable-maintainer-mode --disable-dependency-tracking --with-systemdsystemunitdir=/lib/systemd/system --enable-manuals returned exit code 1 [ 612s] make[1]: *** [debian/rules:15: override_dh_auto_configure] Error 2 [ 612s] make[1]: Leaving directory '/usr/src/packages/BUILD' [ 612s] make: *** [debian/rules:12: build] Error 2 [ 612s] dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2 [ 612s] [ 612s] obs-arm-6 failed "build osmo-remsim_0.2.2.26.bbd1.dsc" at Wed Dec 18 04:30:17 UTC 2019. [ 612s] [ 612s] ### VM INTERACTION START ### [ 615s] [ 567.032672] sysrq: SysRq : Power Off [ 615s] [ 567.050798] reboot: Power down [ 616s] ### VM INTERACTION END ### [ 616s] [ 616s] obs-arm-6 failed "build osmo-remsim_0.2.2.26.bbd1.dsc" at Wed Dec 18 04:30:22 UTC 2019. [ 616s] -- Configure notifications at https://build.opensuse.org/my/notifications openSUSE Build Service (https://build.opensuse.org/)
Build failure of network:osmocom:nightly/osmo-remsim in Debian_9.0/armv7l
Visit https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/osmo-remsim/Debian_9.0/armv7l Package network:osmocom:nightly/osmo-remsim failed to build in Debian_9.0/armv7l Check out the package for editing: osc checkout network:osmocom:nightly osmo-remsim Last lines of build log: [ 633s] ac_cv_env_ULFIUS_LIBS_value= [ 633s] ac_cv_env_USB_CFLAGS_set= [ 633s] ac_cv_env_USB_CFLAGS_value= [ 633s] ac_cv_env_USB_LIBS_set= [ 633s] ac_cv_env_USB_LIBS_value= [ 633s] ac_cv_env_build_alias_set=set [ 633s] ac_cv_env_build_alias_value=arm-linux-gnueabihf [ 633s] ac_cv_env_host_alias_set= [ 633s] ac_cv_env_host_alias_value= [ 633s] ac_cv_env_target_alias_set= [ 633s] ac_cv_env_target_alias_value= [ 633s] ac_cv_header_csv_h=yes [ 633s] ac_cv_header_dlfcn_h=yes [ 633s] ac_cv_header_inttypes_h=yes [ 633s] ac_cv_header_memory_h=yes [ 633s] ac_cv_header_stdc=yes [ 633s] ac_cv_header_stdint_h=yes [ 633s] ac_cv_header_stdlib_h=yes [ 633s] ac_cv_header_string_h=yes [ 633s] ac_cv_header_strings_h=yes [ 633s] ac_cv_header_sys_stat_h=yes [ 633s] ac_cv_header_sys_types_h=yes [ 633s] ac_cv_header_unistd_h=yes [ 635s] ac_cv_host=arm-unknown-linux-gnueabi[ 590.137969] sysrq: SysRq : Power Off [ 635s] [ 590.142956] reboot: Power down [ 636s] ### VM INTERACTION END ### [ 636s] [ 636s] armbuild01 failed "build osmo-remsim_0.2.2.26.bbd1.dsc" at Wed Dec 18 04:12:13 UTC 2019. [ 636s] -- Configure notifications at https://build.opensuse.org/my/notifications openSUSE Build Service (https://build.opensuse.org/)
Build failure of network:osmocom:nightly/osmo-remsim in Debian_Unstable/x86_64
Visit https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/osmo-remsim/Debian_Unstable/x86_64 Package network:osmocom:nightly/osmo-remsim failed to build in Debian_Unstable/x86_64 Check out the package for editing: osc checkout network:osmocom:nightly osmo-remsim Last lines of build log: [ 420s] #define HAVE_STDLIB_H 1 [ 420s] #define HAVE_STRING_H 1 [ 420s] #define HAVE_MEMORY_H 1 [ 420s] #define HAVE_STRINGS_H 1 [ 420s] #define HAVE_INTTYPES_H 1 [ 420s] #define HAVE_STDINT_H 1 [ 420s] #define HAVE_UNISTD_H 1 [ 420s] #define HAVE_DLFCN_H 1 [ 420s] #define LT_OBJDIR ".libs/" [ 420s] #define PACKAGE "osmo-remsim" [ 420s] #define VERSION "0.2.2.26-bbd1" [ 420s] #define HAVE_CSV_H 1 [ 420s] [ 420s] configure: exit 1 [ 420s] dh_auto_configure: ./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-silent-rules --libdir=\${prefix}/lib/x86_64-linux-gnu --libexecdir=\${prefix}/lib/x86_64-linux-gnu --disable-maintainer-mode --disable-dependency-tracking --with-systemdsystemunitdir=/lib/systemd/system --enable-manuals returned exit code 1 [ 420s] make[1]: *** [debian/rules:15: override_dh_auto_configure] Error 255 [ 420s] make[1]: Leaving directory '/usr/src/packages/BUILD' [ 420s] make: *** [debian/rules:12: build] Error 2 [ 420s] dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2 [ 420s] [ 420s] lamb20 failed "build osmo-remsim_0.2.2.26.bbd1.dsc" at Wed Dec 18 02:47:49 UTC 2019. [ 420s] [ 420s] ### VM INTERACTION START ### [ 423s] [ 404.381946] sysrq: SysRq : Power Off [ 423s] [ 404.391026] reboot: Power down [ 423s] ### VM INTERACTION END ### [ 423s] [ 423s] lamb20 failed "build osmo-remsim_0.2.2.26.bbd1.dsc" at Wed Dec 18 02:47:53 UTC 2019. [ 423s] -- Configure notifications at https://build.opensuse.org/my/notifications openSUSE Build Service (https://build.opensuse.org/)
Build failure of network:osmocom:nightly/osmo-remsim in Debian_10/x86_64
Visit https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/osmo-remsim/Debian_10/x86_64 Package network:osmocom:nightly/osmo-remsim failed to build in Debian_10/x86_64 Check out the package for editing: osc checkout network:osmocom:nightly osmo-remsim Last lines of build log: [ 738s] #define HAVE_STDLIB_H 1 [ 738s] #define HAVE_STRING_H 1 [ 738s] #define HAVE_MEMORY_H 1 [ 738s] #define HAVE_STRINGS_H 1 [ 738s] #define HAVE_INTTYPES_H 1 [ 738s] #define HAVE_STDINT_H 1 [ 738s] #define HAVE_UNISTD_H 1 [ 738s] #define HAVE_DLFCN_H 1 [ 738s] #define LT_OBJDIR ".libs/" [ 738s] #define PACKAGE "osmo-remsim" [ 738s] #define VERSION "0.2.2.26-bbd1" [ 738s] #define HAVE_CSV_H 1 [ 738s] [ 738s] configure: exit 1 [ 738s] dh_auto_configure: ./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-silent-rules --libdir=\${prefix}/lib/x86_64-linux-gnu --libexecdir=\${prefix}/lib/x86_64-linux-gnu --disable-maintainer-mode --disable-dependency-tracking --with-systemdsystemunitdir=/lib/systemd/system --enable-manuals returned exit code 1 [ 738s] make[1]: *** [debian/rules:15: override_dh_auto_configure] Error 2 [ 738s] make[1]: Leaving directory '/usr/src/packages/BUILD' [ 738s] make: *** [debian/rules:12: build] Error 2 [ 738s] dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2 [ 738s] [ 738s] lamb21 failed "build osmo-remsim_0.2.2.26.bbd1.dsc" at Wed Dec 18 02:11:52 UTC 2019. [ 738s] [ 738s] ### VM INTERACTION START ### [ 741s] [ 703.573061] sysrq: SysRq : Power Off [ 741s] [ 703.578272] reboot: Power down [ 741s] ### VM INTERACTION END ### [ 741s] [ 741s] lamb21 failed "build osmo-remsim_0.2.2.26.bbd1.dsc" at Wed Dec 18 02:11:56 UTC 2019. [ 741s] -- Configure notifications at https://build.opensuse.org/my/notifications openSUSE Build Service (https://build.opensuse.org/)
Build failure of network:osmocom:nightly/osmo-remsim in Debian_Testing/x86_64
Visit https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/osmo-remsim/Debian_Testing/x86_64 Package network:osmocom:nightly/osmo-remsim failed to build in Debian_Testing/x86_64 Check out the package for editing: osc checkout network:osmocom:nightly osmo-remsim Last lines of build log: [ 278s] #define HAVE_STRING_H 1 [ 278s] #define HAVE_MEMORY_H 1 [ 278s] #define HAVE_STRINGS_H 1 [ 278s] #define HAVE_INTTYPES_H 1 [ 278s] #define HAVE_STDINT_H 1 [ 278s] #define HAVE_UNISTD_H 1 [ 278s] #define HAVE_DLFCN_H 1 [ 278s] #define LT_OBJDIR ".libs/" [ 278s] #define PACKAGE "osmo-remsim" [ 278s] #define VERSION "0.2.2.26-bbd1" [ 278s] #define HAVE_CSV_H 1 [ 278s] [ 278s] configure: exit 1 [ 278s] dh_auto_configure: ./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localsta[ 265.741815] serial8250: too much work for irq4 [ 278s] tedir=/var --disable-silent-rules --libdir=\${prefix}/lib/x86_64-linux-gnu --libexecdir=\${prefix}/lib/x86_64-linux-gnu --disable-maintainer-mode --disable-dependency-tracking --with-systemdsystemunitdir=/lib/systemd/system --enable-manuals returned exit code 1 [ 278s] make[1]: *** [debian/rules:15: override_dh_auto_configure] Error 255 [ 278s] make[1]: Leaving directory '/usr/src/packages/BUILD' [ 278s] make: *** [debian/rules:12: build] Error 2 [ 278s] dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2 [ 278s] [ 278s] sheep82 failed "build osmo-remsim_0.2.2.26.bbd1.dsc" at Wed Dec 18 02:12:02 UTC 2019. [ 278s] [ 278s] ### VM INTERACTION START ### [ 281s] [ 269.026889] sysrq: SysRq : Power Off [ 281s] [ 269.036191] reboot: Power down [ 281s] ### VM INTERACTION END ### [ 281s] [ 281s] sheep82 failed "build osmo-remsim_0.2.2.26.bbd1.dsc" at Wed Dec 18 02:12:06 UTC 2019. [ 281s] -- Configure notifications at https://build.opensuse.org/my/notifications openSUSE Build Service (https://build.opensuse.org/)
Build failure of network:osmocom:nightly/osmo-remsim in xUbuntu_18.10/x86_64
Visit https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/osmo-remsim/xUbuntu_18.10/x86_64 Package network:osmocom:nightly/osmo-remsim failed to build in xUbuntu_18.10/x86_64 Check out the package for editing: osc checkout network:osmocom:nightly osmo-remsim Last lines of build log: [ 526s] #define HAVE_STRING_H 1 [ 526s] #define HAVE_MEMORY_H 1 [ 526s] #define HAVE_STRINGS_H 1 [ 526s] #define HAVE_INTTYPES_H 1 [ 526s] #define HAVE_STDINT_H 1 [ 526s] #define HAVE_UNISTD_H 1 [ 526s] #define HAVE_DLFCN_H 1 [ 526s] #define LT_OBJDIR ".libs/" [ 526s] #define PACKAGE "osmo-remsim" [ 526s] #define VERSION "0.2.2.26-bbd1" [ 526s] #define HAVE_CSV_H 1 [ 526s] [ 526s] configure: exit 1 [ 526s] dh_auto_configure: ./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-silent-rules --libdir=\${prefix}/lib/x86_64-linux-gnu --libexecdir=\${prefix}/lib/x86_64-linux-gnu --disable-maintainer-mode --disable-dependency-tracking --with-systemdsystemunitdir=/lib/systemd/system --enable-manuals returned exit code 1 [ 526s] make[1]: *** [debian/rules:15: override_dh_auto_c[ 495.668172] serial8250: too much work for irq4 [ 526s] onfigure] Error 2 [ 526s] make[1]: Leaving directory '/usr/src/packages/BUILD' [ 526s] make: *** [debian/rules:12: build] Error 2 [ 526s] dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2 [ 526s] [ 526s] build30 failed "build osmo-remsim_0.2.2.26.bbd1.dsc" at Wed Dec 18 02:08:18 UTC 2019. [ 526s] [ 526s] ### VM INTERACTION START ### [ 529s] [ 498.848403] sysrq: SysRq : Power Off [ 529s] [ 498.853038] reboot: Power down [ 530s] ### VM INTERACTION END ### [ 530s] [ 530s] build30 failed "build osmo-remsim_0.2.2.26.bbd1.dsc" at Wed Dec 18 02:08:22 UTC 2019. [ 530s] -- Configure notifications at https://build.opensuse.org/my/notifications openSUSE Build Service (https://build.opensuse.org/)
Build failure of network:osmocom:nightly/osmo-remsim in Debian_9.0/x86_64
Visit https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/osmo-remsim/Debian_9.0/x86_64 Package network:osmocom:nightly/osmo-remsim failed to build in Debian_9.0/x86_64 Check out the package for editing: osc checkout network:osmocom:nightly osmo-remsim Last lines of build log: [ 205s] #define HAVE_MEMORY_H 1 [ 205s] #define HAVE_STRINGS_H 1 [ 205s] #define HAVE_INTTYPES_H 1 [ 205s] #define HAVE_STDINT_H 1 [ 205s] #define HAVE_UNISTD_H 1 [ 205s] #define HAVE_DLFCN_H 1 [ 205s] #define LT_OBJDIR ".libs/" [ 205s] #define PACKAGE "osmo-remsim" [ 205s] #define VERSION "0.2.2.26-bbd1" [ 205s] #define HAVE_CSV_H 1 [ 205s] [ 205s] configure: exit 1 [ 205s] dh_auto_configure: ./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=${prefix}/include --mandir=${prefix}/share/man --infodir=${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-silent-rules --libdir=${prefix}/lib/x86_64-linux-gnu --libexecdir=${prefix}/lib/x86_64-linux-gnu --disable-maintainer-mode --disable-dependency-tracking --with-systemdsystemunitdir=/lib/systemd/system --enable-manuals returned exit code 1 [ 205s] debian/rules:15: recipe for target 'override_dh_auto_configure' failed [ 205s] make[1]: *** [override_dh_auto_configure] Error 2 [ 205s] make[1]: Leaving directory '/usr/src/packages/BUILD' [ 205s] debian/rules:12: recipe for target 'build' failed [ 205s] make: *** [build] Error 2 [ 205s] dpkg-buildpackage: error: debian/rules build gave error exit status 2 [ 205s] [ 205s] build35 failed "build osmo-remsim_0.2.2.26.bbd1.dsc" at Wed Dec 18 02:08:46 UTC 2019. [ 205s] [ 205s] ### VM INTERACTION START ### [ 209s] [ 192.098978] sysrq: SysRq : Power Off [ 209s] [ 192.103323] reboot: Power down [ 209s] ### VM INTERACTION END ### [ 209s] [ 209s] build35 failed "build osmo-remsim_0.2.2.26.bbd1.dsc" at Wed Dec 18 02:08:50 UTC 2019. [ 209s] -- Configure notifications at https://build.opensuse.org/my/notifications openSUSE Build Service (https://build.opensuse.org/)
Build failure of network:osmocom:nightly/osmo-remsim in xUbuntu_18.04/x86_64
Visit https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/osmo-remsim/xUbuntu_18.04/x86_64 Package network:osmocom:nightly/osmo-remsim failed to build in xUbuntu_18.04/x86_64 Check out the package for editing: osc checkout network:osmocom:nightly osmo-remsim Last lines of build log: [ 305s] #define HAVE_MEMORY_H 1 [ 305s] #define HAVE_STRINGS_H 1 [ 305s] #define HAVE_INTTYPES_H 1 [ 305s] #define HAVE_STDINT_H 1 [ 305s] #define HAVE_UNISTD_H 1 [ 305s] #define HAVE_DLFCN_H 1 [ 305s] #define LT_OBJDIR ".libs/" [ 305s] #define PACKAGE "osmo-remsim" [ 305s] #define VERSION "0.2.2.26-bbd1" [ 305s] #define HAVE_CSV_H 1 [ 305s] [ 305s] configure: exit 1 [ 305s] dh_auto_configure: ./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-silent-rules --libdir=\${prefix}/lib/x86_64-linux-gnu --libexecdir=\${prefix}/lib/x86_64-linux-gnu --disable-maintainer-mode --disable-dependency-tracking --with-systemdsystemunitdir=/lib/systemd/system --enable-manuals returned exit code 1 [ 305s] debian/rules:15: recipe for target 'override_dh_auto_configure' failed [ 305s] make[1]: *** [override_dh_auto_configure] Error 2 [ 305s] make[1]: Leaving directory '/usr/src/packages/BUILD' [ 305s] debian/rules:12: recipe for target 'build' failed [ 305s] make: *** [build] Error 2 [ 305s] dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2 [ 305s] [ 305s] cloud106 failed "build osmo-remsim_0.2.2.26.bbd1.dsc" at Wed Dec 18 02:04:30 UTC 2019. [ 305s] [ 305s] ### VM INTERACTION START ### [ 309s] [ 286.214670] sysrq: SysRq : Power Off [ 309s] [ 286.230033] reboot: Power down [ 309s] ### VM INTERACTION END ### [ 309s] [ 309s] cloud106 failed "build osmo-remsim_0.2.2.26.bbd1.dsc" at Wed Dec 18 02:04:33 UTC 2019. [ 309s] -- Configure notifications at https://build.opensuse.org/my/notifications openSUSE Build Service (https://build.opensuse.org/)
Build failure of network:osmocom:nightly/osmo-remsim in xUbuntu_19.04/x86_64
Visit https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/osmo-remsim/xUbuntu_19.04/x86_64 Package network:osmocom:nightly/osmo-remsim failed to build in xUbuntu_19.04/x86_64 Check out the package for editing: osc checkout network:osmocom:nightly osmo-remsim Last lines of build log: [ 296s] #define HAVE_STDLIB_H 1 [ 296s] #define HAVE_STRING_H 1 [ 296s] #define HAVE_MEMORY_H 1 [ 296s] #define HAVE_STRINGS_H 1 [ 296s] #define HAVE_INTTYPES_H 1 [ 296s] #define HAVE_STDINT_H 1 [ 296s] #define HAVE_UNISTD_H 1 [ 296s] #define HAVE_DLFCN_H 1 [ 296s] #define LT_OBJDIR ".libs/" [ 296s] #define PACKAGE "osmo-remsim" [ 296s] #define VERSION "0.2.2.26-bbd1" [ 296s] #define HAVE_CSV_H 1 [ 296s] [ 296s] configure: exit 1 [ 296s] dh_auto_configure: ./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-silent-rules --libdir=\${prefix}/lib/x86_64-linux-gnu --libexecdir=\${prefix}/lib/x86_64-linux-gnu --disable-maintainer-mode --disable-dependency-tracking --with-systemdsystemunitdir=/lib/systemd/system --enable-manuals returned exit code 1 [ 296s] make[1]: *** [debian/rules:15: override_dh_auto_configure] Error 2 [ 296s] make[1]: Leaving directory '/usr/src/packages/BUILD' [ 296s] make: *** [debian/rules:12: build] Error 2 [ 296s] dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2 [ 296s] [ 296s] build84 failed "build osmo-remsim_0.2.2.26.bbd1.dsc" at Wed Dec 18 02:04:13 UTC 2019. [ 296s] [ 296s] ### VM INTERACTION START ### [ 299s] [ 286.671738] sysrq: SysRq : Power Off [ 299s] [ 286.674213] reboot: Power down [ 299s] ### VM INTERACTION END ### [ 299s] [ 299s] build84 failed "build osmo-remsim_0.2.2.26.bbd1.dsc" at Wed Dec 18 02:04:17 UTC 2019. [ 299s] -- Configure notifications at https://build.opensuse.org/my/notifications openSUSE Build Service (https://build.opensuse.org/)
Build failure of network:osmocom:nightly/osmo-remsim in xUbuntu_18.04/i586
Visit https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/osmo-remsim/xUbuntu_18.04/i586 Package network:osmocom:nightly/osmo-remsim failed to build in xUbuntu_18.04/i586 Check out the package for editing: osc checkout network:osmocom:nightly osmo-remsim Last lines of build log: [ 518s] #define HAVE_MEMORY_H 1 [ 518s] #define HAVE_STRINGS_H 1 [ 518s] #define HAVE_INTTYPES_H 1 [ 518s] #define HAVE_STDINT_H 1 [ 518s] #define HAVE_UNISTD_H 1 [ 518s] #define HAVE_DLFCN_H 1 [ 518s] #define LT_OBJDIR ".libs/" [ 518s] #define PACKAGE "osmo-remsim" [ 518s] #define VERSION "0.2.2.26-bbd1" [ 518s] #define HAVE_CSV_H 1 [ 518s] [ 518s] configure: exit 1 [ 518s] dh_auto_configure: ./configure --build=i686-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-silent-rules --libdir=\${prefix}/lib/i386-linux-gnu --libexecdir=\${prefix}/lib/i386-linux-gnu --disable-maintainer-mode --disable-dependency-tracking --with-systemdsystemunitdir=/lib/systemd/system --enable-manuals returned exit code 1 [ 518s] debian/rules:15: recipe for target 'override_dh_auto_configure' failed [ 518s] make[1]: *** [override_dh_auto_configure] Error 2 [ 518s] make[1]: Leaving directory '/usr/src/packages/BUILD' [ 518s] debian/rules:12: recipe for target 'build' failed [ 518s] make: *** [build] Error 2 [ 518s] dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2 [ 518s] [ 518s] lamb60 failed "build osmo-remsim_0.2.2.26.bbd1.dsc" at Wed Dec 18 01:59:54 UTC 2019. [ 518s] [ 518s] ### VM INTERACTION START ### [ 521s] [ 472.339146] sysrq: SysRq : Power Off [ 521s] [ 472.345258] reboot: Power down [ 521s] ### VM INTERACTION END ### [ 521s] [ 521s] lamb60 failed "build osmo-remsim_0.2.2.26.bbd1.dsc" at Wed Dec 18 01:59:58 UTC 2019. [ 521s] -- Configure notifications at https://build.opensuse.org/my/notifications openSUSE Build Service (https://build.opensuse.org/)
Build failure of network:osmocom:nightly/osmo-remsim in xUbuntu_18.10/i586
Visit https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/osmo-remsim/xUbuntu_18.10/i586 Package network:osmocom:nightly/osmo-remsim failed to build in xUbuntu_18.10/i586 Check out the package for editing: osc checkout network:osmocom:nightly osmo-remsim Last lines of build log: [ 390s] #define HAVE_STDLIB_H 1 [ 390s] #define HAVE_STRING_H 1 [ 390s] #define HAVE_MEMORY_H 1 [ 390s] #define HAVE_STRINGS_H 1 [ 390s] #define HAVE_INTTYPES_H 1 [ 390s] #define HAVE_STDINT_H 1 [ 390s] #define HAVE_UNISTD_H 1 [ 390s] #define HAVE_DLFCN_H 1 [ 390s] #define LT_OBJDIR ".libs/" [ 390s] #define PACKAGE "osmo-remsim" [ 390s] #define VERSION "0.2.2.26-bbd1" [ 390s] #define HAVE_CSV_H 1 [ 390s] [ 390s] configure: exit 1 [ 390s] dh_auto_configure: ./configure --build=i686-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-silent-rules --libdir=\${prefix}/lib/i386-linux-gnu --libexecdir=\${prefix}/lib/i386-linux-gnu --disable-maintainer-mode --disable-dependency-tracking --with-systemdsystemunitdir=/lib/systemd/system --enable-manuals returned exit code 1 [ 390s] make[1]: *** [debian/rules:15: override_dh_auto_configure] Error 2 [ 390s] make[1]: Leaving directory '/usr/src/packages/BUILD' [ 390s] make: *** [debian/rules:12: build] Error 2 [ 390s] dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2 [ 390s] [ 390s] lamb54 failed "build osmo-remsim_0.2.2.26.bbd1.dsc" at Wed Dec 18 01:59:07 UTC 2019. [ 390s] [ 390s] ### VM INTERACTION START ### [ 393s] [ 374.851262] sysrq: SysRq : Power Off [ 393s] [ 374.857048] reboot: Power down [ 393s] ### VM INTERACTION END ### [ 393s] [ 393s] lamb54 failed "build osmo-remsim_0.2.2.26.bbd1.dsc" at Wed Dec 18 01:59:10 UTC 2019. [ 393s] -- Configure notifications at https://build.opensuse.org/my/notifications openSUSE Build Service (https://build.opensuse.org/)
Build failure of network:osmocom:nightly/osmo-remsim in xUbuntu_19.10/x86_64
Visit https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/osmo-remsim/xUbuntu_19.10/x86_64 Package network:osmocom:nightly/osmo-remsim failed to build in xUbuntu_19.10/x86_64 Check out the package for editing: osc checkout network:osmocom:nightly osmo-remsim Last lines of build log: [ 419s] #define HAVE_STDLIB_H 1 [ 419s] #define HAVE_STRING_H 1 [ 419s] #define HAVE_MEMORY_H 1 [ 419s] #define HAVE_STRINGS_H 1 [ 419s] #define HAVE_INTTYPES_H 1 [ 419s] #define HAVE_STDINT_H 1 [ 419s] #define HAVE_UNISTD_H 1 [ 419s] #define HAVE_DLFCN_H 1 [ 419s] #define LT_OBJDIR ".libs/" [ 419s] #define PACKAGE "osmo-remsim" [ 419s] #define VERSION "0.2.2.26-bbd1" [ 419s] #define HAVE_CSV_H 1 [ 419s] [ 419s] configure: exit 1 [ 419s] dh_auto_configure: ./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-silent-rules --libdir=\${prefix}/lib/x86_64-linux-gnu --libexecdir=\${prefix}/lib/x86_64-linux-gnu --disable-maintainer-mode --disable-dependency-tracking --with-systemdsystemunitdir=/lib/systemd/system --enable-manuals returned exit code 1 [ 419s] make[1]: *** [debian/rules:15: override_dh_auto_configure] Error 255 [ 419s] make[1]: Leaving directory '/usr/src/packages/BUILD' [ 419s] make: *** [debian/rules:12: build] Error 2 [ 419s] dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2 [ 419s] [ 419s] lamb28 failed "build osmo-remsim_0.2.2.26.bbd1.dsc" at Wed Dec 18 01:57:52 UTC 2019. [ 419s] [ 419s] ### VM INTERACTION START ### [ 423s] [ 403.994766] sysrq: SysRq : Power Off [ 423s] [ 404.006106] reboot: Power down [ 423s] ### VM INTERACTION END ### [ 423s] [ 423s] lamb28 failed "build osmo-remsim_0.2.2.26.bbd1.dsc" at Wed Dec 18 01:57:57 UTC 2019. [ 423s] -- Configure notifications at https://build.opensuse.org/my/notifications openSUSE Build Service (https://build.opensuse.org/)
Build failure of network:osmocom:nightly/osmo-remsim in Debian_10/i586
Visit https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/osmo-remsim/Debian_10/i586 Package network:osmocom:nightly/osmo-remsim failed to build in Debian_10/i586 Check out the package for editing: osc checkout network:osmocom:nightly osmo-remsim Last lines of build log: [ 192s] #define HAVE_STDLIB_H 1 [ 192s] #define HAVE_STRING_H 1 [ 192s] #define HAVE_MEMORY_H 1 [ 192s] #define HAVE_STRINGS_H 1 [ 192s] #define HAVE_INTTYPES_H 1 [ 192s] #define HAVE_STDINT_H 1 [ 192s] #define HAVE_UNISTD_H 1 [ 192s] #define HAVE_DLFCN_H 1 [ 192s] #define LT_OBJDIR ".libs/" [ 192s] #define PACKAGE "osmo-remsim" [ 192s] #define VERSION "0.2.2.26-bbd1" [ 192s] #define HAVE_CSV_H 1 [ 192s] [ 192s] configure: exit 1 [ 192s] dh_auto_configure: ./configure --build=i686-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-silent-rules --libdir=\${prefix}/lib/i386-linux-gnu --libexecdir=\${prefix}/lib/i386-linux-gnu --disable-maintainer-mode --disable-dependency-tracking --with-systemdsystemunitdir=/lib/systemd/system --enable-manuals returned exit code 1 [ 192s] make[1]: *** [debian/rules:15: override_dh_auto_configure] Error 2 [ 192s] make[1]: Leaving directory '/usr/src/packages/BUILD' [ 192s] make: *** [debian/rules:12: build] Error 2 [ 192s] dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2 [ 192s] [ 192s] build72 failed "build osmo-remsim_0.2.2.26.bbd1.dsc" at Wed Dec 18 01:56:19 UTC 2019. [ 192s] [ 192s] ### VM INTERACTION START ### [ 195s] [ 184.194350] sysrq: SysRq : Power Off [ 195s] [ 184.196804] reboot: Power down [ 195s] ### VM INTERACTION END ### [ 195s] [ 195s] build72 failed "build osmo-remsim_0.2.2.26.bbd1.dsc" at Wed Dec 18 01:56:22 UTC 2019. [ 195s] -- Configure notifications at https://build.opensuse.org/my/notifications openSUSE Build Service (https://build.opensuse.org/)
Build failure of network:osmocom:nightly/osmo-remsim in Debian_10/aarch64
Visit https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/osmo-remsim/Debian_10/aarch64 Package network:osmocom:nightly/osmo-remsim failed to build in Debian_10/aarch64 Check out the package for editing: osc checkout network:osmocom:nightly osmo-remsim Last lines of build log: [ 258s] #define HAVE_STDLIB_H 1 [ 258s] #define HAVE_STRING_H 1 [ 258s] #define HAVE_MEMORY_H 1 [ 258s] #define HAVE_STRINGS_H 1 [ 258s] #define HAVE_INTTYPES_H 1 [ 258s] #define HAVE_STDINT_H 1 [ 258s] #define HAVE_UNISTD_H 1 [ 258s] #define HAVE_DLFCN_H 1 [ 258s] #define LT_OBJDIR ".libs/" [ 258s] #define PACKAGE "osmo-remsim" [ 258s] #define VERSION "0.2.2.26-bbd1" [ 258s] #define HAVE_CSV_H 1 [ 258s] [ 258s] configure: exit 1 [ 258s] dh_auto_configure: ./configure --build=aarch64-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-silent-rules --libdir=\${prefix}/lib/aarch64-linux-gnu --libexecdir=\${prefix}/lib/aarch64-linux-gnu --disable-maintainer-mode --disable-dependency-tracking --with-systemdsystemunitdir=/lib/systemd/system --enable-manuals returned exit code 1 [ 258s] make[1]: *** [debian/rules:15: override_dh_auto_configure] Error 2 [ 258s] make[1]: Leaving directory '/usr/src/packages/BUILD' [ 258s] make: *** [debian/rules:12: build] Error 2 [ 258s] dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2 [ 258s] [ 258s] obs-arm-7 failed "build osmo-remsim_0.2.2.26.bbd1.dsc" at Wed Dec 18 01:51:06 UTC 2019. [ 258s] [ 258s] ### VM INTERACTION START ### [ 260s] [ 245.649333] sysrq: Power Off [ 260s] [ 245.698287] reboot: Power down [ 261s] ### VM INTERACTION END ### [ 261s] [ 261s] obs-arm-7 failed "build osmo-remsim_0.2.2.26.bbd1.dsc" at Wed Dec 18 01:51:10 UTC 2019. [ 261s] -- Configure notifications at https://build.opensuse.org/my/notifications openSUSE Build Service (https://build.opensuse.org/)
Build failure of network:osmocom:nightly/osmo-remsim in Debian_9.0/i586
Visit https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/osmo-remsim/Debian_9.0/i586 Package network:osmocom:nightly/osmo-remsim failed to build in Debian_9.0/i586 Check out the package for editing: osc checkout network:osmocom:nightly osmo-remsim Last lines of build log: [ 250s] #define HAVE_MEMORY_H 1 [ 250s] #define HAVE_STRINGS_H 1 [ 250s] #define HAVE_INTTYPES_H 1 [ 250s] #define HAVE_STDINT_H 1 [ 250s] #define HAVE_UNISTD_H 1 [ 250s] #define HAVE_DLFCN_H 1 [ 250s] #define LT_OBJDIR ".libs/" [ 250s] #define PACKAGE "osmo-remsim" [ 250s] #define VERSION "0.2.2.26-bbd1" [ 250s] #define HAVE_CSV_H 1 [ 250s] [ 250s] configure: exit 1 [ 250s] dh_auto_configure: ./configure --build=i686-linux-gnu --prefix=/usr --includedir=${prefix}/include --mandir=${prefix}/share/man --infodir=${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-silent-rules --libdir=${prefix}/lib/i386-linux-gnu --libexecdir=${prefix}/lib/i386-linux-gnu --disable-maintainer-mode --disable-dependency-tracking --with-systemdsystemunitdir=/lib/systemd/system --enable-manuals returned exit code 1 [ 250s] debian/rules:15: recipe for target 'override_dh_auto_configure' failed [ 250s] make[1]: *** [override_dh_auto_configure] Error 2 [ 250s] make[1]: Leaving directory '/usr/src/packages/BUILD' [ 250s] debian/rules:12: recipe for target 'build' failed [ 250s] make: *** [build] Error 2 [ 250s] dpkg-buildpackage: error: debian/rules build gave error exit status 2 [ 250s] [ 250s] lamb15 failed "build osmo-remsim_0.2.2.26.bbd1.dsc" at Wed Dec 18 01:49:18 UTC 2019. [ 250s] [ 250s] ### VM INTERACTION START ### [ 253s] [ 236.417516] sysrq: SysRq : Power Off [ 253s] [ 236.428448] reboot: Power down [ 253s] ### VM INTERACTION END ### [ 253s] [ 253s] lamb15 failed "build osmo-remsim_0.2.2.26.bbd1.dsc" at Wed Dec 18 01:49:22 UTC 2019. [ 253s] -- Configure notifications at https://build.opensuse.org/my/notifications openSUSE Build Service (https://build.opensuse.org/)
Build failure of network:osmocom:nightly/osmo-remsim in Debian_9.0/aarch64
Visit https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/osmo-remsim/Debian_9.0/aarch64 Package network:osmocom:nightly/osmo-remsim failed to build in Debian_9.0/aarch64 Check out the package for editing: osc checkout network:osmocom:nightly osmo-remsim Last lines of build log: [ 383s] configure:12599: $? = 1 [ 383s] configure:12588: gcc -qversion >&5 [ 383s] gcc: error: unrecognized command line option '-qversion'; did you mean '--version'? [ 383s] gcc: fatal error: no input files [ 383s] compilation terminated. [ 383s] configure:12599: $? = 1 [ 383s] configure:12603: checking whether we are using the GNU C compiler [ 383s] configure:12631: result: yes [ 383s] configure:12640: checking whether gcc accepts -g [ 383s] configure:12701: result: yes [ 383s] configure:12718: checking for gcc option to accept ISO C89 [ 383s] configure:12794: result: none needed [ 383s] configure:12819: checking whether gcc understands -c and -o together [ 383s] configure:12856: result: yes [ 383s] configure:12877: checking for pkg-config [ 383s] configure:12895: found /usr/bin/pkg-config [ 383s] configure:12908: result: /usr/bin/pkg-config [ 383s] configure:12974: checking for pkg-config [ 383s] configure:12992: found /usr/bin/pkg-config [ 383s] configure:13004: result: /usr/bin/pkg-config [ 383s] configure:13029: checking pkg-config is at least version 0.20 [ 383s] configure:13032: result: yes [ 383s] configure:13041: checking for csv_init in -lcsv [ 385s] configure:13066: gcc -o conftest -g -O2 -fdebug-prefix-map=/usr/src/packages/BUILD=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTI[ 357.365859] sysrq: SysRq : Power Off [ 385s] [ 357.369353] reboot: Power down [ 385s] ### VM INTERACTION END ### [ 385s] [ 385s] obs-arm-4 failed "build osmo-remsim_0.2.2.26.bbd1.dsc" at Wed Dec 18 01:47:16 UTC 2019. [ 385s] -- Configure notifications at https://build.opensuse.org/my/notifications openSUSE Build Service (https://build.opensuse.org/)
Build failure of network:osmocom:nightly/osmo-remsim in Debian_9.0/armv7l
Visit https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/osmo-remsim/Debian_9.0/armv7l Package network:osmocom:nightly/osmo-remsim failed to build in Debian_9.0/armv7l Check out the package for editing: osc checkout network:osmocom:nightly osmo-remsim Last lines of build log: [ 509s] am__nodep='' [ 509s] am__quote='' [ 509s] am__tar='tar --format=ustar -chf - "$$tardir"' [ 509s] am__untar='tar -xf -' [ 509s] bindir='${exec_prefix}/bin' [ 509s] build='arm-unknown-linux-gnueabihf' [ 509s] build_alias='arm-linux-gnueabihf' [ 509s] build_cpu='arm' [ 509s] build_os='linux-gnueabihf' [ 509s] build_vendor='unknown' [ 509s] datadir='${datarootdir}' [ 509s] datarootdir='${prefix}/share' [ 509s] docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' [ 509s] dvidir='${docdir}' [ 509s] exec_prefix='NONE' [ 509s] host='arm-unknown-linux-gnueabihf' [ 509s] host_alias='' [ 509s] host_cpu='arm' [ 509s] host_os='linux-gnueabihf' [ 509s] host_vendor='unknown' [ 509s] htmldir='${docdir}' [ 509s] includedir='${prefix}/include' [ 509s] infodir='${prefix}/share/info' [ 511s] install_sh='${SHELL} /usr/sr[ 471.893209] sysrq: SysRq : Power Off [ 511s] [ 471.895829] reboot: Power down [ 511s] ### VM INTERACTION END ### [ 511s] [ 511s] armbuild02 failed "build osmo-remsim_0.2.2.26.bbd1.dsc" at Tue Dec 17 20:38:46 UTC 2019. [ 511s] -- Configure notifications at https://build.opensuse.org/my/notifications openSUSE Build Service (https://build.opensuse.org/)
Build failure of network:osmocom:nightly/osmo-remsim in Debian_10/armv7l
Visit https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/osmo-remsim/Debian_10/armv7l Package network:osmocom:nightly/osmo-remsim failed to build in Debian_10/armv7l Check out the package for editing: osc checkout network:osmocom:nightly osmo-remsim Last lines of build log: [ 666s] #define HAVE_STDLIB_H 1 [ 666s] #define HAVE_STRING_H 1 [ 666s] #define HAVE_MEMORY_H 1 [ 666s] #define HAVE_STRINGS_H 1 [ 666s] #define HAVE_INTTYPES_H 1 [ 666s] #define HAVE_STDINT_H 1 [ 666s] #define HAVE_UNISTD_H 1 [ 666s] #define HAVE_DLFCN_H 1 [ 666s] #define LT_OBJDIR ".libs/" [ 666s] #define PACKAGE "osmo-remsim" [ 666s] #define VERSION "0.2.2.26-bbd1" [ 666s] #define HAVE_CSV_H 1 [ 666s] [ 666s] configure: exit 1 [ 666s] dh_auto_configure: ./configure --build=arm-linux-gnueabihf --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-silent-rules --libdir=\${prefix}/lib/arm-linux-gnueabihf --libexecdir=\${prefix}/lib/arm-linux-gnueabihf --disable-maintainer-mode --disable-dependency-tracking --with-systemdsystemunitdir=/lib/systemd/system --enable-manuals returned exit code 1 [ 666s] make[1]: *** [debian/rules:15: override_dh_auto_configure] Error 2 [ 666s] make[1]: Leaving directory '/usr/src/packages/BUILD' [ 666s] make: *** [debian/rules:12: build] Error 2 [ 666s] dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2 [ 666s] [ 666s] obs-arm-6 failed "build osmo-remsim_0.2.2.26.bbd1.dsc" at Tue Dec 17 20:21:24 UTC 2019. [ 666s] [ 666s] ### VM INTERACTION START ### [ 669s] [ 624.972550] sysrq: SysRq : Power Off [ 669s] [ 625.002144] reboot: Power down [ 670s] ### VM INTERACTION END ### [ 670s] [ 670s] obs-arm-6 failed "build osmo-remsim_0.2.2.26.bbd1.dsc" at Tue Dec 17 20:21:29 UTC 2019. [ 670s] -- Configure notifications at https://build.opensuse.org/my/notifications openSUSE Build Service (https://build.opensuse.org/)
Build failure of network:osmocom:nightly/osmo-remsim in Raspbian_10/armv7l
Visit https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/osmo-remsim/Raspbian_10/armv7l Package network:osmocom:nightly/osmo-remsim failed to build in Raspbian_10/armv7l Check out the package for editing: osc checkout network:osmocom:nightly osmo-remsim Last lines of build log: [ 733s] compilation terminated. [ 733s] configure:9320: $? = 1 [ 733s] configure:9324: checking whether we are using the GNU C compiler [ 733s] configure:9352: result: yes [ 733s] configure:9361: checking whether gcc accepts -g [ 733s] configure:9422: result: yes [ 733s] configure:9439: checking for gcc option to accept ISO C89 [ 733s] configure:9515: result: none needed [ 733s] configure:9540: checking whether gcc understands -c and -o together [ 733s] configure:9577: result: yes [ 733s] configure:9598: checking for pkg-config [ 733s] configure:9616: found /usr/bin/pkg-config [ 733s] configure:9629: result: /usr/bin/pkg-config [ 733s] configure:9695: checking for pkg-config [ 733s] configure:9713: found /usr/bin/pkg-config [ 733s] configure:9725: result: /usr/bin/pkg-config [ 733s] configure:9750: checking pkg-config is at least version 0.20 [ 733s] configure:9753: result: yes [ 733s] configure:9762: checking for csv_init in -lcsv [ 733s] configure:9787: 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 -Wl,-z,now conftest.c -lcsv >&5 [ 733s] configure:9787: $? = 0 [ 733s] configure:9796: result: yes [ 733s] configure:9806: checking csv.h usability [ 735s] configure:9806: gcc -c -g -O2 -fdebug-prefix-map=/usr/src/packa[ 690.005136] sysrq: SysRq : Power Off [ 735s] [ 690.006753] reboot: Power down [ 735s] ### VM INTERACTION END ### [ 735s] [ 735s] armbuild02 failed "build osmo-remsim_0.2.2.26.bbd1.dsc" at Tue Dec 17 20:06:40 UTC 2019. [ 735s] -- Configure notifications at https://build.opensuse.org/my/notifications openSUSE Build Service (https://build.opensuse.org/)
Change in osmo-ttcn3-hacks[master]: msc: add tests for SMS and voice call while Paging
neels has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/16297 ) Change subject: msc: add tests for SMS and voice call while Paging .. Patch Set 4: (1 comment) thx, will address all comments as I find the time https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/16297/4/msc/BSC_ConnectionHandler.ttcn File msc/BSC_ConnectionHandler.ttcn: https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/16297/4/msc/BSC_ConnectionHandler.ttcn@1757 PS4, Line 1757: expect_deliver_pdu > This naming is confusing. We don't 'expect' (to receive) anything in this > function. […] "f_mt_sms_expected_deliver_pdu()" ? -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/16297 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: Ieeae6322d4e80893ea3408c6b74bf8e32bea8e46 Gerrit-Change-Number: 16297 Gerrit-PatchSet: 4 Gerrit-Owner: neels Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: fixeria Gerrit-Reviewer: neels Gerrit-CC: laforge Gerrit-CC: pespin Gerrit-Comment-Date: Tue, 17 Dec 2019 17:43:44 + Gerrit-HasComments: Yes Gerrit-Has-Labels: No Comment-In-Reply-To: fixeria Gerrit-MessageType: comment
Change in osmo-ttcn3-hacks[master]: msc: Introduce test TC_lu_imsi_timeout_tmsi_realloc
neels has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/16648 ) Change subject: msc: Introduce test TC_lu_imsi_timeout_tmsi_realloc .. Patch Set 1: Code-Review+1 (2 comments) https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/16648/1/msc/MSC_Tests.ttcn File msc/MSC_Tests.ttcn: https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/16648/1/msc/MSC_Tests.ttcn@565 PS1, Line 565: /* MSC sends a LU REJECT after X1 times out (5 seconds by default) */ (opening comment inside a still open comment) https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/16648/1/msc/MSC_Tests.ttcn@603 PS1, Line 603: f_expect_clear(); The "Congestion" cause was just a wild guess, assuming that the last message failed to get processed in time. We could write '?' as cause here to not make it appear like cast in stone in the specs. It could be easier to tweak the f_perform_lu() function with optional parameters. IIUC all you need is the same f_perform_lu(), only with a flag that skips sending the 'TMSI Reallocation Complete' and exits early (in f_accept_reject_lu()); then you can f_expect_lu_reject() here? (OTOH, this is unlikely to get refactored / change ordering, so it's also fine like this) -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/16648 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: I603b2b2b1ae7edd6360ea38c6bbbfedc46e9fa5d Gerrit-Change-Number: 16648 Gerrit-PatchSet: 1 Gerrit-Owner: pespin Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: neels Gerrit-Comment-Date: Tue, 17 Dec 2019 17:41:08 + Gerrit-HasComments: Yes Gerrit-Has-Labels: Yes Gerrit-MessageType: comment
Change in osmo-ttcn3-hacks[master]: msc: Remove trailing whitespace
laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/16647 ) Change subject: msc: Remove trailing whitespace .. msc: Remove trailing whitespace Change-Id: I934dd3504fa91e2006fbc9b1133836060eb0591e --- M msc/BSC_ConnectionHandler.ttcn M msc/MSC_Tests.ttcn 2 files changed, 1 insertion(+), 3 deletions(-) Approvals: Jenkins Builder: Verified laforge: Looks good to me, approved diff --git a/msc/BSC_ConnectionHandler.ttcn b/msc/BSC_ConnectionHandler.ttcn index 0846c04..cd1a114 100644 --- a/msc/BSC_ConnectionHandler.ttcn +++ b/msc/BSC_ConnectionHandler.ttcn @@ -1837,5 +1837,3 @@ } - - diff --git a/msc/MSC_Tests.ttcn b/msc/MSC_Tests.ttcn index a083606..e2728d3 100644 --- a/msc/MSC_Tests.ttcn +++ b/msc/MSC_Tests.ttcn @@ -1736,7 +1736,7 @@ setverdict(fail, "no BSSMAP RESET ACK seen!"); mtc.stop; } - } + } } /* Test MO Call with no response to RAN-side CRCX or DTAP Release */ -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/16647 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: I934dd3504fa91e2006fbc9b1133836060eb0591e Gerrit-Change-Number: 16647 Gerrit-PatchSet: 1 Gerrit-Owner: pespin Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: laforge Gerrit-MessageType: merged
Change in osmo-ttcn3-hacks[master]: msc: Remove trailing whitespace
laforge has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/16647 ) Change subject: msc: Remove trailing whitespace .. Patch Set 1: Code-Review+2 -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/16647 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: I934dd3504fa91e2006fbc9b1133836060eb0591e Gerrit-Change-Number: 16647 Gerrit-PatchSet: 1 Gerrit-Owner: pespin Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: laforge Gerrit-Comment-Date: Tue, 17 Dec 2019 17:29:57 + Gerrit-HasComments: No Gerrit-Has-Labels: Yes Gerrit-MessageType: comment
Change in osmo-ttcn3-hacks[master]: msc: Introduce test TC_lu_imsi_timeout_tmsi_realloc
pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/16648 ) Change subject: msc: Introduce test TC_lu_imsi_timeout_tmsi_realloc .. msc: Introduce test TC_lu_imsi_timeout_tmsi_realloc Change-Id: I603b2b2b1ae7edd6360ea38c6bbbfedc46e9fa5d --- M msc/BSC_ConnectionHandler.ttcn M msc/MSC_Tests.ttcn M msc/MSC_Tests_Iu.ttcn 3 files changed, 64 insertions(+), 2 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/48/16648/1 diff --git a/msc/BSC_ConnectionHandler.ttcn b/msc/BSC_ConnectionHandler.ttcn index cd1a114..1ce0b69 100644 --- a/msc/BSC_ConnectionHandler.ttcn +++ b/msc/BSC_ConnectionHandler.ttcn @@ -642,13 +642,13 @@ setverdict(pass); } -function f_expect_lu_reject() runs on BSC_ConnHdlr { +function f_expect_lu_reject(template OCT1 cause := ?) runs on BSC_ConnHdlr { var PDU_DTAP_MT dtap_mt; timer T := 5.0; T.start; alt { - [] BSSAP.receive(tr_PDU_DTAP_MT(tr_ML3_MT_LU_Rej)) { + [] BSSAP.receive(tr_PDU_DTAP_MT(tr_ML3_MT_LU_Rej(cause))) { setverdict(pass); } [] BSSAP.receive(tr_PDU_DTAP_MT(?)) -> value dtap_mt { diff --git a/msc/MSC_Tests.ttcn b/msc/MSC_Tests.ttcn index e2728d3..02786eb 100644 --- a/msc/MSC_Tests.ttcn +++ b/msc/MSC_Tests.ttcn @@ -561,6 +561,57 @@ vc_conn.done; } +/* Proceed with LU but never receive an TMSI Realloc from MS after LU Accept. +/* MSC sends a LU REJECT after X1 times out (5 seconds by default) */ +friend function f_tc_lu_imsi_timeout_tmsi_realloc(charstring id, BSC_ConnHdlrPars pars) runs on BSC_ConnHdlr { + + f_init_handler(pars); + + var PDU_ML3_MS_NW l3_lu := f_build_lu_imsi(g_pars.imsi); + var PDU_DTAP_MT dtap_mt; + + /* tell GSUP dispatcher to send this IMSI to us */ + f_create_gsup_expect(hex2str(g_pars.imsi)); + + /* Send BSSAP_Conn_Req with COMPL L3 INFO to MSC */ + if (g_pars.ran_is_geran) { + f_bssap_compl_l3(l3_lu); + if (g_pars.send_early_cm) { + BSSAP.send(ts_BSSMAP_ClassmarkUpd(g_pars.cm2, g_pars.cm3)); + } + } else { + f_ranap_initial_ue(l3_lu); + } + + f_mm_imei_early(); + f_mm_common(); + f_msc_lu_hlr(); + f_mm_imei(); + + alt { + [] BSSAP.receive(tr_PDU_DTAP_MT(tr_ML3_MT_LU_Acc)) -> value dtap_mt {} + [] BSSAP.receive(tr_PDU_DTAP_MT(tr_ML3_MT_LU_Rej)) { + setverdict(fail, "Expected LU ACK, but received LU REJ"); + mtc.stop; + } + } + + /* f_expect_lu_reject() already waits for T"-1" (X1, 5 seconds), but give some + extra time to avoid race conditons... */ + f_sleep(1.0) + f_expect_lu_reject('16'O); /* Cause: congestion */ + f_expect_clear(); + + setverdict(pass); +} +testcase TC_lu_imsi_timeout_tmsi_realloc() runs on MTC_CT { + var BSC_ConnHdlr vc_conn; + f_init(); + + vc_conn := f_start_handler(refers(f_tc_lu_imsi_timeout_tmsi_realloc), 5); + vc_conn.done; +} + /* Send CM SERVICE REQ for IMSI that has never performed LU before */ friend function f_tc_cmserv_imsi_unknown(charstring id, BSC_ConnHdlrPars pars) @@ -5719,6 +5770,7 @@ execute( TC_lu_imsi_timeout_gsup() ); execute( TC_lu_imsi_auth_tmsi() ); execute( TC_lu_imsi_auth3g_tmsi() ); + execute( TC_lu_imsi_timeout_tmsi_realloc() ); execute( TC_cmserv_imsi_unknown() ); execute( TC_lu_and_mo_call() ); execute( TC_lu_auth_sai_timeout() ); diff --git a/msc/MSC_Tests_Iu.ttcn b/msc/MSC_Tests_Iu.ttcn index 9ea0c76..b80005e 100644 --- a/msc/MSC_Tests_Iu.ttcn +++ b/msc/MSC_Tests_Iu.ttcn @@ -56,6 +56,15 @@ vc_conn.done; } +testcase TC_iu_lu_imsi_timeout_tmsi_realloc() runs on MTC_CT { + var BSC_ConnHdlr vc_conn; + f_init(3); + f_vty_config(MSCVTY, "network", "authentication required"); + + vc_conn := f_start_handler(refers(f_tc_lu_imsi_timeout_tmsi_realloc), 1005, ran_idx := 2, ran_is_geran := false); + vc_conn.done; +} + testcase TC_iu_cmserv_imsi_unknown() runs on MTC_CT { var BSC_ConnHdlr vc_conn; f_init(3); @@ -424,6 +433,7 @@ execute( TC_iu_lu_imsi_reject() ); execute( TC_iu_lu_imsi_timeout_gsup() ); execute( TC_iu_lu_imsi_auth3g_tmsi() ); + execute( TC_iu_lu_imsi_timeout_tmsi_realloc() ); execute( TC_iu_cmserv_imsi_unknown() ); execute( TC_iu_lu_and_mo_call() ); execute( TC_iu_lu_auth_sai_timeout() ); -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/16648 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: I603b2b2b1ae7edd6360ea38c6bbbfedc46e9fa5d Gerrit-Change-Number: 16648
Change in osmo-ttcn3-hacks[master]: msc: Remove trailing whitespace
pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/16647 ) Change subject: msc: Remove trailing whitespace .. msc: Remove trailing whitespace Change-Id: I934dd3504fa91e2006fbc9b1133836060eb0591e --- M msc/BSC_ConnectionHandler.ttcn M msc/MSC_Tests.ttcn 2 files changed, 1 insertion(+), 3 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/47/16647/1 diff --git a/msc/BSC_ConnectionHandler.ttcn b/msc/BSC_ConnectionHandler.ttcn index 0846c04..cd1a114 100644 --- a/msc/BSC_ConnectionHandler.ttcn +++ b/msc/BSC_ConnectionHandler.ttcn @@ -1837,5 +1837,3 @@ } - - diff --git a/msc/MSC_Tests.ttcn b/msc/MSC_Tests.ttcn index a083606..e2728d3 100644 --- a/msc/MSC_Tests.ttcn +++ b/msc/MSC_Tests.ttcn @@ -1736,7 +1736,7 @@ setverdict(fail, "no BSSMAP RESET ACK seen!"); mtc.stop; } - } + } } /* Test MO Call with no response to RAN-side CRCX or DTAP Release */ -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/16647 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: I934dd3504fa91e2006fbc9b1133836060eb0591e Gerrit-Change-Number: 16647 Gerrit-PatchSet: 1 Gerrit-Owner: pespin Gerrit-MessageType: newchange
Change in libosmo-sccp[master]: ASP: Stop re-transmitting un-acknowledged messages on SCTP down event
laforge has submitted this change. ( https://gerrit.osmocom.org/c/libosmo-sccp/+/15977 ) Change subject: ASP: Stop re-transmitting un-acknowledged messages on SCTP down event .. ASP: Stop re-transmitting un-acknowledged messages on SCTP down event We don't want to attempt to re-transmit if we lost the connection: DLSS7 <000c> xua_asp_fsm.c:251 XUA_ASP(asp-client0){ASP_DOWN}: T(ack) callback: re-transmitting event ASPSM-ASP_UP DLSS7 <000c> osmo_ss7.c:1833 0: asp-asp-client0: Cannot transmit, asp->client not connected DLSS7 <000c> xua_asp_fsm.c:251 XUA_ASP(asp-client0){ASP_DOWN}: T(ack) callback: re-transmitting event ASPSM-ASP_UP DLSS7 <000c> osmo_ss7.c:1833 0: asp-asp-client0: Cannot transmit, asp->client not connected DLSS7 <000c> xua_asp_fsm.c:251 XUA_ASP(asp-client0){ASP_DOWN}: T(ack) callback: re-transmitting event ASPSM-ASP_UP DLSS7 <000c> osmo_ss7.c:1833 0: asp-asp-client0: Cannot transmit, asp->client not connected DLSS7 <000c> xua_asp_fsm.c:251 XUA_ASP(asp-client0){ASP_DOWN}: T(ack) callback: re-transmitting event ASPSM-ASP_UP DLSS7 <000c> osmo_ss7.c:1833 0: asp-asp-client0: Cannot transmit, asp->client not connected DLSS7 <000c> xua_asp_fsm.c:251 XUA_ASP(asp-client0){ASP_DOWN}: T(ack) callback: re-transmitting event ASPSM-ASP_UP Change-Id: Ic8da646d22d3120121d9af43a890762a879f9d74 --- M src/xua_asp_fsm.c 1 file changed, 2 insertions(+), 0 deletions(-) Approvals: Jenkins Builder: Verified pespin: Looks good to me, approved diff --git a/src/xua_asp_fsm.c b/src/xua_asp_fsm.c index 2fe2c8a..64892ad 100644 --- a/src/xua_asp_fsm.c +++ b/src/xua_asp_fsm.c @@ -663,11 +663,13 @@ static void xua_asp_allstate(struct osmo_fsm_inst *fi, uint32_t event, void *data) { + struct xua_asp_fsm_priv *xafp = fi->priv; struct xua_msg *xua; switch (event) { case XUA_ASP_E_SCTP_COMM_DOWN_IND: case XUA_ASP_E_SCTP_RESTART_IND: + osmo_timer_del(>t_ack.timer); osmo_fsm_inst_state_chg(fi, XUA_ASP_S_DOWN, 0, 0); send_xlm_prim_simple(fi, OSMO_XLM_PRIM_M_ASP_DOWN, PRIM_OP_INDICATION); -- To view, visit https://gerrit.osmocom.org/c/libosmo-sccp/+/15977 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: libosmo-sccp Gerrit-Branch: master Gerrit-Change-Id: Ic8da646d22d3120121d9af43a890762a879f9d74 Gerrit-Change-Number: 15977 Gerrit-PatchSet: 6 Gerrit-Owner: laforge Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: laforge Gerrit-Reviewer: pespin Gerrit-MessageType: merged
Build failure of network:osmocom:nightly/osmo-remsim in Debian_Testing/x86_64
Visit https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/osmo-remsim/Debian_Testing/x86_64 Package network:osmocom:nightly/osmo-remsim failed to build in Debian_Testing/x86_64 Check out the package for editing: osc checkout network:osmocom:nightly osmo-remsim Last lines of build log: [ 404s] #define HAVE_STDLIB_H 1 [ 404s] #define HAVE_STRING_H 1 [ 404s] #define HAVE_MEMORY_H 1 [ 404s] #define HAVE_STRINGS_H 1 [ 404s] #define HAVE_INTTYPES_H 1 [ 404s] #define HAVE_STDINT_H 1 [ 404s] #define HAVE_UNISTD_H 1 [ 404s] #define HAVE_DLFCN_H 1 [ 404s] #define LT_OBJDIR ".libs/" [ 404s] #define PACKAGE "osmo-remsim" [ 404s] #define VERSION "0.2.2.26-bbd1" [ 404s] #define HAVE_CSV_H 1 [ 404s] [ 404s] configure: exit 1 [ 404s] dh_auto_configure: ./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-silent-rules --libdir=\${prefix}/lib/x86_64-linux-gnu --libexecdir=\${prefix}/lib/x86_64-linux-gnu --disable-maintainer-mode --disable-dependency-tracking --with-systemdsystemunitdir=/lib/systemd/system --enable-manuals returned exit code 1 [ 404s] make[1]: *** [debian/rules:15: override_dh_auto_configure] Error 255 [ 404s] make[1]: Leaving directory '/usr/src/packages/BUILD' [ 404s] make: *** [debian/rules:12: build] Error 2 [ 404s] dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2 [ 404s] [ 404s] lamb19 failed "build osmo-remsim_0.2.2.26.bbd1.dsc" at Tue Dec 17 15:40:51 UTC 2019. [ 404s] [ 404s] ### VM INTERACTION START ### [ 408s] [ 389.820389] sysrq: SysRq : Power Off [ 408s] [ 389.825961] reboot: Power down [ 408s] ### VM INTERACTION END ### [ 408s] [ 408s] lamb19 failed "build osmo-remsim_0.2.2.26.bbd1.dsc" at Tue Dec 17 15:40:55 UTC 2019. [ 408s] -- Configure notifications at https://build.opensuse.org/my/notifications openSUSE Build Service (https://build.opensuse.org/)
Build failure of network:osmocom:nightly/osmo-remsim in Debian_9.0/x86_64
Visit https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/osmo-remsim/Debian_9.0/x86_64 Package network:osmocom:nightly/osmo-remsim failed to build in Debian_9.0/x86_64 Check out the package for editing: osc checkout network:osmocom:nightly osmo-remsim Last lines of build log: [ 234s] #define HAVE_MEMORY_H 1 [ 234s] #define HAVE_STRINGS_H 1 [ 234s] #define HAVE_INTTYPES_H 1 [ 234s] #define HAVE_STDINT_H 1 [ 234s] #define HAVE_UNISTD_H 1 [ 234s] #define HAVE_DLFCN_H 1 [ 234s] #define LT_OBJDIR ".libs/" [ 234s] #define PACKAGE "osmo-remsim" [ 234s] #define VERSION "0.2.2.26-bbd1" [ 234s] #define HAVE_CSV_H 1 [ 234s] [ 234s] configure: exit 1 [ 234s] dh_auto_configure: ./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=${prefix}/include --mandir=${prefix}/share/man --infodir=${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-silent-rules --libdir=${prefix}/lib/x86_64-linux-gnu --libexecdir=${prefix}/lib/x86_64-linux-gnu --disable-maintainer-mode --disable-dependency-tracking --with-systemdsystemunitdir=/lib/systemd/system --enable-manuals returned exit code 1 [ 234s] debian/rules:15: recipe for target 'override_dh_auto_configure' failed [ 234s] make[1]: *** [override_dh_auto_configure] Error 2 [ 234s] make[1]: Leaving directory '/usr/src/packages/BUILD' [ 234s] debian/rules:12: recipe for target 'build' failed [ 234s] make: *** [build] Error 2 [ 234s] dpkg-buildpackage: error: debian/rules build gave error exit status 2 [ 234s] [ 234s] lamb02 failed "build osmo-remsim_0.2.2.26.bbd1.dsc" at Tue Dec 17 15:26:30 UTC 2019. [ 234s] [ 234s] ### VM INTERACTION START ### [ 237s] [ 221.349689] sysrq: SysRq : Power Off [ 237s] [ 221.356668] reboot: Power down [ 237s] ### VM INTERACTION END ### [ 237s] [ 237s] lamb02 failed "build osmo-remsim_0.2.2.26.bbd1.dsc" at Tue Dec 17 15:26:34 UTC 2019. [ 237s] -- Configure notifications at https://build.opensuse.org/my/notifications openSUSE Build Service (https://build.opensuse.org/)
Build failure of network:osmocom:nightly/osmo-remsim in xUbuntu_18.10/x86_64
Visit https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/osmo-remsim/xUbuntu_18.10/x86_64 Package network:osmocom:nightly/osmo-remsim failed to build in xUbuntu_18.10/x86_64 Check out the package for editing: osc checkout network:osmocom:nightly osmo-remsim Last lines of build log: [ 657s] #define HAVE_STDLIB_H 1 [ 657s] #define HAVE_STRING_H 1 [ 657s] #define HAVE_MEMORY_H 1 [ 657s] #define HAVE_STRINGS_H 1 [ 657s] #define HAVE_INTTYPES_H 1 [ 657s] #define HAVE_STDINT_H 1 [ 657s] #define HAVE_UNISTD_H 1 [ 657s] #define HAVE_DLFCN_H 1 [ 657s] #define LT_OBJDIR ".libs/" [ 657s] #define PACKAGE "osmo-remsim" [ 657s] #define VERSION "0.2.2.26-bbd1" [ 657s] #define HAVE_CSV_H 1 [ 657s] [ 657s] configure: exit 1 [ 657s] dh_auto_configure: ./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-silent-rules --libdir=\${prefix}/lib/x86_64-linux-gnu --libexecdir=\${prefix}/lib/x86_64-linux-gnu --disable-maintainer-mode --disable-dependency-tracking --with-systemdsystemunitdir=/lib/systemd/system --enable-manuals returned exit code 1 [ 657s] make[1]: *** [debian/rules:15: override_dh_auto_configure] Error 2 [ 657s] make[1]: Leaving directory '/usr/src/packages/BUILD' [ 657s] make: *** [debian/rules:12: build] Error 2 [ 657s] dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2 [ 657s] [ 657s] lamb53 failed "build osmo-remsim_0.2.2.26.bbd1.dsc" at Tue Dec 17 14:58:20 UTC 2019. [ 657s] [ 657s] ### VM INTERACTION START ### [ 661s] [ 634.931730] sysrq: SysRq : Power Off [ 661s] [ 634.974951] reboot: Power down [ 661s] ### VM INTERACTION END ### [ 661s] [ 661s] lamb53 failed "build osmo-remsim_0.2.2.26.bbd1.dsc" at Tue Dec 17 14:58:24 UTC 2019. [ 661s] -- Configure notifications at https://build.opensuse.org/my/notifications openSUSE Build Service (https://build.opensuse.org/)
Build failure of network:osmocom:nightly/osmo-remsim in xUbuntu_18.04/x86_64
Visit https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/osmo-remsim/xUbuntu_18.04/x86_64 Package network:osmocom:nightly/osmo-remsim failed to build in xUbuntu_18.04/x86_64 Check out the package for editing: osc checkout network:osmocom:nightly osmo-remsim Last lines of build log: [ 396s] #define HAVE_STRINGS_H 1 [ 396s] #define HAVE_INTTYPES_H 1 [ 396s] #define HAVE_STDINT_H 1 [ 396s] #define HAVE_UNISTD_H 1 [ 396s] #define HAVE_DLFCN_H 1 [ 396s] #define LT_OBJDIR ".libs/" [ 396s] #define PACKAGE "osmo-remsim" [ 396s] #define VERSION "0[ 363.731055] serial8250: too much work for irq4 [ 396s] .2.2.26-bbd1" [ 396s] #define HAVE_CSV_H 1 [ 396s] [ 396s] configure: exit 1 [ 396s] dh_auto_configure: ./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-silent-rules --libdir=\${prefix}/lib/x86_64-linux-gnu --libexecdir=\${prefix}/lib/x86_64-linux-gnu --disable-maintainer-mode --disable-dependency-tracking --with-systemdsystemunitdir=/lib/systemd/system --enable-manuals returned exit code 1 [ 396s] debian/rules:15: recipe for target 'override_dh_auto_configure' failed [ 396s] make[1]: *** [override_dh_auto_configure] Error 2 [ 396s] make[1]: Leaving directory '/usr/src/packages/BUILD' [ 396s] debian/rules:12: recipe for target 'build' failed [ 396s] make: *** [build] Error 2 [ 396s] dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2 [ 396s] [ 396s] lamb60 failed "build osmo-remsim_0.2.2.26.bbd1.dsc" at Tue Dec 17 14:54:25 UTC 2019. [ 396s] [ 396s] ### VM INTERACTION START ### [ 399s] [ 367.336530] sysrq: SysRq : Power Off [ 400s] [ 367.344362] reboot: Power down [ 400s] ### VM INTERACTION END ### [ 400s] [ 400s] lamb60 failed "build osmo-remsim_0.2.2.26.bbd1.dsc" at Tue Dec 17 14:54:29 UTC 2019. [ 400s] -- Configure notifications at https://build.opensuse.org/my/notifications openSUSE Build Service (https://build.opensuse.org/)
Build failure of network:osmocom:nightly/osmo-remsim in xUbuntu_19.04/x86_64
Visit https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/osmo-remsim/xUbuntu_19.04/x86_64 Package network:osmocom:nightly/osmo-remsim failed to build in xUbuntu_19.04/x86_64 Check out the package for editing: osc checkout network:osmocom:nightly osmo-remsim Last lines of build log: [ 322s] #define HAVE_STDLIB_H 1 [ 322s] #define HAVE_STRING_H 1 [ 322s] #define HAVE_MEMORY_H 1 [ 322s] #define HAVE_STRINGS_H 1 [ 322s] #define HAVE_INTTYPES_H 1 [ 322s] #define HAVE_STDINT_H 1 [ 322s] #define HAVE_UNISTD_H 1 [ 322s] #define HAVE_DLFCN_H 1 [ 322s] #define LT_OBJDIR ".libs/" [ 322s] #define PACKAGE "osmo-remsim" [ 322s] #define VERSION "0.2.2.26-bbd1" [ 322s] #define HAVE_CSV_H 1 [ 322s] [ 322s] configure: exit 1 [ 322s] dh_auto_configure: ./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-silent-rules --libdir=\${prefix}/lib/x86_64-linux-gnu --libexecdir=\${prefix}/lib/x86_64-linux-gnu --disable-maintainer-mode --disable-dependency-tracking --with-systemdsystemunitdir=/lib/systemd/system --enable-manuals returned exit code 1 [ 322s] make[1]: *** [debian/rules:15: override_dh_auto_configure] Error 2 [ 322s] make[1]: Leaving directory '/usr/src/packages/BUILD' [ 322s] make: *** [debian/rules:12: build] Error 2 [ 322s] dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2 [ 322s] [ 322s] lamb22 failed "build osmo-remsim_0.2.2.26.bbd1.dsc" at Tue Dec 17 14:52:45 UTC 2019. [ 322s] [ 322s] ### VM INTERACTION START ### [ 325s] [ 302.084492] sysrq: SysRq : Power Off [ 325s] [ 302.090597] reboot: Power down [ 325s] ### VM INTERACTION END ### [ 325s] [ 325s] lamb22 failed "build osmo-remsim_0.2.2.26.bbd1.dsc" at Tue Dec 17 14:52:50 UTC 2019. [ 325s] -- Configure notifications at https://build.opensuse.org/my/notifications openSUSE Build Service (https://build.opensuse.org/)
Build failure of network:osmocom:nightly/osmo-remsim in xUbuntu_19.10/x86_64
Visit https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/osmo-remsim/xUbuntu_19.10/x86_64 Package network:osmocom:nightly/osmo-remsim failed to build in xUbuntu_19.10/x86_64 Check out the package for editing: osc checkout network:osmocom:nightly osmo-remsim Last lines of build log: [ 414s] #define HAVE_STRING_H 1 [ 414s] #define HAVE_MEMORY_H 1 [ 414s] #define HAVE_STRINGS_H 1 [ 414s] #define HAVE_INTTYPES_H 1 [ 414s] #define HAVE_STDINT_H 1 [ 414s] #define HAVE_UNISTD_H 1 [ 414s] #define HAVE_DLFCN_H 1 [ 414s] #define LT_OBJDIR ".libs/" [ 414s] #define PACKAGE "osmo-remsim" [ 414s] #define VERSION "0.2.2.26-bbd1" [ 414s] #define HAVE_CS[ 397.694657] serial8250: too much work for irq4 [ 414s] V_H 1 [ 414s] [ 414s] configure: exit 1 [ 414s] dh_auto_configure: ./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-silent-rules --libdir=\${prefix}/lib/x86_64-linux-gnu --libexecdir=\${prefix}/lib/x86_64-linux-gnu --disable-maintainer-mode --disable-dependency-tracking --with-systemdsystemunitdir=/lib/systemd/system --enable-manuals returned exit code 1 [ 414s] make[1]: *** [debian/rules:15: override_dh_auto_configure] Error 255 [ 414s] make[1]: Leaving directory '/usr/src/packages/BUILD' [ 414s] make: *** [debian/rules:12: build] Error 2 [ 414s] dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2 [ 414s] [ 414s] lamb13 failed "build osmo-remsim_0.2.2.26.bbd1.dsc" at Tue Dec 17 14:47:14 UTC 2019. [ 414s] [ 414s] ### VM INTERACTION START ### [ 417s] [ 400.999124] sysrq: SysRq : Power Off [ 417s] [ 401.004766] reboot: Power down [ 417s] ### VM INTERACTION END ### [ 417s] [ 417s] lamb13 failed "build osmo-remsim_0.2.2.26.bbd1.dsc" at Tue Dec 17 14:47:19 UTC 2019. [ 417s] -- Configure notifications at https://build.opensuse.org/my/notifications openSUSE Build Service (https://build.opensuse.org/)
Build failure of network:osmocom:nightly/osmo-remsim in Debian_Unstable/x86_64
Visit https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/osmo-remsim/Debian_Unstable/x86_64 Package network:osmocom:nightly/osmo-remsim failed to build in Debian_Unstable/x86_64 Check out the package for editing: osc checkout network:osmocom:nightly osmo-remsim Last lines of build log: [ 953s] #define HAVE_STDLIB_H 1 [ 953s] #define HAVE_STRING_H 1 [ 953s] #define HAVE_MEMORY_H 1 [ 953s] #define HAVE_STRINGS_H 1 [ 953s] #define HAVE_INTTYPES_H 1 [ 953s] #define HAVE_STDINT_H 1 [ 953s] #define HAVE_UNISTD_H 1 [ 953s] #define HAVE_DLFCN_H 1 [ 953s] #define LT_OBJDIR ".libs/" [ 953s] #define PACKAGE "osmo-remsim" [ 953s] #define VERSION "0.2.2.26-bbd1" [ 953s] #define HAVE_CSV_H 1 [ 953s] [ 953s] configure: exit 1 [ 953s] dh_auto_configure: ./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-silent-rules --libdir=\${prefix}/lib/x86_64-linux-gnu --libexecdir=\${prefix}/lib/x86_64-linux-gnu --disable-maintainer-mode --disable-dependency-tracking --with-systemdsystemunitdir=/lib/systemd/system --enable-manuals returned exit code 1 [ 953s] make[1]: *** [debian/rules:15: override_dh_auto_configure] Error 255 [ 953s] make[1]: Leaving directory '/usr/src/packages/BUILD' [ 953s] make: *** [debian/rules:12: build] Error 2 [ 953s] dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2 [ 953s] [ 953s] lamb21 failed "build osmo-remsim_0.2.2.26.bbd1.dsc" at Tue Dec 17 14:46:03 UTC 2019. [ 953s] [ 953s] ### VM INTERACTION START ### [ 956s] [ 934.639880] sysrq: SysRq : Power Off [ 956s] [ 934.672863] reboot: Power down [ 956s] ### VM INTERACTION END ### [ 956s] [ 956s] lamb21 failed "build osmo-remsim_0.2.2.26.bbd1.dsc" at Tue Dec 17 14:46:07 UTC 2019. [ 956s] -- Configure notifications at https://build.opensuse.org/my/notifications openSUSE Build Service (https://build.opensuse.org/)
Change in libosmo-sccp[master]: ASP: Stop re-transmitting un-acknowledged messages on SCTP down event
pespin has posted comments on this change. ( https://gerrit.osmocom.org/c/libosmo-sccp/+/15977 ) Change subject: ASP: Stop re-transmitting un-acknowledged messages on SCTP down event .. Patch Set 6: Code-Review+2 -- To view, visit https://gerrit.osmocom.org/c/libosmo-sccp/+/15977 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: libosmo-sccp Gerrit-Branch: master Gerrit-Change-Id: Ic8da646d22d3120121d9af43a890762a879f9d74 Gerrit-Change-Number: 15977 Gerrit-PatchSet: 6 Gerrit-Owner: laforge Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: laforge Gerrit-Reviewer: pespin Gerrit-Comment-Date: Tue, 17 Dec 2019 14:43:20 + Gerrit-HasComments: No Gerrit-Has-Labels: Yes Gerrit-MessageType: comment
Change in osmo-remsim[master]: debian/control: Add missing Build-Requires libosmo-simtrace2
laforge has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-remsim/+/16646 ) Change subject: debian/control: Add missing Build-Requires libosmo-simtrace2 .. debian/control: Add missing Build-Requires libosmo-simtrace2 In Change-Id Idf5a861f4dacbec3c664f4ced6e03d8662c73112 we introduced the use of libosmo-simtrace2 (from simtrace2.git). Our configure script checks for it properly, but the debian/control wasn't updated. Change-Id: I875f9d6d06d806fb9f9264840a65934fb0e99972 --- M debian/control 1 file changed, 1 insertion(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-remsim refs/changes/46/16646/1 diff --git a/debian/control b/debian/control index 7638015..468fb0a 100644 --- a/debian/control +++ b/debian/control @@ -12,6 +12,7 @@ libcsv-dev, libosmocore-dev, libosmo-abis-dev, + libosmo-simtrace2, libpcsclite-dev, libusb-1.0-0-dev, libulfius-dev, -- To view, visit https://gerrit.osmocom.org/c/osmo-remsim/+/16646 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-remsim Gerrit-Branch: master Gerrit-Change-Id: I875f9d6d06d806fb9f9264840a65934fb0e99972 Gerrit-Change-Number: 16646 Gerrit-PatchSet: 1 Gerrit-Owner: laforge Gerrit-MessageType: newchange
Build failure of network:osmocom:nightly/osmo-remsim in xUbuntu_18.04/i586
Visit https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/osmo-remsim/xUbuntu_18.04/i586 Package network:osmocom:nightly/osmo-remsim failed to build in xUbuntu_18.04/i586 Check out the package for editing: osc checkout network:osmocom:nightly osmo-remsim Last lines of build log: [ 571s] #define HAVE_MEMORY_H 1 [ 571s] #define HAVE_STRINGS_H 1 [ 571s] #define HAVE_INTTYPES_H 1 [ 571s] #define HAVE_STDINT_H 1 [ 571s] #define HAVE_UNISTD_H 1 [ 571s] #define HAVE_DLFCN_H 1 [ 571s] #define LT_OBJDIR ".libs/" [ 571s] #define PACKAGE "osmo-remsim" [ 571s] #define VERSION "0.2.2.26-bbd1" [ 571s] #define HAVE_CSV_H 1 [ 571s] [ 571s] configure: exit 1 [ 571s] dh_auto_configure: ./configure --build=i686-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-silent-rules --libdir=\${prefix}/lib/i386-linux-gnu --libexecdir=\${prefix}/lib/i386-linux-gnu --disable-maintainer-mode --disable-dependency-tracking --with-systemdsystemunitdir=/lib/systemd/system --enable-manuals returned exit code 1 [ 571s] debian/rules:15: recipe for target 'override_dh_auto_configure' failed [ 571s] make[1]: *** [override_dh_auto_configure] Error 2 [ 571s] make[1]: Leaving directory '/usr/src/packages/BUILD' [ 571s] debian/rules:12: recipe for target 'build' failed [ 571s] make: *** [build] Error 2 [ 571s] dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2 [ 571s] [ 571s] lamb04 failed "build osmo-remsim_0.2.2.26.bbd1.dsc" at Tue Dec 17 14:36:52 UTC 2019. [ 571s] [ 571s] ### VM INTERACTION START ### [ 574s] [ 557.783072] sysrq: SysRq : Power Off [ 574s] [ 557.802692] reboot: Power down [ 574s] ### VM INTERACTION END ### [ 574s] [ 574s] lamb04 failed "build osmo-remsim_0.2.2.26.bbd1.dsc" at Tue Dec 17 14:36:56 UTC 2019. [ 574s] -- Configure notifications at https://build.opensuse.org/my/notifications openSUSE Build Service (https://build.opensuse.org/)
Build failure of network:osmocom:nightly/osmo-remsim in Debian_10/x86_64
Visit https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/osmo-remsim/Debian_10/x86_64 Package network:osmocom:nightly/osmo-remsim failed to build in Debian_10/x86_64 Check out the package for editing: osc checkout network:osmocom:nightly osmo-remsim Last lines of build log: [ 309s] #define HAVE_STDLIB_H 1 [ 309s] #define HAVE_STRING_H 1 [ 309s] #define HAVE_MEMORY_H 1 [ 309s] #define HAVE_STRINGS_H 1 [ 309s] #define HAVE_INTTYPES_H 1 [ 309s] #define HAVE_STDINT_H 1 [ 309s] #define HAVE_UNISTD_H 1 [ 309s] #define HAVE_DLFCN_H 1 [ 309s] #define LT_OBJDIR ".libs/" [ 309s] #define PACKAGE "osmo-remsim" [ 309s] #define VERSION "0.2.2.26-bbd1" [ 309s] #define HAVE_CSV_H 1 [ 309s] [ 309s] configure: exit 1 [ 309s] dh_auto_configure: ./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-silent-rules --libdir=\${prefix}/lib/x86_64-linux-gnu --libexecdir=\${prefix}/lib/x86_64-linux-gnu --disable-maintainer-mode --disable-dependency-tracking --with-systemdsystemunitdir=/lib/systemd/system --enable-manuals returned exit code 1 [ 309s] make[1]: *** [debian/rules:15: override_dh_auto_configure] Error 2 [ 309s] make[1]: Leaving directory '/usr/src/packages/BUILD' [ 309s] make: *** [debian/rules:12: build] Error 2 [ 309s] dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2 [ 309s] [ 309s] lamb19 failed "build osmo-remsim_0.2.2.26.bbd1.dsc" at Tue Dec 17 14:35:09 UTC 2019. [ 309s] [ 309s] ### VM INTERACTION START ### [ 312s] [ 293.939931] sysrq: SysRq : Power Off [ 312s] [ 293.953299] reboot: Power down [ 312s] ### VM INTERACTION END ### [ 312s] [ 312s] lamb19 failed "build osmo-remsim_0.2.2.26.bbd1.dsc" at Tue Dec 17 14:35:13 UTC 2019. [ 312s] -- Configure notifications at https://build.opensuse.org/my/notifications openSUSE Build Service (https://build.opensuse.org/)
Build failure of network:osmocom:nightly/osmo-remsim in Debian_10/i586
Visit https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/osmo-remsim/Debian_10/i586 Package network:osmocom:nightly/osmo-remsim failed to build in Debian_10/i586 Check out the package for editing: osc checkout network:osmocom:nightly osmo-remsim Last lines of build log: [ 275s] #define HAVE_STDLIB_H 1 [ 275s] #define HAVE_STRING_H 1 [ 275s] #define HAVE_MEMORY_H 1 [ 275s] #define HAVE_STRINGS_H 1 [ 275s] #define HAVE_INTTYPES_H 1 [ 275s] #define HAVE_STDINT_H 1 [ 275s] #define HAVE_UNISTD_H 1 [ 275s] #define HAVE_DLFCN_H 1 [ 275s] #define LT_OBJDIR ".libs/" [ 275s] #define PACKAGE "osmo-remsim" [ 275s] #define VERSION "0.2.2.26-bbd1" [ 275s] #define HAVE_CSV_H 1 [ 275s] [ 275s] configure: exit 1 [ 275s] dh_auto_configure: ./configure --build=i686-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-silent-rules --libdir=\${prefix}/lib/i386-linux-gnu --libexecdir=\${prefix}/lib/i386-linux-gnu --disable-maintainer-mode --disable-dependency-tracking --with-systemdsystemunitdir=/lib/systemd/system --enable-manuals returned exit code 1 [ 275s] make[1]: *** [debian/rules:15: override_dh_auto_configure] Error 2 [ 275s] make[1]: Leaving directory '/usr/src/packages/BUILD' [ 275s] make: *** [debian/rules:12: build] Error 2 [ 275s] dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2 [ 275s] [ 275s] wildcard2 failed "build osmo-remsim_0.2.2.26.bbd1.dsc" at Tue Dec 17 14:32:02 UTC 2019. [ 275s] [ 275s] ### VM INTERACTION START ### [ 278s] [ 259.973569] sysrq: SysRq : Power Off [ 278s] [ 259.976878] reboot: Power down [ 278s] ### VM INTERACTION END ### [ 278s] [ 278s] wildcard2 failed "build osmo-remsim_0.2.2.26.bbd1.dsc" at Tue Dec 17 14:32:06 UTC 2019. [ 278s] -- Configure notifications at https://build.opensuse.org/my/notifications openSUSE Build Service (https://build.opensuse.org/)
Change in osmo-e1d[master]: port to new libosmousb
laforge has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-e1d/+/16645 ) Change subject: port to new libosmousb .. port to new libosmousb libosmousb, recently introduced to libosmocore.git, is taking care of main loop integration of libusb into osmo_select_main(). This means we don't need to do any polling here anymore. Change-Id: I3f3b61dfa217d6ef8c17970b2cf1cc627bb13bbe --- M configure.ac M src/Makefile.am M src/osmo-e1d.c M src/usb.c 4 files changed, 6 insertions(+), 18 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-e1d refs/changes/45/16645/1 diff --git a/configure.ac b/configure.ac index 91d34e8..c0508eb 100644 --- a/configure.ac +++ b/configure.ac @@ -33,6 +33,7 @@ PKG_CHECK_MODULES(TALLOC, [talloc >= 2.0.1]) PKG_CHECK_MODULES(LIBOSMOCORE, libosmocore >= 1.0.1.120) +PKG_CHECK_MODULES(LIBOSMOUSB, libosmousb) PKG_CHECK_MODULES(LIBUSB, libusb-1.0 >= 1.0.21) AC_CONFIG_MACRO_DIR([m4]) diff --git a/src/Makefile.am b/src/Makefile.am index fd9ec35..2890554 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -4,7 +4,7 @@ LIBVERSION=0:0:0 AM_CPPFLAGS = $(all_includes) -I$(top_srcdir)/include -I$(top_builddir) -AM_CFLAGS=-Wall -Wno-unused-result $(LIBOSMOCORE_CFLAGS) $(LIBUSB_CFLAGS) +AM_CFLAGS=-Wall -Wno-unused-result $(LIBOSMOCORE_CFLAGS) $(LIBOSMOUSB_LIBS) $(LIBUSB_CFLAGS) lib_LTLIBRARIES = libosmo-e1d.la @@ -35,4 +35,4 @@ usb.c \ $(NULL) -osmo_e1d_LDADD = $(LIBOSMOCORE_LIBS) $(LIBUSB_LIBS) libosmo-e1d.la +osmo_e1d_LDADD = $(LIBOSMOCORE_LIBS) $(LIBOSMOUSB_LIBS) $(LIBUSB_LIBS) libosmo-e1d.la diff --git a/src/osmo-e1d.c b/src/osmo-e1d.c index fa3fc6c..92d98d3 100644 --- a/src/osmo-e1d.c +++ b/src/osmo-e1d.c @@ -42,7 +42,6 @@ extern struct osmo_e1dp_server_handler e1d_ctl_handlers[]; extern int e1_usb_probe(struct e1_daemon *e1d); -extern int e1_usb_poll(void); @@ -122,8 +121,7 @@ /* main loop */ while (!g_shutdown) { - osmo_select_main(1); - e1_usb_poll(); + osmo_select_main(0); } /* cleanup */ diff --git a/src/usb.c b/src/usb.c index 18e3053..19855f8 100644 --- a/src/usb.c +++ b/src/usb.c @@ -30,6 +30,7 @@ #include #include +#include #include @@ -572,7 +573,7 @@ int i, ret; if (!g_usb) { - ret = libusb_init(_usb); + ret = osmo_libusb_init(_usb); if (ret) { LOGP(DE1D, LOGL_ERROR, "Failed to initialize libusb\n"); return -EIO; @@ -602,15 +603,3 @@ return 0; } - -int -e1_usb_poll(void) -{ - int rv; - - rv = libusb_handle_events(g_usb); - if (rv != LIBUSB_SUCCESS) - return -EIO; - - return 0; -} -- To view, visit https://gerrit.osmocom.org/c/osmo-e1d/+/16645 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-e1d Gerrit-Branch: master Gerrit-Change-Id: I3f3b61dfa217d6ef8c17970b2cf1cc627bb13bbe Gerrit-Change-Number: 16645 Gerrit-PatchSet: 1 Gerrit-Owner: laforge Gerrit-MessageType: newchange
Build failure of network:osmocom:nightly/osmo-remsim in xUbuntu_18.10/i586
Visit https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/osmo-remsim/xUbuntu_18.10/i586 Package network:osmocom:nightly/osmo-remsim failed to build in xUbuntu_18.10/i586 Check out the package for editing: osc checkout network:osmocom:nightly osmo-remsim Last lines of build log: [ 349s] #define HAVE_STDLIB_H 1 [ 349s] #define HAVE_STRING_H 1 [ 349s] #define HAVE_MEMORY_H 1 [ 349s] #define HAVE_STRINGS_H 1 [ 349s] #define HAVE_INTTYPES_H 1 [ 349s] #define HAVE_STDINT_H 1 [ 349s] #define HAVE_UNISTD_H 1 [ 349s] #define HAVE_DLFCN_H 1 [ 349s] #define LT_OBJDIR ".libs/" [ 349s] #define PACKAGE "osmo-remsim" [ 349s] #define VERSION "0.2.2.26-bbd1" [ 349s] #define HAVE_CSV_H 1 [ 349s] [ 349s] configure: exit 1 [ 349s] dh_auto_configure: ./configure --build=i686-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-silent-rules --libdir=\${prefix}/lib/i386-linux-gnu --libexecdir=\${prefix}/lib/i386-linux-gnu --disable-maintainer-mode --disable-dependency-tracking --with-systemdsystemunitdir=/lib/systemd/system --enable-manuals returned exit code 1 [ 349s] make[1]: *** [debian/rules:15: override_dh_auto_configure] Error 2 [ 349s] make[1]: Leaving directory '/usr/src/packages/BUILD' [ 349s] make: *** [debian/rules:12: build] Error 2 [ 349s] dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2 [ 349s] [ 349s] lamb08 failed "build osmo-remsim_0.2.2.26.bbd1.dsc" at Tue Dec 17 14:21:01 UTC 2019. [ 349s] [ 349s] ### VM INTERACTION START ### [ 352s] [ 335.986302] sysrq: SysRq : Power Off [ 352s] [ 335.998938] reboot: Power down [ 352s] ### VM INTERACTION END ### [ 352s] [ 352s] lamb08 failed "build osmo-remsim_0.2.2.26.bbd1.dsc" at Tue Dec 17 14:21:04 UTC 2019. [ 352s] -- Configure notifications at https://build.opensuse.org/my/notifications openSUSE Build Service (https://build.opensuse.org/)
Change in libosmo-sccp[master]: stp: exit(2) on unsupported positional arguments on command line
laforge has submitted this change. ( https://gerrit.osmocom.org/c/libosmo-sccp/+/16644 ) Change subject: stp: exit(2) on unsupported positional arguments on command line .. stp: exit(2) on unsupported positional arguments on command line Change-Id: I70390948943fe42469b8c6d63babc232e857e60c --- M stp/stp_main.c 1 file changed, 5 insertions(+), 0 deletions(-) Approvals: Jenkins Builder: Verified laforge: Looks good to me, approved diff --git a/stp/stp_main.c b/stp/stp_main.c index 3923ed2..19420c0 100644 --- a/stp/stp_main.c +++ b/stp/stp_main.c @@ -127,6 +127,11 @@ break; } } + + if (argc > optind) { + fprintf(stderr, "Unsupported positional arguments in command line\n"); + exit(2); + } } static void signal_handler(int signal) -- To view, visit https://gerrit.osmocom.org/c/libosmo-sccp/+/16644 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: libosmo-sccp Gerrit-Branch: master Gerrit-Change-Id: I70390948943fe42469b8c6d63babc232e857e60c Gerrit-Change-Number: 16644 Gerrit-PatchSet: 2 Gerrit-Owner: laforge Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: laforge Gerrit-Reviewer: pespin Gerrit-MessageType: merged
Change in libosmo-sccp[master]: stp: exit(2) on unsupported positional arguments on command line
laforge has posted comments on this change. ( https://gerrit.osmocom.org/c/libosmo-sccp/+/16644 ) Change subject: stp: exit(2) on unsupported positional arguments on command line .. Patch Set 2: Code-Review+2 -- To view, visit https://gerrit.osmocom.org/c/libosmo-sccp/+/16644 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: libosmo-sccp Gerrit-Branch: master Gerrit-Change-Id: I70390948943fe42469b8c6d63babc232e857e60c Gerrit-Change-Number: 16644 Gerrit-PatchSet: 2 Gerrit-Owner: laforge Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: laforge Gerrit-Reviewer: pespin Gerrit-Comment-Date: Tue, 17 Dec 2019 14:12:39 + Gerrit-HasComments: No Gerrit-Has-Labels: Yes Gerrit-MessageType: comment
Change in libosmo-sccp[master]: ASP FSM: Permit DOWN -> DOWN "transition"
laforge has submitted this change. ( https://gerrit.osmocom.org/c/libosmo-sccp/+/15976 ) Change subject: ASP FSM: Permit DOWN -> DOWN "transition" .. ASP FSM: Permit DOWN -> DOWN "transition" let's avoid messages like DLSS7 <000c> xua_asp_fsm.c:600 XUA_ASP(asp-client0){ASP_DOWN}: transition to state ASP_DOWN not permitted! Change-Id: Iabbcf92e3022a4c3f165ce19be929915f92b455c --- M src/xua_asp_fsm.c 1 file changed, 2 insertions(+), 1 deletion(-) Approvals: Jenkins Builder: Verified laforge: Looks good to me, approved pespin: Looks good to me, but someone else must approve diff --git a/src/xua_asp_fsm.c b/src/xua_asp_fsm.c index 9f30559..2fe2c8a 100644 --- a/src/xua_asp_fsm.c +++ b/src/xua_asp_fsm.c @@ -705,7 +705,8 @@ S(XUA_ASP_E_ASPSM_ASPUP_ACK) | S(XUA_ASP_E_ASPSM_ASPDN) | S(XUA_ASP_E_SCTP_EST_IND), - .out_state_mask = S(XUA_ASP_S_INACTIVE), + .out_state_mask = S(XUA_ASP_S_INACTIVE) | + S(XUA_ASP_S_DOWN), .name = "ASP_DOWN", .action = xua_asp_fsm_down, .onenter = xua_asp_fsm_down_onenter, -- To view, visit https://gerrit.osmocom.org/c/libosmo-sccp/+/15976 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: libosmo-sccp Gerrit-Branch: master Gerrit-Change-Id: Iabbcf92e3022a4c3f165ce19be929915f92b455c Gerrit-Change-Number: 15976 Gerrit-PatchSet: 6 Gerrit-Owner: laforge Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: laforge Gerrit-Reviewer: pespin Gerrit-MessageType: merged
Change in osmo-ccid-firmware[master]: add talloc_log_fn() to print talloc errors
Hello Jenkins Builder, I'd like you to reexamine a change. Please visit https://gerrit.osmocom.org/c/osmo-ccid-firmware/+/16037 to look at the new patch set (#2). Change subject: add talloc_log_fn() to print talloc errors .. add talloc_log_fn() to print talloc errors Change-Id: I7c7dac94eb813d963fc0312d808bd0674243f9e2 --- M sysmoOCTSIM/main.c 1 file changed, 5 insertions(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-ccid-firmware refs/changes/37/16037/2 -- To view, visit https://gerrit.osmocom.org/c/osmo-ccid-firmware/+/16037 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-ccid-firmware Gerrit-Branch: master Gerrit-Change-Id: I7c7dac94eb813d963fc0312d808bd0674243f9e2 Gerrit-Change-Number: 16037 Gerrit-PatchSet: 2 Gerrit-Owner: laforge Gerrit-Reviewer: Jenkins Builder Gerrit-MessageType: newpatchset
Change in osmo-ccid-firmware[master]: add panic handler printing talloc context
Hello Jenkins Builder, I'd like you to reexamine a change. Please visit https://gerrit.osmocom.org/c/osmo-ccid-firmware/+/16038 to look at the new patch set (#2). Change subject: add panic handler printing talloc context .. add panic handler printing talloc context Change-Id: I0f3a112b67dc94aaee2ee788976e14eeda4e452d --- M sysmoOCTSIM/main.c 1 file changed, 7 insertions(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-ccid-firmware refs/changes/38/16038/2 -- To view, visit https://gerrit.osmocom.org/c/osmo-ccid-firmware/+/16038 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-ccid-firmware Gerrit-Branch: master Gerrit-Change-Id: I0f3a112b67dc94aaee2ee788976e14eeda4e452d Gerrit-Change-Number: 16038 Gerrit-PatchSet: 2 Gerrit-Owner: laforge Gerrit-Reviewer: Jenkins Builder Gerrit-MessageType: newpatchset
Build failure of network:osmocom:nightly/simtrace2 in xUbuntu_16.04/i586
Visit https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/simtrace2/xUbuntu_16.04/i586 Package network:osmocom:nightly/simtrace2 failed to build in xUbuntu_16.04/i586 Check out the package for editing: osc checkout network:osmocom:nightly simtrace2 Last lines of build log: [ 238s] /usr/src/packages/BUILD/firmware/apps/dfu/main.c:360: warning: undefined reference to `__stack_chk_guard' [ 238s] obj/simtrace/flash_dfu_desc.o: In function `set_usb_serial_str': [ 238s] /usr/src/packages/BUILD/firmware/./atmel_softpack_libraries/usb/device/dfu/dfu_desc.c:186: warning: undefined reference to `__stack_chk_fail' [ 238s] /usr/src/packages/BUILD/firmware/./atmel_softpack_libraries/usb/device/dfu/dfu_desc.c:186: warning: undefined reference to `__stack_chk_guard' [ 238s] obj/simtrace/flash_dfu_driver.o: In function `handle_getstate': [ 238s] /usr/src/packages/BUILD/firmware/./atmel_softpack_libraries/usb/device/dfu/dfu_driver.c:91: warning: undefined reference to `__stack_chk_fail' [ 238s] /usr/src/packages/BUILD/firmware/./atmel_softpack_libraries/usb/device/dfu/dfu_driver.c:91: warning: undefined reference to `__stack_chk_guard' [ 238s] collect2: error: ld returned 1 exit status [ 238s] % [ 238s] Makefile:233: recipe for target 'flash' failed [ 238s] make[2]: *** [flash] Error 1 [ 238s] make[2]: Leaving directory '/usr/src/packages/BUILD/firmware' [ 238s] Makefile:10: recipe for target 'fw-simtrace-dfu' failed [ 238s] make[1]: *** [fw-simtrace-dfu] Error 2 [ 238s] make[1]: Leaving directory '/usr/src/packages/BUILD' [ 238s] dh_auto_build: make -j1 returned exit code 2 [ 238s] debian/rules:16: recipe for target 'build' failed [ 238s] make: *** [build] Error 2 [ 238s] dpkg-buildpackage: error: debian/rules build gave error exit status 2 [ 238s] [ 238s] lamb52 failed "build simtrace2_0.7.0.36.56360.dsc" at Tue Dec 17 14:07:44 UTC 2019. [ 238s] [ 238s] ### VM INTERACTION START ### [ 241s] [ 209.761090] sysrq: SysRq : Power Off [ 241s] [ 209.786347] reboot: Power down [ 241s] ### VM INTERACTION END ### [ 241s] [ 241s] lamb52 failed "build simtrace2_0.7.0.36.56360.dsc" at Tue Dec 17 14:07:47 UTC 2019. [ 241s] -- Configure notifications at https://build.opensuse.org/my/notifications openSUSE Build Service (https://build.opensuse.org/)
Build failure of network:osmocom:nightly/osmo-remsim in Debian_9.0/i586
Visit https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/osmo-remsim/Debian_9.0/i586 Package network:osmocom:nightly/osmo-remsim failed to build in Debian_9.0/i586 Check out the package for editing: osc checkout network:osmocom:nightly osmo-remsim Last lines of build log: [ 236s] #define HAVE_MEMORY_H 1 [ 236s] #define HAVE_STRINGS_H 1 [ 236s] #define HAVE_INTTYPES_H 1 [ 236s] #define HAVE_STDINT_H 1 [ 236s] #define HAVE_UNISTD_H 1 [ 236s] #define HAVE_DLFCN_H 1 [ 236s] #define LT_OBJDIR ".libs/" [ 236s] #define PACKAGE "osmo-remsim" [ 236s] #define VERSION "0.2.2.26-bbd1" [ 236s] #define HAVE_CSV_H 1 [ 236s] [ 236s] configure: exit 1 [ 236s] dh_auto_configure: ./configure --build=i686-linux-gnu --prefix=/usr --includedir=${prefix}/include --mandir=${prefix}/share/man --infodir=${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-silent-rules --libdir=${prefix}/lib/i386-linux-gnu --libexecdir=${prefix}/lib/i386-linux-gnu --disable-maintainer-mode --disable-dependency-tracking --with-systemdsystemunitdir=/lib/systemd/system --enable-manuals returned exit code 1 [ 236s] debian/rules:15: recipe for target 'override_dh_auto_configure' failed [ 236s] make[1]: *** [override_dh_auto_configure] Error 2 [ 236s] make[1]: Leaving directory '/usr/src/packages/BUILD' [ 236s] debian/rules:12: recipe for target 'build' failed [ 236s] make: *** [build] Error 2 [ 236s] dpkg-buildpackage: error: debian/rules build gave error exit status 2 [ 236s] [ 236s] lamb15 failed "build osmo-remsim_0.2.2.26.bbd1.dsc" at Tue Dec 17 14:06:48 UTC 2019. [ 236s] [ 236s] ### VM INTERACTION START ### [ 240s] [ 224.390482] sysrq: SysRq : Power Off [ 240s] [ 224.400408] reboot: Power down [ 240s] ### VM INTERACTION END ### [ 240s] [ 240s] lamb15 failed "build osmo-remsim_0.2.2.26.bbd1.dsc" at Tue Dec 17 14:06:52 UTC 2019. [ 240s] -- Configure notifications at https://build.opensuse.org/my/notifications openSUSE Build Service (https://build.opensuse.org/)
Build failure of network:osmocom:nightly/simtrace2 in xUbuntu_16.04/x86_64
Visit https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/simtrace2/xUbuntu_16.04/x86_64 Package network:osmocom:nightly/simtrace2 failed to build in xUbuntu_16.04/x86_64 Check out the package for editing: osc checkout network:osmocom:nightly simtrace2 Last lines of build log: [ 73s] /usr/src/packages/BUILD/firmware/apps/dfu/main.c:360: warning: undefined reference to `__stack_chk_guard' [ 73s] obj/simtrace/flash_dfu_desc.o: In function `set_usb_serial_str': [ 73s] /usr/src/packages/BUILD/firmware/./atmel_softpack_libraries/usb/device/dfu/dfu_desc.c:186: warning: undefined reference to `__stack_chk_fail' [ 73s] /usr/src/packages/BUILD/firmware/./atmel_softpack_libraries/usb/device/dfu/dfu_desc.c:186: warning: undefined reference to `__stack_chk_guard' [ 73s] obj/simtrace/flash_dfu_driver.o: In function `handle_getstate': [ 73s] /usr/src/packages/BUILD/firmware/./atmel_softpack_libraries/usb/device/dfu/dfu_driver.c:91: warning: undefined reference to `__stack_chk_fail' [ 73s] /usr/src/packages/BUILD/firmware/./atmel_softpack_libraries/usb/device/dfu/dfu_driver.c:91: warning: undefined reference to `__stack_chk_guard' [ 73s] collect2: error: ld returned 1 exit status [ 73s] % [ 73s] Makefile:233: recipe for target 'flash' failed [ 73s] make[2]: *** [flash] Error 1 [ 73s] make[2]: Leaving directory '/usr/src/packages/BUILD/firmware' [ 74s] Makefile:10: recipe for target 'fw-simtrace-dfu' failed [ 74s] make[1]: *** [fw-simtrace-dfu] Error 2 [ 74s] make[1]: Leaving directory '/usr/src/packages/BUILD' [ 74s] dh_auto_build: make -j1 returned exit code 2 [ 74s] debian/rules:16: recipe for target 'build' failed [ 74s] make: *** [build] Error 2 [ 74s] dpkg-buildpackage: error: debian/rules build gave error exit status 2 [ 74s] [ 74s] build82 failed "build simtrace2_0.7.0.36.56360.dsc" at Tue Dec 17 14:04:20 UTC 2019. [ 74s] [ 74s] ### VM INTERACTION START ### [ 77s] [ 66.097401] sysrq: SysRq : Power Off [ 77s] [ 66.100845] reboot: Power down [ 77s] ### VM INTERACTION END ### [ 77s] [ 77s] build82 failed "build simtrace2_0.7.0.36.56360.dsc" at Tue Dec 17 14:04:24 UTC 2019. [ 77s] -- Configure notifications at https://build.opensuse.org/my/notifications openSUSE Build Service (https://build.opensuse.org/)
Change in libosmo-sccp[master]: stp: exit(2) on unsupported positional arguments on command line
Hello pespin, Jenkins Builder, I'd like you to reexamine a change. Please visit https://gerrit.osmocom.org/c/libosmo-sccp/+/16644 to look at the new patch set (#2). Change subject: stp: exit(2) on unsupported positional arguments on command line .. stp: exit(2) on unsupported positional arguments on command line Change-Id: I70390948943fe42469b8c6d63babc232e857e60c --- M stp/stp_main.c 1 file changed, 5 insertions(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/libosmo-sccp refs/changes/44/16644/2 -- To view, visit https://gerrit.osmocom.org/c/libosmo-sccp/+/16644 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: libosmo-sccp Gerrit-Branch: master Gerrit-Change-Id: I70390948943fe42469b8c6d63babc232e857e60c Gerrit-Change-Number: 16644 Gerrit-PatchSet: 2 Gerrit-Owner: laforge Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: pespin Gerrit-MessageType: newpatchset
Change in libosmo-sccp[master]: ASP: Stop re-transmitting un-acknowledged messages on SCTP down event
Hello Jenkins Builder, I'd like you to reexamine a change. Please visit https://gerrit.osmocom.org/c/libosmo-sccp/+/15977 to look at the new patch set (#5). Change subject: ASP: Stop re-transmitting un-acknowledged messages on SCTP down event .. ASP: Stop re-transmitting un-acknowledged messages on SCTP down event We don't want to attempt to re-transmit if we lost the connection: DLSS7 <000c> xua_asp_fsm.c:251 XUA_ASP(asp-client0){ASP_DOWN}: T(ack) callback: re-transmitting event ASPSM-ASP_UP DLSS7 <000c> osmo_ss7.c:1833 0: asp-asp-client0: Cannot transmit, asp->client not connected DLSS7 <000c> xua_asp_fsm.c:251 XUA_ASP(asp-client0){ASP_DOWN}: T(ack) callback: re-transmitting event ASPSM-ASP_UP DLSS7 <000c> osmo_ss7.c:1833 0: asp-asp-client0: Cannot transmit, asp->client not connected DLSS7 <000c> xua_asp_fsm.c:251 XUA_ASP(asp-client0){ASP_DOWN}: T(ack) callback: re-transmitting event ASPSM-ASP_UP DLSS7 <000c> osmo_ss7.c:1833 0: asp-asp-client0: Cannot transmit, asp->client not connected DLSS7 <000c> xua_asp_fsm.c:251 XUA_ASP(asp-client0){ASP_DOWN}: T(ack) callback: re-transmitting event ASPSM-ASP_UP DLSS7 <000c> osmo_ss7.c:1833 0: asp-asp-client0: Cannot transmit, asp->client not connected DLSS7 <000c> xua_asp_fsm.c:251 XUA_ASP(asp-client0){ASP_DOWN}: T(ack) callback: re-transmitting event ASPSM-ASP_UP Change-Id: Ic8da646d22d3120121d9af43a890762a879f9d74 --- M src/xua_asp_fsm.c 1 file changed, 2 insertions(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/libosmo-sccp refs/changes/77/15977/5 -- To view, visit https://gerrit.osmocom.org/c/libosmo-sccp/+/15977 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: libosmo-sccp Gerrit-Branch: master Gerrit-Change-Id: Ic8da646d22d3120121d9af43a890762a879f9d74 Gerrit-Change-Number: 15977 Gerrit-PatchSet: 5 Gerrit-Owner: laforge Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: laforge Gerrit-CC: pespin Gerrit-MessageType: newpatchset
Change in libosmo-sccp[master]: ASP: Stop re-transmitting un-acknowledged messages on SCTP down event
laforge has posted comments on this change. ( https://gerrit.osmocom.org/c/libosmo-sccp/+/15977 ) Change subject: ASP: Stop re-transmitting un-acknowledged messages on SCTP down event .. Patch Set 3: (2 comments) https://gerrit.osmocom.org/c/libosmo-sccp/+/15977/3//COMMIT_MSG Commit Message: https://gerrit.osmocom.org/c/libosmo-sccp/+/15977/3//COMMIT_MSG@9 PS3, Line 9: We don't want to attempt to re-transimt if we lots the connection: > If we have lots of connections it's fine re-transimting! […] Done https://gerrit.osmocom.org/c/libosmo-sccp/+/15977/3/src/xua_asp_fsm.c File src/xua_asp_fsm.c: https://gerrit.osmocom.org/c/libosmo-sccp/+/15977/3/src/xua_asp_fsm.c@605 PS3, Line 605: osmo_timer_del(>t_ack.timer); > will the timer be armed again when we re-gain connectivity? or are we simply > dropping everything on […] which queue are you referring to? This timer has no queue associated with it, it is simply storing the message type of the last to-be-acknowledged message we sent, so we know what to re-transmit in case it wasn't ACKed by the peer. -- To view, visit https://gerrit.osmocom.org/c/libosmo-sccp/+/15977 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: libosmo-sccp Gerrit-Branch: master Gerrit-Change-Id: Ic8da646d22d3120121d9af43a890762a879f9d74 Gerrit-Change-Number: 15977 Gerrit-PatchSet: 3 Gerrit-Owner: laforge Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: laforge Gerrit-CC: pespin Gerrit-Comment-Date: Tue, 17 Dec 2019 14:01:41 + Gerrit-HasComments: Yes Gerrit-Has-Labels: No Comment-In-Reply-To: pespin Gerrit-MessageType: comment
Build failure of network:osmocom:nightly/osmo-remsim in Debian_9.0/aarch64
Visit https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/osmo-remsim/Debian_9.0/aarch64 Package network:osmocom:nightly/osmo-remsim failed to build in Debian_9.0/aarch64 Check out the package for editing: osc checkout network:osmocom:nightly osmo-remsim Last lines of build log: [ 377s] #define HAVE_MEMORY_H 1 [ 377s] #define HAVE_STRINGS_H 1 [ 377s] #define HAVE_INTTYPES_H 1 [ 377s] #define HAVE_STDINT_H 1 [ 377s] #define HAVE_UNISTD_H 1 [ 377s] #define HAVE_DLFCN_H 1 [ 377s] #define LT_OBJDIR ".libs/" [ 377s] #define PACKAGE "osmo-remsim" [ 377s] #define VERSION "0.2.2.26-bbd1" [ 377s] #define HAVE_CSV_H 1 [ 377s] [ 377s] configure: exit 1 [ 378s] dh_auto_configure: ./configure --build=aarch64-linux-gnu --prefix=/usr --includedir=${prefix}/include --mandir=${prefix}/share/man --infodir=${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-silent-rules --libdir=${prefix}/lib/aarch64-linux-gnu --libexecdir=${prefix}/lib/aarch64-linux-gnu --disable-maintainer-mode --disable-dependency-tracking --with-systemdsystemunitdir=/lib/systemd/system --enable-manuals returned exit code 1 [ 378s] debian/rules:15: recipe for target 'override_dh_auto_configure' failed [ 378s] make[1]: *** [override_dh_auto_configure] Error 2 [ 378s] make[1]: Leaving directory '/usr/src/packages/BUILD' [ 378s] debian/rules:12: recipe for target 'build' failed [ 378s] make: *** [build] Error 2 [ 378s] dpkg-buildpackage: error: debian/rules build gave error exit status 2 [ 378s] [ 378s] obs-arm-9 failed "build osmo-remsim_0.2.2.26.bbd1.dsc" at Tue Dec 17 14:00:33 UTC 2019. [ 378s] [ 378s] ### VM INTERACTION START ### [ 380s] [ 362.802677] sysrq: Power Off [ 380s] [ 362.868750] reboot: Power down [ 380s] ### VM INTERACTION END ### [ 380s] [ 380s] obs-arm-9 failed "build osmo-remsim_0.2.2.26.bbd1.dsc" at Tue Dec 17 14:00:37 UTC 2019. [ 380s] -- Configure notifications at https://build.opensuse.org/my/notifications openSUSE Build Service (https://build.opensuse.org/)
Build failure of network:osmocom:nightly/osmo-remsim in Debian_10/aarch64
Visit https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/osmo-remsim/Debian_10/aarch64 Package network:osmocom:nightly/osmo-remsim failed to build in Debian_10/aarch64 Check out the package for editing: osc checkout network:osmocom:nightly osmo-remsim Last lines of build log: [ 352s] #define HAVE_STDLIB_H 1 [ 352s] #define HAVE_STRING_H 1 [ 352s] #define HAVE_MEMORY_H 1 [ 352s] #define HAVE_STRINGS_H 1 [ 352s] #define HAVE_INTTYPES_H 1 [ 352s] #define HAVE_STDINT_H 1 [ 352s] #define HAVE_UNISTD_H 1 [ 352s] #define HAVE_DLFCN_H 1 [ 352s] #define LT_OBJDIR ".libs/" [ 352s] #define PACKAGE "osmo-remsim" [ 352s] #define VERSION "0.2.2.26-bbd1" [ 352s] #define HAVE_CSV_H 1 [ 352s] [ 352s] configure: exit 1 [ 352s] dh_auto_configure: ./configure --build=aarch64-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-silent-rules --libdir=\${prefix}/lib/aarch64-linux-gnu --libexecdir=\${prefix}/lib/aarch64-linux-gnu --disable-maintainer-mode --disable-dependency-tracking --with-systemdsystemunitdir=/lib/systemd/system --enable-manuals returned exit code 1 [ 352s] make[1]: *** [debian/rules:15: override_dh_auto_configure] Error 2 [ 352s] make[1]: Leaving directory '/usr/src/packages/BUILD' [ 352s] make: *** [debian/rules:12: build] Error 2 [ 352s] dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2 [ 352s] [ 352s] obs-arm-7 failed "build osmo-remsim_0.2.2.26.bbd1.dsc" at Tue Dec 17 13:58:06 UTC 2019. [ 352s] [ 352s] ### VM INTERACTION START ### [ 355s] [ 337.192047] sysrq: Power Off [ 355s] [ 337.218389] reboot: Power down [ 356s] ### VM INTERACTION END ### [ 356s] [ 356s] obs-arm-7 failed "build osmo-remsim_0.2.2.26.bbd1.dsc" at Tue Dec 17 13:58:11 UTC 2019. [ 356s] -- Configure notifications at https://build.opensuse.org/my/notifications openSUSE Build Service (https://build.opensuse.org/)
Change in libosmo-sccp[master]: stp: exit(2) on unsupported positional arguments on command line
pespin has posted comments on this change. ( https://gerrit.osmocom.org/c/libosmo-sccp/+/16644 ) Change subject: stp: exit(2) on unsupported positional arguments on command line .. Patch Set 1: Code-Review-1 (1 comment) https://gerrit.osmocom.org/c/libosmo-sccp/+/16644/1/stp/stp_main.c File stp/stp_main.c: https://gerrit.osmocom.org/c/libosmo-sccp/+/16644/1/stp/stp_main.c@132 PS1, Line 132: fprintf(stderr, "Unsuppoerted positional arguments in command line\n"); typo: Unsupported -- To view, visit https://gerrit.osmocom.org/c/libosmo-sccp/+/16644 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: libosmo-sccp Gerrit-Branch: master Gerrit-Change-Id: I70390948943fe42469b8c6d63babc232e857e60c Gerrit-Change-Number: 16644 Gerrit-PatchSet: 1 Gerrit-Owner: laforge Gerrit-Reviewer: pespin Gerrit-CC: Jenkins Builder Gerrit-Comment-Date: Tue, 17 Dec 2019 13:57:34 + Gerrit-HasComments: Yes Gerrit-Has-Labels: Yes Gerrit-MessageType: comment
Change in libosmo-sccp[master]: stp: exit(2) on unsupported positional arguments on command line
laforge has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmo-sccp/+/16644 ) Change subject: stp: exit(2) on unsupported positional arguments on command line .. stp: exit(2) on unsupported positional arguments on command line Change-Id: I70390948943fe42469b8c6d63babc232e857e60c --- M stp/stp_main.c 1 file changed, 5 insertions(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/libosmo-sccp refs/changes/44/16644/1 diff --git a/stp/stp_main.c b/stp/stp_main.c index 3923ed2..61502c8 100644 --- a/stp/stp_main.c +++ b/stp/stp_main.c @@ -127,6 +127,11 @@ break; } } + + if (argc > optind) { + fprintf(stderr, "Unsuppoerted positional arguments in command line\n"); + exit(2); + } } static void signal_handler(int signal) -- To view, visit https://gerrit.osmocom.org/c/libosmo-sccp/+/16644 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: libosmo-sccp Gerrit-Branch: master Gerrit-Change-Id: I70390948943fe42469b8c6d63babc232e857e60c Gerrit-Change-Number: 16644 Gerrit-PatchSet: 1 Gerrit-Owner: laforge Gerrit-MessageType: newchange
Change in libosmo-sccp[master]: ASP FSM: Permit DOWN -> DOWN "transition"
laforge has posted comments on this change. ( https://gerrit.osmocom.org/c/libosmo-sccp/+/15976 ) Change subject: ASP FSM: Permit DOWN -> DOWN "transition" .. Patch Set 4: Code-Review+2 -- To view, visit https://gerrit.osmocom.org/c/libosmo-sccp/+/15976 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: libosmo-sccp Gerrit-Branch: master Gerrit-Change-Id: Iabbcf92e3022a4c3f165ce19be929915f92b455c Gerrit-Change-Number: 15976 Gerrit-PatchSet: 4 Gerrit-Owner: laforge Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: laforge Gerrit-Reviewer: pespin Gerrit-Comment-Date: Tue, 17 Dec 2019 13:54:32 + Gerrit-HasComments: No Gerrit-Has-Labels: Yes Gerrit-MessageType: comment
Change in osmo-ttcn3-hacks[master]: pcu: send UL CONTROL ACK triggered by DL ACK/NACK
laforge has removed a vote from this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/16501 ) Change subject: pcu: send UL CONTROL ACK triggered by DL ACK/NACK .. Removed Code-Review-1 by fixeria -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/16501 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: Ib409394257427cfc62da08fe06ce6c001dcf608a Gerrit-Change-Number: 16501 Gerrit-PatchSet: 4 Gerrit-Owner: pespin Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: fixeria Gerrit-Reviewer: laforge Gerrit-Reviewer: pespin Gerrit-MessageType: deleteVote
Change in osmo-ttcn3-hacks[master]: pcu: Introduce test TC_t3193
laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/16508 ) Change subject: pcu: Introduce test TC_t3193 .. pcu: Introduce test TC_t3193 Change-Id: Ib11cd1793d985ff609b10b0e60bddadd5fcfa6d2 --- M library/RLCMAC_Types.ttcn M pcu/PCU_Tests_RAW.ttcn 2 files changed, 91 insertions(+), 0 deletions(-) Approvals: laforge: Looks good to me, approved Jenkins Builder: Verified diff --git a/library/RLCMAC_Types.ttcn b/library/RLCMAC_Types.ttcn index 3a1ecb1..7043785 100644 --- a/library/RLCMAC_Types.ttcn +++ b/library/RLCMAC_Types.ttcn @@ -361,6 +361,29 @@ } } + template RlcmacDlBlock tr_RLCMAC_DL_PACKET_ASS(template uint3_t usf := ?) := { + ctrl := { + mac_hdr := { + payload_type := (MAC_PT_RLCMAC_NO_OPT, MAC_PT_RLCMAC_OPT), + rrbp:= ?, + rrbp_valid := ?, + usf := usf + }, + opt := *, + payload := { + msg_type := PACKET_DL_ASSIGNMENT, + u := { + dl_assignment := { + page_mode := ?, + pres1 := ?, + persistence_levels := *, + tfi_or_tlli := ? + } + } + } + } + } + /* Receive Template for Uplink ACK/NACK */ template RlcmacDlBlock tr_RLCMAC_UL_ACK_NACK(template uint5_t ul_tfi, template GprsTlli tlli := ?) := { ctrl := { diff --git a/pcu/PCU_Tests_RAW.ttcn b/pcu/PCU_Tests_RAW.ttcn index 51b8ddf..2fc42c1 100644 --- a/pcu/PCU_Tests_RAW.ttcn +++ b/pcu/PCU_Tests_RAW.ttcn @@ -797,6 +797,19 @@ } } +private function f_rx_rlcmac_dl_block_exp_pkt_ass(out RlcmacDlBlock dl_block, out uint32_t poll_fn) +runs on RAW_PCU_Test_CT { + var uint32_t dl_fn; + + f_rx_rlcmac_dl_block(dl_block, dl_fn); + if (not match(dl_block, tr_RLCMAC_DL_PACKET_ASS())) { + setverdict(fail, "Failed to match Packet Downlink Assignment"); + mtc.stop; + } + + poll_fn := dl_fn + f_rrbp_fn_delay(dl_block.ctrl.mac_hdr.rrbp); +} + private function f_rx_rlcmac_dl_block_exp_data(out RlcmacDlBlock dl_block, out uint32_t ack_fn, octetstring data, template (present) uint7_t exp_bsn := ?) runs on RAW_PCU_Test_CT { var PCUIF_Message pcu_msg; @@ -1402,6 +1415,60 @@ f_rx_rlcmac_dl_block_exp_dummy(dl_block); } +/* Verify that a Downlink TBF can be assigned using PACCH shortly after the + * release of prev DL TBF due to MS staying in PDCH for a while (T3192, in PCU + * T3193) after DL TBF release */ +testcase TC_t3193() runs on RAW_PCU_Test_CT { + var GsmRrMessage rr_imm_ass; + var PacketDlAssign dl_tbf_ass; + var RlcmacDlBlock dl_block; + var octetstring data := f_rnd_octstring(10); + var boolean ok; + var uint32_t sched_fn; + var OCT4 tlli := '0001'O; + var AckNackDescription ack_nack_desc := valueof(t_AckNackDescription_init); + + /* Initialize NS/BSSGP side */ + f_init_bssgp(); + + /* Initialize the PCU interface abstraction */ + f_init_raw(testcasename()); + + /* Establish BSSGP connection to the PCU */ + f_bssgp_establish(); + f_bssgp_client_llgmm_assign(''O, tlli); + + /* SGSN sends some DL data, PCU will page on CCCH (PCH) */ + BSSGP[0].send(ts_BSSGP_DL_UD(tlli, data)); + f_pcuif_rx_pch_imm_tbf_ass(rr_imm_ass); + ok := f_imm_ass_verify_dl_tbf_ass(rr_imm_ass, dl_tbf_ass); + if (not ok) { + setverdict(fail, "Immediate Assignment not a Downlink TBF"); + mtc.stop; + } + /* Wait timer X2002 and DL block is available after CCCH IMM ASS: */ + f_sleep(X2002); + f_rx_rlcmac_dl_block_exp_data(dl_block, sched_fn, data, 0); + + /* ACK the DL block */ + f_acknackdesc_ack_block(ack_nack_desc, dl_block.data.mac_hdr.hdr_ext.bsn, '1'B); + f_tx_rlcmac_ul_block(ts_RLCMAC_DL_ACK_NACK(dl_block.data.mac_hdr.hdr_ext.tfi, ack_nack_desc), 0, sched_fn); + /* we are done with the DL-TBF here so far, let's clean up our local state: */ + ack_nack_desc := valueof(t_AckNackDescription_init) + + /* Now that final DL block is ACKED and TBF is released, T3193 in PCU + (T3192 in MS) was started and until it fires the MS will be abailable + on PDCH in case new data arrives from SGSN. Let's verify it: */ + BSSGP[0].send(ts_BSSGP_DL_UD(tlli, data)); +
Change in osmo-ttcn3-hacks[master]: pcu: Introduce test TC_imm_ass_dl_block_retrans
laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/16507 ) Change subject: pcu: Introduce test TC_imm_ass_dl_block_retrans .. pcu: Introduce test TC_imm_ass_dl_block_retrans Change-Id: Icc60cebb8583c9dc97b658def69f17e6efced384 --- M pcu/PCU_Tests_RAW.ttcn 1 file changed, 55 insertions(+), 0 deletions(-) Approvals: laforge: Looks good to me, approved Jenkins Builder: Verified diff --git a/pcu/PCU_Tests_RAW.ttcn b/pcu/PCU_Tests_RAW.ttcn index cf630d3..51b8ddf 100644 --- a/pcu/PCU_Tests_RAW.ttcn +++ b/pcu/PCU_Tests_RAW.ttcn @@ -1467,6 +1467,60 @@ f_tx_rlcmac_ul_block(ts_RLCMAC_DL_ACK_NACK(dl_block.data.mac_hdr.hdr_ext.tfi, ack_nack_desc), 0, sched_fn); } +/* Verify that if PCU doesn't get an ACK for first DL block after IMM ASS, it + * will retry by retransmitting both the IMM ASS + DL block after poll (ack) + * timeout occurs (specified by sent RRBP on DL block). */ +testcase TC_imm_ass_dl_block_retrans() runs on RAW_PCU_Test_CT { + var GsmRrMessage rr_imm_ass; + var PacketDlAssign dl_tbf_ass; + var RlcmacDlBlock dl_block; + var octetstring data := f_rnd_octstring(10); + var boolean ok; + var uint32_t sched_fn; + var OCT4 tlli := '0001'O; + var AckNackDescription ack_nack_desc := valueof(t_AckNackDescription_init); + + /* Initialize NS/BSSGP side */ + f_init_bssgp(); + + /* Initialize the PCU interface abstraction */ + f_init_raw(testcasename()); + + /* Establish BSSGP connection to the PCU */ + f_bssgp_establish(); + f_bssgp_client_llgmm_assign(''O, tlli); + + /* SGSN sends some DL data, PCU will page on CCCH (PCH) */ + BSSGP[0].send(ts_BSSGP_DL_UD(tlli, data)); + f_pcuif_rx_pch_imm_tbf_ass(rr_imm_ass); + ok := f_imm_ass_verify_dl_tbf_ass(rr_imm_ass, dl_tbf_ass); + if (not ok) { + setverdict(fail, "Immediate Assignment not a Downlink TBF"); + mtc.stop; + } + + /* Wait timer X2002 and DL block is available after CCCH IMM ASS: */ + f_sleep(X2002); + f_rx_rlcmac_dl_block_exp_data(dl_block, sched_fn, data, 0); + + /* Now we don't ack the dl block (emulate MS failed receiveing IMM ASS +* or GPRS DL, or DL ACK was lost for some reason). As a result, PCU +* should retrigger IMM ASS + GPRS DL procedure after poll timeout. */ + f_pcuif_rx_pch_imm_tbf_ass(rr_imm_ass); + ok := f_imm_ass_verify_dl_tbf_ass(rr_imm_ass, dl_tbf_ass); + if (not ok) { + setverdict(fail, "Immediate Assignment not a Downlink TBF"); + mtc.stop; + } + /* Wait timer X2002 and DL block is available after CCCH IMM ASS: */ + f_sleep(X2002); + f_rx_rlcmac_dl_block_exp_data(dl_block, sched_fn, data, 0); + + /* ACK the DL block */ + f_acknackdesc_ack_block(ack_nack_desc, dl_block.data.mac_hdr.hdr_ext.bsn, '1'B); + f_tx_rlcmac_ul_block(ts_RLCMAC_DL_ACK_NACK(dl_block.data.mac_hdr.hdr_ext.tfi, ack_nack_desc), 0, sched_fn); +} + control { execute( TC_ns_reset() ); execute( TC_ns_reset_retrans() ); @@ -1486,6 +1540,7 @@ execute( TC_cs_max_ul() ); execute( TC_t3169() ); execute( TC_mo_ping_pong() ); + execute( TC_imm_ass_dl_block_retrans() ); } -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/16507 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: Icc60cebb8583c9dc97b658def69f17e6efced384 Gerrit-Change-Number: 16507 Gerrit-PatchSet: 3 Gerrit-Owner: pespin Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: fixeria Gerrit-Reviewer: laforge Gerrit-MessageType: merged
Change in osmo-ttcn3-hacks[master]: pcu: Introduce helpers to update AckNackDescription
laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/16502 ) Change subject: pcu: Introduce helpers to update AckNackDescription .. pcu: Introduce helpers to update AckNackDescription Change-Id: Ic62ab9e4a854239b95c434068543d95c5352f1c6 --- M pcu/PCU_Tests_RAW.ttcn 1 file changed, 41 insertions(+), 8 deletions(-) Approvals: laforge: Looks good to me, approved Jenkins Builder: Verified diff --git a/pcu/PCU_Tests_RAW.ttcn b/pcu/PCU_Tests_RAW.ttcn index bc0cb7f..cf630d3 100644 --- a/pcu/PCU_Tests_RAW.ttcn +++ b/pcu/PCU_Tests_RAW.ttcn @@ -574,6 +574,38 @@ BTS.receive(tr_RAW_PCU_EV(BTS_EV_SI13_NEGO)); } +template AckNackDescription t_AckNackDescription_init := { + final_ack := '0'B, + starting_seq_nr := 0, + receive_block_bitmap := ''B +} + +/* TS 44.060 sec 12.3 Ack/Nack Description */ +private function f_acknackdesc_ack_block(inout AckNackDescription desc, uint7_t bsn, BIT1 final_ack := '0'B) +{ + var integer i; + var integer inc := bsn - desc.starting_seq_nr + 1; + /* Filling hole? */ + if (bsn < desc.starting_seq_nr) { + desc.receive_block_bitmap[lengthof(desc.receive_block_bitmap) - (desc.starting_seq_nr - bsn)] := int2bit(1, 1); + return; + } + + /* SSN is increased, and so RBB values need to be moved */ + for (i := 0; i < lengthof(desc.receive_block_bitmap) - inc; i := i+1) { + desc.receive_block_bitmap[i] := desc.receive_block_bitmap[i + inc]; + } + for (i := lengthof(desc.receive_block_bitmap) - inc; i < lengthof(desc.receive_block_bitmap) - 1; i := i+1) { + desc.receive_block_bitmap[i] := int2bit(0, 1); + } + /* Now we can set current bit and update SSN */ + desc.starting_seq_nr := bsn + 1; + desc.receive_block_bitmap[lengthof(desc.receive_block_bitmap) - 1] := int2bit(1, 1); + + /* Finally update the final_ack bit as requested: */ + desc.final_ack := final_ack; +} + /* FIXME: properly encode RA (see TS 24.060, table 11.2.5.2) */ private function f_establish_tbf(out GsmRrMessage rr_imm_ass, uint8_t bts_nr := 0, uint16_t ra := oct2int('3A'O), uint8_t is_11bit := 0, @@ -765,7 +797,7 @@ } } -private function f_rx_rlcmac_dl_block_exp_data(out RlcmacDlBlock dl_block, out uint32_t ack_fn, octetstring data) +private function f_rx_rlcmac_dl_block_exp_data(out RlcmacDlBlock dl_block, out uint32_t ack_fn, octetstring data, template (present) uint7_t exp_bsn := ?) runs on RAW_PCU_Test_CT { var PCUIF_Message pcu_msg; var uint32_t dl_fn; @@ -780,6 +812,11 @@ ack_fn := dl_fn + f_rrbp_fn_delay(dl_block.data.mac_hdr.mac_hdr.rrbp); + if (not match(dl_block.data.mac_hdr.hdr_ext.bsn, exp_bsn)) { + setverdict(fail, "DL block BSN doesn't match: ", + dl_block.data.blocks[0].hdr.length_ind, " vs exp ", exp_bsn); + } + if (lengthof(dl_block.data.blocks) < 1) { setverdict(fail, "DL block has no LLC payload: ", dl_block); mtc.stop; @@ -1378,12 +1415,7 @@ var boolean ok; var uint32_t sched_fn; var OCT4 tlli := '0001'O; - var AckNackDescription ack_nack_desc; - - ack_nack_desc.final_ack := '0'B; - ack_nack_desc.starting_seq_nr := 0; - ack_nack_desc.receive_block_bitmap := ''B; - + var AckNackDescription ack_nack_desc := valueof(t_AckNackDescription_init); /* Initialize NS/BSSGP side */ f_init_bssgp(); @@ -1428,9 +1460,10 @@ /* Wait timer X2002 and DL block is available after CCCH IMM ASS: */ f_sleep(X2002); - f_rx_rlcmac_dl_block_exp_data(dl_block, sched_fn, data); + f_rx_rlcmac_dl_block_exp_data(dl_block, sched_fn, data, 0); /* ACK the DL block */ + f_acknackdesc_ack_block(ack_nack_desc, dl_block.data.mac_hdr.hdr_ext.bsn, '1'B); f_tx_rlcmac_ul_block(ts_RLCMAC_DL_ACK_NACK(dl_block.data.mac_hdr.hdr_ext.tfi, ack_nack_desc), 0, sched_fn); } -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/16502 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: Ic62ab9e4a854239b95c434068543d95c5352f1c6 Gerrit-Change-Number: 16502 Gerrit-PatchSet: 5 Gerrit-Owner: pespin Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: laforge Gerrit-CC: fixeria Gerrit-MessageType: merged
Change in osmo-ttcn3-hacks[master]: pcu: send UL CONTROL ACK triggered by DL ACK/NACK
laforge has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/16501 ) Change subject: pcu: send UL CONTROL ACK triggered by DL ACK/NACK .. Patch Set 4: Code-Review+2 -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/16501 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: Ib409394257427cfc62da08fe06ce6c001dcf608a Gerrit-Change-Number: 16501 Gerrit-PatchSet: 4 Gerrit-Owner: pespin Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: fixeria Gerrit-Reviewer: laforge Gerrit-Reviewer: pespin Gerrit-Comment-Date: Tue, 17 Dec 2019 13:53:35 + Gerrit-HasComments: No Gerrit-Has-Labels: Yes Gerrit-MessageType: comment
Change in osmo-ttcn3-hacks[master]: pcu: add TC_paging_cs_from_bts
laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/15623 ) Change subject: pcu: add TC_paging_cs_from_bts .. pcu: add TC_paging_cs_from_bts 1. BTS send a CS paging Request over pcu socket 2. Expect a CS paging frame Related: OS#3927 Change-Id: Ia3ad503c243c9b3b162e204683fa4fa5447bbab3 --- M library/RLCMAC_CSN1_Types.ttcn M library/RLCMAC_Types.ttcn M pcu/PCU_Tests_RAW.ttcn 3 files changed, 111 insertions(+), 4 deletions(-) Approvals: laforge: Looks good to me, approved osmith: Looks good to me, but someone else must approve Jenkins Builder: Verified diff --git a/library/RLCMAC_CSN1_Types.ttcn b/library/RLCMAC_CSN1_Types.ttcn index a2f9a92..ea2edf6 100644 --- a/library/RLCMAC_CSN1_Types.ttcn +++ b/library/RLCMAC_CSN1_Types.ttcn @@ -235,11 +235,13 @@ BIT1persistence_levels_present, PersistenceLevels persistence_levels optional, BIT1nln_present, - uint2_t nln optional - /* TODO: Repeated PageInfo */ + uint2_t nln optional, + BIT1repeated_pageinfo_present, + PageInforepeated_pageinfo optional } with { variant (persistence_levels) "PRESENCE(persistence_levels_present = '1'B)" variant (nln) "PRESENCE(nln_present = '1'B)" + variant (repeated_pageinfo) "PRESENCE(repeated_pageinfo_present = '1'B)" }; /* 11.2.28 Uplink Ack/Nack */ diff --git a/library/RLCMAC_Types.ttcn b/library/RLCMAC_Types.ttcn index 7043785..8f9f2a5 100644 --- a/library/RLCMAC_Types.ttcn +++ b/library/RLCMAC_Types.ttcn @@ -339,7 +339,7 @@ usf := usf } - template RlcmacDlBlock tr_RLCMAC_DUMMY_CTRL(template uint3_t usf := ?) := { + template RlcmacDlBlock tr_RLCMAC_DUMMY_CTRL(template uint3_t usf := ?, template PageMode page_mode := ?) := { ctrl := { mac_hdr := { payload_type := (MAC_PT_RLCMAC_NO_OPT, MAC_PT_RLCMAC_OPT), @@ -352,7 +352,7 @@ msg_type := PACKET_DL_DUMMY_CTRL, u := { dl_dummy := { - page_mode := ?, + page_mode := page_mode, persistence_levels_present := ?, persistence_levels := * } @@ -418,6 +418,32 @@ } } + template RlcmacDlBlock tr_RLCMAC_PACKET_PAG_REQ(template uint3_t usf := ?) := { + ctrl := { + mac_hdr := { + payload_type := MAC_PT_RLCMAC_NO_OPT, + rrbp:= ?, + rrbp_valid := ?, + usf := usf + }, + opt := *, + payload := { + msg_type := PACKET_PAGING_REQUEST, + u := { + paging := { + page_mode := ?, + persistence_levels_present := ?, + persistence_levels := *, + nln_present := ?, + nln := *, + repeated_pageinfo_present := ?, + repeated_pageinfo := * + } + } + } + } + } + template RlcmacDlBlock tr_RLCMAC_DATA_RRBP := { data := { mac_hdr := { diff --git a/pcu/PCU_Tests_RAW.ttcn b/pcu/PCU_Tests_RAW.ttcn index 2fc42c1..c41a244 100644 --- a/pcu/PCU_Tests_RAW.ttcn +++ b/pcu/PCU_Tests_RAW.ttcn @@ -27,6 +27,9 @@ import from RLCMAC_CSN1_Types all; import from RLCMAC_Types all; +import from MobileL3_CommonIE_Types all; +import from L3_Templates all; + import from NS_Types all; import from BSSGP_Types all; import from Osmocom_Gb_Types all; @@ -810,6 +813,17 @@ poll_fn := dl_fn + f_rrbp_fn_delay(dl_block.ctrl.mac_hdr.rrbp); } +private function f_rx_rlcmac_dl_block_exp_pkt_pag_req(out RlcmacDlBlock dl_block) +runs on RAW_PCU_Test_CT { + var uint32_t dl_fn; + + f_rx_rlcmac_dl_block(dl_block, dl_fn); + if (not match(dl_block, tr_RLCMAC_PACKET_PAG_REQ())) { + setverdict(fail, "Failed to match Packet Paging Request: ", dl_block, " vs
Change in osmo-ttcn3-hacks[master]: pcu: send UL CONTROL ACK triggered by DL ACK/NACK
laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/16501 ) Change subject: pcu: send UL CONTROL ACK triggered by DL ACK/NACK .. pcu: send UL CONTROL ACK triggered by DL ACK/NACK Change-Id: Ib409394257427cfc62da08fe06ce6c001dcf608a --- M pcu/PCU_Tests_RAW.ttcn 1 file changed, 15 insertions(+), 7 deletions(-) Approvals: laforge: Looks good to me, approved Jenkins Builder: Verified diff --git a/pcu/PCU_Tests_RAW.ttcn b/pcu/PCU_Tests_RAW.ttcn index e4b03c1..bc0cb7f 100644 --- a/pcu/PCU_Tests_RAW.ttcn +++ b/pcu/PCU_Tests_RAW.ttcn @@ -741,7 +741,7 @@ dl_fn := pcu_msg.u.data_req.fn; } -private function f_rx_rlcmac_dl_block_exp_ack_nack(out RlcmacDlBlock dl_block) +private function f_rx_rlcmac_dl_block_exp_ack_nack(out RlcmacDlBlock dl_block, out uint32_t poll_fn) runs on RAW_PCU_Test_CT { var uint32_t dl_fn; @@ -750,6 +750,8 @@ setverdict(fail, "Failed to match Packet Uplink ACK / NACK"); mtc.stop; } + + poll_fn := dl_fn + f_rrbp_fn_delay(dl_block.ctrl.mac_hdr.rrbp); } private function f_rx_rlcmac_dl_block_exp_dummy(out RlcmacDlBlock dl_block) @@ -1084,6 +1086,7 @@ var PCUIF_Message pcu_msg; var octetstring data; var boolean ok; + var uint32_t unused_fn; /* Initialize the PCU interface abstraction */ f_init_raw(testcasename()); @@ -1135,7 +1138,7 @@ f_tx_rlcmac_ul_block(ul_data, lqual * 10); /* Enqueue RTS.req, expect DATA.req with UL ACK from the PCU */ - f_rx_rlcmac_dl_block_exp_ack_nack(dl_block); + f_rx_rlcmac_dl_block_exp_ack_nack(dl_block, unused_fn); log("Rx Packet Uplink ACK / NACK with Channel Coding Command: ", dl_block.ctrl.payload.u.ul_ack_nack.gprs.ch_coding_cmd); @@ -1167,6 +1170,7 @@ var boolean ok; var integer lqual_cb; var ChCodingCommand last_ch_coding; + var uint32_t unused_fn; /* Initialize the PCU interface abstraction */ f_init_raw(testcasename()); @@ -1211,7 +1215,7 @@ f_tx_rlcmac_ul_block(ul_data, lqual_cb); /* Enqueue RTS.req, expect DATA.req with UL ACK from the PCU */ - f_rx_rlcmac_dl_block_exp_ack_nack(dl_block); + f_rx_rlcmac_dl_block_exp_ack_nack(dl_block, unused_fn); last_ch_coding := dl_block.ctrl.payload.u.ul_ack_nack.gprs.ch_coding_cmd; } @@ -1235,7 +1239,7 @@ f_tx_rlcmac_ul_block(ul_data, 0); /* 0 dB, make sure we downgrade CS */ /* Enqueue RTS.req, expect DATA.req with UL ACK from the PCU */ - f_rx_rlcmac_dl_block_exp_ack_nack(dl_block); + f_rx_rlcmac_dl_block_exp_ack_nack(dl_block, unused_fn); last_ch_coding := dl_block.ctrl.payload.u.ul_ack_nack.gprs.ch_coding_cmd; } @@ -1254,6 +1258,7 @@ var RlcmacDlBlock dl_block; var boolean ok; var ChCodingCommand last_ch_coding; + var uint32_t unused_fn; /* Initialize the PCU interface abstraction */ f_init_raw(testcasename()); @@ -1295,7 +1300,7 @@ f_tx_rlcmac_ul_block(ul_data, 40*10); /* 40 dB */ /* Enqueue RTS.req, expect DATA.req with UL ACK from the PCU */ - f_rx_rlcmac_dl_block_exp_ack_nack(dl_block); + f_rx_rlcmac_dl_block_exp_ack_nack(dl_block, unused_fn); last_ch_coding := dl_block.ctrl.payload.u.ul_ack_nack.gprs.ch_coding_cmd; } @@ -1316,6 +1321,7 @@ var PCUIF_Message pcu_msg; var octetstring data; var boolean ok; + var uint32_t unused_fn; var OCT4 tlli := '0001'O; /* Initialize NS/BSSGP side */ @@ -1347,7 +1353,7 @@ /* Send one UL block and make sure it is ACKED fine */ f_tx_rlcmac_ul_n_blocks(ul_tbf_ass, 1); - f_rx_rlcmac_dl_block_exp_ack_nack(dl_block); + f_rx_rlcmac_dl_block_exp_ack_nack(dl_block, unused_fn); /* UL block should be received in SGSN */ BSSGP[0].receive(tr_BSSGP_UL_UD(tlli, mp_gb_cfg.cell_id)); @@ -1403,7 +1409,9 @@ /* Send one UL block and make sure it is ACKED fine */ f_tx_rlcmac_ul_n_blocks(ul_tbf_ass, 1); - f_rx_rlcmac_dl_block_exp_ack_nack(dl_block); + f_rx_rlcmac_dl_block_exp_ack_nack(dl_block, sched_fn); + /* DL ACK/NACK sets poll+rrbp requesting PACKET CONTROL ACK */ + f_tx_rlcmac_ul_block(ts_RLCMAC_CTRL_ACK(tlli), 0, sched_fn); /* UL block should be received in SGSN */ BSSGP[0].receive(tr_BSSGP_UL_UD(tlli, mp_gb_cfg.cell_id)); -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/16501 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:
Change in osmo-ttcn3-hacks[master]: pcu: Introduce helpers to update AckNackDescription
laforge has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/16502 ) Change subject: pcu: Introduce helpers to update AckNackDescription .. Patch Set 4: Code-Review+2 -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/16502 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: Ic62ab9e4a854239b95c434068543d95c5352f1c6 Gerrit-Change-Number: 16502 Gerrit-PatchSet: 4 Gerrit-Owner: pespin Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: laforge Gerrit-CC: fixeria Gerrit-Comment-Date: Tue, 17 Dec 2019 13:53:14 + Gerrit-HasComments: No Gerrit-Has-Labels: Yes Gerrit-MessageType: comment
Change in osmo-ttcn3-hacks[master]: pcu: add TC_paging_cs_from_bts
laforge has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/15623 ) Change subject: pcu: add TC_paging_cs_from_bts .. Patch Set 5: Code-Review+2 -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/15623 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: Ia3ad503c243c9b3b162e204683fa4fa5447bbab3 Gerrit-Change-Number: 15623 Gerrit-PatchSet: 5 Gerrit-Owner: lynxis lazus Gerrit-Assignee: osmith Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: fixeria Gerrit-Reviewer: laforge Gerrit-Reviewer: lynxis lazus Gerrit-Reviewer: osmith Gerrit-Reviewer: pespin Gerrit-Comment-Date: Tue, 17 Dec 2019 13:52:50 + Gerrit-HasComments: No Gerrit-Has-Labels: Yes Gerrit-MessageType: comment
Change in osmo-sip-connector[master]: logging from sofia: add missing newline
laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-sip-connector/+/16220 ) Change subject: logging from sofia: add missing newline .. logging from sofia: add missing newline Sometimes, logging from sofia lacks the final newline character, messing up log output. First snprintf() to a buffer, add '\n' if necessary and then log. Change-Id: Ia26c0b57a0166cf7de87c49471ce6f528a366dd5 --- M src/sip.c 1 file changed, 13 insertions(+), 1 deletion(-) Approvals: laforge: Looks good to me, approved pespin: Looks good to me, but someone else must approve Jenkins Builder: Verified diff --git a/src/sip.c b/src/sip.c index 2b28b4e..c635542 100644 --- a/src/sip.c +++ b/src/sip.c @@ -666,7 +666,19 @@ * the log handler call-back function, so we have no clue what log level the * currently logged message was sent for :( As a result, we can only use one * hard-coded LOGL_NOTICE here */ - osmo_vlogp(DSIP, LOGL_NOTICE, "", 0, 0, fmt, ap); + if (!log_check_level(DSIP, LOGL_NOTICE)) + return; + /* The sofia-sip log line *sometimes* lacks a terminating '\n'. Add it. */ + char log_line[256]; + int rc = vsnprintf(log_line, sizeof(log_line), fmt, ap); + if (rc > 0) { + /* since we're explicitly checking for sizeof(log_line), we can use vsnprintf()'s return value (which, +* alone, would possibly cause writing past the buffer's end). */ + char *end = log_line + OSMO_MIN(rc, sizeof(log_line) - 2); + osmo_strlcpy(end, "\n", 2); + LOGP(DSIP, LOGL_NOTICE, "%s", log_line); + } else + LOGP(DSIP, LOGL_NOTICE, "unknown logging from sip\n"); } void sip_agent_init(struct sip_agent *agent, struct app_config *app) -- To view, visit https://gerrit.osmocom.org/c/osmo-sip-connector/+/16220 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-sip-connector Gerrit-Branch: master Gerrit-Change-Id: Ia26c0b57a0166cf7de87c49471ce6f528a366dd5 Gerrit-Change-Number: 16220 Gerrit-PatchSet: 3 Gerrit-Owner: neels Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: laforge Gerrit-Reviewer: neels Gerrit-Reviewer: pespin Gerrit-MessageType: merged
Change in osmo-sip-connector[master]: logging from sofia: add missing newline
laforge has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-sip-connector/+/16220 ) Change subject: logging from sofia: add missing newline .. Patch Set 2: Code-Review+2 -- To view, visit https://gerrit.osmocom.org/c/osmo-sip-connector/+/16220 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-sip-connector Gerrit-Branch: master Gerrit-Change-Id: Ia26c0b57a0166cf7de87c49471ce6f528a366dd5 Gerrit-Change-Number: 16220 Gerrit-PatchSet: 2 Gerrit-Owner: neels Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: laforge Gerrit-Reviewer: neels Gerrit-Reviewer: pespin Gerrit-Comment-Date: Tue, 17 Dec 2019 13:52:20 + Gerrit-HasComments: No Gerrit-Has-Labels: Yes Gerrit-MessageType: comment
Change in osmo-ttcn3-hacks[master]: pcu: Introduce test TC_imm_ass_dl_block_retrans
laforge has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/16507 ) Change subject: pcu: Introduce test TC_imm_ass_dl_block_retrans .. Patch Set 2: Code-Review+2 -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/16507 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: Icc60cebb8583c9dc97b658def69f17e6efced384 Gerrit-Change-Number: 16507 Gerrit-PatchSet: 2 Gerrit-Owner: pespin Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: fixeria Gerrit-Reviewer: laforge Gerrit-Comment-Date: Tue, 17 Dec 2019 13:52:54 + Gerrit-HasComments: No Gerrit-Has-Labels: Yes Gerrit-MessageType: comment
Change in osmo-ttcn3-hacks[master]: pcu: Introduce test TC_t3193
laforge has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/16508 ) Change subject: pcu: Introduce test TC_t3193 .. Patch Set 2: Code-Review+2 -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/16508 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: Ib11cd1793d985ff609b10b0e60bddadd5fcfa6d2 Gerrit-Change-Number: 16508 Gerrit-PatchSet: 2 Gerrit-Owner: pespin Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: laforge Gerrit-Comment-Date: Tue, 17 Dec 2019 13:52:52 + Gerrit-HasComments: No Gerrit-Has-Labels: Yes Gerrit-MessageType: comment
Change in osmo-remsim[master]: client: Enable libusb logging
laforge has abandoned this change. ( https://gerrit.osmocom.org/c/osmo-remsim/+/16593 ) Change subject: client: Enable libusb logging .. Abandoned we will do this via libosmousb -- To view, visit https://gerrit.osmocom.org/c/osmo-remsim/+/16593 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-remsim Gerrit-Branch: master Gerrit-Change-Id: I4818a3cd405ff042bb5748ec377c9042b825a395 Gerrit-Change-Number: 16593 Gerrit-PatchSet: 1 Gerrit-Owner: laforge Gerrit-Reviewer: Jenkins Builder Gerrit-MessageType: abandon
Change in osmo-ttcn3-hacks[master]: library/GSUP_Types.ttcn: fix MSISDN / SMSC coding in SM-RP-OA/DA
laforge has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/16565 ) Change subject: library/GSUP_Types.ttcn: fix MSISDN / SMSC coding in SM-RP-OA/DA .. Patch Set 2: Code-Review+1 -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/16565 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: I3f55834489f3e613f541cf1e216027e8d48ccaf0 Gerrit-Change-Number: 16565 Gerrit-PatchSet: 2 Gerrit-Owner: fixeria Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: fixeria Gerrit-Reviewer: laforge Gerrit-Comment-Date: Tue, 17 Dec 2019 13:48:12 + Gerrit-HasComments: No Gerrit-Has-Labels: Yes Gerrit-MessageType: comment
Change in osmo-ttcn3-hacks[master]: MSC_Tests.ttcn: fix: verify the contents of SM-RP-DA/OA for MO/MT SMS
laforge has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/16566 ) Change subject: MSC_Tests.ttcn: fix: verify the contents of SM-RP-DA/OA for MO/MT SMS .. Patch Set 2: Code-Review+1 -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/16566 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: Ib467eeca6439bc6cce72293fbb5bb48f6d233db9 Gerrit-Change-Number: 16566 Gerrit-PatchSet: 2 Gerrit-Owner: fixeria Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: laforge Gerrit-Comment-Date: Tue, 17 Dec 2019 13:48:27 + Gerrit-HasComments: No Gerrit-Has-Labels: Yes Gerrit-MessageType: comment
Change in pysim[master]: WIP
laforge has abandoned this change. ( https://gerrit.osmocom.org/c/pysim/+/16612 ) Change subject: WIP .. Abandoned -- To view, visit https://gerrit.osmocom.org/c/pysim/+/16612 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: pysim Gerrit-Branch: master Gerrit-Change-Id: I4f8e9f581f22dbe95192e9e5a214f372c993cb1e Gerrit-Change-Number: 16612 Gerrit-PatchSet: 2 Gerrit-Owner: dexter Gerrit-Reviewer: Jenkins Builder Gerrit-MessageType: abandon
Change in osmo-ttcn3-hacks[master]: MSC/BSC_ConnectionHandler: only keep SMSC address in SmsParametersRp
laforge has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/16597 ) Change subject: MSC/BSC_ConnectionHandler: only keep SMSC address in SmsParametersRp .. Patch Set 1: Code-Review+2 -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/16597 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: Ia60bdd2498034b6b849f874cf1eee272abef2b47 Gerrit-Change-Number: 16597 Gerrit-PatchSet: 1 Gerrit-Owner: fixeria Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: laforge Gerrit-Comment-Date: Tue, 17 Dec 2019 13:47:47 + Gerrit-HasComments: No Gerrit-Has-Labels: Yes Gerrit-MessageType: comment
Change in pysim[master]: Fix automated tests
laforge has submitted this change. ( https://gerrit.osmocom.org/c/pysim/+/16564 ) Change subject: Fix automated tests .. Fix automated tests - The .ok files currently dictate in which pysical reader device the card must be placed. Lets remove this dependncy to make the setup more reliable. Testing in which reade a card is placed is not in the scope of our tests. - Fix bug in pysim-test.sh (test runner), so that the veriable $ADM_HEX gets reset after the execution of the tests. Change-Id: I12e6b46787efb39c5745f4e7f3cdcca9209881b8 --- M pysim-testdata/Fairwaves-SIM.ok M pysim-testdata/Wavemobile-SIM.ok M pysim-testdata/fakemagicsim.ok M pysim-testdata/sysmoUSIM-SJS1.ok M pysim-testdata/sysmosim-gr1.ok M tests/pysim-test.sh 6 files changed, 11 insertions(+), 6 deletions(-) Approvals: Jenkins Builder: Verified laforge: Looks good to me, approved diff --git a/pysim-testdata/Fairwaves-SIM.ok b/pysim-testdata/Fairwaves-SIM.ok index 7f60765..6150469 100644 --- a/pysim-testdata/Fairwaves-SIM.ok +++ b/pysim-testdata/Fairwaves-SIM.ok @@ -1,4 +1,4 @@ -Using PC/SC reader (dev=4) interface +Using PC/SC reader (dev=0) interface Reading ... ICCID: 898821900117833 IMSI: 00101000111 diff --git a/pysim-testdata/Wavemobile-SIM.ok b/pysim-testdata/Wavemobile-SIM.ok index 5f5b360..b0ea8be 100644 --- a/pysim-testdata/Wavemobile-SIM.ok +++ b/pysim-testdata/Wavemobile-SIM.ok @@ -1,4 +1,4 @@ -Using PC/SC reader (dev=3) interface +Using PC/SC reader (dev=4) interface Reading ... ICCID: 89445310150011013678 IMSI: 00101000102 diff --git a/pysim-testdata/fakemagicsim.ok b/pysim-testdata/fakemagicsim.ok index a1d9e9c..d9bff94 100644 --- a/pysim-testdata/fakemagicsim.ok +++ b/pysim-testdata/fakemagicsim.ok @@ -1,4 +1,4 @@ -Using PC/SC reader (dev=1) interface +Using PC/SC reader (dev=2) interface Reading ... ICCID: 1122334455667788990 IMSI: 00101000102 diff --git a/pysim-testdata/sysmoUSIM-SJS1.ok b/pysim-testdata/sysmoUSIM-SJS1.ok index 3bbdc90..b6a5391 100644 --- a/pysim-testdata/sysmoUSIM-SJS1.ok +++ b/pysim-testdata/sysmoUSIM-SJS1.ok @@ -1,4 +1,4 @@ -Using PC/SC reader (dev=0) interface +Using PC/SC reader (dev=1) interface Reading ... ICCID: 1122334455667788990 IMSI: 00101000102 diff --git a/pysim-testdata/sysmosim-gr1.ok b/pysim-testdata/sysmosim-gr1.ok index a1a49fd..d4c3dd9 100644 --- a/pysim-testdata/sysmosim-gr1.ok +++ b/pysim-testdata/sysmosim-gr1.ok @@ -1,4 +1,4 @@ -Using PC/SC reader (dev=2) interface +Using PC/SC reader (dev=3) interface Reading ... ICCID: 1122334455667788990 IMSI: 00101000102 diff --git a/tests/pysim-test.sh b/tests/pysim-test.sh index f97722d..c3e1747 100755 --- a/tests/pysim-test.sh +++ b/tests/pysim-test.sh @@ -78,7 +78,11 @@ stat ./$CARD_NAME.ok > /dev/null python $PYSIM_READ -p $TERMINAL > $TEMPFILE set +e -CARD_DIFF=$(diff $TEMPFILE ./$CARD_NAME.ok) +# Note: We ignore the first line of output in the diff because here +# pysim would print the device number of the reader and we do not +# want the test to fail just because the card is put into a different +# reader device. +CARD_DIFF=$(diff + 1 $TEMPFILE ./$CARD_NAME.ok) set -e if [ "$CARD_DIFF" != "" ]; then @@ -156,6 +160,7 @@ OPC= IMSI=0010101 ADM= + ADM_HEX="" ADM_OPT="-a" source "$CARD_NAME.data" -- To view, visit https://gerrit.osmocom.org/c/pysim/+/16564 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: pysim Gerrit-Branch: master Gerrit-Change-Id: I12e6b46787efb39c5745f4e7f3cdcca9209881b8 Gerrit-Change-Number: 16564 Gerrit-PatchSet: 12 Gerrit-Owner: dexter Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: laforge Gerrit-MessageType: merged
Change in pysim[master]: Fix automated tests
laforge has posted comments on this change. ( https://gerrit.osmocom.org/c/pysim/+/16564 ) Change subject: Fix automated tests .. Patch Set 12: Code-Review+2 -- To view, visit https://gerrit.osmocom.org/c/pysim/+/16564 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: pysim Gerrit-Branch: master Gerrit-Change-Id: I12e6b46787efb39c5745f4e7f3cdcca9209881b8 Gerrit-Change-Number: 16564 Gerrit-PatchSet: 12 Gerrit-Owner: dexter Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: laforge Gerrit-Comment-Date: Tue, 17 Dec 2019 13:46:56 + Gerrit-HasComments: No Gerrit-Has-Labels: Yes Gerrit-MessageType: comment
Change in docker-playground[master]: ttcn3-ggsn: Log osmo-ggsn stdout+stderr to file
laforge has submitted this change. ( https://gerrit.osmocom.org/c/docker-playground/+/16633 ) Change subject: ttcn3-ggsn: Log osmo-ggsn stdout+stderr to file .. ttcn3-ggsn: Log osmo-ggsn stdout+stderr to file Fixes: c3f157b939784f19f0337ac92ac727063c8d3452 Change-Id: Ia4c4589902bd72918f1d114afa890b049d6e8fd7 --- M ttcn3-ggsn-test/jenkins.sh 1 file changed, 2 insertions(+), 1 deletion(-) Approvals: laforge: Looks good to me, approved; Verified diff --git a/ttcn3-ggsn-test/jenkins.sh b/ttcn3-ggsn-test/jenkins.sh index c4fac9d..66239f8 100755 --- a/ttcn3-ggsn-test/jenkins.sh +++ b/ttcn3-ggsn-test/jenkins.sh @@ -28,7 +28,8 @@ --network $NET_NAME --ip 172.18.3.201 \ -v $VOL_BASE_DIR/ggsn:/data \ --name ${BUILD_TAG}-ggsn -d \ - $REPO_USER/osmo-ggsn-$IMAGE_SUFFIX + $REPO_USER/osmo-ggsn-$IMAGE_SUFFIX \ + /bin/sh -c "osmo-ggsn -c /data/osmo-ggsn.cfg >/data/osmo-ggsn.log 2>&1" # start docker container with testsuite in foreground docker run --rm \ -- To view, visit https://gerrit.osmocom.org/c/docker-playground/+/16633 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: docker-playground Gerrit-Branch: master Gerrit-Change-Id: Ia4c4589902bd72918f1d114afa890b049d6e8fd7 Gerrit-Change-Number: 16633 Gerrit-PatchSet: 1 Gerrit-Owner: pespin Gerrit-Reviewer: laforge Gerrit-MessageType: merged
Change in docker-playground[master]: ttcn3-ggsn: Log osmo-ggsn stdout+stderr to file
laforge has posted comments on this change. ( https://gerrit.osmocom.org/c/docker-playground/+/16633 ) Change subject: ttcn3-ggsn: Log osmo-ggsn stdout+stderr to file .. Patch Set 1: Code-Review+2 -- To view, visit https://gerrit.osmocom.org/c/docker-playground/+/16633 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: docker-playground Gerrit-Branch: master Gerrit-Change-Id: Ia4c4589902bd72918f1d114afa890b049d6e8fd7 Gerrit-Change-Number: 16633 Gerrit-PatchSet: 1 Gerrit-Owner: pespin Gerrit-Reviewer: laforge Gerrit-Comment-Date: Tue, 17 Dec 2019 13:46:11 + Gerrit-HasComments: No Gerrit-Has-Labels: Yes Gerrit-MessageType: comment
Change in docker-playground[master]: ttcn3-ggsn: Log osmo-ggsn stdout+stderr to file
laforge has posted comments on this change. ( https://gerrit.osmocom.org/c/docker-playground/+/16633 ) Change subject: ttcn3-ggsn: Log osmo-ggsn stdout+stderr to file .. Patch Set 1: Verified+1 -- To view, visit https://gerrit.osmocom.org/c/docker-playground/+/16633 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: docker-playground Gerrit-Branch: master Gerrit-Change-Id: Ia4c4589902bd72918f1d114afa890b049d6e8fd7 Gerrit-Change-Number: 16633 Gerrit-PatchSet: 1 Gerrit-Owner: pespin Gerrit-Reviewer: laforge Gerrit-Comment-Date: Tue, 17 Dec 2019 13:46:25 + Gerrit-HasComments: No Gerrit-Has-Labels: Yes Gerrit-MessageType: comment
Change in osmo-ci[master]: osmo-depcheck: Skip comment lines containing PKG_CHECK_CONFIG
laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ci/+/16643 ) Change subject: osmo-depcheck: Skip comment lines containing PKG_CHECK_CONFIG .. osmo-depcheck: Skip comment lines containing PKG_CHECK_CONFIG This is a problem e.g. with current osmo-hlr containing "\t# FIXME: PKG_CHECK_MODULES() may return cached result here!" Change-Id: I30d539a895bf39aaabe907be9eb52d7e4b3977a7 --- M scripts/osmo-depcheck/parse.py 1 file changed, 3 insertions(+), 0 deletions(-) Approvals: pespin: Looks good to me, approved laforge: Verified diff --git a/scripts/osmo-depcheck/parse.py b/scripts/osmo-depcheck/parse.py index 06f932e..e9914f8 100644 --- a/scripts/osmo-depcheck/parse.py +++ b/scripts/osmo-depcheck/parse.py @@ -3,6 +3,7 @@ import sys import fnmatch +import re # Same folder import config @@ -53,6 +54,8 @@ # Only look at PKG_CHECK_MODULES lines if "PKG_CHECK_MODULES" not in line: return +if re.search('#.*PKG_CHECK_MODULES', line): +return # Extract the condition ret = line.split(",")[1].split(")")[0].strip() -- To view, visit https://gerrit.osmocom.org/c/osmo-ci/+/16643 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-ci Gerrit-Branch: master Gerrit-Change-Id: I30d539a895bf39aaabe907be9eb52d7e4b3977a7 Gerrit-Change-Number: 16643 Gerrit-PatchSet: 1 Gerrit-Owner: laforge Gerrit-Reviewer: laforge Gerrit-Reviewer: pespin Gerrit-MessageType: merged
Change in osmo-ccid-firmware[master]: jenkins.sh: Add verify_value_string_arrays_are_terminated.py
laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ccid-firmware/+/16641 ) Change subject: jenkins.sh: Add verify_value_string_arrays_are_terminated.py .. jenkins.sh: Add verify_value_string_arrays_are_terminated.py Change-Id: I214bd21212b696d1aa9357b57b545d15bdf74e7f --- M contrib/jenkins.sh 1 file changed, 2 insertions(+), 0 deletions(-) Approvals: Jenkins Builder: Verified laforge: Looks good to me, approved diff --git a/contrib/jenkins.sh b/contrib/jenkins.sh index c2802f8..1597a30 100755 --- a/contrib/jenkins.sh +++ b/contrib/jenkins.sh @@ -26,6 +26,7 @@ echo "=== CCID usb_gadget build ===" cd $TOPDIR/ccid_host make clean +verify_value_string_arrays_are_terminated.py $(find . -name "*.[hc]") make $PARALLEL_MAKE make clean @@ -55,6 +56,7 @@ cd $TOPDIR/sysmoOCTSIM cd gcc make mrproper +verify_value_string_arrays_are_terminated.py $(find . -name "*.[hc]") make SYSTEM_PREFIX="$inst" $PARALLEL_MAKE if [ "x$publish" = "x--publish" ]; then -- To view, visit https://gerrit.osmocom.org/c/osmo-ccid-firmware/+/16641 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-ccid-firmware Gerrit-Branch: master Gerrit-Change-Id: I214bd21212b696d1aa9357b57b545d15bdf74e7f Gerrit-Change-Number: 16641 Gerrit-PatchSet: 2 Gerrit-Owner: laforge Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: laforge Gerrit-MessageType: merged
Change in osmo-ccid-firmware[master]: jenkins.sh: Add verify_value_string_arrays_are_terminated.py
laforge has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-ccid-firmware/+/16641 ) Change subject: jenkins.sh: Add verify_value_string_arrays_are_terminated.py .. Patch Set 2: Code-Review+2 -- To view, visit https://gerrit.osmocom.org/c/osmo-ccid-firmware/+/16641 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-ccid-firmware Gerrit-Branch: master Gerrit-Change-Id: I214bd21212b696d1aa9357b57b545d15bdf74e7f Gerrit-Change-Number: 16641 Gerrit-PatchSet: 2 Gerrit-Owner: laforge Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: laforge Gerrit-Comment-Date: Tue, 17 Dec 2019 13:43:47 + Gerrit-HasComments: No Gerrit-Has-Labels: Yes Gerrit-MessageType: comment
Change in osmo-ci[master]: osmo-depcheck: Skip comment lines containing PKG_CHECK_CONFIG
laforge has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-ci/+/16643 ) Change subject: osmo-depcheck: Skip comment lines containing PKG_CHECK_CONFIG .. Patch Set 1: Verified+1 -- To view, visit https://gerrit.osmocom.org/c/osmo-ci/+/16643 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-ci Gerrit-Branch: master Gerrit-Change-Id: I30d539a895bf39aaabe907be9eb52d7e4b3977a7 Gerrit-Change-Number: 16643 Gerrit-PatchSet: 1 Gerrit-Owner: laforge Gerrit-Reviewer: laforge Gerrit-Reviewer: pespin Gerrit-Comment-Date: Tue, 17 Dec 2019 13:43:13 + Gerrit-HasComments: No Gerrit-Has-Labels: Yes Gerrit-MessageType: comment
Change in osmo-ci[master]: osmo-depcheck: Skip comment lines containing PKG_CHECK_CONFIG
pespin has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-ci/+/16643 ) Change subject: osmo-depcheck: Skip comment lines containing PKG_CHECK_CONFIG .. Patch Set 1: Code-Review+2 -- To view, visit https://gerrit.osmocom.org/c/osmo-ci/+/16643 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-ci Gerrit-Branch: master Gerrit-Change-Id: I30d539a895bf39aaabe907be9eb52d7e4b3977a7 Gerrit-Change-Number: 16643 Gerrit-PatchSet: 1 Gerrit-Owner: laforge Gerrit-Reviewer: pespin Gerrit-Comment-Date: Tue, 17 Dec 2019 13:42:15 + Gerrit-HasComments: No Gerrit-Has-Labels: Yes Gerrit-MessageType: comment
Change in osmo-ci[master]: osmo-depcheck: Skip comment lines containing PKG_CHECK_CONFIG
laforge has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ci/+/16643 ) Change subject: osmo-depcheck: Skip comment lines containing PKG_CHECK_CONFIG .. osmo-depcheck: Skip comment lines containing PKG_CHECK_CONFIG This is a problem e.g. with current osmo-hlr containing "\t# FIXME: PKG_CHECK_MODULES() may return cached result here!" Change-Id: I30d539a895bf39aaabe907be9eb52d7e4b3977a7 --- M scripts/osmo-depcheck/parse.py 1 file changed, 3 insertions(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/43/16643/1 diff --git a/scripts/osmo-depcheck/parse.py b/scripts/osmo-depcheck/parse.py index 06f932e..e9914f8 100644 --- a/scripts/osmo-depcheck/parse.py +++ b/scripts/osmo-depcheck/parse.py @@ -3,6 +3,7 @@ import sys import fnmatch +import re # Same folder import config @@ -53,6 +54,8 @@ # Only look at PKG_CHECK_MODULES lines if "PKG_CHECK_MODULES" not in line: return +if re.search('#.*PKG_CHECK_MODULES', line): +return # Extract the condition ret = line.split(",")[1].split(")")[0].strip() -- To view, visit https://gerrit.osmocom.org/c/osmo-ci/+/16643 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-ci Gerrit-Branch: master Gerrit-Change-Id: I30d539a895bf39aaabe907be9eb52d7e4b3977a7 Gerrit-Change-Number: 16643 Gerrit-PatchSet: 1 Gerrit-Owner: laforge Gerrit-MessageType: newchange
Change in libosmocore[master]: debian/control: Add missing libusb-1.0-0-dev dependency
laforge has submitted this change. ( https://gerrit.osmocom.org/c/libosmocore/+/16642 ) Change subject: debian/control: Add missing libusb-1.0-0-dev dependency .. debian/control: Add missing libusb-1.0-0-dev dependency In Change-Id I656a1a38cbb5b1f3a9145d2869d3b4d0adefcae3 we introduced USB support and also updated debian pacakaging informatio for this new package - however, I missed to add a realted Build-Depends line :( Change-Id: Ib0446510c8ba49623914b6103ea9cfa88c208d50 Related: #4299 --- M debian/control 1 file changed, 1 insertion(+), 0 deletions(-) Approvals: pespin: Looks good to me, approved Jenkins Builder: Verified diff --git a/debian/control b/debian/control index d2c232f..cdf26bb 100644 --- a/debian/control +++ b/debian/control @@ -16,6 +16,7 @@ pkg-config, libtalloc-dev, libsctp-dev, + libusb-1.0-0-dev, python3 Standards-Version: 3.9.8 Vcs-Git: git://git.osmocom.org/libosmocore.git -- To view, visit https://gerrit.osmocom.org/c/libosmocore/+/16642 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: libosmocore Gerrit-Branch: master Gerrit-Change-Id: Ib0446510c8ba49623914b6103ea9cfa88c208d50 Gerrit-Change-Number: 16642 Gerrit-PatchSet: 1 Gerrit-Owner: laforge Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: laforge Gerrit-Reviewer: pespin Gerrit-MessageType: merged
Change in libosmocore[master]: debian/control: Add missing libusb-1.0-0-dev dependency
pespin has posted comments on this change. ( https://gerrit.osmocom.org/c/libosmocore/+/16642 ) Change subject: debian/control: Add missing libusb-1.0-0-dev dependency .. Patch Set 1: Code-Review+2 -- To view, visit https://gerrit.osmocom.org/c/libosmocore/+/16642 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: libosmocore Gerrit-Branch: master Gerrit-Change-Id: Ib0446510c8ba49623914b6103ea9cfa88c208d50 Gerrit-Change-Number: 16642 Gerrit-PatchSet: 1 Gerrit-Owner: laforge Gerrit-Reviewer: pespin Gerrit-CC: Jenkins Builder Gerrit-Comment-Date: Tue, 17 Dec 2019 12:51:05 + Gerrit-HasComments: No Gerrit-Has-Labels: Yes Gerrit-MessageType: comment
Change in libosmocore[master]: debian/control: Add missing libusb-1.0-0-dev dependency
laforge has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmocore/+/16642 ) Change subject: debian/control: Add missing libusb-1.0-0-dev dependency .. debian/control: Add missing libusb-1.0-0-dev dependency In Change-Id I656a1a38cbb5b1f3a9145d2869d3b4d0adefcae3 we introduced USB support and also updated debian pacakaging informatio for this new package - however, I missed to add a realted Build-Depends line :( Change-Id: Ib0446510c8ba49623914b6103ea9cfa88c208d50 Related: #4299 --- M debian/control 1 file changed, 1 insertion(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/42/16642/1 diff --git a/debian/control b/debian/control index d2c232f..cdf26bb 100644 --- a/debian/control +++ b/debian/control @@ -16,6 +16,7 @@ pkg-config, libtalloc-dev, libsctp-dev, + libusb-1.0-0-dev, python3 Standards-Version: 3.9.8 Vcs-Git: git://git.osmocom.org/libosmocore.git -- To view, visit https://gerrit.osmocom.org/c/libosmocore/+/16642 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: libosmocore Gerrit-Branch: master Gerrit-Change-Id: Ib0446510c8ba49623914b6103ea9cfa88c208d50 Gerrit-Change-Number: 16642 Gerrit-PatchSet: 1 Gerrit-Owner: laforge Gerrit-MessageType: newchange
Change in libosmocore[master]: Introduce helper functions for safe fork+exec of processes
Hello Jenkins Builder, I'd like you to reexamine a change. Please visit https://gerrit.osmocom.org/c/libosmocore/+/16619 to look at the new patch set (#4). Change subject: Introduce helper functions for safe fork+exec of processes .. Introduce helper functions for safe fork+exec of processes In some situations, we want to execute an external shell command in a non-blocking way. Similar to 'system', but without waiting for the child to complete. We also want to close all file descriptors ahead of the exec() and filter + modify the environment. Change-Id: Ib24ac8a083db32e55402ce496a5eabd8749cc888 Related: OS#4332 --- M configure.ac M include/Makefile.am A include/osmocom/core/exec.h M src/Makefile.am A src/exec.c M tests/Makefile.am A tests/exec/exec_test.c A tests/exec/exec_test.err A tests/exec/exec_test.ok M tests/testsuite.at 10 files changed, 487 insertions(+), 4 deletions(-) git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/19/16619/4 -- To view, visit https://gerrit.osmocom.org/c/libosmocore/+/16619 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: libosmocore Gerrit-Branch: master Gerrit-Change-Id: Ib24ac8a083db32e55402ce496a5eabd8749cc888 Gerrit-Change-Number: 16619 Gerrit-PatchSet: 4 Gerrit-Owner: laforge Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: laforge Gerrit-CC: pespin Gerrit-MessageType: newpatchset
Change in simtrace2[master]: [lib] apdu_dispatch: Use DLGLOBAL and don't printf() directly
laforge has posted comments on this change. ( https://gerrit.osmocom.org/c/simtrace2/+/16630 ) Change subject: [lib] apdu_dispatch: Use DLGLOBAL and don't printf() directly .. Patch Set 1: Code-Review+2 -- To view, visit https://gerrit.osmocom.org/c/simtrace2/+/16630 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: simtrace2 Gerrit-Branch: master Gerrit-Change-Id: I2f3ec49d34b6806e13af185fb629cabc486891fb Gerrit-Change-Number: 16630 Gerrit-PatchSet: 1 Gerrit-Owner: laforge Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: laforge Gerrit-Comment-Date: Tue, 17 Dec 2019 12:46:19 + Gerrit-HasComments: No Gerrit-Has-Labels: Yes Gerrit-MessageType: comment
Change in libosmocore[master]: Introduce helper functions for safe fork+exec of processes
pespin has posted comments on this change. ( https://gerrit.osmocom.org/c/libosmocore/+/16619 ) Change subject: Introduce helper functions for safe fork+exec of processes .. Patch Set 3: (1 comment) https://gerrit.osmocom.org/c/libosmocore/+/16619/2/src/exec.c File src/exec.c: https://gerrit.osmocom.org/c/libosmocore/+/16619/2/src/exec.c@169 PS2, Line 169: extern char **environ; > I can see that in my unistd.h, too - but somehow it simply doesn't work. I think you need to: #define _GNU_SOURCE #include -- To view, visit https://gerrit.osmocom.org/c/libosmocore/+/16619 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: libosmocore Gerrit-Branch: master Gerrit-Change-Id: Ib24ac8a083db32e55402ce496a5eabd8749cc888 Gerrit-Change-Number: 16619 Gerrit-PatchSet: 3 Gerrit-Owner: laforge Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: laforge Gerrit-CC: pespin Gerrit-Comment-Date: Tue, 17 Dec 2019 12:46:05 + Gerrit-HasComments: Yes Gerrit-Has-Labels: No Comment-In-Reply-To: pespin Comment-In-Reply-To: laforge Gerrit-MessageType: comment
Change in simtrace2[master]: [lib] apdu_dispatch: Don't print APDU state to stdout
laforge has posted comments on this change. ( https://gerrit.osmocom.org/c/simtrace2/+/16631 ) Change subject: [lib] apdu_dispatch: Don't print APDU state to stdout .. Patch Set 1: Code-Review+2 -- To view, visit https://gerrit.osmocom.org/c/simtrace2/+/16631 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: simtrace2 Gerrit-Branch: master Gerrit-Change-Id: Id3e3cf1605dec84077b158c1c5715f8eef2641d5 Gerrit-Change-Number: 16631 Gerrit-PatchSet: 1 Gerrit-Owner: laforge Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: laforge Gerrit-Comment-Date: Tue, 17 Dec 2019 12:46:20 + Gerrit-HasComments: No Gerrit-Has-Labels: Yes Gerrit-MessageType: comment
Change in simtrace2[master]: [lib] apdu_dispatch: Don't print APDU state to stdout
laforge has submitted this change. ( https://gerrit.osmocom.org/c/simtrace2/+/16631 ) Change subject: [lib] apdu_dispatch: Don't print APDU state to stdout .. [lib] apdu_dispatch: Don't print APDU state to stdout The printing was always only done at the end of osmo_apdu_segment_in(), so let's leave the decision up to the user if he wants to print the state at every iteration or not. We now provide osmo_apdu_dump_context_buf() to the user so he can obtain a string representation of the internal state for logging at any time he requires. Change-Id: Id3e3cf1605dec84077b158c1c5715f8eef2641d5 --- M host/include/osmocom/simtrace2/apdu_dispatch.h M host/lib/apdu_dispatch.c 2 files changed, 16 insertions(+), 9 deletions(-) Approvals: laforge: Looks good to me, approved Jenkins Builder: Verified diff --git a/host/include/osmocom/simtrace2/apdu_dispatch.h b/host/include/osmocom/simtrace2/apdu_dispatch.h index af9c989..42a097a 100644 --- a/host/include/osmocom/simtrace2/apdu_dispatch.h +++ b/host/include/osmocom/simtrace2/apdu_dispatch.h @@ -1,6 +1,6 @@ /* apdu_dispatch - State machine to determine Rx/Tx phases of APDU * - * (C) 2016 by Harald Welte + * (C) 2016-2019 by Harald Welte * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -44,6 +44,8 @@ APDU_ACT_RX_MORE_CAPDU_FROM_READER = 0x0002, }; +const char *osmo_apdu_dump_context_buf(char *buf, unsigned int buf_len, + const struct osmo_apdu_context *ac); int osmo_apdu_segment_in(struct osmo_apdu_context *ac, const uint8_t *apdu_buf, unsigned int apdu_len, bool new_apdu); diff --git a/host/lib/apdu_dispatch.c b/host/lib/apdu_dispatch.c index 835b8bc..ec368b2 100644 --- a/host/lib/apdu_dispatch.c +++ b/host/lib/apdu_dispatch.c @@ -42,7 +42,7 @@ return (ac->le.tot == ac->le.cur); } -static const char *dump_apdu_hdr(const struct osim_apdu_cmd_hdr *h) +static const char *stringify_apdu_hdr(const struct osim_apdu_cmd_hdr *h) { static char buf[256]; sprintf(buf, "CLA=%02x INS=%02x P1=%02x P2=%02x P3=%02x", @@ -51,12 +51,19 @@ return buf; } -static void dump_apdu_ctx(const struct osmo_apdu_context *ac) +/*! generate string representation of APDU context in specified output buffer. + * \param[in] buf output string buffer provided by caller + * \param[in] buf_len size of buf in bytes + * \param[in] ac APDU context to dump in buffer + * \returns pointer to buf on success */ +const char *osmo_apdu_dump_context_buf(char *buf, unsigned int buf_len, + const struct osmo_apdu_context *ac) { - printf("%s; case=%d, lc=%d(%d), le=%d(%d)\n", - dump_apdu_hdr(>hdr), ac->apdu_case, - ac->lc.tot, ac->lc.cur, - ac->le.tot, ac->le.cur); + snprintf(buf, buf_len, "%s; case=%d, lc=%d(%d), le=%d(%d)\n", +stringify_apdu_hdr(>hdr), ac->apdu_case, +ac->lc.tot, ac->lc.cur, +ac->le.tot, ac->le.cur); + return buf; } /*! \brief input function for APDU segmentation @@ -168,7 +175,5 @@ return -1; } - dump_apdu_ctx(ac); - return rc; } -- To view, visit https://gerrit.osmocom.org/c/simtrace2/+/16631 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: simtrace2 Gerrit-Branch: master Gerrit-Change-Id: Id3e3cf1605dec84077b158c1c5715f8eef2641d5 Gerrit-Change-Number: 16631 Gerrit-PatchSet: 2 Gerrit-Owner: laforge Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: laforge Gerrit-MessageType: merged
Change in simtrace2[master]: [lib] apdu_dispatch: Use DLGLOBAL and don't printf() directly
laforge has submitted this change. ( https://gerrit.osmocom.org/c/simtrace2/+/16630 ) Change subject: [lib] apdu_dispatch: Use DLGLOBAL and don't printf() directly .. [lib] apdu_dispatch: Use DLGLOBAL and don't printf() directly Change-Id: I2f3ec49d34b6806e13af185fb629cabc486891fb --- M host/lib/apdu_dispatch.c 1 file changed, 7 insertions(+), 6 deletions(-) Approvals: laforge: Looks good to me, approved Jenkins Builder: Verified diff --git a/host/lib/apdu_dispatch.c b/host/lib/apdu_dispatch.c index 62a75aa..835b8bc 100644 --- a/host/lib/apdu_dispatch.c +++ b/host/lib/apdu_dispatch.c @@ -1,6 +1,6 @@ /* apdu_dispatch - State machine to determine Rx/Tx phases of APDU * - * (C) 2016 by Harald Welte + * (C) 2016-2019 by Harald Welte * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -24,6 +24,7 @@ #include #include +#include #include #include @@ -105,7 +106,7 @@ break; case 0: default: - fprintf(stderr, "Unknown APDU case %d\n", ac->apdu_case); + LOGP(DLGLOBAL, LOGL_ERROR, "Unknown APDU case %d\n", ac->apdu_case); return -1; } } else { @@ -124,8 +125,8 @@ ac->lc.cur += cpy_len; break; default: - fprintf(stderr, "Unknown APDU case %d\n", ac->apdu_case); - break; + LOGP(DLGLOBAL, LOGL_ERROR, "Unknown APDU case %d\n", ac->apdu_case); + return -1; } } @@ -163,8 +164,8 @@ break; case 0: default: - fprintf(stderr, "Unknown APDU case %d\n", ac->apdu_case); - break; + LOGP(DLGLOBAL, LOGL_ERROR, "Unknown APDU case %d\n", ac->apdu_case); + return -1; } dump_apdu_ctx(ac); -- To view, visit https://gerrit.osmocom.org/c/simtrace2/+/16630 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: simtrace2 Gerrit-Branch: master Gerrit-Change-Id: I2f3ec49d34b6806e13af185fb629cabc486891fb Gerrit-Change-Number: 16630 Gerrit-PatchSet: 2 Gerrit-Owner: laforge Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: laforge Gerrit-MessageType: merged
Change in osmo-remsim[master]: client: generate clientSlotStatusInd to bankd
laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-remsim/+/16613 ) Change subject: client: generate clientSlotStatusInd to bankd .. client: generate clientSlotStatusInd to bankd * enable generation of CEMU_USB_MSGT_DO_STATUS on IRQ endpoint * translate that to clientSlotStatusInd towards bankd This will allow bankd to understand when to reset the card as requested by the modem. Change-Id: Ibe2266ffa473823e925d4e3afcf168353b11cdd8 Related: OS#4330 --- M src/simtrace2-remsim_client.c 1 file changed, 68 insertions(+), 1 deletion(-) Approvals: Jenkins Builder: Verified laforge: Looks good to me, approved diff --git a/src/simtrace2-remsim_client.c b/src/simtrace2-remsim_client.c index fa6b102..1798df9 100644 --- a/src/simtrace2-remsim_client.c +++ b/src/simtrace2-remsim_client.c @@ -298,6 +298,22 @@ return st_slot_tx_msg(ci->slot, msg, SIMTRACE_MSGC_CARDEM, SIMTRACE_MSGT_DT_CEMU_TX_DATA); } +/*! \brief Request the SIMtrace2 to send a Status Word */ +static int cardem_request_config(struct cardem_inst *ci, uint32_t features) +{ + struct msgb *msg = st_msgb_alloc(); + struct cardemu_usb_msg_config *cfg; + + cfg = (struct cardemu_usb_msg_config *) msgb_put(msg, sizeof(*cfg)); + + printf("SIMtrace <= %s(%08x)\n", __func__, features); + + memset(cfg, 0, sizeof(*cfg)); + cfg->features = features; + + return st_slot_tx_msg(ci->slot, msg, SIMTRACE_MSGC_CARDEM, SIMTRACE_MSGT_BD_CEMU_CONFIG); +} + // FIXME check if the ATR actually includes a checksum __attribute__((unused)) static void atr_update_csum(uint8_t *atr, unsigned int atr_len) { @@ -493,6 +509,53 @@ case SIMTRACE_MSGT_DO_CEMU_RX_DATA: rc = process_do_rx_da(ci, buf, len); break; + case SIMTRACE_MSGT_BD_CEMU_CONFIG: + /* firmware confirms configuration change; ignore */ + break; + default: + printf("unknown simtrace msg type 0x%02x\n", sh->msg_type); + rc = -1; + break; + } + + return rc; +} + + +/*! \brief Process a STATUS message on IRQ endpoint from the SIMtrace2 */ +static int process_irq_status(struct cardem_inst *ci, const uint8_t *buf, int len) +{ + const struct cardemu_usb_msg_status *status = (struct cardemu_usb_msg_status *) buf; + + printf("SIMtrace IRQ STATUS: flags=0x%x, fi=%u, di=%u, wi=%u wtime=%u\n", + status->flags, status->fi, status->di, status->wi, + status->waiting_time); + + BankSlot_t bslot; + bank_slot2rspro(, _client->bankd_slot); + RsproPDU_t *pdu = rspro_gen_ClientSlotStatusInd(g_client->srv_conn.clslot, , + status->flags & CEMU_STATUS_F_RESET_ACTIVE, + status->flags & CEMU_STATUS_F_VCC_PRESENT, + status->flags & CEMU_STATUS_F_CLK_ACTIVE, + -1 /* FIXME: make this dependent on board */); + server_conn_send_rspro(_client->bankd_conn, pdu); + + return 0; +} + +static int process_usb_msg_irq(struct cardem_inst *ci, const uint8_t *buf, unsigned int len) +{ + struct simtrace_msg_hdr *sh = (struct simtrace_msg_hdr *)buf; + int rc; + + printf("SIMtrace IRQ %s\n", osmo_hexdump(buf, len)); + + buf += sizeof(*sh); + + switch (sh->msg_type) { + case SIMTRACE_MSGT_BD_CEMU_STATUS: + rc = process_irq_status(ci, buf, len); + break; default: printf("unknown simtrace msg type 0x%02x\n", sh->msg_type); rc = -1; @@ -555,11 +618,12 @@ static void usb_irq_xfer_cb(struct libusb_transfer *xfer) { + struct cardem_inst *ci = xfer->user_data; int rc; switch (xfer->status) { case LIBUSB_TRANSFER_COMPLETED: - /* FIXME: do something with the received data */ + process_usb_msg_irq(ci, xfer->buffer, xfer->actual_length); break; case LIBUSB_TRANSFER_NO_DEVICE: fprintf(stderr, "USB device disappeared\n"); @@ -1026,6 +1090,9 @@ printf("modem %d reset\n", modem); } + /* request firmware to generate STATUS on IRQ endpoint */ + cardem_request_config(ci, CEMU_FEAT_F_STATUS_IRQ); + /* simulate card-insert to modem (owhw, not qmod) */ cardem_request_card_insert(ci, true); -- To view, visit https://gerrit.osmocom.org/c/osmo-remsim/+/16613 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-remsim Gerrit-Branch: master Gerrit-Change-Id: Ibe2266ffa473823e925d4e3afcf168353b11cdd8 Gerrit-Change-Number: 16613 Gerrit-PatchSet: 4
Change in osmo-remsim[master]: bankd: Implement card reset based on clientSlotStatusInd
laforge has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-remsim/+/16614 ) Change subject: bankd: Implement card reset based on clientSlotStatusInd .. Patch Set 4: Code-Review+2 -- To view, visit https://gerrit.osmocom.org/c/osmo-remsim/+/16614 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-remsim Gerrit-Branch: master Gerrit-Change-Id: Ifa615d239ec3ad6daebd8e99e4f7d5b99d32c0e1 Gerrit-Change-Number: 16614 Gerrit-PatchSet: 4 Gerrit-Owner: laforge Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: laforge Gerrit-Comment-Date: Tue, 17 Dec 2019 12:41:13 + Gerrit-HasComments: No Gerrit-Has-Labels: Yes Gerrit-MessageType: comment
Change in osmo-remsim[master]: jenkins.sh: don't verify (possibly outdated) deps
laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-remsim/+/16640 ) Change subject: jenkins.sh: don't verify (possibly outdated) deps .. jenkins.sh: don't verify (possibly outdated) deps When we call a script for verification of our source code, let'sn not check the (old, previous) code from the ./deps directory, too. We should either only verify our own code (solution implemented here) or alternatively verify only after we updated all dependencies to the latest stage. Change-Id: I20e6a3b7b4109b99c91a4921285cacb168c5796b --- M contrib/jenkins.sh 1 file changed, 1 insertion(+), 1 deletion(-) Approvals: Jenkins Builder: Verified laforge: Looks good to me, approved diff --git a/contrib/jenkins.sh b/contrib/jenkins.sh index c36626e..347ea9b 100755 --- a/contrib/jenkins.sh +++ b/contrib/jenkins.sh @@ -17,7 +17,7 @@ mkdir "$deps" || true -verify_value_string_arrays_are_terminated.py $(find . -name "*.[hc]") +verify_value_string_arrays_are_terminated.py $(find . -name "*.[hc]" -not -path "./deps/*") export PKG_CONFIG_PATH="$inst/lib/pkgconfig:$PKG_CONFIG_PATH" export LD_LIBRARY_PATH="$inst/lib" -- To view, visit https://gerrit.osmocom.org/c/osmo-remsim/+/16640 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-remsim Gerrit-Branch: master Gerrit-Change-Id: I20e6a3b7b4109b99c91a4921285cacb168c5796b Gerrit-Change-Number: 16640 Gerrit-PatchSet: 1 Gerrit-Owner: laforge Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: laforge Gerrit-MessageType: merged
Change in osmo-remsim[master]: remsim_client: Port to async libosmousb select loop
laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-remsim/+/16610 ) Change subject: remsim_client: Port to async libosmousb select loop .. remsim_client: Port to async libosmousb select loop By using the non-blocking / asynchronous libusb via the newly- introduced libosmousb (integration to libosmocore select loop), we can not only get a cleaner code-base, but we also get a considerable speed-up. In my tests with a Quectel E25 and a sysmoUSIM-SJS1 card, I am down from 41.4s to 4.7s for the initial reading of the SIM at start-up. Change-Id: Ic18690b3c2cbc5e99de0665c0b68b7555433b3cd Closes: OS#4299 Depends: libosmocore.git I656a1a38cbb5b1f3a9145d2869d3b4d0adefcae3 --- M src/simtrace2-remsim_client.c 1 file changed, 140 insertions(+), 34 deletions(-) Approvals: Jenkins Builder: Verified laforge: Looks good to me, approved diff --git a/src/simtrace2-remsim_client.c b/src/simtrace2-remsim_client.c index 30a9c5b..fa6b102 100644 --- a/src/simtrace2-remsim_client.c +++ b/src/simtrace2-remsim_client.c @@ -143,20 +143,50 @@ } #endif +static void usb_out_xfer_cb(struct libusb_transfer *xfer) +{ + struct msgb *msg = xfer->user_data; + + switch (xfer->status) { + case LIBUSB_TRANSFER_COMPLETED: + break; + case LIBUSB_TRANSFER_NO_DEVICE: + fprintf(stderr, "USB device disappeared\n"); + exit(23); + break; + default: + osmo_panic("USB OUT transfer failed, status=%u\n", xfer->status); + break; + } + + msgb_free(msg); + libusb_free_transfer(xfer); +} + /*! \brief Transmit a given command to the SIMtrace2 device */ int st_transp_tx_msg(struct st_transport *transp, struct msgb *msg) { + struct libusb_transfer *xfer; int rc; printf("SIMtrace <- %s\n", msgb_hexdump(msg)); - int xfer_len; + xfer = libusb_alloc_transfer(0); + OSMO_ASSERT(xfer); + xfer->dev_handle = transp->usb_devh; + xfer->flags = 0; + xfer->type = LIBUSB_TRANSFER_TYPE_BULK; + xfer->endpoint = transp->usb_ep.out; + xfer->timeout = 1000; + xfer->user_data = msg; + xfer->length = msgb_length(msg); + xfer->buffer = msgb_data(msg); + xfer->callback = usb_out_xfer_cb; - rc = libusb_bulk_transfer(transp->usb_devh, transp->usb_ep.out, - msgb_data(msg), msgb_length(msg), - _len, 1000); + /* submit the OUT transfer */ + rc = libusb_submit_transfer(xfer); + OSMO_ASSERT(rc == 0); - msgb_free(msg); return rc; } @@ -472,38 +502,106 @@ return rc; } -static void run_mainloop(struct cardem_inst *ci) +static void usb_in_xfer_cb(struct libusb_transfer *xfer) { - struct st_transport *transp = ci->slot->transp; - unsigned int msg_count, byte_count = 0; - uint8_t buf[16*265]; - int xfer_len; + struct cardem_inst *ci = xfer->user_data; int rc; - printf("Entering main loop\n"); - - while (1) { - /* read data from SIMtrace2 device (local or via USB) */ - rc = libusb_bulk_transfer(transp->usb_devh, transp->usb_ep.in, -buf, sizeof(buf), _len, 100); - if (rc < 0 && rc != LIBUSB_ERROR_TIMEOUT && - rc != LIBUSB_ERROR_INTERRUPTED && - rc != LIBUSB_ERROR_IO) { - fprintf(stderr, "BULK IN transfer error: %s\n", libusb_error_name(rc)); - return; - } - /* dispatch any incoming data */ - if (xfer_len > 0) { - process_usb_msg(ci, buf, xfer_len); - msg_count++; - byte_count += xfer_len; - } - // handle remote SIM client fsm - // TODO register the USB fd for this select - osmo_select_main(true); + switch (xfer->status) { + case LIBUSB_TRANSFER_COMPLETED: + /* hand the message up the stack */ + process_usb_msg(ci, xfer->buffer, xfer->actual_length); + break; + case LIBUSB_TRANSFER_NO_DEVICE: + fprintf(stderr, "USB device disappeared\n"); + exit(23); + break; + default: + osmo_panic("USB IN transfer failed, status=%u\n", xfer->status); + break; } + + /* re-submit the IN transfer */ + rc = libusb_submit_transfer(xfer); + OSMO_ASSERT(rc == 0); } + +static void allocate_and_submit_in(struct cardem_inst *ci) +{ + struct st_transport *transp = ci->slot->transp; + struct libusb_transfer *xfer; + int rc; + + xfer = libusb_alloc_transfer(0); + OSMO_ASSERT(xfer); + xfer->dev_handle = transp->usb_devh; + xfer->flags = 0; +
Change in osmo-remsim[master]: rspro_util: Add functions generating {Bank, Client}SlotStatusInd
laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-remsim/+/16620 ) Change subject: rspro_util: Add functions generating {Bank,Client}SlotStatusInd .. rspro_util: Add functions generating {Bank,Client}SlotStatusInd Change-Id: Ib07d397d80310f94dd6357b895455a1897e01cf3 --- M src/rspro_util.c M src/rspro_util.h 2 files changed, 84 insertions(+), 0 deletions(-) Approvals: Jenkins Builder: Verified laforge: Looks good to me, approved diff --git a/src/rspro_util.c b/src/rspro_util.c index 422aef4..1d95aee 100644 --- a/src/rspro_util.c +++ b/src/rspro_util.c @@ -385,6 +385,84 @@ return pdu; } +RsproPDU_t *rspro_gen_BankSlotStatusInd(const BankSlot_t *bank, const ClientSlot_t *client, + bool rst_active, int vcc_present, int clk_active, + int card_present) +{ + SlotPhysStatus_t *pstatus; + RsproPDU_t *pdu = CALLOC(1, sizeof(*pdu)); + if (!pdu) + return NULL; + pdu->version = 2; + pdu->msg.present = RsproPDUchoice_PR_bankSlotStatusInd; + OSMO_ASSERT(bank); + pdu->msg.choice.bankSlotStatusInd.fromBankSlot = *bank; + OSMO_ASSERT(client) + pdu->msg.choice.bankSlotStatusInd.toClientSlot = *client; + + pstatus = >msg.choice.bankSlotStatusInd.slotPhysStatus; + pstatus->resetActive = rst_active ? 1 : 0; + + if (vcc_present >= 0) { + pstatus->vccPresent = CALLOC(1, sizeof(BOOLEAN_t)); + OSMO_ASSERT(pstatus->vccPresent); + *pstatus->vccPresent = vcc_present; + } + + if (clk_active >= 0) { + pstatus->clkActive = CALLOC(1, sizeof(BOOLEAN_t)); + OSMO_ASSERT(pstatus->clkActive); + *pstatus->clkActive = clk_active; + } + + if (card_present >= 0) { + pstatus->cardPresent = CALLOC(1, sizeof(BOOLEAN_t)); + OSMO_ASSERT(pstatus->cardPresent); + *pstatus->cardPresent = card_present; + } + + return pdu; +} + +RsproPDU_t *rspro_gen_ClientSlotStatusInd(const ClientSlot_t *client, const BankSlot_t *bank, + bool rst_active, int vcc_present, int clk_active, + int card_present) +{ + SlotPhysStatus_t *pstatus; + RsproPDU_t *pdu = CALLOC(1, sizeof(*pdu)); + if (!pdu) + return NULL; + pdu->version = 2; + pdu->msg.present = RsproPDUchoice_PR_clientSlotStatusInd; + OSMO_ASSERT(client) + pdu->msg.choice.clientSlotStatusInd.fromClientSlot = *client; + OSMO_ASSERT(bank); + pdu->msg.choice.clientSlotStatusInd.toBankSlot = *bank; + + pstatus = >msg.choice.clientSlotStatusInd.slotPhysStatus; + pstatus->resetActive = rst_active ? 1 : 0; + + if (vcc_present >= 0) { + pstatus->vccPresent = CALLOC(1, sizeof(BOOLEAN_t)); + OSMO_ASSERT(pstatus->vccPresent); + *pstatus->vccPresent = vcc_present; + } + + if (clk_active >= 0) { + pstatus->clkActive = CALLOC(1, sizeof(BOOLEAN_t)); + OSMO_ASSERT(pstatus->clkActive); + *pstatus->clkActive = clk_active; + } + + if (card_present >= 0) { + pstatus->cardPresent = CALLOC(1, sizeof(BOOLEAN_t)); + OSMO_ASSERT(pstatus->cardPresent); + *pstatus->cardPresent = card_present; + } + + return pdu; +} + RsproPDU_t *rspro_gen_ResetStateReq(void) { RsproPDU_t *pdu = CALLOC(1, sizeof(*pdu)); diff --git a/src/rspro_util.h b/src/rspro_util.h index 8c6ae3b..3c5de0d 100644 --- a/src/rspro_util.h +++ b/src/rspro_util.h @@ -42,6 +42,12 @@ const uint8_t *tpdu, unsigned int tpdu_len); RsproPDU_t *rspro_gen_TpduCard2Modem(const BankSlot_t *bank, const ClientSlot_t *client, const uint8_t *tpdu, unsigned int tpdu_len); +RsproPDU_t *rspro_gen_BankSlotStatusInd(const BankSlot_t *bank, const ClientSlot_t *client, + bool rst_active, int vcc_present, int clk_active, + int card_present); +RsproPDU_t *rspro_gen_ClientSlotStatusInd(const ClientSlot_t *client, const BankSlot_t *bank, + bool rst_active, int vcc_present, int clk_active, + int card_present); RsproPDU_t *rspro_gen_ResetStateReq(void); RsproPDU_t *rspro_gen_ResetStateRes(e_ResultCode res); -- To view, visit https://gerrit.osmocom.org/c/osmo-remsim/+/16620 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-remsim Gerrit-Branch: master Gerrit-Change-Id: Ib07d397d80310f94dd6357b895455a1897e01cf3 Gerrit-Change-Number: 16620