[Buildbot-devel] GitPoller against kernel sources hangs with 0.8.3p1
brainstorm
braincode at gmail.com
Sun Jan 16 20:41:58 UTC 2011
Doh :-S Thanks indeed for the clarification Amber !
On Sun, Jan 16, 2011 at 9:39 PM, Amber Yust <ayust at yelp.com> wrote:
> When you do "git clone
> git://gitorious.org/~brainstorm/efikamx/efika-kernel.git", you're not
> specifying a destination directory. Thus, git creates one (efika-kernel) and
> then creates a .git folder inside of that new folder.
> Buildbot invokes git clone with a destination folder explicitly specified
> (source). Thus, git doesn't create a destination folder, but instead simply
> initializes the repository inside the source folder as requested. So again,
> it is very much expected that there will not be an "efika-kernel" folder. If
> you wish to try this yourself, run the following command:
> git clone git://gitorious.org/~brainstorm/efikamx/efika-kernel.git source
> Note the 'source' on the end.
> Buildbot knows about this explicitly, and thus expects the directory
> structure to look like "source/.git" afterwards, and that is what later
> steps in the Git source process use when in "copy" mode.
> ~Amber
> On Sun, Jan 16, 2011 at 12:36 PM, brainstorm <braincode at gmail.com> wrote:
>>
>> On Sun, Jan 16, 2011 at 8:16 PM, Amber Yust <ayust at yelp.com> wrote:
>> > No, just creating 'source' is the expected behavior (as if a destination
>> > directory name of source were passed to git clone).
>>
>>
>>
>> I wasn't referring to "source" dir but to ".git" instead of
>> "efika-kernel". In other words, "git clone
>> git://gitorious.org/~brainstorm/efikamx/efika-kernel.git" generates
>> "efika-kernel" directory, while buildbot (slave) generates ".git"
>> under source (no trace of "efika-kernel).
>>
>> It may be just cosmetic, but maybe next steps will not be able to find
>> the sources ?
>>
>>
>>
>> > Are there any errors in the twistd.log? How long does cloning usually
>> > take?
>>
>>
>>
>> No errors, just the git step executing correctly and timing out:
>>
>> 2011-01-13 23:10:26+0100 [-] ShellCommand._startCommand
>> 2011-01-13 23:10:26+0100 [-] /usr/bin/git fetch -t
>> http://git.gitorious.org/~brainstorm/efikamx/efika-kernel.git +master
>> 2011-01-13 23:10:26+0100 [-] in dir
>> /var/lib/buildbot/romanvg/runtests/source (timeout 1200 secs)
>> 2011-01-13 23:10:26+0100 [-] watching logfiles {}
>>
>> The clone usually takes less than 10min.
>>
>>
>>
>> > ~Amber (sent from Droid, please forgive any typos!)
>> >
>> > On Jan 16, 2011 7:08 AM, "brainstorm" <braincode at gmail.com> wrote:
>> >
>>
>>
>> ------------------------------------------------------------------------------
>> Protect Your Site and Customers from Malware Attacks
>> Learn about various malware tactics and how to avoid them. Understand
>> malware threats, the impact they can have on your business, and how you
>> can protect your company and customers by using code signing.
>> http://p.sf.net/sfu/oracle-sfdevnl
>> _______________________________________________
>> Buildbot-devel mailing list
>> Buildbot-devel at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/buildbot-devel
>
>
More information about the devel
mailing list