|FAILURE| pw131231-131232 [PATCH] [v2,2/2] random: make rte_rand() t

dpdklab at iol.unh.edu dpdklab at iol.unh.edu
Fri Sep 8 07:33:08 CEST 2023


Test-Label: iol-compile-amd64-testing
Test-Status: FAILURE
http://dpdk.org/patch/131232

_Testing issues_

Submitter: Stephen Hemminger <stephen at networkplumber.org>
Date: Thursday, September 07 2023 15:24:56 
DPDK git baseline: Repo:dpdk
  Branch: master
  CommitID:e92ba1426914db1d224dd5e9a1743657681b8814

131231-131232 --> testing fail

Test environment and result as below:

+---------------------+----------------------+--------------------+
|     Environment     | dpdk_mingw64_compile | dpdk_meson_compile |
+=====================+======================+====================+
| Windows Server 2019 | PASS                 | FAIL               |
+---------------------+----------------------+--------------------+
| FreeBSD 13          | SKIPPED              | PASS               |
+---------------------+----------------------+--------------------+
| CentOS Stream 9     | SKIPPED              | PASS               |
+---------------------+----------------------+--------------------+
| CentOS Stream 8     | SKIPPED              | PASS               |
+---------------------+----------------------+--------------------+
| Debian Bullseye     | SKIPPED              | PASS               |
+---------------------+----------------------+--------------------+
| Debian Buster       | SKIPPED              | PASS               |
+---------------------+----------------------+--------------------+
| Fedora 37           | SKIPPED              | PASS               |
+---------------------+----------------------+--------------------+
| Fedora 38           | SKIPPED              | FAIL               |
+---------------------+----------------------+--------------------+
| Alpine              | SKIPPED              | PASS               |
+---------------------+----------------------+--------------------+

==== 20 line log output for Fedora 38 (dpdk_meson_compile): ====
[39/2733] Compiling C object 'lib/76b5a35@@rte_eal at sta/eal_common_eal_common_timer.c.o'.
[40/2733] Compiling C object 'lib/76b5a35@@rte_eal at sta/eal_common_eal_common_trace_points.c.o'.
[41/2733] Compiling C object 'lib/76b5a35@@rte_eal at sta/eal_common_eal_common_uuid.c.o'.
[42/2733] Compiling C object 'lib/76b5a35@@rte_eal at sta/eal_common_malloc_elem.c.o'.
[43/2733] Compiling C object 'lib/76b5a35@@rte_eal at sta/eal_common_malloc_heap.c.o'.
[44/2733] Compiling C object 'lib/76b5a35@@rte_eal at sta/eal_common_rte_malloc.c.o'.
[45/2733] Compiling C object 'lib/76b5a35@@rte_eal at sta/eal_common_rte_random.c.o'.
FAILED: lib/76b5a35@@rte_eal at sta/eal_common_rte_random.c.o
clang -Ilib/76b5a35@@rte_eal at sta -Ilib -I../lib -I. -I../ -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/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/log -I../lib/log -Ilib/telemetry/../metrics -I../lib/telemetry/../metrics -Ilib/telemetry -I../lib/telemetry -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -DRTE_ANNOTATE
 _LOCKS -Wthread-safety -MD -MQ 'lib/76b5a35@@rte_eal at sta/eal_common_rte_random.c.o' -MF 'lib/76b5a35@@rte_eal at sta/eal_common_rte_random.c.o.d' -o 'lib/76b5a35@@rte_eal at sta/eal_common_rte_random.c.o' -c ../lib/eal/common/rte_random.c
../lib/eal/common/rte_random.c:136:10: error: mutex 'rte_rand_lock' is not held on every path through here [-Werror,-Wthread-safety-analysis]
return &rand_states[idx];
^
../lib/eal/common/rte_random.c:133:3: note: mutex acquired here
rte_spinlock_lock(&rte_rand_lock);
^
../lib/eal/common/rte_random.c:143:3: error: releasing mutex 'rte_rand_lock' that was not held [-Werror,-Wthread-safety-analysis]
rte_spinlock_unlock(&rte_rand_lock);
^
2 errors generated.
ninja: build stopped: subcommand failed.
==== End log output ====

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

FreeBSD 13
	Kernel: 13.0
	Compiler: clang 11.0.1

CentOS Stream 9
	Kernel: 4.18.0-240.10.1.el8_3.x86_64
	Compiler: gcc 11.3.1 20220421

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

Debian Bullseye
	Kernel: 5.4.0-122-generic
	Compiler: gcc 10.2.1-6

Debian Buster
	Kernel: 5.4.0-122-generic
	Compiler: gcc 8.3.0-6

Fedora 37
	Kernel: Depends on container host system
	Compiler: gcc 12.3.1

Fedora 38
	Kernel: Depends on container host
	Compiler: gcc 13.1.1

Alpine
	Kernel: 5.4.0-73-generic
	Compiler: gcc (Alpine 10.3.1_git20210424) 10.3.1 20210424

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

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