From patchwork Tue Apr 9 15:01:24 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 161982 Delivered-To: patch@linaro.org Received: by 2002:a02:c6d8:0:0:0:0:0 with SMTP id r24csp5051112jan; Tue, 9 Apr 2019 08:01:30 -0700 (PDT) X-Google-Smtp-Source: APXvYqzRlH9sTA6uEBVCwr7dEukkvLPMN/Po26H9YMSDUz16CbIMmbfh7QqtQMDJRn5szvSF6oEJ X-Received: by 2002:a65:410a:: with SMTP id w10mr35658803pgp.206.1554822090835; Tue, 09 Apr 2019 08:01:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554822090; cv=none; d=google.com; s=arc-20160816; b=hy98+kEvmba6orlrXONWYgK402wQVJTwV/85wfZSin8FdgijOWk9rBweQ7bVD9985d uJGbh1WWmfvBsDcINcjJMqlckfwIsVxQf4oh8yLYSVVJjVRlhFp+th08OhhOue3NC/MF Vv2GgZyhe72IokMGPP0vVI9jGzc94cfd8SPdo1rLZQswpdrjkqhnY2AhkGMyvlYgMZnE yA18SiuzXu6whwhv+RjsYXiZ7lL71Szt12olzXvWjwzNbC1vEE9DLLikncOPECsDj8mO DkU5wqHRPcvswFLUR6SEStddMNOroPO4roETo+OqjLsv9eQ24Zx9XugnXYvD7TrNqgnr 6PWg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:message-id:date:to:from:dkim-signature :delivered-to; bh=C+rx8IwCxYE3WvxyhUFhB83c+bQb397yWdoeZRtxgT4=; b=AZK0R6XA0ayR5NbHCzQV1P/3Tdz3aIFWHcVtZ/Qls/RsGrl5+jpTcoHNmuYcN65uvl k51pXYSnSpZBFbckzC9jbHBOoAYOy9syW7/QjgAFbi5RDsf8L3GdQIIeObZJdpwut8D+ iip77u8NHcLizSbw4HtMt74aCe+GFXeS+goNwL2fNWZVpLBU+FOw9vISKEUAyPY5oJxm KH15wRmJ5432m0G//U0lwWfVLyWE8c8+Jjx3iKzighI03YdNkcY0Y9zDSgu0boJfr+CB khWtsVlI0Dy3kKZzH38Iud9wUI56CK1TMl8Fu857YMClFwdq2bvp2IVjgDm+qXKPoOmv HKXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=HQCmNJzz; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id l18si29067539pgk.289.2019.04.09.08.01.30; Tue, 09 Apr 2019 08:01:30 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=HQCmNJzz; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from ec2-34-214-78-129.us-west-2.compute.amazonaws.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 7B6DA7D4F9; Tue, 9 Apr 2019 15:01:27 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-wm1-f65.google.com (mail-wm1-f65.google.com [209.85.128.65]) by mail.openembedded.org (Postfix) with ESMTP id 5FB9C7D435 for ; Tue, 9 Apr 2019 15:01:26 +0000 (UTC) Received: by mail-wm1-f65.google.com with SMTP id z6so2604909wmi.0 for ; Tue, 09 Apr 2019 08:01:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id; bh=vHXH9I+rv7dFW+Pn8It3c5Gv4pV6oixDPZICRrFpxj4=; b=HQCmNJzzOGqEeV2dFK/6cQa2nEy3491T+ariXHimXsBnygKSRhW2e0sS5AcYsCtiNP 9NwYl0+M4pGXr/LBuY1YOBDOVfXqjx4g5v0ssLPkF+1pXcwUWrM84xGuoSPlE8ylSylP uJ+SAu4Wh2EsoI/HDErpZz04TFF63QVVKeKapCQW/2UfMB0Vy2Hja3GVT4RlRI902R8d iR1eLa3aUZsHpFPuJJiF68uX7Tli80z+/oFdidd5Pfac3d6Yv+QOpo1+YzrD2XTsqmBd eQQRXJqCGTeFI+qo5wlRa4s/0JalHfPnBaKwg09Tm26TbAIqKBHnezKpbHa83Nujs0Do 8GOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id; bh=vHXH9I+rv7dFW+Pn8It3c5Gv4pV6oixDPZICRrFpxj4=; b=oMwc9kIm8n/+Ss8+TM+f/R0x0Et8LdMgAYpo5gTmpK4WEKprWzwr3jycGq0EGDZ40Q wLybHIfyyiB4bODAcXFaYSsqN1JnjM95zqGgii0k7JPB7nrZWT9rv4qQY94Yl5zgslpM q3mMjVigzr/KQVPANLPvDqtSWR2qrTHKwFxNcJVKYHChUxYBMSrcZBm4L2OVQyvC+Ln6 x0RX7NkPjWPmi2KkWZdtxL5Hk7RM45hRxPH3DLX7Lf4R9T/SJdW2K3yQEQdfwmCgszTG 3ZD5z485cm5l2YIjg+KOgJpmXmFnDoZEgtD355bIoUWl9PpUPwQU/aRJU5oG65R4nFpQ HOsQ== X-Gm-Message-State: APjAAAUQPi3gUHATPyV6iAH+JjRg8vT94fUpPIIjw9p4XQQcSFjFvEr4 zrOQOwz8gySBLCoFoFIYNKjG2nCfdSs= X-Received: by 2002:a7b:c4d5:: with SMTP id g21mr21268471wmk.133.1554822086734; Tue, 09 Apr 2019 08:01:26 -0700 (PDT) Received: from flashheart.burtonini.com (35.106.2.81.in-addr.arpa. [81.2.106.35]) by smtp.gmail.com with ESMTPSA id 4sm16138204wmi.14.2019.04.09.08.01.25 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 09 Apr 2019 08:01:25 -0700 (PDT) From: Ross Burton To: openembedded-core@lists.openembedded.org Date: Tue, 9 Apr 2019 16:01:24 +0100 Message-Id: <20190409150124.25842-1-ross.burton@intel.com> X-Mailer: git-send-email 2.11.0 Subject: [OE-core] [PATCH] qemurunner: fix typo in variable name X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org Signed-off-by: Ross Burton --- meta/lib/oeqa/utils/qemurunner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.11.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/lib/oeqa/utils/qemurunner.py b/meta/lib/oeqa/utils/qemurunner.py index 49020c1e636..1abb2c1b6cb 100644 --- a/meta/lib/oeqa/utils/qemurunner.py +++ b/meta/lib/oeqa/utils/qemurunner.py @@ -329,7 +329,7 @@ class QemuRunner: self.logger.debug("Target didn't reach login banner in %d seconds (%s)" % (self.boottime, time.strftime("%D %H:%M:%S"))) tail = lambda l: "\n".join(l.splitlines()[-25:]) - bootlog = boolog.decode("utf-8") + bootlog = bootlog.decode("utf-8") # in case bootlog is empty, use tail qemu log store at self.msg lines = tail(bootlog if bootlog else self.msg) self.logger.debug("Last 25 lines of text:\n%s" % lines)