DPDK CI discussions
 help / color / mirror / Atom feed
* DPDK clone/fetch URL
@ 2023-11-27 11:20 Thomas Monjalon
  2023-11-27 16:09 ` Patrick Robb
  2023-11-30 15:57 ` Aaron Conole
  0 siblings, 2 replies; 8+ messages in thread
From: Thomas Monjalon @ 2023-11-27 11:20 UTC (permalink / raw)
  To: ci; +Cc: alialnu

Hello,

The server git.dpdk.org is not strong enough to hold all CI requests.
When a script is doing a git fetch or clone, it is consuming workload on the server.
Please could you favor the mirror on GitHub in any CI automation?
	https://github.com/DPDK/dpdk.git
This mirror is updated as frequently as git.dpdk.org:
We push to git.dpdk.org where a git hook is replicating the same on GitHub.

Hope we can reduce the workload on our main server.
Thank you everyone for collaborating.



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: DPDK clone/fetch URL
  2023-11-27 11:20 DPDK clone/fetch URL Thomas Monjalon
@ 2023-11-27 16:09 ` Patrick Robb
  2023-11-27 20:58   ` Thomas Monjalon
  2023-11-30 15:57 ` Aaron Conole
  1 sibling, 1 reply; 8+ messages in thread
From: Patrick Robb @ 2023-11-27 16:09 UTC (permalink / raw)
  To: Thomas Monjalon; +Cc: ci, alialnu, Adam Hassick

[-- Attachment #1: Type: text/plain, Size: 1309 bytes --]

Hello,

Thanks for the heads up Thomas. For the Community Lab, as far as I can
tell, every git clone/fetch for DPDK main and DPDK LTS should be able to be
moved to the GitHub repo.

On the other hand, I don't think next-* branches are mirrored on GitHub (at
least for now), so unless I'm mistaken, we will still have to pull from
git.dpdk.org. But, between DPDK main and LTS, it should still be a sizable
reduction on the load put on your server. I'll discuss with the team today
and we will update here.

Best,
Patrick


On Mon, Nov 27, 2023 at 6:21 AM Thomas Monjalon <thomas@monjalon.net> wrote:

> Hello,
>
> The server git.dpdk.org is not strong enough to hold all CI requests.
> When a script is doing a git fetch or clone, it is consuming workload on
> the server.
> Please could you favor the mirror on GitHub in any CI automation?
>         https://github.com/DPDK/dpdk.git
> This mirror is updated as frequently as git.dpdk.org:
> We push to git.dpdk.org where a git hook is replicating the same on
> GitHub.
>
> Hope we can reduce the workload on our main server.
> Thank you everyone for collaborating.
>
>
>

-- 

Patrick Robb

Technical Service Manager

UNH InterOperability Laboratory

21 Madbury Rd, Suite 100, Durham, NH 03824

www.iol.unh.edu

[-- Attachment #2: Type: text/html, Size: 3931 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: DPDK clone/fetch URL
  2023-11-27 16:09 ` Patrick Robb
@ 2023-11-27 20:58   ` Thomas Monjalon
  2023-11-27 21:32     ` Adam Hassick
  0 siblings, 1 reply; 8+ messages in thread
From: Thomas Monjalon @ 2023-11-27 20:58 UTC (permalink / raw)
  To: Patrick Robb; +Cc: ci, alialnu, Adam Hassick

27/11/2023 17:09, Patrick Robb:
> Hello,
> 
> Thanks for the heads up Thomas. For the Community Lab, as far as I can
> tell, every git clone/fetch for DPDK main and DPDK LTS should be able to be
> moved to the GitHub repo.
> 
> On the other hand, I don't think next-* branches are mirrored on GitHub (at
> least for now), so unless I'm mistaken, we will still have to pull from
> git.dpdk.org. But, between DPDK main and LTS, it should still be a sizable
> reduction on the load put on your server. I'll discuss with the team today
> and we will update here.

We should mirror next-* trees as well I think, good point.


> On Mon, Nov 27, 2023 at 6:21 AM Thomas Monjalon <thomas@monjalon.net> wrote:
> 
> > Hello,
> >
> > The server git.dpdk.org is not strong enough to hold all CI requests.
> > When a script is doing a git fetch or clone, it is consuming workload on
> > the server.
> > Please could you favor the mirror on GitHub in any CI automation?
> >         https://github.com/DPDK/dpdk.git
> > This mirror is updated as frequently as git.dpdk.org:
> > We push to git.dpdk.org where a git hook is replicating the same on
> > GitHub.
> >
> > Hope we can reduce the workload on our main server.
> > Thank you everyone for collaborating.




^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: DPDK clone/fetch URL
  2023-11-27 20:58   ` Thomas Monjalon
@ 2023-11-27 21:32     ` Adam Hassick
  2023-11-28 21:16       ` Patrick Robb
  2023-11-30  9:27       ` David Marchand
  0 siblings, 2 replies; 8+ messages in thread
From: Adam Hassick @ 2023-11-27 21:32 UTC (permalink / raw)
  To: Thomas Monjalon; +Cc: Patrick Robb, ci, alialnu

[-- Attachment #1: Type: text/plain, Size: 2286 bytes --]

Hi Thomas,

Yes, mirroring the next-* branches would help to reduce the complexity of
creating patch series artifacts.
As Patrick wrote, moving the clones for the periodic testing on DPDK main
and DPDK LTS should be a trivial change.

However, most of the load we put on that server originates from our testing
on new patch series.
I am working on a new script for creating the tarball artifacts from
incoming patch series. It only pulls down either 1 or 2 repositories rather
than main and all next-* branches for every single patch.
Once deployed, I expect this script to reduce the load on git.dpdk.org
significantly.
Also, I anticipate that I can modify this new script to pull main down from
GitHub. Then, only incoming patch series for next-* branches will produce
any load on git.dpdk.org.

Thanks,
Adam Hassick

On Mon, Nov 27, 2023 at 3:58 PM Thomas Monjalon <thomas@monjalon.net> wrote:

> 27/11/2023 17:09, Patrick Robb:
> > Hello,
> >
> > Thanks for the heads up Thomas. For the Community Lab, as far as I can
> > tell, every git clone/fetch for DPDK main and DPDK LTS should be able to
> be
> > moved to the GitHub repo.
> >
> > On the other hand, I don't think next-* branches are mirrored on GitHub
> (at
> > least for now), so unless I'm mistaken, we will still have to pull from
> > git.dpdk.org. But, between DPDK main and LTS, it should still be a
> sizable
> > reduction on the load put on your server. I'll discuss with the team
> today
> > and we will update here.
>
> We should mirror next-* trees as well I think, good point.
>
>
> > On Mon, Nov 27, 2023 at 6:21 AM Thomas Monjalon <thomas@monjalon.net>
> wrote:
> >
> > > Hello,
> > >
> > > The server git.dpdk.org is not strong enough to hold all CI requests.
> > > When a script is doing a git fetch or clone, it is consuming workload
> on
> > > the server.
> > > Please could you favor the mirror on GitHub in any CI automation?
> > >         https://github.com/DPDK/dpdk.git
> > > This mirror is updated as frequently as git.dpdk.org:
> > > We push to git.dpdk.org where a git hook is replicating the same on
> > > GitHub.
> > >
> > > Hope we can reduce the workload on our main server.
> > > Thank you everyone for collaborating.
>
>
>
>

[-- Attachment #2: Type: text/html, Size: 3324 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: DPDK clone/fetch URL
  2023-11-27 21:32     ` Adam Hassick
@ 2023-11-28 21:16       ` Patrick Robb
  2023-11-30  9:27       ` David Marchand
  1 sibling, 0 replies; 8+ messages in thread
From: Patrick Robb @ 2023-11-28 21:16 UTC (permalink / raw)
  To: Thomas Monjalon; +Cc: ci, alialnu, Adam Hassick

[-- Attachment #1: Type: text/plain, Size: 2980 bytes --]

Hi Thomas,

Adam and I discussed and I agree with his points. His "patchseries apply"
script rewrite will already alleviate this issue to a significant degree,
but it will be even better if we can also use next-* mirrors on GitHub. Do
you know who I can contact about this?

Also, as of today our LTS testing is now moved over to GitHub, which should
help a little.

On Mon, Nov 27, 2023 at 4:30 PM Adam Hassick <ahassick@iol.unh.edu> wrote:

> Hi Thomas,
>
> Yes, mirroring the next-* branches would help to reduce the complexity of
> creating patch series artifacts.
> As Patrick wrote, moving the clones for the periodic testing on DPDK main
> and DPDK LTS should be a trivial change.
>
> However, most of the load we put on that server originates from our
> testing on new patch series.
> I am working on a new script for creating the tarball artifacts from
> incoming patch series. It only pulls down either 1 or 2 repositories rather
> than main and all next-* branches for every single patch.
> Once deployed, I expect this script to reduce the load on git.dpdk.org
> significantly.
> Also, I anticipate that I can modify this new script to pull main down
> from GitHub. Then, only incoming patch series for next-* branches will
> produce any load on git.dpdk.org.
>
> Thanks,
> Adam Hassick
>
> On Mon, Nov 27, 2023 at 3:58 PM Thomas Monjalon <thomas@monjalon.net>
> wrote:
>
>> 27/11/2023 17:09, Patrick Robb:
>> > Hello,
>> >
>> > Thanks for the heads up Thomas. For the Community Lab, as far as I can
>> > tell, every git clone/fetch for DPDK main and DPDK LTS should be able
>> to be
>> > moved to the GitHub repo.
>> >
>> > On the other hand, I don't think next-* branches are mirrored on GitHub
>> (at
>> > least for now), so unless I'm mistaken, we will still have to pull from
>> > git.dpdk.org. But, between DPDK main and LTS, it should still be a
>> sizable
>> > reduction on the load put on your server. I'll discuss with the team
>> today
>> > and we will update here.
>>
>> We should mirror next-* trees as well I think, good point.
>>
>>
>> > On Mon, Nov 27, 2023 at 6:21 AM Thomas Monjalon <thomas@monjalon.net>
>> wrote:
>> >
>> > > Hello,
>> > >
>> > > The server git.dpdk.org is not strong enough to hold all CI requests.
>> > > When a script is doing a git fetch or clone, it is consuming workload
>> on
>> > > the server.
>> > > Please could you favor the mirror on GitHub in any CI automation?
>> > >         https://github.com/DPDK/dpdk.git
>> > > This mirror is updated as frequently as git.dpdk.org:
>> > > We push to git.dpdk.org where a git hook is replicating the same on
>> > > GitHub.
>> > >
>> > > Hope we can reduce the workload on our main server.
>> > > Thank you everyone for collaborating.
>>
>>
>>
>>

-- 

Patrick Robb

Technical Service Manager

UNH InterOperability Laboratory

21 Madbury Rd, Suite 100, Durham, NH 03824

www.iol.unh.edu

[-- Attachment #2: Type: text/html, Size: 6210 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: DPDK clone/fetch URL
  2023-11-27 21:32     ` Adam Hassick
  2023-11-28 21:16       ` Patrick Robb
@ 2023-11-30  9:27       ` David Marchand
  2023-11-30 17:42         ` Thomas Monjalon
  1 sibling, 1 reply; 8+ messages in thread
From: David Marchand @ 2023-11-30  9:27 UTC (permalink / raw)
  To: Adam Hassick, Patrick Robb; +Cc: Thomas Monjalon, ci, alialnu

Hello guys,

On Mon, Nov 27, 2023 at 10:30 PM Adam Hassick <ahassick@iol.unh.edu> wrote:
>
> Hi Thomas,
>
> Yes, mirroring the next-* branches would help to reduce the complexity of creating patch series artifacts.
> As Patrick wrote, moving the clones for the periodic testing on DPDK main and DPDK LTS should be a trivial change.
>
> However, most of the load we put on that server originates from our testing on new patch series.
> I am working on a new script for creating the tarball artifacts from incoming patch series. It only pulls down either 1 or 2 repositories rather than main and all next-* branches for every single patch.
> Once deployed, I expect this script to reduce the load on git.dpdk.org significantly.
> Also, I anticipate that I can modify this new script to pull main down from GitHub. Then, only incoming patch series for next-* branches will produce any load on git.dpdk.org.

As mentionned in
https://inbox.dpdk.org/dev/CAJFAV8xSVqkTjrqSL0gWkg9Y+EyMg4=jxwOOzhtaXp6HDeG_cQ@mail.gmail.com/T/#t,
the mirroring script is ready on dpdk.org.
The branches are not up yet, I'll put some update in this thread when they are.


-- 
David Marchand


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: DPDK clone/fetch URL
  2023-11-27 11:20 DPDK clone/fetch URL Thomas Monjalon
  2023-11-27 16:09 ` Patrick Robb
@ 2023-11-30 15:57 ` Aaron Conole
  1 sibling, 0 replies; 8+ messages in thread
From: Aaron Conole @ 2023-11-30 15:57 UTC (permalink / raw)
  To: Thomas Monjalon; +Cc: ci, alialnu

Thomas Monjalon <thomas@monjalon.net> writes:

> Hello,
>
> The server git.dpdk.org is not strong enough to hold all CI requests.
> When a script is doing a git fetch or clone, it is consuming workload on the server.
> Please could you favor the mirror on GitHub in any CI automation?
> 	https://github.com/DPDK/dpdk.git
> This mirror is updated as frequently as git.dpdk.org:
> We push to git.dpdk.org where a git hook is replicating the same on GitHub.
>
> Hope we can reduce the workload on our main server.
> Thank you everyone for collaborating.

Just fixed the github-robot to use the github DPDK mirror.


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: DPDK clone/fetch URL
  2023-11-30  9:27       ` David Marchand
@ 2023-11-30 17:42         ` Thomas Monjalon
  0 siblings, 0 replies; 8+ messages in thread
From: Thomas Monjalon @ 2023-11-30 17:42 UTC (permalink / raw)
  To: Adam Hassick, Patrick Robb, David Marchand; +Cc: ci, alialnu

30/11/2023 10:27, David Marchand:
> On Mon, Nov 27, 2023 at 10:30 PM Adam Hassick <ahassick@iol.unh.edu> wrote:
> > Yes, mirroring the next-* branches would help to reduce the complexity of creating patch series artifacts.
> > As Patrick wrote, moving the clones for the periodic testing on DPDK main and DPDK LTS should be a trivial change.
> >
> > However, most of the load we put on that server originates from our testing on new patch series.
> > I am working on a new script for creating the tarball artifacts from incoming patch series. It only pulls down either 1 or 2 repositories rather than main and all next-* branches for every single patch.
> > Once deployed, I expect this script to reduce the load on git.dpdk.org significantly.
> > Also, I anticipate that I can modify this new script to pull main down from GitHub. Then, only incoming patch series for next-* branches will produce any load on git.dpdk.org.
> 
> As mentionned in
> https://inbox.dpdk.org/dev/CAJFAV8xSVqkTjrqSL0gWkg9Y+EyMg4=jxwOOzhtaXp6HDeG_cQ@mail.gmail.com/T/#t,
> the mirroring script is ready on dpdk.org.
> The branches are not up yet, I'll put some update in this thread when they are.

The branches are automatically created on GitHub
when there is a push to the corresponding branch on dpdk.org.
Some branches are already created on GitHub.

When testing a patch, you should get a repository name from
the script pw_maintainers_cli.py:
https://git.dpdk.org/tools/dpdk-ci/tree/tools/pw_maintainers_cli.py

We could work on this script to get the GitHub branch name.
For example, instead of git://dpdk.org/next/dpdk-next-net
it should be the GitHub branch name next-net-for-main-repo.

The branch name is the dpdk.org repository name without "dpdk-"
followed by the default branch of the repository on dpdk.org.

This is the list of branches to use on GitHub for patch testing:
	dpdk/main
	dpdk/next-baseband-for-main
	dpdk/next-crypto-for-main
	dpdk/next-eventdev-for-main
	dpdk/next-net-for-main-repo
	dpdk/next-net-brcm-for-next-net
	dpdk/next-net-intel-for-next-net
	dpdk/next-net-mlx-for-next-net
	dpdk/next-net-mrvl-for-main
	dpdk/next-virtio-for-next-net

In addition, we will have some "useless" branches:
	dpdk/next-net-main
	dpdk/next-net-brcm-main
	dpdk/next-net-brcm-pre-submit
	dpdk/next-net-intel-main
	dpdk/next-net-mlx-main
	dpdk/next-virtio-staging
	dpdk/next-baseband-staging
No automatic test should be run on these branches.

And these are the branches that we should test on each push:
	dpdk-stable/21.11-staging
	dpdk-stable/22.11-staging
	dpdk-stable/23.11-staging (to be created)

Note: we could discuss later about merging dpdk and dpdk-stable
in the same GitHub repository.



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2023-11-30 17:42 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-27 11:20 DPDK clone/fetch URL Thomas Monjalon
2023-11-27 16:09 ` Patrick Robb
2023-11-27 20:58   ` Thomas Monjalon
2023-11-27 21:32     ` Adam Hassick
2023-11-28 21:16       ` Patrick Robb
2023-11-30  9:27       ` David Marchand
2023-11-30 17:42         ` Thomas Monjalon
2023-11-30 15:57 ` Aaron Conole

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).