See <https://jenkins.osmocom.org/jenkins/job/master-osmo-sgsn/IU=--enable-iu,WIT…>
Changes:
------------------------------------------
[...truncated 4.75 KB...]
+ [ -d /build/deps ]
+ [ -d layer1-headers ]
+ mkdir /build/deps
+ osmo-build-dep.sh libosmocore '' ac_cv_path_DOXYGEN=false
=============================== libosmocore ===============================
+ mkdir -p /build/deps
+ cd /build/deps
+ osmo-deps.sh libosmocore
+ project=libosmocore
+ branch=master
+ git branch -a
+ grep -c remotes/origin/master$
+ [ x1 != x0 ]
+ branch=origin/master
+ test -d libosmocore
+ osmo_git_clone_url libosmocore
+ echo https://gerrit.osmocom.org/libosmocore
+ git clone https://gerrit.osmocom.org/libosmocore libosmocore
Cloning into 'libosmocore'...
+ cd libosmocore
+ git fetch --tags origin
+ git fetch origin
+ deps= osmo-clean-workspace.sh
+ chmod -R +w .
+ git checkout -f HEAD
Your branch is up to date with 'origin/master'.
+ git clean -dxf
+ [ -d ]
+ [ -d layer1-headers ]
+ git checkout -f origin/master
Note: checking out 'origin/master'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b <new-branch-name>
HEAD is now at f4854f39 osmo_tdef_get(): clarify API doc on val_if_not_present
+ git rev-parse HEAD
f4854f39c6e1a7e130b4a33a15da1044801e0d1c
+ cd libosmocore
+ mkdir -p /build/deps/install/stow
+ osmo_source_subdir libosmocore
+ subdir=
+ [ -n ]
+ autoreconf --install --force
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
configure.ac:23: installing './compile'
configure.ac:25: installing './config.guess'
configure.ac:25: installing './config.sub'
configure.ac:8: installing './install-sh'
configure.ac:8: installing './missing'
Makefile.am:72: warning: DOXYGEN was already defined in condition TRUE, which includes condition !HAVE_DOXYGEN ...
configure.ac:111: ... 'DOXYGEN' previously defined here
src/Makefile.am: installing './depcomp'
+ ./configure --prefix=/build/deps/install/stow/libosmocore --with-systemdsystemunitdir=/build/deps/install/stow/libosmocore/lib/systemd/system ac_cv_path_DOXYGEN=false
configure: WARNING: unrecognized options: --with-systemdsystemunitdir
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking whether make sets $(MAKE)... (cached) yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of gcc... gcc3
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for pkg-config... /usr/bin/pkg-config
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.20... yes
checking for ANSI C header files... (cached) yes
checking execinfo.h usability... yes
checking execinfo.h presence... yes
checking for execinfo.h... yes
checking poll.h usability... yes
checking poll.h presence... yes
checking for poll.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/signalfd.h usability... yes
checking sys/signalfd.h presence... yes
checking for sys/signalfd.h... yes
checking sys/eventfd.h usability... yes
checking sys/eventfd.h presence... yes
checking for sys/eventfd.h... yes
checking sys/timerfd.h usability... yes
checking sys/timerfd.h presence... yes
checking for sys/timerfd.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking netinet/tcp.h usability... yes
checking netinet/tcp.h presence... yes
checking for netinet/tcp.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for library containing dlopen... -ldl
checking for library containing dlsym... -ldl
checking for backtrace in -lexecinfo... no
checking whether gcc is Clang... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking whether more special flags are required for pthreads... no
checking for PTHREAD_PRIO_INHERIT... yes
checking for pthread_getname_np(pthread_t, char*, size_t)... yes
checking for library containing clock_gettime... none required
checking for doxygen... (cached) false
checking whether SYS_getrandom is declared... yes
checking if gcc supports -fvisibility=hidden... yes
checking for localtime_r... yes
checking whether struct tm has tm_gmtoff member... yes
checking for gettid... no
checking whether to workaround TLS bug in old gcc on ARM platforms...
checking for TALLOC... yes
checking for PCSC... yes
checking for LIBUSB... yes
checking for LIBGNUTLS... yes
checking for LIBMNL... yes
checking for LIBSCTP... yes
checking whether to enable VTY/CTRL tests... no
checking whether C compiler accepts -mavx2... yes
checking whether C compiler accepts -mssse3... yes
checking whether C compiler accepts -msse4.1... yes
checking whether to enable ARM NEON instructions support... no
checking whether to include systemtap tracing support... no
checking whether to build with code coverage support... no
checking whether gcc has __builtin_cpu_supports built-in... yes
checking for struct tcp_info.tcpi_notsent_bytes... yes
checking for struct tcp_info.tcpi_rwnd_limited... yes
checking for struct tcp_info.tcpi_sndbuf_limited... yes
checking for struct tcp_info.tcpi_reord_seen... yes
CFLAGS=" -std=gnu11 -DBUILDING_LIBOSMOCORE -Wall"
CPPFLAGS=" -DBUILDING_LIBOSMOCORE -Wall"
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating libosmocore.pc
config.status: creating libosmocodec.pc
config.status: creating libosmocoding.pc
config.status: creating libosmovty.pc
config.status: creating libosmogsm.pc
config.status: creating libosmogb.pc
config.status: creating libosmoctrl.pc
config.status: creating libosmosim.pc
config.status: creating libosmousb.pc
config.status: creating include/Makefile
config.status: creating src/Makefile
config.status: creating src/vty/Makefile
Terminated
time="2022-11-28T16:06:21Z" level=error msg="error waiting for container: unexpected EOF"
Build step 'Execute shell' marked build as failure
$ ssh-agent -k
unset SSH_AUTH_SOCK;
unset SSH_AGENT_PID;
echo Agent pid 525713 killed;
[ssh-agent] Stopped.
Archiving artifacts
See <https://jenkins.osmocom.org/jenkins/job/master-libosmocore/a2=default,a3=de…>
Changes:
------------------------------------------
[...truncated 587.57 KB...]
siblings : 16
core id : 7
cpu cores : 8
apicid : 15
initial apicid : 15
fpu : yes
fpu_exception : yes
cpuid level : 16
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid aperfmperf pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_llc mwaitx cpb cat_l3 cdp_l3 hw_pstate sme ssbd mba sev ibpb stibp vmmcall sev_es fsgsbase bmi1 avx2 smep bmi2 cqm rdt_a rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local clzero irperf xsaveerptr rdpru wbnoinvd arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic v_vmsave_vmload vgif umip rdpid overflow_recov succor smca
bugs : sysret_ss_attrs spectre_v1 spectre_v2 spec_store_bypass
bogomips : 7186.38
TLB size : 3072 4K pages
clflush size : 64
cache_alignment : 64
address sizes : 43 bits physical, 48 bits virtual
power management: ts ttp tm hwpstate cpb eff_freq_ro [13] [14]
/bin/bash '/build/tests/testsuite'
## ------------------------------------- ##
## libosmocore 1.7.0.72-f485 test suite. ##
## ------------------------------------- ##
Regression tests.
1: a5 ok
2: abis ok
3: ctrl ok
4: kasumi ok
5: bits ok
6: bitvec ok
7: bitcomp ok
8: bitfield ok
9: conv ok
10: conv_gsm0503 ok
11: coding ok
12: msgb ok
13: gea ok
14: msgfile ok
15: sms ok
16: smscb ok
17: smscb_gsm0341 ok
18: smscb_cbsp ok
19: ussd ok
20: auth ok
21: comp128 ok
22: lapd ok
23: gsm0502 ok
24: dtx ok
25: gsm0808 ok
26: gsm29205 ok
27: gsm0408 ok
28: gsm48_rest_octets ok
29: gprs ok
30: logging_stream ok
31: logging_wqueue ok
32: codec ok
33: codec_ecu_fr ok
34: fr ok
35: loggingrb ok
36: strrb ok
37: vty ok
38: gprs-bssgp ok
39: gprs-bssgp-rim ok
40: gprs-ns ok
41: gprs-ns2 ok
42: utils ok
43: stats ok
44: write_queue ok
45: bssgp-fc ok
46: sim ok
47: timer ok
48: clk_override ok
49: tlv ok
50: gsup ok
51: fsm ok
52: fsm_dealloc ok
53: oap ok
54: oap_client ok
55: socket FAILED (testsuite.at:353)
56: socket_sctp FAILED (testsuite.at:362)
57: osmo-auc-gen ok
58: endian ok
59: sercomm ok
60: prbs ok
61: gsm23003 ok
62: gsm23236 ok
63: tdef ok
64: sockaddr_str ok
65: use_count ok
66: context ok
67: exec ok
68: i460_mux ok
69: bitgen ok
70: gad ok
71: bsslap ok
72: bssmap_le ok
73: it_q ok
74: base64 ok
75: time_cc ok
76: iuup ok
## ------------- ##
## Test results. ##
## ------------- ##
ERROR: All 76 tests were run,
2 failed unexpectedly.
## -------------------------- ##
## testsuite.log was created. ##
## -------------------------- ##
Please send `tests/testsuite.log' and all information you think might help:
To: <openbsc(a)lists.osmocom.org>
Subject: [libosmocore 1.7.0.72-f485] testsuite: 55 56 failed
You may investigate any problem if you feel able to do so, in which
case the test suite provides a good starting point. Its output may
be found below `tests/testsuite.dir'.
make[4]: *** [Makefile:3133: check-local] Error 1
make[4]: Leaving directory '/build/builddir/tests'
make[3]: *** [Makefile:2532: check-am] Error 2
make[3]: Leaving directory '/build/builddir/tests'
make[2]: *** [Makefile:2534: check] Error 2
make[2]: Leaving directory '/build/builddir/tests'
make[1]: *** [Makefile:725: check-recursive] Error 1
make[1]: Leaving directory '/build/builddir'
make: *** [Makefile:1019: check] Error 2
+ cat-testlogs.sh
======================== ./tests/testsuite.dir/56/testsuite.log
# -*- compilation -*-
56. testsuite.at:356: testing socket_sctp ...
/build/tests/testsuite.at:362: $abs_top_builddir/tests/socket/socket_sctp_test
--- experr 2022-11-28 15:55:39.909413533 +0000
+++ /build/builddir/tests/testsuite.dir/at-groups/56/stderr 2022-11-28 15:55:39.917413665 +0000
@@ -1,8 +1,6 @@
invalid: you have to specify either BIND or CONNECT flags
Invalid v4 vs v6 in local vs remote addresses
Invalid v4 vs v6 in local vs remote addresses
-invalid: you have to specify either BIND or CONNECT flags
-Invalid v4 vs v6 in local vs remote addresses
-Invalid v4 vs v6 in local vs remote addresses
-getaddrinfo(::1, 0) failed: Address family for hostname not supported
-getaddrinfo(127.0.0.1, 0) failed: Address family for hostname not supported
+unable to bind socket: ::1:0: Cannot assign requested address
+Assert failed fd >= 0 /build/tests/socket/socket_sctp_test.c:137
+/build/builddir/tests/testsuite.dir/at-groups/56/test-source: line 19: 19573 Aborted $abs_top_builddir/tests/socket/socket_sctp_test
--- expout 2022-11-28 15:55:39.909413533 +0000
+++ /build/builddir/tests/testsuite.dir/at-groups/56/stdout 2022-11-28 15:55:39.909413533 +0000
@@ -1,24 +0,0 @@
-Checking osmo_sock_init2_multiaddr() with bind to a random local SCTP IPv4 port
-Checking osmo_sock_init2_multiaddr() with bind to a random local SCTP IPv6 port
-Checking osmo_sock_init2_multiaddr() for OSMO_SOCK_F_NONBLOCK
-Checking osmo_sock_init2_multiaddr() for invalid flags
-Checking osmo_sock_init2_multiaddr() for combined BIND + CONNECT
-Checking osmo_sock_init2_multiaddr(AF_UNSPEC) must fail on mixed IPv4 & IPv6
-Checking osmo_sock_init2_multiaddr(AF_UNSPEC) must fail on mixed IPv6 & IPv4
-Checking osmo_sock_init2_multiaddr(AF_UNSPEC) BIND + CONNECT on IPv4
-Checking osmo_sock_init2_multiaddr(AF_UNSPEC) BIND + CONNECT on IPv6
-Done
-Checking osmo_sock_init2_multiaddr() with bind to a random local SCTP IPv4 port
-Checking osmo_sock_init2_multiaddr() with bind to a random local SCTP IPv6 port
-Checking osmo_sock_init2_multiaddr() for OSMO_SOCK_F_NONBLOCK
-Checking osmo_sock_init2_multiaddr() for invalid flags
-Checking osmo_sock_init2_multiaddr() for combined BIND + CONNECT
-Checking osmo_sock_init2_multiaddr(AF_UNSPEC) must fail on mixed IPv4 & IPv6
-Checking osmo_sock_init2_multiaddr(AF_UNSPEC) must fail on mixed IPv6 & IPv4
-Checking osmo_sock_init2_multiaddr(AF_UNSPEC) BIND + CONNECT on IPv4
-Checking osmo_sock_init2_multiaddr(AF_UNSPEC) BIND + CONNECT on IPv6
-Done
-Checking osmo_sock_init2_multiaddr(AF_UNSPEC) BIND on AF_INET IPv4+v6 fails
-Checking osmo_sock_init2_multiaddr(AF_UNSPEC) BIND on AF_INET6 IPv4+v6 fails
-Checking osmo_sock_init2_multiaddr(AF_UNSPEC) BIND on AF_UNSPEC IPv4+v6 succeeds
-Checking osmo_sock_init2_multiaddr(AF_UNSPEC) BIND + CONNECT on IPv4
/build/tests/testsuite.at:362: exit code was 134, expected 0
56. testsuite.at:356: 56. socket_sctp (testsuite.at:356): FAILED (testsuite.at:362)
======================== ./tests/testsuite.dir/55/testsuite.log
# -*- compilation -*-
55. testsuite.at:348: testing socket ...
/build/tests/testsuite.at:353: $abs_top_builddir/tests/socket/socket_test
--- experr 2022-11-28 15:55:39.893413269 +0000
+++ /build/builddir/tests/testsuite.dir/at-groups/55/stderr 2022-11-28 15:55:39.901413401 +0000
@@ -2,7 +2,7 @@
invalid: you have to specify either BIND or CONNECT flags
Unable to find a common protocol (IPv4 or IPv6) for local host: 127.0.0.1 and remote host: ::1.
Unable to find a common protocol (IPv4 or IPv6) for local host: ::1 and remote host: 127.0.0.1.
-invalid: you have to specify either BIND or CONNECT flags
-invalid: the family for local and remote endpoint must be same.
-invalid: the family for local and remote endpoint must be same.
-invalid: the family for local and remote endpoint must be same.
+unable to bind socket: ::1:0: Cannot assign requested address
+no suitable local addr found for: ::1:0
+Assert failed fd >= 0 /build/tests/socket/socket_test.c:141
+/build/builddir/tests/testsuite.dir/at-groups/55/test-source: line 16: 19558 Aborted $abs_top_builddir/tests/socket/socket_test
--- expout 2022-11-28 15:55:39.893413269 +0000
+++ /build/builddir/tests/testsuite.dir/at-groups/55/stdout 2022-11-28 15:55:39.893413269 +0000
@@ -1,33 +0,0 @@
-Checking osmo_sock_init() with bind to a random local UDP port
-Checking for OSMO_SOCK_F_NONBLOCK
-Checking for invalid flags
-Checking osmo_sock_init2() with bind to a random local UDP port
-Checking osmo_sock_init2() for OSMO_SOCK_F_NONBLOCK
-Checking osmo_sock_init2() for invalid flags
-Checking osmo_sock_init2() for combined BIND + CONNECT
-Checking osmo_sock_init2(AF_UNSPEC) must fail on mixed IPv4 & IPv6
-Checking osmo_sock_init2(AF_UNSPEC) must fail on mixed IPv6 & IPv4
-Checking osmo_sock_init2(AF_UNSPEC) BIND + CONNECT on IPv4
-Checking osmo_sock_init2(AF_UNSPEC) BIND + CONNECT on IPv6
-Checking osmo_sock_init2(AF_UNSPEC) BIND on IPv4
-Checking test_get_ip_and_port() for combined BIND + CONNECT on IPv4
-Checking test_get_ip_and_port() for combined BIND + CONNECT on IPv6
-Checking osmo_sock_init_osa() with bind to a random local UDP port
-Checking osmo_sock_init_osa() IPv4 for OSMO_SOCK_F_NONBLOCK
-Checking osmo_sock_init_osa() IPv6 for OSMO_SOCK_F_NONBLOCK
-Checking osmo_sock_init_osa() for invalid flags
-Checking osmo_sock_init_osa() for combined BIND + CONNECT on IPv4
-Checking osmo_sock_init_osa() for combined BIND + CONNECT on IPv6
-Checking osmo_sock_init_osa() must fail on mixed IPv4 & IPv6
-Checking osmo_sock_init_osa() must fail on mixed IPv6 & IPv4
-Checking osmo_sock_init_osa() must fail on invalid osmo_sockaddr
-Checking osmo_sockaddr_to_str_buf to small IPv4
-Checking osmo_sockaddr_to_str_buf IPv4
-Checking osmo_sockaddr_to_str_buf IPv6
-Checking osmo_sockaddr_to_str_buf too short IPv6
-Checking osmo_sockaddr_to_str_buf too short IPv6
-Checking osmo_sockaddr_to_str_buf only 5 bytes IPv6
-Checking osmo_sockaddr_to_str_buf only 5 bytes IPv6
-Checking osmo_sockaddr_to_str_buf long IPv6
-Checking osmo_sockaddr_to_str_buf long IPv6 port
-Checking osmo_sockaddr_to_str_buf long IPv6 port static buffer
/build/tests/testsuite.at:353: exit code was 134, expected 0
55. testsuite.at:348: 55. socket (testsuite.at:348): FAILED (testsuite.at:353)
Build step 'Execute shell' marked build as failure
$ ssh-agent -k
unset SSH_AUTH_SOCK;
unset SSH_AGENT_PID;
echo Agent pid 505183 killed;
[ssh-agent] Stopped.
Archiving artifacts