|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 06:50:57 CEST 2023


Test-Label: iol-compile-arm64-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_meson_compile |
+==========================+====================+
| Ubuntu 20.04 ARM SVE     | PASS               |
+--------------------------+--------------------+
| Fedora 38 (ARM Clang)    | FAIL               |
+--------------------------+--------------------+
| Fedora 37 (ARM)          | PASS               |
+--------------------------+--------------------+
| Ubuntu 20.04 (ARM)       | PASS               |
+--------------------------+--------------------+
| Fedora 38 (ARM)          | PASS               |
+--------------------------+--------------------+
| Debian 11 (Buster) (ARM) | PASS               |
+--------------------------+--------------------+
| CentOS Stream 9 (ARM)    | PASS               |
+--------------------------+--------------------+

==== 20 line log output for Fedora 38 (ARM Clang) (dpdk_meson_compile): ====
[39/3034] Compiling C object 'lib/76b5a35@@rte_eal at sta/eal_common_eal_common_timer.c.o'.
[40/3034] Compiling C object 'lib/76b5a35@@rte_eal at sta/eal_common_eal_common_trace_points.c.o'.
[41/3034] Compiling C object 'lib/76b5a35@@rte_eal at sta/eal_common_eal_common_uuid.c.o'.
[42/3034] Compiling C object 'lib/76b5a35@@rte_eal at sta/eal_common_malloc_elem.c.o'.
[43/3034] Compiling C object 'lib/76b5a35@@rte_eal at sta/eal_common_malloc_heap.c.o'.
[44/3034] Compiling C object 'lib/76b5a35@@rte_eal at sta/eal_common_rte_malloc.c.o'.
[45/3034] 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/arm/include -I../lib/eal/arm/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=armv8.1-a+crc+crypto -mcpu=thunderx2t99 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOG
 TYPE=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 ====

Ubuntu 20.04 ARM SVE
	Kernel: 5.4.0-80-generic
	Compiler: gcc 10.3.0 (Ubuntu 10.3.0-1ubuntu1~20.04)

Fedora 38 (ARM Clang)
	Kernel: Depends on container host
	Compiler: clang 16.0.3

Fedora 37 (ARM)
	Kernel: Depends on container host
	Compiler: gcc 12.3.1

Ubuntu 20.04 (ARM)
	Kernel: Container Host Kernel
	Compiler: gcc 9.4.0

Fedora 38 (ARM)
	Kernel: Depends on container host
	Compiler: gcc 13.1.1

Debian 11 (Buster) (ARM)
	Kernel: Container Host Kernel
	Compiler: gcc 10.2.1

CentOS Stream 9 (ARM)
	Kernel: Container Host Kernel
	Compiler: gcc 11.3.1

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