Message ID | 20190707052831.9469-24-itsatharva@gmail.com |
---|---|
State | Superseded |
Headers | show
Return-Path: <buildroot-bounces@busybox.net> X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.133; helo=hemlock.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="GEPo/iYj"; dkim-atps=neutral Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 45hHGf57JSz9s8m for <incoming-buildroot@patchwork.ozlabs.org>; Sun, 7 Jul 2019 15:30:18 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 3E2FF84B35; Sun, 7 Jul 2019 05:30:15 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Qj0Yk+NZK2ZT; Sun, 7 Jul 2019 05:30:13 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 657EB84848; Sun, 7 Jul 2019 05:30:13 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 9E9801BF5DD for <buildroot@lists.busybox.net>; Sun, 7 Jul 2019 05:30:04 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 9BA698702D for <buildroot@lists.busybox.net>; Sun, 7 Jul 2019 05:30:04 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JHQ7z2OMVjsL for <buildroot@lists.busybox.net>; Sun, 7 Jul 2019 05:30:02 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pf1-f193.google.com (mail-pf1-f193.google.com [209.85.210.193]) by hemlock.osuosl.org (Postfix) with ESMTPS id 0D9328733C for <buildroot@buildroot.org>; Sun, 7 Jul 2019 05:29:52 +0000 (UTC) Received: by mail-pf1-f193.google.com with SMTP id q10so5999086pff.9 for <buildroot@buildroot.org>; Sat, 06 Jul 2019 22:29:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=lNHBTMFIGwb9H7hNx4sCqafyG+kux1lxRqUDS1oIKtQ=; b=GEPo/iYjXlDpcYNZD4Iw+8sff9BwGRS4+p6J0c/xD1UCeM2CQsmEOWXfG7XRe1MAQN lbHPMb4ciADCsPdqGaU1KYUQPuwOF6LFkkg7PgSAcGyXdDcDPFc00m20LUkYz0tCb1Ps 40tkvk4jzoqD0W1BPpdci6pv8EOHHxQgYV7HXs1IKdhJJCog3guhai9+lVyhMuS0lKxV lZWJQIMMon+d9hJ9J3kgZTR/YtCMjnlP/gW9/B4yCwhRxz/oFvWHf/SEmnncEFfXGQAt p/xlZYeUPzyEa0GEZeNWCSvDzKXt2nQUX8I2UGzDqEi4wCJsHosbUE2y7ec6q4VSsmnQ Leeg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=lNHBTMFIGwb9H7hNx4sCqafyG+kux1lxRqUDS1oIKtQ=; b=S/Ts68dqUPP0/sxp1bkX/LOqNUkQGmOiDhW0vrAQ4/CUBgksfcAno48EZDxfW845jD 4Fmrca11DzVW24U4d5gRNojGHOCeIigMrgUrQcKKIw6zXFgBHuMSgz+0Eq2FViXd9SLw Kvl13fiSQb3bqFRbJlaZcVSr6zg/R+tP8KdYFsRZQBbkgdDczXRliy5mmzURnunB3/Yf audrTtPEfke+9YjgqqAPTI3aEQq0h4U38yNPR8LAG6b+BrhFPzdhcH3JvqZa51b+t1W5 dFS/nZcgNaidn1r/BjfJAGBr4nx/0emRU+FX+3OyE0PxHXyGRINgtp2gKMk1KBRIU5uS Kqdg== X-Gm-Message-State: APjAAAWJ/RexKBPAt5p8tAu+igJANzWCnRpj1obxmIsr0n8r5MM9eYMR sTQPngrUGeIcx4vqSirt0ZWickTM4sVR0g== X-Google-Smtp-Source: APXvYqzy7D03+jYkUdA0QOOApYO/g3l88teDxv/s+fpiJo01OuHhHnAv5xgNgtgnrGeAiafItfogSg== X-Received: by 2002:a63:494d:: with SMTP id y13mr14680071pgk.109.1562477391230; Sat, 06 Jul 2019 22:29:51 -0700 (PDT) Received: from localhost.localdomain ([123.201.194.71]) by smtp.gmail.com with ESMTPSA id j24sm18039214pgg.86.2019.07.06.22.29.49 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Sat, 06 Jul 2019 22:29:50 -0700 (PDT) From: Atharva Lele <itsatharva@gmail.com> To: buildroot@buildroot.org Date: Sun, 7 Jul 2019 10:58:24 +0530 Message-Id: <20190707052831.9469-24-itsatharva@gmail.com> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190707052831.9469-1-itsatharva@gmail.com> References: <20190707052831.9469-1-itsatharva@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH v3 24/31] autobuild-run: create reason file on build failures X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot <buildroot.busybox.net> List-Unsubscribe: <http://lists.busybox.net/mailman/options/buildroot>, <mailto:buildroot-request@busybox.net?subject=unsubscribe> List-Archive: <http://lists.busybox.net/pipermail/buildroot/> List-Post: <mailto:buildroot@busybox.net> List-Help: <mailto:buildroot-request@busybox.net?subject=help> List-Subscribe: <http://lists.busybox.net/mailman/listinfo/buildroot>, <mailto:buildroot-request@busybox.net?subject=subscribe> Cc: Atharva Lele <itsatharva@gmail.com>, yann.morin.1998@free.fr, thomas.petazzoni@bootlin.com Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" <buildroot-bounces@busybox.net> |
Series |
[v3,01/31] autobuild-run: introduce Builder class
|
expand
|
diff --git a/scripts/autobuild-run b/scripts/autobuild-run index 678bac5..8f60e89 100755 --- a/scripts/autobuild-run +++ b/scripts/autobuild-run @@ -598,6 +598,11 @@ class Builder: # not found return None + reason = get_failure_reason() + if reason: + with open(os.path.join(self.resultdir, "reason"), "w+") as reasonf: + reasonf.write("-".join(reason)) + def extract_end_log(resultfile): """Save the last part of the build log, starting from the failed package""" @@ -606,7 +611,6 @@ class Builder: (os.path.join(self.outputdir, "logfile"), resultfile)], shell=True) - reason = get_failure_reason() if not reason: extract_last_500_lines() else: @@ -630,7 +634,6 @@ class Builder: def copy_config_log_files(): """Recursively copy any config.log files from the failing package""" - reason = get_failure_reason() if not reason: return