[dpdk-test-report] |FAILURE| pw89748 [PATCH] eal: fix possible UB on creation of ctrl thread

dpdklab at iol.unh.edu dpdklab at iol.unh.edu
Wed Mar 24 16:25:11 CET 2021


Test-Label: iol-testing
Test-Status: FAILURE
http://dpdk.org/patch/89748

_Testing issues_

Submitter: Luc Pelletier <lucp.at.work at gmail.com>
Date: Wednesday, March 24 2021 13:04:22 
DPDK git baseline: Repo:dpdk
  Branch: master
  CommitID:e2b8dc5256c0c6d567c136401de67d3249b9086b

89748 --> testing fail

Test environment and result as below:

+---------------------+----------------------+--------------------+----------------+-------------------+
|     Environment     | dpdk_mingw64_compile | dpdk_meson_compile | dpdk_unit_test | dpdk_compile_spdk |
+=====================+======================+====================+================+===================+
| Windows Server 2019 | FAIL                 | FAIL               | SKIPPED        | SKIPPED           |
+---------------------+----------------------+--------------------+----------------+-------------------+
| Fedora 32           | SKIPPED              | PASS               | SKIPPED        | SKIPPED           |
+---------------------+----------------------+--------------------+----------------+-------------------+
| CentOS Stream 8     | SKIPPED              | PASS               | SKIPPED        | SKIPPED           |
+---------------------+----------------------+--------------------+----------------+-------------------+
| Ubuntu 20.04        | SKIPPED              | PASS               | SKIPPED        | SKIPPED           |
+---------------------+----------------------+--------------------+----------------+-------------------+
| RHEL 7              | SKIPPED              | PASS               | SKIPPED        | SKIPPED           |
+---------------------+----------------------+--------------------+----------------+-------------------+
| RHEL8               | SKIPPED              | PASS               | SKIPPED        | SKIPPED           |
+---------------------+----------------------+--------------------+----------------+-------------------+
| FreeBSD 11.2        | SKIPPED              | PASS               | SKIPPED        | SKIPPED           |
+---------------------+----------------------+--------------------+----------------+-------------------+
| openSUSE Leap 15    | SKIPPED              | PASS               | SKIPPED        | SKIPPED           |
+---------------------+----------------------+--------------------+----------------+-------------------+
| Ubuntu 18.04 ARM    | SKIPPED              | PASS               | PASS           | SKIPPED           |
+---------------------+----------------------+--------------------+----------------+-------------------+
| Arch Linux          | SKIPPED              | PASS               | SKIPPED        | SKIPPED           |
+---------------------+----------------------+--------------------+----------------+-------------------+
| Fedora 31           | SKIPPED              | PASS               | SKIPPED        | PASS              |
+---------------------+----------------------+--------------------+----------------+-------------------+
| Ubuntu 18.04        | SKIPPED              | PASS               | PASS           | PASS              |
+---------------------+----------------------+--------------------+----------------+-------------------+

==== 20 line log output for Windows Server 2019 (dpdk_mingw64_compile): ====
[24/230] Compiling C object lib/librte_eal.a.p/librte_eal_common_eal_common_string_fns.c.obj
[25/230] Compiling C object lib/librte_eal.a.p/librte_eal_common_eal_common_tailqs.c.obj
[26/230] Generating symbol file lib/librte_telemetry-21.dll.p/librte_telemetry-21.dll.symbols
[27/230] Compiling C object lib/librte_eal.a.p/librte_eal_common_eal_common_memzone.c.obj
[28/230] Compiling C object lib/librte_eal.a.p/librte_eal_common_eal_common_options.c.obj
[29/230] Compiling C object lib/librte_eal.a.p/librte_eal_common_eal_common_thread.c.obj
FAILED: lib/librte_eal.a.p/librte_eal_common_eal_common_thread.c.obj
"gcc" "-Ilib\librte_eal.a.p" "-Ilib" "-I..\lib" "-I." "-I.." "-Iconfig" "-I..\config" "-Ilib\librte_eal\include" "-I..\lib\librte_eal\include" "-Ilib\librte_eal\windows\include" "-I..\lib\librte_eal\windows\include" "-Ilib\librte_eal\x86\include" "-I..\lib\librte_eal\x86\include" "-Ilib\librte_eal\common" "-I..\lib\librte_eal\common" "-Ilib\librte_eal" "-I..\lib\librte_eal" "-Ilib\librte_kvargs" "-I..\lib\librte_kvargs" "-fdiagnostics-color=always" "-pipe" "-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-packed-not-aligned" "-Wno-missing-field-initializers" "-D_GNU_SOURCE" "-D_WIN32_WINNT=0x0A00" "-D__USE_MINGW_ANSI_STDIO" "-march=native" "-DALLOW_EXPERIMENTAL_API" "-DALLOW_INTERNAL_API" "-Wno-format-truncation" "-DABI_VERSION=\"21.2\"" -MD -MQ lib/librte_eal.a.p/librte_eal_common_eal_common_thread.c.obj -MF "lib\librte_eal.a.p\librte_eal_common_eal_common_thread.c.obj.d" -o lib/librte_eal.a.p/librte_eal_common_eal_common_thread.c.obj "-c" ../lib/librte_eal/common/eal_common_thread.c
../lib/librte_eal/common/eal_common_thread.c: In function 'ctrl_thread_init':
../lib/librte_eal/common/eal_common_thread.c:192:4: error: implicit declaration of function 'sched_yield' [-Werror=implicit-function-declaration]
sched_yield();
^~~~~~~~~~~
../lib/librte_eal/common/eal_common_thread.c:192:4: error: nested extern declaration of 'sched_yield' [-Werror=nested-externs]
cc1.exe: all warnings being treated as errors
[30/230] Compiling C object lib/librte_eal.a.p/librte_eal_common_rte_malloc.c.obj
[31/230] Compiling C object lib/librte_eal.a.p/librte_eal_common_malloc_elem.c.obj
[32/230] Compiling C object lib/librte_eal.a.p/librte_eal_common_malloc_heap.c.obj
[33/230] Compiling C object lib/librte_eal.a.p/librte_eal_common_eal_common_timer.c.obj
[34/230] Compiling C object lib/librte_eal.a.p/librte_eal_common_eal_common_trace_points.c.obj
ninja: build stopped: subcommand failed.
==== End log output ====

Windows Server 2019
	Kernel: 10.0
	Compiler: clang 9.0 and gcc 8.1.0 (MinGW)

Fedora 32
	Kernel: 4.18.0-240.10.1.el8_3.x86_64
	Compiler: gcc 10.2.1

CentOS Stream 8
	Kernel: 4.18.0-240.10.1.el8_3.x86_64
	Compiler: gcc 8.4.1 20200928

Ubuntu 20.04
	Kernel: 4.18.0-240.10.1.el8_3.x86_64
	Compiler: gcc 9.3.0-17ubuntu1~20.04

RHEL 7
	Kernel: 4.18.0-240.10.1.el8_3.x86_64
	Compiler: gcc 4.8.5 20150623 (Red Hat 4.8.5-44)

RHEL8
	Kernel: 4.18.0-240.10.1.el8_3.x86_64
	Compiler: gcc 8.3.1 20191121 (Red Hat 8.3.1-5)

FreeBSD 11.2
	Kernel: 11.2
	Compiler: gcc 8.3

openSUSE Leap 15
	Kernel: 4.12.14
	Compiler: gcc 7.4.1

Ubuntu 18.04 ARM
	Kernel: 5.4.0-53-generic
	Compiler: gcc 9.3

Arch Linux
	Kernel: latest
	Compiler: gcc latest

Fedora 31
	Kernel: 5.3.16
	Compiler: gcc 9.2.1

Ubuntu 18.04
	Kernel: 4.15.0-generic
	Compiler: gcc 7.5

To view detailed results, visit:
https://lab.dpdk.org/results/dashboard/patchsets/16103/

UNH-IOL DPDK Community Lab

To manage your email subscriptions, visit: 
https://lab.dpdk.org/results/dashboard/preferences/subscriptions/


More information about the test-report mailing list