[PATCH] master.cfg: Do not fail the build if tentative "chmod -R u+w" fails in libabigail_mt_combo_steps

Dodji Seketeli dodji@seketeli.org
Thu Sep 3 14:34:19 GMT 2026


Hey,

Mark Wielaard <mark@klomp.org> a écrit:

> This makes sense, but shouldn't some other steps also have
> haltOnFailure=False, flunkOnFailure=False ?
> I am thinking of the rm -rf steps and the other chmod step at the end.

You are right.  I left the second it alone because I thought the case
should not happen.  If it does, I'd like to see what it is (and learn
from it) before fixing it, as I consider it unexpected.

But then, we can also just fix it already.

Please find below an updated patch that does just that.  Many thanks!

Cheers,

>From 3af64844d02aacc2ad4ef099caef94ccbdf25da1 Mon Sep 17 00:00:00 2001
From: Dodji Seketeli <dodji@seketeli.org>
Date: Thu, 3 Sep 2026 15:54:52 +0200
Subject: [PATCH] master.cfg: Do not fail the build if tentative "chmod -R u+w" fails in libabigail_mt_combo_steps

When the tentative "chmod -R u+w $builddir" at the beginning of
libabigail_mt_combo_steps fails because the build directory does not
yet exist, the full build is wrongly marked as having failed.

This patch fixes that.

The patch does something similar for the second chmod -R u+w as well.

Signed-off-by: Dodji Seketeli <dodji@seketeli.org>
---
 builder/master.cfg | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/builder/master.cfg b/builder/master.cfg
index 607035e..4485192 100644
--- a/builder/master.cfg
+++ b/builder/master.cfg
@@ -5032,7 +5032,7 @@ def libabigail_mt_combo_steps(build_name, configure_extra, tagsuffix):
                 command=["chmod", "-R", "u+w",
                          util.Interpolate("%(prop:builddir)s/" + build_name)],
                 name="chmod u+w pre removing left-overs " + build_name,
-                haltOnFailure=False))
+                haltOnFailure=False, flunkOnFailure=False))
         s.append(steps.ShellCommand(
                 command=["rm", "-rf",
                          util.Interpolate("%(prop:builddir)s/" + build_name)],
@@ -5083,7 +5083,7 @@ def libabigail_mt_combo_steps(build_name, configure_extra, tagsuffix):
                 command=["chmod", "-R", "u+w",
                          util.Interpolate("%(prop:builddir)s/" + build_name)],
                 name="chmod u+w after bunsen/distcheck",
-                haltOnFailure=False))
+                haltOnFailure=False, flunkOnFailure=False,))
         s.append(steps.ShellCommand(
                 command=["rm", "-rf",
                          util.Interpolate("%(prop:builddir)s/" + build_name)],
-- 
2.55.0



-- 
		Dodji


More information about the Buildbot mailing list