* |FAILURE| pw107889 [PATCH 2/2] net/txgbe: fix debug log
[not found] <20220221092121.2145802-3-jiawenwu@trustnetic.com>
2022-02-21 9:15 ` |SUCCESS| pw107889 [PATCH 2/2] net/txgbe: fix debug log checkpatch
@ 2022-02-21 10:39 ` 0-day Robot
1 sibling, 0 replies; 2+ messages in thread
From: 0-day Robot @ 2022-02-21 10:39 UTC (permalink / raw)
To: test-report; +Cc: jiawenwu, robot
From: robot@bytheb.org
Test-Label: github-robot: build
Test-Status: FAILURE
http://patchwork.dpdk.org/patch/107889/
_github build: failed_
Build URL: https://github.com/ovsrobot/dpdk/actions/runs/1875261949
Build Logs:
-----------------------Summary of failed steps-----------------------
"ubuntu-18.04-gcc-static" failed at step Build and test
"ubuntu-18.04-gcc-shared-abi+doc+tests" failed at step Build and test
"ubuntu-18.04-clang-static" failed at step Build and test
"ubuntu-18.04-clang-shared-doc+tests" failed at step Build and test
"ubuntu-18.04-gcc-static-i386" failed at step Build and test
"ubuntu-18.04-gcc-static-aarch64" failed at step Build and test
"ubuntu-18.04-gcc-shared-aarch64" failed at step Build and test
"ubuntu-18.04-gcc-static-ppc64le" failed at step Build and test
"ubuntu-18.04-gcc-shared-ppc64le" failed at step Build and test
----------------------End summary of failed steps--------------------
-------------------------------BEGIN LOGS----------------------------
####################################################################################
#### [Begin job log] "ubuntu-18.04-gcc-static" at step Build and test
####################################################################################
^~~~~~~~
../drivers/net/txgbe/base/txgbe_eeprom.c:445:32: error: macro "PMD_DRV_LOG" requires 3 arguments, but only 1 given
DEBUGOUT("EEPROM read failed");
^
../drivers/net/txgbe/base/txgbe_eeprom.c:454:35: error: macro "PMD_DRV_LOG" requires 3 arguments, but only 1 given
DEBUGOUT("EEPROM checksum error");
^
../drivers/net/txgbe/base/txgbe_eeprom.c: In function ‘txgbe_update_eeprom_checksum’:
../drivers/net/txgbe/base/txgbe_eeprom.c:479:32: error: macro "PMD_DRV_LOG" requires 3 arguments, but only 1 given
DEBUGOUT("EEPROM read failed");
^
In file included from ../drivers/net/txgbe/base/txgbe_osdep.h:22:0,
from ../drivers/net/txgbe/base/txgbe_type.h:35,
from ../drivers/net/txgbe/base/txgbe_hw.h:9,
from ../drivers/net/txgbe/base/txgbe_eeprom.c:6:
../drivers/net/txgbe/base/../txgbe_logs.h:51:35: error: ‘PMD_DRV_LOG’ undeclared (first use in this function)
#define DEBUGOUT(fmt, args...) PMD_DRV_LOG(fmt, ##args)
^
../drivers/net/txgbe/base/txgbe_eeprom.c:479:3: note: in expansion of macro ‘DEBUGOUT’
DEBUGOUT("EEPROM read failed");
^~~~~~~~
[2162/4371] Compiling C object 'drivers/a715181@@tmp_rte_net_thunderx@sta/net_thunderx_nicvf_rxtx.c.o'.
[2163/4371] Compiling C object 'drivers/a715181@@tmp_rte_net_thunderx@sta/net_thunderx_nicvf_ethdev.c.o'.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-18.04-gcc-static" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-18.04-gcc-shared-abi+doc+tests" at step Build and test
####################################################################################
^~~~~~~~
../drivers/net/txgbe/base/txgbe_eeprom.c:445:32: error: macro "PMD_DRV_LOG" requires 3 arguments, but only 1 given
DEBUGOUT("EEPROM read failed");
^
../drivers/net/txgbe/base/txgbe_eeprom.c:454:35: error: macro "PMD_DRV_LOG" requires 3 arguments, but only 1 given
DEBUGOUT("EEPROM checksum error");
^
../drivers/net/txgbe/base/txgbe_eeprom.c: In function ‘txgbe_update_eeprom_checksum’:
../drivers/net/txgbe/base/txgbe_eeprom.c:479:32: error: macro "PMD_DRV_LOG" requires 3 arguments, but only 1 given
DEBUGOUT("EEPROM read failed");
^
In file included from ../drivers/net/txgbe/base/txgbe_osdep.h:22:0,
from ../drivers/net/txgbe/base/txgbe_type.h:35,
from ../drivers/net/txgbe/base/txgbe_hw.h:9,
from ../drivers/net/txgbe/base/txgbe_eeprom.c:6:
../drivers/net/txgbe/base/../txgbe_logs.h:51:35: error: ‘PMD_DRV_LOG’ undeclared (first use in this function)
#define DEBUGOUT(fmt, args...) PMD_DRV_LOG(fmt, ##args)
^
../drivers/net/txgbe/base/txgbe_eeprom.c:479:3: note: in expansion of macro ‘DEBUGOUT’
DEBUGOUT("EEPROM read failed");
^~~~~~~~
[2134/4551] Compiling C object 'drivers/a715181@@tmp_rte_net_thunderx@sta/net_thunderx_nicvf_rxtx.c.o'.
[2135/4551] Compiling C object 'drivers/a715181@@tmp_rte_net_thunderx@sta/net_thunderx_nicvf_ethdev.c.o'.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-18.04-gcc-shared-abi+doc+tests" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-18.04-clang-static" at step Build and test
####################################################################################
^
../drivers/net/txgbe/base/../txgbe_logs.h:21:19: note: expanded from macro 'PMD_DRV_LOG'
rte_log(RTE_LOG_ ## level, txgbe_logtype_driver, \
^
../drivers/net/txgbe/base/txgbe_hw.c:679:3: error: use of undeclared identifier 'RTE_LOG_'
../drivers/net/txgbe/base/../txgbe_logs.h:51:35: note: expanded from macro 'DEBUGOUT'
#define DEBUGOUT(fmt, args...) PMD_DRV_LOG(fmt, ##args)
^
../drivers/net/txgbe/base/../txgbe_logs.h:21:10: note: expanded from macro 'PMD_DRV_LOG'
rte_log(RTE_LOG_ ## level, txgbe_logtype_driver, \
^
../drivers/net/txgbe/base/../txgbe_logs.h:21:10: note: expanded from macro 'RTE_LOG_'
../drivers/net/txgbe/base/txgbe_hw.c:685:3: error: too few arguments provided to function-like macro invocation
DEBUGOUT("Overriding MAC Address in RAR[0]");
^
../drivers/net/txgbe/base/../txgbe_logs.h:51:58: note: expanded from macro 'DEBUGOUT'
#define DEBUGOUT(fmt, args...) PMD_DRV_LOG(fmt, ##args)
^
../drivers/net/txgbe/base/../txgbe_logs.h:20:9: note: macro 'PMD_DRV_LOG' defined here
#define PMD_DRV_LOG(level, fmt, args...) \
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-18.04-clang-static" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-18.04-clang-shared-doc+tests" at step Build and test
####################################################################################
^
../drivers/net/txgbe/base/../txgbe_logs.h:20:9: note: macro 'PMD_DRV_LOG' defined here
#define PMD_DRV_LOG(level, fmt, args...) \
^
../drivers/net/txgbe/base/txgbe_eeprom.c:454:3: error: use of undeclared identifier 'PMD_DRV_LOG'
DEBUGOUT("EEPROM checksum error");
^
../drivers/net/txgbe/base/../txgbe_logs.h:51:35: note: expanded from macro 'DEBUGOUT'
#define DEBUGOUT(fmt, args...) PMD_DRV_LOG(fmt, ##args)
^
../drivers/net/txgbe/base/txgbe_eeprom.c:479:3: error: too few arguments provided to function-like macro invocation
DEBUGOUT("EEPROM read failed");
^
../drivers/net/txgbe/base/../txgbe_logs.h:51:58: note: expanded from macro 'DEBUGOUT'
#define DEBUGOUT(fmt, args...) PMD_DRV_LOG(fmt, ##args)
^
../drivers/net/txgbe/base/../txgbe_logs.h:20:9: note: macro 'PMD_DRV_LOG' defined here
#define PMD_DRV_LOG(level, fmt, args...) \
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[2145/4553] Compiling C object 'drivers/a715181@@rte_net_ngbe@sta/meson-generated_.._rte_net_ngbe.pmd.c.o'.
[2146/4553] Compiling C object 'drivers/net/txgbe/base/441365e@@txgbe_base@sta/txgbe_dcb_hw.c.o'.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-18.04-clang-shared-doc+tests" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-18.04-gcc-static-i386" at step Build and test
####################################################################################
^~~~~~~~
../drivers/net/txgbe/base/txgbe_eeprom.c:445:32: error: macro "PMD_DRV_LOG" requires 3 arguments, but only 1 given
DEBUGOUT("EEPROM read failed");
^
../drivers/net/txgbe/base/txgbe_eeprom.c:454:35: error: macro "PMD_DRV_LOG" requires 3 arguments, but only 1 given
DEBUGOUT("EEPROM checksum error");
^
../drivers/net/txgbe/base/txgbe_eeprom.c: In function ‘txgbe_update_eeprom_checksum’:
../drivers/net/txgbe/base/txgbe_eeprom.c:479:32: error: macro "PMD_DRV_LOG" requires 3 arguments, but only 1 given
DEBUGOUT("EEPROM read failed");
^
In file included from ../drivers/net/txgbe/base/txgbe_osdep.h:22:0,
from ../drivers/net/txgbe/base/txgbe_type.h:35,
from ../drivers/net/txgbe/base/txgbe_hw.h:9,
from ../drivers/net/txgbe/base/txgbe_eeprom.c:6:
../drivers/net/txgbe/base/../txgbe_logs.h:51:35: error: ‘PMD_DRV_LOG’ undeclared (first use in this function)
#define DEBUGOUT(fmt, args...) PMD_DRV_LOG(fmt, ##args)
^
../drivers/net/txgbe/base/txgbe_eeprom.c:479:3: note: in expansion of macro ‘DEBUGOUT’
DEBUGOUT("EEPROM read failed");
^~~~~~~~
[1490/3042] Compiling C object 'drivers/net/txgbe/base/441365e@@txgbe_base@sta/txgbe_dcb_hw.c.o'.
[1491/3042] Generating rte_net_ngbe.pmd.c with a custom command.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-18.04-gcc-static-i386" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-18.04-gcc-static-aarch64" at step Build and test
####################################################################################
^~~~~~~~
../drivers/net/txgbe/base/txgbe_eeprom.c:445:32: error: macro "PMD_DRV_LOG" requires 3 arguments, but only 1 given
DEBUGOUT("EEPROM read failed");
^
../drivers/net/txgbe/base/txgbe_eeprom.c:454:35: error: macro "PMD_DRV_LOG" requires 3 arguments, but only 1 given
DEBUGOUT("EEPROM checksum error");
^
../drivers/net/txgbe/base/txgbe_eeprom.c: In function ‘txgbe_update_eeprom_checksum’:
../drivers/net/txgbe/base/txgbe_eeprom.c:479:32: error: macro "PMD_DRV_LOG" requires 3 arguments, but only 1 given
DEBUGOUT("EEPROM read failed");
^
In file included from ../drivers/net/txgbe/base/txgbe_osdep.h:22:0,
from ../drivers/net/txgbe/base/txgbe_type.h:35,
from ../drivers/net/txgbe/base/txgbe_hw.h:9,
from ../drivers/net/txgbe/base/txgbe_eeprom.c:6:
../drivers/net/txgbe/base/../txgbe_logs.h:51:35: error: ‘PMD_DRV_LOG’ undeclared (first use in this function)
#define DEBUGOUT(fmt, args...) PMD_DRV_LOG(fmt, ##args)
^
../drivers/net/txgbe/base/txgbe_eeprom.c:479:3: note: in expansion of macro ‘DEBUGOUT’
DEBUGOUT("EEPROM read failed");
^~~~~~~~
[1687/2792] Compiling C object 'drivers/a715181@@tmp_rte_net_thunderx@sta/net_thunderx_nicvf_rxtx.c.o'.
[1688/2792] Compiling C object 'drivers/a715181@@tmp_rte_net_thunderx@sta/net_thunderx_nicvf_ethdev.c.o'.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-18.04-gcc-static-aarch64" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-18.04-gcc-shared-aarch64" at step Build and test
####################################################################################
^~~~~~~~
../drivers/net/txgbe/base/txgbe_eeprom.c:445:32: error: macro "PMD_DRV_LOG" requires 3 arguments, but only 1 given
DEBUGOUT("EEPROM read failed");
^
../drivers/net/txgbe/base/txgbe_eeprom.c:454:35: error: macro "PMD_DRV_LOG" requires 3 arguments, but only 1 given
DEBUGOUT("EEPROM checksum error");
^
../drivers/net/txgbe/base/txgbe_eeprom.c: In function ‘txgbe_update_eeprom_checksum’:
../drivers/net/txgbe/base/txgbe_eeprom.c:479:32: error: macro "PMD_DRV_LOG" requires 3 arguments, but only 1 given
DEBUGOUT("EEPROM read failed");
^
In file included from ../drivers/net/txgbe/base/txgbe_osdep.h:22:0,
from ../drivers/net/txgbe/base/txgbe_type.h:35,
from ../drivers/net/txgbe/base/txgbe_hw.h:9,
from ../drivers/net/txgbe/base/txgbe_eeprom.c:6:
../drivers/net/txgbe/base/../txgbe_logs.h:51:35: error: ‘PMD_DRV_LOG’ undeclared (first use in this function)
#define DEBUGOUT(fmt, args...) PMD_DRV_LOG(fmt, ##args)
^
../drivers/net/txgbe/base/txgbe_eeprom.c:479:3: note: in expansion of macro ‘DEBUGOUT’
DEBUGOUT("EEPROM read failed");
^~~~~~~~
[1695/2970] Compiling C object 'drivers/a715181@@tmp_rte_net_thunderx@sta/net_thunderx_nicvf_rxtx.c.o'.
[1696/2970] Compiling C object 'drivers/a715181@@tmp_rte_net_thunderx@sta/net_thunderx_nicvf_ethdev.c.o'.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-18.04-gcc-shared-aarch64" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-18.04-gcc-static-ppc64le" at step Build and test
####################################################################################
^~~~~~~~
../drivers/net/txgbe/base/txgbe_eeprom.c:445:32: error: macro "PMD_DRV_LOG" requires 3 arguments, but only 1 given
DEBUGOUT("EEPROM read failed");
^
../drivers/net/txgbe/base/txgbe_eeprom.c:454:35: error: macro "PMD_DRV_LOG" requires 3 arguments, but only 1 given
DEBUGOUT("EEPROM checksum error");
^
../drivers/net/txgbe/base/txgbe_eeprom.c: In function ‘txgbe_update_eeprom_checksum’:
../drivers/net/txgbe/base/txgbe_eeprom.c:479:32: error: macro "PMD_DRV_LOG" requires 3 arguments, but only 1 given
DEBUGOUT("EEPROM read failed");
^
In file included from ../drivers/net/txgbe/base/txgbe_osdep.h:22:0,
from ../drivers/net/txgbe/base/txgbe_type.h:35,
from ../drivers/net/txgbe/base/txgbe_hw.h:9,
from ../drivers/net/txgbe/base/txgbe_eeprom.c:6:
../drivers/net/txgbe/base/../txgbe_logs.h:51:35: error: ‘PMD_DRV_LOG’ undeclared (first use in this function)
#define DEBUGOUT(fmt, args...) PMD_DRV_LOG(fmt, ##args)
^
../drivers/net/txgbe/base/txgbe_eeprom.c:479:3: note: in expansion of macro ‘DEBUGOUT’
DEBUGOUT("EEPROM read failed");
^~~~~~~~
[1827/3386] Compiling C object 'drivers/a715181@@tmp_rte_net_thunderx@sta/net_thunderx_nicvf_rxtx.c.o'.
[1828/3386] Compiling C object 'drivers/a715181@@tmp_rte_net_thunderx@sta/net_thunderx_nicvf_ethdev.c.o'.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-18.04-gcc-static-ppc64le" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-18.04-gcc-shared-ppc64le" at step Build and test
####################################################################################
^~~~~~~~
../drivers/net/txgbe/base/txgbe_eeprom.c:445:32: error: macro "PMD_DRV_LOG" requires 3 arguments, but only 1 given
DEBUGOUT("EEPROM read failed");
^
../drivers/net/txgbe/base/txgbe_eeprom.c:454:35: error: macro "PMD_DRV_LOG" requires 3 arguments, but only 1 given
DEBUGOUT("EEPROM checksum error");
^
../drivers/net/txgbe/base/txgbe_eeprom.c: In function ‘txgbe_update_eeprom_checksum’:
../drivers/net/txgbe/base/txgbe_eeprom.c:479:32: error: macro "PMD_DRV_LOG" requires 3 arguments, but only 1 given
DEBUGOUT("EEPROM read failed");
^
In file included from ../drivers/net/txgbe/base/txgbe_osdep.h:22:0,
from ../drivers/net/txgbe/base/txgbe_type.h:35,
from ../drivers/net/txgbe/base/txgbe_hw.h:9,
from ../drivers/net/txgbe/base/txgbe_eeprom.c:6:
../drivers/net/txgbe/base/../txgbe_logs.h:51:35: error: ‘PMD_DRV_LOG’ undeclared (first use in this function)
#define DEBUGOUT(fmt, args...) PMD_DRV_LOG(fmt, ##args)
^
../drivers/net/txgbe/base/txgbe_eeprom.c:479:3: note: in expansion of macro ‘DEBUGOUT’
DEBUGOUT("EEPROM read failed");
^~~~~~~~
[1814/3564] Compiling C object 'drivers/a715181@@tmp_rte_net_thunderx@sta/net_thunderx_nicvf_rxtx.c.o'.
[1815/3564] Compiling C object 'drivers/a715181@@tmp_rte_net_thunderx@sta/net_thunderx_nicvf_ethdev.c.o'.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-18.04-gcc-shared-ppc64le" at step Build and test
####################################################################################
--------------------------------END LOGS-----------------------------
^ permalink raw reply [flat|nested] 2+ messages in thread