|FAILURE| pw149639 [PATCH 2/2] app/test: enable ipsec-related tests

0-day Robot robot at bytheb.org
Mon Jan 6 18:44:09 CET 2025


From: robot at bytheb.org

Test-Label: github-robot: build
Test-Status: FAILURE
http://patchwork.dpdk.org/patch/149639/

_github build: failed_
Build URL: https://github.com/ovsrobot/dpdk/actions/runs/12636865869
Build Logs:
-----------------------Summary of failed steps-----------------------
"ubuntu-22.04-gcc-shared-aarch64" failed at step Build and test
"ubuntu-22.04-gcc-ppc64le" failed at step Build and test
"ubuntu-22.04-gcc-riscv64" failed at step Build and test
----------------------End summary of failed steps--------------------

-------------------------------BEGIN LOGS----------------------------
####################################################################################
#### [Begin job log] "ubuntu-22.04-gcc-shared-aarch64" at step Build and test
####################################################################################
      |                 ^
../lib/ipsec/esp_outb.c: In function ‘inline_outb_trs_pkt_process’:
../lib/ipsec/esp_outb.c:855:12: error: assignment to ‘uint32_t *’ {aka ‘unsigned int *’} from ‘int’ makes pointer from integer without a cast [-Werror=int-conversion]
  855 |         dr = alloca(sizeof(uint32_t) * num);
      |            ^
../lib/ipsec/esp_outb.c:856:17: error: assignment to ‘uint16_t *’ {aka ‘short unsigned int *’} from ‘int’ makes pointer from integer without a cast [-Werror=int-conversion]
  856 |         nb_segs = alloca(sizeof(uint16_t) * num);
      |                 ^
cc1: all warnings being treated as errors
[425/6606] Compiling C object lib/librte_ipsec.a.p/ipsec_ipsec_group.c.o
FAILED: lib/librte_ipsec.a.p/ipsec_ipsec_group.c.o 
ccache aarch64-linux-gnu-gcc -Ilib/librte_ipsec.a.p -Ilib -I../lib -Ilib/ipsec -I../lib/ipsec -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 -I../kernel/linux -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/net -I../lib/net -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/security -I../lib/security -Ilib/hash -I../lib/hash -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O2 -g -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-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=armv8-a+crc -moutline-atomics -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=lib.ipsec -MD -MQ lib/librte_ipsec.a.p/ipsec_ipsec_group.c.o -MF lib/librte_ipsec.a.p/ipsec_ipsec_group.c.o.d -o lib/librte_ipsec.a.p/ipsec_ipsec_group.c.o -c ../lib/ipsec/ipsec_group.c
../lib/ipsec/ipsec_group.c: In function ‘rte_ipsec_pkt_crypto_group’:
../lib/ipsec/ipsec_group.c:23:14: error: implicit declaration of function ‘alloca’ [-Werror=implicit-function-declaration]
   23 |         dr = alloca(sizeof(struct rte_mbuf *) * num);
      |              ^~~~~~
../lib/ipsec/ipsec_group.c:23:14: error: nested extern declaration of ‘alloca’ [-Werror=nested-externs]
../lib/ipsec/ipsec_group.c:23:12: error: assignment to ‘struct rte_mbuf **’ from ‘int’ makes pointer from integer without a cast [-Werror=int-conversion]
   23 |         dr = alloca(sizeof(struct rte_mbuf *) * num);
      |            ^
cc1: all warnings being treated as errors
[426/6606] Compiling C object lib/librte_vhost.a.p/vhost_vhost_crypto.c.o
[427/6606] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net.c.o
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-22.04-gcc-shared-aarch64" at step Build and test
####################################################################################




####################################################################################
#### [Begin job log] "ubuntu-22.04-gcc-ppc64le" at step Build and test
####################################################################################
      |                          ^
../lib/ipsec/esp_outb.c: In function ‘esp_outb_sqh_process’:
../lib/ipsec/esp_outb.c:688:12: error: assignment to ‘uint32_t *’ {aka ‘unsigned int *’} from ‘int’ makes pointer from integer without a cast [-Werror=int-conversion]
  688 |         dr = alloca(sizeof(uint32_t) * num);
      |            ^
../lib/ipsec/esp_outb.c: In function ‘inline_outb_tun_pkt_process’:
../lib/ipsec/esp_outb.c:784:12: error: assignment to ‘uint32_t *’ {aka ‘unsigned int *’} from ‘int’ makes pointer from integer without a cast [-Werror=int-conversion]
  784 |         dr = alloca(sizeof(uint32_t) * num);
      |            ^
../lib/ipsec/esp_outb.c:785:17: error: assignment to ‘uint16_t *’ {aka ‘short unsigned int *’} from ‘int’ makes pointer from integer without a cast [-Werror=int-conversion]
  785 |         nb_segs = alloca(sizeof(uint16_t) * num);
      |                 ^
../lib/ipsec/esp_outb.c: In function ‘inline_outb_trs_pkt_process’:
../lib/ipsec/esp_outb.c:855:12: error: assignment to ‘uint32_t *’ {aka ‘unsigned int *’} from ‘int’ makes pointer from integer without a cast [-Werror=int-conversion]
  855 |         dr = alloca(sizeof(uint32_t) * num);
      |            ^
../lib/ipsec/esp_outb.c:856:17: error: assignment to ‘uint16_t *’ {aka ‘short unsigned int *’} from ‘int’ makes pointer from integer without a cast [-Werror=int-conversion]
  856 |         nb_segs = alloca(sizeof(uint16_t) * num);
      |                 ^
cc1: all warnings being treated as errors
[424/5877] Compiling C object lib/librte_ipsec.a.p/ipsec_ipsec_sad.c.o
[425/5877] Compiling C object lib/librte_vhost.a.p/vhost_vhost_crypto.c.o
[426/5877] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net.c.o
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-22.04-gcc-ppc64le" at step Build and test
####################################################################################




####################################################################################
#### [Begin job log] "ubuntu-22.04-gcc-riscv64" at step Build and test
####################################################################################
  581 |                 ivbuf[i] = alloca(sizeof(uint64_t) * IPSEC_MAX_IV_QWORD);
      |                          ^
../lib/ipsec/esp_outb.c: In function ‘esp_outb_sqh_process’:
../lib/ipsec/esp_outb.c:688:12: error: assignment to ‘uint32_t *’ {aka ‘unsigned int *’} from ‘int’ makes pointer from integer without a cast [-Werror=int-conversion]
  688 |         dr = alloca(sizeof(uint32_t) * num);
      |            ^
../lib/ipsec/esp_outb.c: In function ‘inline_outb_tun_pkt_process’:
../lib/ipsec/esp_outb.c:784:12: error: assignment to ‘uint32_t *’ {aka ‘unsigned int *’} from ‘int’ makes pointer from integer without a cast [-Werror=int-conversion]
  784 |         dr = alloca(sizeof(uint32_t) * num);
      |            ^
../lib/ipsec/esp_outb.c:785:17: error: assignment to ‘uint16_t *’ {aka ‘short unsigned int *’} from ‘int’ makes pointer from integer without a cast [-Werror=int-conversion]
  785 |         nb_segs = alloca(sizeof(uint16_t) * num);
      |                 ^
../lib/ipsec/esp_outb.c: In function ‘inline_outb_trs_pkt_process’:
../lib/ipsec/esp_outb.c:855:12: error: assignment to ‘uint32_t *’ {aka ‘unsigned int *’} from ‘int’ makes pointer from integer without a cast [-Werror=int-conversion]
  855 |         dr = alloca(sizeof(uint32_t) * num);
      |            ^
../lib/ipsec/esp_outb.c:856:17: error: assignment to ‘uint16_t *’ {aka ‘short unsigned int *’} from ‘int’ makes pointer from integer without a cast [-Werror=int-conversion]
  856 |         nb_segs = alloca(sizeof(uint16_t) * num);
      |                 ^
cc1: all warnings being treated as errors
[424/5848] Compiling C object lib/librte_vhost.a.p/vhost_vhost_crypto.c.o
[425/5848] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net.c.o
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-22.04-gcc-riscv64" at step Build and test
####################################################################################
--------------------------------END LOGS-----------------------------


More information about the test-report mailing list