automatic DPDK test reports
 help / color / mirror / Atom feed
* [dpdk-test-report] |FAILURE| pw(115243) sid(24358) job(PER_PATCH_BUILD3865)examples: add eventdev_producer_consumer example
@ 2022-08-18 17:22 sys_stv
  0 siblings, 0 replies; only message in thread
From: sys_stv @ 2022-08-18 17:22 UTC (permalink / raw)
  To: test-report, timothy.mcdaniel

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


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

_Compilation issues_

Submitter: Timothy McDaniel <timothy.mcdaniel@intel.com>
Date: 2022-08-18 17:02:04
Reply_mail: <20220818170204.1885568-1-timothy.mcdaniel@intel.com>

DPDK git baseline: Repo:dpdk, CommitID: 72206323a5dd3182b13f61b25a64abdddfee595c


Meson Build Summary: 22 Builds Done, 19 Successful, 3 Failures, 0 Blocked

+--------------+------------+--------------+------------+------------+-----------+----------+------------+
| os           | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document | gcc-16byte |
+--------------+------------+--------------+------------+------------+-----------+----------+------------+
| FC36-64      | pass       | pass         |            |            |           |          |            |
| FreeBSD13-64 | pass       | pass         |            | pass       | pass      |          |            |
| RHEL86-64    | pass       | pass         |            | pass       | pass      |          |            |
| SUSE15-64    | pass       | pass         |            |            |           |          |            |
| UB2004-32    | fail       |              |            |            |           |          |            |
| UB2004-64    | pass       | pass         |            |            |           | pass     |            |
| UB2204-32    | fail       |              |            |            |           |          |            |
| UB2204-64    | pass       | pass         |            |            |           | pass     | pass       |
| CentOS79-64  | fail       |              |            |            |           |          |            |
+--------------+------------+--------------+------------+------------+-----------+----------+------------+

Comments: 
Because of DPDK bug (https://bugs.dpdk.org/show_bug.cgi?id=928),
All the dpdk-next-* branch add `Ddisable_drivers=event/cnxk` option when build with ICC complier. 
 
Test environment and configuration as below:


OS: FC36-64
	Kernel Version: 5.17.7-300.fc36.x86_64
	GCC Version: gcc (GCC) 12.1.1 20220507 (Red Hat 12.1.1-1)
	Clang Version: 14.0.0 (Fedora 14.0.0-1.fc36)
	x86_64-native-linuxapp-gcc
	x86_64-native-linuxapp-clang

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

OS: RHEL86-64
	Kernel Version: 4.18.0-372.9.1.el8.x86_64
	GCC Version: gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-13)
	Clang Version: 14.0.0 (Red Hat 14.0.0-1.module_el8.7.0+1142+5343df54)
	x86_64-native-linuxapp-gcc
	x86_64-native-linuxapp-clang
	x86_64-native-linuxapp-gcc+shared
	x86_64-native-linuxapp-gcc+debug

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

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: 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-doc

OS: UB2204-32
	Kernel Version: 5.15.0-25-generic
	GCC Version: gcc (Ubuntu 11.2.0-19ubuntu1) 11.2.0
	Clang Version: NA
	i686-native-linuxapp-gcc

OS: UB2204-64
	Kernel Version: 5.15.0-25-generic
	GCC Version: gcc (Ubuntu 11.2.0-19ubuntu1) 11.2.0
	Clang Version: 14.0.0-1ubuntu1
	x86_64-native-linuxapp-gcc+16byte
	x86_64-native-linuxapp-gcc
	x86_64-native-linuxapp-clang
	x86_64-native-linuxapp-doc

OS: CentOS79-64
	Kernel Version: 3.10.0-1160.el7.x86_64
	GCC Version: gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44)
	Clang Version: 3.4.2 (tags/RELEASE_34/dot2-final)
	x86_64-native-linuxapp-gcc



*Build Failed #1:
OS: UB2004-32
Target: i686-native-linuxapp-gcc
FAILED: examples/dpdk-eventdev_producer_consumer.p/eventdev_producer_consumer_main.c.o 
gcc -Iexamples/dpdk-eventdev_producer_consumer.p -Iexamples -I../examples -Iexamples/eventdev_producer_consumer -I../examples/eventdev_producer_consumer -I../examples/common -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/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/ethdev -I../lib/ethdev -Ilib/meter -I../lib/meter -Ilib/cmdline -I../lib/cmdline -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -Ilib/timer -I../lib/timer -Ilib/cryptodev -I../lib/cryptodev -fdiagnostics-color=always -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 -Wno-pointer-to-int-cast -D_GNU_SOURCE -m32 -march=native -Wno-format-truncation -DALLOW_EXPERIMENTAL_API -MD -MQ examples/dpdk-eventdev_producer_consumer.p/eventdev_producer_consumer_main.c.o -MF examples/dpdk-eventdev_producer_consumer.p/eventdev_producer_consumer_main.c.o.d -o examples/dpdk-eventdev_producer_consumer.p/eventdev_producer_consumer_main.c.o -c ../examples/eventdev_producer_consumer/main.c
../examples/eventdev_producer_consumer/main.c: In function ‘consumer’:
../examples/eventdev_producer_consumer/main.c:168:30: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 2 has type ‘long unsigned int’ [-Werror=format=]
  168 |  printf("Consumer done! RX=%zu, time %"PRIu64"ms\n",
      |                            ~~^
      |                              |
      |                              unsigned int
      |                            %lu
  169 |         num_packets,
      |         ~~~~~~~~~~~           
      |         |
      |         long unsigned int
../examples/eventdev_producer_consumer/main.c: In function ‘producer’:
../examples/eventdev_producer_consumer/main.c:264:9: error: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 2 has type ‘long unsigned int’ [-Werror=format=]
  264 |  printf("Producer done. %"PRIu64" packets sent in %"PRIu64" cycles"
      |         ^~~~~~~~~~~~~~~~~~
  265 |         "(%f cycles/evt) (%f pkts/sec)\n",
  266 |         num_packets, enq_end-enq_start,
      |         ~~~~~~~~~~~
      |         |
      |         long unsigned int
In file included from ../lib/mempool/rte_mempool.h:38,
                 from ../examples/eventdev_producer_consumer/main.c:12:
/usr/include/inttypes.h:105:34: note: format string is defined here
  105 | # define PRIu64  __PRI64_PREFIX "u"
../examples/eventdev_producer_consumer/main.c: In function ‘main’:
../examples/eventdev_producer_consumer/main.c:576:10: error: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 2 has type ‘long unsigned int’ [-Werror=format=]
  576 |   printf("\tpackets: %"PRIu64"\n", num_packets);
      |          ^~~~~~~~~~~~~~            ~~~~~~~~~~~
      |                                    |
      |                                    long unsigned int
In file included from ../lib/mempool/rte_mempool.h:38,
                 from ../examples/eventdev_producer_consumer/main.c:12:
/usr/include/inttypes.h:105:34: note: format string is defined here
  105 | # define PRIu64  __PRI64_PREFIX "u"
../examples/eventdev_producer_consumer/main.c:659:9: error: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘long unsigned int’ [-Werror=format=]
  659 |  printf("[%s()] DLB scheduled %"PRIu64" packets in %"PRIu64" cycles\n",
      |         ^~~~~~~~~~~~~~~~~~~~~~~~
  660 |         __func__, num_packets, end - start);
      |                   ~~~~~~~~~~~
      |                   |
      |                   long unsigned int
In file included from ../lib/mempool/rte_mempool.h:38,
                 from ../examples/eventdev_producer_consumer/main.c:12:
/usr/include/inttypes.h:105:34: note: format string is defined here
  105 | # define PRIu64  __PRI64_PREFIX "u"
cc1: all warnings being treated as errors
[2282/2446] Linking target examples/dpdk-cmdline
[2283/2446] Compiling C object examples/dpdk-fips_validation.p/fips_validation_main.c.o
[2284/2446] Compiling C object examples/dpdk-bbdev_app.p/bbdev_app_main.c.o
[2285/2446] Compiling C object examples/dpdk-fips_validation.p/fips_validation_fips_validation_tdes.c.o
[2286/2446] Compiling C object app/test/dpdk-test.p/test_trace_perf.c.o
[2287/2446] Compiling C object examples/dpdk-dma.p/dma_dmafwd.c.o
[2288/2446] Compiling C object app/test/dpdk-test.p/test_ring_perf.c.o
[2289/2446] Compiling C object examples/dpdk-distributor.p/distributor_main.c.o
[2290/2446] Compiling C object app/test/dpdk-test.p/test_ring.c.o
ninja: build stopped




*Build Failed #2:
OS: UB2204-32
Target: i686-native-linuxapp-gcc
FAILED: examples/dpdk-eventdev_producer_consumer.p/eventdev_producer_consumer_main.c.o 
gcc -Iexamples/dpdk-eventdev_producer_consumer.p -Iexamples -I../examples -Iexamples/eventdev_producer_consumer -I../examples/eventdev_producer_consumer -I../examples/common -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/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/ethdev -I../lib/ethdev -Ilib/meter -I../lib/meter -Ilib/cmdline -I../lib/cmdline -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -Ilib/timer -I../lib/timer -Ilib/cryptodev -I../lib/cryptodev -fdiagnostics-color=always -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 -Wno-pointer-to-int-cast -D_GNU_SOURCE -m32 -march=native -Wno-format-truncation -DALLOW_EXPERIMENTAL_API -MD -MQ examples/dpdk-eventdev_producer_consumer.p/eventdev_producer_consumer_main.c.o -MF examples/dpdk-eventdev_producer_consumer.p/eventdev_producer_consumer_main.c.o.d -o examples/dpdk-eventdev_producer_consumer.p/eventdev_producer_consumer_main.c.o -c ../examples/eventdev_producer_consumer/main.c
../examples/eventdev_producer_consumer/main.c: In function ‘consumer’:
../examples/eventdev_producer_consumer/main.c:168:37: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 2 has type ‘long unsigned int’ [-Werror=format=]
  168 |         printf("Consumer done! RX=%zu, time %"PRIu64"ms\n",
      |                                   ~~^
      |                                     |
      |                                     unsigned int
      |                                   %lu
  169 |                num_packets,
      |                ~~~~~~~~~~~           
      |                |
      |                long unsigned int
../examples/eventdev_producer_consumer/main.c: In function ‘producer’:
../examples/eventdev_producer_consumer/main.c:264:16: error: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 2 has type ‘long unsigned int’ [-Werror=format=]
  264 |         printf("Producer done. %"PRIu64" packets sent in %"PRIu64" cycles"
      |                ^~~~~~~~~~~~~~~~~~
  265 |                "(%f cycles/evt) (%f pkts/sec)\n",
  266 |                num_packets, enq_end-enq_start,
      |                ~~~~~~~~~~~
      |                |
      |                long unsigned int
In file included from ../lib/mempool/rte_mempool.h:38,
                 from ../examples/eventdev_producer_consumer/main.c:12:
/usr/include/inttypes.h:105:41: note: format string is defined here
  105 | # define PRIu64         __PRI64_PREFIX "u"
../examples/eventdev_producer_consumer/main.c: In function ‘main’:
../examples/eventdev_producer_consumer/main.c:576:24: error: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 2 has type ‘long unsigned int’ [-Werror=format=]
  576 |                 printf("\tpackets: %"PRIu64"\n", num_packets);
      |                        ^~~~~~~~~~~~~~            ~~~~~~~~~~~
      |                                                  |
      |                                                  long unsigned int
In file included from ../lib/mempool/rte_mempool.h:38,
                 from ../examples/eventdev_producer_consumer/main.c:12:
/usr/include/inttypes.h:105:41: note: format string is defined here
  105 | # define PRIu64         __PRI64_PREFIX "u"
../examples/eventdev_producer_consumer/main.c:659:16: error: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘long unsigned int’ [-Werror=format=]
  659 |         printf("[%s()] DLB scheduled %"PRIu64" packets in %"PRIu64" cycles\n",
      |                ^~~~~~~~~~~~~~~~~~~~~~~~
  660 |                __func__, num_packets, end - start);
      |                          ~~~~~~~~~~~
      |                          |
      |                          long unsigned int
In file included from ../lib/mempool/rte_mempool.h:38,
                 from ../examples/eventdev_producer_consumer/main.c:12:
/usr/include/inttypes.h:105:41: note: format string is defined here
  105 | # define PRIu64         __PRI64_PREFIX "u"
cc1: all warnings being treated as errors
[2296/2446] Compiling C object examples/dpdk-helloworld.p/helloworld_main.c.o
[2297/2446] Compiling C object examples/dpdk-fips_validation.p/fips_validation_fips_validation_cmac.c.o
[2298/2446] Linking target examples/dpdk-bbdev_app
[2299/2446] Compiling C object examples/dpdk-fips_validation.p/fips_validation_fips_validation_sha.c.o
[2300/2446] Linking target examples/dpdk-eventdev_pipeline
[2301/2446] Compiling C object examples/dpdk-fips_validation.p/fips_validation_fips_dev_self_test.c.o
[2302/2446] Linking target examples/dpdk-distributor
[2303/2446] Linking target examples/dpdk-ethtool
[2304/2446] Compiling C object app/test/dpdk-test.p/test_ring.c.o
ninja: build stopped




*Build Failed #3:
OS: CentOS79-64
Target: x86_64-native-linuxapp-gcc
FAILED: examples/dpdk-eventdev_producer_consumer.p/eventdev_producer_consumer_main.c.o 
gcc -Iexamples/dpdk-eventdev_producer_consumer.p -Iexamples -I../examples -Iexamples/eventdev_producer_consumer -I../examples/eventdev_producer_consumer -I../examples/common -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/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/ethdev -I../lib/ethdev -Ilib/meter -I../lib/meter -Ilib/cmdline -I../lib/cmdline -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -Ilib/timer -I../lib/timer -Ilib/cryptodev -I../lib/cryptodev -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-missing-field-initializers -D_GNU_SOURCE -march=native -DALLOW_EXPERIMENTAL_API -MD -MQ examples/dpdk-eventdev_producer_consumer.p/eventdev_producer_consumer_main.c.o -MF examples/dpdk-eventdev_producer_consumer.p/eventdev_producer_consumer_main.c.o.d -o examples/dpdk-eventdev_producer_consumer.p/eventdev_producer_consumer_main.c.o -c ../examples/eventdev_producer_consumer/main.c
../examples/eventdev_producer_consumer/main.c: In function 'worker':
../examples/eventdev_producer_consumer/main.c:54:9: error: missing braces around initializer [-Werror=missing-braces]
  struct rte_event rcv_events[BATCH_SIZE] = {0};
         ^
../examples/eventdev_producer_consumer/main.c:54:9: error: (near initialization for 'rcv_events[0]') [-Werror=missing-braces]
../examples/eventdev_producer_consumer/main.c: In function 'consumer':
../examples/eventdev_producer_consumer/main.c:125:9: error: missing braces around initializer [-Werror=missing-braces]
  struct rte_event events[BATCH_SIZE] = {0};
         ^
../examples/eventdev_producer_consumer/main.c:125:9: error: (near initialization for 'events[0]') [-Werror=missing-braces]
../examples/eventdev_producer_consumer/main.c: In function 'producer':
../examples/eventdev_producer_consumer/main.c:191:9: error: missing braces around initializer [-Werror=missing-braces]
  struct rte_event producer_events[BATCH_SIZE] = {0};
         ^
../examples/eventdev_producer_consumer/main.c:191:9: error: (near initialization for 'producer_events[0]') [-Werror=missing-braces]
cc1: all warnings being treated as errors
[3418/3582] Compiling C object examples/dpdk-fips_validation.p/fips_validation_fips_validation.c.o
[3419/3582] Linking target examples/dpdk-cmdline
[3420/3582] Compiling C object examples/dpdk-distributor.p/distributor_main.c.o
[3421/3582] Compiling C object examples/dpdk-dma.p/dma_dmafwd.c.o
[3422/3582] Compiling C object examples/dpdk-eventdev_pipeline.p/eventdev_pipeline_pipeline_worker_generic.c.o
[3423/3582] Linking target examples/dpdk-bond
[3424/3582] Linking target examples/dpdk-bbdev_app
[3425/3582] Compiling C object app/test/dpdk-test.p/test_trace_perf.c.o
[3426/3582] Compiling C object app/test/dpdk-test.p/test_ring.c.o
ninja: build stopped


DPDK STV team

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

only message in thread, other threads:[~2022-08-18 17:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-18 17:22 [dpdk-test-report] |FAILURE| pw(115243) sid(24358) job(PER_PATCH_BUILD3865)examples: add eventdev_producer_consumer example 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).