[dpdk-test-report] |FAILURE| pw(73245) [3/3] net/af_packet: fix wrong munmap on init failure

sys_stv at intel.com sys_stv at intel.com
Tue Jul 7 18:53:46 CEST 2020


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

_Compilation issues_

Submitter: wangyunjian <wangyunjian at huawei.com>
Date: 2020-07-06 12:28:02
Reply_mail: e4ebc289269ab87d0fa77e9da8f79131e34070ee.1594037787.git.wangyunjian at huawei.com

DPDK git baseline: Repo:dpdk-next-net, CommitID: 3768a94c6c83f492273df40b649f3a6f2046a4b8


Meson build Summary: 8 Builds Done, 7 Successful, 1 Failures, 0 Blocked

Makefile build Summary: 20 Builds Done, 20 Successful, 0 Failures, 0 Blocked

                +==============================================+===========+==========+
                |                   Makefile                   |   Meson   | Document |
+----------------+------+-------+------+------------+-----------+-----------+----------+
| os             | gcc  | clang | icc  | gcc+shared | gcc+debug | gcc/clang | pdf/html |
+----------------+------+-------+------+------------+-----------+-----------+----------+
| CENTOS82-64    | pass | pass  | pass | pass       | pass      | pass      |          |
| RHEL82-64      | pass |       |      |            |           |           |          |
| UB1804-64      | pass |       |      |            |           |           |          |
| FC32-64        | pass | pass  |      |            |           | pass      |          |
| CENTOS77-64    | pass |       |      |            |           |           |          |
| UB2004-64      | pass | pass  | pass |            |           | pass      | pass     |
| WIN10-64       |      |       |      |            |           | pass      |          |
| UB2004-32      | pass |       |      |            |           |           |          |
| UB1804-32      |      |       |      |            |           | pass      |          |
| FreeBSD1201-64 | pass | pass  |      | pass       | pass      | FAIL      |          |
| SUSE15-64      | pass | pass  |      |            |           | pass      |          |
+----------------+------+-------+------+------------+-----------+-----------+----------+
Test environment and configuration as below:

** Makefile build **


OS: CENTOS82-64
	Kernel Version: 4.18.0-193.el8.x86_64
	CPU info: Intel(R) Xeon(R) Platinum 8280M CPU @ 2.70GHz
	GCC Version: gcc (GCC) 8.3.1 20191121 (Red Hat 8.3.1-5)
	Clang Version: 9.0.1 (Red Hat 9.0.1-2.module_el8.2.0+309+0c7b6b03)
	x86_64-native-linuxapp-gcc
	x86_64-native-linuxapp-clang
	x86_64-native-linuxapp-icc
	x86_64-native-linuxapp-gcc+shared
	x86_64-native-linuxapp-gcc+debug


OS: RHEL82-64
	Kernel Version: 4.18.0-193.el8.x86_64
	CPU info: Intel(R) Xeon(R) Platinum 8280M CPU @ 2.70GHz
	GCC Version: gcc (GCC) 8.3.1 20191121 (Red Hat 8.3.1-5)
	Clang Version: 8.0.1 (Red Hat 8.0.1-1.module_el8.1.0+215+a01033fb)
	x86_64-native-linuxapp-gcc


OS: UB1804-64
	Kernel Version: 4.15.0-29-generic
	CPU info: Intel(R) Xeon(R) Platinum 8180 CPU @ 2.50GHz
	GCC Version: gcc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0
	Clang Version: 6.0.0-1ubuntu2 (tags/RELEASE_600/final)
	x86_64-native-linuxapp-gcc


OS: FC32-64
	Kernel Version: 5.6.0-0.rc7.git0.2.fc32.x86_64
	CPU info: Intel(R) Xeon(R) Platinum 8280M CPU @ 2.70GHz
	GCC Version: gcc (GCC) 10.0.1 20200311 (Red Hat 10.0.1-0.9)
	Clang Version: 10.0.0 (Fedora 10.0.0-0.3.rc4.fc32)
	x86_64-native-linuxapp-gcc
	x86_64-native-linuxapp-clang


OS: CENTOS77-64
	Kernel Version: 3.10.0-1062.9.1.el7.x86_64
	CPU info: Intel(R) Xeon(R) Platinum 8280M CPU @ 2.70GHz
	GCC Version: gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-39)
	Clang Version: 3.4.2 (tags/RELEASE_34/dot2-final)
	x86_64-native-linuxapp-gcc


OS: UB2004-64
	Kernel Version: 5.4.0-26-generic
	CPU info: Intel(R) Xeon(R) Platinum 8180 CPU @ 2.50GHz
	GCC Version: gcc (Ubuntu 10-20200416-0ubuntu1) 10.0.1 20200416 (experimental) [master revision 3c3f12e2a76:dcee354ce56:44b326839d864fc10c459916abcc97f35a9ac3de]
	Clang Version: 10.0.0-4ubuntu1
	x86_64-native-linuxapp-clang
	x86_64-native-linuxapp-gcc
	x86_64-native-linuxapp-icc


OS: UB2004-32
	Kernel Version: 5.4.0-26-generic
	CPU info: Intel(R) Xeon(R) Platinum 8180 CPU @ 2.50GHz
	GCC Version: gcc (Ubuntu 9.3.0-10ubuntu2) 9.3.0
	Clang Version: 10.0.0-4ubuntu1
	i686-native-linuxapp-gcc


OS: FreeBSD1201-64
	Kernel Version: 12.1-RELEASE
	CPU info: Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz (2294.74-MHz K8-class CPU)
	GCC Version: gcc (FreeBSD Ports Collection) 9.2.0
	Clang Version: 8.0.1 (tags/RELEASE_801/final 366581) (based on LLVM 8.0.1)
	x86_64-native-bsdapp-gcc
	x86_64-native-bsdapp-clang
	x86_64-native-bsdapp-gcc+shared
	x86_64-native-bsdapp-gcc+debug


OS: SUSE15-64
	Kernel Version: 4.12.14-lp150.11-default
	CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz
	GCC Version: gcc (SUSE Linux) 7.3.1 20180323 [gcc-7-branch revision 258812]
	Clang Version: 5.0.1 (tags/RELEASE_501/final 312548)
	x86_64-native-linuxapp-clang
	x86_64-native-linuxapp-gcc

** Meson build **


OS: CENTOS82-64
	Kernel Version: 4.18.0-193.el8.x86_64
	CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz
	GCC Version: gcc (GCC) 8.3.1 20191121 (Red Hat 8.3.1-5)
	Clang Version: 9.0.1 (Red Hat 9.0.1-2.module_el8.2.0+309+0c7b6b03)
	./build-gcc-static
	./build-gcc-shared
	./build-clang-static
	./build-clang-shared
	./build-x86-default


OS: UB2004-64
	Kernel Version: 5.4.0-26-generic
	CPU info: Intel(R) Xeon(R) Platinum 8180 CPU @ 2.50GHz
	GCC Version: gcc (Ubuntu 9.3.0-10ubuntu2) 9.3.0
	Clang Version: 10.0.0-4ubuntu1
	x86_64-native-linuxapp-doc
	./build-gcc-static
	./build-gcc-shared
	./build-clang-static
	./build-clang-shared
	./build-x86-default


OS: FC32-64
	Kernel Version: 5.6.0-0.rc7.git0.2.fc32.x86_64
	CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz
	GCC Version: gcc (GCC) 10.0.1 20200311 (Red Hat 10.0.1-0.9)
	Clang Version: 10.0.0 (Fedora 10.0.0-0.3.rc4.fc32)
	./build-gcc-static
	./build-gcc-shared
	./build-clang-static
	./build-clang-shared
	./build-x86-default


OS: WIN10-64
	Kernel Version: N/A
	CPU info: N/A
	GCC Version: N/A
	Clang Version: Clang 8.0.0
	x86_64-windows-clang


OS: UB1804-32
	Kernel Version: 4.15.0-20-generic
	CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz
	GCC Version: gcc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0
	Clang Version: 6.0.0-1ubuntu2 (tags/RELEASE_600/final)
	./build-gcc-static
	./build-gcc-shared
	./build-clang-static
	./build-clang-shared
	./build-x86-default


OS: FreeBSD1201-64
	Kernel Version: 12.1-RELEASE
	CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz (2194.97-MHz K8-class CPU)
	GCC Version: gcc (FreeBSD Ports Collection) 9.2.0
	Clang Version: 8.0.1 (tags/RELEASE_801/final 366581) (based on LLVM 8.0.1)
	./build-gcc-static
	./build-gcc-shared
	./build-clang-static
	./build-clang-shared
	./build-x86-default


OS: SUSE15-64
	Kernel Version: 4.12.14-lp150.12.82-default
	CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz
	GCC Version: gcc (SUSE Linux) 7.4.1 20190905 [gcc-7-branch revision 275407]
	Clang Version: 5.0.1 (tags/RELEASE_501/final 312548)
	./build-gcc-static
	./build-gcc-shared
	./build-clang-static
	./build-clang-shared
	./build-x86-default



*Meson Build Failed #1:
OS: FreeBSD1201-64
Target:./build-gcc-static
FAILED: drivers/net/hinic/base/12a4447@@hinic_base at sta/hinic_pmd_hwdev.c.o 
gcc -Idrivers/net/hinic/base/12a4447@@hinic_base at sta -Idrivers/net/hinic/base -I../drivers/net/hinic/base -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/freebsd/include -I../lib/librte_eal/freebsd/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_ethdev -I../lib/librte_ethdev -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/librte_pci -I../lib/librte_pci -Ilib/librte_hash -I../lib/librte_hash -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O2 -g -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -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 -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -MD -MQ 'drivers/net/hinic/base/12a4447@@hinic_base at sta/hinic_pmd_hwdev.c.o' -MF 'drivers/net/hinic/base/12a4447@@hinic_base at sta/hinic_pmd_hwdev.c.o.d' -o 'drivers/net/hinic/base/12a4447@@hinic_base at sta/hinic_pmd_hwdev.c.o' -c ../drivers/net/hinic/base/hinic_pmd_hwdev.c
../drivers/net/hinic/base/hinic_pmd_hwdev.c: In function 'wait_for_flr_finish':
../drivers/net/hinic/base/hinic_pmd_hwdev.c:478:10: error: 'ETIME' undeclared (first use in this function)
  478 |  return -ETIME;
      |          ^~~~~
../drivers/net/hinic/base/hinic_pmd_hwdev.c:478:10: note: each undeclared identifier is reported only once for each function it appears in
../drivers/net/hinic/base/hinic_pmd_hwdev.c:479:1: error: control reaches end of non-void function [-Werror=return-type]
  479 | }
      | ^
cc1: all warnings being treated as errors
[909/1767] Compiling C object 'drivers/a715181@@tmp_rte_pmd_i40e at sta/net_i40e_i40e_rxtx_vec_sse.c.o'
[910/1767] Compiling C object 'drivers/net/hinic/base/12a4447@@hinic_base at sta/hinic_pmd_hwif.c.o'
FAILED: drivers/net/hinic/base/12a4447@@hinic_base at sta/hinic_pmd_hwif.c.o 
gcc -Idrivers/net/hinic/base/12a4447@@hinic_base at sta -Idrivers/net/hinic/base -I../drivers/net/hinic/base -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/freebsd/include -I../lib/librte_eal/freebsd/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_ethdev -I../lib/librte_ethdev -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/librte_pci -I../lib/librte_pci -Ilib/librte_hash -I../lib/librte_hash -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O2 -g -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -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 -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -MD -MQ 'drivers/net/hinic/base/12a4447@@hinic_base at sta/hinic_pmd_hwif.c.o' -MF 'drivers/net/hinic/base/12a4447@@hinic_base at sta/hinic_pmd_hwif.c.o.d' -o 'drivers/net/hinic/base/12a4447@@hinic_base at sta/hinic_pmd_hwif.c.o' -c ../drivers/net/hinic/base/hinic_pmd_hwif.c
../drivers/net/hinic/base/hinic_pmd_hwif.c: In function 'wait_until_doorbell_flush_states':
../drivers/net/hinic/base/hinic_pmd_hwif.c:324:10: error: 'ETIME' undeclared (first use in this function)
  324 |  return -ETIME;
      |          ^~~~~
../drivers/net/hinic/base/hinic_pmd_hwif.c:324:10: note: each undeclared identifier is reported only once for each function it appears in
../drivers/net/hinic/base/hinic_pmd_hwif.c: In function 'wait_until_doorbell_and_outbound_enabled':
../drivers/net/hinic/base/hinic_pmd_hwif.c:346:10: error: 'ETIME' undeclared (first use in this function)
  346 |  return -ETIME;
      |          ^~~~~
../drivers/net/hinic/base/hinic_pmd_hwif.c: In function 'wait_until_doorbell_flush_states':
../drivers/net/hinic/base/hinic_pmd_hwif.c:325:1: error: control reaches end of non-void function [-Werror=return-type]
  325 | }
      | ^
../drivers/net/hinic/base/hinic_pmd_hwif.c: In function 'wait_until_doorbell_and_outbound_enabled':
../drivers/net/hinic/base/hinic_pmd_hwif.c:347:1: error: control reaches end of non-void function [-Werror=return-type]
  347 | }
      | ^
cc1: all warnings being treated as errors
[911/1767] Compiling C object 'drivers/net/hinic/base/12a4447@@hinic_base at sta/hinic_pmd_eqs.c.o'
[912/1767] Compiling C object 'drivers/a715181@@tmp_rte_pmd_i40e at sta/net_i40e_rte_pmd_i40e.c.o'
[913/1767] Compiling C object 'drivers/net/hinic/base/12a4447@@hinic_base at sta/hinic_pmd_mgmt.c.o'
[914/1767] Compiling C object 'drivers/a715181@@tmp_rte_pmd_i40e at sta/net_i40e_i40e_rxtx.c.o'
[915/1767] Compiling C object 'drivers/a715181@@tmp_rte_pmd_i40e at sta/net_i40e_i40e_rxtx_vec_avx2.c.o'
[916/1767] Compiling C object 'drivers/net/hinic/base/12a4447@@hinic_base at sta/hinic_pmd_niccfg.c.o'
[917/1767] Compiling C object 'drivers/a715181@@tmp_rte_pmd_i40e at sta/net_i40e_i40e_ethdev.c.o'
ninja: build stopped: subcommand failed


DPDK STV team


More information about the test-report mailing list