Message ID | 20130904175140.7960.98473.launchpad@ackee.canonical.com |
---|---|
State | Accepted |
Headers | show
Return-Path: <patchwork-forward+bncBC73BIMB7QIBBLXGTWIQKGQEY6N354I@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ve0-f200.google.com (mail-ve0-f200.google.com [209.85.128.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id C1D0224869 for <linaro@patches.linaro.org>; Wed, 4 Sep 2013 17:51:42 +0000 (UTC) Received: by mail-ve0-f200.google.com with SMTP id oz10sf684785veb.7 for <linaro@patches.linaro.org>; Wed, 04 Sep 2013 10:51:42 -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=peWp4lJdQF6YWKzgXgb75IgqgJ3PlIW3hY1rKkpm+O4=; b=I4YFDuq17iL9PWnxT5r2z35Uhg6jiFZXQnMJessnAOOtRTNG8JRL4kMEdlUZ/n3fyN Cg/8pKUniDbAeq//n3+KGNd/SZB4DdGBgVw367nFiLierDiwioWC0+Tp8S6RnWoQ16jB q8heH+EVujK/wQCYzSJVrodKB2d56WrbsmqAzBrMiTl2LfuSCtlgVroXPI91dt3Kl6L2 F4i628YRi8E0gjhIn7h4zBo4MNDjBt795ZqfiE41Oq3Tfq1gU/d/XK70HrAbebXObSG0 BuUCu35miT1o8OBgX2iNBRuctF8NGNTglfv+RWobtd150VF93KbEblj8DTrtT+NdaMlD y8xw== X-Received: by 10.236.227.165 with SMTP id d35mr1027266yhq.51.1378317102434; Wed, 04 Sep 2013 10:51:42 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.96.9 with SMTP id do9ls187863qeb.80.gmail; Wed, 04 Sep 2013 10:51:42 -0700 (PDT) X-Received: by 10.52.165.131 with SMTP id yy3mr2524892vdb.25.1378317102304; Wed, 04 Sep 2013 10:51:42 -0700 (PDT) Received: from mail-vb0-f50.google.com (mail-vb0-f50.google.com [209.85.212.50]) by mx.google.com with ESMTPS id i15si6105274vep.54.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 04 Sep 2013 10:51:42 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.212.50 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.212.50; Received: by mail-vb0-f50.google.com with SMTP id x14so417454vbb.9 for <patchwork-forward@linaro.org>; Wed, 04 Sep 2013 10:51:42 -0700 (PDT) X-Gm-Message-State: ALoCoQlehHLYwKQYPJzf4vxe8k3xKlmUmClpKtaogaS5c41nG7rQpyArSWRtFXsoCQgdzYGWA+0n X-Received: by 10.52.120.78 with SMTP id la14mr343244vdb.9.1378317102195; Wed, 04 Sep 2013 10:51:42 -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 u4csp233908vcz; Wed, 4 Sep 2013 10:51:41 -0700 (PDT) X-Received: by 10.180.76.48 with SMTP id h16mr3090458wiw.32.1378317101243; Wed, 04 Sep 2013 10:51:41 -0700 (PDT) Received: from indium.canonical.com (indium.canonical.com. [91.189.90.7]) by mx.google.com with ESMTPS id y5si7174815wje.50.1969.12.31.16.00.00 (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 04 Sep 2013 10:51:41 -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 1VHHEy-000510-Hh for <patches@linaro.org>; Wed, 04 Sep 2013 17:51:40 +0000 Received: from ackee.canonical.com (localhost [127.0.0.1]) by ackee.canonical.com (Postfix) with ESMTP id 7A088E90FF for <patches@linaro.org>; Wed, 4 Sep 2013 17:51:40 +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: 665 X-Launchpad-Notification-Type: branch-revision To: Linaro Patch Tracker <patches@linaro.org> From: noreply@launchpad.net Subject: [Branch ~linaro-validation/lava-dispatcher/trunk] Rev 665: Merge a check for adb Message-Id: <20130904175140.7960.98473.launchpad@ackee.canonical.com> Date: Wed, 04 Sep 2013 17:51:40 -0000 Reply-To: noreply@launchpad.net Sender: bounces@canonical.com Errors-To: bounces@canonical.com Precedence: list X-Generated-By: Launchpad (canonical.com); Revision="16753"; Instance="launchpad-lazr.conf" X-Launchpad-Hash: 095d21cd40563755b169c7e49896e31aab47f8ce 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.212.50 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: <patchwork-forward.linaro.org> X-Google-Group-Id: 836684582541 List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Unsubscribe: <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe>, <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com> Content-Type: multipart/mixed; boundary="===============7045387189621035643==" |
=== modified file 'lava_dispatcher/client/base.py' --- lava_dispatcher/client/base.py 2013-08-29 17:57:34 +0000 +++ lava_dispatcher/client/base.py 2013-09-03 15:16:49 +0000 @@ -621,6 +621,11 @@ session.run('setprop service.adb.tcp.port %s' % adb_port) session.run('stop adbd') session.run('start adbd') + try: + session.connect() + finally: + session.disconnect() + def _disable_adb_over_usb(self): logging.info("Disabling adb over USB")