From: Alexandre Belloni <alexandre.belloni@bootlin.com>
To: yoann.congal@smile.fr
Cc: sundeep.kokkonda@windriver.com,
openembedded-core@lists.openembedded.org,
randy.macleod@windriver.com, naveen.gowda@windriver.com,
shivaprasad.moodalappa@windriver.com, yash.shinde@windriver.com,
deepthi.hemraj@windriver.com, harish.sadineni@windriver.com
Subject: Re: [OE-core] [PATCH] oeqa/selftest/reproducibile: rename of reproducible directories
Date: Thu, 18 Jul 2024 23:58:49 +0200 [thread overview]
Message-ID: <202407182158492c41de2a@mail.local> (raw)
In-Reply-To: <CAMSfU+66tLkOehv29BiAzo5gb+you3tqUWywrTaP9CBaVTmZzA@mail.gmail.com>
On 18/07/2024 12:27:43+0200, Yoann Congal via lists.openembedded.org wrote:
> Le jeu. 18 juil. 2024 � 12:05, Sundeep KOKKONDA via lists.openembedded.org
> <sundeep.kokkonda=windriver.com@lists.openembedded.org> a �crit :
>
> > From: Sundeep KOKKONDA <sundeep.kokkonda@windriver.com>
> >
> > We do see a few reproducible issues are depending on the path length of
> > the build directory.
> > https://bugzilla.yoctoproject.org/show_bug.cgi?id=15554
> >
> > The current implementation of reproducible tests having different names
> > for directories but with same length.
> > The build directory names are changed to have difefrent lenth.
> >
> > Signed-off-by: Sundeep KOKKONDA <sundeep.kokkonda@windriver.com>
> > ---
> > meta/lib/oeqa/selftest/cases/reproducible.py | 10 +++++++---
> > 1 file changed, 7 insertions(+), 3 deletions(-)
> >
> > diff --git a/meta/lib/oeqa/selftest/cases/reproducible.py
> > b/meta/lib/oeqa/selftest/cases/reproducible.py
> > index 7c6cf3eb1f..6932b0c2a5 100644
> > --- a/meta/lib/oeqa/selftest/cases/reproducible.py
> > +++ b/meta/lib/oeqa/selftest/cases/reproducible.py
> > @@ -276,9 +276,13 @@ class ReproducibleTests(OESelftestTestCase):
> > os.chmod(save_dir, stat.S_IRWXU | stat.S_IRGRP | stat.S_IXGRP
> > | stat.S_IROTH | stat.S_IXOTH)
> > self.logger.info('Non-reproducible packages will be copied
> > to %s', save_dir)
> >
> > - vars_A = self.do_test_build('reproducibleA',
> > self.build_from_sstate)
> > + # The below bug shows that a few reproducible issues are depends
> > on build dir path length.
> > + # https://bugzilla.yoctoproject.org/show_bug.cgi?id=15554
> > + # So, the reproducibleA & reproducibleB directories are changed
> > to reproducible & reproducible-extended to have different size.
> >
> > - vars_B = self.do_test_build('reproducibleB', False)
> > + vars_A = self.do_test_build('reproducible',
> > self.build_from_sstate)
> > +
> > + vars_B = self.do_test_build('reproducible-extended', False)
> >
>
> How about "reproducible-sstate" & "reproducible-no-sstate" (diff length but
> match what happens under the hood) ?
This was discussed out of the ML, because we have pids in paths, we need
more than 3 chars to ensure the difference un path length is not hidden
again.
--
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
next prev parent reply other threads:[~2024-07-18 21:59 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-18 10:04 [PATCH] oeqa/selftest/reproducibile: rename of reproducible directories sundeep.kokkonda
2024-07-18 10:27 ` [OE-core] " Yoann Congal
2024-07-18 21:58 ` Alexandre Belloni [this message]
2024-07-18 11:14 ` Richard Purdie
2024-07-18 11:23 ` Sundeep KOKKONDA
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=202407182158492c41de2a@mail.local \
--to=alexandre.belloni@bootlin.com \
--cc=deepthi.hemraj@windriver.com \
--cc=harish.sadineni@windriver.com \
--cc=naveen.gowda@windriver.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=randy.macleod@windriver.com \
--cc=shivaprasad.moodalappa@windriver.com \
--cc=sundeep.kokkonda@windriver.com \
--cc=yash.shinde@windriver.com \
--cc=yoann.congal@smile.fr \
/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.