Skip to contentSkip to conversation

poky.conf: update SANITY_TESTED_DISTROS

PATCH Superseded Martin Jansa 3 participants 14 messages Mar 1, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 poky.conf: update SANITY_TESTED_DISTROS

* use DistributorId-Release
* please test values for Yocto, Poky, CentOS and openSUSE

---
 meta-yocto/conf/distro/poky.conf | 40 +++++++++++++++++++---------------------
 1 file changed, 19 insertions(+), 21 deletions(-)
meta-yocto/conf/distro/poky.conf +19 -21
index c48b492..62ad819 100644
@@ -69,27 +69,25 @@ CONNECTIVITY_CHECK_URIS ?= " \
              http://bugzilla.yoctoproject.org/report.cgi"
 
 SANITY_TESTED_DISTROS ?= " \
-            Yocto (Built by Poky 7.0) 1.2 \n \
-            Poky 7.0 (Yocto Project 1.2 Reference Distro) 1.2 \n \
-            Poky 8.0 (Yocto Project 1.3 Reference Distro) 1.3 \n \
-            Ubuntu 10.04.4 LTS \n \
-            Ubuntu 11.10 \n \
-            Ubuntu 12.04 LTS \n \
-            Ubuntu 12.04.2 LTS \n \
-            Ubuntu 12.04.1 LTS \n \
-            Ubuntu 12.10 \n \
-            Fedora release 16 (Verne) \n \
-            Fedora release 17 (Beefy Miracle) \n \
-            Fedora release 18 (Spherical Cow) \n \
-            CentOS release 5.6 (Final) \n \
-            CentOS release 5.7 (Final) \n \
-            CentOS release 5.8 (Final) \n \
-            CentOS release 6.3 (Final) \n \
-            Debian GNU/Linux 6.0.6 (squeeze) \n \
-            Debian GNU/Linux 7.0 (wheezy) \n \
-            openSUSE 11.4 \n \
-            openSUSE 12.1 \n \
-            openSUSE 12.2 \n \
+            Yocto-1.2 \n \
+            Poky-1.2 \n \
+            Poky-1.3 \n \
+            Ubuntu-10.04 \n \
+            Ubuntu-11.10 \n \
+            Ubuntu-12.04 \n \
+            Ubuntu-12.10 \n \
+            Fedora-16 \n \
+            Fedora-17 \n \
+            Fedora-18 \n \
+            CentOS-5.6 \n \
+            CentOS-5.7 \n \
+            CentOS-5.8 \n \
+            CentOS-6.3 \n \
+            Debian-6.0 \n \
+            Debian-7.0 \n \
+            openSUSE-11.4 \n \
+            openSUSE-12.1 \n \
+            openSUSE-12.2 \n \
 	    "
 
 # Default hash policy for distro
Signature · 1 line
1.8.1.4
#1 lore raw

PATCH v2 1/1 poky.conf: update SANITY_TESTED_DISTROS

* use DistributorId-Release
* please test values for Yocto, Poky, CentOS and openSUSE

---
 meta-yocto/conf/distro/poky.conf | 40 +++++++++++++++++++---------------------
 1 file changed, 19 insertions(+), 21 deletions(-)
meta-yocto/conf/distro/poky.conf +19 -21
index c48b492..48180d7 100644
@@ -69,27 +69,25 @@ CONNECTIVITY_CHECK_URIS ?= " \
              http://bugzilla.yoctoproject.org/report.cgi"
 
 SANITY_TESTED_DISTROS ?= " \
-            Yocto (Built by Poky 7.0) 1.2 \n \
-            Poky 7.0 (Yocto Project 1.2 Reference Distro) 1.2 \n \
-            Poky 8.0 (Yocto Project 1.3 Reference Distro) 1.3 \n \
-            Ubuntu 10.04.4 LTS \n \
-            Ubuntu 11.10 \n \
-            Ubuntu 12.04 LTS \n \
-            Ubuntu 12.04.2 LTS \n \
-            Ubuntu 12.04.1 LTS \n \
-            Ubuntu 12.10 \n \
-            Fedora release 16 (Verne) \n \
-            Fedora release 17 (Beefy Miracle) \n \
-            Fedora release 18 (Spherical Cow) \n \
-            CentOS release 5.6 (Final) \n \
-            CentOS release 5.7 (Final) \n \
-            CentOS release 5.8 (Final) \n \
-            CentOS release 6.3 (Final) \n \
-            Debian GNU/Linux 6.0.6 (squeeze) \n \
-            Debian GNU/Linux 7.0 (wheezy) \n \
-            openSUSE 11.4 \n \
-            openSUSE 12.1 \n \
-            openSUSE 12.2 \n \
+            Yocto-1.2 \n \
+            Poky-1.2 \n \
+            Poky-1.3 \n \
+            Ubuntu-10.04 \n \
+            Ubuntu-11.10 \n \
+            Ubuntu-12.04 \n \
+            Ubuntu-12.10 \n \
+            Fedora-16 \n \
+            Fedora-17 \n \
+            Fedora-18 \n \
+            CentOS-5.6 \n \
+            CentOS-5.7 \n \
+            CentOS-5.8 \n \
+            CentOS-6.3 \n \
+            Debian-6.0 \n \
+            Debian-7.0 \n \
+            SUSE-LINUX-11.4 \n \
+            SUSE-LINUX-12.1 \n \
+            SUSE-LINUX-12.2 \n \
 	    "
 
 # Default hash policy for distro
Signature · 1 line
1.8.1.4
#2 lore raw

commit be248b0222bda151ae5f94be6bb8a53e192ecded on master is causing:

WARNING: Host distribution "openSUSE 12.2" 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.

#3 lore raw
Quoted 6 lines · Trevor Woerner

commit be248b0222bda151ae5f94be6bb8a53e192ecded on master is causing:

WARNING: Host distribution "openSUSE 12.2" 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.

What's the name of LSB directory in sstate-cache?

According to output you sent to oe-core it should be SUSE-LINUX-12.2 and this warning should match that.

But it's probably read from /etc/SuSE-release in your case, I'll send patch to remove /etc/SuSE-release and /etc/redhat-release reading in sanity.bbclass. Please test it when you can.

Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#4 lore raw
Quoted 8 lines · Martin Jansa
Quoted 6 lines · Trevor Woerner

commit be248b0222bda151ae5f94be6bb8a53e192ecded on master is causing:

WARNING: Host distribution "openSUSE 12.2" 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.

Quoted 4 lines

What's the name of LSB directory in sstate-cache?

According to output you sent to oe-core it should be SUSE-LINUX-12.2 and this warning should match that.

Yes, there is a directory in sstate-cache named "SUSE-LINUX-12.2".

Quoted 3 lines

But it's probably read from /etc/SuSE-release in your case, I'll send patch to remove /etc/SuSE-release and /etc/redhat-release reading in sanity.bbclass.

$ cat /etc/SuSE-release
openSUSE 12.2 (x86_64)
VERSION = 12.2
CODENAME = Mantis
Quoted 1 line

Please test it when you can.

Sure, I'm happy to help.

#5 lore raw
Quoted 20 lines · Trevor Woerner
Quoted 8 lines · Martin Jansa
Quoted 6 lines · Trevor Woerner

commit be248b0222bda151ae5f94be6bb8a53e192ecded on master is causing:

WARNING: Host distribution "openSUSE 12.2" 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.

Quoted 4 lines

What's the name of LSB directory in sstate-cache?

According to output you sent to oe-core it should be SUSE-LINUX-12.2 and this warning should match that.

Yes, there is a directory in sstate-cache named "SUSE-LINUX-12.2".

Quoted 3 lines

But it's probably read from /etc/SuSE-release in your case, I'll send patch to remove /etc/SuSE-release and /etc/redhat-release reading in sanity.bbclass.

Quoted 8 lines
$ cat /etc/SuSE-release
openSUSE 12.2 (x86_64)
VERSION = 12.2
CODENAME = Mantis
Quoted 1 line

Please test it when you can.

Sure, I'm happy to help.

Retry with
http://lists.linuxtogo.org/pipermail/openembedded-core/2013-March/036566.html
https://lists.yoctoproject.org/pipermail/poky/2013-March/008820.html
applied, thanks.

Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#6 lore raw

As Richard points out, this doesn't apply cleanly to master's HEAD.

When I test with the following:

SANITY_TESTED_DISTROS ?= " \
            Yocto-1.2 \n \
            Poky-1.2 \n \
            Poky-1.3 \n \
            Ubuntu-10.04 \n \
            Ubuntu-11.10 \n \
            Ubuntu-12.04 \n \
            Ubuntu-12.10 \n \
            Fedora-16 \n \
            Fedora-17 \n \
            Fedora-18 \n \
            CentOS-5.6 \n \
            CentOS-5.7 \n \
            CentOS-5.8 \n \
            CentOS-6.3 \n \
            Debian-6.0 \n \
            Debian-7.0 \n \
            SUSE-LINUX-11.4 \n \
            SUSE-LINUX-12.1 \n \
            SUSE-LINUX-12.2 \n \

It fails.

If I take the master HEAD (8264863ea0674f6cb105f5f7301861408fdc409b) and modify poky.conf as follows:

SANITY_TESTED_DISTROS ?= " \
            Yocto-1.2 \n \
            Poky-1.2 \n \
            Poky-1.3 \n \
            Ubuntu-10.04 \n \
            Ubuntu-11.10 \n \
            Ubuntu-12.04 \n \
            Ubuntu-12.10 \n \
            Fedora-16 \n \
            Fedora-17 \n \
            Fedora-18 \n \
            CentOS-5.6 \n \
            CentOS-5.7 \n \
            CentOS-5.8 \n \
            CentOS-6.3 \n \
            Debian-6.0 \n \
            Debian-7.0 \n \
            SUSE-LINUX-11.4 \n \
            SUSE-LINUX-12.1 \n \
            SUSE-LINUX-12.2 \n \
            openSUSE 12.2 \n \
            "

It succeeds.

Do I have to clean out all or any part of my sstate-cache for this test? Sorry if I'm messing up on my end.

#7 lore raw
Quoted 1 line · Trevor Woerner

As Richard points out, this doesn't apply cleanly to master's HEAD.

Ah my fault, I've rebased it, but in the end sent old version of that patch, new one should be on ML now:
https://lists.yoctoproject.org/pipermail/poky/2013-March/008824.html

Quoted 16 lines

When I test with the following:

SANITY_TESTED_DISTROS ?= " \
            Yocto-1.2 \n \
            Poky-1.2 \n \
            Poky-1.3 \n \
            Ubuntu-10.04 \n \
            Ubuntu-11.10 \n \
            Ubuntu-12.04 \n \
            Ubuntu-12.10 \n \
            Fedora-16 \n \
            Fedora-17 \n \
            Fedora-18 \n \
            CentOS-5.6 \n \
            CentOS-5.7 \n \
            CentOS-5.8 \n \
Quoted 8 lines
            CentOS-6.3 \n \
            Debian-6.0 \n \
            Debian-7.0 \n \
            SUSE-LINUX-11.4 \n \
            SUSE-LINUX-12.1 \n \
            SUSE-LINUX-12.2 \n \
            openSUSE 12.2 \n \
            "

openSUSE 12.2 \n \

This line shouldn't be needed with this patch for oe-core:
http://lists.linuxtogo.org/pipermail/openembedded-core/2013-March/036566.html

Quoted 2 lines

Do I have to clean out all or any part of my sstate-cache for this test? Sorry if I'm messing up on my end.

No, just running bitbake and not seeing WARNING from sanity is good enough.

Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#8 lore raw
Quoted 2 lines · Martin Jansa

This line shouldn't be needed with this patch for oe-core:

http://lists.linuxtogo.org/pipermail/openembedded-core/2013-March/036566.html

Sorry :-(

Applying that patch to master's HEAD:

    8c3550cc16b8382b005550f71ae0df6e7916b8e9 sanity.bbclass: always use
oe.lsb.distro_identifier method
    8264863ea0674f6cb105f5f7301861408fdc409b Add KERNEL_EXTRA_ARGS parameter
    86d6ec51f0e1a4f5335d72928ef14ea1335d49b0 module.bbclass: Create a new
depmodwrapper to assist cross-installs
    be248b0222bda151ae5f94be6bb8a53e192ecded poky.conf: update
SANITY_TESTED_DISTROS
    e5f3b992d7edc7b5e2467865a9fad738fbeaf40f sanity: use lsb
distro_identifier
    ....

still produces the problem:

WARNING: Host distribution "SUSE-LINUX-12.2" 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.

#9 lore raw
Quoted 8 lines · Trevor Woerner
Quoted 2 lines · Martin Jansa

This line shouldn't be needed with this patch for oe-core:

http://lists.linuxtogo.org/pipermail/openembedded-core/2013-March/036566.html

Sorry :-(

Applying that patch to master's HEAD:

Do you also have this one?
https://lists.yoctoproject.org/pipermail/poky/2013-March/008824.html

Quoted 17 lines
    8c3550cc16b8382b005550f71ae0df6e7916b8e9 sanity.bbclass: always use
oe.lsb.distro_identifier method
    8264863ea0674f6cb105f5f7301861408fdc409b Add KERNEL_EXTRA_ARGS parameter
    86d6ec51f0e1a4f5335d72928ef14ea1335d49b0 module.bbclass: Create a new
depmodwrapper to assist cross-installs
    be248b0222bda151ae5f94be6bb8a53e192ecded poky.conf: update
SANITY_TESTED_DISTROS
    e5f3b992d7edc7b5e2467865a9fad738fbeaf40f sanity: use lsb
distro_identifier
    ....

still produces the problem:

WARNING: Host distribution "SUSE-LINUX-12.2" 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.

Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#12 lore raw
In reply to Martin Jansa
Quoted 2 lines · Martin Jansa

* use DistributorId-Release
* please test values for Yocto, Poky, CentOS and openSUSE

Looks like v1 was already applied to meta-yocto, waiting for Trevor's confirmation, but openSUSE entries need to be updated.

Quoted 59 lines
---
 meta-yocto/conf/distro/poky.conf | 40 +++++++++++++++++++---------------------
 1 file changed, 19 insertions(+), 21 deletions(-)
meta-yocto/conf/distro/poky.conf +19 -21
index c48b492..48180d7 100644
@@ -69,27 +69,25 @@ CONNECTIVITY_CHECK_URIS ?= " \
              http://bugzilla.yoctoproject.org/report.cgi"
 
 SANITY_TESTED_DISTROS ?= " \
-            Yocto (Built by Poky 7.0) 1.2 \n \
-            Poky 7.0 (Yocto Project 1.2 Reference Distro) 1.2 \n \
-            Poky 8.0 (Yocto Project 1.3 Reference Distro) 1.3 \n \
-            Ubuntu 10.04.4 LTS \n \
-            Ubuntu 11.10 \n \
-            Ubuntu 12.04 LTS \n \
-            Ubuntu 12.04.2 LTS \n \
-            Ubuntu 12.04.1 LTS \n \
-            Ubuntu 12.10 \n \
-            Fedora release 16 (Verne) \n \
-            Fedora release 17 (Beefy Miracle) \n \
-            Fedora release 18 (Spherical Cow) \n \
-            CentOS release 5.6 (Final) \n \
-            CentOS release 5.7 (Final) \n \
-            CentOS release 5.8 (Final) \n \
-            CentOS release 6.3 (Final) \n \
-            Debian GNU/Linux 6.0.6 (squeeze) \n \
-            Debian GNU/Linux 7.0 (wheezy) \n \
-            openSUSE 11.4 \n \
-            openSUSE 12.1 \n \
-            openSUSE 12.2 \n \
+            Yocto-1.2 \n \
+            Poky-1.2 \n \
+            Poky-1.3 \n \
+            Ubuntu-10.04 \n \
+            Ubuntu-11.10 \n \
+            Ubuntu-12.04 \n \
+            Ubuntu-12.10 \n \
+            Fedora-16 \n \
+            Fedora-17 \n \
+            Fedora-18 \n \
+            CentOS-5.6 \n \
+            CentOS-5.7 \n \
+            CentOS-5.8 \n \
+            CentOS-6.3 \n \
+            Debian-6.0 \n \
+            Debian-7.0 \n \
+            SUSE-LINUX-11.4 \n \
+            SUSE-LINUX-12.1 \n \
+            SUSE-LINUX-12.2 \n \
 	    "
 
 # Default hash policy for distro
Signature · 1 line
1.8.1.4
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#13 lore raw
In reply to Martin Jansa
Quoted 49 lines · Martin Jansa

* use DistributorId-Release
* please test values for Yocto, Poky, CentOS and openSUSE

---
 meta-yocto/conf/distro/poky.conf | 40 +++++++++++++++++++---------------------
 1 file changed, 19 insertions(+), 21 deletions(-)
meta-yocto/conf/distro/poky.conf +12 -21
index c48b492..48180d7 100644
@@ -69,27 +69,25 @@ CONNECTIVITY_CHECK_URIS ?= " \
              http://bugzilla.yoctoproject.org/report.cgi"
 
 SANITY_TESTED_DISTROS ?= " \
-            Yocto (Built by Poky 7.0) 1.2 \n \
-            Poky 7.0 (Yocto Project 1.2 Reference Distro) 1.2 \n \
-            Poky 8.0 (Yocto Project 1.3 Reference Distro) 1.3 \n \
-            Ubuntu 10.04.4 LTS \n \
-            Ubuntu 11.10 \n \
-            Ubuntu 12.04 LTS \n \
-            Ubuntu 12.04.2 LTS \n \
-            Ubuntu 12.04.1 LTS \n \
-            Ubuntu 12.10 \n \
-            Fedora release 16 (Verne) \n \
-            Fedora release 17 (Beefy Miracle) \n \
-            Fedora release 18 (Spherical Cow) \n \
-            CentOS release 5.6 (Final) \n \
-            CentOS release 5.7 (Final) \n \
-            CentOS release 5.8 (Final) \n \
-            CentOS release 6.3 (Final) \n \
-            Debian GNU/Linux 6.0.6 (squeeze) \n \
-            Debian GNU/Linux 7.0 (wheezy) \n \
-            openSUSE 11.4 \n \
-            openSUSE 12.1 \n \
-            openSUSE 12.2 \n \
+            Yocto-1.2 \n \
+            Poky-1.2 \n \
+            Poky-1.3 \n \
+            Ubuntu-10.04 \n \
+            Ubuntu-11.10 \n \
+            Ubuntu-12.04 \n \
+            Ubuntu-12.10 \n \
+            Fedora-16 \n \
+            Fedora-17 \n \
+            Fedora-18 \n \
+            CentOS-5.6 \n \
+            CentOS-5.7 \n \

meta-yocto/conf/distro/poky.conf CONNECTIVITY_CHECK_URIS ?= " \ · line 93

Quoted 10 lines
meta-yocto/conf/distro/poky.conf +7 -0
+            CentOS-5.8 \n \
+            CentOS-6.3 \n \
+            Debian-6.0 \n \
+            Debian-7.0 \n \
+            SUSE-LINUX-11.4 \n \
+            SUSE-LINUX-12.1 \n \
+            SUSE-LINUX-12.2 \n \
 	    "
 
 # Default hash policy for distro

I thought I'd already merged this?

Thanks for taking care of it though. Can you rediff against master please?

Thanks,

Richard