From patchwork Thu Aug 29 20:50:37 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antonio Terceiro X-Patchwork-Id: 19621 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 11F68246C2 for ; Thu, 29 Aug 2013 20:50:40 +0000 (UTC) Received: by mail-qa0-f69.google.com with SMTP id w8sf1463971qac.8 for ; Thu, 29 Aug 2013 13:50:39 -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=y9TfMqn6a1Uxkn6gHSIyLmnri7+hiHlldkap54kUeYk=; b=MpblAwGANkqfvzVMfJy3WjqSHLBIIYGLJ3pWhGAT0qtGEhfRkqslbjOYOzkW/KEnX2 2P261ZSjUhC0F0+uaVcY9PBEFY22JQ7RByNPxvkGapaYk+XekrGbegtCjoYz5q0gZDwK N5y4Z54AuMXvzBQbERMUxba0p1oGOD8T7MMJwwnmak1cJVyNrjQWA6gzVaP0J6vBXhL3 KOLBjDzLG/aRhOLqy2ukbaNOLGQJ054rxUWl4v+QIbs4fyRDsB1oHEcDXE0bl9NAPovC HBEZaDSsf4Glf1D17uGtn0wH7S8qtQ36kw9DDmnZIap//lhXernQLVN5dfu5PGlvzP12 Rpew== X-Received: by 10.236.45.102 with SMTP id o66mr1912180yhb.47.1377809439924; Thu, 29 Aug 2013 13:50:39 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.127.99 with SMTP id nf3ls1083216qeb.83.gmail; Thu, 29 Aug 2013 13:50:39 -0700 (PDT) X-Received: by 10.52.165.45 with SMTP id yv13mr3324793vdb.1.1377809439801; Thu, 29 Aug 2013 13:50:39 -0700 (PDT) Received: from mail-ve0-f182.google.com (mail-ve0-f182.google.com [209.85.128.182]) by mx.google.com with ESMTPS id uw3si8679708vec.20.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 29 Aug 2013 13:50:39 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.128.182 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.182; Received: by mail-ve0-f182.google.com with SMTP id m1so766084ves.27 for ; Thu, 29 Aug 2013 13:50:39 -0700 (PDT) X-Gm-Message-State: ALoCoQlE1qoWNVM44CwZSo+oLkzXok4l2Yi27Hc6FvqhOph9LlDyzE0C2Mti4x/Jh6succg4Q4/q X-Received: by 10.220.43.19 with SMTP id u19mr4716672vce.3.1377809439528; Thu, 29 Aug 2013 13:50:39 -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 u4csp45975vcz; Thu, 29 Aug 2013 13:50:38 -0700 (PDT) X-Received: by 10.180.185.77 with SMTP id fa13mr1562305wic.58.1377809438136; Thu, 29 Aug 2013 13:50:38 -0700 (PDT) Received: from indium.canonical.com (indium.canonical.com. [91.189.90.7]) by mx.google.com with ESMTPS id ea8si69706wic.79.1969.12.31.16.00.00 (version=TLSv1 cipher=RC4-SHA bits=128/128); Thu, 29 Aug 2013 13:50:38 -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 1VF9Ar-0007O2-7o for ; Thu, 29 Aug 2013 20:50:37 +0000 Received: from ackee.canonical.com (localhost [127.0.0.1]) by ackee.canonical.com (Postfix) with ESMTP id 3261DE00F3 for ; Thu, 29 Aug 2013 20:50:37 +0000 (UTC) MIME-Version: 1.0 X-Launchpad-Project: lava-tool X-Launchpad-Branch: ~linaro-validation/lava-tool/trunk X-Launchpad-Message-Rationale: Subscriber X-Launchpad-Branch-Revision-Number: 195 X-Launchpad-Notification-Type: branch-revision To: Linaro Patch Tracker From: noreply@launchpad.net Subject: [Branch ~linaro-validation/lava-tool/trunk] Rev 195: job templates: remove server & bundle stream params Message-Id: <20130829205037.25041.82621.launchpad@ackee.canonical.com> Date: Thu, 29 Aug 2013 20:50:37 -0000 Reply-To: noreply@launchpad.net Sender: bounces@canonical.com Errors-To: bounces@canonical.com Precedence: list X-Generated-By: Launchpad (canonical.com); Revision="16738"; Instance="launchpad-lazr.conf" X-Launchpad-Hash: 8cfe3349e0b8e69d9b22a0a6c6cdd8a5b060a990 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.182 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: , ------------------------------------------------------------ revno: 195 committer: Antonio Terceiro branch nick: trunk timestamp: Wed 2013-08-28 22:14:17 -0300 message: job templates: remove server & bundle stream params This makes it impossible to submit to a local device when you don't have a full LAVA setup since it will always break at the "submit results" job. Also, there are plans to drop the server argument from submit results, cfe https://bugs.launchpad.net/lava-dispatcher/+bug/1217061 I would even go further and make the results submission automatic, so you shouldn't need an explicit submit-results action at all. modified: lava/job/templates.py --- lp:lava-tool https://code.launchpad.net/~linaro-validation/lava-tool/trunk You are subscribed to branch lp:lava-tool. To unsubscribe from this branch go to https://code.launchpad.net/~linaro-validation/lava-tool/trunk/+edit-subscription === modified file 'lava/job/templates.py' --- lava/job/templates.py 2013-07-26 08:10:16 +0000 +++ lava/job/templates.py 2013-08-29 01:14:17 +0000 @@ -30,10 +30,6 @@ TESTDEF_URLS_PARAMETER = ListParameter("testdef_urls") TESTDEF_URLS_PARAMETER.store = False -# Use another ID for the server parameter, might be different. -SERVER_PARAMETER = Parameter("stream_server") -STREAM_PARAMETER = Parameter("stream") - BOOT_TEST = { "timeout": 18000, "job_name": "Boot test", @@ -68,13 +64,6 @@ "timeout": 1800, "testdef_urls": TESTDEF_URLS_PARAMETER, } - }, - { - "command": "submit_results", - "parameters": { - "stream": STREAM_PARAMETER, - "server": SERVER_PARAMETER - } } ] } @@ -103,13 +92,6 @@ } ] } - }, - { - "command": "submit_results", - "parameters": { - "stream": STREAM_PARAMETER, - "server": SERVER_PARAMETER - } } ] }