From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id B8974432F9 for ; Sat, 11 Nov 2023 03:59:32 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B30EA4025C for ; Sat, 11 Nov 2023 03:59:32 +0100 (CET) Received: from mail-qk1-f178.google.com (mail-qk1-f178.google.com [209.85.222.178]) by mails.dpdk.org (Postfix) with ESMTP id BCE964025C for ; Sat, 11 Nov 2023 03:59:31 +0100 (CET) Received: by mail-qk1-f178.google.com with SMTP id af79cd13be357-7789aed0e46so173482885a.0 for ; Fri, 10 Nov 2023 18:59:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bytheb-org.20230601.gappssmtp.com; s=20230601; t=1699671570; x=1700276370; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=zYu9b0vDT/BOg0VDKCP+g/GABRxhoe+qzLxSHL7KEHk=; b=FHvpVHgoVZULuk5CeDv0fN9bBtty7+Fs/v6H9KAV3YV6G4d9dYnR4PsAgmuAZNoi5H 1BZqZ+le+w+NJIIob42JuMxjwQahbozcUeJjjW6HPwvktkpXeV/Jf3h6Ta/JUtVuY0eE RxToPwv96dLfk8vjVmSBGKqqceT3rCLFwb/lekGMebjnBYkGQIEJgXMmFvGUpi+Cbzgt vg0fuGHAmPsKOw6EXbIvw6OQFnKVu8K+XA/FNaPt4FPdDqm6uD8etGIbT9dEFiXPgPO5 L8R+Ch7uU+XCjNNY0cyWvcyFnscsSqh76tmM7RlKMkGBPhowPRmAjL1zY4qHduDBtchr VuAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699671570; x=1700276370; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=zYu9b0vDT/BOg0VDKCP+g/GABRxhoe+qzLxSHL7KEHk=; b=iTFH2fPLTAyEnIB4E2c/6GKFvS8vMZKrddUGE4JL3zdPr1K3G+hA+qq4iwHL9hXOkj DEXr+RVD0l/dr0HPGFligDupFJv7Anyj02hn8f8P+gJ0wnW9rSC5Vdy49cVpkFQmyI/6 fXIp/3NmUdFwrWjtsNvv94FMv6Mf/E7FwNrbCyGbAVtxyJVh4ZCJvWTKsGEF649cjPFR 2NfhoT+PhhvjBHjoaObI9Ua571yqA3kFyMohkktbsrEoP4gYpSY/PfqLI9eWoP8IGdKo SUgx3QLeqifj0K0g+Z3ETd8yJrnZSHSFYQ80H7cqhu/S4TopOD0x02ugvqyOqs4Z84p4 L0Hw== X-Gm-Message-State: AOJu0YxHYDdBwRPYze7YNjV9ptZYlIasz6xyB4lbfQZGadRuWhjpq9eo rW16tL4j3X2zB4Q7QCRAxH0anQ72E1DDooWkYyk= X-Google-Smtp-Source: AGHT+IEoUfHLJA8srK3e7MTgPVXGqA2UBA7q/3etisoFYT5cmRhKqVJdUdprrfqfUwJJqluG2asGiA== X-Received: by 2002:a05:620a:3710:b0:779:ecef:63fc with SMTP id de16-20020a05620a371000b00779ecef63fcmr1411026qkb.6.1699671570378; Fri, 10 Nov 2023 18:59:30 -0800 (PST) Received: from openvswitch-ci.ntdv.lab.eng.bos.redhat.com (nat-pool-bos-t.redhat.com. [66.187.233.206]) by smtp.gmail.com with ESMTPSA id b22-20020a05620a127600b0076c8fd39407sm239569qkl.113.2023.11.10.18.59.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 Nov 2023 18:59:29 -0800 (PST) From: 0-day Robot To: test-report@dpdk.org Cc: haijie1@huawei.com, robot@bytheb.org Subject: |FAILURE| pw134108 [PATCH 2/2] net/hns3: use stdatomic API Date: Fri, 10 Nov 2023 21:59:28 -0500 Message-Id: <20231111025928.778921-1-robot@bytheb.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20231111015915.2776769-3-haijie1@huawei.com> References: <20231111015915.2776769-3-haijie1@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: test-report@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: automatic DPDK test reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: test-report-bounces@dpdk.org From: robot@bytheb.org Test-Label: github-robot: build Test-Status: FAILURE http://patchwork.dpdk.org/patch/134108/ _github build: failed_ Build URL: https://github.com/ovsrobot/dpdk/actions/runs/6831466566 Build Logs: -----------------------Summary of failed steps----------------------- "ubuntu-20.04-gcc-stdatomic" failed at step Build and test "ubuntu-20.04-clang-stdatomic" failed at step Build and test "ubuntu-20.04-clang-asan+doc+tests" failed at step Build and test "fedora:37-clang" failed at step Build ----------------------End summary of failed steps-------------------- -------------------------------BEGIN LOGS---------------------------- ###########################################################################= ######### #### [Begin job log] "ubuntu-20.04-gcc-stdatomic" at step Build and test ###########################################################################= ######### [1437/2842] Compiling C object 'drivers/a715181@@tmp_rte_net_hns3@sta/net_h= ns3_hns3_cmd.c.o'. [1438/2842] Compiling C object 'drivers/net/hinic/base/12a4447@@hinic_base@= sta/hinic_pmd_niccfg.c.o'. [1439/2842] Compiling C object 'drivers/a715181@@tmp_rte_net_hinic@sta/net_= hinic_hinic_pmd_ethdev.c.o'. [1440/2842] Compiling C object 'drivers/net/hinic/base/12a4447@@hinic_base@= sta/hinic_pmd_nicio.c.o'. [1441/2842] Compiling C object 'drivers/net/hinic/base/12a4447@@hinic_base@= sta/hinic_pmd_wq.c.o'. [1442/2842] Compiling C object 'drivers/net/hinic/base/12a4447@@hinic_base@= sta/hinic_pmd_mbox.c.o'. [1443/2842] Linking static target drivers/net/hinic/base/libhinic_base.a. [1444/2842] Compiling C object 'drivers/a715181@@tmp_rte_net_hinic@sta/net_= hinic_hinic_pmd_rx.c.o'. [1445/2842] Compiling C object 'drivers/a715181@@tmp_rte_net_hinic@sta/net_= hinic_hinic_pmd_flow.c.o'. [1446/2842] Compiling C object 'drivers/a715181@@tmp_rte_net_hns3@sta/net_h= ns3_hns3_ethdev_vf.c.o'. FAILED: drivers/a715181@@tmp_rte_net_hns3@sta/net_hns3_hns3_ethdev_vf.c.o=20 ccache gcc -Idrivers/a715181@@tmp_rte_net_hns3@sta -Idrivers -I../drivers -= Idrivers/net/hns3 -I../drivers/net/hns3 -Ilib/ethdev -I../lib/ethdev -I. -I= ../ -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/l= inux/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 -Il= ib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/telemetry/../metrics= -I../lib/telemetry/../metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net= -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib= /ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drive= rs/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/= vdev -I../drivers/bus/vdev -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu = -fdiagnostics-color=3Dalways -pipe -D_FILE_OFFSET_BITS=3D64 -Wall -Winvalid= -pch -Wextra -Werror -std=3Dc11 -O2 -g -include rte_config.h -Wcast-qual -W= deprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declara= tions -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointe= r-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-add= ress-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initialize= rs -D_GNU_SOURCE -fPIC -march=3Dcorei7 -mrtm -DALLOW_EXPERIMENTAL_API -DALL= OW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=3Dpmd.net.= hns3 -MD -MQ 'drivers/a715181@@tmp_rte_net_hns3@sta/net_hns3_hns3_ethdev_vf= .c.o' -MF 'drivers/a715181@@tmp_rte_net_hns3@sta/net_hns3_hns3_ethdev_vf.c.= o.d' -o 'drivers/a715181@@tmp_rte_net_hns3@sta/net_hns3_hns3_ethdev_vf.c.o'= -c ../drivers/net/hns3/hns3_ethdev_vf.c ../drivers/net/hns3/hns3_ethdev_vf.c: In function =E2=80=98hns3vf_update_pu= sh_lsc_cap=E2=80=99: ../drivers/net/hns3/hns3_ethdev_vf.c:621:3: error: initialization of =E2=80= =98uint16_t=E2=80=99 {aka =E2=80=98short unsigned int=E2=80=99} from =E2=80= =98uint16_t *=E2=80=99 {aka =E2=80=98short unsigned int *=E2=80=99} makes i= nteger from pointer without a cast [-Werror=3Dint-conversion] 621 | rte_atomic_compare_exchange_strong_explicit(&vf->pf_push_lsc_cap, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/hns3/hns3_ethdev_vf.c: In function =E2=80=98hns3vf_get_push_= lsc_cap=E2=80=99: ../drivers/net/hns3/hns3_ethdev_vf.c:663:2: error: initialization of =E2=80= =98uint16_t=E2=80=99 {aka =E2=80=98short unsigned int=E2=80=99} from =E2=80= =98uint16_t *=E2=80=99 {aka =E2=80=98short unsigned int *=E2=80=99} makes i= nteger from pointer without a cast [-Werror=3Dint-conversion] 663 | rte_atomic_compare_exchange_strong_explicit(&vf->pf_push_lsc_cap, = &exp, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [1447/2842] Compiling C object 'drivers/a715181@@tmp_rte_net_hinic@sta/net_= hinic_hinic_pmd_tx.c.o'. [1448/2842] Compiling C object 'drivers/a715181@@tmp_rte_net_hns3@sta/net_h= ns3_hns3_fdir.c.o'. ninja: build stopped: subcommand failed. ##[error]Process completed with exit code 1. ###########################################################################= ######### #### [End job log] "ubuntu-20.04-gcc-stdatomic" at step Build and test ###########################################################################= ######### ###########################################################################= ######### #### [Begin job log] "ubuntu-20.04-clang-stdatomic" at step Build and test ###########################################################################= ######### #define atomic_store_explicit __c11_atomic_store ^ ../drivers/net/hns3/hns3_cmd.c:795:2: error: address argument to atomic ope= ration must be a pointer to _Atomic type ('uint16_t *' (aka 'unsigned short= *') invalid) rte_atomic_store_explicit(&hw->reset.disable_cmd, 1, ^ ~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_stdatomic.h:76:2: note: expanded from macro 'rte_ato= mic_store_explicit' atomic_store_explicit(ptr, val, memorder) ^ ~~~ /usr/lib/llvm-11/lib/clang/11.0.0/include/stdatomic.h:118:31: note: expande= d from macro 'atomic_store_explicit' #define atomic_store_explicit __c11_atomic_store ^ ../drivers/net/hns3/hns3_cmd.c:825:2: error: address argument to atomic ope= ration must be a pointer to _Atomic type ('uint16_t *' (aka 'unsigned short= *') invalid) rte_atomic_store_explicit(&hw->reset.disable_cmd, 1, ^ ~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_stdatomic.h:76:2: note: expanded from macro 'rte_ato= mic_store_explicit' atomic_store_explicit(ptr, val, memorder) ^ ~~~ /usr/lib/llvm-11/lib/clang/11.0.0/include/stdatomic.h:118:31: note: expande= d from macro 'atomic_store_explicit' #define atomic_store_explicit __c11_atomic_store ^ 11 errors generated. [1445/2842] Compiling C object 'drivers/a715181@@tmp_rte_net_hinic@sta/net_= hinic_hinic_pmd_flow.c.o'. [1446/2842] Compiling C object 'drivers/a715181@@tmp_rte_net_hinic@sta/net_= hinic_hinic_pmd_tx.c.o'. ninja: build stopped: subcommand failed. ##[error]Process completed with exit code 1. ###########################################################################= ######### #### [End job log] "ubuntu-20.04-clang-stdatomic" at step Build and test ###########################################################################= ######### ###########################################################################= ######### #### [Begin job log] "ubuntu-20.04-clang-asan+doc+tests" at step Build and = test ###########################################################################= ######### [1490/3914] Linking target drivers/librte_net_gve.so.24.0. [1491/3914] Compiling C object 'drivers/a715181@@tmp_rte_net_hinic@sta/net_= hinic_hinic_pmd_rx.c.o'. [1492/3914] Compiling C object 'drivers/a715181@@tmp_rte_net_hinic@sta/net_= hinic_hinic_pmd_flow.c.o'. [1493/3914] Compiling C object 'drivers/a715181@@tmp_rte_net_hns3@sta/net_h= ns3_hns3_ethdev.c.o'. [1494/3914] Compiling C object 'drivers/a715181@@tmp_rte_net_hns3@sta/net_h= ns3_hns3_cmd.c.o'. [1495/3914] Compiling C object 'drivers/a715181@@tmp_rte_net_hns3@sta/net_h= ns3_hns3_ethdev_vf.c.o'. FAILED: drivers/a715181@@tmp_rte_net_hns3@sta/net_hns3_hns3_ethdev_vf.c.o=20 ccache clang -Idrivers/a715181@@tmp_rte_net_hns3@sta -Idrivers -I../drivers= -Idrivers/net/hns3 -I../drivers/net/hns3 -Ilib/ethdev -I../lib/ethdev -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/ea= l/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -= Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/telemetry/../metri= cs -I../lib/telemetry/../metrics -Ilib/telemetry -I../lib/telemetry -Ilib/n= et -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Il= ib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../dri= vers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bu= s/vdev -I../drivers/bus/vdev -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rc= u -Xclang -fcolor-diagnostics -fsanitize=3Daddress -fno-omit-frame-pointer = -pipe -D_FILE_OFFSET_BITS=3D64 -Wall -Winvalid-pch -Wextra -Werror -std=3Dc= 11 -O2 -g -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-= nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -W= nested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstri= ct-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-mi= ssing-field-initializers -D_GNU_SOURCE -fPIC -march=3Dcorei7 -mrtm -DALLOW_= EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_LOGTYPE=3Dpmd.net.h= ns3 -MD -MQ 'drivers/a715181@@tmp_rte_net_hns3@sta/net_hns3_hns3_ethdev_vf.= c.o' -MF 'drivers/a715181@@tmp_rte_net_hns3@sta/net_hns3_hns3_ethdev_vf.c.o= .d' -o 'drivers/a715181@@tmp_rte_net_hns3@sta/net_hns3_hns3_ethdev_vf.c.o' = -c ../drivers/net/hns3/hns3_ethdev_vf.c ../drivers/net/hns3/hns3_ethdev_vf.c:622:10: error: incompatible pointer to= integer conversion passing 'uint16_t *' (aka 'unsigned short *') to parame= ter of type 'uint16_t' (aka 'unsigned short'); remove & [-Werror,-Wint-conv= ersion] &exp, &val, rte_memory_order_acquire, rte_memory_or= der_acquire); ^~~~ ../lib/eal/include/rte_stdatomic.h:150:45: note: expanded from macro 'rte_a= tomic_compare_exchange_strong_explicit' __atomic_compare_exchange_n(ptr, expected, desired, 0, \ ^~~~~~~ ../drivers/net/hns3/hns3_ethdev_vf.c:664:3: error: incompatible pointer to = integer conversion passing 'uint16_t *' (aka 'unsigned short *') to paramet= er of type 'uint16_t' (aka 'unsigned short'); remove & [-Werror,-Wint-conve= rsion] &val, rte_memory_order_acquire, rte_memory_order_acquire); ^~~~ ../lib/eal/include/rte_stdatomic.h:150:45: note: expanded from macro 'rte_a= tomic_compare_exchange_strong_explicit' __atomic_compare_exchange_n(ptr, expected, desired, 0, \ ^~~~~~~ 2 errors generated. [1496/3914] Compiling C object 'drivers/a715181@@tmp_rte_net_hns3@sta/net_h= ns3_hns3_fdir.c.o'. [1497/3914] Compiling C object 'drivers/a715181@@tmp_rte_net_hinic@sta/net_= hinic_hinic_pmd_tx.c.o'. ninja: build stopped: subcommand failed. ##[error]Process completed with exit code 1. ###########################################################################= ######### #### [End job log] "ubuntu-20.04-clang-asan+doc+tests" at step Build and te= st ###########################################################################= ######### ###########################################################################= ######### #### [Begin job log] "fedora:37-clang" at step Build ###########################################################################= ######### ###########################################################################= ######### #### [End job log] "fedora:37-clang" at step Build ###########################################################################= ######### --------------------------------END LOGS-----------------------------