Skip to contentSkip to conversation

00/15] Add support for generate bitbake/oe-selftest error reports

PATCH In review Aníbal Limón 2 participants 22 messages Jun 21, 2016 – Jun 28, 2016

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 00/15] Add support for generate bitbake/oe-selftest error reports

This v2 adds support for generate also oe-selftest reports this is almost the previous version with changes requested in review [1], the next patches starts from patch,

autobuilder/lib/{ABtools,builsteps}.py: Create save_error_report func

Also the changes could be reviewed at [2].

[1] https://lists.yoctoproject.org/pipermail/yocto/2016-June/030515.html
[2] http://git.yoctoproject.org/cgit/cgit.cgi/yocto-autobuilder/log/?h=contrib/alimon/devel

Aníbal Limón (15):
lib/buildsteps.py: Add BitbakeShellCommand class lib/buildsteps.py: Add BitbakeLogLineObserver for
BitbakeShellCommands.
lib/buildsteps: BitbakeShellCommand add support for create error
reports
lib/ABTools: Add functions for get errordir path in controller and
worker
buildbot: Add support for DirectoryDownload transfer step autobuilder/buildsteps: Add DownloadBitbakeErrorReports step
buiidsets: Add DownloadBitbakeErrorReport step lib/buildsteps.py: BitbakeShellCommand add support for error_type autobuilder/lib/buildsteps.py: BitbakeShellCommand update error report
types.
autobuilder/lib/{ABtools,builsteps}.py: Create save_error_report func autobuilder/lib/ABTools.py: Add get_lsb_distro function buildsteps/RunOeSelftest.py: Add support for create/save error reports nightly-oe-selftest.conf: Add steps for Download and Send error
report.
autobuilder/buildsteps: Rename DownloadBitbakeErrorReports to
DownloadErrorReports
buildset-config: Update references from DownloadBitbakeErrorReports to
DownloadErrorReports

 buildset-config.controller/build-appliance.conf    |   1 +
 buildset-config.controller/buildtools.conf         |   1 +
 buildset-config.controller/nightly-arm-lsb.conf    |   1 +
 buildset-config.controller/nightly-arm.conf        |   1 +
 buildset-config.controller/nightly-arm64.conf      |   1 +
 .../nightly-deb-non-deb.conf                       |   1 +
 buildset-config.controller/nightly-deb.conf        |   1 +
 buildset-config.controller/nightly-ipk.conf        |   1 +
 buildset-config.controller/nightly-mips-lsb.conf   |   1 +
 buildset-config.controller/nightly-mips.conf       |   1 +
 buildset-config.controller/nightly-mips64.conf     |   1 +
 buildset-config.controller/nightly-multilib.conf   |   1 +
 buildset-config.controller/nightly-musl.conf       |   1 +
 buildset-config.controller/nightly-no-x11.conf     |   1 +
 buildset-config.controller/nightly-non-gpl3.conf   |   1 +
 .../nightly-oe-selftest.conf                       |   5 +-
 buildset-config.controller/nightly-oecore.conf     |   1 +
 buildset-config.controller/nightly-ppc-lsb.conf    |   1 +
 buildset-config.controller/nightly-ppc.conf        |   1 +
 buildset-config.controller/nightly-qa-extras.conf  |   1 +
 .../nightly-qa-logrotate.conf                      |   1 +
 buildset-config.controller/nightly-qa-pam.conf     |   1 +
 .../nightly-qa-skeleton.conf                       |   1 +
 buildset-config.controller/nightly-qa-systemd.conf |   1 +
 .../nightly-qa-targetbuilds.conf                   |   1 +
 .../nightly-rpm-non-rpm.conf                       |   1 +
 buildset-config.controller/nightly-rpm.conf        |   1 +
 buildset-config.controller/nightly-uclibc.conf     |   1 +
 buildset-config.controller/nightly-world-lsb.conf  |   1 +
 buildset-config.controller/nightly-world.conf      |   1 +
 buildset-config.controller/nightly-x32.conf        |   1 +
 buildset-config.controller/nightly-x86-64-lsb.conf |   1 +
 buildset-config.controller/nightly-x86-64.conf     |   1 +
 buildset-config.controller/nightly-x86-lsb.conf    |   1 +
 buildset-config.controller/nightly-x86.conf        |   1 +
 buildset-config.controller/nightly.conf            |   1 +
 buildset-config.controller/poky-tiny.conf          |   1 +
 buildset-config.examples/awesomefirmware.conf      |   1 +
 buildset-config.freescale/nightly-fsl-arm-lsb.conf |   1 +
 buildset-config.freescale/nightly-fsl-arm.conf     |   1 +
 buildset-config.freescale/nightly-fsl-ppc-lsb.conf |   1 +
 buildset-config.freescale/nightly-fsl-ppc.conf     |   1 +
 buildset-config.iot-devkit/iot-devkit.conf         |   1 +
 buildset-config.kernel/kernel-arm-lsb.conf         |   1 +
 buildset-config.kernel/kernel-arm.conf             |   1 +
 buildset-config.kernel/kernel-arm64.conf           |   1 +
 buildset-config.kernel/kernel-mips-lsb.conf        |   1 +
 buildset-config.kernel/kernel-mips.conf            |   1 +
 buildset-config.kernel/kernel-ppc-lsb.conf         |   1 +
 buildset-config.kernel/kernel-ppc.conf             |   1 +
 buildset-config.kernel/kernel-x86-64-lsb.conf      |   1 +
 buildset-config.kernel/kernel-x86-64.conf          |   1 +
 buildset-config.kernel/kernel-x86-lsb.conf         |   1 +
 buildset-config.kernel/kernel-x86.conf             |   1 +
 buildset-config.kernel/nightly-kernel.conf         |   1 +
 buildset-config.tizen/nightly-tizen-ivi.conf       |   1 +
 buildset-config.tizen/nightly-tizen.conf           |   1 +
 buildset-config.tizen/nightly.conf                 |   1 +
 .../autobuilder/buildsteps/BuildImages.py          |   7 +-
 .../autobuilder/buildsteps/BuildToolchainImages.py |   7 +-
 .../autobuilder/buildsteps/DownloadErrorReports.py |  42 +++++++++
 .../autobuilder/buildsteps/GetBitbakeVersion.py    |   6 +-
 .../autobuilder/buildsteps/RunESDKSanityTests.py   |   6 +-
 .../autobuilder/buildsteps/RunOeSelftest.py        |  46 +++++++++
 .../autobuilder/buildsteps/RunSDKSanityTests.py    |   6 +-
 .../autobuilder/buildsteps/RunSanityTests.py       |   6 +-
 .../autobuilder/buildsteps/SendErrorReport.py      |  16 ++--
 .../site-packages/autobuilder/lib/ABTools.py       |  59 ++++++++++++
 .../site-packages/autobuilder/lib/buildsteps.py    | 104 +++++++++++++++++++++
 .../buildbot/steps/transfer.py                     |  86 ++++++++++++++++-
 .../buildslave/commands/registry.py                |   1 +
 .../buildslave/commands/transfer.py                |  79 ++++++++++++++++
 72 files changed, 509 insertions(+), 24 deletions(-)
 create mode 100644 lib/python2.7/site-packages/autobuilder/buildsteps/DownloadErrorReports.py
Signature · 1 line
2.1.4
#1 lore raw

PATCH v2 1/1 01/15] lib/buildsteps.py: Add BitbakeShellCommand class

The BitbakeShellCommand is a new class for store common methods when is aim to run bitbake inside an step.

Also don't call directly the ShellCommand constructur use super to be able for call the parent constructor no matter what is this enables to call BitbakeShellCommand constructor.

---
 lib/python2.7/site-packages/autobuilder/buildsteps/BuildImages.py  | 7 +++++--
 .../site-packages/autobuilder/buildsteps/BuildToolchainImages.py   | 7 +++++--
 .../site-packages/autobuilder/buildsteps/GetBitbakeVersion.py      | 6 ++++--
 .../site-packages/autobuilder/buildsteps/RunESDKSanityTests.py     | 6 ++++--
 .../site-packages/autobuilder/buildsteps/RunSDKSanityTests.py      | 6 ++++--
 .../site-packages/autobuilder/buildsteps/RunSanityTests.py         | 6 ++++--
 lib/python2.7/site-packages/autobuilder/lib/buildsteps.py          | 5 +++++
 7 files changed, 31 insertions(+), 12 deletions(-)
lib/python2.7/site-packages/autobuilder/buildsteps/BuildImages.py +5 -2
index 0cdd2ef..7ef8aab 100644
@@ -17,7 +17,9 @@ from distutils.version import StrictVersion
 from buildbot.status.results import SUCCESS, SKIPPED
 import os
 
-class BuildImages(ShellCommand):
+from lib.buildsteps import BitbakeShellCommand
+
+class BuildImages(BitbakeShellCommand):
     haltOnFailure = False
     flunkOnFailure = True
     name = "BuildImages"
@@ -32,7 +34,8 @@ class BuildImages(ShellCommand):
         # Timeout needs to be passed to LoggingBuildStep as a kwarg
         self.timeout = 100000
         kwargs['timeout']=self.timeout
-        ShellCommand.__init__(self, **kwargs)
+        super(BuildImages, self).__init__(factory, argdict=None,
+                **kwargs)
 
     def start(self):
         self.localconf = self.getProperty("LOCALCONF")
lib/python2.7/site-packages/autobuilder/buildsteps/BuildToolchainImages.py +5 -2
index 89402cd..5a540bf 100644
@@ -15,7 +15,9 @@ from buildbot.steps.shell import ShellCommand
 from buildbot.process.buildstep import LogLineObserver
 import os
 
-class BuildToolchainImages(ShellCommand):
+from lib.buildsteps import BitbakeShellCommand
+
+class BuildToolchainImages(BitbakeShellCommand):
     haltOnFailure = False
     flunkOnFailure = True
     name = "Building Toolchain Images"
@@ -29,7 +31,8 @@ class BuildToolchainImages(ShellCommand):
         # Timeout needs to be passed to LoggingBuildStep as a kwarg
         self.timeout = 100000
         kwargs['timeout']=self.timeout
-        ShellCommand.__init__(self, **kwargs)
+        super(BuildToolchainImages, self).__init__(factory, argdict=None,
+                **kwargs)
 
     def start(self):
         layerversion = self.getProperty("layerversion_core")
lib/python2.7/site-packages/autobuilder/buildsteps/GetBitbakeVersion.py +4 -2
index 6eb1e21..6123343 100644
@@ -16,7 +16,9 @@ from buildbot.process.properties import WithProperties
 from twisted.python import log
 from autobuilder.config import *
 
-class GetBitbakeVersion(ShellCommand):
+from lib.buildsteps import BitbakeShellCommand
+
+class GetBitbakeVersion(BitbakeShellCommand):
     haltOnFailure = False
     flunkOnFailure = False
     name = "GetBitbakeVersion"
@@ -27,7 +29,7 @@ class GetBitbakeVersion(ShellCommand):
         self.workerworkdir=os.path.join(os.path.join(YOCTO_ABBASE, "yocto-worker"))
         for k, v in argdict.iteritems():
             setattr(self, k, v)
-        ShellCommand.__init__(self, **kwargs)
+        super(GetBitbakeVersion, self).__init__(factory, argdict=None, **kwargs)
 
     def start(self):
         buildername=self.getProperty("buildername")
lib/python2.7/site-packages/autobuilder/buildsteps/RunESDKSanityTests.py +4 -2
index f0bddeb..7471d3d 100644
@@ -16,7 +16,9 @@ from buildbot.status.results import SUCCESS, FAILURE
 from twisted.python import log as tlog
 import os, re
 
-class RunESDKSanityTests(ShellCommand):
+from lib.buildsteps import BitbakeShellCommand
+
+class RunESDKSanityTests(BitbakeShellCommand):
 
     haltOnFailure = False
     flunkOnFailure = True
@@ -39,7 +41,7 @@ class RunESDKSanityTests(ShellCommand):
             setattr(self, k, v)
         self.description = "Running SDK Sanity Tests"
         kwargs['timeout']=self.timeout
-        ShellCommand.__init__(self, **kwargs)
+        super(RunESDKSanityTests, self).__init__(factory, argdict=None, **kwargs)
 
     def start(self):
         layerversion = self.getProperty("layerversion_core")
lib/python2.7/site-packages/autobuilder/buildsteps/RunSDKSanityTests.py +4 -2
index 344dfd4..9b6eb5b 100644
@@ -16,7 +16,9 @@ from buildbot.status.results import SUCCESS, FAILURE
 from twisted.python import log as tlog
 import os, re
 
-class RunSDKSanityTests(ShellCommand):
+from lib.buildsteps import BitbakeShellCommand
+
+class RunSDKSanityTests(BitbakeShellCommand):
 
     haltOnFailure = False
     flunkOnFailure = True
@@ -39,7 +41,7 @@ class RunSDKSanityTests(ShellCommand):
             setattr(self, k, v)
         self.description = "Running SDK Sanity Tests"
         kwargs['timeout']=self.timeout
-        ShellCommand.__init__(self, **kwargs)
+        super(RunSDKSanityTests, self).__init__(factory, argdict=None, **kwargs)
 
     def start(self):
         layerversion = self.getProperty("layerversion_core")
lib/python2.7/site-packages/autobuilder/buildsteps/RunSanityTests.py +4 -2
index aeb02b1..4fa6dac 100644
@@ -16,7 +16,9 @@ from buildbot.status.results import SUCCESS, FAILURE
 from twisted.python import log as tlog
 import os, re
 
-class RunSanityTests(ShellCommand):
+from lib.buildsteps import BitbakeShellCommand
+
+class RunSanityTests(BitbakeShellCommand):
 
     haltOnFailure = False
     flunkOnFailure = True
@@ -39,7 +41,7 @@ class RunSanityTests(ShellCommand):
             setattr(self, k, v)
         self.description = "Running Sanity Tests"
         kwargs['timeout']=self.timeout
-        ShellCommand.__init__(self, **kwargs)
+        super(RunSanityTests, self).__init__(factory, argdict=None, **kwargs)
 
     def start(self):
         layerversion = self.getProperty("layerversion_core")
lib/python2.7/site-packages/autobuilder/lib/buildsteps.py +5 -0
index 3693a7a..4f15dcf 100644
@@ -11,6 +11,7 @@ __email__ = "[email protected]"
 '''
 
 import os
+
 from buildbot.steps.shell import ShellCommand
 
 DEFAULT_SHELL = 'bash'
@@ -40,3 +41,7 @@ class ShellCommandCleanEnv(ShellCommand):
             pe_cmd += "%s=\"$%s\" " % (pe, pe)
 
         return "env -i %s %s -c " % (pe_cmd, shell)
+
+class BitbakeShellCommand(ShellCommand):
+    def __init__(self, factory, argdict=None, **kwargs):
+        super(BitbakeShellCommand, self).__init__(**kwargs)
Signature · 1 line
2.1.4
#2 lore raw

PATCH v2 1/1 02/15] lib/buildsteps.py: Add BitbakeLogLineObserver for BitbakeShellCommands.

In reply to Aníbal Limón

The BitbakeLogLineObserver look into stdio output of bitbake process and identify for exception/errors into log,

---
 .../site-packages/autobuilder/lib/buildsteps.py    | 51 ++++++++++++++++++++++
 1 file changed, 51 insertions(+)
lib/python2.7/site-packages/autobuilder/lib/buildsteps.py +51 -0
index 4f15dcf..9822b3c 100644
@@ -11,8 +11,10 @@ __email__ = "[email protected]"
 '''
 
 import os
+import re
 
 from buildbot.steps.shell import ShellCommand
+from buildbot.process.buildstep import LogLineObserver
 
 DEFAULT_SHELL = 'bash'
 
@@ -42,6 +44,55 @@ class ShellCommandCleanEnv(ShellCommand):
 
         return "env -i %s %s -c " % (pe_cmd, shell)
 
+class BitbakeLogLineObserver(LogLineObserver):
+    """
+        Search in the stdio bitbake log for exception/errors, identify
+        if the error is a recipe/task one if not turn on the flag of
+        bitbake error/exception and save the log.
+    """
+
+    rexp_error = re.compile("^ERROR: .*$")
+
+    # recipe task errors regex'es
+    rexp_pnpv_error = re.compile("^ERROR: (?P<pnpv>.*) do_(?P<task>.*):.*$")
+    rexp_task_error = re.compile("^ERROR: Task .*$")
+    rexp_log_error = re.compile("^ERROR: Logfile of failure stored in: "\
+            "(?P<path>.*)$")
+
+    def _handleError(self, line):
+        if not hasattr(self.step, 'errors'):
+            self.step.errors = {}
+            self.step.errors['bitbake'] = False
+            self.step.errors['log'] = []
+
+        # save all the log for be able to get report variables like
+        # machine, target, distro, etc
+        self.step.errors['log'].append(line)
+
+        # discard line that are not errors and line that
+        # is recipe task errors
+        if (not self.rexp_error.match(line)) or \
+                self.rexp_pnpv_error.match(line) or \
+                self.rexp_task_error.match(line) or \
+                self.rexp_log_error.match(line):
+            return
+
+        # if not match recipe task type is a bitbake exception/error
+        self.step.errors['bitbake'] = True
+
+    def outLineReceived(self, line):
+        self._handleError(line)
+
+    def errLineReceived(self, line):
+        self._handleError(line)
+
 class BitbakeShellCommand(ShellCommand):
     def __init__(self, factory, argdict=None, **kwargs):
         super(BitbakeShellCommand, self).__init__(**kwargs)
+
+        self.stdio_observer = BitbakeLogLineObserver()
+        self.addLogObserver('stdio', self.stdio_observer)
+
+    def commandComplete(self, cmd):
+        if cmd.didFail():
+            pass
Signature · 1 line
2.1.4
#3 lore raw

PATCH v2 1/1 03/15] lib/buildsteps: BitbakeShellCommand add support for create error reports

In reply to Aníbal Limón

When bitbake command fails and isn't a recipe task failure then create an error report and store into yocto-controller folder for be able to transfer to the worker in order to send to the Error report web.

---
 .../site-packages/autobuilder/lib/buildsteps.py    | 63 +++++++++++++++++++++-
 1 file changed, 62 insertions(+), 1 deletion(-)
lib/python2.7/site-packages/autobuilder/lib/buildsteps.py +62 -1
index 9822b3c..7354c83 100644
@@ -13,9 +13,15 @@ __email__ = "[email protected]"
 import os
 import re
 
+import time
+import json
+import codecs
+
 from buildbot.steps.shell import ShellCommand
 from buildbot.process.buildstep import LogLineObserver
 
+from autobuilder.config import YOCTO_ABBASE
+
 DEFAULT_SHELL = 'bash'
 
 class ShellCommandCleanEnv(ShellCommand):
@@ -86,6 +92,12 @@ class BitbakeLogLineObserver(LogLineObserver):
     def errLineReceived(self, line):
         self._handleError(line)
 
+def get_error_report_bitbake_dir(buildername, buildnumber):
+    errordir_base = os.path.join(YOCTO_ABBASE, 'yocto-controller', buildername,
+            'error-report')
+    errordir = os.path.join(errordir_base, str(buildnumber))
+    return errordir
+
 class BitbakeShellCommand(ShellCommand):
     def __init__(self, factory, argdict=None, **kwargs):
         super(BitbakeShellCommand, self).__init__(**kwargs)
@@ -93,6 +105,55 @@ class BitbakeShellCommand(ShellCommand):
         self.stdio_observer = BitbakeLogLineObserver()
         self.addLogObserver('stdio', self.stdio_observer)
 
+    def _get_variables(self, log):
+        vrs = {}
+
+        rexp = re.compile("^(.*)=.*\"(.*)\"$")
+        for line in log:
+            m = rexp.match(line)
+            if m:
+                vrs[m.group(1).rstrip()] = m.group(2)
+
+        return vrs
+
+    def _createBitbakeErrorReport(self, log):
+        vrs = self._get_variables(log)
+
+        report = {}
+        report['machine'] = vrs['MACHINE']
+        report['build_sys'] = vrs['BUILD_SYS']
+        report['nativelsb'] = vrs['NATIVELSBSTRING']
+        report['distro'] = vrs['DISTRO']
+        report['target_sys'] = vrs['TARGET_SYS']
+
+        report['component'] = 'bitbake'
+        report['branch_commit'] = self.getProperty('branch') + ': ' + \
+                self.getProperty('got_revision')
+
+        failure = {}
+        failure['package'] = "bitbake-%s" % vrs['BB_VERSION']
+        failure['task'] = self.command
+        failure['log'] = "\n".join(log)
+
+        report['failures'] = [failure]
+
+        return report
+
+    def _saveBitbakeErrorReport(self, report):
+        buildername = self.getProperty('buildername')
+        buildnumber = self.getProperty('buildnumber')
+
+        errordir = get_error_report_bitbake_dir(buildername, buildnumber)
+        if not os.path.exists(errordir):
+            os.makedirs(errordir)
+
+        filename = os.path.join(errordir, "error_report_bitbake_%d.txt" % \
+                int(time.time()))
+        with codecs.open(filename, 'w', 'utf-8') as f:
+            json.dump(report, f, indent=4, sort_keys=True)
+
     def commandComplete(self, cmd):
         if cmd.didFail():
-            pass
+            if self.errors['bitbake']:
+                report = self._createBitbakeErrorReport(self.errors['log'])
+                self._saveBitbakeErrorReport(report)
Signature · 1 line
2.1.4
#4 lore raw

PATCH v2 1/1 04/15] lib/ABTools: Add functions for get errordir path in controller and worker

In reply to Aníbal Limón

get_error_report_controller_dir: Returns controller error report dir where bitbake exception/errors are stored.

get_error_report_worker_dir: Returns controller error report dir where recipe task failures are stored.

Also update the current sources to use that functions.

---
 .../autobuilder/buildsteps/SendErrorReport.py           | 16 +++++++---------
 lib/python2.7/site-packages/autobuilder/lib/ABTools.py  | 17 +++++++++++++++++
 .../site-packages/autobuilder/lib/buildsteps.py         | 10 ++--------
 3 files changed, 26 insertions(+), 17 deletions(-)
lib/python2.7/site-packages/autobuilder/buildsteps/SendErrorReport.py +7 -9
index 33f9fe3..23e94b1 100644
@@ -9,8 +9,12 @@ __version__ = "2.0"
 __maintainer__ = "Elizabeth Flanagan"
 __email__ = "[email protected]"
 '''
+
+import os
+
 from buildbot.steps.shell import ShellCommand
-from autobuilder.config import *
+
+from lib.ABTools import get_error_report_worker_dir
 
 class SendErrorReport(ShellCommand):
     haltOnFailure = False
@@ -18,7 +22,6 @@ class SendErrorReport(ShellCommand):
     name = "SendErrorReport"
     def __init__(self, factory, argdict=None, **kwargs):
         self.factory = factory
-        self.workerdir=os.path.join(os.path.join(YOCTO_ABBASE, "yocto-worker"))
         for k, v in argdict.iteritems():
             setattr(self, k, v)
         # Timeout needs to be passed to LoggingBuildStep as a kwarg
@@ -27,17 +30,12 @@ class SendErrorReport(ShellCommand):
         ShellCommand.__init__(self, **kwargs)
 
     def start(self):
-        self.workerdir=os.path.join(os.path.join(YOCTO_ABBASE, "yocto-worker"))
         self.buildername=self.getProperty("buildername")
         self.buildnumber=self.getProperty("buildnumber")
+        self.errordir = get_error_report_worker_dir(self.buildername)
         self.layerversion_core = self.getProperty("layerversion_core")
         self.command=""
-        if os.environ.get('ERROR_REPORT_DIR') is None:
-            self.errordir=os.path.join(os.path.join(
-                            self.workerdir, self.buildername),
-                            "build/build/tmp/log/error-report/")
-        else:
-            self.errordir=os.environ.get('ERROR_REPORT_DIR')
+
         if int(self.layerversion_core) < 4:
             self.command = "echo 'Skipping Step.'"
         else:
lib/python2.7/site-packages/autobuilder/lib/ABTools.py +17 -0
index a665373..579ae85 100644
@@ -10,7 +10,9 @@ __maintainer__ = "Elizabeth Flanagan"
 __email__ = "[email protected]"
 '''
 
+import os
 
+from autobuilder.config import YOCTO_ABBASE
 
 def capitalize(word):
     return ' '.join([s[0].upper() + s[1:] for s in word.split(' ')])
@@ -18,3 +20,18 @@ def capitalize(word):
 def stringToBool(v):
     return v.lower() in ("true", "t", "1")
 
+def get_error_report_controller_dir(buildername, buildnumber):
+    errordir_base = os.path.join(YOCTO_ABBASE, 'yocto-controller', buildername,
+            'error-report')
+    errordir = os.path.join(errordir_base, str(buildnumber))
+    return errordir
+
+def get_error_report_worker_dir(buildername):
+    if os.environ.get('ERROR_REPORT_DIR') is None:
+        workerdir = os.path.join(YOCTO_ABBASE, 'yocto-worker')
+        errordir = os.path.join(workerdir, buildername,
+                'build/build/tmp/log/error-report/')
+    else:
+        errordir = os.environ.get('ERROR_REPORT_DIR')
+
+    return errordir
lib/python2.7/site-packages/autobuilder/lib/buildsteps.py +2 -8
index 7354c83..9f63a2b 100644
@@ -20,7 +20,7 @@ import codecs
 from buildbot.steps.shell import ShellCommand
 from buildbot.process.buildstep import LogLineObserver
 
-from autobuilder.config import YOCTO_ABBASE
+from lib.ABTools import get_error_report_controller_dir
 
 DEFAULT_SHELL = 'bash'
 
@@ -92,12 +92,6 @@ class BitbakeLogLineObserver(LogLineObserver):
     def errLineReceived(self, line):
         self._handleError(line)
 
-def get_error_report_bitbake_dir(buildername, buildnumber):
-    errordir_base = os.path.join(YOCTO_ABBASE, 'yocto-controller', buildername,
-            'error-report')
-    errordir = os.path.join(errordir_base, str(buildnumber))
-    return errordir
-
 class BitbakeShellCommand(ShellCommand):
     def __init__(self, factory, argdict=None, **kwargs):
         super(BitbakeShellCommand, self).__init__(**kwargs)
@@ -143,7 +137,7 @@ class BitbakeShellCommand(ShellCommand):
         buildername = self.getProperty('buildername')
         buildnumber = self.getProperty('buildnumber')
 
-        errordir = get_error_report_bitbake_dir(buildername, buildnumber)
+        errordir = get_error_report_controller_dir(buildername, buildnumber)
         if not os.path.exists(errordir):
             os.makedirs(errordir)
 
Signature · 1 line
2.1.4
#5 lore raw

PATCH v2 1/1 05/15] buildbot: Add support for DirectoryDownload transfer step

In reply to Aníbal Limón

The new DirectoryDownload transfer step provides support for download a directory from master to slave in specific location.

The current implementation extends FileDownload step but it creates a tar file (may be compressed) and download it from master to slave, finally slave decompress the tarfile into specific directory.

---
 .../buildbot/steps/transfer.py                     | 86 +++++++++++++++++++++-
 .../buildslave/commands/registry.py                |  1 +
 .../buildslave/commands/transfer.py                | 79 ++++++++++++++++++++
 3 files changed, 164 insertions(+), 2 deletions(-)
lib/python2.7/site-packages/buildbot-0.8.8-py2.7.egg/buildbot/steps/transfer.py +84 -2
index 09b3750..fb49597 100644
@@ -170,7 +170,6 @@ class _DirectoryWriter(_FileWriter):
         archive.close()
         os.remove(self.tarname)
 
-
 def makeStatusRemoteCommand(step, remote_command, args):
     self = buildstep.RemoteCommand(remote_command, args,  decodeRC={None:SUCCESS, 0:SUCCESS})
     callback = lambda arg: step.step_status.addLog('stdio')
@@ -365,7 +364,6 @@ class DirectoryUpload(_TransferBuildStep):
             return BuildStep.finished(self, FAILURE)
         return BuildStep.finished(self, SUCCESS)
 
-
 class _FileReader(pb.Referenceable):
     """
     Helper class that acts as a file-object with read access
@@ -463,6 +461,90 @@ class FileDownload(_TransferBuildStep):
         d = self.runCommand(self.cmd)
         d.addCallback(self.finished).addErrback(self.failed)
 
+class DirectoryDownload(_TransferBuildStep):
+
+    name = 'download'
+
+    renderables = [ 'mastersrc', 'slavedest' ]
+
+    def __init__(self, mastersrc, slavedest,
+                 workdir=None, maxsize=None, blocksize=16*1024,
+                 compress=None, mode=None, **buildstep_kwargs):
+        BuildStep.__init__(self, **buildstep_kwargs)
+
+        self.mastersrc = mastersrc
+        self.slavedest = slavedest
+        self.workdir = workdir
+        self.maxsize = maxsize
+        self.blocksize = blocksize
+        if compress not in (None, 'gz', 'bz2'):
+            config.error(
+                "'compress' must be one of None, 'gz', or 'bz2'")
+        self.compress = compress
+        self.mode = mode
+
+    def start(self):
+        version = self.slaveVersion("downloadDirectory")
+
+        if not version:
+            m = "slave is too old, does not know about uploadDirectory"
+            raise BuildSlaveTooOldError(m)
+
+        # we rely upon the fact that the buildmaster runs chdir'ed into its
+        # basedir to make sure that relative paths in mastersrc are expanded
+        # properly. TODO: maybe pass the master's basedir all the way down
+        # into the BuildStep so we can do this better.
+        source = os.path.expanduser(self.mastersrc)
+
+        slavedest = self.slavedest
+
+        log.msg("DirectoryDownload started, from master %r to slave %r"
+                % (source, slavedest))
+
+        self.step_status.setText(['downloading', "to", slavedest])
+
+        # setup structures for reading the file
+        try:
+            fd, self.tarname = tempfile.mkstemp()
+            fileobj = os.fdopen(fd, 'w')
+            if self.compress == 'bz2':
+                mode='w|bz2'
+            elif self.compress == 'gz':
+                mode='w|gz'
+            else:
+                mode = 'w'
+            archive = tarfile.open(name=self.tarname, mode=mode, fileobj=fileobj)
+            archive.add(source, '')
+            archive.close()
+            fileobj.close()
+
+            fp = open(self.tarname, 'rb')
+        except IOError:
+            # if file does not exist, bail out with an error
+            self.addCompleteLog('stderr',
+                                'Directory %r not available at master' % source)
+            # TODO: once BuildStep.start() gets rewritten to use
+            # maybeDeferred, just re-raise the exception here.
+            eventually(BuildStep.finished, self, FAILURE)
+            return
+
+        fileReader = _FileReader(fp)
+
+        # default arguments
+        args = {
+            'slavedest': slavedest,
+            'maxsize': self.maxsize,
+            'reader': fileReader,
+            'blocksize': self.blocksize,
+            'workdir': self._getWorkdir(),
+            'mode': self.mode,
+            'compress': self.compress,
+            }
+
+        self.cmd = makeStatusRemoteCommand(self, 'downloadDirectory', args)
+        d = self.runCommand(self.cmd)
+        d.addCallback(self.finished).addErrback(self.failed)
+
 class StringDownload(_TransferBuildStep):
 
     name = 'string_download'
lib/python2.7/site-packages/buildbot_slave-0.8.8-py2.7.egg/buildslave/commands/registry.py +1 -0
index 080e814..22dc3ee 100644
@@ -21,6 +21,7 @@ commandRegistry = {
     "uploadFile" : "buildslave.commands.transfer.SlaveFileUploadCommand",
     "uploadDirectory" : "buildslave.commands.transfer.SlaveDirectoryUploadCommand",
     "downloadFile" : "buildslave.commands.transfer.SlaveFileDownloadCommand",
+    "downloadDirectory" : "buildslave.commands.transfer.SlaveDirectoryDownloadCommand",
     "svn" : "buildslave.commands.svn.SVN",
     "bk" : "buildslave.commands.bk.BK",
     "cvs" : "buildslave.commands.cvs.CVS",
lib/python2.7/site-packages/buildbot_slave-0.8.8-py2.7.egg/buildslave/commands/transfer.py +79 -0

82 lines not on this page · raw message

Signature · 1 line
2.1.4
#6 lore raw

PATCH v2 1/1 06/15] autobuilder/buildsteps: Add DownloadBitbakeErrorReports step

In reply to Aníbal Limón

Now the worker is responsible of sending error reports to ERW so in order to don't duplicate functionality add this step for download bitbake error reports generated in master AB.

---
 .../buildsteps/DownloadBitbakeErrorReports.py      | 42 ++++++++++++++++++++++
 1 file changed, 42 insertions(+)
 create mode 100644 lib/python2.7/site-packages/autobuilder/buildsteps/DownloadBitbakeErrorReports.py
lib/python2.7/site-packages/autobuilder/buildsteps/DownloadBitbakeErrorReports.py new file +42 -0
new file mode 100644
index 0000000..fe20247
@@ -0,0 +1,42 @@
+'''
+Created on Jan 1, 2016
+
+__author__ = "Anibal (alimon) Limon"
+__copyright__ = "Copyright 2016, Intel Corp."
+__credits__ = ["Anibal Limon"]
+__license__ = "GPL"
+__version__ = "2.0"
+__maintainer__ = "Anibal Limon"
+__email__ = "[email protected]"
+'''
+
+import os
+from buildbot.steps.transfer import DirectoryDownload
+from buildbot.process.buildstep import SKIPPED
+
+from lib.ABTools import get_error_report_worker_dir, \
+        get_error_report_controller_dir
+
+class DownloadBitbakeErrorReports(DirectoryDownload):
+    """
+        Transfer from master to slave the error reports when bitbake
+        fails.
+    """
+    name = "DownloadBitbakeErrorReports"
+
+    def __init__(self, factory, argdict=None, **kwargs):
+        super(DownloadBitbakeErrorReports, self).__init__(
+                "", "")
+
+    def start(self):
+        buildername = self.getProperty('buildername')
+        buildnumber = self.getProperty('buildnumber')
+
+        self.mastersrc = get_error_report_controller_dir(buildername,
+                buildnumber)
+        self.slavedest = get_error_report_worker_dir(buildername)
+
+        if not os.path.exists(self.mastersrc):
+            return SKIPPED
+
+        super(DownloadBitbakeErrorReports, self).start()
Signature · 1 line
2.1.4
#7 lore raw

PATCH v2 1/1 09/15] autobuilder/lib/buildsteps.py: BitbakeShellCommand update error report types.

In reply to Aníbal Limón

The error report type values changed so update it to match the new ones.

---
 lib/python2.7/site-packages/autobuilder/lib/buildsteps.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
lib/python2.7/site-packages/autobuilder/lib/buildsteps.py +2 -2
index 0977518..c290218 100644
@@ -127,10 +127,10 @@ class BitbakeShellCommand(ShellCommand):
         failure = {}
         failure['package'] = "bitbake-%s" % vrs['BB_VERSION']
         if 'bitbake-selftest' in self.command:
-            report['error_type'] = 'B'
+            report['error_type'] = 'bitbake-selftest'
             failure['task'] = self.command[self.command.find('bitbake-selftest'):]
         else:
-            report['error_type'] = 'C'
+            report['error_type'] = 'core'
             failure['task'] = self.command[self.command.find('bitbake'):]
 
         failure['log'] = "\n".join(log)
Signature · 1 line
2.1.4
#8 lore raw

PATCH v2 1/1 08/15] lib/buildsteps.py: BitbakeShellCommand add support for error_type

In reply to Aníbal Limón

When generate bitbake error reports two type of errors could be happen a bitbake generic one or when is running bitbake-selftest.

Also split the command removing environment only leave the bitbake command and it's arguments.

---
 lib/python2.7/site-packages/autobuilder/lib/buildsteps.py | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
lib/python2.7/site-packages/autobuilder/lib/buildsteps.py +7 -1
index 9f63a2b..0977518 100644
@@ -126,7 +126,13 @@ class BitbakeShellCommand(ShellCommand):
 
         failure = {}
         failure['package'] = "bitbake-%s" % vrs['BB_VERSION']
-        failure['task'] = self.command
+        if 'bitbake-selftest' in self.command:
+            report['error_type'] = 'B'
+            failure['task'] = self.command[self.command.find('bitbake-selftest'):]
+        else:
+            report['error_type'] = 'C'
+            failure['task'] = self.command[self.command.find('bitbake'):]
+
         failure['log'] = "\n".join(log)
 
         report['failures'] = [failure]
Signature · 1 line
2.1.4
#9 lore raw

PATCH v2 1/1 07/15] buiidsets: Add DownloadBitbakeErrorReport step

In reply to Aníbal Limón

Add DownloadBitbakeErrorReport step to buildsets that uses bitbake, this step is responsable to download bitbake error reports (if bitbake fails) to slave in order to send it to Error report web.

---
 buildset-config.controller/build-appliance.conf         | 1 +
 buildset-config.controller/buildtools.conf              | 1 +
 buildset-config.controller/nightly-arm-lsb.conf         | 1 +
 buildset-config.controller/nightly-arm.conf             | 1 +
 buildset-config.controller/nightly-arm64.conf           | 1 +
 buildset-config.controller/nightly-deb-non-deb.conf     | 1 +
 buildset-config.controller/nightly-deb.conf             | 1 +
 buildset-config.controller/nightly-ipk.conf             | 1 +
 buildset-config.controller/nightly-mips-lsb.conf        | 1 +
 buildset-config.controller/nightly-mips.conf            | 1 +
 buildset-config.controller/nightly-mips64.conf          | 1 +
 buildset-config.controller/nightly-multilib.conf        | 1 +
 buildset-config.controller/nightly-musl.conf            | 1 +
 buildset-config.controller/nightly-no-x11.conf          | 1 +
 buildset-config.controller/nightly-non-gpl3.conf        | 1 +
 buildset-config.controller/nightly-oecore.conf          | 1 +
 buildset-config.controller/nightly-ppc-lsb.conf         | 1 +
 buildset-config.controller/nightly-ppc.conf             | 1 +
 buildset-config.controller/nightly-qa-extras.conf       | 1 +
 buildset-config.controller/nightly-qa-logrotate.conf    | 1 +
 buildset-config.controller/nightly-qa-pam.conf          | 1 +
 buildset-config.controller/nightly-qa-skeleton.conf     | 1 +
 buildset-config.controller/nightly-qa-systemd.conf      | 1 +
 buildset-config.controller/nightly-qa-targetbuilds.conf | 1 +
 buildset-config.controller/nightly-rpm-non-rpm.conf     | 1 +
 buildset-config.controller/nightly-rpm.conf             | 1 +
 buildset-config.controller/nightly-uclibc.conf          | 1 +
 buildset-config.controller/nightly-world-lsb.conf       | 1 +
 buildset-config.controller/nightly-world.conf           | 1 +
 buildset-config.controller/nightly-x32.conf             | 1 +
 buildset-config.controller/nightly-x86-64-lsb.conf      | 1 +
 buildset-config.controller/nightly-x86-64.conf          | 1 +
 buildset-config.controller/nightly-x86-lsb.conf         | 1 +
 buildset-config.controller/nightly-x86.conf             | 1 +
 buildset-config.controller/nightly.conf                 | 1 +
 buildset-config.controller/poky-tiny.conf               | 1 +
 buildset-config.examples/awesomefirmware.conf           | 1 +
 buildset-config.freescale/nightly-fsl-arm-lsb.conf      | 1 +
 buildset-config.freescale/nightly-fsl-arm.conf          | 1 +
 buildset-config.freescale/nightly-fsl-ppc-lsb.conf      | 1 +
 buildset-config.freescale/nightly-fsl-ppc.conf          | 1 +
 buildset-config.iot-devkit/iot-devkit.conf              | 1 +
 buildset-config.kernel/kernel-arm-lsb.conf              | 1 +
 buildset-config.kernel/kernel-arm.conf                  | 1 +
 buildset-config.kernel/kernel-arm64.conf                | 1 +
 buildset-config.kernel/kernel-mips-lsb.conf             | 1 +
 buildset-config.kernel/kernel-mips.conf                 | 1 +
 buildset-config.kernel/kernel-ppc-lsb.conf              | 1 +
 buildset-config.kernel/kernel-ppc.conf                  | 1 +
 buildset-config.kernel/kernel-x86-64-lsb.conf           | 1 +
 buildset-config.kernel/kernel-x86-64.conf               | 1 +
 buildset-config.kernel/kernel-x86-lsb.conf              | 1 +
 buildset-config.kernel/kernel-x86.conf                  | 1 +
 buildset-config.kernel/nightly-kernel.conf              | 1 +
 buildset-config.tizen/nightly-tizen-ivi.conf            | 1 +
 buildset-config.tizen/nightly-tizen.conf                | 1 +
 buildset-config.tizen/nightly.conf                      | 1 +
 57 files changed, 57 insertions(+)
buildset-config.controller/build-appliance.conf +1 -0
index 59e6f74..4101b67 100644
@@ -19,6 +19,7 @@ steps: [{'SetDest':{}},
         {'CreateBBLayersConf': {'buildprovider' : 'yocto'}},
         {'BuildImages': {'images': 'universe -c fetch'}},
         {'BuildImages': {'images': 'build-appliance-image'}},
+        {'DownloadBitbakeErrorReports': {}},
         {'SendErrorReport': {}},
         {'PublishLayerTarballs':{}},
         {'PublishArtifacts': {'artifacts': ['build-appliance', 'md5sums']}}]
buildset-config.controller/buildtools.conf +1 -0
index cb8765d..a04c894 100644
@@ -15,5 +15,6 @@ steps: [{'SetDest':{}},
         {'CreateAutoConf': {'machine': 'qemux86-64', 'SDKMACHINE' : 'i686', 'distro': 'poky', 'buildapp': True}},
         {'BuildImages': {'images': 'uninative-tarball'}},
         {'PublishLayerTarballs':{}},
+        {'DownloadBitbakeErrorReports': {}},
         {'SendErrorReport': {}},
         {'PublishArtifacts': {'artifacts': ['buildtools-tarball', 'uninative', 'md5sums']}}]
buildset-config.controller/nightly-arm-lsb.conf +1 -0
index c742b3a..68ce6c1 100644
@@ -25,6 +25,7 @@ steps: [{'SetDest':{}},
         {'BuildImages': {'images': 'core-image-lsb core-image-lsb-sdk'}},
         {'SyncPersistDB' : {'commit' : True, 'distro':'poky-lsb'}},
         {'PublishLayerTarballs':{}},
+        {'DownloadBitbakeErrorReports': {}},
         {'SendErrorReport': {}},
         {'UploadToasterEventlog': {}},
         {'PublishArtifacts': {'artifacts': ['qemuarm', 'beagleboard', 'md5sums']}}]
buildset-config.controller/nightly-arm.conf +1 -0
index 76244ed..1941fed 100644
@@ -25,6 +25,7 @@ steps: [{'SetDest':{}},
         {'RunESDKSanityTests': {'images': 'core-image-minimal core-image-sato'}},
         {'SyncPersistDB' : {'commit' : True, 'distro':'poky'}},
         {'PublishLayerTarballs':{}},
+        {'DownloadBitbakeErrorReports': {}},
         {'SendErrorReport': {}},
         {'UploadToasterEventlog': {}},
         {'PublishArtifacts': {'artifacts': ['qemuarm', 'beagleboard', 'ipk', 'rpm', 'deb', 'toolchain', 'md5sums']}}]
buildset-config.controller/nightly-arm64.conf +1 -0
index 4476c7c..670b83e 100644
@@ -23,6 +23,7 @@ steps: [{'SetDest':{}},
         {'RunSDKSanityTests': {'images': 'core-image-sato'}},
         {'SyncPersistDB' : {'commit' : True, 'distro':'poky'}},
         {'PublishLayerTarballs':{}},
+        {'DownloadBitbakeErrorReports': {}},
         {'SendErrorReport': {}},
         {'UploadToasterEventlog': {}},
         {'PublishArtifacts': {'artifacts': ['qemuarm64', 'ipk', 'rpm', 'deb', 'toolchain', 'md5sums']}}]
buildset-config.controller/nightly-deb-non-deb.conf +1 -0
index 53e4c0f..a31c0f1 100644
@@ -12,4 +12,5 @@ steps: [{'SetDest':{}},
         {'CreateBBLayersConf': {'buildprovider' : 'yocto'}},
         {'BuildImages': {'images': 'core-image-sato core-image-sato-dev core-image-sato-sdk core-image-minimal core-image-minimal-dev'}},
         {'RunSanityTests': {'images': 'core-image-minimal core-image-sato core-image-sato-sdk'}},
+        {'DownloadBitbakeErrorReports': {}},
         {'SendErrorReport': {}}]
buildset-config.controller/nightly-deb.conf +1 -0
index 4a1bb95..f1f4001 100644
@@ -12,4 +12,5 @@ steps: [{'SetDest':{}},
         {'CreateBBLayersConf': {'buildprovider' : 'yocto'}},
         {'BuildImages': {'images': 'core-image-sato core-image-sato-dev core-image-sato-sdk core-image-minimal core-image-minimal-dev'}},
         {'RunSanityTests': {'images': 'core-image-minimal core-image-sato core-image-sato-sdk'}},
+        {'DownloadBitbakeErrorReports': {}},
         {'SendErrorReport': {}}]
buildset-config.controller/nightly-ipk.conf +1 -0
index c09fe34..cdebd02 100644
@@ -12,4 +12,5 @@ steps: [{'SetDest':{}},
         {'CreateBBLayersConf': {'buildprovider' : 'yocto'}},
         {'BuildImages': {'images': 'core-image-sato core-image-sato-dev core-image-sato-sdk core-image-minimal core-image-minimal-dev'}},
         {'RunSanityTests': {'images' : 'core-image-minimal core-image-sato core-image-sato-sdk'}},
+        {'DownloadBitbakeErrorReports': {}},
         {'SendErrorReport': {}}]
buildset-config.controller/nightly-mips-lsb.conf +1 -0
index a221029..eac6d93 100644
@@ -26,6 +26,7 @@ steps: [{'SetDest':{}},
         {'BuildImages': {'images': 'core-image-lsb core-image-lsb-sdk'}},
         {'SyncPersistDB' : {'commit' : True, 'distro':'poky-lsb'}},
         {'PublishLayerTarballs':{}},
+        {'DownloadBitbakeErrorReports': {}},
         {'SendErrorReport': {}},
         {'UploadToasterEventlog': {}},
         {'PublishArtifacts': {'artifacts': ['qemumips', 'routerstationpro', 'md5sums']}}]
buildset-config.controller/nightly-mips.conf +1 -0
index 23edb1d..9714924 100644
@@ -29,6 +29,7 @@ steps: [{'SetDest':{}},
         {'RunESDKSanityTests': {'images': 'core-image-minimal core-image-sato'}},
         {'SyncPersistDB' : {'commit' : True, 'distro':'poky'}},
         {'PublishLayerTarballs':{}},
+        {'DownloadBitbakeErrorReports': {}},
         {'SendErrorReport': {}},
         {'UploadToasterEventlog': {}},
         {'PublishArtifacts': {'artifacts': ['qemumips', 'routerstationpro', 'ipk', 'rpm', 'deb', 'toolchain', 'md5sums']}}]
buildset-config.controller/nightly-mips64.conf +1 -0
index 43ddca7..c35088f 100644
@@ -23,6 +23,7 @@ steps: [{'SetDest':{}},
         {'RunSDKSanityTests': {'images': 'core-image-sato'}},
         {'SyncPersistDB' : {'commit' : True, 'distro':'poky'}},
         {'PublishLayerTarballs':{}},
+        {'DownloadBitbakeErrorReports': {}},
         {'SendErrorReport': {}},
         {'UploadToasterEventlog': {}},
         {'PublishArtifacts': {'artifacts': ['qemumips64', 'ipk', 'rpm', 'deb', 'toolchain', 'md5sums']}}]
buildset-config.controller/nightly-multilib.conf +1 -0
index 0020494..6481019 100644
@@ -37,4 +37,5 @@ steps: [{'SetDest':{}},
                             'buildhistory' : False, 'multilib': 'lib64',
                             'distro': 'poky'}},
         {'BuildImages': {'images': 'lib64-core-image-sato lib64-core-image-sato-sdk'}},
+        {'DownloadBitbakeErrorReports': {}},
         {'SendErrorReport': {}}]
buildset-config.controller/nightly-musl.conf +1 -0
index 89aec9c..2d1dce5 100644
@@ -13,5 +13,6 @@ steps: [{'SetDest':{}},
                             'atextappend' : '\nTCLIBC="musl"\n' }},
         {'CreateBBLayersConf': {'buildprovider' : 'yocto'}},
         {'BuildImages': {'images':  'core-image-minimal core-image-full-cmdline core-image-sato'}},
+        {'DownloadBitbakeErrorReports': {}},
         {'SendErrorReport': {}}]
 
buildset-config.controller/nightly-no-x11.conf +1 -0
index a747036..0feb6cd 100644
@@ -15,5 +15,6 @@ steps: [{'SetDest':{}},
         {'SyncPersistDB' : {'distro' : 'poky'}},
         {'GetBitbakeVersion': {}},
         {'BuildImages': {'images': 'world'}},
+        {'DownloadBitbakeErrorReports': {}},
         {'SendErrorReport': {}},
         {'UploadToasterEventlog': {}}]
buildset-config.controller/nightly-non-gpl3.conf +1 -0
index 14bedb2..3368263 100644
@@ -14,4 +14,5 @@ steps: [{'SetDest':{}},
         {'CreateBBLayersConf': {'buildprovider' : 'yocto'}},
         {'BuildImages': {'images': 'core-image-minimal core-image-basic'}},
         {'CheckForGPLv3':{}},
+        {'DownloadBitbakeErrorReports': {}},
         {'SendErrorReport': {}}]
buildset-config.controller/nightly-oecore.conf +1 -0
index c51f9ac..dcee52d 100644
@@ -24,6 +24,7 @@ steps: [{'SetDest':{}},
                             'distro': 'oecore', 'buildhistory' : False}},
         {'BuildToolchainImages': {}},
         {'BuildImages': {'images': '-c populate_sdk_ext core-image-minimal'}},
+        {'DownloadBitbakeErrorReports': {}},
         {'SendErrorReport': {}}
         ]
 
buildset-config.controller/nightly-ppc-lsb.conf +1 -0
index 95e91a3..e596720 100644
@@ -26,6 +26,7 @@ steps: [{'SetDest':{}},
         {'BuildImages': {'images': 'core-image-lsb core-image-lsb-sdk'}},
         {'SyncPersistDB' : {'commit' : True, 'distro':'poky-lsb'}},
         {'PublishLayerTarballs':{}},
+        {'DownloadBitbakeErrorReports': {}},
         {'SendErrorReport': {}},
         {'UploadToasterEventlog': {}},
         {'PublishArtifacts': {'artifacts': ['qemuppc', 'mpc8315e-rdb', 'md5sums']}}]
buildset-config.controller/nightly-ppc.conf +1 -0
index 5f149e2..d6a8537 100644
@@ -28,6 +28,7 @@ steps: [{'SetDest':{}},
         {'RunESDKSanityTests': {'images': 'core-image-minimal core-image-sato'}},
         {'SyncPersistDB' : {'commit' : True, 'distro':'poky'}},
         {'PublishLayerTarballs':{}},
+        {'DownloadBitbakeErrorReports': {}},
         {'SendErrorReport': {}},
         {'UploadToasterEventlog': {}},
         {'PublishArtifacts': {'artifacts': ['qemuppc', 'mpc8315e-rdb', 'ipk', 'rpm', 'deb', 'toolchain', 'md5sums']}}]
buildset-config.controller/nightly-qa-extras.conf +1 -0
index 1ce0042..dcb03f0 100644
@@ -18,5 +18,6 @@ steps: [{'SetDest':{}},
                             'distro': 'poky', 'buildhistory' : False,
                             'atextappend' : '\nROOT_HOME = "/root"\n'}},
         {'BuildImages': {'images': 'core-image-minimal'}},
+        {'DownloadBitbakeErrorReports': {}},
         {'SendErrorReport': {}},
         {'RunSanityTests': {'images': 'core-image-minimal'}}]
buildset-config.controller/nightly-qa-logrotate.conf +1 -0
index 202eb92..779fddb 100644
@@ -13,6 +13,7 @@ steps: [{'SetDest':{}},
                             'atextappend' : '\nIMAGE_INSTALL_append = " logrotate"\n'}},
         {'CreateBBLayersConf': {'buildprovider' : 'yocto'}},
         {'BuildImages': {'images': 'core-image-sato'}},
+        {'DownloadBitbakeErrorReports': {}},
         {'SendErrorReport': {}},
         {'RunSanityTests': {'images': 'core-image-sato', 'suitesappend' : 'logrotate'}}]
 
buildset-config.controller/nightly-qa-pam.conf +1 -0
index 15d8fc0..c790bf5 100644
@@ -14,5 +14,6 @@ steps: [{'SetDest':{}},
         {'CreateBBLayersConf': {'buildprovider' : 'yocto'}},
         {'BuildImages': {'images': 'core-image-sato'}},
         {'SendErrorReport': {}},
+        {'DownloadBitbakeErrorReports': {}},
         {'RunSanityTests': {'images': 'core-image-sato', 'suitesappend' : 'pam'}}]
 
buildset-config.controller/nightly-qa-skeleton.conf +1 -0
index a0686b3..a0461eb 100644
@@ -13,6 +13,7 @@ steps: [{'SetDest':{}},
                             'atextappend' : '\nIMAGE_INSTALL_append = " service hello-mod"\n'}},
         {'CreateBBLayersConf': {'buildprovider' : 'yocto', 'layerdirs': ['meta-skeleton']}},
         {'BuildImages': {'images': 'core-image-sato'}},
+        {'DownloadBitbakeErrorReports': {}},
         {'SendErrorReport': {}},
         {'RunSanityTests': {'images': 'core-image-sato', 'suitesappend' : 'skeletoninit'}}]
 
buildset-config.controller/nightly-qa-systemd.conf +1 -0
index 4912d9b..fdf61c6 100644
@@ -23,5 +23,6 @@ steps: [{'SetDest':{}},
                             'buildhistory' : False, 'distro': 'poky',
                             'initmgr' : 'systemd'}},
         {'BuildImages': {'images': 'core-image-sato'}},
+        {'DownloadBitbakeErrorReports': {}},
         {'SendErrorReport': {}},
         {'RunSanityTests': {'images': 'core-image-sato', 'suitesappend' : 'systemd'}}]
buildset-config.controller/nightly-qa-targetbuilds.conf +1 -0
index 7ad7400..fd3d0da 100644
@@ -27,6 +27,7 @@ steps: [{'SetDest':{}},
         {'CreateAutoConf': {'machine': 'qemuppc', 'SDKMACHINE' : 'x86_64',
                             'buildhistory' : False, 'distro': 'poky'}},
         {'BuildImages': {'images': 'core-image-sato-sdk'}},
+        {'DownloadBitbakeErrorReports': {}},
         {'SendErrorReport': {}},
         {'RunSanityTests': {'images': 'core-image-sato-sdk',
                             'suites' : 'ping ssh buildsudoku buildcvs buildiptables'}}]
buildset-config.controller/nightly-rpm-non-rpm.conf +1 -0
index 6f3dedd..b8b4c2a 100644
@@ -13,5 +13,6 @@ steps: [{'SetDest':{}},
                             'packages': 'rpm'}},
         {'CreateBBLayersConf': {'buildprovider' : 'yocto'}},
         {'BuildImages': {'images' : 'core-image-sato core-image-sato-dev core-image-sato-sdk core-image-minimal core-image-minimal-dev'}},
+        {'DownloadBitbakeErrorReports': {}},
         {'SendErrorReport': {}},
         {'RunSanityTests': {'images' : 'core-image-minimal core-image-sato core-image-sato-sdk'}}]
buildset-config.controller/nightly-rpm.conf +1 -0
index 48bd1a8..f03a12f 100644
@@ -13,5 +13,6 @@ steps: [{'SetDest':{}},
                             'packages': 'rpm'}},
         {'CreateBBLayersConf': {'buildprovider' : 'yocto'}},
         {'BuildImages': {'images' : 'core-image-sato core-image-sato-dev core-image-sato-sdk core-image-minimal core-image-minimal-dev'}},
+        {'DownloadBitbakeErrorReports': {}},
         {'SendErrorReport': {}},
         {'RunSanityTests': {'images' : 'core-image-minimal core-image-sato core-image-sato-sdk'}}]
buildset-config.controller/nightly-uclibc.conf +1 -0
index 2e63110..4063040 100644
@@ -13,5 +13,6 @@ steps: [{'SetDest':{}},
                             'atextappend' : '\nTCLIBC="uclibc"\n' }},
         {'CreateBBLayersConf': {'buildprovider' : 'yocto'}},
         {'BuildImages': {'images': 'core-image-minimal'}},
+        {'DownloadBitbakeErrorReports': {}},
         {'SendErrorReport': {}}]
 
buildset-config.controller/nightly-world-lsb.conf +1 -0
index 4c9994c..1117f06 100644
@@ -21,6 +21,7 @@ steps: [{'SetDest':{}},
                             'distro': 'poky-lsb'}},
         {'CreateBBLayersConf': {'buildprovider' : 'yocto'}},
         {'BuildImages': {'images': 'world'}},
+        {'DownloadBitbakeErrorReports': {}},
         {'SendErrorReport': {}},
         {'PublishArtifacts': {'artifacts': ['ipk', 'rpm', 'deb']}}]
 
buildset-config.controller/nightly-world.conf +1 -0
index 12c06e4..53b7286 100644
@@ -13,6 +13,7 @@ steps: [{'SetDest':{}},
                             'distro': 'poky'}},
         {'CreateBBLayersConf': {'buildprovider' : 'yocto'}},
         {'BuildImages': {'images': 'world'}},
+        {'DownloadBitbakeErrorReports': {}},
         {'SendErrorReport': {}},
         {'PublishArtifacts': {'artifacts': ['ipk', 'rpm', 'deb']}}]
 
buildset-config.controller/nightly-x32.conf +1 -0
index 1fbfc10..42d38ac 100644
@@ -20,6 +20,7 @@ steps: [{'SetDest':{}},
                             'buildhistory' : False, 'x32': True,
                             'distro': 'poky'}},
         {'RunSanityTests': {'images': 'core-image-sato', 'suitesappend' : 'x32lib'}},
+        {'DownloadBitbakeErrorReports': {}},
         {'SendErrorReport': {}},
         {'UploadToasterEventlog': {}},
         {'PublishArtifacts': {'artifacts': ['md5sums']}}]
buildset-config.controller/nightly-x86-64-lsb.conf +1 -0
index cd0ddaa..704c508 100644
@@ -26,6 +26,7 @@ steps: [{'SetDest':{}},
         {'BuildImages': {'images': 'core-image-lsb core-image-lsb-sdk'}},
         {'SyncPersistDB' : {'commit' : True, 'distro':'poky-lsb'}},
         {'PublishLayerTarballs':{}},
+        {'DownloadBitbakeErrorReports': {}},
         {'SendErrorReport': {}},
         {'UploadToasterEventlog': {}},
         {'PublishArtifacts': {'artifacts': ['qemux86-64', 'genericx86-64', 'md5sums']}}]
buildset-config.controller/nightly-x86-64.conf +1 -0
index 2bba8c1..6a003f5 100644
@@ -30,6 +30,7 @@ steps: [{'SetDest':{}},
         {'RunESDKSanityTests': {'images': 'core-image-minimal core-image-sato'}},
         {'SyncPersistDB' : {'commit' : True, 'distro':'poky'}},
         {'PublishLayerTarballs':{}},
+        {'DownloadBitbakeErrorReports': {}},
         {'SendErrorReport': {}},
         {'UploadToasterEventlog': {}},
         {'PublishArtifacts': {'artifacts': ['qemux86-64', 'genericx86-64', 'ipk', 'rpm', 'deb', 'toolchain', 'md5sums']}}]
buildset-config.controller/nightly-x86-lsb.conf +1 -0
index f32d495..ea7f58e 100644
@@ -26,6 +26,7 @@ steps: [{'SetDest':{}},
         {'BuildImages': {'images': 'core-image-lsb core-image-lsb-sdk'}},
         {'SyncPersistDB' : {'commit' : True, 'distro':'poky-lsb'}},
         {'PublishLayerTarballs':{}},
+        {'DownloadBitbakeErrorReports': {}},
         {'SendErrorReport': {}},
         {'UploadToasterEventlog': {}},
         {'PublishArtifacts': {'artifacts': ['qemux86', 'genericx86', 'md5sums']}}]
buildset-config.controller/nightly-x86.conf +1 -0
index 56e5916..e965c8f 100644
@@ -30,6 +30,7 @@ steps: [{'SetDest':{}},
         {'RunESDKSanityTests': {'images': 'core-image-minimal core-image-sato'}},
         {'SyncPersistDB' : {'commit' : True, 'distro':'poky'}},
         {'PublishLayerTarballs':{}},
+        {'DownloadBitbakeErrorReports': {}},
         {'SendErrorReport': {}},
         {'UploadToasterEventlog': {}},
         {'PublishArtifacts': {'artifacts': ['qemux86', 'genericx86', 'ipk', 'rpm', 'deb', 'toolchain', 'md5sums']}}]
buildset-config.controller/nightly.conf +1 -0
index b039cb1..2734bf7 100644
@@ -152,6 +152,7 @@ steps: [{'SetDest':{}},
         {'BuildImages': {'images': 'adt-installer'}},
         {'PublishArtifacts': {'artifacts': ['adt-installer-QA', 'adtrepo-dev']}},
         {'BitbakeSelftest': {}},
+        {'DownloadBitbakeErrorReports': {}},
         {'SendErrorReport': {}},
         {'TriggerBuilds': {'schedulerName': 'buildhistory',
                            'waitForFinish': 'False',
buildset-config.controller/poky-tiny.conf +1 -0
index 04219e1..291e031 100644
@@ -12,6 +12,7 @@ steps: [{'SetDest':{}},
         {'CreateBBLayersConf': {'buildprovider' : 'yocto'}},
         {'BuildImages': {'images': 'core-image-minimal'}},
         {'PublishLayerTarballs':{}},
+        {'DownloadBitbakeErrorReports': {}},
         {'SendErrorReport': {}},
         {'PublishArtifacts': {'artifacts': ['tiny', 'md5sums']}}]
 
buildset-config.examples/awesomefirmware.conf +1 -0
index a34de54..d4bb436 100644
@@ -29,6 +29,7 @@ steps: [{'SetDest':{}},
         {'BuildImages': {'images': 'core-image-minimal'}},
         {'CreateGPLTarball': {}},
         {'PublishArtifacts': {'artifacts': ['genericx86-64']}},
+        {'DownloadBitbakeErrorReports': {}},
         {'SendErrorReport': {}},
         {'UploadToasterEventlog': {}},
         {'SendQAEmail': {}},
buildset-config.freescale/nightly-fsl-arm-lsb.conf +1 -0
index 4124694..fd4178c 100644
@@ -35,6 +35,7 @@ steps: [{'SetDest':{}},
                             'devkernel' : False}},
         {'BuildImages': {'images': 'core-image-lsb core-image-lsb-dev core-image-lsb-sdk LSB-QT-IMAGES'}},
         {'PublishLayerTarballs':{}},
+        {'DownloadBitbakeErrorReports': {}},
         {'SendErrorReport': {}},
         {'UploadToasterEventlog': {}},
         {'PublishArtifacts': {'artifacts': ['imx53qsb', 'imx6qsabresd', 'imx28evk', 'md5sums']}}]
buildset-config.freescale/nightly-fsl-arm.conf +1 -0
index 59e5745..16b88c6 100644
@@ -40,6 +40,7 @@ steps: [{'SetDest':{}},
                             'devkernel' : False}},
         {'BuildImages': {'images': 'core-image-sato core-image-sato-dev core-image-sato-sdk core-image-minimal core-image-minimal-dev'}},
         {'PublishLayerTarballs':{}},
+        {'DownloadBitbakeErrorReports': {}},
         {'SendErrorReport': {}},
         {'UploadToasterEventlog': {}},
         {'PublishArtifacts': {'artifacts': ['imx53qsb', 'imx6qsabresd', 'imx28evk', 'ipk', 'toolchain', 'md5sums']}}]
buildset-config.freescale/nightly-fsl-ppc-lsb.conf +1 -0
index a7cae9c..2b6defc 100644
@@ -25,6 +25,7 @@ steps: [{'SetDest':{}},
         {'GetBitbakeVersion': {}},        
         {'BuildImages': {'images': 'core-image-lsb core-image-lsb-dev core-image-lsb-sdk LSB-QT-IMAGES'}},
         {'PublishLayerTarballs':{}},
+        {'DownloadBitbakeErrorReports': {}},
         {'SendErrorReport': {}},
         {'UploadToasterEventlog': {}},
         {'PublishArtifacts': {'artifacts': ['p1022ds', 'md5sums']}}]
buildset-config.freescale/nightly-fsl-ppc.conf +1 -0
index 7c04051..eaf2e8d 100644
@@ -26,6 +26,7 @@ steps: [{'SetDest':{}},
         {'BuildToolchainImages': {}},
         {'BuildImages': {'images': '-c populate_sdk_ext core-image-minimal'}},
         {'PublishLayerTarballs':{}},
+        {'DownloadBitbakeErrorReports': {}},
         {'SendErrorReport': {}},
         {'UploadToasterEventlog': {}},
         {'PublishArtifacts': {'artifacts': ['p1022ds', 'ipk', 'toolchain', 'md5sums']}}]
buildset-config.iot-devkit/iot-devkit.conf +1 -0
index 3ec5945..bd4c024 100644
@@ -29,5 +29,6 @@ steps: [{'SetDest':{}},
           'meta-openembedded/meta-filesystems']}},
         {'BuildImages': {'images': 'iot-devkit-image iot-devkit-prof-image iot-devkit-prof-dev-image'}},
         {'PublishLayerTarballs':{}},
+        {'DownloadBitbakeErrorReports': {}},
         {'SendErrorReport': {}},
         {'PublishArtifacts': {'artifacts': ['quark', 'ipk', 'md5sums']}}]
buildset-config.kernel/kernel-arm-lsb.conf +1 -0
index 444ba44..b317085 100644
@@ -55,5 +55,6 @@ steps: [{'SetDest':{}},
         {'SyncPersistDB' : {'distro' : 'poky'}},
         {'BuildImages': {'images': 'core-image-kernel-dev'}},
         {'RunSanityTests': {'images': 'core-image-kernel-dev'}},
+        {'DownloadBitbakeErrorReports': {}},
         {'SendErrorReport': {}}]
 
buildset-config.kernel/kernel-arm.conf +1 -0
index 91ef0c1..d4b6400 100644
@@ -49,5 +49,6 @@ steps: [{'SetDest':{}},
         {'SyncPersistDB' : {'distro' : 'poky'}},
         {'BuildImages': {'images': 'core-image-kernel-dev'}},
         {'RunSanityTests': {'images': 'core-image-kernel-dev'}},
+        {'DownloadBitbakeErrorReports': {}},
         {'SendErrorReport': {}}]
 
buildset-config.kernel/kernel-arm64.conf +1 -0
index 2d49819..dd4a10b 100644
@@ -49,5 +49,6 @@ steps: [{'SetDest':{}},
         {'SyncPersistDB' : {'distro' : 'poky'}},
         {'BuildImages': {'images': 'core-image-kernel-dev'}},
         {'RunSanityTests': {'images': 'core-image-kernel-dev'}},
+        {'DownloadBitbakeErrorReports': {}},
         {'SendErrorReport': {}}]
 
buildset-config.kernel/kernel-mips-lsb.conf +1 -0
index 3f24814..fe703fc 100644
@@ -55,4 +55,5 @@ steps: [{'SetDest':{}},
         {'SyncPersistDB' : {'distro' : 'poky'}},
         {'BuildImages': {'images': 'core-image-kernel-dev'}},
         {'RunSanityTests': {'images': 'core-image-kernel-dev'}},
+        {'DownloadBitbakeErrorReports': {}},
         {'SendErrorReport': {}}]
buildset-config.kernel/kernel-mips.conf +1 -0
index 97d1f97..679dd61 100644
@@ -49,4 +49,5 @@ steps: [{'SetDest':{}},
         {'SyncPersistDB' : {'distro' : 'poky'}},
         {'BuildImages': {'images': 'core-image-kernel-dev'}},
         {'RunSanityTests': {'images': 'core-image-kernel-dev'}},
+        {'DownloadBitbakeErrorReports': {}},
         {'SendErrorReport': {}}]
buildset-config.kernel/kernel-ppc-lsb.conf +1 -0
index 67493b4..d0017c8 100644
@@ -55,4 +55,5 @@ steps: [{'SetDest':{}},
         {'SyncPersistDB' : {'distro' : 'poky'}},
         {'BuildImages': {'images': 'core-image-kernel-dev'}},
         {'RunSanityTests': {'images': 'core-image-kernel-dev'}},
+        {'DownloadBitbakeErrorReports': {}},
         {'SendErrorReport': {}}]
buildset-config.kernel/kernel-ppc.conf +1 -0
index 973ba68..7b1b212 100644
@@ -49,4 +49,5 @@ steps: [{'SetDest':{}},
         {'SyncPersistDB' : {'distro' : 'poky'}},
         {'BuildImages': {'images': 'core-image-kernel-dev'}},
         {'RunSanityTests': {'images': 'core-image-kernel-dev'}},
+        {'DownloadBitbakeErrorReports': {}},
         {'SendErrorReport': {}}]
buildset-config.kernel/kernel-x86-64-lsb.conf +1 -0
index 4fe6604..af7eb26 100644
@@ -55,4 +55,5 @@ steps: [{'SetDest':{}},
         {'SyncPersistDB' : {'distro' : 'poky'}},
         {'BuildImages': {'images': 'core-image-kernel-dev'}},
         {'RunSanityTests': {'images': 'core-image-kernel-dev'}},
+        {'DownloadBitbakeErrorReports': {}},
         {'SendErrorReport': {}}]
buildset-config.kernel/kernel-x86-64.conf +1 -0
index 039eb4a..1edc34c 100644
@@ -49,4 +49,5 @@ steps: [{'SetDest':{}},
         {'SyncPersistDB' : {'distro' : 'poky'}},
         {'BuildImages': {'images': 'core-image-kernel-dev'}},
         {'RunSanityTests': {'images': 'core-image-kernel-dev'}},
+        {'DownloadBitbakeErrorReports': {}},
         {'SendErrorReport': {}}]
buildset-config.kernel/kernel-x86-lsb.conf +1 -0
index e33a72f..0d456fb 100644
@@ -55,4 +55,5 @@ steps: [{'SetDest':{}},
         {'SyncPersistDB' : {'distro' : 'poky'}},
         {'BuildImages': {'images': 'core-image-kernel-dev'}},
         {'RunSanityTests': {'images': 'core-image-kernel-dev'}},
+        {'DownloadBitbakeErrorReports': {}},
         {'SendErrorReport': {}}]
buildset-config.kernel/kernel-x86.conf +1 -0
index a3c41f9..b830449 100644
@@ -49,4 +49,5 @@ steps: [{'SetDest':{}},
         {'SyncPersistDB' : {'distro' : 'poky'}},
         {'BuildImages': {'images': 'core-image-kernel-dev'}},
         {'RunSanityTests': {'images': 'core-image-kernel-dev'}},
+        {'DownloadBitbakeErrorReports': {}},
         {'SendErrorReport': {}}]
buildset-config.kernel/nightly-kernel.conf +1 -0
index 6d258f8..36b5c84 100644
@@ -58,5 +58,6 @@ steps: [{'SetDest':{}},
                            'kernel-x86-64': {}, 'kernel-x86-64-lsb': {},
                            'kernel-x86': {}, 'kernel-x86-lsb': {}, 'kernel-arm64': {}},
                            'schedulerNames_nowait' : {}}},
+        {'DownloadBitbakeErrorReports': {}},
         {'SendErrorReport': {}},
         {'SendQAEmail': {}}]
buildset-config.tizen/nightly-tizen-ivi.conf +1 -0
index bbffc81..7fc5b35 100644
@@ -19,5 +19,6 @@ steps: [{'SetDest':{}},
               'meta-tizen/meta-tizen-common-share', 'meta-tizen/meta-tizen-common-devtools', \
               'meta-tizen/meta-tizen-common-demo', 'meta-tizen/meta-tizen-ivi']}},
         {'BuildImages': {'images': 'tizen-ivi-Modello-image'}},
+        {'DownloadBitbakeErrorReports': {}},
         {'SendErrorReport': {}}
         ]
buildset-config.tizen/nightly-tizen.conf +1 -0
index 42bec9d..288d866 100644
@@ -18,6 +18,7 @@ steps: [{'SetDest':{}},
               'meta-tizen/meta-tizen-common-share', 'meta-tizen/meta-tizen-common-devtools', \
               'meta-tizen/meta-tizen-common-demo']}},
         {'BuildImages': {'images': 'tizen-common-core-image-crosswalk-dev'}},
+        {'DownloadBitbakeErrorReports': {}},
         {'SendErrorReport': {}}
         ]
 
buildset-config.tizen/nightly.conf +1 -0
index e19e76c..f097b22 100644
@@ -42,6 +42,7 @@ steps: [{'SetDest':{}},
         {'TriggerBuilds': {'schedulerName': 'main-build', 'waitForFinish': 'True',
                            'schedulerNames': {'nightly-tizen-ivi': {}, 'nightly-tizen': {}},
                            'schedulerNames_nowait' : {}}},
+        {'DownloadBitbakeErrorReports': {}},
         {'SendErrorReport': {}},
         {'TriggerBuilds': {'schedulerName': 'buildhistory',
                            'waitForFinish': 'False',
Signature · 1 line
2.1.4
#10 lore raw

PATCH v2 1/1 10/15] autobuilder/lib/{ABtools, builsteps}.py: Create save_error_report func

In reply to Aníbal Limón

Create new generic function save_error_report based on _saveBitbakeErrorReport in order to use the same function on OESelftest error reports.

---
 .../site-packages/autobuilder/lib/ABTools.py       | 13 ++++++++++++
 .../site-packages/autobuilder/lib/buildsteps.py    | 23 +++++-----------------
 2 files changed, 18 insertions(+), 18 deletions(-)
lib/python2.7/site-packages/autobuilder/lib/ABTools.py +13 -0
index 579ae85..1e09de7 100644
@@ -11,6 +11,9 @@ __email__ = "[email protected]"
 '''
 
 import os
+import time
+import json
+import codecs
 
 from autobuilder.config import YOCTO_ABBASE
 
@@ -35,3 +38,13 @@ def get_error_report_worker_dir(buildername):
         errordir = os.environ.get('ERROR_REPORT_DIR')
 
     return errordir
+
+def save_error_report(buildername, buildnumber, report, report_type):
+    errordir = get_error_report_controller_dir(buildername, buildnumber)
+    if not os.path.exists(errordir):
+        os.makedirs(errordir)
+
+    filename = os.path.join(errordir, "error_report_%s_%d.txt" % \
+            (report_type, int(time.time())))
+    with codecs.open(filename, 'w', 'utf-8') as f:
+        json.dump(report, f, indent=4, sort_keys=True)
lib/python2.7/site-packages/autobuilder/lib/buildsteps.py +5 -18
index c290218..eee0c1b 100644
@@ -13,14 +13,11 @@ __email__ = "[email protected]"
 import os
 import re
 
-import time
-import json
-import codecs
 
 from buildbot.steps.shell import ShellCommand
 from buildbot.process.buildstep import LogLineObserver
 
-from lib.ABTools import get_error_report_controller_dir
+from lib.ABTools import save_error_report
 
 DEFAULT_SHELL = 'bash'
 
@@ -139,21 +136,11 @@ class BitbakeShellCommand(ShellCommand):
 
         return report
 
-    def _saveBitbakeErrorReport(self, report):
-        buildername = self.getProperty('buildername')
-        buildnumber = self.getProperty('buildnumber')
-
-        errordir = get_error_report_controller_dir(buildername, buildnumber)
-        if not os.path.exists(errordir):
-            os.makedirs(errordir)
-
-        filename = os.path.join(errordir, "error_report_bitbake_%d.txt" % \
-                int(time.time()))
-        with codecs.open(filename, 'w', 'utf-8') as f:
-            json.dump(report, f, indent=4, sort_keys=True)
-
     def commandComplete(self, cmd):
         if cmd.didFail():
             if self.errors['bitbake']:
+                buildername = self.getProperty('buildername')
+                buildnumber = self.getProperty('buildnumber')
+
                 report = self._createBitbakeErrorReport(self.errors['log'])
-                self._saveBitbakeErrorReport(report)
+                save_error_report(buildername, buildnumber, report, 'bitbake')
Signature · 1 line
2.1.4
#11 lore raw

PATCH v2 1/1 11/15] autobuilder/lib/ABTools.py: Add get_lsb_distro function

In reply to Aníbal Limón

Try to get Linux distribution ID using lsb_release if lsb_release isn't installed use information provided by linux_distribution() method in platform returns "DISTRONAME-VERSION".

---
 .../site-packages/autobuilder/lib/ABTools.py       | 29 ++++++++++++++++++++++
 1 file changed, 29 insertions(+)
lib/python2.7/site-packages/autobuilder/lib/ABTools.py +29 -0
index 1e09de7..9ff1bc8 100644
@@ -15,6 +15,9 @@ import time
 import json
 import codecs
 
+import subprocess
+import platform
+
 from autobuilder.config import YOCTO_ABBASE
 
 def capitalize(word):
@@ -48,3 +51,29 @@ def save_error_report(buildername, buildnumber, report, report_type):
             (report_type, int(time.time())))
     with codecs.open(filename, 'w', 'utf-8') as f:
         json.dump(report, f, indent=4, sort_keys=True)
+
+def get_lsb_distro():
+    """
+        Try to get Linux distribution ID using lsb_release if lsb_release
+        isn't installed use information provided by linux_distribution()
+        method in platform returns "DISTRONAME-VERSION".
+    """
+
+    lsb_distro = None
+
+    try:
+        output = subprocess.check_output("lsb_release -ir", shell=True)
+
+        lines = output.splitlines()
+
+        # Output example:
+        # Distributor ID:\tDebian
+        # Release:\t8.4
+        distro_name = lines[0].split(':')[1].strip()
+        version = lines[1].split(':')[1].strip()
+
+        lsb_distro = "%s-%s" % (distro_name, version)
+    except Exception as e:
+        lsb_distro = "%s-%s" % platform.linux_distribution()[0:2]
+
+    return lsb_distro
Signature · 1 line
2.1.4
#12 lore raw

PATCH v2 1/1 12/15] buildsteps/RunOeSelftest.py: Add support for create/save error reports

In reply to Aníbal Limón

Now when oe-selftest fails the error report for send to the Error report web are created and saved in the controller.

Since oe-selftest is intended to do a build system testing the values for MACHINE, TARGET_SYS and DISTRO are provided so use universal value instead.

---
 .../autobuilder/buildsteps/RunOeSelftest.py        | 46 ++++++++++++++++++++++
 1 file changed, 46 insertions(+)
lib/python2.7/site-packages/autobuilder/buildsteps/RunOeSelftest.py +46 -0
index a1df5cb..5b9e408 100644
@@ -8,9 +8,12 @@ __maintainer__ = "Stefan Stanacar"
 __email__ = "[email protected]"
 '''
 
+import platform
 
 from buildbot.steps.shell import ShellCommand
 
+from lib.ABTools import save_error_report, get_lsb_distro
+
 class RunOeSelftest(ShellCommand):
     haltOnFailure = False
     flunkOnFailure = True
@@ -35,3 +38,46 @@ class RunOeSelftest(ShellCommand):
         else:
             self.command += "if [ -d ../meta-selftest ]; then export DISPLAY=:1; oe-selftest " + self.tests + "; else echo 'Skipping step - no meta-selftest layer here'; fi"
         ShellCommand.start(self)
+
+    def _createOESelftestErrorReport(self, log):
+        """
+            Create a oe-selftest error report since oe-selftest
+            is intended to test the build system no information
+            about machine, distro and target_sys are provided so
+            use universal value.
+        """
+
+        report = {}
+
+        report['machine'] = 'universal'
+        report['build_sys'] = "%s-%s" % (platform.machine(),
+                platform.system().lower())
+        report['nativelsb'] = get_lsb_distro() or 'universal'
+        report['distro'] = 'universal'
+        report['target_sys'] = 'universal'
+
+        report['component'] = 'oe-selftest'
+        report['branch_commit'] = self.getProperty('branch') + ': ' + \
+                self.getProperty('got_revision')
+
+        report['error_type'] = 'oe-selftest'
+
+        failure = {}
+        failure['package'] = 'oe-selftest'
+        failure['task'] = self.command[self.command.find('oe-selftest'):]
+        failure['log'] = log
+
+        report['failures'] = [failure]
+
+        return report
+
+    def commandComplete(self, cmd):
+        if cmd.didFail():
+            buildername = self.getProperty('buildername')
+            buildnumber = self.getProperty('buildnumber')
+
+            log = cmd.logs['stdio'].getText()
+
+            report = self._createOESelftestErrorReport(log)
+            save_error_report(buildername, buildnumber, report, 'oe_selftest')
+
Signature · 1 line
2.1.4
#13 lore raw

PATCH v2 1/1 13/15] nightly-oe-selftest.conf: Add steps for Download and Send error report.

In reply to Aníbal Limón

These steps are needed for enable sending of Oe selftest error reports to the Error report WEB.

---
 buildset-config.controller/nightly-oe-selftest.conf | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
buildset-config.controller/nightly-oe-selftest.conf +4 -1
index 155d3d5..1aa3309 100644
@@ -14,4 +14,7 @@ steps: [{'SetDest':{}},
         {'CreateBBLayersConf': {'buildprovider' : 'yocto'}},
         {'BuildImages': {'images': 'core-image-minimal'}},
         {'CreateBBLayersConf': {'buildprovider' : 'yocto', 'layerdirs': ['meta-selftest']}},
-        {'RunOeSelftest': {}}]
+        {'RunOeSelftest': {}},
+        {'DownloadBitbakeErrorReports': {}},
+        {'SendErrorReport': {}},
+	]
Signature · 1 line
2.1.4
#14 lore raw

PATCH v2 1/1 14/15] autobuilder/buildsteps: Rename DownloadBitbakeErrorReports to DownloadErrorReports

In reply to Aníbal Limón

Since DownloadBitbakeErrorReports is also downloading reports generated by RunOESelftest it don't make sense to have a hard reference of bitbake in the buildstep.

---
 .../buildsteps/DownloadBitbakeErrorReports.py      | 42 ----------------------
 .../autobuilder/buildsteps/DownloadErrorReports.py | 42 ++++++++++++++++++++++
 2 files changed, 42 insertions(+), 42 deletions(-)
 delete mode 100644 lib/python2.7/site-packages/autobuilder/buildsteps/DownloadBitbakeErrorReports.py
 create mode 100644 lib/python2.7/site-packages/autobuilder/buildsteps/DownloadErrorReports.py
lib/python2.7/site-packages/autobuilder/buildsteps/DownloadBitbakeErrorReports.py deleted +0 -42
deleted file mode 100644
index fe20247..0000000
@@ -1,42 +0,0 @@
-'''
-Created on Jan 1, 2016
-
-__author__ = "Anibal (alimon) Limon"
-__copyright__ = "Copyright 2016, Intel Corp."
-__credits__ = ["Anibal Limon"]
-__license__ = "GPL"
-__version__ = "2.0"
-__maintainer__ = "Anibal Limon"
-__email__ = "[email protected]"
-'''
-
-import os
-from buildbot.steps.transfer import DirectoryDownload
-from buildbot.process.buildstep import SKIPPED
-
-from lib.ABTools import get_error_report_worker_dir, \
-        get_error_report_controller_dir
-
-class DownloadBitbakeErrorReports(DirectoryDownload):
-    """
-        Transfer from master to slave the error reports when bitbake
-        fails.
-    """
-    name = "DownloadBitbakeErrorReports"
-
-    def __init__(self, factory, argdict=None, **kwargs):
-        super(DownloadBitbakeErrorReports, self).__init__(
-                "", "")
-
-    def start(self):
-        buildername = self.getProperty('buildername')
-        buildnumber = self.getProperty('buildnumber')
-
-        self.mastersrc = get_error_report_controller_dir(buildername,
-                buildnumber)
-        self.slavedest = get_error_report_worker_dir(buildername)
-
-        if not os.path.exists(self.mastersrc):
-            return SKIPPED
-
-        super(DownloadBitbakeErrorReports, self).start()
lib/python2.7/site-packages/autobuilder/buildsteps/DownloadErrorReports.py new file +42 -0

42 lines not on this page · raw message

Signature · 1 line
2.1.4
#15 lore raw

PATCH v2 1/1 15/15] buildset-config: Update references from DownloadBitbakeErrorReports to DownloadErrorReports

In reply to Aníbal Limón

Since DownloadBitbakeErrorReports is also downloading reports generated by RunOESelftest it don't make sense to have a hard reference of bitbake in the buildstep.

---
 buildset-config.controller/build-appliance.conf         | 2 +-
 buildset-config.controller/buildtools.conf              | 2 +-
 buildset-config.controller/nightly-arm-lsb.conf         | 2 +-
 buildset-config.controller/nightly-arm.conf             | 2 +-
 buildset-config.controller/nightly-arm64.conf           | 2 +-
 buildset-config.controller/nightly-deb-non-deb.conf     | 2 +-
 buildset-config.controller/nightly-deb.conf             | 2 +-
 buildset-config.controller/nightly-ipk.conf             | 2 +-
 buildset-config.controller/nightly-mips-lsb.conf        | 2 +-
 buildset-config.controller/nightly-mips.conf            | 2 +-
 buildset-config.controller/nightly-mips64.conf          | 2 +-
 buildset-config.controller/nightly-multilib.conf        | 2 +-
 buildset-config.controller/nightly-musl.conf            | 2 +-
 buildset-config.controller/nightly-no-x11.conf          | 2 +-
 buildset-config.controller/nightly-non-gpl3.conf        | 2 +-
 buildset-config.controller/nightly-oe-selftest.conf     | 2 +-
 buildset-config.controller/nightly-oecore.conf          | 2 +-
 buildset-config.controller/nightly-ppc-lsb.conf         | 2 +-
 buildset-config.controller/nightly-ppc.conf             | 2 +-
 buildset-config.controller/nightly-qa-extras.conf       | 2 +-
 buildset-config.controller/nightly-qa-logrotate.conf    | 2 +-
 buildset-config.controller/nightly-qa-pam.conf          | 2 +-
 buildset-config.controller/nightly-qa-skeleton.conf     | 2 +-
 buildset-config.controller/nightly-qa-systemd.conf      | 2 +-
 buildset-config.controller/nightly-qa-targetbuilds.conf | 2 +-
 buildset-config.controller/nightly-rpm-non-rpm.conf     | 2 +-
 buildset-config.controller/nightly-rpm.conf             | 2 +-
 buildset-config.controller/nightly-uclibc.conf          | 2 +-
 buildset-config.controller/nightly-world-lsb.conf       | 2 +-
 buildset-config.controller/nightly-world.conf           | 2 +-
 buildset-config.controller/nightly-x32.conf             | 2 +-
 buildset-config.controller/nightly-x86-64-lsb.conf      | 2 +-
 buildset-config.controller/nightly-x86-64.conf          | 2 +-
 buildset-config.controller/nightly-x86-lsb.conf         | 2 +-
 buildset-config.controller/nightly-x86.conf             | 2 +-
 buildset-config.controller/nightly.conf                 | 2 +-
 buildset-config.controller/poky-tiny.conf               | 2 +-
 buildset-config.examples/awesomefirmware.conf           | 2 +-
 buildset-config.freescale/nightly-fsl-arm-lsb.conf      | 2 +-
 buildset-config.freescale/nightly-fsl-arm.conf          | 2 +-
 buildset-config.freescale/nightly-fsl-ppc-lsb.conf      | 2 +-
 buildset-config.freescale/nightly-fsl-ppc.conf          | 2 +-
 buildset-config.iot-devkit/iot-devkit.conf              | 2 +-
 buildset-config.kernel/kernel-arm-lsb.conf              | 2 +-
 buildset-config.kernel/kernel-arm.conf                  | 2 +-
 buildset-config.kernel/kernel-arm64.conf                | 2 +-
 buildset-config.kernel/kernel-mips-lsb.conf             | 2 +-
 buildset-config.kernel/kernel-mips.conf                 | 2 +-
 buildset-config.kernel/kernel-ppc-lsb.conf              | 2 +-
 buildset-config.kernel/kernel-ppc.conf                  | 2 +-
 buildset-config.kernel/kernel-x86-64-lsb.conf           | 2 +-
 buildset-config.kernel/kernel-x86-64.conf               | 2 +-
 buildset-config.kernel/kernel-x86-lsb.conf              | 2 +-
 buildset-config.kernel/kernel-x86.conf                  | 2 +-
 buildset-config.kernel/nightly-kernel.conf              | 2 +-
 buildset-config.tizen/nightly-tizen-ivi.conf            | 2 +-
 buildset-config.tizen/nightly-tizen.conf                | 2 +-
 buildset-config.tizen/nightly.conf                      | 2 +-
 58 files changed, 58 insertions(+), 58 deletions(-)
buildset-config.controller/build-appliance.conf +1 -1
index 4101b67..5150876 100644
@@ -19,7 +19,7 @@ steps: [{'SetDest':{}},
         {'CreateBBLayersConf': {'buildprovider' : 'yocto'}},
         {'BuildImages': {'images': 'universe -c fetch'}},
         {'BuildImages': {'images': 'build-appliance-image'}},
-        {'DownloadBitbakeErrorReports': {}},
+        {'DownloadErrorReports': {}},
         {'SendErrorReport': {}},
         {'PublishLayerTarballs':{}},
         {'PublishArtifacts': {'artifacts': ['build-appliance', 'md5sums']}}]
buildset-config.controller/buildtools.conf +1 -1
index a04c894..f9a1319 100644
@@ -15,6 +15,6 @@ steps: [{'SetDest':{}},
         {'CreateAutoConf': {'machine': 'qemux86-64', 'SDKMACHINE' : 'i686', 'distro': 'poky', 'buildapp': True}},
         {'BuildImages': {'images': 'uninative-tarball'}},
         {'PublishLayerTarballs':{}},
-        {'DownloadBitbakeErrorReports': {}},
+        {'DownloadErrorReports': {}},
         {'SendErrorReport': {}},
         {'PublishArtifacts': {'artifacts': ['buildtools-tarball', 'uninative', 'md5sums']}}]
buildset-config.controller/nightly-arm-lsb.conf +1 -1
index 68ce6c1..eb8d3eb 100644
@@ -25,7 +25,7 @@ steps: [{'SetDest':{}},
         {'BuildImages': {'images': 'core-image-lsb core-image-lsb-sdk'}},
         {'SyncPersistDB' : {'commit' : True, 'distro':'poky-lsb'}},
         {'PublishLayerTarballs':{}},
-        {'DownloadBitbakeErrorReports': {}},
+        {'DownloadErrorReports': {}},
         {'SendErrorReport': {}},
         {'UploadToasterEventlog': {}},
         {'PublishArtifacts': {'artifacts': ['qemuarm', 'beagleboard', 'md5sums']}}]
buildset-config.controller/nightly-arm.conf +1 -1
index 1941fed..5b80ac5 100644
@@ -25,7 +25,7 @@ steps: [{'SetDest':{}},
         {'RunESDKSanityTests': {'images': 'core-image-minimal core-image-sato'}},
         {'SyncPersistDB' : {'commit' : True, 'distro':'poky'}},
         {'PublishLayerTarballs':{}},
-        {'DownloadBitbakeErrorReports': {}},
+        {'DownloadErrorReports': {}},
         {'SendErrorReport': {}},
         {'UploadToasterEventlog': {}},
         {'PublishArtifacts': {'artifacts': ['qemuarm', 'beagleboard', 'ipk', 'rpm', 'deb', 'toolchain', 'md5sums']}}]
buildset-config.controller/nightly-arm64.conf +1 -1
index 670b83e..32a5492 100644
@@ -23,7 +23,7 @@ steps: [{'SetDest':{}},
         {'RunSDKSanityTests': {'images': 'core-image-sato'}},
         {'SyncPersistDB' : {'commit' : True, 'distro':'poky'}},
         {'PublishLayerTarballs':{}},
-        {'DownloadBitbakeErrorReports': {}},
+        {'DownloadErrorReports': {}},
         {'SendErrorReport': {}},
         {'UploadToasterEventlog': {}},
         {'PublishArtifacts': {'artifacts': ['qemuarm64', 'ipk', 'rpm', 'deb', 'toolchain', 'md5sums']}}]
buildset-config.controller/nightly-deb-non-deb.conf +1 -1
index a31c0f1..b97d81f 100644
@@ -12,5 +12,5 @@ steps: [{'SetDest':{}},
         {'CreateBBLayersConf': {'buildprovider' : 'yocto'}},
         {'BuildImages': {'images': 'core-image-sato core-image-sato-dev core-image-sato-sdk core-image-minimal core-image-minimal-dev'}},
         {'RunSanityTests': {'images': 'core-image-minimal core-image-sato core-image-sato-sdk'}},
-        {'DownloadBitbakeErrorReports': {}},
+        {'DownloadErrorReports': {}},
         {'SendErrorReport': {}}]
buildset-config.controller/nightly-deb.conf +1 -1
index f1f4001..d2a251b 100644
@@ -12,5 +12,5 @@ steps: [{'SetDest':{}},
         {'CreateBBLayersConf': {'buildprovider' : 'yocto'}},
         {'BuildImages': {'images': 'core-image-sato core-image-sato-dev core-image-sato-sdk core-image-minimal core-image-minimal-dev'}},
         {'RunSanityTests': {'images': 'core-image-minimal core-image-sato core-image-sato-sdk'}},
-        {'DownloadBitbakeErrorReports': {}},
+        {'DownloadErrorReports': {}},
         {'SendErrorReport': {}}]
buildset-config.controller/nightly-ipk.conf +1 -1
index cdebd02..943ff01 100644
@@ -12,5 +12,5 @@ steps: [{'SetDest':{}},
         {'CreateBBLayersConf': {'buildprovider' : 'yocto'}},
         {'BuildImages': {'images': 'core-image-sato core-image-sato-dev core-image-sato-sdk core-image-minimal core-image-minimal-dev'}},
         {'RunSanityTests': {'images' : 'core-image-minimal core-image-sato core-image-sato-sdk'}},
-        {'DownloadBitbakeErrorReports': {}},
+        {'DownloadErrorReports': {}},
         {'SendErrorReport': {}}]
buildset-config.controller/nightly-mips-lsb.conf +1 -1
index eac6d93..81faaad 100644
@@ -26,7 +26,7 @@ steps: [{'SetDest':{}},
         {'BuildImages': {'images': 'core-image-lsb core-image-lsb-sdk'}},
         {'SyncPersistDB' : {'commit' : True, 'distro':'poky-lsb'}},
         {'PublishLayerTarballs':{}},
-        {'DownloadBitbakeErrorReports': {}},
+        {'DownloadErrorReports': {}},
         {'SendErrorReport': {}},
         {'UploadToasterEventlog': {}},
         {'PublishArtifacts': {'artifacts': ['qemumips', 'routerstationpro', 'md5sums']}}]
buildset-config.controller/nightly-mips.conf +1 -1
index 9714924..e419ce4 100644
@@ -29,7 +29,7 @@ steps: [{'SetDest':{}},
         {'RunESDKSanityTests': {'images': 'core-image-minimal core-image-sato'}},
         {'SyncPersistDB' : {'commit' : True, 'distro':'poky'}},
         {'PublishLayerTarballs':{}},
-        {'DownloadBitbakeErrorReports': {}},
+        {'DownloadErrorReports': {}},
         {'SendErrorReport': {}},
         {'UploadToasterEventlog': {}},
         {'PublishArtifacts': {'artifacts': ['qemumips', 'routerstationpro', 'ipk', 'rpm', 'deb', 'toolchain', 'md5sums']}}]
buildset-config.controller/nightly-mips64.conf +1 -1
index c35088f..13f8573 100644
@@ -23,7 +23,7 @@ steps: [{'SetDest':{}},
         {'RunSDKSanityTests': {'images': 'core-image-sato'}},
         {'SyncPersistDB' : {'commit' : True, 'distro':'poky'}},
         {'PublishLayerTarballs':{}},
-        {'DownloadBitbakeErrorReports': {}},
+        {'DownloadErrorReports': {}},
         {'SendErrorReport': {}},
         {'UploadToasterEventlog': {}},
         {'PublishArtifacts': {'artifacts': ['qemumips64', 'ipk', 'rpm', 'deb', 'toolchain', 'md5sums']}}]
buildset-config.controller/nightly-multilib.conf +1 -1
index 6481019..9dce758 100644
@@ -37,5 +37,5 @@ steps: [{'SetDest':{}},
                             'buildhistory' : False, 'multilib': 'lib64',
                             'distro': 'poky'}},
         {'BuildImages': {'images': 'lib64-core-image-sato lib64-core-image-sato-sdk'}},
-        {'DownloadBitbakeErrorReports': {}},
+        {'DownloadErrorReports': {}},
         {'SendErrorReport': {}}]
buildset-config.controller/nightly-musl.conf +1 -1
index 2d1dce5..1f6aba5 100644
@@ -13,6 +13,6 @@ steps: [{'SetDest':{}},
                             'atextappend' : '\nTCLIBC="musl"\n' }},
         {'CreateBBLayersConf': {'buildprovider' : 'yocto'}},
         {'BuildImages': {'images':  'core-image-minimal core-image-full-cmdline core-image-sato'}},
-        {'DownloadBitbakeErrorReports': {}},
+        {'DownloadErrorReports': {}},
         {'SendErrorReport': {}}]
 
buildset-config.controller/nightly-no-x11.conf +1 -1
index 0feb6cd..4ef1b35 100644
@@ -15,6 +15,6 @@ steps: [{'SetDest':{}},
         {'SyncPersistDB' : {'distro' : 'poky'}},
         {'GetBitbakeVersion': {}},
         {'BuildImages': {'images': 'world'}},
-        {'DownloadBitbakeErrorReports': {}},
+        {'DownloadErrorReports': {}},
         {'SendErrorReport': {}},
         {'UploadToasterEventlog': {}}]
buildset-config.controller/nightly-non-gpl3.conf +1 -1
index 3368263..c392e97 100644
@@ -14,5 +14,5 @@ steps: [{'SetDest':{}},
         {'CreateBBLayersConf': {'buildprovider' : 'yocto'}},
         {'BuildImages': {'images': 'core-image-minimal core-image-basic'}},
         {'CheckForGPLv3':{}},
-        {'DownloadBitbakeErrorReports': {}},
+        {'DownloadErrorReports': {}},
         {'SendErrorReport': {}}]
buildset-config.controller/nightly-oe-selftest.conf +1 -1
index 1aa3309..6962eef 100644
@@ -15,6 +15,6 @@ steps: [{'SetDest':{}},
         {'BuildImages': {'images': 'core-image-minimal'}},
         {'CreateBBLayersConf': {'buildprovider' : 'yocto', 'layerdirs': ['meta-selftest']}},
         {'RunOeSelftest': {}},
-        {'DownloadBitbakeErrorReports': {}},
+        {'DownloadErrorReports': {}},
         {'SendErrorReport': {}},
 	]
buildset-config.controller/nightly-oecore.conf +1 -1
index dcee52d..e06b06d 100644
@@ -24,7 +24,7 @@ steps: [{'SetDest':{}},
                             'distro': 'oecore', 'buildhistory' : False}},
         {'BuildToolchainImages': {}},
         {'BuildImages': {'images': '-c populate_sdk_ext core-image-minimal'}},
-        {'DownloadBitbakeErrorReports': {}},
+        {'DownloadErrorReports': {}},
         {'SendErrorReport': {}}
         ]
 
buildset-config.controller/nightly-ppc-lsb.conf +1 -1
index e596720..7cf05c1 100644
@@ -26,7 +26,7 @@ steps: [{'SetDest':{}},
         {'BuildImages': {'images': 'core-image-lsb core-image-lsb-sdk'}},
         {'SyncPersistDB' : {'commit' : True, 'distro':'poky-lsb'}},
         {'PublishLayerTarballs':{}},
-        {'DownloadBitbakeErrorReports': {}},
+        {'DownloadErrorReports': {}},
         {'SendErrorReport': {}},
         {'UploadToasterEventlog': {}},
         {'PublishArtifacts': {'artifacts': ['qemuppc', 'mpc8315e-rdb', 'md5sums']}}]
buildset-config.controller/nightly-ppc.conf +1 -1
index d6a8537..16413c3 100644
@@ -28,7 +28,7 @@ steps: [{'SetDest':{}},
         {'RunESDKSanityTests': {'images': 'core-image-minimal core-image-sato'}},
         {'SyncPersistDB' : {'commit' : True, 'distro':'poky'}},
         {'PublishLayerTarballs':{}},
-        {'DownloadBitbakeErrorReports': {}},
+        {'DownloadErrorReports': {}},
         {'SendErrorReport': {}},
         {'UploadToasterEventlog': {}},
         {'PublishArtifacts': {'artifacts': ['qemuppc', 'mpc8315e-rdb', 'ipk', 'rpm', 'deb', 'toolchain', 'md5sums']}}]
buildset-config.controller/nightly-qa-extras.conf +1 -1
index dcb03f0..2ec7b50 100644
@@ -18,6 +18,6 @@ steps: [{'SetDest':{}},
                             'distro': 'poky', 'buildhistory' : False,
                             'atextappend' : '\nROOT_HOME = "/root"\n'}},
         {'BuildImages': {'images': 'core-image-minimal'}},
-        {'DownloadBitbakeErrorReports': {}},
+        {'DownloadErrorReports': {}},
         {'SendErrorReport': {}},
         {'RunSanityTests': {'images': 'core-image-minimal'}}]
buildset-config.controller/nightly-qa-logrotate.conf +1 -1
index 779fddb..41dd135 100644
@@ -13,7 +13,7 @@ steps: [{'SetDest':{}},
                             'atextappend' : '\nIMAGE_INSTALL_append = " logrotate"\n'}},
         {'CreateBBLayersConf': {'buildprovider' : 'yocto'}},
         {'BuildImages': {'images': 'core-image-sato'}},
-        {'DownloadBitbakeErrorReports': {}},
+        {'DownloadErrorReports': {}},
         {'SendErrorReport': {}},
         {'RunSanityTests': {'images': 'core-image-sato', 'suitesappend' : 'logrotate'}}]
 
buildset-config.controller/nightly-qa-pam.conf +1 -1
index c790bf5..5cec2c8 100644
@@ -14,6 +14,6 @@ steps: [{'SetDest':{}},
         {'CreateBBLayersConf': {'buildprovider' : 'yocto'}},
         {'BuildImages': {'images': 'core-image-sato'}},
         {'SendErrorReport': {}},
-        {'DownloadBitbakeErrorReports': {}},
+        {'DownloadErrorReports': {}},
         {'RunSanityTests': {'images': 'core-image-sato', 'suitesappend' : 'pam'}}]
 
buildset-config.controller/nightly-qa-skeleton.conf +1 -1
index a0461eb..c29ca7b 100644
@@ -13,7 +13,7 @@ steps: [{'SetDest':{}},
                             'atextappend' : '\nIMAGE_INSTALL_append = " service hello-mod"\n'}},
         {'CreateBBLayersConf': {'buildprovider' : 'yocto', 'layerdirs': ['meta-skeleton']}},
         {'BuildImages': {'images': 'core-image-sato'}},
-        {'DownloadBitbakeErrorReports': {}},
+        {'DownloadErrorReports': {}},
         {'SendErrorReport': {}},
         {'RunSanityTests': {'images': 'core-image-sato', 'suitesappend' : 'skeletoninit'}}]
 
buildset-config.controller/nightly-qa-systemd.conf +1 -1
index fdf61c6..f95021dc 100644
@@ -23,6 +23,6 @@ steps: [{'SetDest':{}},
                             'buildhistory' : False, 'distro': 'poky',
                             'initmgr' : 'systemd'}},
         {'BuildImages': {'images': 'core-image-sato'}},
-        {'DownloadBitbakeErrorReports': {}},
+        {'DownloadErrorReports': {}},
         {'SendErrorReport': {}},
         {'RunSanityTests': {'images': 'core-image-sato', 'suitesappend' : 'systemd'}}]
buildset-config.controller/nightly-qa-targetbuilds.conf +1 -1
index fd3d0da..e31af26 100644
@@ -27,7 +27,7 @@ steps: [{'SetDest':{}},
         {'CreateAutoConf': {'machine': 'qemuppc', 'SDKMACHINE' : 'x86_64',
                             'buildhistory' : False, 'distro': 'poky'}},
         {'BuildImages': {'images': 'core-image-sato-sdk'}},
-        {'DownloadBitbakeErrorReports': {}},
+        {'DownloadErrorReports': {}},
         {'SendErrorReport': {}},
         {'RunSanityTests': {'images': 'core-image-sato-sdk',
                             'suites' : 'ping ssh buildsudoku buildcvs buildiptables'}}]
buildset-config.controller/nightly-rpm-non-rpm.conf +1 -1
index b8b4c2a..5290d6d 100644
@@ -13,6 +13,6 @@ steps: [{'SetDest':{}},
                             'packages': 'rpm'}},
         {'CreateBBLayersConf': {'buildprovider' : 'yocto'}},
         {'BuildImages': {'images' : 'core-image-sato core-image-sato-dev core-image-sato-sdk core-image-minimal core-image-minimal-dev'}},
-        {'DownloadBitbakeErrorReports': {}},
+        {'DownloadErrorReports': {}},
         {'SendErrorReport': {}},
         {'RunSanityTests': {'images' : 'core-image-minimal core-image-sato core-image-sato-sdk'}}]
buildset-config.controller/nightly-rpm.conf +1 -1
index f03a12f..2ea2d6e 100644
@@ -13,6 +13,6 @@ steps: [{'SetDest':{}},
                             'packages': 'rpm'}},
         {'CreateBBLayersConf': {'buildprovider' : 'yocto'}},
         {'BuildImages': {'images' : 'core-image-sato core-image-sato-dev core-image-sato-sdk core-image-minimal core-image-minimal-dev'}},
-        {'DownloadBitbakeErrorReports': {}},
+        {'DownloadErrorReports': {}},
         {'SendErrorReport': {}},
         {'RunSanityTests': {'images' : 'core-image-minimal core-image-sato core-image-sato-sdk'}}]
buildset-config.controller/nightly-uclibc.conf +1 -1
index 4063040..40931a7 100644
@@ -13,6 +13,6 @@ steps: [{'SetDest':{}},
                             'atextappend' : '\nTCLIBC="uclibc"\n' }},
         {'CreateBBLayersConf': {'buildprovider' : 'yocto'}},
         {'BuildImages': {'images': 'core-image-minimal'}},
-        {'DownloadBitbakeErrorReports': {}},
+        {'DownloadErrorReports': {}},
         {'SendErrorReport': {}}]
 
buildset-config.controller/nightly-world-lsb.conf +1 -1
index 1117f06..afd4b7c 100644
@@ -21,7 +21,7 @@ steps: [{'SetDest':{}},
                             'distro': 'poky-lsb'}},
         {'CreateBBLayersConf': {'buildprovider' : 'yocto'}},
         {'BuildImages': {'images': 'world'}},
-        {'DownloadBitbakeErrorReports': {}},
+        {'DownloadErrorReports': {}},
         {'SendErrorReport': {}},
         {'PublishArtifacts': {'artifacts': ['ipk', 'rpm', 'deb']}}]
 
buildset-config.controller/nightly-world.conf +1 -1
index 53b7286..cb0f6e6 100644
@@ -13,7 +13,7 @@ steps: [{'SetDest':{}},
                             'distro': 'poky'}},
         {'CreateBBLayersConf': {'buildprovider' : 'yocto'}},
         {'BuildImages': {'images': 'world'}},
-        {'DownloadBitbakeErrorReports': {}},
+        {'DownloadErrorReports': {}},
         {'SendErrorReport': {}},
         {'PublishArtifacts': {'artifacts': ['ipk', 'rpm', 'deb']}}]
 
buildset-config.controller/nightly-x32.conf +1 -1
index 42d38ac..2ec5b87 100644
@@ -20,7 +20,7 @@ steps: [{'SetDest':{}},
                             'buildhistory' : False, 'x32': True,
                             'distro': 'poky'}},
         {'RunSanityTests': {'images': 'core-image-sato', 'suitesappend' : 'x32lib'}},
-        {'DownloadBitbakeErrorReports': {}},
+        {'DownloadErrorReports': {}},
         {'SendErrorReport': {}},
         {'UploadToasterEventlog': {}},
         {'PublishArtifacts': {'artifacts': ['md5sums']}}]
buildset-config.controller/nightly-x86-64-lsb.conf +1 -1
index 704c508..b0bb0a5 100644
@@ -26,7 +26,7 @@ steps: [{'SetDest':{}},
         {'BuildImages': {'images': 'core-image-lsb core-image-lsb-sdk'}},
         {'SyncPersistDB' : {'commit' : True, 'distro':'poky-lsb'}},
         {'PublishLayerTarballs':{}},
-        {'DownloadBitbakeErrorReports': {}},
+        {'DownloadErrorReports': {}},
         {'SendErrorReport': {}},
         {'UploadToasterEventlog': {}},
         {'PublishArtifacts': {'artifacts': ['qemux86-64', 'genericx86-64', 'md5sums']}}]
buildset-config.controller/nightly-x86-64.conf +1 -1
index 6a003f5..92e5866 100644
@@ -30,7 +30,7 @@ steps: [{'SetDest':{}},
         {'RunESDKSanityTests': {'images': 'core-image-minimal core-image-sato'}},
         {'SyncPersistDB' : {'commit' : True, 'distro':'poky'}},
         {'PublishLayerTarballs':{}},
-        {'DownloadBitbakeErrorReports': {}},
+        {'DownloadErrorReports': {}},
         {'SendErrorReport': {}},
         {'UploadToasterEventlog': {}},
         {'PublishArtifacts': {'artifacts': ['qemux86-64', 'genericx86-64', 'ipk', 'rpm', 'deb', 'toolchain', 'md5sums']}}]
buildset-config.controller/nightly-x86-lsb.conf +1 -1
index ea7f58e..34b6780 100644
@@ -26,7 +26,7 @@ steps: [{'SetDest':{}},
         {'BuildImages': {'images': 'core-image-lsb core-image-lsb-sdk'}},
         {'SyncPersistDB' : {'commit' : True, 'distro':'poky-lsb'}},
         {'PublishLayerTarballs':{}},
-        {'DownloadBitbakeErrorReports': {}},
+        {'DownloadErrorReports': {}},
         {'SendErrorReport': {}},
         {'UploadToasterEventlog': {}},
         {'PublishArtifacts': {'artifacts': ['qemux86', 'genericx86', 'md5sums']}}]
buildset-config.controller/nightly-x86.conf +1 -1
index e965c8f..a5c9f0a 100644
@@ -30,7 +30,7 @@ steps: [{'SetDest':{}},
         {'RunESDKSanityTests': {'images': 'core-image-minimal core-image-sato'}},
         {'SyncPersistDB' : {'commit' : True, 'distro':'poky'}},
         {'PublishLayerTarballs':{}},
-        {'DownloadBitbakeErrorReports': {}},
+        {'DownloadErrorReports': {}},
         {'SendErrorReport': {}},
         {'UploadToasterEventlog': {}},
         {'PublishArtifacts': {'artifacts': ['qemux86', 'genericx86', 'ipk', 'rpm', 'deb', 'toolchain', 'md5sums']}}]
buildset-config.controller/nightly.conf +1 -1
index 2734bf7..2ac83dc 100644
@@ -152,7 +152,7 @@ steps: [{'SetDest':{}},
         {'BuildImages': {'images': 'adt-installer'}},
         {'PublishArtifacts': {'artifacts': ['adt-installer-QA', 'adtrepo-dev']}},
         {'BitbakeSelftest': {}},
-        {'DownloadBitbakeErrorReports': {}},
+        {'DownloadErrorReports': {}},
         {'SendErrorReport': {}},
         {'TriggerBuilds': {'schedulerName': 'buildhistory',
                            'waitForFinish': 'False',
buildset-config.controller/poky-tiny.conf +1 -1
index 291e031..1ddbf6f 100644
@@ -12,7 +12,7 @@ steps: [{'SetDest':{}},
         {'CreateBBLayersConf': {'buildprovider' : 'yocto'}},
         {'BuildImages': {'images': 'core-image-minimal'}},
         {'PublishLayerTarballs':{}},
-        {'DownloadBitbakeErrorReports': {}},
+        {'DownloadErrorReports': {}},
         {'SendErrorReport': {}},
         {'PublishArtifacts': {'artifacts': ['tiny', 'md5sums']}}]
 
buildset-config.examples/awesomefirmware.conf +1 -1
index d4bb436..7f51027 100644
@@ -29,7 +29,7 @@ steps: [{'SetDest':{}},
         {'BuildImages': {'images': 'core-image-minimal'}},
         {'CreateGPLTarball': {}},
         {'PublishArtifacts': {'artifacts': ['genericx86-64']}},
-        {'DownloadBitbakeErrorReports': {}},
+        {'DownloadErrorReports': {}},
         {'SendErrorReport': {}},
         {'UploadToasterEventlog': {}},
         {'SendQAEmail': {}},
buildset-config.freescale/nightly-fsl-arm-lsb.conf +1 -1
index fd4178c..83bb110 100644
@@ -35,7 +35,7 @@ steps: [{'SetDest':{}},
                             'devkernel' : False}},
         {'BuildImages': {'images': 'core-image-lsb core-image-lsb-dev core-image-lsb-sdk LSB-QT-IMAGES'}},
         {'PublishLayerTarballs':{}},
-        {'DownloadBitbakeErrorReports': {}},
+        {'DownloadErrorReports': {}},
         {'SendErrorReport': {}},
         {'UploadToasterEventlog': {}},
         {'PublishArtifacts': {'artifacts': ['imx53qsb', 'imx6qsabresd', 'imx28evk', 'md5sums']}}]
buildset-config.freescale/nightly-fsl-arm.conf +1 -1
index 16b88c6..ae99fb2 100644
@@ -40,7 +40,7 @@ steps: [{'SetDest':{}},
                             'devkernel' : False}},
         {'BuildImages': {'images': 'core-image-sato core-image-sato-dev core-image-sato-sdk core-image-minimal core-image-minimal-dev'}},
         {'PublishLayerTarballs':{}},
-        {'DownloadBitbakeErrorReports': {}},
+        {'DownloadErrorReports': {}},
         {'SendErrorReport': {}},
         {'UploadToasterEventlog': {}},
         {'PublishArtifacts': {'artifacts': ['imx53qsb', 'imx6qsabresd', 'imx28evk', 'ipk', 'toolchain', 'md5sums']}}]
buildset-config.freescale/nightly-fsl-ppc-lsb.conf +1 -1
index 2b6defc..5db62cd 100644
@@ -25,7 +25,7 @@ steps: [{'SetDest':{}},
         {'GetBitbakeVersion': {}},        
         {'BuildImages': {'images': 'core-image-lsb core-image-lsb-dev core-image-lsb-sdk LSB-QT-IMAGES'}},
         {'PublishLayerTarballs':{}},
-        {'DownloadBitbakeErrorReports': {}},
+        {'DownloadErrorReports': {}},
         {'SendErrorReport': {}},
         {'UploadToasterEventlog': {}},
         {'PublishArtifacts': {'artifacts': ['p1022ds', 'md5sums']}}]
buildset-config.freescale/nightly-fsl-ppc.conf +1 -1
index eaf2e8d..ba4250c 100644
@@ -26,7 +26,7 @@ steps: [{'SetDest':{}},
         {'BuildToolchainImages': {}},
         {'BuildImages': {'images': '-c populate_sdk_ext core-image-minimal'}},
         {'PublishLayerTarballs':{}},
-        {'DownloadBitbakeErrorReports': {}},
+        {'DownloadErrorReports': {}},
         {'SendErrorReport': {}},
         {'UploadToasterEventlog': {}},
         {'PublishArtifacts': {'artifacts': ['p1022ds', 'ipk', 'toolchain', 'md5sums']}}]
buildset-config.iot-devkit/iot-devkit.conf +1 -1
index bd4c024..795c805 100644
@@ -29,6 +29,6 @@ steps: [{'SetDest':{}},
           'meta-openembedded/meta-filesystems']}},
         {'BuildImages': {'images': 'iot-devkit-image iot-devkit-prof-image iot-devkit-prof-dev-image'}},
         {'PublishLayerTarballs':{}},
-        {'DownloadBitbakeErrorReports': {}},
+        {'DownloadErrorReports': {}},
         {'SendErrorReport': {}},
         {'PublishArtifacts': {'artifacts': ['quark', 'ipk', 'md5sums']}}]
buildset-config.kernel/kernel-arm-lsb.conf +1 -1
index b317085..95536b9 100644
@@ -55,6 +55,6 @@ steps: [{'SetDest':{}},
         {'SyncPersistDB' : {'distro' : 'poky'}},
         {'BuildImages': {'images': 'core-image-kernel-dev'}},
         {'RunSanityTests': {'images': 'core-image-kernel-dev'}},
-        {'DownloadBitbakeErrorReports': {}},
+        {'DownloadErrorReports': {}},
         {'SendErrorReport': {}}]
 
buildset-config.kernel/kernel-arm.conf +1 -1
index d4b6400..16022c6 100644
@@ -49,6 +49,6 @@ steps: [{'SetDest':{}},
         {'SyncPersistDB' : {'distro' : 'poky'}},
         {'BuildImages': {'images': 'core-image-kernel-dev'}},
         {'RunSanityTests': {'images': 'core-image-kernel-dev'}},
-        {'DownloadBitbakeErrorReports': {}},
+        {'DownloadErrorReports': {}},
         {'SendErrorReport': {}}]
 
buildset-config.kernel/kernel-arm64.conf +1 -1
index dd4a10b..eb4e868 100644
@@ -49,6 +49,6 @@ steps: [{'SetDest':{}},
         {'SyncPersistDB' : {'distro' : 'poky'}},
         {'BuildImages': {'images': 'core-image-kernel-dev'}},
         {'RunSanityTests': {'images': 'core-image-kernel-dev'}},
-        {'DownloadBitbakeErrorReports': {}},
+        {'DownloadErrorReports': {}},
         {'SendErrorReport': {}}]
 
buildset-config.kernel/kernel-mips-lsb.conf +1 -1
index fe703fc..3f39bbf 100644
@@ -55,5 +55,5 @@ steps: [{'SetDest':{}},
         {'SyncPersistDB' : {'distro' : 'poky'}},
         {'BuildImages': {'images': 'core-image-kernel-dev'}},
         {'RunSanityTests': {'images': 'core-image-kernel-dev'}},
-        {'DownloadBitbakeErrorReports': {}},
+        {'DownloadErrorReports': {}},
         {'SendErrorReport': {}}]
buildset-config.kernel/kernel-mips.conf +1 -1
index 679dd61..ffecf9e 100644
@@ -49,5 +49,5 @@ steps: [{'SetDest':{}},
         {'SyncPersistDB' : {'distro' : 'poky'}},
         {'BuildImages': {'images': 'core-image-kernel-dev'}},
         {'RunSanityTests': {'images': 'core-image-kernel-dev'}},
-        {'DownloadBitbakeErrorReports': {}},
+        {'DownloadErrorReports': {}},
         {'SendErrorReport': {}}]
buildset-config.kernel/kernel-ppc-lsb.conf +1 -1
index d0017c8..3477b91 100644
@@ -55,5 +55,5 @@ steps: [{'SetDest':{}},
         {'SyncPersistDB' : {'distro' : 'poky'}},
         {'BuildImages': {'images': 'core-image-kernel-dev'}},
         {'RunSanityTests': {'images': 'core-image-kernel-dev'}},
-        {'DownloadBitbakeErrorReports': {}},
+        {'DownloadErrorReports': {}},
         {'SendErrorReport': {}}]
buildset-config.kernel/kernel-ppc.conf +1 -1
index 7b1b212..6facc69 100644
@@ -49,5 +49,5 @@ steps: [{'SetDest':{}},
         {'SyncPersistDB' : {'distro' : 'poky'}},
         {'BuildImages': {'images': 'core-image-kernel-dev'}},
         {'RunSanityTests': {'images': 'core-image-kernel-dev'}},
-        {'DownloadBitbakeErrorReports': {}},
+        {'DownloadErrorReports': {}},
         {'SendErrorReport': {}}]
buildset-config.kernel/kernel-x86-64-lsb.conf +1 -1
index af7eb26..996efdd 100644
@@ -55,5 +55,5 @@ steps: [{'SetDest':{}},
         {'SyncPersistDB' : {'distro' : 'poky'}},
         {'BuildImages': {'images': 'core-image-kernel-dev'}},
         {'RunSanityTests': {'images': 'core-image-kernel-dev'}},
-        {'DownloadBitbakeErrorReports': {}},
+        {'DownloadErrorReports': {}},
         {'SendErrorReport': {}}]
buildset-config.kernel/kernel-x86-64.conf +1 -1
index 1edc34c..f11512d 100644
@@ -49,5 +49,5 @@ steps: [{'SetDest':{}},
         {'SyncPersistDB' : {'distro' : 'poky'}},
         {'BuildImages': {'images': 'core-image-kernel-dev'}},
         {'RunSanityTests': {'images': 'core-image-kernel-dev'}},
-        {'DownloadBitbakeErrorReports': {}},
+        {'DownloadErrorReports': {}},
         {'SendErrorReport': {}}]
buildset-config.kernel/kernel-x86-lsb.conf +1 -1
index 0d456fb..e3631c4 100644
@@ -55,5 +55,5 @@ steps: [{'SetDest':{}},
         {'SyncPersistDB' : {'distro' : 'poky'}},
         {'BuildImages': {'images': 'core-image-kernel-dev'}},
         {'RunSanityTests': {'images': 'core-image-kernel-dev'}},
-        {'DownloadBitbakeErrorReports': {}},
+        {'DownloadErrorReports': {}},
         {'SendErrorReport': {}}]
buildset-config.kernel/kernel-x86.conf +1 -1
index b830449..17d1e30 100644
@@ -49,5 +49,5 @@ steps: [{'SetDest':{}},
         {'SyncPersistDB' : {'distro' : 'poky'}},
         {'BuildImages': {'images': 'core-image-kernel-dev'}},
         {'RunSanityTests': {'images': 'core-image-kernel-dev'}},
-        {'DownloadBitbakeErrorReports': {}},
+        {'DownloadErrorReports': {}},
         {'SendErrorReport': {}}]
buildset-config.kernel/nightly-kernel.conf +1 -1
index 36b5c84..981f7d8 100644
@@ -58,6 +58,6 @@ steps: [{'SetDest':{}},
                            'kernel-x86-64': {}, 'kernel-x86-64-lsb': {},
                            'kernel-x86': {}, 'kernel-x86-lsb': {}, 'kernel-arm64': {}},
                            'schedulerNames_nowait' : {}}},
-        {'DownloadBitbakeErrorReports': {}},
+        {'DownloadErrorReports': {}},
         {'SendErrorReport': {}},
         {'SendQAEmail': {}}]
buildset-config.tizen/nightly-tizen-ivi.conf +1 -1
index 7fc5b35..f1735a6 100644
@@ -19,6 +19,6 @@ steps: [{'SetDest':{}},
               'meta-tizen/meta-tizen-common-share', 'meta-tizen/meta-tizen-common-devtools', \
               'meta-tizen/meta-tizen-common-demo', 'meta-tizen/meta-tizen-ivi']}},
         {'BuildImages': {'images': 'tizen-ivi-Modello-image'}},
-        {'DownloadBitbakeErrorReports': {}},
+        {'DownloadErrorReports': {}},
         {'SendErrorReport': {}}
         ]
buildset-config.tizen/nightly-tizen.conf +1 -1
index 288d866..c969bb9 100644
@@ -18,7 +18,7 @@ steps: [{'SetDest':{}},
               'meta-tizen/meta-tizen-common-share', 'meta-tizen/meta-tizen-common-devtools', \
               'meta-tizen/meta-tizen-common-demo']}},
         {'BuildImages': {'images': 'tizen-common-core-image-crosswalk-dev'}},
-        {'DownloadBitbakeErrorReports': {}},
+        {'DownloadErrorReports': {}},
         {'SendErrorReport': {}}
         ]
 
buildset-config.tizen/nightly.conf +1 -1
index f097b22..3abefab 100644
@@ -42,7 +42,7 @@ steps: [{'SetDest':{}},
         {'TriggerBuilds': {'schedulerName': 'main-build', 'waitForFinish': 'True',
                            'schedulerNames': {'nightly-tizen-ivi': {}, 'nightly-tizen': {}},
                            'schedulerNames_nowait' : {}}},
-        {'DownloadBitbakeErrorReports': {}},
+        {'DownloadErrorReports': {}},
         {'SendErrorReport': {}},
         {'TriggerBuilds': {'schedulerName': 'buildhistory',
                            'waitForFinish': 'False',
Signature · 1 line
2.1.4
#16 lore raw
In reply to Aníbal Limón
Quoted 8 lines · Aníbal Limón

This v2 adds support for generate also oe-selftest reports this is almost
the previous version with changes requested in review [1], the next patches
starts from patch,

autobuilder/lib/{ABtools,builsteps}.py: Create
save_error_report func

A few comments.

- Please rebase the last two commits. They can be merged into prior commits.

Example: 0eb495d93eefa9ead8f4b1242f251f1a2288db68 should be squashed into 83b6707622128436b4ece9d4c2a89311b000c209

We shouldn't need rename commits for a pull request that created the original thing we're renaming.

- Please fix the title for 83b6707622128436b4ece9d4c2a89311b000c209 's/buiidsets/buildsets/'

-b

Signature · 2 lines
Beth 'pidge' Flanagan <[email protected]>
toganlabs.com
Quoted 116 lines

Also the changes could be reviewed at [2].

[1] https://lists.yoctoproject.org/pipermail/yocto/2016-June/030515.h
tml
[2] http://git.yoctoproject.org/cgit/cgit.cgi/yocto-autobuilder/log/?
h=contrib/alimon/devel

Aníbal Limón (15):
  lib/buildsteps.py: Add BitbakeShellCommand class lib/buildsteps.py: Add BitbakeLogLineObserver for BitbakeShellCommands.
  lib/buildsteps: BitbakeShellCommand add support for create error reports
  lib/ABTools: Add functions for get errordir path in controller and worker
  buildbot: Add support for DirectoryDownload transfer step autobuilder/buildsteps: Add DownloadBitbakeErrorReports step
  buiidsets: Add DownloadBitbakeErrorReport step lib/buildsteps.py: BitbakeShellCommand add support for error_type autobuilder/lib/buildsteps.py: BitbakeShellCommand update error report
        types.
  autobuilder/lib/{ABtools,builsteps}.py: Create save_error_report func
  autobuilder/lib/ABTools.py: Add get_lsb_distro function buildsteps/RunOeSelftest.py: Add support for create/save error reports
  nightly-oe-selftest.conf: Add steps for Download and Send error report.
  autobuilder/buildsteps: Rename DownloadBitbakeErrorReports to DownloadErrorReports
  buildset-config: Update references from DownloadBitbakeErrorReports to
    DownloadErrorReports

 buildset-config.controller/build-appliance.conf    |   1 + buildset-config.controller/buildtools.conf         |   1 + buildset-config.controller/nightly-arm-lsb.conf    |   1 + buildset-config.controller/nightly-arm.conf        |   1 + buildset-config.controller/nightly-arm64.conf      |   1 + .../nightly-deb-non-deb.conf                       |   1 + buildset-config.controller/nightly-deb.conf        |   1 + buildset-config.controller/nightly-ipk.conf        |   1 + buildset-config.controller/nightly-mips-lsb.conf   |   1 + buildset-config.controller/nightly-mips.conf       |   1 + buildset-config.controller/nightly-mips64.conf     |   1 + buildset-config.controller/nightly-multilib.conf   |   1 + buildset-config.controller/nightly-musl.conf       |   1 + buildset-config.controller/nightly-no-x11.conf     |   1 + buildset-config.controller/nightly-non-gpl3.conf   |   1 + .../nightly-oe-selftest.conf                       |   5 +- buildset-config.controller/nightly-oecore.conf     |   1 + buildset-config.controller/nightly-ppc-lsb.conf    |   1 + buildset-config.controller/nightly-ppc.conf        |   1 + buildset-config.controller/nightly-qa-extras.conf  |   1 + .../nightly-qa-logrotate.conf                      |   1 + buildset-config.controller/nightly-qa-pam.conf     |   1 + .../nightly-qa-skeleton.conf                       |   1 + buildset-config.controller/nightly-qa-systemd.conf |   1 + .../nightly-qa-targetbuilds.conf                   |   1 + .../nightly-rpm-non-rpm.conf                       |   1 + buildset-config.controller/nightly-rpm.conf        |   1 + buildset-config.controller/nightly-uclibc.conf     |   1 + buildset-config.controller/nightly-world-lsb.conf  |   1 + buildset-config.controller/nightly-world.conf      |   1 + buildset-config.controller/nightly-x32.conf        |   1 + buildset-config.controller/nightly-x86-64-lsb.conf |   1 + buildset-config.controller/nightly-x86-64.conf     |   1 + buildset-config.controller/nightly-x86-lsb.conf    |   1 + buildset-config.controller/nightly-x86.conf        |   1 + buildset-config.controller/nightly.conf            |   1 + buildset-config.controller/poky-tiny.conf          |   1 + buildset-config.examples/awesomefirmware.conf      |   1 + buildset-config.freescale/nightly-fsl-arm-lsb.conf |   1 + buildset-config.freescale/nightly-fsl-arm.conf     |   1 + buildset-config.freescale/nightly-fsl-ppc-lsb.conf |   1 + buildset-config.freescale/nightly-fsl-ppc.conf     |   1 + buildset-config.iot-devkit/iot-devkit.conf         |   1 + buildset-config.kernel/kernel-arm-lsb.conf         |   1 + buildset-config.kernel/kernel-arm.conf             |   1 + buildset-config.kernel/kernel-arm64.conf           |   1 + buildset-config.kernel/kernel-mips-lsb.conf        |   1 + buildset-config.kernel/kernel-mips.conf            |   1 + buildset-config.kernel/kernel-ppc-lsb.conf         |   1 + buildset-config.kernel/kernel-ppc.conf             |   1 + buildset-config.kernel/kernel-x86-64-lsb.conf      |   1 + buildset-config.kernel/kernel-x86-64.conf          |   1 + buildset-config.kernel/kernel-x86-lsb.conf         |   1 + buildset-config.kernel/kernel-x86.conf             |   1 + buildset-config.kernel/nightly-kernel.conf         |   1 + buildset-config.tizen/nightly-tizen-ivi.conf       |   1 + buildset-config.tizen/nightly-tizen.conf           |   1 + buildset-config.tizen/nightly.conf                 |   1 + .../autobuilder/buildsteps/BuildImages.py          |   7 +- .../autobuilder/buildsteps/BuildToolchainImages.py |   7 +- .../autobuilder/buildsteps/DownloadErrorReports.py |  42 +++++++++ .../autobuilder/buildsteps/GetBitbakeVersion.py    |   6 +- .../autobuilder/buildsteps/RunESDKSanityTests.py   |   6 +- .../autobuilder/buildsteps/RunOeSelftest.py        |  46 +++++++++ .../autobuilder/buildsteps/RunSDKSanityTests.py    |   6 +- .../autobuilder/buildsteps/RunSanityTests.py       |   6 +- .../autobuilder/buildsteps/SendErrorReport.py      |  16 ++-- .../site-packages/autobuilder/lib/ABTools.py       |  59
++++++++++++
 .../site-packages/autobuilder/lib/buildsteps.py    | 104
+++++++++++++++++++++
 .../buildbot/steps/transfer.py                     |  86
++++++++++++++++-
 .../buildslave/commands/registry.py                |   1 + .../buildslave/commands/transfer.py                |  79
++++++++++++++++

 72 files changed, 509 insertions(+), 24 deletions(-)

 create mode 100644 lib/python2.7/site- packages/autobuilder/buildsteps/DownloadErrorReports.py

#17 lore raw
Quoted 15 lines · Beth 'pidge' Flanagan
Quoted 8 lines · Aníbal Limón

This v2 adds support for generate also oe-selftest reports this is almost
the previous version with changes requested in review [1], the next patches
starts from patch,

autobuilder/lib/{ABtools,builsteps}.py: Create
save_error_report func

A few comments.

- Please rebase the last two commits. They can be merged into prior commits.

Quoted 8 lines

Example: 0eb495d93eefa9ead8f4b1242f251f1a2288db68 should be squashed into 83b6707622128436b4ece9d4c2a89311b000c209

We shouldn't need rename commits for a pull request that created the original thing we're renaming.

- Please fix the title for 83b6707622128436b4ece9d4c2a89311b000c209 's/buiidsets/buildsets/'

I squashed the changes now at,

http://git.yoctoproject.org/cgit/cgit.cgi/yocto-autobuilder/log/?h=contrib/alimon/devel2

alimon

Quoted 4 lines

-b

#18 lore raw
Quoted 24 lines · Aníbal Limón
Quoted 21 lines · Beth 'pidge' Flanagan
Quoted 8 lines · Aníbal Limón

This v2 adds support for generate also oe-selftest reports this is almost
the previous version with changes requested in review [1], the next patches
starts from patch,

autobuilder/lib/{ABtools,builsteps}.py: Create
save_error_report func

A few comments.

- Please rebase the last two commits. They can be merged into prior commits.

Example: 0eb495d93eefa9ead8f4b1242f251f1a2288db68 should be squashed into 83b6707622128436b4ece9d4c2a89311b000c209

We shouldn't need rename commits for a pull request that created the original thing we're renaming.

Quoted 8 lines
Quoted 2 lines

- Please fix the title for 83b6707622128436b4ece9d4c2a89311b000c209 's/buiidsets/buildsets/'

I squashed the changes now at,

http://git.yoctoproject.org/cgit/cgit.cgi/yocto-autobuilder/log/?h=contrib/alimon/devel2

alimon

Hi,

The Error report web needed changes are now integrated [1], if you ack'ed the changes we could proceed to integrate/deploy these changes to enable send Bitbake/OE-seltest errors to ERW.

[1] https://bugzilla.yoctoproject.org/show_bug.cgi?id=7583#c14

Cheers,
alimon

Quoted 5 lines
Quoted 4 lines

-b

#19 lore raw
Quoted 49 lines · Aníbal Limón
Quoted 34 lines · Aníbal Limón
Quoted 23 lines · Beth 'pidge' Flanagan
Quoted 11 lines · Aníbal Limón

This v2 adds support for generate also oe-selftest reports this is
almost
the previous version with changes requested in review [1], the next
patches
starts from patch,

autobuilder/lib/{ABtools,builsteps}.py: Create
save_error_report func

A few comments.

- Please rebase the last two commits. They can be merged into prior
commits.

Example: 0eb495d93eefa9ead8f4b1242f251f1a2288db68 should be squashed
into 83b6707622128436b4ece9d4c2a89311b000c209

Quoted 7 lines

We shouldn't need rename commits for a pull request that created the
original thing we're renaming.

- Please fix the title for
83b6707622128436b4ece9d4c2a89311b000c209
's/buiidsets/buildsets/'

Quoted 6 lines

I squashed the changes now at,

http://git.yoctoproject.org/cgit/cgit.cgi/yocto-autobuilder/log/?h=
contrib/alimon/devel2

alimon

Hi,

The Error report web needed changes are now integrated [1], if you ack'ed the changes we could proceed to integrate/deploy these changes to
enable send Bitbake/OE-seltest errors to ERW.

Quoted 4 lines

[1] https://bugzilla.yoctoproject.org/show_bug.cgi?id=7583#c14

Cheers,
alimon

Let me review them tonight and if they're ok, I'll pull them into master.

-b

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines

-b

#20 lore raw
In reply to Aníbal Limón

Pulled into master, thanks!

-b

Quoted 124 lines · Aníbal Limón

This v2 adds support for generate also oe-selftest reports this is almost
the previous version with changes requested in review [1], the next patches
starts from patch,

autobuilder/lib/{ABtools,builsteps}.py: Create
save_error_report func

Also the changes could be reviewed at [2].

[1] https://lists.yoctoproject.org/pipermail/yocto/2016-June/030515.h
tml
[2] http://git.yoctoproject.org/cgit/cgit.cgi/yocto-autobuilder/log/?
h=contrib/alimon/devel

Aníbal Limón (15):
  lib/buildsteps.py: Add BitbakeShellCommand class lib/buildsteps.py: Add BitbakeLogLineObserver for BitbakeShellCommands.
  lib/buildsteps: BitbakeShellCommand add support for create error reports
  lib/ABTools: Add functions for get errordir path in controller and worker
  buildbot: Add support for DirectoryDownload transfer step autobuilder/buildsteps: Add DownloadBitbakeErrorReports step
  buiidsets: Add DownloadBitbakeErrorReport step lib/buildsteps.py: BitbakeShellCommand add support for error_type autobuilder/lib/buildsteps.py: BitbakeShellCommand update error report
        types.
  autobuilder/lib/{ABtools,builsteps}.py: Create save_error_report func
  autobuilder/lib/ABTools.py: Add get_lsb_distro function buildsteps/RunOeSelftest.py: Add support for create/save error reports
  nightly-oe-selftest.conf: Add steps for Download and Send error report.
  autobuilder/buildsteps: Rename DownloadBitbakeErrorReports to DownloadErrorReports
  buildset-config: Update references from DownloadBitbakeErrorReports to
    DownloadErrorReports

 buildset-config.controller/build-appliance.conf    |   1 + buildset-config.controller/buildtools.conf         |   1 + buildset-config.controller/nightly-arm-lsb.conf    |   1 + buildset-config.controller/nightly-arm.conf        |   1 + buildset-config.controller/nightly-arm64.conf      |   1 + .../nightly-deb-non-deb.conf                       |   1 + buildset-config.controller/nightly-deb.conf        |   1 + buildset-config.controller/nightly-ipk.conf        |   1 + buildset-config.controller/nightly-mips-lsb.conf   |   1 + buildset-config.controller/nightly-mips.conf       |   1 + buildset-config.controller/nightly-mips64.conf     |   1 + buildset-config.controller/nightly-multilib.conf   |   1 + buildset-config.controller/nightly-musl.conf       |   1 + buildset-config.controller/nightly-no-x11.conf     |   1 + buildset-config.controller/nightly-non-gpl3.conf   |   1 + .../nightly-oe-selftest.conf                       |   5 +- buildset-config.controller/nightly-oecore.conf     |   1 + buildset-config.controller/nightly-ppc-lsb.conf    |   1 + buildset-config.controller/nightly-ppc.conf        |   1 + buildset-config.controller/nightly-qa-extras.conf  |   1 + .../nightly-qa-logrotate.conf                      |   1 + buildset-config.controller/nightly-qa-pam.conf     |   1 + .../nightly-qa-skeleton.conf                       |   1 + buildset-config.controller/nightly-qa-systemd.conf |   1 + .../nightly-qa-targetbuilds.conf                   |   1 + .../nightly-rpm-non-rpm.conf                       |   1 + buildset-config.controller/nightly-rpm.conf        |   1 + buildset-config.controller/nightly-uclibc.conf     |   1 + buildset-config.controller/nightly-world-lsb.conf  |   1 + buildset-config.controller/nightly-world.conf      |   1 + buildset-config.controller/nightly-x32.conf        |   1 + buildset-config.controller/nightly-x86-64-lsb.conf |   1 + buildset-config.controller/nightly-x86-64.conf     |   1 + buildset-config.controller/nightly-x86-lsb.conf    |   1 + buildset-config.controller/nightly-x86.conf        |   1 + buildset-config.controller/nightly.conf            |   1 + buildset-config.controller/poky-tiny.conf          |   1 + buildset-config.examples/awesomefirmware.conf      |   1 + buildset-config.freescale/nightly-fsl-arm-lsb.conf |   1 + buildset-config.freescale/nightly-fsl-arm.conf     |   1 + buildset-config.freescale/nightly-fsl-ppc-lsb.conf |   1 + buildset-config.freescale/nightly-fsl-ppc.conf     |   1 + buildset-config.iot-devkit/iot-devkit.conf         |   1 + buildset-config.kernel/kernel-arm-lsb.conf         |   1 + buildset-config.kernel/kernel-arm.conf             |   1 + buildset-config.kernel/kernel-arm64.conf           |   1 + buildset-config.kernel/kernel-mips-lsb.conf        |   1 + buildset-config.kernel/kernel-mips.conf            |   1 + buildset-config.kernel/kernel-ppc-lsb.conf         |   1 + buildset-config.kernel/kernel-ppc.conf             |   1 + buildset-config.kernel/kernel-x86-64-lsb.conf      |   1 + buildset-config.kernel/kernel-x86-64.conf          |   1 + buildset-config.kernel/kernel-x86-lsb.conf         |   1 + buildset-config.kernel/kernel-x86.conf             |   1 + buildset-config.kernel/nightly-kernel.conf         |   1 + buildset-config.tizen/nightly-tizen-ivi.conf       |   1 + buildset-config.tizen/nightly-tizen.conf           |   1 + buildset-config.tizen/nightly.conf                 |   1 + .../autobuilder/buildsteps/BuildImages.py          |   7 +- .../autobuilder/buildsteps/BuildToolchainImages.py |   7 +- .../autobuilder/buildsteps/DownloadErrorReports.py |  42 +++++++++ .../autobuilder/buildsteps/GetBitbakeVersion.py    |   6 +- .../autobuilder/buildsteps/RunESDKSanityTests.py   |   6 +- .../autobuilder/buildsteps/RunOeSelftest.py        |  46 +++++++++ .../autobuilder/buildsteps/RunSDKSanityTests.py    |   6 +- .../autobuilder/buildsteps/RunSanityTests.py       |   6 +- .../autobuilder/buildsteps/SendErrorReport.py      |  16 ++-- .../site-packages/autobuilder/lib/ABTools.py       |  59
++++++++++++
 .../site-packages/autobuilder/lib/buildsteps.py    | 104
+++++++++++++++++++++
 .../buildbot/steps/transfer.py                     |  86
++++++++++++++++-
 .../buildslave/commands/registry.py                |   1 + .../buildslave/commands/transfer.py                |  79
++++++++++++++++

 72 files changed, 509 insertions(+), 24 deletions(-)

 create mode 100644 lib/python2.7/site- packages/autobuilder/buildsteps/DownloadErrorReports.py

Signature · 2 lines
Beth 'pidge' Flanagan <[email protected]>
toganlabs.com
#21 lore raw
Quoted 1 line · Beth 'pidge' Flanagan

Pulled into master, thanks!

Thanks, when i was reviewing the integration i noticed that i miss to update the buildstep reference (DownloadBitbakeErrorReports -> DownloadErrorReports) into nightly-world-lsb.conf.

Sorry about that, i sent another patch for fix it,

https://lists.yoctoproject.org/pipermail/yocto/2016-June/030860.html

alimon

Quoted 129 lines

-b

Quoted 124 lines · Aníbal Limón

This v2 adds support for generate also oe-selftest reports this is almost
the previous version with changes requested in review [1], the next patches
starts from patch,

autobuilder/lib/{ABtools,builsteps}.py: Create
save_error_report func

Also the changes could be reviewed at [2].

[1] https://lists.yoctoproject.org/pipermail/yocto/2016-June/030515.h
tml
[2] http://git.yoctoproject.org/cgit/cgit.cgi/yocto-autobuilder/log/?
h=contrib/alimon/devel

Aníbal Limón (15):
lib/buildsteps.py: Add BitbakeShellCommand class lib/buildsteps.py: Add BitbakeLogLineObserver for
BitbakeShellCommands.
lib/buildsteps: BitbakeShellCommand add support for create error
reports
lib/ABTools: Add functions for get errordir path in controller and
worker
buildbot: Add support for DirectoryDownload transfer step autobuilder/buildsteps: Add DownloadBitbakeErrorReports step
buiidsets: Add DownloadBitbakeErrorReport step lib/buildsteps.py: BitbakeShellCommand add support for error_type autobuilder/lib/buildsteps.py: BitbakeShellCommand update error
report
types.
autobuilder/lib/{ABtools,builsteps}.py: Create save_error_report
func
autobuilder/lib/ABTools.py: Add get_lsb_distro function buildsteps/RunOeSelftest.py: Add support for create/save error
reports
nightly-oe-selftest.conf: Add steps for Download and Send error
report.
autobuilder/buildsteps: Rename DownloadBitbakeErrorReports to
DownloadErrorReports
buildset-config: Update references from DownloadBitbakeErrorReports
to
DownloadErrorReports

 buildset-config.controller/build-appliance.conf    |   1 +
 buildset-config.controller/buildtools.conf         |   1 +
 buildset-config.controller/nightly-arm-lsb.conf    |   1 +
 buildset-config.controller/nightly-arm.conf        |   1 +
 buildset-config.controller/nightly-arm64.conf      |   1 +
 .../nightly-deb-non-deb.conf                       |   1 +
 buildset-config.controller/nightly-deb.conf        |   1 +
 buildset-config.controller/nightly-ipk.conf        |   1 +
 buildset-config.controller/nightly-mips-lsb.conf   |   1 +
 buildset-config.controller/nightly-mips.conf       |   1 +
 buildset-config.controller/nightly-mips64.conf     |   1 +
 buildset-config.controller/nightly-multilib.conf   |   1 +
 buildset-config.controller/nightly-musl.conf       |   1 +
 buildset-config.controller/nightly-no-x11.conf     |   1 +
 buildset-config.controller/nightly-non-gpl3.conf   |   1 +
 .../nightly-oe-selftest.conf                       |   5 +-
 buildset-config.controller/nightly-oecore.conf     |   1 +
 buildset-config.controller/nightly-ppc-lsb.conf    |   1 +
 buildset-config.controller/nightly-ppc.conf        |   1 +
 buildset-config.controller/nightly-qa-extras.conf  |   1 +
 .../nightly-qa-logrotate.conf                      |   1 +
 buildset-config.controller/nightly-qa-pam.conf     |   1 +
 .../nightly-qa-skeleton.conf                       |   1 +
 buildset-config.controller/nightly-qa-systemd.conf |   1 +
 .../nightly-qa-targetbuilds.conf                   |   1 +
 .../nightly-rpm-non-rpm.conf                       |   1 +
 buildset-config.controller/nightly-rpm.conf        |   1 +
 buildset-config.controller/nightly-uclibc.conf     |   1 +
 buildset-config.controller/nightly-world-lsb.conf  |   1 +
 buildset-config.controller/nightly-world.conf      |   1 +
 buildset-config.controller/nightly-x32.conf        |   1 +
 buildset-config.controller/nightly-x86-64-lsb.conf |   1 +
 buildset-config.controller/nightly-x86-64.conf     |   1 +
 buildset-config.controller/nightly-x86-lsb.conf    |   1 +
 buildset-config.controller/nightly-x86.conf        |   1 +
 buildset-config.controller/nightly.conf            |   1 +
 buildset-config.controller/poky-tiny.conf          |   1 +
 buildset-config.examples/awesomefirmware.conf      |   1 +
 buildset-config.freescale/nightly-fsl-arm-lsb.conf |   1 +
 buildset-config.freescale/nightly-fsl-arm.conf     |   1 +
 buildset-config.freescale/nightly-fsl-ppc-lsb.conf |   1 +
 buildset-config.freescale/nightly-fsl-ppc.conf     |   1 +
 buildset-config.iot-devkit/iot-devkit.conf         |   1 +
 buildset-config.kernel/kernel-arm-lsb.conf         |   1 +
 buildset-config.kernel/kernel-arm.conf             |   1 +
 buildset-config.kernel/kernel-arm64.conf           |   1 +
 buildset-config.kernel/kernel-mips-lsb.conf        |   1 +
 buildset-config.kernel/kernel-mips.conf            |   1 +
 buildset-config.kernel/kernel-ppc-lsb.conf         |   1 +
 buildset-config.kernel/kernel-ppc.conf             |   1 +
 buildset-config.kernel/kernel-x86-64-lsb.conf      |   1 +
 buildset-config.kernel/kernel-x86-64.conf          |   1 +
 buildset-config.kernel/kernel-x86-lsb.conf         |   1 +
 buildset-config.kernel/kernel-x86.conf             |   1 +
 buildset-config.kernel/nightly-kernel.conf         |   1 +
 buildset-config.tizen/nightly-tizen-ivi.conf       |   1 +
 buildset-config.tizen/nightly-tizen.conf           |   1 +
 buildset-config.tizen/nightly.conf                 |   1 +
 .../autobuilder/buildsteps/BuildImages.py          |   7 +-
 .../autobuilder/buildsteps/BuildToolchainImages.py |   7 +-
 .../autobuilder/buildsteps/DownloadErrorReports.py |  42 +++++++++
 .../autobuilder/buildsteps/GetBitbakeVersion.py    |   6 +-
 .../autobuilder/buildsteps/RunESDKSanityTests.py   |   6 +-
 .../autobuilder/buildsteps/RunOeSelftest.py        |  46 +++++++++
 .../autobuilder/buildsteps/RunSDKSanityTests.py    |   6 +-
 .../autobuilder/buildsteps/RunSanityTests.py       |   6 +-
 .../autobuilder/buildsteps/SendErrorReport.py      |  16 ++--
 .../site-packages/autobuilder/lib/ABTools.py       |  59
++++++++++++
 .../site-packages/autobuilder/lib/buildsteps.py    | 104
+++++++++++++++++++++
 .../buildbot/steps/transfer.py                     |  86
++++++++++++++++-
 .../buildslave/commands/registry.py                |   1 +
 .../buildslave/commands/transfer.py                |  79
++++++++++++++++
 72 files changed, 509 insertions(+), 24 deletions(-)
 create mode 100644 lib/python2.7/site-

packages/autobuilder/buildsteps/DownloadErrorReports.py