From patchwork Wed May 22 16:16:17 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tyler Baker X-Patchwork-Id: 17104 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qa0-f69.google.com (mail-qa0-f69.google.com [209.85.216.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 34241238FE for ; Wed, 22 May 2013 16:17:13 +0000 (UTC) Received: by mail-qa0-f69.google.com with SMTP id j11sf2737345qag.8 for ; Wed, 22 May 2013 09:16:20 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-beenthere:x-forwarded-to:x-forwarded-for:delivered-to :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:x-original-sender :x-original-authentication-results:mailing-list:list-id :x-google-group-id:list-post:list-help:list-archive:list-unsubscribe :content-type; bh=GRC6mMQ1tt/qXol8nquF+Gi1FW0UVkq+egHb0eJc58g=; b=mvD1g4XCUBrJa8yl7MdDqIw9sIDkZoxXLti7zL2rqzJNiQ4FWl9xLsdEEY20lwsalc ZeH01Lg5b/rBJ/4lz1aRtI3hxHo7G/p35gRGUax7rtDZWT/Z3fqw908YvmVDh/QTQSVC B+eXau1RPDG27zOM0NkWp9n+Qmc4wvj3zvUvuDPNoT1LzJHlfibijM7qk2o2iobJFgzQ NfQnxd6r9KXsXuebV/hI4ARz2vMKDBnvafDn74b7mLTI7h1sqRL7eOyXyE8MCyzbdSXv UnjSdF+XTx+zU4zLXqCK6DDQhdJs+7XUaiJ2z45T554vsEYDW4W1udbotXUfZyjq0HN7 KNhQ== X-Received: by 10.58.29.105 with SMTP id j9mr2049303veh.40.1369239379663; Wed, 22 May 2013 09:16:19 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.129.198 with SMTP id ny6ls972409qeb.75.gmail; Wed, 22 May 2013 09:16:19 -0700 (PDT) X-Received: by 10.220.106.74 with SMTP id w10mr3044179vco.32.1369239379282; Wed, 22 May 2013 09:16:19 -0700 (PDT) Received: from mail-vb0-x22c.google.com (mail-vb0-x22c.google.com [2607:f8b0:400c:c02::22c]) by mx.google.com with ESMTPS id bs2si3967948veb.5.2013.05.22.09.16.19 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 22 May 2013 09:16:19 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:400c:c02::22c is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=2607:f8b0:400c:c02::22c; Received: by mail-vb0-f44.google.com with SMTP id e13so1437183vbg.3 for ; Wed, 22 May 2013 09:16:19 -0700 (PDT) X-Received: by 10.58.187.164 with SMTP id ft4mr2997377vec.5.1369239379056; Wed, 22 May 2013 09:16:19 -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.126.138 with SMTP id c10csp8265vcs; Wed, 22 May 2013 09:16:18 -0700 (PDT) X-Received: by 10.180.188.141 with SMTP id ga13mr35358097wic.9.1369239377678; Wed, 22 May 2013 09:16:17 -0700 (PDT) Received: from indium.canonical.com (indium.canonical.com. [91.189.90.7]) by mx.google.com with ESMTPS id ct6si11082045wib.107.2013.05.22.09.16.17 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 22 May 2013 09:16:17 -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 1UfBi5-0001h0-5t for ; Wed, 22 May 2013 16:16:17 +0000 Received: from ackee.canonical.com (localhost [127.0.0.1]) by ackee.canonical.com (Postfix) with ESMTP id 1BECDE049D for ; Wed, 22 May 2013 16:16:17 +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: 608 X-Launchpad-Notification-Type: branch-revision To: Linaro Patch Tracker From: noreply@launchpad.net Subject: [Branch ~linaro-validation/lava-dispatcher/trunk] Rev 608: Add wait_for_screen option to boot_linaro_android_image Message-Id: <20130522161617.7609.38028.launchpad@ackee.canonical.com> Date: Wed, 22 May 2013 16:16:17 -0000 Reply-To: noreply@launchpad.net Sender: bounces@canonical.com Errors-To: bounces@canonical.com Precedence: list X-Generated-By: Launchpad (canonical.com); Revision="16626"; Instance="launchpad-lazr.conf" X-Launchpad-Hash: fcda18e8d89938ba9b8e3b77a5bed8ffc9ba2574 X-Gm-Message-State: ALoCoQm7EZM+0KzdDcf3hPwkalqXUu7Id9WOanujF+XynNMZ7vvvnnla4WEs5FDwnEPjO+SBchHb X-Original-Sender: noreply@launchpad.net X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 2607:f8b0:400c:c02::22c 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: Tyler Baker (tyler-baker) Related merge proposals: https://code.launchpad.net/~tyler-baker/lava-dispatcher/override-wait-for-homescreen/+merge/164226 proposed by: Tyler Baker (tyler-baker) review: Approve - Tyler Baker (tyler-baker) ------------------------------------------------------------ revno: 608 [merge] committer: Tyler Baker branch nick: lava-dispatcher-tip timestamp: Wed 2013-05-22 09:15:22 -0700 message: Add wait_for_screen option to boot_linaro_android_image modified: lava_dispatcher/actions/boot_control.py lava_dispatcher/client/base.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/actions/boot_control.py' --- lava_dispatcher/actions/boot_control.py 2013-03-27 11:22:07 +0000 +++ lava_dispatcher/actions/boot_control.py 2013-05-22 16:09:09 +0000 @@ -46,10 +46,14 @@ parameters_schema['properties']['adb_check'] = { 'default': False, 'optional': True } + parameters_schema['properties']['wait_for_home_screen'] = { + 'default': False, 'optional': True + } - def run(self, options=[], adb_check=False): + def run(self, options=[], adb_check=False, wait_for_home_screen=True): client = self.client client.target_device.boot_options = options + client.config.android_wait_for_home_screen = wait_for_home_screen try: client.boot_linaro_android_image( adb_check=adb_check) === modified file 'lava_dispatcher/client/base.py' --- lava_dispatcher/client/base.py 2013-05-21 07:11:59 +0000 +++ lava_dispatcher/client/base.py 2013-05-22 16:15:22 +0000 @@ -569,9 +569,10 @@ raise else: logging.info("Skip raising exception on the home screen has not displayed for health check jobs") - + # When disablesuspend executes it waits for home screen unless + # --no-wait is passed. session.run( - '/system/bin/disablesuspend.sh', + '/system/bin/disablesuspend.sh --no-wait', timeout=self.config.disablesuspend_timeout) def _enable_network(self):