public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: Henning Schild <henning.schild@siemens.com>
To: <Venkata.Pyla@toshiba-tsip.com>
Cc: <isar-users@googlegroups.com>, <jan.kiszka@siemens.com>,
	<daniel.sangorrin@toshiba.co.jp>, <dinesh.kumar@toshiba-tsip.com>
Subject: Re: [isar] reproducible build failures
Date: Tue, 14 Sep 2021 12:41:29 +0200	[thread overview]
Message-ID: <20210914124129.74af46e2@md1za8fc.ad001.siemens.net> (raw)
In-Reply-To: <OSYPR01MB55429ADB2737F3A5FE90A44BA4DA9@OSYPR01MB5542.jpnprd01.prod.outlook.com>

Am Tue, 14 Sep 2021 07:29:07 +0000
schrieb <Venkata.Pyla@toshiba-tsip.com>:

> Hi Henning,
> 
> Thanks for the below patches
> 
> "[PATCH 1/3] debianize: make changelog date reproducible"
> "[PATCH 3/3] isar-exclude-docs: include "native" package changelogs"
> 
> >-----Original Message-----
> >From: Henning Schild <henning.schild@siemens.com>
> >Sent: 06 September 2021 14:12
> >To: pyla venkata(TSIP) <Venkata.Pyla@toshiba-tsip.com>
> >Cc: isar-users@googlegroups.com; jan.kiszka@siemens.com; sangorrin
> >daniel(サンゴリン ダニエル □SWC◯ACT)
> ><daniel.sangorrin@toshiba.co.jp>; dinesh kumar(TSIP)
> ><dinesh.kumar@toshiba-tsip.com> Subject: Re: [isar] reproducible
> >build failures
> >
> >Am Fri, 3 Sep 2021 15:19:21 +0000
> >schrieb <Venkata.Pyla@toshiba-tsip.com>:
> >  
> >> Hi,
> >>
> >> I am using isar system in isar-cip-core project [1] where I found
> >> some reproducible failures, which may be good to fix in the isar
> >> system. I am not good in modifying the isar system, so could you
> >> please guide me to fix these problems?
> >>
> >> Here are the steps to check the reproducible failures in
> >> isar-cip-core project:
> >> https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgitl
> >> ab.com%2Fcip-project%2Fcip-core%2Fisar-cip-core%2F-%2Fissues%2F12&amp;
> >> data=04%7C01%7Cde173c00-e982-4fda-8644-  
> >47edf4671d63%40ad011.siemens.co  
> >>  
> >m%7C186fea861bb04bae174708d96eee3bfb%7C38ae3bcd95794fd4addab42e14
> >95d55  
> >>  
> >a%7C1%7C0%7C637662792787877923%7CUnknown%7CTWFpbGZsb3d8eyJWIjoi
> >MC4wLjA  
> >>  
> >wMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&amp;sdat
> >a=o  
> >> fcsE0TXKbwL%2FPUTD2hAEQWvOLXNRFrIvunSOblUAho%3D&amp;reserved=0
> >> https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgitl
> >> ab.com%2Fcip-project%2Fcip-core%2Fisar-cip-core%2F-%2Fissues%2F13&amp;
> >> data=04%7C01%7Cde173c00-e982-4fda-8644-  
> >47edf4671d63%40ad011.siemens.co  
> >>  
> >m%7C186fea861bb04bae174708d96eee3bfb%7C38ae3bcd95794fd4addab42e14
> >95d55  
> >>  
> >a%7C1%7C0%7C637662792787877923%7CUnknown%7CTWFpbGZsb3d8eyJWIjoi
> >MC4wLjA  
> >>  
> >wMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&amp;sdat
> >a=M  
> >>  
> >7pZHme2TzX7ZhNbaZW%2BKn26K65ZnKFW4BvnQJldLnw%3D&amp;reserved=0  
> >>
> >> I also verified the reproducibility in the isar system and found
> >> similar failures that are copied below:
> >> ==============================================  
> >tmp/gpghomefHv8eRhk43/  
> >> tmp/gpghomefHv8eRhk43/private-keys-v1.d/
> >> usr/share/doc/hello/changelog.Debian.gz  
> >
> >I was wondering why only one package is affected here, it should be
> >more. Turns out that isar-exclude-docs might be a little to thorough.
> >
> >I sent a patch for that
> >  [PATCH 3/3] isar-exclude-docs: include "native" package changelogs
> >  
> 
> Thanks for change, I have tested with this patch and found more
> changelogs differences in reproducible check,
> 
> >
> >And "[PATCH 1/3] debianize: make changelog date reproducible" makes
> >sure we always use the same date while still allowing user control
> >and prepending to upstream without "going back in time".  
> 
> also this patch fixed the timestamp difference in the changelog and
> so the reproducible check doesn’t show any difference for the
> changelogs.
> 
> So, these patches will be available in master branch?

In isar things are usually merged to next and master follows pretty
slowly. But next is never rebased so it is safe to use as well.

So far the patches are on the list for review. If no review comments
suggest that change is needed, they will eventually be picked up.

You might be able to speed that up by giving explicit positive review
feedback like you did here.

But i guess we will just wait and and the meantime you can apply those
patches locally if you care about them a lot.

Henning

> Thanks,
> Venkata.
> 
> >
> >Henning
> >  
> >> var/cache/debconf/config.dat
> >> var/cache/debconf/config.dat-old
> >> var/cache/ldconfig/aux-cache
> >> var/lib/dpkg/info/enable-fsck.md5sums
> >> var/lib/dpkg/info/example-raw.md5sums
> >> var/lib/dpkg/info/hello.md5sums
> >> var/lib/dpkg/info/isar-disable-apt-cache.md5sums
> >> var/lib/dpkg/info/isar-exclude-docs.md5sums
> >> var/lib/dpkg/info/sshd-regen-keys.md5sums
> >> var/lib/initramfs-tools/4.19.0-17-amd64
> >> var/lib/systemd/catalog/database
> >> var/log/alternatives.log
> >> var/log/bootstrap.log
> >> var/log/dpkg.log
> >> var/log/apt/history.log
> >> var/log/apt/term.log
> >> ==============================================
> >>
> >> Steps to check reproducible failures in isar
> >> ====================================
> >> $ . isar-init-build-env ../build1 && bitbake
> >> mc:qemuamd64-buster-tgz:isar-image-base $  . isar-init-build-env
> >> ../build2 && bitbake mc:qemuamd64-buster-tgz:isar-image-base $
> >> mkdir -p rootfs1 rootfs2 $ tar -xzvf
> >> ./build1/tmp/deploy/images/qemuamd64/isar-image-base-debian-buster-qem
> >> uamd64.tar.gz
> >> -C ./rootfs1/ $ tar -xzvf
> >> ./build2/tmp/deploy/images/qemuamd64/isar-image-base-debian-buster-qem
> >> uamd64.tar.gz -C ./rootfs2/ $ rsync -nrclv ./rootfs1/ ./rootfs2/ >
> >> difference.txt ====================================
> >>
> >> From the reproducible failures I found there are three different
> >> areas to fix these problem
> >>
> >> 1.       Changelog file generation, which is embedding the build
> >> time date value at here
> >> (https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgit
> >>  
> >hub.com%2Filbers%2Fisar%2Fblob%2Fmaster%2Fmeta%2Fclasses%2Fdebianize.b
> > 
> >> bclass%23L34&amp;data=04%7C01%7Cde173c00-e982-4fda-8644-  
> >47edf4671d63%4  
> >>  
> >0ad011.siemens.com%7C186fea861bb04bae174708d96eee3bfb%7C38ae3bcd95
> >794f  
> >>  
> >d4addab42e1495d55a%7C1%7C0%7C637662792787877923%7CUnknown%7CTW
> >FpbGZsb3  
> >>  
> >d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D
> >%7  
> >>  
> >C2000&amp;sdata=sSB%2BhM1xQauyMIju%2FlJ0GsgdBXYds2C61qpUoQPwuQw
> >%3D&amp  
> >> ;reserved=0
> >> )
> >>
> >> 2.       Log files generated by different application, which are
> >> adding build time values, I think we can remove these files if it
> >> is not required after build. ( I tried at here
> >> https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgith
> >>  
> >ub.com%2Filbers%2Fisar%2Fblob%2Fmaster%2Fmeta%2Fclasses%2Fimage.bbcla
> >s  
> >> s%23L183&amp;data=04%7C01%7Cde173c00-e982-4fda-8644-  
> >47edf4671d63%40ad0  
> >>  
> >11.siemens.com%7C186fea861bb04bae174708d96eee3bfb%7C38ae3bcd95794f
> >d4ad  
> >>  
> >dab42e1495d55a%7C1%7C0%7C637662792787877923%7CUnknown%7CTWFpb
> >GZsb3d8ey  
> >>  
> >JWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C
> >200  
> >>  
> >0&amp;sdata=kUZoEeqRwUQWk8jZQ%2Bp6t3zO4czouhLQjGKh9RPB8kc%3D&a
> >mp;reser  
> >> ved=0
> >> but it did not work)
> >>
> >> 3.       Cache and temporary files, I think we can delete these
> >> files also.
> >>
> >> Please guide me to fix these issues.
> >>
> >> Thanks,
> >> Venkata.  
> 


      reply	other threads:[~2021-09-14 10:41 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-03 15:19 Venkata.Pyla
2021-09-03 16:30 ` Jan Kiszka
2021-09-03 17:10 ` Henning Schild
2021-09-06  4:57   ` Jan Kiszka
2021-09-06  8:41 ` Henning Schild
2021-09-14  7:29   ` Venkata.Pyla
2021-09-14 10:41     ` Henning Schild [this message]

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=20210914124129.74af46e2@md1za8fc.ad001.siemens.net \
    --to=henning.schild@siemens.com \
    --cc=Venkata.Pyla@toshiba-tsip.com \
    --cc=daniel.sangorrin@toshiba.co.jp \
    --cc=dinesh.kumar@toshiba-tsip.com \
    --cc=isar-users@googlegroups.com \
    --cc=jan.kiszka@siemens.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox