From patchwork Thu Sep 5 18:09:24 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tyler Baker X-Patchwork-Id: 19790 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-vc0-f199.google.com (mail-vc0-f199.google.com [209.85.220.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id D742124869 for ; Thu, 5 Sep 2013 18:09:27 +0000 (UTC) Received: by mail-vc0-f199.google.com with SMTP id gf11sf2341698vcb.6 for ; Thu, 05 Sep 2013 11:09:27 -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=x59NtnEDnX5P8HNrf3ywzNh4dr3kL6g/peGha675f/k=; b=Isp4JyTIk9I+sFzvySatdJCKEUlJyiwKCk8EmsT7sprQImPm/m3EejgCqM5OwOJy7F s5FCJX/S9dJT2Z38imGR4QF9nb6Q2I9s+09X0EeSMrc1xscruYO7RPPOzpHL1Hf227QD NDvEJo05a+T7S1nQQC67Hgz3qgVEj9WE1/fq19zKHZ6/Cjgqob3DTgguE8OMKYassyCo 69fvNJXXhOtU92oVMe9cZ6xZfrBwWvXGFqNWWca39xRTxpmLdkFKk/4Fe11EYzjf4x2U j+7XW+AuP0dhU1HG74kq00u+YHU52vJTmD5TC6T4fwbnN+5MaVPqByovAznLlGb9E9aT 6v/A== X-Received: by 10.236.63.165 with SMTP id a25mr3442584yhd.43.1378404567410; Thu, 05 Sep 2013 11:09:27 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.104.111 with SMTP id gd15ls639325qeb.68.gmail; Thu, 05 Sep 2013 11:09:27 -0700 (PDT) X-Received: by 10.58.198.13 with SMTP id iy13mr9053316vec.11.1378404567228; Thu, 05 Sep 2013 11:09:27 -0700 (PDT) Received: from mail-ve0-f176.google.com (mail-ve0-f176.google.com [209.85.128.176]) by mx.google.com with ESMTPS id tm8si4689198vdc.111.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 05 Sep 2013 11:09:27 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.128.176 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.176; Received: by mail-ve0-f176.google.com with SMTP id jx11so806416veb.21 for ; Thu, 05 Sep 2013 11:09:27 -0700 (PDT) X-Gm-Message-State: ALoCoQn7gRs96LeiUtCgIULh9Ef/EMYqZLxx1WbxTqCrzZc845LawATiBG2iGrs64Cg3RqOH3pCn X-Received: by 10.221.64.17 with SMTP id xg17mr3360137vcb.5.1378404567135; Thu, 05 Sep 2013 11:09:27 -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 u4csp294743vcz; Thu, 5 Sep 2013 11:09:26 -0700 (PDT) X-Received: by 10.180.37.227 with SMTP id b3mr7305465wik.24.1378404565913; Thu, 05 Sep 2013 11:09:25 -0700 (PDT) Received: from indium.canonical.com (indium.canonical.com. [91.189.90.7]) by mx.google.com with ESMTPS id mc5si11677097wjb.40.1969.12.31.16.00.00 (version=TLSv1 cipher=RC4-SHA bits=128/128); Thu, 05 Sep 2013 11:09:25 -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 1VHdzh-0000j9-2y for ; Thu, 05 Sep 2013 18:09:25 +0000 Received: from ackee.canonical.com (localhost [127.0.0.1]) by ackee.canonical.com (Postfix) with ESMTP id 03C8CE0421 for ; Thu, 5 Sep 2013 18:09:25 +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: 669 X-Launchpad-Notification-Type: branch-revision To: Linaro Patch Tracker From: noreply@launchpad.net Subject: [Branch ~linaro-validation/lava-dispatcher/trunk] Rev 669: Add ability for user to specify the wait_for_home_screen_activity in the job file Message-Id: <20130905180924.16143.67182.launchpad@ackee.canonical.com> Date: Thu, 05 Sep 2013 18:09:24 -0000 Reply-To: noreply@launchpad.net Sender: bounces@canonical.com Errors-To: bounces@canonical.com Precedence: list X-Generated-By: Launchpad (canonical.com); Revision="16758"; Instance="launchpad-lazr.conf" X-Launchpad-Hash: 64ab5152bf96b4f030c1bb17b8a3c87ce3eb27c5 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.128.176 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/job-defined-home-screen-activity/+merge/184001 proposed by: Tyler Baker (tyler-baker) review: Approve - Antonio Terceiro (terceiro) ------------------------------------------------------------ revno: 669 [merge] committer: Tyler Baker branch nick: lava-dispatcher timestamp: Thu 2013-09-05 11:08:50 -0700 message: Add ability for user to specify the wait_for_home_screen_activity in the job file modified: lava_dispatcher/actions/boot_control.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-08-28 14:55:50 +0000 +++ lava_dispatcher/actions/boot_control.py 2013-09-05 18:05:56 +0000 @@ -49,17 +49,24 @@ parameters_schema['properties']['wait_for_home_screen'] = { 'default': False, 'optional': True } + parameters_schema['properties']['wait_for_home_screen_activity'] = { + 'type': 'string', 'optional': True + } parameters_schema['properties']['interactive_boot_cmds'] = { 'default': False, 'optional': True } def run(self, options=[], adb_check=False, - wait_for_home_screen=True, interactive_boot_cmds=False): + wait_for_home_screen=True, wait_for_home_screen_activity=None, + interactive_boot_cmds=False): client = self.client if interactive_boot_cmds: client.config.boot_cmds = options else: client.target_device.boot_options = options + if wait_for_home_screen_activity is not None: + client.config.android_wait_for_home_screen_activity = \ + wait_for_home_screen_activity client.config.android_wait_for_home_screen = wait_for_home_screen try: client.boot_linaro_android_image(