From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7325082229388869632 X-Received: by 2002:a05:6402:644:b0:559:bd86:c946 with SMTP id u4-20020a056402064400b00559bd86c946mr308976edx.30.1705566743868; Thu, 18 Jan 2024 00:32:23 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:6402:458a:b0:55a:e4a:23d8 with SMTP id ig10-20020a056402458a00b0055a0e4a23d8ls131781edb.1.-pod-prod-07-eu; Thu, 18 Jan 2024 00:32:22 -0800 (PST) X-Google-Smtp-Source: AGHT+IH6aPMVwOaVsTNsOvMiFWMrI/T+eQp0GlCXC0GxEYdlG2WKoSN2kKQyUlKIm9LBpL59feKu X-Received: by 2002:a17:906:b208:b0:a27:f465:298c with SMTP id p8-20020a170906b20800b00a27f465298cmr278567ejz.124.1705566742046; Thu, 18 Jan 2024 00:32:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705566742; cv=none; d=google.com; s=arc-20160816; b=Hi0bgO6Tdvjup+fjSfwxPAiruMVpWRjcLNZGgb5iHh/082ScMq0IzdaSqOrkPKSaEZ xP6OmdVPAGlb8V6bwQn7t8CwruWC4Us3AkNNmVpuLm458D92Xkd1mfPT5fu0kUVVbEmG jpf+ol0SyAH54s1Ho4LkKR4Pwz+W9EV9wyWtFQhTwstXLjvOyR+RCMgkOev1PZah71Jv bbdhg8kNjZKeRoUip9PeSAuqXeU3g+X2pVC65QSKrjweRFIhGr+j64t+x43noD8gFvxY 1aB/iiwDYUKjMai0PZi0aU0B42S+BpME5cR9VMA4po/UvEGmf3cZ4FdkZHU3iJ7hU6Op 3zdA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id; bh=jG4ij2U55ztiQjw/N7/7Y1NwqBquQciRDyDHn1WiN1c=; fh=PICfM4Fo6fj0YFd/Sa2/vzFoNnq31QOnYxZYf2j1CDU=; b=zc4yEunZQPcQQyunyFX8kggY57Qab/DWNQ1U2GRtkjwNOgoxJk4ovg/s3xBWDIsm6A FcVNyV1ODHt896x24/zaXVwoYTGaol3cJrkQEUGhsB92oJ2Uu0vS30dRPwah4f1EaY6t TZaSVrV1lE7CQ1hRkcnLOGs07Wlhu/Y7e9eY1a5H3YI8l3q7DFAobuZrSxFCtGZaiMgU Yq9E1Y0IP2zzwatK/w5Wk2Fl5Y2IzSoVXqD6aJw2iowWeji49HyLLbe0XPeh26eG7aPn A9nfw/aFNXR6m5hSsBZzrfp5+qB8kgzqoDgGRMOHNI7xHahmSnHOVOOefUY7iE4EEXhm zx6A== 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 fr37-20020a170906892500b00a2b2bdb8d7fsi614770ejc.1.2024.01.18.00.32.21 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 18 Jan 2024 00:32:22 -0800 (PST) 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 40I8WKZM005814 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 18 Jan 2024 09:32:21 +0100 Message-ID: Date: Thu, 18 Jan 2024 10:32:20 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: potential race condition in sbuild post commands Content-Language: en-US To: "MOESSBAUER, Felix" , "isar-users@googlegroups.com" References: <9bdf88ba27c9b12594bb490640ce97810566cf62.camel@siemens.com> From: Anton Mikanovich In-Reply-To: <9bdf88ba27c9b12594bb490640ce97810566cf62.camel@siemens.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED 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: Ua9WO+/Ibbxz 17/01/2024 17:00, 'MOESSBAUER, Felix' via isar-users wrote: > Dear devs, > > I recently got the following error in multiple layers (do_dpkg_build): > > cp: cannot stat '/var/cache/apt/archives/*.deb': No such file or > directory > | > | E: Command '[ -z "$(find /var/cache/apt/archives -maxdepth 1 -name > '*.deb' -print -quit)" ] || cp -Ln --no-preserve=owner > /var/cache/apt/archives/*.deb -t /home/builder/gasket-module-rt- > amd64/rootfs/var/cache/apt/archives/' failed to run. > | > | Finished processing commands. > > It looks like the copy operation has some race with a cleanup > operation. Is this already a known issue? I did not yet start bisecting > or investigating this. > > ISAR version: 1c509852c5a724a2c3ba401108d95fb1bfa36f90 > > Best regards, > Felix > Hello Felix, It looks like a new issue, we will try to reproduce it. Are there any preconditions that can helpfull? (DL_DIR path, is it empty on beginning, etc)