From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7116443733323677696 X-Received: by 2002:a05:651c:1988:b0:25d:7113:7f0d with SMTP id bx8-20020a05651c198800b0025d71137f0dmr2273496ljb.450.1657564502337; Mon, 11 Jul 2022 11:35:02 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a2e:bf0b:0:b0:25d:7638:1003 with SMTP id c11-20020a2ebf0b000000b0025d76381003ls109578ljr.0.gmail; Mon, 11 Jul 2022 11:35:01 -0700 (PDT) X-Google-Smtp-Source: AGRyM1s0LU1FTZcyXxIGPGeTbUhsIEqrZQWYKQp05Ua35h4g8zi71PjvdHBcT8kwzfN2o7RtXJRI X-Received: by 2002:a2e:a446:0:b0:25d:68b2:69d4 with SMTP id v6-20020a2ea446000000b0025d68b269d4mr4596931ljn.400.1657564501296; Mon, 11 Jul 2022 11:35:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657564501; cv=none; d=google.com; s=arc-20160816; b=0pLMwXzIUPKYl6rdCmHtZiL7XshQKxABEjzJN4VowC5yvnSbq1o2L3LU42V7m1QtkJ BPBwalm9KCdmrbMB6gMTS/GJkjGrUEsbB+Q3MT4ZoC4LH32vkOyU5EfIlDis8oHy54B6 lLI6K5dnZZxu2jkySKnutqqPyhTq5XFawLoVpJRASWHIgPDEAEjiKUxR/e1qisagRLte ed4RMr6klk4YS47WUYbvI8AabW8VpYw8CZix84ldzwy+Db+RC+82mHCjTPmMtex+VPkN crBOUX9GaC0NQsJpjseupH6hSfjRvNg+3q/WkrfRb5ZgqKvpio1iIdxX4sMTyv9kXOs+ MITg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:from:references:to:content-language:subject:user-agent :mime-version:date:message-id; bh=ty2z+yKiZ9Ivczq7jyL1frLUOZ4/SbdqV6Hm1V9nW/U=; b=UrG4YuRW5RqQQ/3ywW1/o+OES5aD0lcABx2dnutr6m9pJVVTfAtnYhk5OOC6oTH/C2 5haqP2BCyA0d62IM/DQoT9L/ABO+xTU/zt4beo60G8Tn8etHCiDV0unf4AgpdaG73MXU 83GMBWQZVPxd6I7gVTpPzqQCk/DtSCXxw7Tv8HjWdPWax9wamoA/A8XE+jndNpl2F5qf 2AJARKsyqZm4/0VrGOndKgpdPpEot7K5i76UymhnNw/CeV8KKU8FfPU3x0k9m7fZFhyN 5hlApKW4ksn9wQpfLyMG1LOLJFgBrY3nNE3c9/HWR4Ux98jWIq+uig54vVbAwsLgBzC8 gaNw== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of amikan@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=amikan@ilbers.de Return-Path: Received: from shymkent.ilbers.de (shymkent.ilbers.de. [85.214.156.166]) by gmr-mx.google.com with ESMTPS id bf12-20020a2eaa0c000000b0025d5ccbc5c7si287897ljb.1.2022.07.11.11.35.01 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 11 Jul 2022 11:35:01 -0700 (PDT) Received-SPF: pass (google.com: domain of amikan@ilbers.de designates 85.214.156.166 as permitted sender) client-ip=85.214.156.166; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of amikan@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=amikan@ilbers.de Received: from [127.0.0.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 26BIYsm4008897 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 11 Jul 2022 20:34:56 +0200 Content-Type: multipart/alternative; boundary="------------0CqXt9hSG7vhxyPawWp7WnsC" Message-ID: <3bdafbaf-2ed9-46a4-3606-46ac76f99731@ilbers.de> Date: Mon, 11 Jul 2022 21:34:54 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 Subject: Re: [RFC] add uuid to schroot folder Content-Language: en-US To: isar-users@googlegroups.com, Felix Moessbauer References: <20220711183111.3860-1-amikan@ilbers.de> From: Anton Mikanovich In-Reply-To: <20220711183111.3860-1-amikan@ilbers.de> X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,HTML_MESSAGE 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-TUID: 2PXIEXLbhEx5 This is a multi-part message in MIME format. --------------0CqXt9hSG7vhxyPawWp7WnsC Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 11.07.2022 21:31, Anton Mikanovich wrote: > PIDs are not unique across containers. > When running the build in a container (e.g. the kas container), > the PID of bitbake is likely the same across multiple simultaneously > running builds. > > This is especially the case for CI runners, where it is common that > multiple jobs run in parallel. > > This patch adds an additional UUID component stored till the end of > the build in bitbake persistend storage. > > Signed-off-by: Anton Mikanovich > Signed-off-by: Felix Moessbauer Here is the version I propose as an alternative to original patch. Main differences are: 1) placing everything inside bitbake 2) regeneration of UUID on every bitbake run --------------0CqXt9hSG7vhxyPawWp7WnsC Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
11.07.2022 21:31, Anton Mikanovich wrote:
PIDs are not unique across containers.
When running the build in a container (e.g. the kas container),
the PID of bitbake is likely the same across multiple simultaneously
running builds.

This is especially the case for CI runners, where it is common that
multiple jobs run in parallel.

This patch adds an additional UUID component stored till the end of
the build in bitbake persistend storage.

Signed-off-by: Anton Mikanovich <amikan@ilbers.de>
Signed-off-by: Felix Moessbauer <felix.moessbauer@siemens.com>

Here is the version I propose as an alternative to original patch.
Main differences are:
1) placing everything inside bitbake
2) regeneration of UUID on every bitbake run

--------------0CqXt9hSG7vhxyPawWp7WnsC--