Skip to contentSkip to conversation

nightly-weston.conf: Run regular build tests for no-X11 case

PATCH In review Graydon, Tracy 4 participants 6 messages Mar 28, 2015 – Apr 1, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 nightly-weston.conf: Run regular build tests for no-X11 case

[YOCTO #6854]

A common configuration selection is to remove x11 from DISTRO_FEATURES. Add a nightly-weston.conf builset to allow us to test this via the autobuilder. Also added to nightly.conf and yoctoAB.conf.

---
 buildset-config.controller/nightly-weston.conf | 24 ++++++++++++++++++++++++
 buildset-config.controller/nightly.conf        |  2 +-
 buildset-config.controller/yoctoAB.conf        |  5 +++--
 3 files changed, 28 insertions(+), 3 deletions(-)
 create mode 100644 buildset-config.controller/nightly-weston.conf
buildset-config.controller/nightly-weston.conf new file +24 -0
new file mode 100644
index 0000000..d9875c6
@@ -0,0 +1,24 @@
+[nightly-weston]
+builders: 'example-worker'
+repos: [{'poky':
+            {'repourl':'git://git.yoctoproject.org/poky',
+             'layerversion':{'core':'meta', 'yoctobsp':'meta-yocto-bsp'},
+             'branch':'master'}},
+        {'meta-qt3':
+            {'repourl':'git://git.yoctoproject.org/meta-qt3',
+             'branch':'master'}}]
+steps: [{'SetDest':{}},
+        {'CheckOutLayers': {}},
+        {'RunPreamble': {}},
+        {'GetDistroVersion' : {'distro': 'poky'}},
+        {'CreateAutoConf': {'machine': 'qemux86-64', 'SDKMACHINE' : 'i686',
+                            'distro': 'poky', 'buildhistory' : False}},
+                            'atextappend' : '\nDISTRO_FEATURES_remove = " x11"\n'}},
+        {'CreateBBLayersConf': {'buildprovider' : 'yocto'}},
+        {'SyncPersistDB' : {'distro' : 'poky'}},
+        {'GetBitbakeVersion': {}},
+        {'BuildImages': {'images': 'core-image-weston'}},
+        {'PublishLayerTarballs':{}},
+        {'SendErrorReport': {}},
+        {'UploadToasterEventlog': {}},
+        {'PublishArtifacts': {'artifacts': ['qemux86-64', 'md5sums']}}]
buildset-config.controller/nightly.conf +1 -1
index cf7c77c..13235bf 100644
@@ -88,7 +88,7 @@ steps: [{'SetDest':{}},
                            'eclipse-plugin-kepler': {}, 'eclipse-plugin-juno': {},
                            'nightly-non-gpl3': {}, 'nightly-oecore': {},
                            'nightly-world':{}, 'nightly-world-lsb':{}, 'nightly-intel-gpl': {},
-                           'poky-tiny': {}, 'buildtools': {},
+                           'nightly-weston':{}, 'poky-tiny': {}, 'buildtools': {},
                            'nightly-qa-systemd': {}, 'nightly-qa-extras': {},
                            'nightly-qa-logrotate': {}, 'nightly-qa-pam': {},
                            'nightly-qa-skeleton': {}}}},
buildset-config.controller/yoctoAB.conf +3 -2
index 5bc369d..ab771c0 100644
@@ -6,5 +6,6 @@ order: ['nightly', 'eclipse-plugin-juno',
         'nightly-x86-64', 'nightly-x86-64-lsb', 'nightly-x86',
         'nightly-x86-lsb', 'nightly-x32', 'nightly-multilib',
         'nightly-world', 'nightly-world-lsb', 'nightly-non-gpl3', 
-        'nightly-oecore', 'nightly-intel-gpl', 'poky-tiny',
-        'build-appliance', 'nightly-qa-extras', 'nightly-qa-systemd']
+        'nightly-oecore', 'nightly-intel-gpl', 'nightly-weston',
+        'poky-tiny', 'build-appliance', 
+        'nightly-qa-extras', 'nightly-qa-systemd']
Signature · 1 line
1.9.3
#1 lore raw

Hi Tracy,

Quoted 63 lines · Tracy

[YOCTO #6854]

A common configuration selection is to remove x11 from DISTRO_FEATURES. Add a nightly-weston.conf builset to allow us to test this via the autobuilder. Also added to nightly.conf and yoctoAB.conf.

---
 buildset-config.controller/nightly-weston.conf | 24
++++++++++++++++++++++++ buildset-config.controller/nightly.conf        | 
2 +-
 buildset-config.controller/yoctoAB.conf        |  5 +++--
 3 files changed, 28 insertions(+), 3 deletions(-)
 create mode 100644 buildset-config.controller/nightly-weston.conf
(quoted diff) +0 -0

b/buildset-config.controller/nightly-weston.conf new file mode 100644 index 0000000..d9875c6

buildset-config.controller/nightly-weston.conf new file +15 -0
@@ -0,0 +1,24 @@
+[nightly-weston]
+builders: 'example-worker'
+repos: [{'poky':
+            {'repourl':'git://git.yoctoproject.org/poky',
+             'layerversion':{'core':'meta', 'yoctobsp':'meta-yocto-bsp'},
+             'branch':'master'}},
+        {'meta-qt3':
+            {'repourl':'git://git.yoctoproject.org/meta-qt3',
+             'branch':'master'}}]
+steps: [{'SetDest':{}},
+        {'CheckOutLayers': {}},
+        {'RunPreamble': {}},
+        {'GetDistroVersion' : {'distro': 'poky'}},
+        {'CreateAutoConf': {'machine': 'qemux86-64', 'SDKMACHINE' : 'i686',
+                            'distro': 'poky', 'buildhistory' : False}}, + 
                          'atextappend' : '\nDISTRO_FEATURES_remove = "

x11"\n'}}, + {'CreateBBLayersConf': {'buildprovider' : 'yocto'}},

buildset-config.controller/nightly-weston.conf new file +7 -0
+        {'SyncPersistDB' : {'distro' : 'poky'}},
+        {'GetBitbakeVersion': {}},
+        {'BuildImages': {'images': 'core-image-weston'}},
+        {'PublishLayerTarballs':{}},
+        {'SendErrorReport': {}},
+        {'UploadToasterEventlog': {}},
+        {'PublishArtifacts': {'artifacts': ['qemux86-64', 'md5sums']}}]
(quoted diff) +0 -0

b/buildset-config.controller/nightly.conf index cf7c77c..13235bf 100644

buildset-config.controller/nightly.conf +0 -0
@@ -88,7 +88,7 @@ steps: [{'SetDest':{}},
                            'eclipse-plugin-kepler': {},
 'eclipse-plugin-juno': {}, 'nightly-non-gpl3': {}, 'nightly-oecore': {},

'nightly-world':{}, 'nightly-world-lsb':{}, 'nightly-intel-gpl': {}, -

                     'poky-tiny': {}, 'buildtools': {},

+ 'nightly-weston':{}, 'poky-tiny': {},
'buildtools': {}, 'nightly-qa-systemd': {}, 'nightly-qa-extras': {}, 'nightly-qa-logrotate': {}, 'nightly-qa-pam': {}, 'nightly-qa-skeleton':
{}}}},

(quoted diff) +0 -0

b/buildset-config.controller/yoctoAB.conf index 5bc369d..ab771c0 100644

buildset-config.controller/yoctoAB.conf order: ['nightly', 'eclipse-plugin-juno', · line 11

Quoted 8 lines
buildset-config.controller/yoctoAB.conf +3 -2
@@ -6,5 +6,6 @@ order: ['nightly', 'eclipse-plugin-juno',
         'nightly-x86-64', 'nightly-x86-64-lsb', 'nightly-x86',
         'nightly-x86-lsb', 'nightly-x32', 'nightly-multilib',
         'nightly-world', 'nightly-world-lsb', 'nightly-non-gpl3',
-        'nightly-oecore', 'nightly-intel-gpl', 'poky-tiny',
-        'build-appliance', 'nightly-qa-extras', 'nightly-qa-systemd']
+        'nightly-oecore', 'nightly-intel-gpl', 'nightly-weston',
+        'poky-tiny', 'build-appliance',
+        'nightly-qa-extras', 'nightly-qa-systemd']

When I wrote the bug I was thinking more of systems with no graphics at all rather than with Weston replacing X11 - not that we shouldn't be testing Weston though I guess.

Cheers,
Paul

Signature · 2 lines
Paul Eggleton
Intel Open Source Technology Centre
#2 lore raw
Quoted 4 lines · Paul Eggleton

When I wrote the bug I was thinking more of systems with no graphics at all rather than with Weston replacing X11 - not that we shouldn't be testing Weston though I guess.

I guess there's value in both. I for one certainly want to see the non-X11 but still GL-enabled codepaths exerised for the Mesa/GTK+/GStreamer stacks.

Ross

#3 lore raw

Just following up on this. What images do we wish to do this for?

Tracy

From: <Burton>, Ross <[email protected]<mailto:[email protected]>>
Date: Monday, March 30, 2015 at 2:35 AM
To: Paul Eggleton <[email protected]<mailto:[email protected]>>
Cc: Tracy Graydon <[email protected]<mailto:[email protected]>>, "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>>
Subject: Re: [yocto] [PATCH] nightly-weston.conf: Run regular build tests for no-X11 case

On 28 March 2015 at 15:33, Paul Eggleton <[email protected]<mailto:[email protected]>> wrote:
When I wrote the bug I was thinking more of systems with no graphics
at all rather than with Weston replacing X11 - not that we shouldn't be
testing Weston though I guess.

I guess there's value in both. I for one certainly want to see the non-X11 but still GL-enabled codepaths exerised for the Mesa/GTK+/GStreamer stacks.

Ross

#4 lore raw
In reply to Paul Eggleton
Quoted 70 lines · Paul Eggleton

Hi Tracy,

Quoted 67 lines · Tracy

[YOCTO #6854]

A common configuration selection is to remove x11 from DISTRO_FEATURES. Add a nightly-weston.conf builset to allow us to test this via the autobuilder. Also added to nightly.conf and yoctoAB.conf.

---
 buildset-config.controller/nightly-weston.conf | 24
++++++++++++++++++++++++ buildset-config.controller/nightly.conf        |
2 +-
 buildset-config.controller/yoctoAB.conf        |  5 +++--
 3 files changed, 28 insertions(+), 3 deletions(-)
 create mode 100644 buildset-config.controller/nightly-weston.conf
(quoted diff) +0 -0

b/buildset-config.controller/nightly-weston.conf new file mode 100644 index 0000000..d9875c6

buildset-config.controller/nightly-weston.conf new file +15 -0
@@ -0,0 +1,24 @@
+[nightly-weston]
+builders: 'example-worker'
+repos: [{'poky':
+            {'repourl':'git://git.yoctoproject.org/poky',
+             'layerversion':{'core':'meta', 'yoctobsp':'meta-yocto-bsp'},
+             'branch':'master'}},
+        {'meta-qt3':
+            {'repourl':'git://git.yoctoproject.org/meta-qt3',
+             'branch':'master'}}]
+steps: [{'SetDest':{}},
+        {'CheckOutLayers': {}},
+        {'RunPreamble': {}},
+        {'GetDistroVersion' : {'distro': 'poky'}},
+        {'CreateAutoConf': {'machine': 'qemux86-64', 'SDKMACHINE' : 'i686',
+                            'distro': 'poky', 'buildhistory' : False}}, +
                          'atextappend' : '\nDISTRO_FEATURES_remove = "

x11"\n'}}, + {'CreateBBLayersConf': {'buildprovider' : 'yocto'}},

buildset-config.controller/nightly-weston.conf new file +7 -0
+        {'SyncPersistDB' : {'distro' : 'poky'}},
+        {'GetBitbakeVersion': {}},
+        {'BuildImages': {'images': 'core-image-weston'}},
+        {'PublishLayerTarballs':{}},
+        {'SendErrorReport': {}},
+        {'UploadToasterEventlog': {}},
+        {'PublishArtifacts': {'artifacts': ['qemux86-64', 'md5sums']}}]
(quoted diff) +0 -0

b/buildset-config.controller/nightly.conf index cf7c77c..13235bf 100644

buildset-config.controller/nightly.conf +0 -0
@@ -88,7 +88,7 @@ steps: [{'SetDest':{}},
                            'eclipse-plugin-kepler': {},
 'eclipse-plugin-juno': {}, 'nightly-non-gpl3': {}, 'nightly-oecore': {},

'nightly-world':{}, 'nightly-world-lsb':{}, 'nightly-intel-gpl': {}, -

                     'poky-tiny': {}, 'buildtools': {},

+ 'nightly-weston':{}, 'poky-tiny': {},
'buildtools': {}, 'nightly-qa-systemd': {}, 'nightly-qa-extras': {}, 'nightly-qa-logrotate': {}, 'nightly-qa-pam': {}, 'nightly-qa-skeleton':
{}}}},

(quoted diff) +0 -0

b/buildset-config.controller/yoctoAB.conf index 5bc369d..ab771c0 100644

buildset-config.controller/yoctoAB.conf +0 -1
@@ -6,5 +6,6 @@ order: ['nightly', 'eclipse-plugin-juno',
         'nightly-x86-64', 'nightly-x86-64-lsb', 'nightly-x86',
         'nightly-x86-lsb', 'nightly-x32', 'nightly-multilib',
         'nightly-world', 'nightly-world-lsb', 'nightly-non-gpl3',
-        'nightly-oecore', 'nightly-intel-gpl', 'poky-tiny',
Quoted 9 lines

buildset-config.controller/yoctoAB.conf order: ['nightly', 'eclipse-plugin-juno', · line 11

Quoted 4 lines
buildset-config.controller/yoctoAB.conf +3 -1
-        'build-appliance', 'nightly-qa-extras', 'nightly-qa-systemd']
+        'nightly-oecore', 'nightly-intel-gpl', 'nightly-weston',
+        'poky-tiny', 'build-appliance',
+        'nightly-qa-extras', 'nightly-qa-systemd']

When I wrote the bug I was thinking more of systems with no graphics at all rather than with Weston replacing X11 - not that we shouldn't be testing Weston though I guess.

Suggestion on which image to replace it with? I agree, there is value in both. nightly-noX11, I'd imagine.

-b

Quoted 12 lines

Cheers,
Paul

--

Paul Eggleton
Intel Open Source Technology Centre
--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

Signature · 3 lines
Elizabeth Flanagan
Yocto Project
Build and Release