From: dpdklab@iol.unh.edu
To: Test Report <test-report@dpdk.org>
Cc: Tyler Retzlaff <roretzla@linux.microsoft.com>,
dpdk-test-reports@iol.unh.edu,
David Marchand <david.marchand@redhat.com>,
Thomas Monjalon <thomas@monjalon.net>,
Tyler Retzlaff <roretzla@linux.microsoft.com>
Subject: |WARNING| pw125727-125728 [PATCH] [2/2] telemetry: use portable syntax to initialize array
Date: Mon, 3 Apr 2023 17:01:28 +0000 (UTC) [thread overview]
Message-ID: <20230403170128.4E99460095@dpdk-ubuntu.dpdklab.iol.unh.edu> (raw)
Test-Label: iol-aarch64-unit-testing
Test-Status: WARNING
http://dpdk.org/patch/125728
_Testing issues_
Submitter: Tyler Retzlaff <roretzla@linux.microsoft.com>
Date: Monday, April 03 2023 16:30:24
DPDK git baseline: Repo:dpdk
Branch: master
CommitID:c682c8991963be243dcc3b7cdc9d6984a1961f4e
125727-125728 --> testing fail
Test environment and result as below:
+----------------------+--------------+------------------------------+---------------------------+
| Environment | lpm_autotest | cryptodev_sw_snow3g_autotest | cryptodev_sw_zuc_autotest |
+======================+==============+==============================+===========================+
| Ubuntu 20.04 ARM SVE | FAIL | SKIPPED | SKIPPED |
+----------------------+--------------+------------------------------+---------------------------+
| Debian 11 | SKIPPED | FAIL | FAIL |
+----------------------+--------------+------------------------------+---------------------------+
==== 20 line log output for Debian 11 (cryptodev_sw_zuc_autotest): ====
FAILED: lib/76b5a35@@rte_telemetry@sta/telemetry_telemetry.c.o
ccache cc -Ilib/76b5a35@@rte_telemetry@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/telemetry/../metrics -I../lib/telemetry/../metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -march=armv8-a+crc+crypto -fPIC -march=armv8-a+crc -moutline-atomics -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_USE_FUNCTION_VERSIONING -DRTE_LOG_DEFAULT_LOGTYPE=lib.telemetry
-MD -MQ 'lib/76b5a35@@rte_telemetry@sta/telemetry_telemetry.c.o' -MF 'lib/76b5a35@@rte_telemetry@sta/telemetry_telemetry.c.o.d' -o 'lib/76b5a35@@rte_telemetry@sta/telemetry_telemetry.c.o' -c ../lib/telemetry/telemetry.c
In file included from ../lib/telemetry/telemetry.c:24:
../lib/telemetry/telemetry_json.h: In function '__json_snprintf':
../lib/telemetry/telemetry_json.h:41:29: error: argument to 'sizeof' in 'vsnprintf' call is the same expression as the destination; did you mean to provide an explicit length? [-Werror=sizeof-pointer-memaccess]
41 | ret = vsnprintf(tmp, sizeof(tmp), format, ap);
| ^
cc1: all warnings being treated as errors
[30/3170] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_tailqs.c.o'.
[31/3170] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_thread.c.o'.
[32/3170] Compiling C object 'lib/76b5a35@@rte_telemetry@sha/telemetry_telemetry.c.o'.
FAILED: lib/76b5a35@@rte_telemetry@sha/telemetry_telemetry.c.o
ccache cc -Ilib/76b5a35@@rte_telemetry@sha -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/telemetry/../metrics -I../lib/telemetry/../metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -march=armv8-a+crc+crypto -fPIC -march=armv8-a+crc -moutline-atomics -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_USE_FUNCTION_VERSIONING -DRTE_LOG_DEFAULT_LOGTYPE=lib.telemetry
-DRTE_BUILD_SHARED_LIB -MD -MQ 'lib/76b5a35@@rte_telemetry@sha/telemetry_telemetry.c.o' -MF 'lib/76b5a35@@rte_telemetry@sha/telemetry_telemetry.c.o.d' -o 'lib/76b5a35@@rte_telemetry@sha/telemetry_telemetry.c.o' -c ../lib/telemetry/telemetry.c
In file included from ../lib/telemetry/telemetry.c:24:
../lib/telemetry/telemetry_json.h: In function '__json_snprintf':
../lib/telemetry/telemetry_json.h:41:29: error: argument to 'sizeof' in 'vsnprintf' call is the same expression as the destination; did you mean to provide an explicit length? [-Werror=sizeof-pointer-memaccess]
41 | ret = vsnprintf(tmp, sizeof(tmp), format, ap);
| ^
cc1: all warnings being treated as errors
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)
Debian 11
Kernel: Container Host Kernel
Compiler: gcc 10.2.1
To view detailed results, visit:
https://lab.dpdk.org/results/dashboard/patchsets/25908/
UNH-IOL DPDK Community Lab
To manage your email subscriptions, visit:
https://lab.dpdk.org/results/dashboard/preferences/subscriptions/
next reply other threads:[~2023-04-03 17:01 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-03 17:01 dpdklab [this message]
2023-04-03 17:01 dpdklab
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230403170128.4E99460095@dpdk-ubuntu.dpdklab.iol.unh.edu \
--to=dpdklab@iol.unh.edu \
--cc=david.marchand@redhat.com \
--cc=dpdk-test-reports@iol.unh.edu \
--cc=roretzla@linux.microsoft.com \
--cc=test-report@dpdk.org \
--cc=thomas@monjalon.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).