All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1] Set tested distros list
@ 2011-09-27 13:24 Paul Eggleton
  2011-09-27 13:24 ` [PATCH 1/1] conf/distro/poky.conf: set SANITY_TESTED_DISTROS Paul Eggleton
  0 siblings, 1 reply; 7+ messages in thread
From: Paul Eggleton @ 2011-09-27 13:24 UTC (permalink / raw)
  To: poky

I had hoped to be able to have a patch setting this list much earlier,
but for several reasons this did not happen. The list is quite short, but
it's currently all we have on record.

(Note, I excluded Fedora 16 as that isn't even at final RC stage yet.)

The following changes since commit e3c5d7a90ae179af0ac128ea4dfc1a5a6602c2e4:

  libtool: Fix an issue where unnecessary rpaths were being injected (2011-09-26 17:56:44 +0100)

are available in the git repository at:
  git://git.pokylinux.org/poky-contrib paule/sanity-distros
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=paule/sanity-distros

Paul Eggleton (1):
  conf/distro/poky.conf: set SANITY_TESTED_DISTROS

 meta-yocto/conf/distro/poky.conf |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)

-- 
1.7.4.1



^ permalink raw reply	[flat|nested] 7+ messages in thread

* [PATCH 1/1] conf/distro/poky.conf: set SANITY_TESTED_DISTROS
  2011-09-27 13:24 [PATCH 0/1] Set tested distros list Paul Eggleton
@ 2011-09-27 13:24 ` Paul Eggleton
       [not found]   ` <CAEsOVNc3BQLKkHHmvRE6oDe6k8CA_3Lybgqh8XmvLyNA+xhQ2A@mail.gmail.com>
  0 siblings, 1 reply; 7+ messages in thread
From: Paul Eggleton @ 2011-09-27 13:24 UTC (permalink / raw)
  To: poky

Specify a list of tested distributions, based on those tested prior
to the Yocto Project 1.1 release as recorded on the wiki.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
---
 meta-yocto/conf/distro/poky.conf |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/meta-yocto/conf/distro/poky.conf b/meta-yocto/conf/distro/poky.conf
index 46b22f4..5c09996 100644
--- a/meta-yocto/conf/distro/poky.conf
+++ b/meta-yocto/conf/distro/poky.conf
@@ -61,3 +61,15 @@ CONNECTIVITY_CHECK_URIS ?= "git://git.yoctoproject.org/yocto-firewall-test;proto
                           https://eula-downloads.yoctoproject.org/index.php \
                           http://bugzilla.yoctoproject.org/report.cgi"
 
+SANITY_TESTED_DISTROS = " \
+            Ubuntu 10.04 \n \
+            Ubuntu 10.04.3 LTS \n \
+            Ubuntu 11.04 \n \
+            Fedora release 13 (Goddard) \n \
+            Fedora release 14 (Laughlin) \n \
+            Fedora release 15 (Lovelock) \n \
+            openSUSE 11.2 \n \
+            openSUSE 11.3 \n \
+            openSUSE 11.4 \n \
+	    "
+
-- 
1.7.4.1



^ permalink raw reply related	[flat|nested] 7+ messages in thread

* Re: [PATCH 1/1] conf/distro/poky.conf: set SANITY_TESTED_DISTROS
       [not found]   ` <CAEsOVNc3BQLKkHHmvRE6oDe6k8CA_3Lybgqh8XmvLyNA+xhQ2A@mail.gmail.com>
@ 2011-09-27 16:10     ` Paul Eggleton
       [not found]       ` <CAEsOVNd=Ns1EfSBewKMoiMhDz9DvX9h-ULrJQkLa+h08XEfKJw@mail.gmail.com>
  0 siblings, 1 reply; 7+ messages in thread
From: Paul Eggleton @ 2011-09-27 16:10 UTC (permalink / raw)
  To: McClintock Matthew-B29882; +Cc: poky@yoctoproject.org

Hi Matthew,

On Tuesday 27 September 2011 16:41:42 McClintock Matthew-B29882 wrote:
> <paul.eggleton@linux.intel.com> wrote:
> > Specify a list of tested distributions, based on those tested prior
> > to the Yocto Project 1.1 release as recorded on the wiki.
> 
> What are the specific qualifications to make this list? I have run on
> CentOS 5.X in addition to ones on this list.

Well, there are two aspects:

1) We need the concrete information on what was tested; we've been collecting 
this on the following wiki page:

   https://wiki.yoctoproject.org/wiki/Distribution_Support

So, I'm not the person that sets policy on this (I'm not sure we have a policy 
yet) but thinking off the top of my head, ideally a Poky build of core-image-
sato should run "out of the box" (after installation of necessary packages, 
that is) with no hacks, although if we are able to document any necessary 
changes clearly I suspect even that shouldn't be an issue.

2) More practically we need to know what the ID string is for the distro. The 
code in sanity.bbclass looks at /etc/redhat-release, /etc/SuSE-release, 
/etc/lsb-release etc. to determine this.

FWIW I agree that CentOS should be on the list but I do not have a system 
running it to test, and I was missing the above information when I put 
together the patch. If you're confident that it works well for builds and can 
help with the above then I'm sure we can add it.

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 1/1] conf/distro/poky.conf: set SANITY_TESTED_DISTROS
       [not found]       ` <CAEsOVNd=Ns1EfSBewKMoiMhDz9DvX9h-ULrJQkLa+h08XEfKJw@mail.gmail.com>
@ 2011-09-27 16:40         ` Paul Eggleton
  0 siblings, 0 replies; 7+ messages in thread
From: Paul Eggleton @ 2011-09-27 16:40 UTC (permalink / raw)
  To: McClintock Matthew-B29882; +Cc: poky@yoctoproject.org

On Tuesday 27 September 2011 17:19:50 you wrote:
> The other question is what MACHINE's we build for - it should be
> fairly comprehensive to just test for one, but it's hardly adequate...
> I'd assume x86, arm, ppc, mips all need to be build tested and boot
> tested?

I'm not sure we need to go that far. We do run such comprehensive tests for a 
small list of common distros as part of the core testing done by the Yocto QA 
team. However, whilst it's entirely possible that a host distribution might 
cause failures with one MACHINE / TARGET_ARCH and not another, in practice I 
would expect that if a build of a fairly comprehensive image (such as core-
image-sato) for one machine is able to complete successfully and run within 
QEMU then that should be a good indicator that the host distro is suitable. 
Additionally, if builds are being run on that system on a regular basis (e.g. 
the autobuilders, or a developer's main machine) then that would of course 
increase the level of confidence in that distribution.

Naturally, resources allowing we would like to have full batches of tests run 
on more distributions, but I don't think it's practical to commit to testing 
every distro.

Jiajun might have some other opinions/experience here, Jiajun...?

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [PATCH 1/1] conf/distro/poky.conf: set SANITY_TESTED_DISTROS
  2012-04-17 23:46 [PATCH 0/1] [1.2] Enable untested distribution warning Paul Eggleton
@ 2012-04-17 23:46 ` Paul Eggleton
  2012-04-18  7:00   ` Saul Wold
  0 siblings, 1 reply; 7+ messages in thread
From: Paul Eggleton @ 2012-04-17 23:46 UTC (permalink / raw)
  To: poky

Specify a list of tested host distributions, based on those tested prior
to the Yocto Project 1.2 release. This will enable a warning to be
printed upon starting bitbake if the host distribution is not one on the
list.

Note: this warning is intended to help new users; if you are receiving
this warning and wish to disable it, just add SANITY_TESTED_DISTROS = ""
to your local.conf.

Fixes [YOCTO #1096].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
---
 meta-yocto/conf/distro/poky.conf |   16 ++++++++++++++++
 1 files changed, 16 insertions(+), 0 deletions(-)

diff --git a/meta-yocto/conf/distro/poky.conf b/meta-yocto/conf/distro/poky.conf
index e51ccdf..807a44d 100644
--- a/meta-yocto/conf/distro/poky.conf
+++ b/meta-yocto/conf/distro/poky.conf
@@ -65,6 +65,22 @@ CONNECTIVITY_CHECK_URIS ?= "git://git.yoctoproject.org/yocto-firewall-test;proto
                           https://eula-downloads.yoctoproject.org/index.php \
                           http://bugzilla.yoctoproject.org/report.cgi"
 
+SANITY_TESTED_DISTROS ?= " \
+            Yocto (Built by Poky 7.0) 1.2 \n \
+            Ubuntu 10.04.4 LTS \n \
+            Ubuntu 11.10 \n \
+            Ubuntu 12.04 \n \
+            Fedora release 15 (Lovelock) \n \
+            Fedora release 16 (Verne) \n \
+            Fedora release 17 (Beefy Miracle) \n \
+            CentOS release 5.6 (Final) \n \
+            CentOS release 5.7 (Final) \n \
+            CentOS release 6.2 (Final) \n \
+            Debian GNU/Linux 6.0.3 (squeeze) \n \
+            openSUSE 11.4 \n \
+            openSUSE 12.1 \n \
+	    "
+
 # Default hash policy for distro
 BB_SIGNATURE_HANDLER ?= 'OEBasicHash'
 #
-- 
1.7.5.4



^ permalink raw reply related	[flat|nested] 7+ messages in thread

* Re: [PATCH 1/1] conf/distro/poky.conf: set SANITY_TESTED_DISTROS
  2012-04-17 23:46 ` [PATCH 1/1] conf/distro/poky.conf: set SANITY_TESTED_DISTROS Paul Eggleton
@ 2012-04-18  7:00   ` Saul Wold
  0 siblings, 0 replies; 7+ messages in thread
From: Saul Wold @ 2012-04-18  7:00 UTC (permalink / raw)
  To: Paul Eggleton; +Cc: poky

On 04/17/2012 04:46 PM, Paul Eggleton wrote:
> Specify a list of tested host distributions, based on those tested prior
> to the Yocto Project 1.2 release. This will enable a warning to be
> printed upon starting bitbake if the host distribution is not one on the
> list.
>
> Note: this warning is intended to help new users; if you are receiving
> this warning and wish to disable it, just add SANITY_TESTED_DISTROS = ""
> to your local.conf.
>
> Fixes [YOCTO #1096].
>
> Signed-off-by: Paul Eggleton<paul.eggleton@linux.intel.com>
> ---
>   meta-yocto/conf/distro/poky.conf |   16 ++++++++++++++++
>   1 files changed, 16 insertions(+), 0 deletions(-)
>
> diff --git a/meta-yocto/conf/distro/poky.conf b/meta-yocto/conf/distro/poky.conf
> index e51ccdf..807a44d 100644
> --- a/meta-yocto/conf/distro/poky.conf
> +++ b/meta-yocto/conf/distro/poky.conf
> @@ -65,6 +65,22 @@ CONNECTIVITY_CHECK_URIS ?= "git://git.yoctoproject.org/yocto-firewall-test;proto
>                             https://eula-downloads.yoctoproject.org/index.php \
>                             http://bugzilla.yoctoproject.org/report.cgi"
>
> +SANITY_TESTED_DISTROS ?= " \
> +            Yocto (Built by Poky 7.0) 1.2 \n \
> +            Ubuntu 10.04.4 LTS \n \
> +            Ubuntu 11.10 \n \
> +            Ubuntu 12.04 \n \
> +            Fedora release 15 (Lovelock) \n \
> +            Fedora release 16 (Verne) \n \
> +            Fedora release 17 (Beefy Miracle) \n \
> +            CentOS release 5.6 (Final) \n \
> +            CentOS release 5.7 (Final) \n \
> +            CentOS release 6.2 (Final) \n \
> +            Debian GNU/Linux 6.0.3 (squeeze) \n \
> +            openSUSE 11.4 \n \
> +            openSUSE 12.1 \n \
> +	    "
> +
>   # Default hash policy for distro
>   BB_SIGNATURE_HANDLER ?= 'OEBasicHash'
>   #


Paul, I got the following WARNING withthis code enabled:

WARNING: Host distribution "Fedora release 16 (Verne)
" has not been validated with this version of the build system; you may 
possibly experience unexpected failures. It is recommended that you use 
a tested distribution.


$ cat /etc/redhat-release
Fedora release 16 (Verne)
[sgw@swold-mobl poky]$

Not sure what's going on, but the matching does not seem to be working.

Sau!





^ permalink raw reply	[flat|nested] 7+ messages in thread

* [PATCH 1/1] conf/distro/poky.conf: set SANITY_TESTED_DISTROS
  2012-04-18 10:03 [PATCH 0/1] Enable untested distribution warning v2 Paul Eggleton
@ 2012-04-18 10:03 ` Paul Eggleton
  0 siblings, 0 replies; 7+ messages in thread
From: Paul Eggleton @ 2012-04-18 10:03 UTC (permalink / raw)
  To: poky

Specify a list of tested host distributions, based on those tested prior
to the Yocto Project 1.2 release. This will enable a warning to be
printed upon starting bitbake if the host distribution is not one on the
list.

Note: this warning is intended to help new users; if you are receiving
this warning and wish to disable it, just add SANITY_TESTED_DISTROS = ""
to your local.conf.

Fixes [YOCTO #1096].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
---
 meta-yocto/conf/distro/poky.conf |   16 ++++++++++++++++
 1 files changed, 16 insertions(+), 0 deletions(-)

diff --git a/meta-yocto/conf/distro/poky.conf b/meta-yocto/conf/distro/poky.conf
index e51ccdf..cd5c546 100644
--- a/meta-yocto/conf/distro/poky.conf
+++ b/meta-yocto/conf/distro/poky.conf
@@ -65,6 +65,22 @@ CONNECTIVITY_CHECK_URIS ?= "git://git.yoctoproject.org/yocto-firewall-test;proto
                           https://eula-downloads.yoctoproject.org/index.php \
                           http://bugzilla.yoctoproject.org/report.cgi"
 
+SANITY_TESTED_DISTROS ?= " \
+            Yocto (Built by Poky 7.0) 1.2 \n \
+            Ubuntu 10.04.4 LTS \n \
+            Ubuntu 11.10 \n \
+            Ubuntu 12.04 \n \
+            Fedora release 15 (Lovelock) \n \
+            Fedora release 16 (Verne) \n \
+            Fedora release 17 (Beefy Miracle) \n \
+            CentOS release 5.6 (Final) \n \
+            CentOS release 5.7 (Final) \n \
+            CentOS release 6.2 (Final) \n \
+            Debian GNU/Linux 6.0.4 (squeeze) \n \
+            openSUSE 11.4 \n \
+            openSUSE 12.1 \n \
+	    "
+
 # Default hash policy for distro
 BB_SIGNATURE_HANDLER ?= 'OEBasicHash'
 #
-- 
1.7.5.4



^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2012-04-18 10:03 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-27 13:24 [PATCH 0/1] Set tested distros list Paul Eggleton
2011-09-27 13:24 ` [PATCH 1/1] conf/distro/poky.conf: set SANITY_TESTED_DISTROS Paul Eggleton
     [not found]   ` <CAEsOVNc3BQLKkHHmvRE6oDe6k8CA_3Lybgqh8XmvLyNA+xhQ2A@mail.gmail.com>
2011-09-27 16:10     ` Paul Eggleton
     [not found]       ` <CAEsOVNd=Ns1EfSBewKMoiMhDz9DvX9h-ULrJQkLa+h08XEfKJw@mail.gmail.com>
2011-09-27 16:40         ` Paul Eggleton
  -- strict thread matches above, loose matches on Subject: below --
2012-04-17 23:46 [PATCH 0/1] [1.2] Enable untested distribution warning Paul Eggleton
2012-04-17 23:46 ` [PATCH 1/1] conf/distro/poky.conf: set SANITY_TESTED_DISTROS Paul Eggleton
2012-04-18  7:00   ` Saul Wold
2012-04-18 10:03 [PATCH 0/1] Enable untested distribution warning v2 Paul Eggleton
2012-04-18 10:03 ` [PATCH 1/1] conf/distro/poky.conf: set SANITY_TESTED_DISTROS Paul Eggleton

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.