All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Aníbal Limón" <anibal.limon@linux.intel.com>
To: yocto@yoctoproject.org
Cc: joshua.g.lock@intel.com
Subject: [PATCH][yocto-autobuilder] nigthly-qa-*, nigthly-rpm*: Move RunSanityTests before SendErrorReport
Date: Sun, 18 Sep 2016 13:05:17 -0500	[thread overview]
Message-ID: <1474221917-26367-1-git-send-email-anibal.limon@linux.intel.com> (raw)

If RunSanityTests executes after SendErrorReport and fails, the error
report was not send to the errors.yp.org server.

Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
---
 buildset-config.controller/nightly-qa-extras.conf       | 4 ++--
 buildset-config.controller/nightly-qa-logrotate.conf    | 6 ++----
 buildset-config.controller/nightly-qa-pam.conf          | 5 ++---
 buildset-config.controller/nightly-qa-skeleton.conf     | 5 ++---
 buildset-config.controller/nightly-qa-systemd.conf      | 4 ++--
 buildset-config.controller/nightly-qa-targetbuilds.conf | 6 +++---
 buildset-config.controller/nightly-rpm-non-rpm.conf     | 4 ++--
 buildset-config.controller/nightly-rpm.conf             | 4 ++--
 8 files changed, 17 insertions(+), 21 deletions(-)

diff --git a/buildset-config.controller/nightly-qa-extras.conf b/buildset-config.controller/nightly-qa-extras.conf
index 2ec7b50..f796bb1 100644
--- a/buildset-config.controller/nightly-qa-extras.conf
+++ b/buildset-config.controller/nightly-qa-extras.conf
@@ -18,6 +18,6 @@ steps: [{'SetDest':{}},
                             'distro': 'poky', 'buildhistory' : False,
                             'atextappend' : '\nROOT_HOME = "/root"\n'}},
         {'BuildImages': {'images': 'core-image-minimal'}},
+        {'RunSanityTests': {'images': 'core-image-minimal'}},
         {'DownloadErrorReports': {}},
-        {'SendErrorReport': {}},
-        {'RunSanityTests': {'images': 'core-image-minimal'}}]
+        {'SendErrorReport': {}}]
diff --git a/buildset-config.controller/nightly-qa-logrotate.conf b/buildset-config.controller/nightly-qa-logrotate.conf
index 41dd135..1545509 100644
--- a/buildset-config.controller/nightly-qa-logrotate.conf
+++ b/buildset-config.controller/nightly-qa-logrotate.conf
@@ -13,8 +13,6 @@ steps: [{'SetDest':{}},
                             'atextappend' : '\nIMAGE_INSTALL_append = " logrotate"\n'}},
         {'CreateBBLayersConf': {'buildprovider' : 'yocto'}},
         {'BuildImages': {'images': 'core-image-sato'}},
+        {'RunSanityTests': {'images': 'core-image-sato', 'suitesappend' : 'logrotate'}},
         {'DownloadErrorReports': {}},
-        {'SendErrorReport': {}},
-        {'RunSanityTests': {'images': 'core-image-sato', 'suitesappend' : 'logrotate'}}]
-
-
+        {'SendErrorReport': {}}]
diff --git a/buildset-config.controller/nightly-qa-pam.conf b/buildset-config.controller/nightly-qa-pam.conf
index 5cec2c8..3fdb76f 100644
--- a/buildset-config.controller/nightly-qa-pam.conf
+++ b/buildset-config.controller/nightly-qa-pam.conf
@@ -13,7 +13,6 @@ steps: [{'SetDest':{}},
                             'atextappend' : '\nDISTRO_FEATURES_append = " pam"\n'}},
         {'CreateBBLayersConf': {'buildprovider' : 'yocto'}},
         {'BuildImages': {'images': 'core-image-sato'}},
+        {'RunSanityTests': {'images': 'core-image-sato', 'suitesappend' : 'pam'}},
         {'SendErrorReport': {}},
-        {'DownloadErrorReports': {}},
-        {'RunSanityTests': {'images': 'core-image-sato', 'suitesappend' : 'pam'}}]
-
+        {'DownloadErrorReports': {}}]
diff --git a/buildset-config.controller/nightly-qa-skeleton.conf b/buildset-config.controller/nightly-qa-skeleton.conf
index c29ca7b..9ac4c5e 100644
--- a/buildset-config.controller/nightly-qa-skeleton.conf
+++ b/buildset-config.controller/nightly-qa-skeleton.conf
@@ -13,7 +13,6 @@ steps: [{'SetDest':{}},
                             'atextappend' : '\nIMAGE_INSTALL_append = " service hello-mod"\n'}},
         {'CreateBBLayersConf': {'buildprovider' : 'yocto', 'layerdirs': ['meta-skeleton']}},
         {'BuildImages': {'images': 'core-image-sato'}},
+        {'RunSanityTests': {'images': 'core-image-sato', 'suitesappend' : 'skeletoninit'}},
         {'DownloadErrorReports': {}},
-        {'SendErrorReport': {}},
-        {'RunSanityTests': {'images': 'core-image-sato', 'suitesappend' : 'skeletoninit'}}]
-
+        {'SendErrorReport': {}}]
diff --git a/buildset-config.controller/nightly-qa-systemd.conf b/buildset-config.controller/nightly-qa-systemd.conf
index 662caa6..bb6da0b 100644
--- a/buildset-config.controller/nightly-qa-systemd.conf
+++ b/buildset-config.controller/nightly-qa-systemd.conf
@@ -27,6 +27,6 @@ steps: [{'SetDest':{}},
                             'buildhistory' : False, 'distro': 'poky',
                             'initmgr' : 'systemd'}},
         {'BuildImages': {'images': 'core-image-sato'}},
+        {'RunSanityTests': {'images': 'core-image-sato', 'suitesappend' : 'systemd'}},
         {'DownloadErrorReports': {}},
-        {'SendErrorReport': {}},
-        {'RunSanityTests': {'images': 'core-image-sato', 'suitesappend' : 'systemd'}}]
+        {'SendErrorReport': {}}]
diff --git a/buildset-config.controller/nightly-qa-targetbuilds.conf b/buildset-config.controller/nightly-qa-targetbuilds.conf
index e31af26..c36f518 100644
--- a/buildset-config.controller/nightly-qa-targetbuilds.conf
+++ b/buildset-config.controller/nightly-qa-targetbuilds.conf
@@ -27,7 +27,7 @@ steps: [{'SetDest':{}},
         {'CreateAutoConf': {'machine': 'qemuppc', 'SDKMACHINE' : 'x86_64',
                             'buildhistory' : False, 'distro': 'poky'}},
         {'BuildImages': {'images': 'core-image-sato-sdk'}},
-        {'DownloadErrorReports': {}},
-        {'SendErrorReport': {}},
         {'RunSanityTests': {'images': 'core-image-sato-sdk',
-                            'suites' : 'ping ssh buildsudoku buildcvs buildiptables'}}]
+                            'suites' : 'ping ssh buildsudoku buildcvs buildiptables'}},
+        {'DownloadErrorReports': {}},
+        {'SendErrorReport': {}}]
diff --git a/buildset-config.controller/nightly-rpm-non-rpm.conf b/buildset-config.controller/nightly-rpm-non-rpm.conf
index 5290d6d..4ac743a 100644
--- a/buildset-config.controller/nightly-rpm-non-rpm.conf
+++ b/buildset-config.controller/nightly-rpm-non-rpm.conf
@@ -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'}},
+        {'RunSanityTests': {'images' : 'core-image-minimal core-image-sato core-image-sato-sdk'}},
         {'DownloadErrorReports': {}},
-        {'SendErrorReport': {}},
-        {'RunSanityTests': {'images' : 'core-image-minimal core-image-sato core-image-sato-sdk'}}]
+        {'SendErrorReport': {}}]
diff --git a/buildset-config.controller/nightly-rpm.conf b/buildset-config.controller/nightly-rpm.conf
index 2ea2d6e..646127f 100644
--- a/buildset-config.controller/nightly-rpm.conf
+++ b/buildset-config.controller/nightly-rpm.conf
@@ -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'}},
+        {'RunSanityTests': {'images' : 'core-image-minimal core-image-sato core-image-sato-sdk'}},
         {'DownloadErrorReports': {}},
-        {'SendErrorReport': {}},
-        {'RunSanityTests': {'images' : 'core-image-minimal core-image-sato core-image-sato-sdk'}}]
+        {'SendErrorReport': {}}]
-- 
2.1.4



             reply	other threads:[~2016-09-18 18:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-18 18:05 Aníbal Limón [this message]
2016-09-19 16:01 ` [PATCH][yocto-autobuilder] nigthly-qa-*, nigthly-rpm*: Move RunSanityTests before SendErrorReport Joshua Lock

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1474221917-26367-1-git-send-email-anibal.limon@linux.intel.com \
    --to=anibal.limon@linux.intel.com \
    --cc=joshua.g.lock@intel.com \
    --cc=yocto@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.