From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3+deb9u2) with LMTPA; Tue, 24 Dec 2024 12:57:10 +0100 X-Sieve: CMU Sieve 2.4 Received: from mail-wr1-f58.google.com (mail-wr1-f58.google.com [209.85.221.58]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 4BOBv9aF004581 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 24 Dec 2024 12:57:09 +0100 Received: by mail-wr1-f58.google.com with SMTP id ffacd0b85a97d-388d1f6f3b2sf1944916f8f.0 for ; Tue, 24 Dec 2024 03:57:09 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1735041424; cv=pass; d=google.com; s=arc-20240605; b=aZdX4Q+EkuoobBzh2uAwwGf6JB1Hifr5hfrIHduYglksD26Ga0xvVhRd7h3ULhic2I OsQ6A9sIUWXz/hHUT5gzDQXgHsdTCLtlIk4lcEyaJxAEoibkdErVDoc+p+mH/6sCV9iR NwEmSR6AO77uNswbvMtHOKuaN1b7baBLkmq2gUABSnk68vKq1/aRLel2GqZyqjU2K1mr AOyRIt62tq2EzPKI7r9TKGSYRxpsnOlFacH27aqznJ89xLY8DgrB0wCyfp79onqT1zLJ QpNS53sNTkY4/9XtVys0RlFBNE6odT9ugoDH2XDoSTzj9Zj5xmE6Cj9p2JNI+HwRsMBu rAkw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:mime-version:user-agent :content-transfer-encoding:autocrypt:references:in-reply-to:date:to :from:subject:message-id:sender:dkim-signature; bh=FHCgSleBK+cLXZqZ8kWCRHKcQA5EpRvSNZbK6JOoW/0=; fh=wC4RaUzlrzsnl9DlnzYmOs+e6cVbUNGt1SDrpkXai8Y=; b=QSql8w7dUXKWLSQCluPe00uUOL1U4SVNGZFp7jfYygmXSyD0NzglcruWFFdmfJP307 +C6+Yc+Akg1RkhLw+srs5AeaBrsnkW8lm+Nu2elzaX1FZlIGzaztliQN16JSmDS8IIDB koDhdoEs04Fti2xLM+/WjO9R9nc9dBdDZqGDGyaC72zYMplPRAruxv1cpR9WwZAtbEvc jbqos9ItDC7RWAOjTiWfVLprZh9XZwyp9ZafSkROFwBVJWUvDg2OFIT72J73gYHi9zbJ If8GKvQalSIZ/uDAgbKWWqHZiQYVFKbZBNi+5fYe9MdoOjls8YUMrHwAYnxF5nwBS623 uSeg==; darn=ilbers.de ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=ubely@ilbers.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1735041424; x=1735646224; darn=ilbers.de; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:user-agent:content-transfer-encoding :autocrypt:references:in-reply-to:date:to:from:subject:message-id :sender:from:to:cc:subject:date:message-id:reply-to; bh=FHCgSleBK+cLXZqZ8kWCRHKcQA5EpRvSNZbK6JOoW/0=; b=gQaXQgdHqNfZa/51oT5AI5caGYHGJOlrqWHzL5bHawr/11Exb9UZDrN5DcOpBk0v+Y wM4giP9VIRMIzTxJEzbXXn3zt9kvKYxlay2Ewlytu0rfGXvzXBIGAvfMIj1rWkQmOZia 61VCxUDNhulfP505gLUqsHM3VhS0hubCJQHm3gTcLuSufCJTE+9To+/LCJraHlwF11C6 nr7SqKVkcrhRVMhWC/O0iWpidV+hbxqRv25x6V7SUQRZIo0WQs80WGgiVk9w88keTMJ0 3+2G3lzHvjib7JpAh/opZ1po9AMZS1jzalYejxa/VV/FuMMTOQOL2Wev9W7UMxaTXDeW SBnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1735041424; x=1735646224; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:mime-version :user-agent:content-transfer-encoding:autocrypt:references :in-reply-to:date:to:from:subject:message-id:x-beenthere :x-gm-message-state:sender:from:to:cc:subject:date:message-id :reply-to; bh=FHCgSleBK+cLXZqZ8kWCRHKcQA5EpRvSNZbK6JOoW/0=; b=MLRasnaDqsVwSVov/iP1wrJ2DmcFcXV0UOHvnyTDn/y40TrfUZADa2klpmegErAfkR fQxOimuZvRRje58bOeaO9oFHvvEVE7xiMlwmOC490a/z4GDw3OF7tqobkUhgrG3mNoBU 5qbU8GZkO48NTkH/SaaPZWbqyxH3IhsUiCfXTo5TX3K2gVssKJJgTC/Q8Cguh3nTXzRZ NPzXv69p8Ak3K813Qr58zMUfnph32bW4Q42td0zagSoFHBz4YepC8cRq4YDMHERxeOTW r4Oit/6M+5karcXCgJGihYIlBKGRuS4lgu24wCazUMb0aDJzIXYwsHUGhv22EZGBeWNg Zadw== Sender: isar-users@googlegroups.com X-Forwarded-Encrypted: i=2; AJvYcCWVYhlp08CXC1VxdVjCdFyjPQDRvajliav1frajJHAaVP8Yn16xZBQ/vyNihiT422vLhThj@ilbers.de X-Gm-Message-State: AOJu0YxNEWJShgY/7pmLbjYs6k3nvrcDO+GRB1x4pclsj3qsNWdnDe74 XFcHqQgML0dWDNxijF7Kp9dBLAY2W4y6X9kzfB4hhzSp/dvIvG1S X-Google-Smtp-Source: AGHT+IE0qA4gxak0nR2+LLAFr5/t0woNpXddhT91/n57dqzYtnM4zle4siSuRxr236F8XnIjoo5lyA== X-Received: by 2002:a5d:64e6:0:b0:385:e3c5:61ae with SMTP id ffacd0b85a97d-38a221fff3cmr12588354f8f.31.1735041423177; Tue, 24 Dec 2024 03:57:03 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:adf:e30e:0:b0:386:317f:815a with SMTP id ffacd0b85a97d-38a28f1733fls1219257f8f.1.-pod-prod-01-eu; Tue, 24 Dec 2024 03:57:01 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCWNuVpJcSudxgbQybb2kJAhNEnSeHnhQdckU5cB4cucAFwCf9xfO73BKCPQptXZMS7480QTy0AxaASn@googlegroups.com X-Received: by 2002:a5d:6f01:0:b0:385:fc97:9c71 with SMTP id ffacd0b85a97d-38a221f17d7mr12928648f8f.12.1735041420783; Tue, 24 Dec 2024 03:57:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1735041420; cv=none; d=google.com; s=arc-20240605; b=h4OfSgKXK+6lO+0TzgUV7YITG8YYoDe9FYJNP4KEpv/VMGtP13xmdzwiHtaP2M/bF0 BJMPOEMmdBSRwTNEcpPsQ73uTSnTDSe3EuunvshJxNNNGm0kQcYiGA1JOKrajWUbOaP2 jUfVKllcFt1i0DsQk7MHN2Qb4pAthUouk+h++Y9C+MNCrUNpNVE0Z679/RBRw1WhMutV 6ZyfEMEqUV0bmOsI1RXAGtWDpeRAEAd1J2P4kjYppxsQ3CfxQEDywR+Ij2c0JDPc/oMl 5RIcmCRQ3iIwyk1MJ8pVTA9y6qGF9gMbE3DV4L0hHThDX2dXau0SSi5dfO6fqXwzHh0J hd6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=mime-version:user-agent:content-transfer-encoding:autocrypt :references:in-reply-to:date:to:from:subject:message-id; bh=38dKa+dvKNCe0SzKp2roseZZaTDlcL+R217CpSl6JsY=; fh=JZvUnqoG0jWph92hWpw0EINycbLveqkIcdkusZDYok4=; b=d3hpNf00/yuBWxdw7mu1SrT9YShTOBQEkR41cF1uhinIWY1vIdgtmfhGzw4BvVnuc+ zsE2o7UF0aLCx2eGqb5eg+R/r1KmH7HbwgVfDNvlStArAW/UFSj+Owj8uBPf6j87YyFL 6Scbv6R03s7lzDVqoC8WzXTT0XkD+GZOxeSoMkRa8Awwr3PvJ+wRT37af3HChBAeJPjs l2v9ez3YiRbpyuPUf61nqkbHIYLuHzREt2AlB0/HJnXpdSQKUKRqVO8WGYDx5eY5SQ+3 /7LOVULVuFgrqphfzHY01+CBLZ/rplvHvNC9lzx4chx+JqpN/hEQdtYTGFtszqBRNq9k qvpQ==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=ubely@ilbers.de Received: from shymkent.ilbers.de (shymkent.ilbers.de. [85.214.156.166]) by gmr-mx.google.com with ESMTPS id 5b1f17b1804b1-4364a376b54si12019095e9.0.2024.12.24.03.57.00 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 24 Dec 2024 03:57:00 -0800 (PST) Received-SPF: pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) client-ip=85.214.156.166; Received: from [IPv6:::1] (host-80-81-17-52.static.customer.m-online.net [80.81.17.52]) (authenticated bits=0) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPSA id 4BOBuwtX004569 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 24 Dec 2024 12:56:59 +0100 Message-ID: <39e9170eeafbad5f43ab94ad2d2f98273ba32392.camel@ilbers.de> Subject: Re: [PATCH 0/1] External fix for sporadic schroot race issue From: Uladzimir Bely To: Anton Mikanovich , isar-users@googlegroups.com Date: Tue, 24 Dec 2024 14:56:58 +0300 In-Reply-To: <20241220082959.3123651-1-amikan@ilbers.de> References: <20241220082959.3123651-1-amikan@ilbers.de> Autocrypt: addr=ubely@ilbers.de; prefer-encrypt=mutual; keydata=mQENBGO2eUkBCACtT+T3OrPVSExBmqfgXT3lp9XcdxRzjYp26wezkgYjjBXaf36bxtaAf S471VoQtpar0RVeFfW7WDDdfX9ZclSj36zBQe+RVSJzoNoNQfjOXWuSHb5Z+cpAFtqBY4muxK4+ia IlLJd6CN3ejOsLHATtCeHHq8wi0z2T+KdLQO+wQRgo2hjj0Lp9pGTrKJry50HP/o7Vbdu14dOx2xq r8+wPc6SQbBIrcqaa4MqCQC00vQG7eXvo+k2MOw59FDdpMH0KR9mHgp3u/s4I+4YRBArukt9G9xz/ rsEFmxAIBC6N/a6Hzwg4puc91n7ABDsPg8Vp+X3MDraujN0dvR6OKVNtABEBAAG0IFVsYWR6aW1pc iBCZWx5IDx1YmVseUBpbGJlcnMuZGU+iQFOBBMBCAA4FiEEJqPNVhVGyk12Eh+PAUQYBM/2FkoFAm O2eUkCGwMFCwkIBwIGFQoJCAsCBBYCAwECHgECF4AACgkQAUQYBM/2FkprlAgAmuna8Hm9EyoEtTl DBGDg6Zm4ZLp5ffvZBE946h92jepDrteoxsJ7pSzJVC2HmDLa4iZUao7lLLbDsUj5x45/iLJcqBZK k3YnAxP2r6a+kI+1VVQY1pxdG1nlJAbdNzoojm/qmezNPSrqni61KVMQKsXBCWhIjSXDSM9CsBj21 a+9qaVqfxovJGTn9lgrZO+xzKQNMKZeOouJlscVuFj21P0ww3/YENiU/nMeTSuYypO76mDtAd08Jo nc3yuHa9MJGei5ixN3wT+IrGR2aL2hdw2M6NgH7sYbL2Zi4ugD6RXHJai1Bh2yvFSVqSQ+M6QOInT 4ud7wslm1XRB065dXtA== Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.54.2 (by Flathub.org) MIME-Version: 1.0 X-Spam-Status: No, score=-4.6 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2, RCVD_IN_RP_CERTIFIED,RCVD_IN_RP_RNBL,RCVD_IN_RP_SAFE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on shymkent.ilbers.de X-Original-Sender: ubely@ilbers.de X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=ubely@ilbers.de Precedence: list Mailing-list: list isar-users@googlegroups.com; contact isar-users+owners@googlegroups.com List-ID: X-Spam-Checked-In-Group: isar-users@googlegroups.com X-Google-Group-Id: 914930254986 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , X-TUID: g/nFPphEJLFF On Fri, 2024-12-20 at 10:29 +0200, Anton Mikanovich wrote: > After some experimenting with locking inside and outside of schroot > and > sbuild tools I've finally found the way how to made almost the same > locking in Isar only without much build speed influence. >=20 > The idea is to cover all separate schroot calls with the lock based > on > what type of the call it is: > - Session begin and any commands in already present session will use > the lock in shared mode, so multiple executions possible. > - Session end which can remove config files and cause race scenario > will use the lock in exclusive mode, so it will wait for the time no > other schroot instances running. >=20 > Luckly we always use schroot with separate session create/end > commands > even inside sbuild. > The only thing needed is to put a little script into the location > inserted to PATH. >=20 > This patch is just a copy of RFC was sent previously with no changes. > It was tested on our CI and now is ready to be merged. >=20 > Anton Mikanovich (1): > =C2=A0 meta: Protect schroot config management >=20 > =C2=A0meta/classes/dpkg.bbclass=C2=A0=C2=A0 |=C2=A0 3 +++ > =C2=A0meta/classes/sbuild.bbclass |=C2=A0 6 ++++++ > =C2=A0scripts/schroot=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 | 43 > +++++++++++++++++++++++++++++++++++++ > =C2=A03 files changed, 52 insertions(+) > =C2=A0create mode 100755 scripts/schroot >=20 > --=20 > 2.34.1 >=20 Applied to next. --=20 Best regards, Uladzimir. --=20 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 e= mail to isar-users+unsubscribe@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/isar-users/= 39e9170eeafbad5f43ab94ad2d2f98273ba32392.camel%40ilbers.de.