From patchwork Tue Jan 22 02:38:13 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yongqin Liu X-Patchwork-Id: 14197 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 197A923E33 for ; Tue, 22 Jan 2013 02:45:41 +0000 (UTC) Received: from mail-ve0-f173.google.com (mail-ve0-f173.google.com [209.85.128.173]) by fiordland.canonical.com (Postfix) with ESMTP id AEC9DA18A7B for ; Tue, 22 Jan 2013 02:45:40 +0000 (UTC) Received: by mail-ve0-f173.google.com with SMTP id b10so409420vea.32 for ; Mon, 21 Jan 2013 18:45:40 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:x-forwarded-to:x-forwarded-for:delivered-to:x-received :received-spf:content-type:mime-version:x-launchpad-project :x-launchpad-branch:x-launchpad-message-rationale :x-launchpad-branch-revision-number:x-launchpad-notification-type:to :from:subject:message-id:date:reply-to:sender:errors-to:precedence :x-generated-by:x-launchpad-hash:x-gm-message-state; bh=FGCMswFZhuvMViYFuJuhwxP0P12alVcy6FkE/JE7sqs=; b=RjU+pfSwJ8Cl4jmaF624O94iYdY0g03uXrr6g4mp/oUHfXpHRzPjyEmSp24LDy75cg Ym5RwkufFMJ8z4RzmHKHlp37IdjqB1HIicQEh2YpOuCD5P98hu7Q42XkVcQrbShXwN1x 89eD09wQjVOHuACbnwWZQbJaL+8SvPlsIE1azY7hWoO/MMcPgmJGZDrrzsafcNW+CdYi SOFbfh/mVzf1x8a9leRvZrbZLuVaKOvBvMnTRFqcLvr9xu1X/UChrSLoCvfdYs5SjVs/ xpuOiK4Zma4IoyOjF1f8BvFtn5WxUYbS3VSJ5rSBte3T38JioHQY3maWGpUbyZZH12OY zHmg== X-Received: by 10.52.18.147 with SMTP id w19mr19256206vdd.94.1358822740173; Mon, 21 Jan 2013 18:45:40 -0800 (PST) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.58.145.101 with SMTP id st5csp230393veb; Mon, 21 Jan 2013 18:45:39 -0800 (PST) X-Received: by 10.194.109.10 with SMTP id ho10mr29828765wjb.16.1358822739095; Mon, 21 Jan 2013 18:45:39 -0800 (PST) Received: from indium.canonical.com (indium.canonical.com. [91.189.90.7]) by mx.google.com with ESMTPS id dg4si4593093wib.104.2013.01.21.18.45.38 (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 21 Jan 2013 18:45:39 -0800 (PST) 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; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of bounces@canonical.com designates 91.189.90.7 as permitted sender) smtp.mail=bounces@canonical.com Received: from ackee.canonical.com ([91.189.89.26]) by indium.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1TxTrm-0004O6-FB for ; Tue, 22 Jan 2013 02:45:38 +0000 Received: from ackee.canonical.com (localhost [127.0.0.1]) by ackee.canonical.com (Postfix) with ESMTP id 574BDE076F for ; Tue, 22 Jan 2013 02:38:13 +0000 (UTC) MIME-Version: 1.0 X-Launchpad-Project: lava-dispatcher X-Launchpad-Branch: ~linaro-validation/lava-dispatcher/trunk X-Launchpad-Message-Rationale: Subscriber X-Launchpad-Branch-Revision-Number: 537 X-Launchpad-Notification-Type: branch-revision To: Linaro Patch Tracker From: noreply@launchpad.net Subject: [Branch ~linaro-validation/lava-dispatcher/trunk] Rev 537: merge the fix of error [FastModelTarget object has no attribute client] Message-Id: <20130122023813.31952.37914.launchpad@ackee.canonical.com> Date: Tue, 22 Jan 2013 02:38:13 -0000 Reply-To: noreply@launchpad.net Sender: bounces@canonical.com Errors-To: bounces@canonical.com Precedence: bulk X-Generated-By: Launchpad (canonical.com); Revision="16430"; Instance="launchpad-lazr.conf" X-Launchpad-Hash: 5bb490ebb48d4507312637cf1d89dcf6adaee08b X-Gm-Message-State: ALoCoQnNvKKYNWbt8IYRiyhTkt3gM9P29GQkbL8KQXQV2vpynEgGkD0kTR62QT0bRRe5VoPCiaX+ Merge authors: Yongqin Liu (liuyq0307) Related merge proposals: https://code.launchpad.net/~liuyq0307/lava-dispatcher/error-using-client-FastModelTarget/+merge/144205 proposed by: Yongqin Liu (liuyq0307) review: Approve - Yongqin Liu (liuyq0307) ------------------------------------------------------------ revno: 537 [merge] committer: Yongqin Liu branch nick: lava-dispatcher timestamp: Tue 2013-01-22 10:37:37 +0800 message: merge the fix of error [FastModelTarget object has no attribute client] modified: lava_dispatcher/device/fastmodel.py --- lp:lava-dispatcher https://code.launchpad.net/~linaro-validation/lava-dispatcher/trunk You are subscribed to branch lp:lava-dispatcher. To unsubscribe from this branch go to https://code.launchpad.net/~linaro-validation/lava-dispatcher/trunk/+edit-subscription === modified file 'lava_dispatcher/device/fastmodel.py' --- lava_dispatcher/device/fastmodel.py 2013-01-16 23:27:28 +0000 +++ lava_dispatcher/device/fastmodel.py 2013-01-22 02:14:27 +0000 @@ -200,7 +200,7 @@ logging.info('launching fastmodel with command %r' % sim_cmd) self._sim_proc = logging_spawn( sim_cmd, - logfile=self.client.context.logfile_read, + logfile=self.context.logfile_read, timeout=1200) self._sim_proc.expect(self.PORT_PATTERN, timeout=300) self._serial_port = self._sim_proc.match.groups()[0] @@ -217,7 +217,7 @@ self.proc = logging_spawn( 'telnet localhost %s' % self._serial_port, logfile=self._create_rtsm_ostream( - self.client.context.logfile_read), + self.context.logfile_read), timeout=1200) return self.proc