automatic DPDK test reports
 help / color / mirror / Atom feed
* [dpdk-test-report] |FAILURE| pw(100852) sid(19471) job(PER_PATCH_BUILD8568)[v15, 9/9] Add unit tests for thread API
@ 2021-10-11  5:39 sys_stv
  0 siblings, 0 replies; only message in thread
From: sys_stv @ 2021-10-11  5:39 UTC (permalink / raw)
  To: test-report, navasile

[-- Attachment #1: Type: text/plain, Size: 17999 bytes --]


Test-Label: Intel-compilation
Test-Status: FAILURE
http://dpdk.org/patch/100852

_Compilation issues_

Submitter: Narcisa Ana Maria Vasile <navasile@linux.microsoft.com>
Date: 2021-10-08 22:40:41
Reply_mail: 1633732841-17873-10-git-send-email-navasile@linux.microsoft.com

DPDK git baseline: Repo:dpdk, CommitID: 515d20195b17444262a5732831c0615146c7189c


Meson Build Summary: 20 Builds Done, 16 Successful, 4 Failures, 0 Blocked

+--------------+------------+--------------+------------+------------+-----------+----------+
| os           | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document |
+--------------+------------+--------------+------------+------------+-----------+----------+
| UB2004-64    | pass       | pass         | pass       |            |           | pass     |
| FC34-64      | pass       | pass         |            |            |           |          |
| UB2104-64    | pass       |              |            |            |           |          |
| WIN10-64     |            | pass         |            |            |           |          |
| UB2004-32    | pass       |              |            |            |           |          |
| FreeBSD13-64 | fail       | fail         |            | fail       | fail      |          |
| SUSE15-64    | pass       | pass         |            |            |           |          |
| RHEL84-64    | pass       | pass         | pass       | pass       | pass      |          |
+--------------+------------+--------------+------------+------------+-----------+----------+
Test environment and configuration as below:


OS: UB2004-64
	Kernel Version: 5.8.0-48-generic
	GCC Version: gcc (Ubuntu 10.3.0-1ubuntu1~20.04) 10.3.0
	Clang Version: 10.0.0-4ubuntu1
	x86_64-native-linuxapp-clang
	x86_64-native-linuxapp-gcc
	x86_64-native-linuxapp-icc
	x86_64-native-linuxapp-doc

OS: FC34-64
	Kernel Version: 5.11.15-300.fc34.x86_64
	GCC Version: gcc (GCC) 11.0.1 20210324 (Red Hat 11.0.1-0)
	Clang Version: 12.0.0 (Fedora 12.0.0-0.3.rc1.fc34)
	x86_64-native-linuxapp-gcc
	x86_64-native-linuxapp-clang

OS: UB2104-64
	Kernel Version: 5.11.0-16-generic
	GCC Version: gcc (Ubuntu 10.3.0-1ubuntu1) 10.3.0
	Clang Version: 12.0.0-1ubuntu1
	x86_64-native-linuxapp-gcc

OS: WIN10-64
	Kernel Version: N/A
	GCC Version: N/A
	Clang Version: Clang 8.0.0
	x86_64-windows-clang

OS: UB2004-32
	Kernel Version: 5.8.0-48-generic
	GCC Version: gcc (Ubuntu 10.3.0-1ubuntu1~20.04) 10.3.0
	Clang Version: 10.0.0-4ubuntu1
	i686-native-linuxapp-gcc

OS: FreeBSD13-64
	Kernel Version: 13.0-RELEASE
	GCC Version: gcc (FreeBSD Ports Collection) 10.3.0
	Clang Version: 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe)
	x86_64-native-bsdapp-gcc
	x86_64-native-bsdapp-clang
	x86_64-native-bsdapp-gcc+shared
	x86_64-native-bsdapp-gcc+debug

OS: SUSE15-64
	Kernel Version: 5.3.18-lp152.57-default
	GCC Version: gcc (SUSE Linux) 7.5.0
	Clang Version: 9.0.1
	x86_64-native-linuxapp-clang
	x86_64-native-linuxapp-gcc

OS: RHEL84-64
	Kernel Version: 4.18.0-305.19.1.el8_4.x86_64
	GCC Version: gcc (GCC) 8.4.1 20200928 (Red Hat 8.4.1-1)
	Clang Version: 11.0.0 (Red Hat 11.0.0-1.module_el8.4.0+587+5187cac0)
	x86_64-native-linuxapp-gcc
	x86_64-native-linuxapp-clang
	x86_64-native-linuxapp-gcc+shared
	x86_64-native-linuxapp-gcc+debug
	x86_64-native-linuxapp-icc



*Build Failed #1:
OS: FreeBSD13-64
Target: x86_64-native-bsdapp-gcc
FAILED: lib/librte_eal.a.p/eal_common_rte_thread.c.o 
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/freebsd/include -I../lib/eal/freebsd/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="22.0"' -DRTE_LIBEAL_USE_GETENTROPY -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_rte_thread.c.o -MF lib/librte_eal.a.p/eal_common_rte_thread.c.o.d -o lib/librte_eal.a.p/eal_common_rte_thread.c.o -c ../lib/eal/common/rte_thread.c
../lib/eal/common/rte_thread.c: In function 'rte_thread_get_priority':
../lib/eal/common/rte_thread.c:119:39: error: passing argument 1 of 'pthread_getschedparam' makes pointer from integer without a cast [-Werror=int-conversion]
  119 |  ret = pthread_getschedparam(thread_id.opaque_id, &policy, &param);
      |                              ~~~~~~~~~^~~~~~~~~~
      |                                       |
      |                                       uintptr_t {aka long unsigned int}
In file included from ../lib/eal/common/rte_thread.c:7:
/usr/include/pthread.h:340:38: note: expected 'pthread_t' {aka 'struct pthread *'} but argument is of type 'uintptr_t' {aka 'long unsigned int'}
  340 | int  pthread_getschedparam(pthread_t pthread, int * __restrict,
      |                            ~~~~~~~~~~^~~~~~~
../lib/eal/common/rte_thread.c: In function 'rte_thread_create':
../lib/eal/common/rte_thread.c:253:41: error: passing argument 1 of 'pthread_setaffinity_np' makes pointer from integer without a cast [-Werror=int-conversion]
  253 |   ret = pthread_setaffinity_np(thread_id->opaque_id,
      |                                ~~~~~~~~~^~~~~~~~~~~
      |                                         |
      |                                         uintptr_t {aka long unsigned int}
In file included from ../lib/eal/freebsd/include/rte_os.h:13,
                 from ../lib/eal/include/rte_common.h:28,
                 from ../lib/eal/common/rte_thread.c:11:
/usr/include/pthread_np.h:68:28: note: expected 'pthread_t' {aka 'struct pthread *'} but argument is of type 'uintptr_t' {aka 'long unsigned int'}
   68 | int pthread_setaffinity_np(pthread_t, size_t, const cpuset_t *);
      |                            ^~~~~~~~~
cc1: all warnings being treated as errors
[49/2162] Compiling C object lib/librte_eal.a.p/eal_common_malloc_mp.c.o
[50/2162] Compiling C object lib/librte_eal.a.p/eal_unix_eal_firmware.c.o
[51/2162] Generating kvargs.sym_chk with a custom command (wrapped by meson to capture output)
[52/2162] Compiling C object lib/librte_eal.a.p/eal_unix_eal_unix_memory.c.o
[53/2162] Compiling C object lib/librte_eal.a.p/eal_common_rte_malloc.c.o
[54/2162] Compiling C object lib/librte_eal.a.p/eal_common_malloc_heap.c.o
[55/2162] Generating telemetry.sym_chk with a custom command (wrapped by meson to capture output)
[56/2162] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_options.c.o
[57/2162] Compiling C object lib/librte_eal.a.p/eal_freebsd_eal.c.o
ninja: build stopped




*Build Failed #2:
OS: FreeBSD13-64
Target: x86_64-native-bsdapp-clang
FAILED: lib/librte_eal.a.p/eal_common_rte_thread.c.o 
clang -Ilib/librte_eal.a.p -Ilib -I../lib -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/freebsd/include -I../lib/eal/freebsd/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API '-DABI_VERSION="22.0"' -DRTE_LIBEAL_USE_GETENTROPY -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_rte_thread.c.o -MF lib/librte_eal.a.p/eal_common_rte_thread.c.o.d -o lib/librte_eal.a.p/eal_common_rte_thread.c.o -c ../lib/eal/common/rte_thread.c
../lib/eal/common/rte_thread.c:119:30: error: incompatible integer to pointer conversion passing 'uintptr_t' (aka 'unsigned long') to parameter of type 'pthread_t' (aka 'struct pthread *') [-Werror,-Wint-conversion]
        ret = pthread_getschedparam(thread_id.opaque_id, &policy, &param);
                                    ^~~~~~~~~~~~~~~~~~~
/usr/include/pthread.h:340:38: note: passing argument to parameter 'pthread' here
int             pthread_getschedparam(pthread_t pthread, int * __restrict,
                                                ^
../lib/eal/common/rte_thread.c:253:32: error: incompatible integer to pointer conversion passing 'uintptr_t' (aka 'unsigned long') to parameter of type 'pthread_t' (aka 'struct pthread *') [-Werror,-Wint-conversion]
                ret = pthread_setaffinity_np(thread_id->opaque_id,
                                             ^~~~~~~~~~~~~~~~~~~~
/usr/include/pthread_np.h:68:37: note: passing argument to parameter here
int pthread_setaffinity_np(pthread_t, size_t, const cpuset_t *);
                                    ^
2 errors generated.
[56/2134] Compiling C object lib/librte_eal.a.p/eal_common_rte_malloc.c.o
[57/2134] Compiling C object lib/librte_eal.a.p/eal_freebsd_eal_alarm.c.o
[58/2134] Compiling C object lib/librte_eal.a.p/eal_freebsd_eal_hugepage_info.c.o
[59/2134] Compiling C object lib/librte_eal.a.p/eal_common_malloc_heap.c.o
[60/2134] Compiling C object lib/librte_eal.a.p/eal_freebsd_eal.c.o
[61/2134] Compiling C object lib/librte_eal.a.p/eal_freebsd_eal_lcore.c.o
[62/2134] Generating kvargs.sym_chk with a custom command (wrapped by meson to capture output)
[63/2134] Generating telemetry.sym_chk with a custom command (wrapped by meson to capture output)
[64/2134] Compiling C object lib/librte_eal.a.p/eal_freebsd_eal_interrupts.c.o
ninja: build stopped




*Build Failed #3:
OS: FreeBSD13-64
Target: x86_64-native-bsdapp-gcc+shared
FAILED: lib/librte_eal.a.p/eal_common_rte_thread.c.o 
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/freebsd/include -I../lib/eal/freebsd/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="22.0"' -DRTE_LIBEAL_USE_GETENTROPY -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_rte_thread.c.o -MF lib/librte_eal.a.p/eal_common_rte_thread.c.o.d -o lib/librte_eal.a.p/eal_common_rte_thread.c.o -c ../lib/eal/common/rte_thread.c
../lib/eal/common/rte_thread.c: In function 'rte_thread_get_priority':
../lib/eal/common/rte_thread.c:119:39: error: passing argument 1 of 'pthread_getschedparam' makes pointer from integer without a cast [-Werror=int-conversion]
  119 |  ret = pthread_getschedparam(thread_id.opaque_id, &policy, &param);
      |                              ~~~~~~~~~^~~~~~~~~~
      |                                       |
      |                                       uintptr_t {aka long unsigned int}
In file included from ../lib/eal/common/rte_thread.c:7:
/usr/include/pthread.h:340:38: note: expected 'pthread_t' {aka 'struct pthread *'} but argument is of type 'uintptr_t' {aka 'long unsigned int'}
  340 | int  pthread_getschedparam(pthread_t pthread, int * __restrict,
      |                            ~~~~~~~~~~^~~~~~~
../lib/eal/common/rte_thread.c: In function 'rte_thread_create':
../lib/eal/common/rte_thread.c:253:41: error: passing argument 1 of 'pthread_setaffinity_np' makes pointer from integer without a cast [-Werror=int-conversion]
  253 |   ret = pthread_setaffinity_np(thread_id->opaque_id,
      |                                ~~~~~~~~~^~~~~~~~~~~
      |                                         |
      |                                         uintptr_t {aka long unsigned int}
In file included from ../lib/eal/freebsd/include/rte_os.h:13,
                 from ../lib/eal/include/rte_common.h:28,
                 from ../lib/eal/common/rte_thread.c:11:
/usr/include/pthread_np.h:68:28: note: expected 'pthread_t' {aka 'struct pthread *'} but argument is of type 'uintptr_t' {aka 'long unsigned int'}
   68 | int pthread_setaffinity_np(pthread_t, size_t, const cpuset_t *);
      |                            ^~~~~~~~~
cc1: all warnings being treated as errors
[60/2015] Compiling C object lib/librte_eal.a.p/eal_freebsd_eal_dev.c.o
[61/2015] Compiling C object lib/librte_eal.a.p/eal_freebsd_eal_debug.c.o
[62/2015] Compiling C object lib/librte_eal.a.p/eal_unix_eal_unix_timer.c.o
[63/2015] Compiling C object lib/librte_eal.a.p/eal_freebsd_eal_lcore.c.o
[64/2015] Compiling C object lib/librte_eal.a.p/eal_freebsd_eal_hugepage_info.c.o
[65/2015] Compiling C object lib/librte_eal.a.p/eal_freebsd_eal_alarm.c.o
[66/2015] Generating symbol file lib/librte_telemetry.so.22.0.p/librte_telemetry.so.22.0.symbols
[67/2015] Compiling C object lib/librte_eal.a.p/eal_freebsd_eal_interrupts.c.o
[68/2015] Compiling C object lib/librte_eal.a.p/eal_freebsd_eal.c.o
ninja: build stopped




*Build Failed #4:
OS: FreeBSD13-64
Target: x86_64-native-bsdapp-gcc+debug
FAILED: lib/librte_eal.a.p/eal_common_rte_thread.c.o 
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/freebsd/include -I../lib/eal/freebsd/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O2 -g -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="22.0"' -DRTE_LIBEAL_USE_GETENTROPY -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_rte_thread.c.o -MF lib/librte_eal.a.p/eal_common_rte_thread.c.o.d -o lib/librte_eal.a.p/eal_common_rte_thread.c.o -c ../lib/eal/common/rte_thread.c
../lib/eal/common/rte_thread.c: In function 'rte_thread_get_priority':
../lib/eal/common/rte_thread.c:119:39: error: passing argument 1 of 'pthread_getschedparam' makes pointer from integer without a cast [-Werror=int-conversion]
  119 |  ret = pthread_getschedparam(thread_id.opaque_id, &policy, &param);
      |                              ~~~~~~~~~^~~~~~~~~~
      |                                       |
      |                                       uintptr_t {aka long unsigned int}
In file included from ../lib/eal/common/rte_thread.c:7:
/usr/include/pthread.h:340:38: note: expected 'pthread_t' {aka 'struct pthread *'} but argument is of type 'uintptr_t' {aka 'long unsigned int'}
  340 | int  pthread_getschedparam(pthread_t pthread, int * __restrict,
      |                            ~~~~~~~~~~^~~~~~~
../lib/eal/common/rte_thread.c: In function 'rte_thread_create':
../lib/eal/common/rte_thread.c:253:41: error: passing argument 1 of 'pthread_setaffinity_np' makes pointer from integer without a cast [-Werror=int-conversion]
  253 |   ret = pthread_setaffinity_np(thread_id->opaque_id,
      |                                ~~~~~~~~~^~~~~~~~~~~
      |                                         |
      |                                         uintptr_t {aka long unsigned int}
In file included from ../lib/eal/freebsd/include/rte_os.h:13,
                 from ../lib/eal/include/rte_common.h:28,
                 from ../lib/eal/common/rte_thread.c:11:
/usr/include/pthread_np.h:68:28: note: expected 'pthread_t' {aka 'struct pthread *'} but argument is of type 'uintptr_t' {aka 'long unsigned int'}
   68 | int pthread_setaffinity_np(pthread_t, size_t, const cpuset_t *);
      |                            ^~~~~~~~~
cc1: all warnings being treated as errors
[50/2134] Compiling C object lib/librte_eal.a.p/eal_common_rte_malloc.c.o
[51/2134] Compiling C object lib/librte_eal.a.p/eal_unix_eal_firmware.c.o
[52/2134] Compiling C object lib/librte_eal.a.p/eal_unix_eal_unix_timer.c.o
[53/2134] Compiling C object lib/librte_eal.a.p/eal_common_malloc_heap.c.o
[54/2134] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_options.c.o
[55/2134] Generating kvargs.sym_chk with a custom command (wrapped by meson to capture output)
[56/2134] Generating telemetry.sym_chk with a custom command (wrapped by meson to capture output)
[57/2134] Compiling C object lib/librte_eal.a.p/eal_freebsd_eal_alarm.c.o
[58/2134] Compiling C object lib/librte_eal.a.p/eal_freebsd_eal.c.o
ninja: build stopped


DPDK STV team

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-10-11  5:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-11  5:39 [dpdk-test-report] |FAILURE| pw(100852) sid(19471) job(PER_PATCH_BUILD8568)[v15, 9/9] Add unit tests for thread API sys_stv

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).