Skip to contentSkip to conversation

buildbot failure in qemu on xen_x86_64_debian_6_0

Qemu-devel [email protected] 5 participants 5 messages Nov 1, 2011

lore
Share & tools
lore
#0 lore raw

The Buildbot has detected a new failure on builder xen_x86_64_debian_6_0 while building qemu. Full details are available at:
http://buildbot.b1-systems.de/qemu/builders/xen_x86_64_debian_6_0/builds/78

Buildbot URL: http://buildbot.b1-systems.de/qemu/

Buildslave for this Build: yuzuki

Build Reason: The Nightly scheduler named 'nightly_xen' triggered this build Build Source Stamp: [branch xen-next] HEAD
Blamelist:

BUILD FAILED: failed git

sincerely,
-The Buildbot

#1 lore raw

Am 01.11.2011 07:19, schrieb [email protected]:

Quoted 8 lines

The Buildbot has detected a new failure on builder xen_x86_64_debian_6_0 while building qemu. Full details are available at:
http://buildbot.b1-systems.de/qemu/builders/xen_x86_64_debian_6_0/builds/78

Buildbot URL: http://buildbot.b1-systems.de/qemu/

Buildslave for this Build: yuzuki

Quoted 8 lines

Build Reason: The Nightly scheduler named 'nightly_xen' triggered this build Build Source Stamp: [branch xen-next] HEAD
Blamelist:

BUILD FAILED: failed git

sincerely,
-The Buildbot

As far as I know from previous mails, the buildbots already do a retry when git fails. The retry period used today is obviously too short.

We know that git fails rather often and that those failures take some time. Is there any reason why a buildbot cannot retry until it succeeds with a much larger time limit than today?

A git retry limit of several hours or even a day would not harm. Mails from the buildbot are only useful if some user action is required - when git fails, you can only wait.

Developers who want a fast feedback for their latest commits can either poll the buildbot, or the buildbot must be configured to send individual mails with more information.

Regards,
Stefan Weil

#2 lore raw

Hi Stefan,

Quoted 2 lines · Stefan Weil

As far as I know from previous mails, the buildbots already do a retry when git fails. The retry period used today is obviously too short.

i finally took a closer look on this failed git reports. It seems like all the "git failed" mails are not due to a too short reply period. It is due to the buildslave version used on "yuzuki" is not recent enough to perform retries at all.

Other buildslaves which have buildbot version 0.8.2 and greater perform retries correctly and seem to require only one retry to finally succeed. "yuzuki" is running buildbot version 0.7.12 and doesn't perform any retry and cause nearly all "git failed" mails since we introduced git-fetch retries.

Stefan, could you update your buildslave "yuzuki"? In meanwhile I try to setup mine buildslave also with a new version of buildbot.

Best Regards,
Daniel

Signature · 8 lines
Daniel Gollub
Linux Consultant & Developer
Tel.: +49-160 47 73 970 
Mail: [email protected]

B1 Systems GmbH
Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de
GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537
#3 lore raw
Quoted 11 lines · Daniel Gollub

Hi Stefan,

Quoted 2 lines · Stefan Weil

As far as I know from previous mails, the buildbots already do a retry when git fails. The retry period used today is obviously too short.

i finally took a closer look on this failed git reports. It seems like all the "git failed" mails are not due to a too short reply period. It is due to the buildslave version used on "yuzuki" is not recent enough to perform retries at all.

Quoted 7 lines

Other buildslaves which have buildbot version 0.8.2 and greater perform retries correctly and seem to require only one retry to finally succeed. "yuzuki" is running buildbot version 0.7.12 and doesn't perform any retry and cause nearly all "git failed" mails since we introduced git-fetch retries.

Stefan, could you update your buildslave "yuzuki"? In meanwhile I try to setup mine buildslave also with a new version of buildbot.

Thanks for the pointer. I have upgraded yuzuki to buildbot 0.8.5.

Stefan

#4 lore raw
In reply to Daniel Gollub

Hi,

Quoted 4 lines

i finally took a closer look on this failed git reports. It seems like all the "git failed" mails are not due to a too short reply period. It is due to the buildslave version used on "yuzuki" is not recent enough to perform retries at all.

Another git issue: Fedora 16 fails because git 1.7.7 errors out on 'git branch -M master'. Guess that needs to be fixed in the GitPoller @ buildmaster?

I've also some python bits to send out the log tail with the mails, see below.

cheers,
Gerd

===================== [ cut here ] ========================

def kraxelMessageFormatter(mode, name, build, results, master_status):

    result = Results[results]
    defmsg = mail.defaultMessage(mode, name, build, results, master_status);
    text = list();
    text.append(defmsg['body']);

    # get log for last step
    logs = build.getLogs()
    for log in reversed(logs):
        if log.getName() == 'stdio':
            break
    content = log.getText().splitlines() # Note: can be VERY LARGE
    url = "%s/steps/%s/logs/%s" % (master_status.getURLForThing(build),
                                   log.getStep().getName(),
                                   log.getName())

    # append log info to standard message
    text.append("========== log tail ==========")
    for line in content[-32:]:
        text.append(unicode(line,'utf8'))
    text.append("")
    text.append("========== full log ==========")
    text.append(url);

    return { 'body' : "\n".join(text), 'type' : 'plain' }

[ ... ]

mn = mail.MailNotifier([ other args ]

                       messageFormatter=kraxelMessageFormatter);