[dpdk-ci] Building TestPMD in DPDK

Ma, LihongX lihongx.ma at intel.com
Wed Oct 21 02:50:00 CEST 2020


Hi, Brandon

Can you use the latest dpdk(4669252e0421aaf06ff8) to try ?
The dpdk that you used yesterday maybe have a issue of build, when add the parameter -Denable_kmods=True to build, the dpdk will failed to compile.
So can not find the app testpmd.


Regards,
Ma,lihong

From: ci <ci-bounces at dpdk.org> On Behalf Of Brandon Lo
Sent: Tuesday, October 20, 2020 9:56 PM
To: Tu, Lijuan <lijuan.tu at intel.com>
Cc: Lincoln Lavoie <lylavoie at iol.unh.edu>; Chen, Zhaoyan <zhaoyan.chen at intel.com>; Thomas Monjalon <thomas at monjalon.net>; ci at dpdk.org
Subject: Re: [dpdk-ci] Building TestPMD in DPDK

Hi Lijuan,

Yes, we have "build_type=meson" in the execution.cfg file.

DTS compiles DPDK using these commands:
"CC=gcc meson --werror -Denable_kmods=True -Dlibdir=lib --default-library=static x86_64-native-linuxapp-gcc"
and
"ninja -C x86_64-native-linuxapp-gcc -j 62"

Running functional tests, we get:
"x86_64-native-linuxapp-gcc/app/dpdk-testpmd: No such file or directory"

Thanks,
Brandon

On Tue, Oct 20, 2020 at 9:53 AM Tu, Lijuan <lijuan.tu at intel.com<mailto:lijuan.tu at intel.com>> wrote:
I mean config “build_type=meson” in DTS/execution.cfg, Snice DPDK don’t support “make” now, we have to use meson build.

From: ci <ci-bounces at dpdk.org<mailto:ci-bounces at dpdk.org>> On Behalf Of Tu, Lijuan
Sent: 2020年10月20日 21:40
To: Brandon Lo <blo at iol.unh.edu<mailto:blo at iol.unh.edu>>; Lincoln Lavoie <lylavoie at iol.unh.edu<mailto:lylavoie at iol.unh.edu>>; Chen, Zhaoyan <zhaoyan.chen at intel.com<mailto:zhaoyan.chen at intel.com>>
Cc: Thomas Monjalon <thomas at monjalon.net<mailto:thomas at monjalon.net>>; ci at dpdk.org<mailto:ci at dpdk.org>
Subject: Re: [dpdk-ci] Building TestPMD in DPDK

Did you use meson build ?

From: Brandon Lo <blo at iol.unh.edu<mailto:blo at iol.unh.edu>>
Sent: 2020年10月20日 21:19
To: Lincoln Lavoie <lylavoie at iol.unh.edu<mailto:lylavoie at iol.unh.edu>>; Tu, Lijuan <lijuan.tu at intel.com<mailto:lijuan.tu at intel.com>>; Chen, Zhaoyan <zhaoyan.chen at intel.com<mailto:zhaoyan.chen at intel.com>>
Cc: Thomas Monjalon <thomas at monjalon.net<mailto:thomas at monjalon.net>>; ci at dpdk.org<mailto:ci at dpdk.org>
Subject: Re: [dpdk-ci] Building TestPMD in DPDK

I think this should be brought up to the DTS maintainers.
DTS' initial behavior is to build DPDK/testpmd, and it assumes that testpmd is in the build's output directory.

Thanks,
Brandon

On Tue, Oct 20, 2020 at 8:38 AM Lincoln Lavoie <lylavoie at iol.unh.edu<mailto:lylavoie at iol.unh.edu>> wrote:
Is this because of the change that adds some python requirements to testpmd? I remember seeing something about that go by on the lists.

Cheers,
Lincoln

On Tue, Oct 20, 2020 at 8:34 AM Thomas Monjalon <thomas at monjalon.net<mailto:thomas at monjalon.net>> wrote:
20/10/2020 14:31, Brandon Lo:
> Hi everyone,
>
> Is there a new method to build the testpmd application in DPDK?
>
> Using the latest patches, any job in the CI that uses DTS to compile
> DPDK and run functional/performance tests are failing because it is
> not building testpmd.
> We are also using the latest commit available for DTS.

No testpmd should be built.


--
Lincoln Lavoie
Senior Engineer, Broadband Technologies
21 Madbury Rd., Ste. 100, Durham, NH 03824
lylavoie at iol.unh.edu<mailto:lylavoie at iol.unh.edu>
https://www.iol.unh.edu
+1-603-674-2755 (m)
[Image removed by sender.]<https://www.iol.unh.edu/>


--

Brandon Lo

UNH InterOperability Laboratory

21 Madbury Rd, Suite 100, Durham, NH 03824

blo at iol.unh.edu<mailto:blo at iol.unh.edu>

www.iol.unh.edu<http://www.iol.unh.edu/>


--

Brandon Lo

UNH InterOperability Laboratory

21 Madbury Rd, Suite 100, Durham, NH 03824

blo at iol.unh.edu<mailto:blo at iol.unh.edu>

www.iol.unh.edu<http://www.iol.unh.edu/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mails.dpdk.org/archives/ci/attachments/20201021/cc80b2be/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.jpg
Type: image/jpeg
Size: 500 bytes
Desc: image002.jpg
URL: <http://mails.dpdk.org/archives/ci/attachments/20201021/cc80b2be/attachment-0001.jpg>


More information about the ci mailing list