From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6767012587809800192 X-Received: by 2002:adf:db41:: with SMTP id f1mr12128182wrj.392.1575573462472; Thu, 05 Dec 2019 11:17:42 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a7b:c452:: with SMTP id l18ls1805774wmi.1.canary-gmail; Thu, 05 Dec 2019 11:17:41 -0800 (PST) X-Google-Smtp-Source: APXvYqzrNOOkkbKUt6RoXwwazShoI+wvXf4A5w4xpPrVQgj0UrQpKYS55BTkQxknya6ip+0eV56K X-Received: by 2002:a1c:4e03:: with SMTP id g3mr7142430wmh.22.1575573461817; Thu, 05 Dec 2019 11:17:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575573461; cv=none; d=google.com; s=arc-20160816; b=hK738fQLTjyc6DBfFX+gEBp35Uxr/js0hq/3N3TWL0bbR3mHRaXIu1yBjgXqLQBEPe psLspLQWQL9Rq31euPRIJ6NEik1obQrJMHVOmPMvAaIDafi95/bxlcVe/G3j4I+TZr8f z5UGziZ9CDNfP3w/+UDRXFkChUh/j2ESPXRCj6fRYF82s8nUwhAaaYkNqqQuta9+SpkX Gt8XHLh/Ifw4hkZbQrK42Zz1w2o56gCmtk99AC6KuGiFJhRaqNPKXiwsOyC7rqp3TxSt wxLWrVYk6Bl2y60Rxcd1wJh2VRid84QabyyXv5VJfCx4CEjP/PBJJn2oIgZRhjB3Ubsv raTQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:cc:to:date:from:dkim-signature; bh=Rj55BV47AsnQuyraijSTBdWniuVPdFL4Ywlrn/8s5ME=; b=iGWqANDrNAXGELRUWvu6Bwztf2ymgLqxYSxOpr6nquCBbwftYKZDNKpyoOGOdyLsOe OBL/quXYGrVwfcMHgxLBZhIuJa89puLAY2QCWgxG2q2OFRipPUF/q0kDj5sj2GketeN0 NnRdiA3a1GoegOP2H5DP0sJf0nyzqcum/A2VAVdGBGX2J8GGcGjbt4O9aK0XeRX76n73 +2poEuLWj1g7WVpvXVDXjyfSOM5eWakC7P9Bqh32GT9NdnVm1hmhp2Yea9uBpS7ilQpi 8U9njh7z3UzuGJDz+wsRE7m9oC/MTYYDZFZ0Fnx52wsBQ1Uqm9iRpMGp4rTM1DrCzycs gGig== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="oPmiU/Zf"; spf=pass (google.com: domain of vijaikumar.kanagarajan@gmail.com designates 2a00:1450:4864:20::441 as permitted sender) smtp.mailfrom=vijaikumar.kanagarajan@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail-wr1-x441.google.com (mail-wr1-x441.google.com. [2a00:1450:4864:20::441]) by gmr-mx.google.com with ESMTPS id 80si131491wme.4.2019.12.05.11.17.41 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 05 Dec 2019 11:17:41 -0800 (PST) Received-SPF: pass (google.com: domain of vijaikumar.kanagarajan@gmail.com designates 2a00:1450:4864:20::441 as permitted sender) client-ip=2a00:1450:4864:20::441; Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="oPmiU/Zf"; spf=pass (google.com: domain of vijaikumar.kanagarajan@gmail.com designates 2a00:1450:4864:20::441 as permitted sender) smtp.mailfrom=vijaikumar.kanagarajan@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: by mail-wr1-x441.google.com with SMTP id w15so5004090wru.4 for ; Thu, 05 Dec 2019 11:17:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:date:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=Rj55BV47AsnQuyraijSTBdWniuVPdFL4Ywlrn/8s5ME=; b=oPmiU/ZfdEdDuea89vr1VnaRKVTCYVMxZONP8REiQ3u5lgIh80D8Nk1IycJDkXLoR9 YkavbQYtyQf3Xg6lnIO0msfTseJm4dzlyyYcSqqUy/ImocDr1atntUWtjUgCV/YjA0B7 eq4cXSGh3m2tU9CTqTDeICNYKfoWicifYHfRKlg6a/lifRo1p1YQzc0DbVtW+gHk314c 4szmBZYppdpeB5LM0bO/075/SHzssm5ybNFaDx3o3lhJTJ7zQ4F0r4Pxah1/eHPotv1o KYeHNkpC67/MIA4IMCOJEo8ZnNcJ5ZJpY/YPS2FSI6IjSR3IHH3dJl0r/J4as5gjolkK CtNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=Rj55BV47AsnQuyraijSTBdWniuVPdFL4Ywlrn/8s5ME=; b=KM+IAIkYXmo5gI/1k2Anw9WdV/kYaUEced+1kOCE/K7LR1KHnhrW5keLAtrBtMmjIf QGPtUwUWphhcoNU6aqh62EENe0FYZdkMBbsqQWpM+XM0p1Rjm/wukvwQoKgwQlblfnRY KnvPjDdrt20z9fZUVE44zlxybTV691kAb403iXbNVu4xswWQarTyhbvWNPzuzPz/nn9t 2SbfgGd3oxFmr06jmYelvcpeqoTwVR9etd/nQhkRmo0aTr7WN89A1nqK/HdEbJBvJ9ty ip06jHd7CUII1K3cu22yCpaN07Igs3daq/DRbAgChUINaJTPOCCV/UhQJpemrS9ev4Qq UUHA== X-Gm-Message-State: APjAAAU0Aj2nUNCANm+wgw73fx9mf8xtNKvtqCTwKTxW3zkDxbrnWOLv mUJPWOezE13xLgDtwuLxs+4= X-Received: by 2002:a05:6000:1187:: with SMTP id g7mr5251248wrx.109.1575573461423; Thu, 05 Dec 2019 11:17:41 -0800 (PST) Return-Path: Received: from oxygen (nat-sch.mentorg.com. [139.181.36.34]) by smtp.gmail.com with ESMTPSA id o4sm13211451wrw.97.2019.12.05.11.17.39 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 05 Dec 2019 11:17:40 -0800 (PST) From: Vijai Kumar K X-Google-Original-From: Vijai Kumar K Date: Fri, 6 Dec 2019 00:47:35 +0530 To: Jan Kiszka Cc: vijaikumar.kanagarajan@gmail.com, isar-users@googlegroups.com Subject: Re: [PATCH] targz-img: Ignore tar exit code 1 Message-ID: <20191205191735.GA16912@oxygen> References: <20191205174441.16406-1-Vijaikumar_Kangarajan@mentor.com> <85e91f0a-da08-5345-a666-b3026bee4d96@siemens.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <85e91f0a-da08-5345-a666-b3026bee4d96@siemens.com> User-Agent: Mutt/1.9.4 (2018-02-28) X-TUID: 6u7S3HtAQful On Thu, Dec 05, 2019 at 07:04:07PM +0100, Jan Kiszka wrote: > On 05.12.19 18:44, vijaikumar.kanagarajan@gmail.com wrote: > > From: Vijai Kumar K > > > > Sometimes during packaging tar prints a warning "file changed as we read it" > > and exits with return code 1. This is observed when we generete both > > wic-img and targz-img together. Ignore the error. > > Ignoring errors is rarely a good idea. In this case, it tells you that > you have a bug in your layer that missing a dependency. I know this > because we once had the same issue in a product layer. So: NAK > > Jan Ah! Ok. Back to square one I guess. Its currently observed in our downstream setups only. I have no good reason to justify it. Reproducing this issue is gonna be difficult. Let me see if I can monitor file changes and pinpoint the exact condition. But this is going to take a while. If it helps, the scenario is IMAGE_TYPE set to wic-img and targz-img is inherited so both are executed for a build. Also, on a seperate note IMAGE_TYPE's functionality could be extended to provide multiple image types. I believe we could specify only one right now. Former is more clean and particularly useful if one wants a wic for sd boot and tar for nfsroot. Planning to take this up next. Thanks, Vijai Kumar K > > -- > Siemens AG, Corporate Technology, CT RDA IOT SES-DE > Corporate Competence Center Embedded Linux