From patchwork Thu Sep 5 17:50:36 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antonio Terceiro X-Patchwork-Id: 19789 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ve0-f199.google.com (mail-ve0-f199.google.com [209.85.128.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 9508C24869 for ; Thu, 5 Sep 2013 17:50:39 +0000 (UTC) Received: by mail-ve0-f199.google.com with SMTP id db12sf1229921veb.2 for ; Thu, 05 Sep 2013 10:50:39 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:mime-version:to:from:subject :message-id:date:reply-to:sender:errors-to:precedence :x-original-sender:x-original-authentication-results:mailing-list :list-id:list-post:list-help:list-archive:list-unsubscribe :content-type; bh=UdGVieI6yXUSixT5Qu9wchQ4BbrbBzmsJaHc6+k9zEc=; b=F+anlN8+fIe7yLVZ4U5cj2TFRuq64RRh9v3g/l9MAuGhdSCPKp2J2djTQT7zFTbU7b pSsOeDKkKNxIOh1T1860FfW0pW9DLcasdET6O/ChO/yDyvIuy12ws73b168pGZcdxZYk MqtRDjJWz37Lx3w8A+EZat8ccu+K2JNmI9+ajHjLFGXztUOo2aYW575hi67phSu/C6Mz y27wXIydBaUNtZtNuYbL+kCJfEB6r1me6NzhPP4JrJXBpPTpMeteLrUtYokEtAqo/bbZ 6lYwpzGiKtvEB04nJp2wh237hcHzMdLyeYOU8JFSOedvQVnRkCQrsT/XIBzG55idcYAn k5iQ== X-Received: by 10.236.111.73 with SMTP id v49mr3388052yhg.46.1378403439160; Thu, 05 Sep 2013 10:50:39 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.49.196 with SMTP id w4ls545632qen.71.gmail; Thu, 05 Sep 2013 10:50:39 -0700 (PDT) X-Received: by 10.58.152.3 with SMTP id uu3mr8916865veb.16.1378403439073; Thu, 05 Sep 2013 10:50:39 -0700 (PDT) Received: from mail-ve0-f177.google.com (mail-ve0-f177.google.com [209.85.128.177]) by mx.google.com with ESMTPS id xz7si7564631vcb.50.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 05 Sep 2013 10:50:39 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.128.177 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.177; Received: by mail-ve0-f177.google.com with SMTP id db12so778908veb.8 for ; Thu, 05 Sep 2013 10:50:39 -0700 (PDT) X-Gm-Message-State: ALoCoQmOn43npOD78ge9ldzQq26QshtfxV6GQh2fuN/v9syKC221TRccUd9KVFIhG+ROqjl1zDfe X-Received: by 10.52.92.15 with SMTP id ci15mr1348782vdb.34.1378403438977; Thu, 05 Sep 2013 10:50:38 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.174.196 with SMTP id u4csp293814vcz; Thu, 5 Sep 2013 10:50:38 -0700 (PDT) X-Received: by 10.194.235.138 with SMTP id um10mr8008844wjc.30.1378403437905; Thu, 05 Sep 2013 10:50:37 -0700 (PDT) Received: from indium.canonical.com (indium.canonical.com. [91.189.90.7]) by mx.google.com with ESMTPS id om7si11643884wjc.42.1969.12.31.16.00.00 (version=TLSv1 cipher=RC4-SHA bits=128/128); Thu, 05 Sep 2013 10:50:37 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of bounces@canonical.com designates 91.189.90.7 as permitted sender) client-ip=91.189.90.7; Received: from ackee.canonical.com ([91.189.89.26]) by indium.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1VHdhV-0004xc-12 for ; Thu, 05 Sep 2013 17:50:37 +0000 Received: from ackee.canonical.com (localhost [127.0.0.1]) by ackee.canonical.com (Postfix) with ESMTP id EC73CE9ADE for ; Thu, 5 Sep 2013 17:50:36 +0000 (UTC) MIME-Version: 1.0 X-Launchpad-Project: lava-scheduler X-Launchpad-Branch: ~linaro-validation/lava-scheduler/trunk X-Launchpad-Message-Rationale: Subscriber X-Launchpad-Branch-Revision-Number: 260 X-Launchpad-Notification-Type: branch-revision To: Linaro Patch Tracker From: noreply@launchpad.net Subject: [Branch ~linaro-validation/lava-scheduler/trunk] Rev 260: Better display of error messages Message-Id: <20130905175036.11271.88865.launchpad@ackee.canonical.com> Date: Thu, 05 Sep 2013 17:50:36 -0000 Reply-To: noreply@launchpad.net Sender: bounces@canonical.com Errors-To: bounces@canonical.com Precedence: list X-Generated-By: Launchpad (canonical.com); Revision="16758"; Instance="launchpad-lazr.conf" X-Launchpad-Hash: e0337d069524c97d55574003593bef9c61cdbde4 X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: noreply@launchpad.net X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.128.177 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Merge authors: Antonio Terceiro (terceiro) Related merge proposals: https://code.launchpad.net/~terceiro/lava-scheduler/better-logging/+merge/183992 proposed by: Antonio Terceiro (terceiro) review: Approve - Tyler Baker (tyler-baker) ------------------------------------------------------------ revno: 260 [merge] committer: Antonio Terceiro branch nick: trunk timestamp: Thu 2013-09-05 14:49:11 -0300 message: Better display of error messages modified: lava_scheduler_app/logfile_helper.py --- lp:lava-scheduler https://code.launchpad.net/~linaro-validation/lava-scheduler/trunk You are subscribed to branch lp:lava-scheduler. To unsubscribe from this branch go to https://code.launchpad.net/~linaro-validation/lava-scheduler/trunk/+edit-subscription === modified file 'lava_scheduler_app/logfile_helper.py' --- lava_scheduler_app/logfile_helper.py 2013-08-28 15:13:07 +0000 +++ lava_scheduler_app/logfile_helper.py 2013-09-05 16:43:28 +0000 @@ -5,6 +5,8 @@ errors = "" for line in logfile: if line.find("CriticalError:") != -1 or \ + line.find("OperationFailed:") != -1 or \ + line.find("ErrorMessage:") != -1 or \ line.find("Lava failed on test:") != -1: errors += line