QA notification for completed autobuilder build (yocto-3.1.11.rc2)
Richard Purdie
A build flagged for QA (yocto-3.1.11.rc2) was completed on the autobuilder and
is available at: https://autobuilder.yocto.io/pub/releases/yocto-3.1.11.rc2 Build hash information: bitbake: c2a3bda3a29e12472ef7862e424ea1552fab2959 meta-agl: 60344efa7a50dc2548fc4b5d68b5ad4d60c4023a meta-arm: ce535dfb96de4d2529f091d7d85a7172c626001c meta-aws: c5164c1a795c21f7caccc3b68bb2e81a55bddb0e meta-gplv2: 60b251c25ba87e946a0ca4cdc8d17b1cb09292ac meta-intel: 6837552365d3cac5f8044a5ae910aa874435f766 meta-mingw: 524de686205b5d6736661d4532f5f98fee8589b7 meta-openembedded: 2e7e98cd0cb82db214b13224c71134b9335a719b oecore: c7d2281eb6cda9c1637c20b3540b142073bca235 poky: 74b22db6879b388d700f61e08cb3f239cf940d18 This is an automated message from the Yocto Project Autobuilder Git: git://git.yoctoproject.org/yocto-autobuilder2 Email: richard.purdie@...
|
|
Re: Sharing sstate cache across build nodes
On Wed, Sep 15, 2021 at 9:34 PM Rusty Howell <rustyhowell@...> wrote:
yes if you use uninative ( which is default in poky) then it should be able to share across multiple build hosts. if you preserve PR server data then you should be good. sstate can be regenerated. Thanks a bunch.
|
|
Re: Sharing sstate cache across build nodes
Rusty Howell
Thanks for the replies, Richard.Ā
Can SSTATE_DIR be shared across build hosts with different OS'sĀ (Ubuntu 18.04, ubuntu 20.04, etc, RHEL)? Ā
Our build hosts are somewhat ephemeral.Ā Occasionally we need to swap out a build host for another one. So to bring on a new fresh build host and have it cooperate correctly with the other build hosts and the PR server, what does it need?Ā I understand having the NFS mounted SSTATE_DIR, and using the PRSERV_HOST variable set correctly. But what else?Ā Does the new build host need access to a shared PERSISTENT_DIR or a shared BUILDHISTORY_DIR?
Ā
What happens if the shared SSTATE cache get corrupted and has to be deleted?Ā Ā Won't that cause all the PR server values to reset?Ā We just want to make sure we know how to recover from a situation like that.Thanks a bunch. Rusty
|
|
Re: Sharing sstate cache across build nodes
Rusty Howell
Below is an accidental DM between Richard and myself. I am posting it here
for others. > When setting up a shared sstate cache via NFS, do all the build hosts have > read/write access to the sstate cache at the same time?Ā Doesn't that cause > corruption in the sstate cache?Ā If they only have read-only access, is there > anything to consider when selecting which build host will generate the sstate > cache that is shared?Ā Writes to SSTATE_DIR are careful and should use atomic moves into place so sharing read/write via NFS should be safe. We do test this on our autobuilder quite heavily. The main gotcha people run into with sstate is deletion since we can't handle deletion of files from sstate with builds running without the builds potentially showing non-fatal errors. We just don't delete things often on the main AB. > Finally, Is it beneficial to use BUILDHISTORY_PUSH_REPO on all the build hosts > so there is a unified build history? It can be useful, we do this for a subset of our core builds but the repo does get large. The buildhistory codepaths are a lot more complex and likely to have concurrency issues. > Is it problematic to share SSTATE across build hosts > (all Ubuntu 20.04 x86_64) if they build for different MACHINE types (ie > qemux86-64, imx8mq, beaglebone-yocto)? No, sstate is designed to be shared like that. Cheers, Richard
|
|
[ptest-runner] tests/utils.c: fix a memory corruption in find_word
Alexander Kanavin
I also took the opportunity to correct a weird API that
returns a result (or not), depending on some internal condition. Signed-off-by: Alexander Kanavin <alex@...> --- tests/utils.c | 35 ++++++++++++++++++----------------- 1 file changed, 18 insertions(+), 17 deletions(-) diff --git a/tests/utils.c b/tests/utils.c index 8fffc18..19657ee 100644 --- a/tests/utils.c +++ b/tests/utils.c @@ -26,6 +26,7 @@ #include <stdlib.h> #include <stdio.h> #include <errno.h> +#include <stdbool.h> #include <check.h> @@ -61,16 +62,13 @@ static char *ptests_not_found[] = { static struct ptest_options EmptyOpts; -static inline void -find_word(int *found, const char *line, const char *word) +static inline bool +find_word(const char *line, const char *word) { - - char *pivot = NULL; - - pivot = strdup(line); - pivot[strlen(word)] = '\0'; - if (strcmp(pivot, word) == 0) { *found = 1; } - free(pivot); + if (strncmp(line, word, strlen(word)) == 0) + return true; + else + return false; } static void test_ptest_expected_failure(struct ptest_list *, const unsigned int, char *, @@ -206,18 +204,19 @@ search_for_timeout_and_duration(const int rp, FILE *fp_stdout) const char *timeout_str = "TIMEOUT"; const char *duration_str = "DURATION"; char line_buf[PRINT_PTEST_BUF_SIZE]; - int found_timeout = 0, found_duration = 0; + bool found_timeout = false, found_duration = false; char *line = NULL; ck_assert(rp != 0); while ((line = fgets(line_buf, PRINT_PTEST_BUF_SIZE, fp_stdout)) != NULL) { - find_word(&found_timeout, line, timeout_str); - find_word(&found_duration, line, duration_str); + // once true, stay true + found_timeout = found_timeout ? found_timeout : find_word(line, timeout_str); + found_duration = found_duration ? found_duration : find_word(line, duration_str); } - ck_assert(found_timeout == 1); - ck_assert(found_duration == 1); + ck_assert(found_timeout == true); + ck_assert(found_duration == true); } START_TEST(test_run_timeout_duration_ptest) @@ -236,16 +235,18 @@ search_for_fail(const int rp, FILE *fp_stdout) { const char *fail_str = "ERROR: Exit status is 10"; char line_buf[PRINT_PTEST_BUF_SIZE]; - int found_fail = 0; + int found_fail = false; char *line = NULL; ck_assert(rp != 0); while ((line = fgets(line_buf, PRINT_PTEST_BUF_SIZE, fp_stdout)) != NULL) { - find_word(&found_fail, line, fail_str); + found_fail = find_word(line, fail_str); + if (found_fail == true) + break; } - ck_assert(found_fail == 1); + ck_assert(found_fail == true); } START_TEST(test_run_fail_ptest) -- 2.33.0
|
|
[meta-rockchip][PATCH] rock64: enable lima with rock64
Trevor Woerner
The rock64 has an ARM Mali 450 MP2 GPU, therefore enable mesa's lima for
accelerated, open-source graphics. Signed-off-by: Trevor Woerner <twoerner@...> --- recipes-graphics/mesa/mesa_%.bbappend | 1 + 1 file changed, 1 insertion(+) diff --git a/recipes-graphics/mesa/mesa_%.bbappend b/recipes-graphics/mesa/mesa_%.bbappend index b9089c9..87f4bce 100644 --- a/recipes-graphics/mesa/mesa_%.bbappend +++ b/recipes-graphics/mesa/mesa_%.bbappend @@ -1,2 +1,3 @@ PACKAGECONFIG:append:rk3288 = " kmsro panfrost" PACKAGECONFIG:append:rk3399 = " kmsro panfrost" +PACKAGECONFIG:append:rock64 = " kmsro lima" -- 2.30.0.rc0
|
|
Re: QA notification for completed autobuilder build (yocto-3.1.11.rc1)
Steve Sakoman
It looks like we'll need to do an rc2 build to pick up a patch for meta-yocto.
Thanks to Denys for noticing the issue! For details see: https://lists.yoctoproject.org/g/poky/message/12559 Steve On Wed, Sep 15, 2021 at 7:12 AM Richard Purdie <richard.purdie@...> wrote:
|
|
QA notification for completed autobuilder build (yocto-3.1.11.rc1)
Richard Purdie
A build flagged for QA (yocto-3.1.11.rc1) was completed on the autobuilder and
is available at: https://autobuilder.yocto.io/pub/releases/yocto-3.1.11.rc1 Build hash information: bitbake: c2a3bda3a29e12472ef7862e424ea1552fab2959 meta-agl: 60344efa7a50dc2548fc4b5d68b5ad4d60c4023a meta-arm: ce535dfb96de4d2529f091d7d85a7172c626001c meta-aws: c5164c1a795c21f7caccc3b68bb2e81a55bddb0e meta-gplv2: 60b251c25ba87e946a0ca4cdc8d17b1cb09292ac meta-intel: 6837552365d3cac5f8044a5ae910aa874435f766 meta-mingw: 524de686205b5d6736661d4532f5f98fee8589b7 meta-openembedded: 5c347d8ce425dcb4896e6f873810b8bfff5e4e92 oecore: 49ca1f62cc17c951b7737a4ee3c236f732bc8ebe poky: 80b8fc829f809ce07809a89a00cec3ee9dc18795 This is an automated message from the Yocto Project Autobuilder Git: git://git.yoctoproject.org/yocto-autobuilder2 Email: richard.purdie@...
|
|
Re: How to build yocto image with Desktop
#dunfell
On 9/14/21 11:02 PM, prashantsingh@... wrote:
Dear Team,there is core-image-x11 which will be bareminimal and core-image-weston if you want to use wayland/weston based desktop. if you like XFCE for desktop then close meta-openembedded and add meta-oe and meta-xfce to your layers and build core-image-minimal-xfce also see https://git.openembedded.org/meta-openembedded/tree/meta-xfce/README
|
|
Re: [meta-security][PATCH] sssd: 2.5.1 -> 2.5.2
merged
toggle quoted messageShow quoted text
thanks
On 9/10/21 1:39 AM, kai wrote:
From: Kai Kang <kai.kang@...>
|
|
Re: [qa-build-notification] QA notification for completed autobuilder build (yocto-3.3.3.rc2)
Teoh, Jay Shen
Hello all,
toggle quoted messageShow quoted text
This is the full report for yocto-3.3.3.rc2: https://git.yoctoproject.org/cgit/cgit.cgi/yocto-testresults-contrib/tree/?h=intel-yocto-testresults ======= Summary ======== No high milestone defects. 1 issue found BUG id:14491 - stap.StapTest.test_stap failure ======= Bugs ======== https://bugzilla.yoctoproject.org/show_bug.cgi?id=14491 Thanks, Jay
-----Original Message-----
|
|
How to build yocto image with Desktop
#dunfell
@prashant2314
Dear Team,
I need to build Rpi3 imageĀ with yocto which includes Desktop, so how can build the image with desktop feature, so that I can use it for browsing purpose after installing one of the available browser with this image.
|
|
Re: multilib SDK
Arun
I see, are you talking about ${MLPREFIX} variable? The target itself compiles fine, all are 32-bit binaries in userspace. I have this issue only for SDK.
On Tue, Sep 14, 2021 at 7:21 PM Khem Raj <raj.khem@...> wrote:
|
|
Re: multilib SDK
On 9/14/21 6:13 PM, Arun wrote:
The packages that SDK is trying to build are userspace packages and they haven't been ported for 64-bit. There are quite a few of them and short of fixing 64-bit compile issues for all of them, I am trying to see if I can build SDK without these packages built for. 64-bit. The SDK users will only be developing for 32-bit anyway.you should check the dependencies and ensure they are multilib safe sometimes dependencies could be hardcodes and cross the multilib boundaries accidentally
|
|
Re: multilib SDK
Arun
The packages that SDK is trying to build are userspace packages and they haven't been ported for 64-bit. There are quite a few of them and short of fixing 64-bit compile issues for all of them, I am trying to see if I can build SDK without these packages built for. 64-bit. The SDK users will only be developing for 32-bit anyway.
|
|
Re: multilib SDK
On Tue, Sep 14, 2021 at 3:41 PM Arun <arun.sivakumaran@...> wrote:
I think since kernel is 64bit it might be building some tools and packages to support kernel builds. Is there a specific need to not build 64bit userspace completely ?
|
|
Re: multilib SDK
Arun
Bumping this question...
Is there a way for me to disable building of 64-bit packages when building SDK with a multilib config? I have no use for 64-bit userspace package artifacts.
|
|
Using Poetry For Python Package
#python
iwolosch@...
I have a python package hosted in an internal git repo that is currently configured to use Poetry and as such does not have a setup.py file. Yocto appears to expect a setup.py file (via inherit distutils3). It seems my two options are to either remove Poetry and convert from pyproject.toml to setup.py or set up an internal pypi host that can serve a sdist file that would have a setup.py file. Are there any other options I'm missing?
Thanks! -Ian
|
|
[meta-security][PATCH 6/6] isic: set precise BSD license
"BSD" is ambiguous, use the precise licenses BSD-2-Clause
Signed-off-by: Armin Kuster <akuster808@...> --- recipes-security/isic/isic_0.07.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-security/isic/isic_0.07.bb b/recipes-security/isic/isic_0.07.bb index fb6e904..28153e3 100644 --- a/recipes-security/isic/isic_0.07.bb +++ b/recipes-security/isic/isic_0.07.bb @@ -2,7 +2,7 @@ SUMMARY = "ISIC -- IP Stack Integrity Checker" DESCRIPTION = "ISIC is a suite of utilities to exercise the stability of an IP Stack and its component stacks (TCP, UDP, ICMP et. al.)" HOMEPAGE = "http://isic.sourceforge.net/" SECTION = "security" -LICENSE = "BSD" +LICENSE = "BSD-2-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=d41d8cd98f00b204e9800998ecf8427e" DEPENDS = "libnet" -- 2.25.1
|
|
[meta-security][PATCH 5/6] checksec: set precise BSD license
"BSD" is ambiguous, use the precise licenses BSD-3-Clause
Signed-off-by: Armin Kuster <akuster808@...> --- recipes-scanners/checksec/checksec_2.4.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-scanners/checksec/checksec_2.4.0.bb b/recipes-scanners/checksec/checksec_2.4.0.bb index 000e3bb..12c9bce 100644 --- a/recipes-scanners/checksec/checksec_2.4.0.bb +++ b/recipes-scanners/checksec/checksec_2.4.0.bb @@ -1,7 +1,7 @@ SUMMARY = "Linux system security checks" DESCRIPTION = "The checksec script is designed to test what standard Linux OS and PaX security features are being used." SECTION = "security" -LICENSE = "BSD" +LICENSE = "BSD-3-Clause" HOMEPAGE="https://github.com/slimm609/checksec.sh" LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=8d90285f711cf1f378e2c024457066d8" -- 2.25.1
|
|