|FAILURE| pw141594 [PATCH v2] app/graph: fix destination buffer too small

0-day Robot robot at bytheb.org
Mon Jun 24 23:04:13 CEST 2024


From: robot at bytheb.org

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

_github build: failed_
Build URL: https://github.com/ovsrobot/dpdk/actions/runs/9651950258
Build Logs:
-----------------------Summary of failed steps-----------------------
"ubuntu-22.04-gcc-static-i386" failed at step Build and test
"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-static-i386" at step Build and test
####################################################################################
In file included from ../lib/eal/include/rte_trace_point.h:32,
                 from ../lib/ethdev/rte_ethdev_trace_fp.h:18,
                 from ../lib/ethdev/rte_ethdev.h:175,
                 from ../app/graph/ethdev.c:14:
../app/graph/ethdev.c: In function ‘cmd_ethdev_parsed’:
../lib/eal/include/rte_string_fns.h:63:24: error: ‘%s’ directive output may be truncated writing up to 127 bytes into a region of size 26 [-Werror=format-truncation=]
   63 |         return (size_t)snprintf(dst, size, "%s", src);
      |                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:894,
                 from ../app/graph/ethdev.c:5:
/usr/include/i386-linux-gnu/bits/stdio2.h:71:10: note: ‘__builtin_snprintf’ output between 1 and 128 bytes into a destination of size 26
   71 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   72 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   73 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1820/3184] Compiling C object 'app/a172ced@@dpdk-graph at exe/graph_ip4_route.c.o'.
[1821/3184] Compiling C object 'app/a172ced@@dpdk-graph at exe/graph_graph.c.o'.
[1822/3184] Compiling C object 'drivers/a715181@@tmp_rte_event_opdl at sta/event_opdl_opdl_ring.c.o'.
[1823/3184] Compiling C object 'app/a172ced@@dpdk-graph at exe/graph_l2fwd.c.o'.
[1824/3184] Compiling C object 'app/a172ced@@dpdk-graph at exe/graph_ip6_route.c.o'.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-22.04-gcc-static-i386" at step Build and test
####################################################################################




####################################################################################
#### [Begin job log] "ubuntu-22.04-gcc-shared-aarch64" at step Build and test
####################################################################################
In file included from ../lib/eal/include/rte_trace_point.h:32,
                 from ../lib/ethdev/rte_ethdev_trace_fp.h:18,
                 from ../lib/ethdev/rte_ethdev.h:175,
                 from ../app/graph/ethdev.c:14:
../app/graph/ethdev.c: In function ‘cmd_ethdev_parsed’:
../lib/eal/include/rte_string_fns.h:63:24: error: ‘%s’ directive output may be truncated writing up to 127 bytes into a region of size 26 [-Werror=format-truncation=]
   63 |         return (size_t)snprintf(dst, size, "%s", src);
      |                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/aarch64-linux-gnu/include/stdio.h:894,
                 from ../app/graph/ethdev.c:5:
/usr/aarch64-linux-gnu/include/bits/stdio2.h:71:10: note: ‘__builtin_snprintf’ output between 1 and 128 bytes into a destination of size 26
   71 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   72 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   73 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[2715/4210] Compiling C object 'app/a172ced@@dpdk-graph at exe/graph_graph.c.o'.
[2716/4210] Compiling C object 'drivers/a715181@@tmp_rte_event_cnxk at sta/event_cnxk_tx_cn10k_tx_64_79_seg.c.o'.
[2717/4210] Compiling C object 'drivers/a715181@@tmp_rte_event_cnxk at sta/event_cnxk_tx_cn10k_tx_96_111_seg.c.o'.
[2718/4210] Compiling C object 'drivers/a715181@@tmp_rte_event_cnxk at sta/event_cnxk_tx_cn10k_tx_80_95_seg.c.o'.
[2719/4210] Compiling C object 'drivers/a715181@@tmp_rte_event_cnxk at sta/event_cnxk_tx_cn10k_tx_112_127_seg.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
####################################################################################
In file included from ../lib/eal/include/rte_trace_point.h:32,
                 from ../lib/ethdev/rte_ethdev_trace_fp.h:18,
                 from ../lib/ethdev/rte_ethdev.h:175,
                 from ../app/graph/ethdev.c:14:
../app/graph/ethdev.c: In function ‘cmd_ethdev_parsed’:
../lib/eal/include/rte_string_fns.h:63:24: error: ‘%s’ directive output may be truncated writing up to 127 bytes into a region of size 26 [-Werror=format-truncation=]
   63 |         return (size_t)snprintf(dst, size, "%s", src);
      |                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/powerpc64le-linux-gnu/include/stdio.h:894,
                 from ../app/graph/ethdev.c:5:
/usr/powerpc64le-linux-gnu/include/bits/stdio2.h:71:10: note: ‘__builtin_snprintf’ output between 1 and 128 bytes into a destination of size 26
   71 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   72 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   73 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[2201/3502] Compiling C object 'app/a172ced@@dpdk-pdump at exe/pdump_main.c.o'.
[2202/3502] Compiling C object 'app/a172ced@@dpdk-proc-info at exe/proc-info_main.c.o'.
[2203/3502] Generating rte_baseband_acc.sym_chk with a meson_exe.py custom command.
[2204/3502] Compiling C object 'drivers/a715181@@tmp_rte_baseband_turbo_sw at sta/baseband_turbo_sw_bbdev_turbo_software.c.o'.
[2205/3502] Compiling C object 'app/a172ced@@dpdk-graph at exe/graph_graph.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
####################################################################################
In file included from ../lib/eal/include/rte_trace_point.h:32,
                 from ../lib/ethdev/rte_ethdev_trace_fp.h:18,
                 from ../lib/ethdev/rte_ethdev.h:175,
                 from ../app/graph/ethdev.c:14:
../app/graph/ethdev.c: In function ‘cmd_ethdev_parsed’:
../lib/eal/include/rte_string_fns.h:63:24: error: ‘%s’ directive output may be truncated writing up to 127 bytes into a region of size 26 [-Werror=format-truncation=]
   63 |         return (size_t)snprintf(dst, size, "%s", src);
      |                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/riscv64-linux-gnu/include/stdio.h:894,
                 from ../app/graph/ethdev.c:5:
/usr/riscv64-linux-gnu/include/bits/stdio2.h:71:10: note: ‘__builtin_snprintf’ output between 1 and 128 bytes into a destination of size 26
   71 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   72 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   73 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[2161/3473] Compiling C object 'app/a172ced@@dpdk-graph at exe/graph_ip4_route.c.o'.
[2162/3473] Compiling C object 'app/a172ced@@dpdk-graph at exe/graph_graph.c.o'.
[2163/3473] Compiling C object 'app/a172ced@@dpdk-proc-info at exe/proc-info_main.c.o'.
[2164/3473] Generating rte_baseband_turbo_sw.pmd.c with a custom command.
[2165/3473] Generating rte_baseband_acc.pmd.c with a custom command.
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