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 > <[email protected]> a écrit : > > > From: Sundeep KOKKONDA <[email protected]> > > > > 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 <[email protected]> > > --- > > 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
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#202238): https://lists.openembedded.org/g/openembedded-core/message/202238 Mute This Topic: https://lists.openembedded.org/mt/107414164/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
