From patchwork Fri Sep 2 03:07:11 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael-Doyle Hudson X-Patchwork-Id: 3850 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 A9AED23F36 for ; Fri, 2 Sep 2011 03:07:12 +0000 (UTC) Received: from mail-fx0-f52.google.com (mail-fx0-f52.google.com [209.85.161.52]) by fiordland.canonical.com (Postfix) with ESMTP id 78FA2A1867F for ; Fri, 2 Sep 2011 03:07:12 +0000 (UTC) Received: by fxd18 with SMTP id 18so1917453fxd.11 for ; Thu, 01 Sep 2011 20:07:12 -0700 (PDT) Received: by 10.223.62.8 with SMTP id v8mr393371fah.43.1314932832280; Thu, 01 Sep 2011 20:07:12 -0700 (PDT) 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.152.11.8 with SMTP id m8cs72824lab; Thu, 1 Sep 2011 20:07:12 -0700 (PDT) Received: by 10.216.168.70 with SMTP id j48mr842748wel.86.1314932831704; Thu, 01 Sep 2011 20:07:11 -0700 (PDT) Received: from indium.canonical.com (indium.canonical.com [91.189.90.7]) by mx.google.com with ESMTPS id i13si817243wed.139.2011.09.01.20.07.11 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 01 Sep 2011 20:07:11 -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; 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 1QzK63-0002ca-6Z for ; Fri, 02 Sep 2011 03:07:11 +0000 Received: from ackee.canonical.com (localhost [127.0.0.1]) by ackee.canonical.com (Postfix) with ESMTP id 254CAE076A for ; Fri, 2 Sep 2011 03:07:11 +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: 98 X-Launchpad-Notification-Type: branch-revision To: Linaro Patch Tracker From: noreply@launchpad.net Subject: [Branch ~linaro-validation/lava-dispatcher/trunk] Rev 98: fix clear bug in AndroidClient.check_adb_status() Message-Id: <20110902030711.29954.92457.launchpad@ackee.canonical.com> Date: Fri, 02 Sep 2011 03:07:11 -0000 Reply-To: noreply@launchpad.net Sender: bounces@canonical.com Errors-To: bounces@canonical.com Precedence: bulk X-Generated-By: Launchpad (canonical.com); Revision="13830"; Instance="initZopeless config overlay" X-Launchpad-Hash: 84f2064ecfb2b6e8e4e88d88ff03a7942f940d05 ------------------------------------------------------------ revno: 98 committer: Michael-Doyle Hudson branch nick: trunk timestamp: Fri 2011-09-02 14:50:19 +1200 message: fix clear bug in AndroidClient.check_adb_status() -- but if this code was this broken, maybe it is dead? modified: lava_dispatcher/android_client.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/android_client.py' --- lava_dispatcher/android_client.py 2011-08-16 00:15:08 +0000 +++ lava_dispatcher/android_client.py 2011-09-02 02:50:19 +0000 @@ -109,15 +109,15 @@ network_interface = self.board.default_network_interface try: self.run_shell_command('netcfg %s dhcp' % \ - default_network_interface, response = TESTER_STR, + network_interface, response = TESTER_STR, timeout = 60) except: - print "netcfg %s dhcp exception" % default_network_interface + print "netcfg %s dhcp exception" % network_interface return False # Check network ip and setup adb connection ip_pattern = "(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})" - cmd = "ifconfig %s" % default_network_interface + cmd = "ifconfig %s" % network_interface self.proc.sendline('') self.proc.sendline(cmd) try: