Build failed in Jenkins: Coverity-Upload (jenkins-job-builder) #6

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.

jenkins at lists.osmocom.org jenkins at lists.osmocom.org
Fri Feb 9 02:30:27 UTC 2018


See <http://jenkins.osmocom.org/jenkins/job/osmocom-coverity/6/display/redirect>

------------------------------------------
[...truncated 819.23 KB...]
  CXX      gprs_rlcmac.lo
  CXX      gprs_bssgp_pcu.lo
  CXX      gprs_rlcmac_sched.lo
  CXX      gprs_rlcmac_meas.lo
  CXX      gprs_rlcmac_ts_alloc.lo
  CXX      gprs_ms.lo
gprs_bssgp_pcu.cpp:967: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/core/write_queue.h:31:0,
                 from ./pcu_l1_if.h:27,
                 from gprs_rlcmac_meas.cpp:22:
/home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/core/msgb.h: In function ‘const char* msgb_hexdump_l2(const msgb*)’:
/home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/core/msgb.h:96:21: error: invalid conversion from ‘void*’ to ‘const unsigned char*’ [-fpermissive]
 #define msgb_l2(m) ((void *)(m->l2h))
                    ~^~~~~~~~~~~~~~~~~
/home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/core/msgb.h:516:22: note: in expansion of macro ‘msgb_l2’
  return osmo_hexdump(msgb_l2(msg), msgb_l2len(msg));
                      ^~~~~~~
In file included from /home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/core/msgb.h:24:0,
                 from /home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/core/write_queue.h:31,
                 from ./pcu_l1_if.h:27,
                 from gprs_rlcmac_meas.cpp:22:
/home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/core/utils.h:55:7: note:   initializing argument 1 of ‘char* osmo_hexdump(const unsigned char*, int)’
 char *osmo_hexdump(const unsigned char *buf, int len);
       ^~~~~~~~~~~~
In file included from /home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/core/write_queue.h:31:0,
                 from ./pcu_l1_if.h:27,
                 from gprs_rlcmac_meas.cpp:22:
/home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/core/msgb.h: In function ‘const char* msgb_hexdump_l3(const msgb*)’:
/home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/core/msgb.h:98:21: error: invalid conversion from ‘void*’ to ‘const unsigned char*’ [-fpermissive]
 #define msgb_l3(m) ((void *)(m->l3h))
                    ~^~~~~~~~~~~~~~~~~
/home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/core/msgb.h:523:22: note: in expansion of macro ‘msgb_l3’
  return osmo_hexdump(msgb_l3(msg), msgb_l3len(msg));
                      ^~~~~~~
In file included from /home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/core/msgb.h:24:0,
                 from /home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/core/write_queue.h:31,
                 from ./pcu_l1_if.h:27,
                 from gprs_rlcmac_meas.cpp:22:
/home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/core/utils.h:55:7: note:   initializing argument 1 of ‘char* osmo_hexdump(const unsigned char*, int)’
 char *osmo_hexdump(const unsigned char *buf, int len);
       ^~~~~~~~~~~~
In file included from /home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/core/write_queue.h:31:0,
                 from ./pcu_l1_if.h:27,
                 from gprs_rlcmac.cpp:22:
/home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/core/msgb.h: In function ‘const char* msgb_hexdump_l2(const msgb*)’:
/home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/core/msgb.h:96:21: error: invalid conversion from ‘void*’ to ‘const unsigned char*’ [-fpermissive]
 #define msgb_l2(m) ((void *)(m->l2h))
                    ~^~~~~~~~~~~~~~~~~
/home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/core/msgb.h:516:22: note: in expansion of macro ‘msgb_l2’
  return osmo_hexdump(msgb_l2(msg), msgb_l2len(msg));
                      ^~~~~~~
In file included from /home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/core/msgb.h:24:0,
                 from /home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/core/write_queue.h:31,
                 from ./pcu_l1_if.h:27,
                 from gprs_rlcmac.cpp:22:
/home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/core/utils.h:55:7: note:   initializing argument 1 of ‘char* osmo_hexdump(const unsigned char*, int)’
 char *osmo_hexdump(const unsigned char *buf, int len);
       ^~~~~~~~~~~~
In file included from /home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/core/write_queue.h:31:0,
                 from ./pcu_l1_if.h:27,
                 from gprs_rlcmac.cpp:22:
/home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/core/msgb.h: In function ‘const char* msgb_hexdump_l3(const msgb*)’:
/home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/core/msgb.h:98:21: error: invalid conversion from ‘void*’ to ‘const unsigned char*’ [-fpermissive]
 #define msgb_l3(m) ((void *)(m->l3h))
                    ~^~~~~~~~~~~~~~~~~
/home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/core/msgb.h:523:22: note: in expansion of macro ‘msgb_l3’
  return osmo_hexdump(msgb_l3(msg), msgb_l3len(msg));
                      ^~~~~~~
In file included from /home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/core/msgb.h:24:0,
                 from /home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/core/write_queue.h:31,
                 from ./pcu_l1_if.h:27,
                 from gprs_rlcmac.cpp:22:
/home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/core/utils.h:55:7: note:   initializing argument 1 of ‘char* osmo_hexdump(const unsigned char*, int)’
 char *osmo_hexdump(const unsigned char *buf, int len);
       ^~~~~~~~~~~~
In file included from /home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/gprs/gprs_ns.h:10:0,
                 from ./gprs_bssgp_pcu.h:31,
                 from gprs_rlcmac_sched.cpp:20:
/home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/core/msgb.h: In function ‘const char* msgb_hexdump_l2(const msgb*)’:
/home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/core/msgb.h:96:21: error: invalid conversion from ‘void*’ to ‘const unsigned char*’ [-fpermissive]
 #define msgb_l2(m) ((void *)(m->l2h))
                    ~^~~~~~~~~~~~~~~~~
/home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/core/msgb.h:516:22: note: in expansion of macro ‘msgb_l2’
  return osmo_hexdump(msgb_l2(msg), msgb_l2len(msg));
                      ^~~~~~~
In file included from /home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/core/msgb.h:24:0,
                 from /home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/gprs/gprs_ns.h:10,
                 from ./gprs_bssgp_pcu.h:31,
                 from gprs_rlcmac_sched.cpp:20:
/home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/core/utils.h:55:7: note:   initializing argument 1 of ‘char* osmo_hexdump(const unsigned char*, int)’
 char *osmo_hexdump(const unsigned char *buf, int len);
       ^~~~~~~~~~~~
In file included from /home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/gprs/gprs_ns.h:10:0,
                 from ./gprs_bssgp_pcu.h:31,
                 from gprs_rlcmac_sched.cpp:20:
/home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/core/msgb.h: In function ‘const char* msgb_hexdump_l3(const msgb*)’:
/home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/core/msgb.h:98:21: error: invalid conversion from ‘void*’ to ‘const unsigned char*’ [-fpermissive]
 #define msgb_l3(m) ((void *)(m->l3h))
                    ~^~~~~~~~~~~~~~~~~
/home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/core/msgb.h:523:22: note: in expansion of macro ‘msgb_l3’
  return osmo_hexdump(msgb_l3(msg), msgb_l3len(msg));
                      ^~~~~~~
In file included from /home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/core/msgb.h:24:0,
                 from /home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/gprs/gprs_ns.h:10,
                 from ./gprs_bssgp_pcu.h:31,
                 from gprs_rlcmac_sched.cpp:20:
/home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/core/utils.h:55:7: note:   initializing argument 1 of ‘char* osmo_hexdump(const unsigned char*, int)’
 char *osmo_hexdump(const unsigned char *buf, int len);
       ^~~~~~~~~~~~
In file included from /home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/core/prim.h:20:0,
                 from /home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/gsm/l1sap.h:5,
                 from ./bts.h:31,
                 from gprs_rlcmac_ts_alloc.cpp:24:
/home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/core/msgb.h: In function ‘const char* msgb_hexdump_l2(const msgb*)’:
/home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/core/msgb.h:96:21: error: invalid conversion from ‘void*’ to ‘const unsigned char*’ [-fpermissive]
 #define msgb_l2(m) ((void *)(m->l2h))
                    ~^~~~~~~~~~~~~~~~~
/home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/core/msgb.h:516:22: note: in expansion of macro ‘msgb_l2’
  return osmo_hexdump(msgb_l2(msg), msgb_l2len(msg));
                      ^~~~~~~
In file included from /home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/core/msgb.h:24:0,
                 from /home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/core/prim.h:20,
                 from /home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/gsm/l1sap.h:5,
                 from ./bts.h:31,
                 from gprs_rlcmac_ts_alloc.cpp:24:
/home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/core/utils.h:55:7: note:   initializing argument 1 of ‘char* osmo_hexdump(const unsigned char*, int)’
 char *osmo_hexdump(const unsigned char *buf, int len);
       ^~~~~~~~~~~~
In file included from /home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/core/prim.h:20:0,
                 from /home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/gsm/l1sap.h:5,
                 from ./bts.h:31,
                 from gprs_rlcmac_ts_alloc.cpp:24:
/home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/core/msgb.h: In function ‘const char* msgb_hexdump_l3(const msgb*)’:
/home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/core/msgb.h:98:21: error: invalid conversion from ‘void*’ to ‘const unsigned char*’ [-fpermissive]
 #define msgb_l3(m) ((void *)(m->l3h))
                    ~^~~~~~~~~~~~~~~~~
/home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/core/msgb.h:523:22: note: in expansion of macro ‘msgb_l3’
  return osmo_hexdump(msgb_l3(msg), msgb_l3len(msg));
                      ^~~~~~~
In file included from /home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/core/msgb.h:24:0,
                 from /home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/core/prim.h:20,
                 from /home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/gsm/l1sap.h:5,
                 from ./bts.h:31,
                 from gprs_rlcmac_ts_alloc.cpp:24:
/home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/core/utils.h:55:7: note:   initializing argument 1 of ‘char* osmo_hexdump(const unsigned char*, int)’
 char *osmo_hexdump(const unsigned char *buf, int len);
       ^~~~~~~~~~~~
Makefile:775: recipe for target 'gprs_rlcmac_meas.lo' failed
make[1]: *** [gprs_rlcmac_meas.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
Makefile:775: 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/gprs/gprs_ns.h:10:0,
                 from ./gprs_bssgp_pcu.h:31,
                 from gprs_bssgp_pcu.cpp:22:
/home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/core/msgb.h: In function ‘const char* msgb_hexdump_l2(const msgb*)’:
/home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/core/msgb.h:96:21: error: invalid conversion from ‘void*’ to ‘const unsigned char*’ [-fpermissive]
 #define msgb_l2(m) ((void *)(m->l2h))
                    ~^~~~~~~~~~~~~~~~~
/home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/core/msgb.h:516:22: note: in expansion of macro ‘msgb_l2’
  return osmo_hexdump(msgb_l2(msg), msgb_l2len(msg));
                      ^~~~~~~
In file included from /home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/core/msgb.h:24:0,
                 from /home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/gprs/gprs_ns.h:10,
                 from ./gprs_bssgp_pcu.h:31,
                 from gprs_bssgp_pcu.cpp:22:
/home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/core/utils.h:55:7: note:   initializing argument 1 of ‘char* osmo_hexdump(const unsigned char*, int)’
 char *osmo_hexdump(const unsigned char *buf, int len);
       ^~~~~~~~~~~~
In file included from /home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/gprs/gprs_ns.h:10:0,
                 from ./gprs_bssgp_pcu.h:31,
                 from gprs_bssgp_pcu.cpp:22:
/home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/core/msgb.h: In function ‘const char* msgb_hexdump_l3(const msgb*)’:
/home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/core/msgb.h:98:21: error: invalid conversion from ‘void*’ to ‘const unsigned char*’ [-fpermissive]
 #define msgb_l3(m) ((void *)(m->l3h))
                    ~^~~~~~~~~~~~~~~~~
/home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/core/msgb.h:523:22: note: in expansion of macro ‘msgb_l3’
  return osmo_hexdump(msgb_l3(msg), msgb_l3len(msg));
                      ^~~~~~~
In file included from /home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/core/msgb.h:24:0,
                 from /home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/gprs/gprs_ns.h:10,
                 from ./gprs_bssgp_pcu.h:31,
                 from gprs_bssgp_pcu.cpp:22:
/home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/core/utils.h:55:7: note:   initializing argument 1 of ‘char* osmo_hexdump(const unsigned char*, int)’
 char *osmo_hexdump(const unsigned char *buf, int len);
       ^~~~~~~~~~~~
Makefile:775: recipe for target 'gprs_rlcmac_sched.lo' failed
make[1]: *** [gprs_rlcmac_sched.lo] Error 1
gprs_bssgp_pcu.cpp: At global scope:
gprs_bssgp_pcu.cpp:76:12: warning: ‘int parse_ra_cap(tlv_parsed*, MS_Radio_Access_capability_t*)’ defined but not used [-Wunused-function]
 static int parse_ra_cap(struct tlv_parsed *tp, MS_Radio_Access_capability_t *rac)
            ^~~~~~~~~~~~
Makefile:775: recipe for target 'gprs_bssgp_pcu.lo' failed
make[1]: *** [gprs_bssgp_pcu.lo] Error 1
Makefile:775: recipe for target 'gprs_rlcmac.lo' failed
make[1]: *** [gprs_rlcmac.lo] Error 1
In file included from /home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/core/write_queue.h:31:0,
                 from pcu_l1_if.h:27,
                 from gprs_ms.h:28,
                 from gprs_ms.cpp:22:
/home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/core/msgb.h: In function ‘const char* msgb_hexdump_l2(const msgb*)’:
/home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/core/msgb.h:96:21: error: invalid conversion from ‘void*’ to ‘const unsigned char*’ [-fpermissive]
 #define msgb_l2(m) ((void *)(m->l2h))
                    ~^~~~~~~~~~~~~~~~~
/home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/core/msgb.h:516:22: note: in expansion of macro ‘msgb_l2’
  return osmo_hexdump(msgb_l2(msg), msgb_l2len(msg));
                      ^~~~~~~
In file included from gprs_coding_scheme.h:27:0,
                 from rlc.h:22,
                 from tbf.h:25,
                 from gprs_ms.h:27,
                 from gprs_ms.cpp:22:
/home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/core/utils.h:55:7: note:   initializing argument 1 of ‘char* osmo_hexdump(const unsigned char*, int)’
 char *osmo_hexdump(const unsigned char *buf, int len);
       ^~~~~~~~~~~~
In file included from /home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/core/write_queue.h:31:0,
                 from pcu_l1_if.h:27,
                 from gprs_ms.h:28,
                 from gprs_ms.cpp:22:
/home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/core/msgb.h: In function ‘const char* msgb_hexdump_l3(const msgb*)’:
/home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/core/msgb.h:98:21: error: invalid conversion from ‘void*’ to ‘const unsigned char*’ [-fpermissive]
 #define msgb_l3(m) ((void *)(m->l3h))
                    ~^~~~~~~~~~~~~~~~~
/home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/core/msgb.h:523:22: note: in expansion of macro ‘msgb_l3’
  return osmo_hexdump(msgb_l3(msg), msgb_l3len(msg));
                      ^~~~~~~
In file included from gprs_coding_scheme.h:27:0,
                 from rlc.h:22,
                 from tbf.h:25,
                 from gprs_ms.h:27,
                 from gprs_ms.cpp:22:
/home/osmocom-build/osmo-ci/coverity/install-Osmocom/include/osmocom/core/utils.h:55:7: note:   initializing argument 1 of ‘char* osmo_hexdump(const unsigned char*, int)’
 char *osmo_hexdump(const unsigned char *buf, int len);
       ^~~~~~~~~~~~
Makefile:775: recipe for target 'gprs_ms.lo' failed
make[1]: *** [gprs_ms.lo] Error 1
make[1]: Leaving directory '/home/osmocom-build/osmo-ci/coverity/source-Osmocom/osmo-pcu/src'
Makefile:461: 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 1854 C/C++ compilation units (100%) successfully
[WARNING] Recoverable errors were encountered during 6 of these C/C++ compilation units.

1854 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



More information about the OpenBSC mailing list