From patchwork Wed Mar 28 03:28:10 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael-Doyle Hudson X-Patchwork-Id: 7503 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 DA59723E40 for ; Wed, 28 Mar 2012 03:28:14 +0000 (UTC) Received: from mail-iy0-f180.google.com (mail-iy0-f180.google.com [209.85.210.180]) by fiordland.canonical.com (Postfix) with ESMTP id 7F5FDA18300 for ; Wed, 28 Mar 2012 03:28:14 +0000 (UTC) Received: by iage36 with SMTP id e36so1151969iag.11 for ; Tue, 27 Mar 2012 20:28:14 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf :content-type: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; bh=YFKXVaI9i/eToxntBqiucuo5lLmrXfTyoqN4WsMnquA=; b=jdjYFbEmb7kojoo8wxtdHr9Bw0H8L8iqq4H5FDEE6uFD8gJ2RsSXRExjQcXk0aknXq xiFKIuysKsq2y7SV1QaFYW+HhYEyAoZS5R5c4q/o7iQ+xDNJyAdb3NTskqI4TB7zP+wt woVe6VromhlFpsYbV1KmT906PfqGac39cC4beavqaO+xrwKbK8cvt5mfFAqgkgf8t3YX 8u0qEbtaYAmnmfh30sETFeuKwzbf7mSPmdXFLx2mBxwLvlEPJgF+y/o+Qzro46h4dA3g 731W6NVK45Zh+95iigSlccCFWv6+vOnZqLXqIU3/CYiB0xI5YyunkvyU48kBgtkN7y35 bO6g== Received: by 10.50.191.233 with SMTP id hb9mr920579igc.44.1332905293967; Tue, 27 Mar 2012 20:28:13 -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.231.5.205 with SMTP id 13csp38777ibw; Tue, 27 Mar 2012 20:28:12 -0700 (PDT) Received: by 10.180.92.71 with SMTP id ck7mr2987144wib.21.1332905291644; Tue, 27 Mar 2012 20:28:11 -0700 (PDT) Received: from indium.canonical.com (indium.canonical.com. [91.189.90.7]) by mx.google.com with ESMTPS id 7si1764252wel.122.2012.03.27.20.28.11 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 27 Mar 2012 20:28: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 1SCjYQ-0007RD-Rs for ; Wed, 28 Mar 2012 03:28:10 +0000 Received: from ackee.canonical.com (localhost [127.0.0.1]) by ackee.canonical.com (Postfix) with ESMTP id CAA8AE01EE for ; Wed, 28 Mar 2012 03:28:10 +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: 267 X-Launchpad-Notification-Type: branch-revision To: Linaro Patch Tracker From: noreply@launchpad.net Subject: [Branch ~linaro-validation/lava-dispatcher/trunk] Rev 267: make sure that we look for bundles on the device even if all test runs fail Message-Id: <20120328032810.14341.94801.launchpad@ackee.canonical.com> Date: Wed, 28 Mar 2012 03:28:10 -0000 Reply-To: noreply@launchpad.net Sender: bounces@canonical.com Errors-To: bounces@canonical.com Precedence: bulk X-Generated-By: Launchpad (canonical.com); Revision="15011"; Instance="launchpad-lazr.conf" X-Launchpad-Hash: 52ccae42aa52d417cd63b38055c11a4c91bf9986 X-Gm-Message-State: ALoCoQnvE87lvIVjuGSEX17//0S/TJ5CWwXuw7O1rylUxfDjWq2zK8IkN5hlZS/3XJKirXAtJvNT Merge authors: Michael Hudson-Doyle (mwhudson) Related merge proposals: https://code.launchpad.net/~mwhudson/lava-dispatcher/set-any_device_bundles-more-aggressively/+merge/99659 proposed by: Michael Hudson-Doyle (mwhudson) ------------------------------------------------------------ revno: 267 [merge] committer: Michael Hudson-Doyle branch nick: trunk timestamp: Wed 2012-03-28 16:25:53 +1300 message: make sure that we look for bundles on the device even if all test runs fail modified: lava_dispatcher/actions/lava-test.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/lava-test.py' --- lava_dispatcher/actions/lava-test.py 2012-03-19 01:56:32 +0000 +++ lava_dispatcher/actions/lava-test.py 2012-03-28 03:13:38 +0000 @@ -66,6 +66,7 @@ return super(cmd_lava_test_run, self).test_name() + ' (%s)' % test_name def run(self, test_name, test_options="", timeout=-1): + self.context.any_device_bundles = True logging.info("Executing lava_test_run %s command" % test_name) with self.client.tester_session() as session: session.run('mkdir -p %s' % self.context.lava_result_dir) @@ -88,7 +89,6 @@ logging.exception("killing test failed, rebooting") self.client.boot_linaro_image() raise - self.context.any_device_bundles = True if rc is None: raise OperationFailed("test case getting return value failed") elif rc != 0: