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; Thu, 09 Jan 2025 04:43:55 +0100 X-Sieve: CMU Sieve 2.4 Received: from mail-pj1-f64.google.com (mail-pj1-f64.google.com [209.85.216.64]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 5093hr8c025237 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 9 Jan 2025 04:43:54 +0100 Received: by mail-pj1-f64.google.com with SMTP id 98e67ed59e1d1-2ef775ec883sf853663a91.1 for ; Wed, 08 Jan 2025 19:43:54 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1736394228; cv=pass; d=google.com; s=arc-20240605; b=gmZYgoKhZPuNz0Qt9Dga++O8VtgrR39LPt4GZ74SBx8nxxyWntRl0Tci6K6R+0/kpQ pbRzt3pCMoKwdA+Bhn7nTxWoHLzdO6+ljDRgV5R+E+chcUGuIUZmnBy9q8sjcC9ehEf5 W1MrC9AXJ7VTVdUUmfRcgZ0hz3cGlkrQXO1eLw21d0Sceh74RcbJ4PV0KoanUTNgIdQb UAaoV4aCfki0agl/H9t8avBji3lMpsrI4NvyZIa1uhwWQ5EOGMwzsXCIaoy90+t6I50c xyGh489daB/vpcta7/IEhQKAaaqZtGumkaFeeU/mBbN0CD1QEoPZGBWNbdgcv8u8sjCu G/IQ== 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:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:sender:dkim-signature :dkim-signature; bh=n11sJGHiAQYDlhNKkFMh1Ra47bkhvVnwsCAk2GwK0Q0=; fh=Wm9KrG9sPDOl/H4w++M6W6cFfgsNQRrBYwRU6ytlMYg=; b=I/nSfVy1+A2Hp31V9eOqS3O6c5tytiCDP7sCXNFmypLt9wc7m/aAWQHbwX+ePP8ba9 oivk6vHrOHyuLau7HckBF1+CmvsVLA4UyCW//WFDQ1U6EU2+6+hMd09N/EhNPpMtf3Ca jeuDIvi0ZsanyEd4yDnnX2dxEtauoRRiH+CSAckPlMjsTcWElOWMG8Zi/3uxjFNxeiUy hfJyGvP32FUXjWPn/e0LSawXtBMFCsYnirDgg0SihqOFRmrMfZnfnA9YqGfF19To8LyE ptzNxq+VVNU2zNTf4W6/H+4qM8BQTa9NFaLPTzpdIQMdkaZkusPwCtpinNP+IgqaqMx2 T1Fg==; darn=ilbers.de ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=PMF26rKS; spf=pass (google.com: domain of amy.fong.3142@gmail.com designates 2001:4860:4864:20::2d as permitted sender) smtp.mailfrom=amy.fong.3142@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com; dara=pass header.i=@googlegroups.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1736394228; x=1736999028; 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:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:sender:from:to:cc:subject:date:message-id :reply-to; bh=n11sJGHiAQYDlhNKkFMh1Ra47bkhvVnwsCAk2GwK0Q0=; b=axuLIeroxO85rDZekMDCxjMhw1Pn1ziVB9xVwYoZ9/KJ5p2B6MyOQkX27XZd46gg4k Dwkv6LpeOhl4uhPkwsFCeFwVex8aqcqVcgMHGtIqroWefOCtcDmer91acz6en81jkZdP ZvO8cZK7XLXJ2WqcDj/l+NOnoWpmrwd9UwXUXyjbIxyFMaH+E+G7ta7ruPBhHln2tlho vs07tl/s6ErniuhyjFWMfWr65bzhED9Aqv8LVWULXakS36NI/EZAxqcu/PdSyW1w67ws KLREULKp7nj+qflSD6wOgg4YJ4ceOY9VZxEfqeqWS/02CMx9B/A2ND8duP8CZ9W7K11k adQA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1736394228; x=1736999028; 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:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:from:to:cc:subject:date:message-id:reply-to; bh=n11sJGHiAQYDlhNKkFMh1Ra47bkhvVnwsCAk2GwK0Q0=; b=f3vMyfz/P04auiZIdDxM2pNja9CmYL+ZljVTWKcwq8mv/NjN6NAUSBHEHWfcQpJTIl wUYso2Xphffeh+FnZqxfC/83WR3xvkUBsVeC0VezQz/p9P0pHL/I8F+zs/gCBc1a6aep rH5l0Kix7vLYHolXWaxYPZIqlLFGJGaklfJJHh2r5Bm4o5UanxTj+kQuQmLaLn9awjN8 GKp+2TMETndXBPHx6pnWqzLwqQE2i3AUEi2OerOte8Z1QzYZ8EtXdaVkomKDeUZAbmS3 l6Ij61kRmEull0PNG6S+6EQr1tZVieVhs6ysm83/KaEu6drU4iVfWtU/+fwSiw82Y9ZC nXng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736394228; x=1736999028; 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:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :x-beenthere:x-gm-message-state:sender:from:to:cc:subject:date :message-id:reply-to; bh=n11sJGHiAQYDlhNKkFMh1Ra47bkhvVnwsCAk2GwK0Q0=; b=eelZKULF1wYzkFFrMhQpo+xYca0f5ZQ4xeVrIDC5uKAYd4SG1ZZ8B0rz90WeeEmilY QoZq6mDp5F7gOJw0Px0Xawz7Il9UtPzoRNO8OcJiqmlhJ+Csq7wzidzIQUAgO61NmyS4 ZMzHa2oSmsBUgzHRDcNKXw3D0DvoLZHfVaUXZLSnMYrmgDEH0rb0NUyF2YEn4lpCD/VU 2wulOfqDkQbYUO7dkVaA5G7nqgQ3HD7pjBONIdO4Em88GND+UtHP2x1PKCMDs9YCx5a9 tYM1t73I9soL7Kr11a0QZNksQXkHR4aFXPaghom75fKwpSSYUIqNhOTCZGyWMU1tyXb3 EBqA== Sender: isar-users@googlegroups.com X-Forwarded-Encrypted: i=2; AJvYcCX3yy2MeWcx5FlNZl4QZ4QwG9stIhqnBZO1qKmOVZLpRODfY/ETnVom37vFYVKkDbJPQrQw@ilbers.de X-Gm-Message-State: AOJu0Yzs8qUpVxXuS5x7Ewkyvt1Dp6hX2QwuT/BglNUfcWdbcDQb05y7 ONbOHx8UE1NfEHXBGHcEJMNRG/v3XTNDClFxSTyV03lqLVDaB20L X-Google-Smtp-Source: AGHT+IFi67Ai1dF2DrtBTo/P8OkByVLQqZKKb+jeo7D4XJFDmLFUI/hywUXbjVYJjFUC5OnrGmIz9g== X-Received: by 2002:a17:90b:2545:b0:2ee:693e:ed7c with SMTP id 98e67ed59e1d1-2f5490edb5fmr7808494a91.33.1736394227611; Wed, 08 Jan 2025 19:43:47 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a17:902:e806:b0:215:7e7:5e20 with SMTP id d9443c01a7336-21a8d03e072ls5438375ad.0.-pod-prod-02-us; Wed, 08 Jan 2025 19:43:46 -0800 (PST) X-Received: by 2002:a17:902:da84:b0:216:501e:e314 with SMTP id d9443c01a7336-21a83f54b4bmr74132245ad.20.1736394226174; Wed, 08 Jan 2025 19:43:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1736394226; cv=none; d=google.com; s=arc-20240605; b=bEHIutKabaNDAYoRIeQcfyRs/QSSDl5EpmIlzd3rCHZGTbrXrDcwJnfXqtRKQsCUu/ O3ST0Lldj+aTUv4RnP/mj9MaH05KZ2BuG5vc39RKrlxw6cHhA+xBsB9V7sRfKNrZkB0X i3bzksjkC6msl63REa8FFUCfj6WjutnZi417vEKprMejWtJ3xP7MH/mF2+97h13zvO+R B9WAeZS56UlU6I3gD21JA+Bx2Z0xSodJ+XR/XIYVVESc/sgdMLC/8L9If6tbdQ6KasaF pELstQCBTuP6kfGwsXoSx+V2nO5FTWXmEXsouAp5kftfJRJzDYcSmU++9NbAyHLRjGAu XoaQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:dkim-signature; bh=rPxRlrFJ1VITlkNzoPtIADGzq4jXUE+eVZq5WLp2C7s=; fh=LTbb0a86YfXavQRH0ZyK4nBfbSOE4RkyWGSE+QOn6EM=; b=MtZqY8WweBQboVq5NLDIq1CFRHHPh2ZEP2Q2Dl6/i7AVuAFxJYHoqHdWL1G/VWXoa3 /ob+kGu1JbeuLywBvO38S8Pa93HtaTcx6HcV0w3NgVZo/KJA6EGiPvAvjvfB6YcLAuvr Bn5AtNGCcfJoATvpVBJgq0i2azFoHiCV6cnGIfe9+W2FimRakX03yDtAAUo1rY580rhh 5aAziZ4ZuJZ8we0QVx8ErRRFr1JEAu7vafFSfoIm02TSQd1wYwj39e7kfdZHVFuJurT2 1BfYbW6PHLtnGsIP/5f1Edr41bQsPNB/F6aifZm1I606I4bkr5QdXc+cCanLR9DtntJj gsjQ==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=PMF26rKS; spf=pass (google.com: domain of amy.fong.3142@gmail.com designates 2001:4860:4864:20::2d as permitted sender) smtp.mailfrom=amy.fong.3142@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com; dara=pass header.i=@googlegroups.com Received: from mail-oa1-x2d.google.com (mail-oa1-x2d.google.com. [2001:4860:4864:20::2d]) by gmr-mx.google.com with ESMTPS id d9443c01a7336-21a916ce03dsi126185ad.2.2025.01.08.19.43.46 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 08 Jan 2025 19:43:46 -0800 (PST) Received-SPF: pass (google.com: domain of amy.fong.3142@gmail.com designates 2001:4860:4864:20::2d as permitted sender) client-ip=2001:4860:4864:20::2d; Received: by mail-oa1-x2d.google.com with SMTP id 586e51a60fabf-29fb532b668so161856fac.0 for ; Wed, 08 Jan 2025 19:43:46 -0800 (PST) X-Gm-Gg: ASbGncvhvYWBcbKLYrQ25ibwrad1D8/54noYgaxD/sEVjygjNz+/j8Q+QTDW88b0ZA2 syQCd65kUXY/4Ajwd/UTjjhkdKM+JloherI2qrg== X-Received: by 2002:a05:6870:ff06:b0:29d:c832:8422 with SMTP id 586e51a60fabf-2aa066c6d54mr2669906fac.18.1736394225404; Wed, 08 Jan 2025 19:43:45 -0800 (PST) MIME-Version: 1.0 References: <20250108155703.10376-1-amy.fong.3142@gmail.com> <20250108155703.10376-2-amy.fong.3142@gmail.com> <7e83ce0d-f08e-4862-a782-f701d1d86455@siemens.com> In-Reply-To: <7e83ce0d-f08e-4862-a782-f701d1d86455@siemens.com> From: Amy Fong Date: Wed, 8 Jan 2025 22:43:34 -0500 X-Gm-Features: AbW1kvbMa-k-e_YlgYfSvhLzwDrA0KyuXWAnkpkPHacZln2sf3tvfyEffl-q_oQ Message-ID: Subject: Re: [PATCH 2/2] error directory creation To: Jan Kiszka Cc: isar-users@googlegroups.com, Amy Fong Content-Type: multipart/alternative; boundary="000000000000fed618062b3dc87e" X-Original-Sender: amy.fong.3142@gmail.com X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=PMF26rKS; spf=pass (google.com: domain of amy.fong.3142@gmail.com designates 2001:4860:4864:20::2d as permitted sender) smtp.mailfrom=amy.fong.3142@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com; dara=pass header.i=@googlegroups.com 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-Spam-Status: No, score=-4.7 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE,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-TUID: qa76Zl9V/Zak --000000000000fed618062b3dc87e Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable The motivation for creating this error logs directory is to facilitate troubleshooting build failures -- after experiencing first hand working with developers not being able to find error logs... Amy On Wed, Jan 8, 2025 at 3:56=E2=80=AFPM Jan Kiszka = wrote: > On 08.01.25 16:57, Amy Fong wrote: > > From: Amy Fong > > > > On a build, create a directory that gets populated > > with temp directories of recipes that fail to build. > > > > The variable ERROR_DIR defines this directory, defaults > > to ${TOPDIR}/errorLogs > > This is missing a reason why we want this. I'm also not seeing something > similar in OE. > > Jan > > > > > Signed-off-by: Amy Fong > > --- > > bitbake/lib/bb/build.py | 10 ++++++++++ > > bitbake/lib/bb/runqueue.py | 6 ++++++ > > meta/conf/bitbake.conf | 2 ++ > > 3 files changed, 18 insertions(+) > > > > diff --git a/bitbake/lib/bb/build.py b/bitbake/lib/bb/build.py > > index 44d08f5c..1c8ad032 100644 > > --- a/bitbake/lib/bb/build.py > > +++ b/bitbake/lib/bb/build.py > > @@ -25,6 +25,7 @@ import bb > > import bb.msg > > import bb.process > > import bb.progress > > +import shutil > > from io import StringIO > > from bb import data, event, utils > > > > @@ -103,6 +104,15 @@ class TaskFailed(TaskBase): > > def __init__(self, task, fn, logfile, metadata, errprinted =3D Fal= se): > > self.errprinted =3D errprinted > > super(TaskFailed, self).__init__(task, fn, logfile, metadata) > > + d =3D metadata > > + errorDir =3D d.getVar('ERROR_DIR') > > + if errorDir is not None: > > + pkg =3D d.getVar("PF") > > + newtmp =3D os.path.join(errorDir, pkg) > > + if os.path.exists(newtmp): > > + shutil.rmtree(newtmp) > > + tempdir =3D d.getVar('T') > > + shutil.copytree(tempdir, newtmp) > > > > class TaskFailedSilent(TaskBase): > > """Task execution failed (silently)""" > > diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py > > index bc7e1817..a77749c3 100644 > > --- a/bitbake/lib/bb/runqueue.py > > +++ b/bitbake/lib/bb/runqueue.py > > @@ -25,6 +25,7 @@ from multiprocessing import Process > > import shlex > > import pprint > > import time > > +import shutil > > > > bblogger =3D logging.getLogger("BitBake") > > logger =3D logging.getLogger("BitBake.RunQueue") > > @@ -1334,6 +1335,11 @@ class RunQueue: > > self.rqexe =3D None > > self.worker =3D {} > > self.fakeworker =3D {} > > + errorDir =3D self.cfgData.getVar('ERROR_DIR') > > + if errorDir is not None: > > + if os.path.exists(errorDir): > > + shutil.rmtree(errorDir) > > + os.mkdir(errorDir) > > > > @staticmethod > > def send_pickled_data(worker, data, name): > > diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf > > index ef408faa..f345b9cb 100644 > > --- a/meta/conf/bitbake.conf > > +++ b/meta/conf/bitbake.conf > > @@ -200,3 +200,5 @@ PATCHRESOLVE ?=3D "noop" > > > > PREFERRED_PROVIDER_bootstrap-host ??=3D "isar-mmdebstrap-host" > > PREFERRED_PROVIDER_bootstrap-target ??=3D "isar-mmdebstrap-target" > > + > > +ERROR_DIR ?=3D "${TOPDIR}/errorLogs" > > -- > Siemens AG, Foundational Technologies > Linux Expert Center > --=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/= CAMB4A97bSXwq-JyR10LqvNU9BCk_N35H0J6Aw1dZzRapYy-v0w%40mail.gmail.com. --000000000000fed618062b3dc87e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
The motivation for creating this error logs directory is t= o facilitate troubleshooting
build failures -- after experiencing first= hand working with developers not being able
to find error logs...

Amy


On Wed, Jan 8, 2025= at 3:56=E2=80=AFPM Jan Kiszka <jan.kiszka@siemens.com> wrote:
On 08.01.25 16:57, Amy Fong wrote:
> From: Amy Fong <amy.fong@siemens.com>
>
> On a build, create a directory that gets populated
> with temp directories of recipes that fail to build.
>
> The variable ERROR_DIR defines this directory, defaults
> to ${TOPDIR}/errorLogs

This is missing a reason why we want this. I'm also not seeing somethin= g
similar in OE.

Jan

>
> Signed-off-by: Amy Fong <amy.fong@siemens.com>
> ---
>=C2=A0 bitbake/lib/bb/build.py=C2=A0 =C2=A0 | 10 ++++++++++
>=C2=A0 bitbake/lib/bb/runqueue.py |=C2=A0 6 ++++++
>=C2=A0 meta/conf/bitbake.conf=C2=A0 =C2=A0 =C2=A0|=C2=A0 2 ++
>=C2=A0 3 files changed, 18 insertions(+)
>
> diff --git a/bitbake/lib/bb/build.py b/bitbake/lib/bb/build.py
> index 44d08f5c..1c8ad032 100644
> --- a/bitbake/lib/bb/build.py
> +++ b/bitbake/lib/bb/build.py
> @@ -25,6 +25,7 @@ import bb
>=C2=A0 import bb.msg
>=C2=A0 import bb.process
>=C2=A0 import bb.progress
> +import shutil
>=C2=A0 from io import StringIO
>=C2=A0 from bb import data, event, utils
>=C2=A0
> @@ -103,6 +104,15 @@ class TaskFailed(TaskBase):
>=C2=A0 =C2=A0 =C2=A0 def __init__(self, task, fn, logfile, metadata, er= rprinted =3D False):
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 self.errprinted =3D errprinted
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 super(TaskFailed, self).__init__(tas= k, fn, logfile, metadata)
> +=C2=A0 =C2=A0 =C2=A0 =C2=A0 d =3D metadata
> +=C2=A0 =C2=A0 =C2=A0 =C2=A0 errorDir =3D d.getVar('ERROR_DIR'= )
> +=C2=A0 =C2=A0 =C2=A0 =C2=A0 if errorDir is not None:
> +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 pkg =3D d.getVar("PF&q= uot;)
> +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 newtmp =3D os.path.join(err= orDir, pkg)
> +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 if os.path.exists(newtmp):<= br> > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 shutil.rmtree= (newtmp)
> +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 tempdir =3D d.getVar('T= ')
> +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 shutil.copytree(tempdir, ne= wtmp)
>=C2=A0
>=C2=A0 class TaskFailedSilent(TaskBase):
>=C2=A0 =C2=A0 =C2=A0 """Task execution failed (silently)= """
> diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py > index bc7e1817..a77749c3 100644
> --- a/bitbake/lib/bb/runqueue.py
> +++ b/bitbake/lib/bb/runqueue.py
> @@ -25,6 +25,7 @@ from multiprocessing import Process
>=C2=A0 import shlex
>=C2=A0 import pprint
>=C2=A0 import time
> +import shutil
>=C2=A0
>=C2=A0 bblogger =3D logging.getLogger("BitBake")
>=C2=A0 logger =3D logging.getLogger("BitBake.RunQueue")
> @@ -1334,6 +1335,11 @@ class RunQueue:
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 self.rqexe =3D None
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 self.worker =3D {}
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 self.fakeworker =3D {}
> +=C2=A0 =C2=A0 =C2=A0 =C2=A0 errorDir =3D self.cfgData.getVar('ERR= OR_DIR')
> +=C2=A0 =C2=A0 =C2=A0 =C2=A0 if errorDir is not None:
> +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 if os.path.exists(errorDir)= :
> +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 shutil.rmtree= (errorDir)
> +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 os.mkdir(errorDir)
>=C2=A0
>=C2=A0 =C2=A0 =C2=A0 @staticmethod
>=C2=A0 =C2=A0 =C2=A0 def send_pickled_data(worker, data, name):
> diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
> index ef408faa..f345b9cb 100644
> --- a/meta/conf/bitbake.conf
> +++ b/meta/conf/bitbake.conf
> @@ -200,3 +200,5 @@ PATCHRESOLVE ?=3D "noop"
>=C2=A0
>=C2=A0 PREFERRED_PROVIDER_bootstrap-host ??=3D "isar-mmdebstrap-ho= st"
>=C2=A0 PREFERRED_PROVIDER_bootstrap-target ??=3D "isar-mmdebstrap-= target"
> +
> +ERROR_DIR ?=3D "${TOPDIR}/errorLogs"

--
Siemens AG, Foundational Technologies
Linux Expert Center

--
You received this message because you are subscribed to the Google Groups &= quot;isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to isar-use= rs+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/ms= gid/isar-users/CAMB4A97bSXwq-JyR10LqvNU9BCk_N35H0J6Aw1dZzRapYy-v0w%40mail.g= mail.com.
--000000000000fed618062b3dc87e--