See <https://jenkins.osmocom.org/jenkins/job/master-osmo-hlr/a1=default,a2=defau…>
------------------------------------------
[...truncated 176.49 KB...]
make[2]: Leaving directory '/build/contrib'
Making all in tests
make[2]: Entering directory '/build/tests'
Making all in auc
make[3]: Entering directory '/build/tests/auc'
Making all in gen_ts_55_205_test_sets
make[4]: Entering directory '/build/tests/auc/gen_ts_55_205_test_sets'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/build/tests/auc/gen_ts_55_205_test_sets'
make[4]: Entering directory '/build/tests/auc'
CC auc_test.o
CCLD auc_test
make[4]: Leaving directory '/build/tests/auc'
make[3]: Leaving directory '/build/tests/auc'
Making all in gsup_server
make[3]: Entering directory '/build/tests/gsup_server'
CC gsup_server_test.o
CCLD gsup_server_test
../../src/gsup_server.c: In function 'osmo_gsup_create_insert_subscriber_data_msg':
../../src/gsup_server.c:402:10: note: #pragma message: FIXME: deal with encoding the following data: gsup.hlr_enc
#pragma message "FIXME: deal with encoding the following data: gsup.hlr_enc"
^~~~~~~
make[3]: Leaving directory '/build/tests/gsup_server'
Making all in db
make[3]: Entering directory '/build/tests/db'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/build/tests/db'
Making all in gsup
make[3]: Entering directory '/build/tests/gsup'
CC gsup_test.o
CCLD gsup_test
../../src/gsup_server.c: In function 'osmo_gsup_create_insert_subscriber_data_msg':
../../src/gsup_server.c:402:10: note: #pragma message: FIXME: deal with encoding the following data: gsup.hlr_enc
#pragma message "FIXME: deal with encoding the following data: gsup.hlr_enc"
^~~~~~~
make[3]: Leaving directory '/build/tests/gsup'
Making all in db_upgrade
make[3]: Entering directory '/build/tests/db_upgrade'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/build/tests/db_upgrade'
make[3]: Entering directory '/build/tests'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/build/tests'
make[2]: Leaving directory '/build/tests'
make[2]: Entering directory '/build'
make[2]: Nothing to be done for 'all-am'.
make[2]: Leaving directory '/build'
make[1]: Leaving directory '/build'
+ make check
make check-recursive
make[1]: Entering directory '/build'
Making check in doc
make[2]: Entering directory '/build/doc'
Making check in examples
make[3]: Entering directory '/build/doc/examples'
make[3]: Nothing to be done for 'check'.
make[3]: Leaving directory '/build/doc/examples'
Making check in manuals
make[3]: Entering directory '/build/doc/manuals'
if [ -n "$ASCIIDOC_WARNINGS_CHECK" ]; then \
make osmohlr-usermanual.check; \
fi
make[4]: Entering directory '/build/doc/manuals'
# out-of-tree building: use a symlink to the output file like done in
# the non-check build above, so the relative include paths work the
# same.
if ! [ -f osmohlr-usermanual.adoc ]; then \
ln -s osmohlr-usermanual.adoc osmohlr-usermanual.adoc; \
fi
asciidoc -v -f /build/deps/install/stow/osmo-gsm-manuals/share/osmo-gsm-manuals/build/mscgen-filter.conf -f /build/deps/install/stow/osmo-gsm-manuals/share/osmo-gsm-manuals/build/diag-filter.conf -f /build/deps/install/stow/osmo-gsm-manuals/share/osmo-gsm-manuals/build/docinfo-releaseinfo.conf -f /build/deps/install/stow/osmo-gsm-manuals/share/osmo-gsm-manuals/build/python2-filter.conf -a srcdir='.' -a commondir='/build/deps/install/stow/osmo-gsm-manuals/share/osmo-gsm-manuals/common' osmohlr-usermanual.adoc > osmohlr-usermanual.check 2>&1
# Make absolutely sure that the %.check target is updated.
touch osmohlr-usermanual.check
# Do print the WARNING output but return error if any was found
# (grep -v would omit the WARNING output from the log).
make[4]: Leaving directory '/build/doc/manuals'
make[3]: Leaving directory '/build/doc/manuals'
make[3]: Entering directory '/build/doc'
make[3]: Nothing to be done for 'check-am'.
make[3]: Leaving directory '/build/doc'
make[2]: Leaving directory '/build/doc'
Making check in src
make[2]: Entering directory '/build/src'
make check-recursive
make[3]: Entering directory '/build/src'
Making check in gsupclient
make[4]: Entering directory '/build/src/gsupclient'
make[4]: Nothing to be done for 'check'.
make[4]: Leaving directory '/build/src/gsupclient'
make[4]: Entering directory '/build/src'
make[4]: Nothing to be done for 'check-am'.
make[4]: Leaving directory '/build/src'
make[3]: Leaving directory '/build/src'
make[2]: Leaving directory '/build/src'
Making check in include
make[2]: Entering directory '/build/include'
make[2]: Nothing to be done for 'check'.
make[2]: Leaving directory '/build/include'
Making check in sql
make[2]: Entering directory '/build/sql'
make[2]: Nothing to be done for 'check'.
make[2]: Leaving directory '/build/sql'
Making check in contrib
make[2]: Entering directory '/build/contrib'
Making check in systemd
make[3]: Entering directory '/build/contrib/systemd'
make[3]: Nothing to be done for 'check'.
make[3]: Leaving directory '/build/contrib/systemd'
make[3]: Entering directory '/build/contrib'
make[3]: Nothing to be done for 'check-am'.
make[3]: Leaving directory '/build/contrib'
make[2]: Leaving directory '/build/contrib'
Making check in tests
make[2]: Entering directory '/build/tests'
Making check in auc
make[3]: Entering directory '/build/tests/auc'
Making check in gen_ts_55_205_test_sets
make[4]: Entering directory '/build/tests/auc/gen_ts_55_205_test_sets'
make[4]: Nothing to be done for 'check'.
make[4]: Leaving directory '/build/tests/auc/gen_ts_55_205_test_sets'
make[4]: Entering directory '/build/tests/auc'
make auc_ts_55_205_test_sets
make[5]: Entering directory '/build/tests/auc'
../../tests/auc/gen_ts_55_205_test_sets/pdftxt_2_c.py > auc_ts_55_205_test_sets.c
CC auc_ts_55_205_test_sets.o
CCLD auc_ts_55_205_test_sets
make[5]: Leaving directory '/build/tests/auc'
make[4]: Leaving directory '/build/tests/auc'
make[3]: Leaving directory '/build/tests/auc'
Making check in gsup_server
make[3]: Entering directory '/build/tests/gsup_server'
make[3]: Nothing to be done for 'check'.
make[3]: Leaving directory '/build/tests/gsup_server'
Making check in db
make[3]: Entering directory '/build/tests/db'
make db_test
make[4]: Entering directory '/build/tests/db'
CC db_test.o
CCLD db_test
make[4]: Leaving directory '/build/tests/db'
make[3]: Leaving directory '/build/tests/db'
Making check in gsup
make[3]: Entering directory '/build/tests/gsup'
make[3]: Nothing to be done for 'check'.
make[3]: Leaving directory '/build/tests/gsup'
Making check in db_upgrade
make[3]: Entering directory '/build/tests/db_upgrade'
make[3]: Nothing to be done for 'check'.
make[3]: Leaving directory '/build/tests/db_upgrade'
make[3]: Entering directory '/build/tests'
make check-local
make[4]: Entering directory '/build/tests'
:;{ \
echo '# Signature of the current package.' && \
echo 'm4_define([AT_PACKAGE_NAME],' && \
echo ' [osmo-hlr])' && \
echo 'm4_define([AT_PACKAGE_TARNAME],' && \
echo ' [osmo-hlr])' && \
echo 'm4_define([AT_PACKAGE_VERSION],' && \
echo ' [1.1.0.13-7f4d])' && \
echo 'm4_define([AT_PACKAGE_STRING],' && \
echo ' [osmo-hlr 1.1.0.13-7f4d])' && \
echo 'm4_define([AT_PACKAGE_BUGREPORT],' && \
echo ' [openbsc(a)lists.osmocom.org])'; \
echo 'm4_define([AT_PACKAGE_URL],' && \
echo ' [])'; \
} >'./package.m4'
/bin/bash ../missing --run autom4te --language=autotest -I '.' -o testsuite.tmp testsuite.at
mv testsuite.tmp testsuite
/bin/bash './testsuite'
## ---------------------------------- ##
## osmo-hlr 1.1.0.13-7f4d test suite. ##
## ---------------------------------- ##
Regression tests.
1: auc ok
2: auc_ts_55_205_test_sets ok
3: gsup ok
4: gsup_server ok
5: db ok
6: db_upgrade FAILED (testsuite.at:47)
## ------------- ##
## Test results. ##
## ------------- ##
ERROR: All 6 tests were run,
1 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: [osmo-hlr 1.1.0.13-7f4d] testsuite: 6 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'.
Makefile:731: recipe for target 'check-local' failed
make[4]: Leaving directory '/build/tests'
make[4]: *** [check-local] Error 1
make[3]: *** [check-am] Error 2
Makefile:552: recipe for target 'check-am' failed
make[3]: Leaving directory '/build/tests'
Makefile:404: recipe for target 'check-recursive' failed
make[2]: Leaving directory '/build/tests'
make[2]: *** [check-recursive] Error 1
Makefile:480: recipe for target 'check-recursive' failed
make[1]: Leaving directory '/build'
make[1]: *** [check-recursive] Error 1
Makefile:771: recipe for target 'check' failed
make: *** [check] Error 2
+ cat-testlogs.sh
======================== ./tests/testsuite.dir/6/testsuite.log
# -*- compilation -*-
6. testsuite.at:42: testing db_upgrade ...
./testsuite.at:47: $abs_srcdir/db_upgrade/db_upgrade_test.sh $abs_srcdir/db_upgrade $abs_builddir/db_upgrade
--- expout 2019-11-21 07:08:26.578181114 +0000
+++ /build/tests/testsuite.dir/at-groups/6/stdout 2019-11-21 07:08:26.870179985 +0000
@@ -77,11 +77,6 @@
Launching osmo-hlr to upgrade db:
osmo-hlr --database $db --db-upgrade --db-check --config-file $srcdir/osmo-hlr.cfg
rc = 0
-DMAIN hlr starting
-DDB using database: <PATH>test.db
-DDB Database <PATH>test.db' has HLR DB schema version 0
-DDB Database <PATH>test.db' has been upgraded to HLR DB schema version 3
-DMAIN Cmdline option --db-check: Database was opened successfully, quitting.
Resulting db:
@@ -162,7 +157,3 @@
Verify that osmo-hlr can open it:
osmo-hlr --database $db --db-check --config-file $srcdir/osmo-hlr.cfg
rc = 0
-DMAIN hlr starting
-DDB using database: <PATH>test.db
-DDB Database <PATH>test.db' has HLR DB schema version 3
-DMAIN Cmdline option --db-check: Database was opened successfully, quitting.
6. testsuite.at:42: 6. db_upgrade (testsuite.at:42): FAILED (testsuite.at:47)
Build step 'Execute shell' marked build as failure
[WARNINGS]Skipping publisher since build result is FAILURE
See <https://jenkins.osmocom.org/jenkins/job/osmocom-coverity/660/display/redire…>
------------------------------------------
[...truncated 1.13 MB...]
automake: of the corresponding sources.
automake: You are advised to start using 'subdir-objects' option throughout your
automake: project, to avoid future incompatibilities.
tests/Makefile.am:21: warning: source file 'alloc/MslotTest.cpp' is in a subdirectory,
tests/Makefile.am:21: but option 'subdir-objects' is disabled
tests/Makefile.am:111: warning: source file 'app_info/AppInfoTest.cpp' is in a subdirectory,
tests/Makefile.am:111: but option 'subdir-objects' is disabled
tests/Makefile.am:38: warning: source file 'bitcomp/BitcompTest.cpp' is in a subdirectory,
tests/Makefile.am:38: but option 'subdir-objects' is disabled
tests/Makefile.am:38: warning: source file '../src/egprs_rlc_compression.cpp' is in a subdirectory,
tests/Makefile.am:38: but option 'subdir-objects' is disabled
tests/Makefile.am:97: warning: source file 'codel/codel_test.c' is in a subdirectory,
tests/Makefile.am:97: but option 'subdir-objects' is disabled
tests/Makefile.am:44: warning: source file 'edge/EdgeTest.cpp' is in a subdirectory,
tests/Makefile.am:44: but option 'subdir-objects' is disabled
tests/Makefile.am:52: warning: source file 'emu/pcu_emu.cpp' is in a subdirectory,
tests/Makefile.am:52: but option 'subdir-objects' is disabled
tests/Makefile.am:52: warning: source file 'emu/test_replay_gprs_attach.cpp' is in a subdirectory,
tests/Makefile.am:52: but option 'subdir-objects' is disabled
tests/Makefile.am:52: warning: source file 'emu/openbsc_clone.c' is in a subdirectory,
tests/Makefile.am:52: but option 'subdir-objects' is disabled
tests/Makefile.am:52: warning: source file 'emu/test_pdp_activation.cpp' is in a subdirectory,
tests/Makefile.am:52: but option 'subdir-objects' is disabled
tests/Makefile.am:103: warning: source file 'fn/FnTest.cpp' is in a subdirectory,
tests/Makefile.am:103: but option 'subdir-objects' is disabled
tests/Makefile.am:81: warning: source file 'llc/LlcTest.cpp' is in a subdirectory,
tests/Makefile.am:81: but option 'subdir-objects' is disabled
tests/Makefile.am:92: warning: source file 'llist/LListTest.cpp' is in a subdirectory,
tests/Makefile.am:92: but option 'subdir-objects' is disabled
tests/Makefile.am:70: warning: source file 'ms/MsTest.cpp' is in a subdirectory,
tests/Makefile.am:70: but option 'subdir-objects' is disabled
tests/Makefile.am:7: warning: source file 'rlcmac/RLCMACTest.cpp' is in a subdirectory,
tests/Makefile.am:7: but option 'subdir-objects' is disabled
tests/Makefile.am:29: warning: source file 'tbf/TbfTest.cpp' is in a subdirectory,
tests/Makefile.am:29: but option 'subdir-objects' is disabled
tests/Makefile.am:62: warning: source file 'types/TypesTest.cpp' is in a subdirectory,
tests/Makefile.am:62: but option 'subdir-objects' is disabled
+ ./configure --prefix=/home/osmocom-build/osmo-ci/coverity/install-Osmocom --with-systemdsystemunitdir=no --enable-sysmocom-bts=yes --enable-sysmocom-dsp=yes
configure: WARNING: unrecognized options: --enable-sysmocom-bts
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 for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... 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... mt
checking if mt 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... yes
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
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 for LIBOSMOCORE... yes
checking for LIBOSMOVTY... yes
checking for LIBOSMOGSM... yes
checking for LIBOSMOGB... yes
checking whether to enable direct DSP access for PDCH of sysmocom-bts... yes
checking for sysmocom/femtobts/superfemto.h... yes
checking whether to enable direct PHY access for PDCH of NuRAN Wireless Litecell 1.5 BTS... no
checking whether to enable direct PHY access for PDCH of NuRAN Wireless OC-2G BTS... no
checking whether to enable VTY tests... no
CPPFLAGS=""
CFLAGS=" -std=gnu89"
CXXFLAGS=" -std=gnu++03"
LDFLAGS=""
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating include/Makefile
config.status: creating src/Makefile
config.status: creating doc/Makefile
config.status: creating doc/examples/Makefile
config.status: creating tests/Makefile
config.status: creating doc/manuals/Makefile
config.status: creating contrib/Makefile
config.status: creating contrib/systemd/Makefile
config.status: creating Makefile
config.status: executing tests/atconfig commands
config.status: executing depfiles commands
config.status: executing libtool commands
configure: WARNING: unrecognized options: --enable-sysmocom-bts
+ make -j 8
Making all in include
make[1]: Entering directory '/home/osmocom-build/osmo-ci/coverity/source-Osmocom/osmo-pcu/include'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/osmocom-build/osmo-ci/coverity/source-Osmocom/osmo-pcu/include'
Making all in src
make[1]: Entering directory '/home/osmocom-build/osmo-ci/coverity/source-Osmocom/osmo-pcu/src'
CXX gprs_debug.lo
CXX csn1.lo
CXX gsm_rlcmac.lo
CXX gprs_rlcmac.lo
CXX gprs_bssgp_pcu.lo
CXX gprs_rlcmac_meas.lo
CXX gprs_rlcmac_ts_alloc.lo
CXX gprs_rlcmac_sched.lo
In file included from /home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/gsm/gsm_utils.h:33:0,
from ./pcu_l1_if.h:31,
from gprs_rlcmac_meas.cpp:24:
/home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/gsm/protocol/gsm_04_08.h:13:6: error: use of enum ‘gsm_band’ without previous declaration
enum gsm_band;
^~~~~~~~
/home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/gsm/protocol/gsm_04_08.h:77:46: error: use of enum ‘gsm_band’ without previous declaration
int8_t osmo_gsm48_rfpowercap2powerclass(enum gsm_band band, uint8_t rf_power_cap);
^~~~~~~~
Makefile:800: recipe for target 'gprs_rlcmac_meas.lo' failed
make[1]: *** [gprs_rlcmac_meas.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
In file included from ./bts.h:31:0,
from gprs_rlcmac_ts_alloc.cpp:24:
/home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/gsm/protocol/gsm_04_08.h:13:6: error: use of enum ‘gsm_band’ without previous declaration
enum gsm_band;
^~~~~~~~
/home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/gsm/protocol/gsm_04_08.h:77:46: error: use of enum ‘gsm_band’ without previous declaration
int8_t osmo_gsm48_rfpowercap2powerclass(enum gsm_band band, uint8_t rf_power_cap);
^~~~~~~~
Makefile:800: recipe for target 'gprs_rlcmac_ts_alloc.lo' failed
make[1]: *** [gprs_rlcmac_ts_alloc.lo] Error 1
In file included from /home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/gsm/gsm_utils.h:33:0,
from ./pcu_l1_if.h:31,
from gprs_rlcmac.cpp:22:
/home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/gsm/protocol/gsm_04_08.h:13:6: error: use of enum ‘gsm_band’ without previous declaration
enum gsm_band;
^~~~~~~~
/home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/gsm/protocol/gsm_04_08.h:77:46: error: use of enum ‘gsm_band’ without previous declaration
int8_t osmo_gsm48_rfpowercap2powerclass(enum gsm_band band, uint8_t rf_power_cap);
^~~~~~~~
gprs_bssgp_pcu.cpp:979:2: warning: #warning "This causes ASAN to complain. It is not critical for normal operation but should be fixed nevertheless" [-Wcpp]
#warning "This causes ASAN to complain. It is not critical for normal operation but should be fixed nevertheless"
^~~~~~~
In file included from /home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/gsm/gsm48.h:10:0,
from /home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/gprs/gprs_bssgp.h:9,
from ./gprs_bssgp_pcu.h:32,
from gprs_bssgp_pcu.cpp:22:
/home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/gsm/protocol/gsm_04_08.h:13:6: error: use of enum ‘gsm_band’ without previous declaration
enum gsm_band;
^~~~~~~~
/home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/gsm/protocol/gsm_04_08.h:77:46: error: use of enum ‘gsm_band’ without previous declaration
int8_t osmo_gsm48_rfpowercap2powerclass(enum gsm_band band, uint8_t rf_power_cap);
^~~~~~~~
Makefile:800: recipe for target 'gprs_rlcmac.lo' failed
make[1]: *** [gprs_rlcmac.lo] Error 1
Makefile:800: recipe for target 'gprs_bssgp_pcu.lo' failed
make[1]: *** [gprs_bssgp_pcu.lo] Error 1
In file included from /home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/gsm/gsm48.h:10:0,
from /home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/gprs/gprs_bssgp.h:9,
from ./gprs_bssgp_pcu.h:32,
from gprs_rlcmac_sched.cpp:20:
/home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/gsm/protocol/gsm_04_08.h:13:6: error: use of enum ‘gsm_band’ without previous declaration
enum gsm_band;
^~~~~~~~
/home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/gsm/protocol/gsm_04_08.h:77:46: error: use of enum ‘gsm_band’ without previous declaration
int8_t osmo_gsm48_rfpowercap2powerclass(enum gsm_band band, uint8_t rf_power_cap);
^~~~~~~~
Makefile:800: recipe for target 'gprs_rlcmac_sched.lo' failed
make[1]: *** [gprs_rlcmac_sched.lo] Error 1
make[1]: Leaving directory '/home/osmocom-build/osmo-ci/coverity/source-Osmocom/osmo-pcu/src'
Makefile:411: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
[WARNING] Build command ./build_Osmocom.sh exited with code 2. Please verify that the build completed successfully.
Emitted 2008 C/C++ compilation units (100%) successfully
2008 C/C++ compilation units (100%) are ready for analysis
For more details, please look at:
/home/osmocom-build/osmo-ci/coverity/source-Osmocom/cov-int/build-log.txt
Build step 'Execute shell' marked build as failure
See <https://jenkins.osmocom.org/jenkins/job/master-osmocom-bb/a1=default,a2=def…>
------------------------------------------
[...truncated 143.16 KB...]
rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
make[3]: Leaving directory '/build/src/host/layer23/layer23-0.0.0/_build/sub/src'
rm -f Makefile
make[2]: Leaving directory '/build/src/host/layer23/layer23-0.0.0/_build/sub/src'
make[2]: Entering directory '/build/src/host/layer23/layer23-0.0.0/_build/sub'
test -z "" || rm -f
test . = "../.." || test -z "" || rm -f
rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
rm -f cscope.out cscope.in.out cscope.po.out cscope.files
make[2]: Leaving directory '/build/src/host/layer23/layer23-0.0.0/_build/sub'
rm -f config.status config.cache config.log configure.lineno config.status.lineno
rm -f Makefile
make[1]: Leaving directory '/build/src/host/layer23/layer23-0.0.0/_build/sub'
if test -d "layer23-0.0.0"; then find "layer23-0.0.0" -type d ! -perm -200 -exec chmod u+w {} ';' && rm -rf "layer23-0.0.0" || { sleep 5 && rm -rf "layer23-0.0.0"; }; else :; fi
===============================================
layer23-0.0.0 archives ready for distribution:
layer23-0.0.0.tar.gz
layer23-0.0.0.tar.bz2
===============================================
+ cd /build/src/host/gsmmap
+ autoreconf -fi
configure.ac:13: installing './compile'
configure.ac:6: installing './install-sh'
configure.ac:6: installing './missing'
Makefile.am:10: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
Makefile.am:15: warning: source file '../layer23/src/common/sysinfo.c' is in a subdirectory,
Makefile.am:15: but option 'subdir-objects' is disabled
automake: warning: possible forward-incompatibility.
automake: At least a source file is in a subdirectory, but the 'subdir-objects'
automake: automake option hasn't been enabled. For now, the corresponding output
automake: object file(s) will be placed in the top-level directory. However,
automake: this behaviour will change in future Automake versions: they will
automake: unconditionally cause object files to be placed in the same subdirectory
automake: of the corresponding sources.
automake: You are advised to start using 'subdir-objects' option throughout your
automake: project, to avoid future incompatibilities.
Makefile.am:15: warning: source file '../layer23/src/common/networks.c' is in a subdirectory,
Makefile.am:15: but option 'subdir-objects' is disabled
Makefile.am:15: warning: source file '../layer23/src/common/logging.c' is in a subdirectory,
Makefile.am:15: but option 'subdir-objects' is disabled
Makefile.am: installing './depcomp'
+ ./configure
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 for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for LIBOSMOCORE... yes
checking for LIBOSMOGSM... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: executing depfiles commands
+ make
echo 0.0.0.2436-a4046 > .version-t && mv .version-t .version
make all-am
make[1]: Entering directory '/build/src/host/gsmmap'
CC gsmmap.o
gsmmap.c:22:2: warning: #warning todo bsic [-Wcpp]
#warning todo bsic
^~~~~~~
CC geo.o
CC locate.o
CC log.o
CC sysinfo.o
CC networks.o
CC logging.o
CCLD gsmmap
make[1]: Leaving directory '/build/src/host/gsmmap'
+ cd /build/src/host/osmocon
+ autoreconf -fi
configure.ac:13: installing './compile'
configure.ac:6: installing './install-sh'
configure.ac:6: installing './missing'
Makefile.am:10: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
Makefile.am:17: warning: source file '$(srcdir)/../../target/firmware/comm/sercomm.c' is in a subdirectory,
Makefile.am:17: but option 'subdir-objects' is disabled
automake: warning: possible forward-incompatibility.
automake: At least a source file is in a subdirectory, but the 'subdir-objects'
automake: automake option hasn't been enabled. For now, the corresponding output
automake: object file(s) will be placed in the top-level directory. However,
automake: this behaviour will change in future Automake versions: they will
automake: unconditionally cause object files to be placed in the same subdirectory
automake: of the corresponding sources.
automake: You are advised to start using 'subdir-objects' option throughout your
automake: project, to avoid future incompatibilities.
Makefile.am: installing './depcomp'
+ ./configure
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 for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for LIBOSMOCORE... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: executing depfiles commands
+ make
echo 0.0.0.2436-a4046 > .version-t && mv .version-t .version
make all-am
make[1]: Entering directory '/build/src/host/osmocon'
CC osmocon.o
osmocon.c: In function ‘read_file’:
osmocon.c:372:8: warning: ‘fd’ may be used uninitialized in this function [-Wmaybe-uninitialized]
rc = read(fd, file_data, st.st_size);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CC tpu_debug.o
CC sercomm.o
CCLD osmocon
CC osmoload.o
osmoload.c: In function ‘loader_read_cb’:
osmoload.c:288:10: warning: ‘length’ may be used uninitialized in this function [-Wmaybe-uninitialized]
uint8_t length;
^~~~~~
osmoload.c:446:3: warning: ‘chip’ may be used uninitialized in this function [-Wmaybe-uninitialized]
loader_do_flashrange(cmd, msg, chip, address, status);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
osmoload.c:287:10: note: ‘chip’ was declared here
uint8_t chip;
^~~~
osmoload.c:446:3: warning: ‘status’ may be used uninitialized in this function [-Wmaybe-uninitialized]
loader_do_flashrange(cmd, msg, chip, address, status);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
osmoload.c:292:11: note: ‘status’ was declared here
uint32_t status;
^~~~~~
osmoload.c:433:5: warning: ‘crc’ may be used uninitialized in this function [-Wmaybe-uninitialized]
printf("\nbad crc %4.4x (not %4.4x) at offset 0x%8.8x", crc, osmoload.memcrc, osmoload.memoff);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
osmoload.c:289:11: note: ‘crc’ was declared here
uint16_t crc;
^~~
osmoload.c:414:4: warning: ‘data’ may be used uninitialized in this function [-Wmaybe-uninitialized]
loader_do_memdump(crc, data, length);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
osmoload.c:294:8: note: ‘data’ was declared here
void *data;
^~~~
osmoload.c:378:4: warning: ‘address’ may be used uninitialized in this function [-Wmaybe-uninitialized]
printf("Confirmed flash erase of chip %d address 0x%8.8x, status %s\n",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
chip, address, status ? "FAILED" : "ok");
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
osmoload.c:290:11: note: ‘address’ was declared here
uint32_t address;
^~~~~~~
CCLD osmoload
make[1]: Leaving directory '/build/src/host/osmocon'
+ cd /build/src/host/trxcon
+ autoreconf -fi
configure.ac:10: installing './compile'
configure.ac:3: installing './install-sh'
configure.ac:3: installing './missing'
Makefile.am: installing './depcomp'
+ ./configure
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 for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for LIBOSMOCORE... yes
checking for LIBOSMOCODING... yes
checking for LIBOSMOGSM... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: executing depfiles commands
+ make
echo 0.0.0 > .version-t && mv .version-t .version
make all-am
make[1]: Entering directory '/build/src/host/trxcon'
CC l1ctl_link.o
CC l1ctl.o
In file included from trx_if.h:9:0,
from l1ctl.c:46:
sched_trx.h:204:20: error: ‘GSM_MACBLOCK_LEN’ undeclared here (not in a function)
uint8_t mr_cache[GSM_MACBLOCK_LEN];
^~~~~~~~~~~~~~~~
make[1]: *** [l1ctl.o] Error 1
Makefile:427: recipe for target 'l1ctl.o' failed
make[1]: Leaving directory '/build/src/host/trxcon'
Makefile:318: recipe for target 'all' failed
make: *** [all] Error 2
Build step 'Execute shell' marked build as failure
[WARNINGS]Skipping publisher since build result is FAILURE