public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [PATCH 0/4] Fix various race conditions on multiconfig
@ 2026-09-10 14:01 'Felix Moessbauer' via isar-users
  2026-09-10 14:01 ` [PATCH 1/4] fix(dpkg-build): make sstate updates of DEPLOY_DIR_DEB atomic 'Felix Moessbauer' via isar-users
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: 'Felix Moessbauer' via isar-users @ 2026-09-10 14:01 UTC (permalink / raw)
  To: isar-users; +Cc: jan.kiszka, Felix Moessbauer

When running under multiconfig, various race conditions can occur due
to simultaneous access to the isar-apt. We fix these by ensuring
that the deployment of the source archive and the .debs is idempotent.

While investigating this, we noticed that the existing deb_clean no
longer removes the artifacts from the apt-cache, as it reads the "what
to clean" from a dir that is previously removed by the internal
clean logic of the sstate. This bug is fixed as well (p2).

Note, that the root cause of the races has been found by an LLM,
which had access to the build log of a failed execution.

Best regards,
Felix Moessbauer
Siemens AG

Felix Moessbauer (4):
  fix(dpkg-build): make sstate updates of DEPLOY_DIR_DEB atomic
  fix(dpkg-build): clean isar-apt by source package and arch
  fix(dpkg-build): scan DEPLOY_DIR_DEB only once in do_deploy_deb
  fix(dpkg-source): make sstate updates of DEPLOY_DIR_SRC atomic

 meta/classes-recipe/dpkg-base.bbclass   | 53 +++++++++++++++++++------
 meta/classes-recipe/dpkg-source.bbclass | 35 ++++++++++++----
 meta/classes-recipe/repository.bbclass  | 22 ++++++++++
 3 files changed, 89 insertions(+), 21 deletions(-)

-- 
2.55.0

-- 
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/isar-users/20260910140201.250854-1-felix.moessbauer%40siemens.com.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-09-15  8:31 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-10 14:01 [PATCH 0/4] Fix various race conditions on multiconfig 'Felix Moessbauer' via isar-users
2026-09-10 14:01 ` [PATCH 1/4] fix(dpkg-build): make sstate updates of DEPLOY_DIR_DEB atomic 'Felix Moessbauer' via isar-users
2026-09-10 14:01 ` [PATCH 2/4] fix(dpkg-build): clean isar-apt by source package and arch 'Felix Moessbauer' via isar-users
2026-09-10 14:02 ` [PATCH 3/4] fix(dpkg-build): scan DEPLOY_DIR_DEB only once in do_deploy_deb 'Felix Moessbauer' via isar-users
2026-09-10 14:02 ` [PATCH 4/4] fix(dpkg-source): make sstate updates of DEPLOY_DIR_SRC atomic 'Felix Moessbauer' via isar-users
2026-09-15  8:31 ` [PATCH 0/4] Fix various race conditions on multiconfig Zhihang Wei

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox