[Buildbot-devel] GitPoller against kernel sources hangs with 0.8.3p1

brainstorm braincode at gmail.com
Sun Jan 16 20:40:23 UTC 2011


On Sun, Jan 16, 2011 at 8:29 PM, Dustin J. Mitchell <dustin at v.igoro.us> wrote:
> On Sun, Jan 16, 2011 at 9:06 AM, brainstorm <braincode at gmail.com> wrote:
>> Can you please try with this repo URL ?:
>>
>> git://gitorious.org/~brainstorm/efikamx/efika-kernel.git
>>
>> With "copy" modifier it generates a ".git" repo under "runtests/source/":
>
> I assume you mean mode="copy", which is an argument to the Git *step*,
> not the GitPoller.




Indeed, I apologise for the confusion.



>> buildbot/runtests# du -hs source/.git/
>> 608M    source/.git/
>>
>> Should'nt it create "source/efika-kernel" dir instead like the plain
>> "git clone" command does ?. Afterwards, it hangs midway when ~600MB of
>> repo contents have been downloaded. Using the interactive git, the
>> cloned repository is 914MB in size.
>
> It's hard to say without seeing your configuration.


The rest of the config is the vanilla one (included in the distro),
pasting the relevant section:

=======================================

from buildbot.process.factory import BuildFactory
from buildbot.steps.source import Git
from buildbot.steps.shell import ShellCommand

factory = BuildFactory()

factory.addStep(Git(repourl='http://git.gitorious.org/~brainstorm/efikamx/efika-kernel.git',
mode='copy', progress=True))
#factory.addStep(ShellCommand(command=["echo", "Success !"]))

factory.addStep(ShellCommand(command=["/bin/bash", '-ex', '-c', r"""

ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- make -j2 uImage modules

"""]))

======================================================


>> Then, it times out (1200 seconds) and fails, so no successive commands
>> are executed :-/
>
> There is a timeout agument (that was undocumented until about 15
> seconds ago) to the Git step that you can use to increase this.
>
> Dustin
>




More information about the devel mailing list