DPDK CI discussions
 help / color / mirror / Atom feed
From: Ali Alnubani <alialnu@nvidia.com>
To: David Marchand <david.marchand@redhat.com>,
	zhoumin <zhoumin@loongson.cn>
Cc: "NBU-Contact-Thomas Monjalon (EXTERNAL)" <thomas@monjalon.net>,
	"bruce.richardson@intel.com" <bruce.richardson@intel.com>,
	"anatoly.burakov@intel.com" <anatoly.burakov@intel.com>,
	"qiming.yang@intel.com" <qiming.yang@intel.com>,
	"Yuying.Zhang@intel.com" <Yuying.Zhang@intel.com>,
	"jgrajcia@cisco.com" <jgrajcia@cisco.com>,
	"konstantin.v.ananyev@yandex.ru" <konstantin.v.ananyev@yandex.ru>,
	"dev@dpdk.org" <dev@dpdk.org>,
	"maobibo@loongson.cn" <maobibo@loongson.cn>,
	Aaron Conole <aconole@redhat.com>, dpdklab <dpdklab@iol.unh.edu>,
	"ci@dpdk.org" <ci@dpdk.org>
Subject: RE: [PATCH v7 0/7] Introduce support for LoongArch architecture
Date: Mon, 3 Oct 2022 08:14:54 +0000	[thread overview]
Message-ID: <DM4PR12MB516720E55A5648E3C794E20ADA5B9@DM4PR12MB5167.namprd12.prod.outlook.com> (raw)
In-Reply-To: <CAJFAV8wGOqWjuW1HZfWmtUMt3w3J=94ZZpF3VZRqk9zM9C_O4A@mail.gmail.com>

> -----Original Message-----
> From: David Marchand <david.marchand@redhat.com>
> Sent: Friday, September 30, 2022 5:21 PM
> To: zhoumin <zhoumin@loongson.cn>
> Cc: NBU-Contact-Thomas Monjalon (EXTERNAL) <thomas@monjalon.net>;
> bruce.richardson@intel.com; anatoly.burakov@intel.com;
> qiming.yang@intel.com; Yuying.Zhang@intel.com; jgrajcia@cisco.com;
> konstantin.v.ananyev@yandex.ru; dev@dpdk.org; maobibo@loongson.cn;
> Aaron Conole <aconole@redhat.com>; Ali Alnubani <alialnu@nvidia.com>;
> dpdklab <dpdklab@iol.unh.edu>; ci@dpdk.org
> Subject: Re: [PATCH v7 0/7] Introduce support for LoongArch architecture
> 
> On Fri, Sep 30, 2022 at 12:05 PM zhoumin <zhoumin@loongson.cn> wrote:
> > On Fri, Sep 30, 2022 at 16:13, David Marchand wrote:
> > > On Fri, Sep 30, 2022 at 10:02 AM Min Zhou <zhoumin@loongson.cn>
> wrote:
> > >>
> > >> The online documents of LoongArch architecture are here:
> > >>      https://loongson.github.io/LoongArch-Documentation/README-
> EN.html
> > >>
> > >> The latest build tools for LoongArch (binary) can be downloaded from:
> > >>      https://github.com/loongson/build-tools
> > > Could you confirm which sources have been used to generate it? and
> > > instructions to compile it?
> >
> > Only the cross compiler [1] is required. The instructions can be found in
> > the new added file cross_build_dpdk_for_loongarch.rst. I had added the
> > CI job for cross compiling DPDK for LoongArch in patch v7 7/7. The CI job
> > can run successfully if without the GCC warning caused by vhost.
> 
> - Sorry, but those instructions are not useful.
> 
> Is this architecture support in upstream gcc not functional?
> 
> Maybe I missed the information.. I spent some time at the different
> links in the docs and in github, but I always end up with a set of
> headers, or binaries, and no reference to the exact sources that were
> used.
> I have limited trust in binaries uploaded somewhere in github.
> I don't want to spend more time on this.
> 
> What I ask for, is clear instructions how to get the toolchain
> sources, and how to generate this toolchain.
> 
> 
> - About the vhost compilation issue, a fix in the same area of the
> code is in progress.
> It will take some time to get the fix.
> I will postpone merging the last patch until the vhost fix is ready.
> (I am rather confident all of this will be resolved by the time 22.11
> is released).
> 
> 
> >
> > >> v7:
> > >>      - rebase the patchset on the main repository
> > >>      - add errno.h to rte_power_intrinsics.c according with
> > >>        commit 72b452c5f259
> > > Thanks, I will look at this last revision.
> > >
> > >
> > > There is still one aspect that is unclear to me.
> > > How will the DPDK community make sure changes won't break this
> > > architecture? (I mean, runtime checks, not only compilation)
> > > IOW, what do you plan to hook to our CI to test patches submitted to
> > > the mailing list?
> >
> > We can send our machine to UNH lab, but it may take a long time.
> >
> > GHA seems to be a good choice. However, I found that the codes of CI
> > runner of GHA [2] are arch-specific. So the CI runner currently cannot
> > run on
> > LoongArch machine.
> 
> I see.
> 
> The better solution is probably to go with "your" own CI so that that
> LoongArch has runtime non regression (functional and performance)
> tests.
> See below.
> 
> 
> >
> > Are there other CI clients which are not arch-specific and can be used
> > for DPDK?
> > We can provide machines accessible by the public network. These
> machines run
> > Loongnix-server system which was built based on the source rpms of
> CentOS 8.
> > We can deploy DPDK CI client on these machines.
> 
> There is no "DPDK CI client" per se.
> 
> The DPDK project has a distributed CI made of at least 3 CI entities.
> 
> Those CI test patches and post reports via mail: the ovsrobot, Intel
> CI and UNH lab.
> A CI retrieves patches from patchwork, a set of scripts is available
> in https://git.dpdk.org/tools/dpdk-ci/ (especially the poll-pw
> script).
> 
> Then the way the patches are tested is something each CI handles on its side:
> - the ovsrobot creates a branch per series under the ovsrobot/dpdk
> github repository, and let GitHub action run (this is how your current
> series has been tested in GHA),
> - Intel CI have their own tool for which I have little detail,
> - UNH lab have their infrastructure too, using some Jenkins iirc. They
> provide a dashboard for reports
> https://lab.dpdk.org/results/dashboard/ and to get all details and
> logs.
> 
> The common point is that, at the end of testing a series, a test
> report is sent to the (sender-restricted) test-report@ mailing list.
> 
> Those reports could be done per patch, but given the amount of patches
> on the dev@ mailing list, the consensus is to test the whole series
> and report back against the last patch of a series.
> 
> All of this is gathered by patchwork (the details of how it is done
> are not 100% clear to me, maybe Ali can confirm later if a
> modification is required).

A few more things to add:
Labs can either use "dpdk-ci:tools/poll-pw" to pull the patches/patchsets from the Events API endpoint (https://patches.dpdk.org/api/events), or they can use their own scripts. Events API objects should be filtered by the categories "patch-completed" or "series-completed".
The script "dpdk-ci:tools/send-patch-report.sh" can be used to send reports to the mailing list in the expected report format.
The dpdk.org servers take care of adding the report results to Patchwork once they are in the test-report archives.

> 
> If you look at your v7 series, you will see:
> https://patchwork.dpdk.org/project/dpdk/list/?series=24929&state=%2A&a
> rchive=both
> - ovsrobot: ci/github-robot link
> http://mails.dpdk.org/archives/test-report/2022-September/310836.html
> - Intel CI: ci/Intel-* links, for example on the compilation test
> http://mails.dpdk.org/archives/test-report/2022-September/310822.html
> - UNH lab: all ci/iol-* links, for example on the compilation test
> http://mails.dpdk.org/archives/test-report/2022-September/310834.html
> 
> So what LoongSoon could do is setup some Loongnix systems with a
> similar infrastructure and provide (native?) compilation and runtime
> test reports.
> 
> I Cc'd a few people involved in all this.
> And there is the ci@ mailing list where all CI people can discuss.
> 
> 
> --
> David Marchand


  parent reply	other threads:[~2022-10-03  8:14 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20220930080228.864681-1-zhoumin@loongson.cn>
     [not found] ` <CAJFAV8y1DzYBTOU4ZXfMnTSeEsHfn=68qexRhgy_+bjaqP1fUQ@mail.gmail.com>
     [not found]   ` <3219c10e-79fa-39df-30f5-c2287fd1872b@loongson.cn>
2022-09-30 14:20     ` David Marchand
2022-10-01 14:25       ` zhoumin
2022-10-03 16:30         ` David Marchand
2022-10-04  8:49           ` zhoumin
2022-10-03  8:14       ` Ali Alnubani [this message]
2022-10-03 12:44         ` zhoumin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=DM4PR12MB516720E55A5648E3C794E20ADA5B9@DM4PR12MB5167.namprd12.prod.outlook.com \
    --to=alialnu@nvidia.com \
    --cc=Yuying.Zhang@intel.com \
    --cc=aconole@redhat.com \
    --cc=anatoly.burakov@intel.com \
    --cc=bruce.richardson@intel.com \
    --cc=ci@dpdk.org \
    --cc=david.marchand@redhat.com \
    --cc=dev@dpdk.org \
    --cc=dpdklab@iol.unh.edu \
    --cc=jgrajcia@cisco.com \
    --cc=konstantin.v.ananyev@yandex.ru \
    --cc=maobibo@loongson.cn \
    --cc=qiming.yang@intel.com \
    --cc=thomas@monjalon.net \
    --cc=zhoumin@loongson.cn \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).