qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] QEMU travis builds: can we move the preseed tarball to qemu.org ?
@ 2017-04-25 14:51 Peter Maydell
  2017-04-25 14:58 ` Daniel P. Berrange
  2017-04-25 15:10 ` Alex Bennée
  0 siblings, 2 replies; 7+ messages in thread
From: Peter Maydell @ 2017-04-25 14:51 UTC (permalink / raw)
  To: QEMU Developers, Alex Bennée, Jeff Cody

Hi; a recent travis build failure made me notice that our .travis.yml
config references a preseed tarball from here:
http://people.linaro.org/~alex.bennee/qemu-submodule-git-seed.tar.xz

I think this is a bit less than ideal -- we should really be hosting
this on qemu.org. Can we arrange to move it?

thanks
-- PMM

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

* Re: [Qemu-devel] QEMU travis builds: can we move the preseed tarball to qemu.org ?
  2017-04-25 14:51 [Qemu-devel] QEMU travis builds: can we move the preseed tarball to qemu.org ? Peter Maydell
@ 2017-04-25 14:58 ` Daniel P. Berrange
  2017-04-25 15:24   ` Alex Bennée
  2017-04-25 15:10 ` Alex Bennée
  1 sibling, 1 reply; 7+ messages in thread
From: Daniel P. Berrange @ 2017-04-25 14:58 UTC (permalink / raw)
  To: Peter Maydell; +Cc: QEMU Developers, Alex Bennée, Jeff Cody

On Tue, Apr 25, 2017 at 03:51:17PM +0100, Peter Maydell wrote:
> Hi; a recent travis build failure made me notice that our .travis.yml
> config references a preseed tarball from here:
> http://people.linaro.org/~alex.bennee/qemu-submodule-git-seed.tar.xz
> 
> I think this is a bit less than ideal -- we should really be hosting
> this on qemu.org. Can we arrange to move it?

I'm curious how much speed difference there is in seeding the git submodules
in this way vs letting git pull down from git.qemu.org directly ?


Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|

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

* Re: [Qemu-devel] QEMU travis builds: can we move the preseed tarball to qemu.org ?
  2017-04-25 14:51 [Qemu-devel] QEMU travis builds: can we move the preseed tarball to qemu.org ? Peter Maydell
  2017-04-25 14:58 ` Daniel P. Berrange
@ 2017-04-25 15:10 ` Alex Bennée
  1 sibling, 0 replies; 7+ messages in thread
From: Alex Bennée @ 2017-04-25 15:10 UTC (permalink / raw)
  To: Peter Maydell; +Cc: QEMU Developers, Jeff Cody


Peter Maydell <peter.maydell@linaro.org> writes:

> Hi; a recent travis build failure made me notice that our .travis.yml
> config references a preseed tarball from here:
> http://people.linaro.org/~alex.bennee/qemu-submodule-git-seed.tar.xz
>
> I think this is a bit less than ideal -- we should really be hosting
> this on qemu.org. Can we arrange to move it?

Sure - it was more out of convince than anything else. It is basically
the .git/modules/ subtree from a full checkout that has been tarred up.
Given how long ago it was generated it is probably worth updating the
seed anyway to speed up the submodule initialisation step.

Should we script it up on the qemu.org server or just upload a
hand-created seed?

--
Alex Bennée

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

* Re: [Qemu-devel] QEMU travis builds: can we move the preseed tarball to qemu.org ?
  2017-04-25 14:58 ` Daniel P. Berrange
@ 2017-04-25 15:24   ` Alex Bennée
  2017-04-25 15:32     ` Daniel P. Berrange
  0 siblings, 1 reply; 7+ messages in thread
From: Alex Bennée @ 2017-04-25 15:24 UTC (permalink / raw)
  To: Daniel P. Berrange; +Cc: Peter Maydell, QEMU Developers, Jeff Cody


Daniel P. Berrange <berrange@redhat.com> writes:

> On Tue, Apr 25, 2017 at 03:51:17PM +0100, Peter Maydell wrote:
>> Hi; a recent travis build failure made me notice that our .travis.yml
>> config references a preseed tarball from here:
>> http://people.linaro.org/~alex.bennee/qemu-submodule-git-seed.tar.xz
>>
>> I think this is a bit less than ideal -- we should really be hosting
>> this on qemu.org. Can we arrange to move it?
>
> I'm curious how much speed difference there is in seeding the git submodules
> in this way vs letting git pull down from git.qemu.org directly ?

It was quite high from what I recall, exacerbated by the fact we have
quite so many submodules. Unfortunately it doesn't seem that easy to go
back in the history of the tests to find out so I'll have to re-run the
test:

  https://travis-ci.org/stsquad/qemu/builds/225648653

So roughly 62s without a seed vs 15s with. I presume the seed is also
cached by Travis's web-caching.

--
Alex Bennée

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

* Re: [Qemu-devel] QEMU travis builds: can we move the preseed tarball to qemu.org ?
  2017-04-25 15:24   ` Alex Bennée
@ 2017-04-25 15:32     ` Daniel P. Berrange
  2017-04-25 15:54       ` Alex Bennée
  0 siblings, 1 reply; 7+ messages in thread
From: Daniel P. Berrange @ 2017-04-25 15:32 UTC (permalink / raw)
  To: Alex Bennée; +Cc: Peter Maydell, QEMU Developers, Jeff Cody

On Tue, Apr 25, 2017 at 04:24:18PM +0100, Alex Bennée wrote:
> 
> Daniel P. Berrange <berrange@redhat.com> writes:
> 
> > On Tue, Apr 25, 2017 at 03:51:17PM +0100, Peter Maydell wrote:
> >> Hi; a recent travis build failure made me notice that our .travis.yml
> >> config references a preseed tarball from here:
> >> http://people.linaro.org/~alex.bennee/qemu-submodule-git-seed.tar.xz
> >>
> >> I think this is a bit less than ideal -- we should really be hosting
> >> this on qemu.org. Can we arrange to move it?
> >
> > I'm curious how much speed difference there is in seeding the git submodules
> > in this way vs letting git pull down from git.qemu.org directly ?
> 
> It was quite high from what I recall, exacerbated by the fact we have
> quite so many submodules. Unfortunately it doesn't seem that easy to go
> back in the history of the tests to find out so I'll have to re-run the
> test:
> 
>   https://travis-ci.org/stsquad/qemu/builds/225648653
> 
> So roughly 62s without a seed vs 15s with. I presume the seed is also
> cached by Travis's web-caching.

Wow, yes, that is quite a difference !

I wonder if Travis' arbitrary sub-dir caching feature would help us to
the same extent, while avoiding need to manually maintain the preseed.

  https://docs.travis-ci.com/user/caching/

It just caches entire content of a given subdir between runs. First time
it would be slow, but presumably fast thereafter, and any time the submodule
gets new updates, those would get cached too

Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|

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

* Re: [Qemu-devel] QEMU travis builds: can we move the preseed tarball to qemu.org ?
  2017-04-25 15:32     ` Daniel P. Berrange
@ 2017-04-25 15:54       ` Alex Bennée
  2017-04-25 16:19         ` Jeff Cody
  0 siblings, 1 reply; 7+ messages in thread
From: Alex Bennée @ 2017-04-25 15:54 UTC (permalink / raw)
  To: Daniel P. Berrange; +Cc: Peter Maydell, QEMU Developers, Jeff Cody


Daniel P. Berrange <berrange@redhat.com> writes:

> On Tue, Apr 25, 2017 at 04:24:18PM +0100, Alex Bennée wrote:
>>
>> Daniel P. Berrange <berrange@redhat.com> writes:
>>
>> > On Tue, Apr 25, 2017 at 03:51:17PM +0100, Peter Maydell wrote:
>> >> Hi; a recent travis build failure made me notice that our .travis.yml
>> >> config references a preseed tarball from here:
>> >> http://people.linaro.org/~alex.bennee/qemu-submodule-git-seed.tar.xz
>> >>
>> >> I think this is a bit less than ideal -- we should really be hosting
>> >> this on qemu.org. Can we arrange to move it?
>> >
>> > I'm curious how much speed difference there is in seeding the git submodules
>> > in this way vs letting git pull down from git.qemu.org directly ?
>>
>> It was quite high from what I recall, exacerbated by the fact we have
>> quite so many submodules. Unfortunately it doesn't seem that easy to go
>> back in the history of the tests to find out so I'll have to re-run the
>> test:
>>
>>   https://travis-ci.org/stsquad/qemu/builds/225648653
>>
>> So roughly 62s without a seed vs 15s with. I presume the seed is also
>> cached by Travis's web-caching.
>
> Wow, yes, that is quite a difference !
>
> I wonder if Travis' arbitrary sub-dir caching feature would help us to
> the same extent, while avoiding need to manually maintain the preseed.
>
>   https://docs.travis-ci.com/user/caching/
>
> It just caches entire content of a given subdir between runs. First time
> it would be slow, but presumably fast thereafter, and any time the submodule
> gets new updates, those would get cached too

Maybe but I think the cwd of the build (and therefor the git tree) is
user and project name dependent, e.g.:

  PWD=/home/travis/build/stsquad/testcases

But we could certainly try.

>
> Regards,
> Daniel


--
Alex Bennée

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

* Re: [Qemu-devel] QEMU travis builds: can we move the preseed tarball to qemu.org ?
  2017-04-25 15:54       ` Alex Bennée
@ 2017-04-25 16:19         ` Jeff Cody
  0 siblings, 0 replies; 7+ messages in thread
From: Jeff Cody @ 2017-04-25 16:19 UTC (permalink / raw)
  To: Alex Bennée; +Cc: jcody, qemu-devel, Daniel P. Berrange, Peter Maydell

On Apr 25, 2017 11:55 AM, "Alex Bennée" <alex.bennee@linaro.org> wrote:


Daniel P. Berrange <berrange@redhat.com> writes:

> On Tue, Apr 25, 2017 at 04:24:18PM +0100, Alex Bennée wrote:
>>
>> Daniel P. Berrange <berrange@redhat.com> writes:
>>
>> > On Tue, Apr 25, 2017 at 03:51:17PM +0100, Peter Maydell wrote:
>> >> Hi; a recent travis build failure made me notice that our .travis.yml
>> >> config references a preseed tarball from here:
>> >> http://people.linaro.org/~alex.bennee/qemu-submodule-git-seed.tar.xz
>> >>
>> >> I think this is a bit less than ideal -- we should really be hosting
>> >> this on qemu.org. Can we arrange to move it?
>> >
>> > I'm curious how much speed difference there is in seeding the git
submodules
>> > in this way vs letting git pull down from git.qemu.org directly ?
>>
>> It was quite high from what I recall, exacerbated by the fact we have
>> quite so many submodules. Unfortunately it doesn't seem that easy to go
>> back in the history of the tests to find out so I'll have to re-run the
>> test:
>>
>>   https://travis-ci.org/stsquad/qemu/builds/225648653
>>
>> So roughly 62s without a seed vs 15s with. I presume the seed is also
>> cached by Travis's web-caching.
>
> Wow, yes, that is quite a difference !
>
> I wonder if Travis' arbitrary sub-dir caching feature would help us to
> the same extent, while avoiding need to manually maintain the preseed.
>
>   https://docs.travis-ci.com/user/caching/
>
> It just caches entire content of a given subdir between runs. First time
> it would be slow, but presumably fast thereafter, and any time the
submodule
> gets new updates, those would get cached too

Maybe but I think the cwd of the build (and therefor the git tree) is
user and project name dependent, e.g.:

  PWD=/home/travis/build/stsquad/testcases

But we could certainly try.

>
> Regards,
> Daniel


--
Alex Bennée


I do currently have an async script that runs for qemu.git, that is
triggered by a post-receive hook.   Currently, it just does a push to
GitHub, so that the mirror is updated in real-time.  It would be pretty
trivial to have it also compose a tarball as well.

Jeff

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

end of thread, other threads:[~2017-04-25 16:20 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-25 14:51 [Qemu-devel] QEMU travis builds: can we move the preseed tarball to qemu.org ? Peter Maydell
2017-04-25 14:58 ` Daniel P. Berrange
2017-04-25 15:24   ` Alex Bennée
2017-04-25 15:32     ` Daniel P. Berrange
2017-04-25 15:54       ` Alex Bennée
2017-04-25 16:19         ` Jeff Cody
2017-04-25 15:10 ` Alex Bennée

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