From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 382D0E00C86; Fri, 29 Jul 2016 04:30:13 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no * trust * [23.83.214.8 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from baboon.maple.relay.mailchannels.net (baboon.maple.relay.mailchannels.net [23.83.214.8]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id DB5C5E00C86 for ; Fri, 29 Jul 2016 04:30:09 -0700 (PDT) X-Sender-Id: wwwh|x-authuser|elliot@townx.org Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 3A02E1BD50F; Fri, 29 Jul 2016 11:30:05 +0000 (UTC) Received: from uscentral428.accountservergroup.com (ip-10-27-139-41.us-west-2.compute.internal [10.27.139.41]) by relay.mailchannels.net (Postfix) with ESMTPA id 864511BD099; Fri, 29 Jul 2016 11:30:04 +0000 (UTC) X-Sender-Id: wwwh|x-authuser|elliot@townx.org Received: from uscentral428.accountservergroup.com (uscentral428.accountservergroup.com [10.132.194.146]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.7.3); Fri, 29 Jul 2016 11:30:05 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: wwwh|x-authuser|elliot@townx.org X-MailChannels-Auth-Id: wwwh X-MC-Loop-Signature: 1469791804809:258004600 X-MC-Ingress-Time: 1469791804809 Received: from [176.249.240.35] (port=59202 helo=localhost.localdomain) by uscentral428.accountservergroup.com with esmtpa (Exim 4.87) (envelope-from ) id 1bT5zP-00017Z-A0; Fri, 29 Jul 2016 07:30:03 -0400 From: Elliot Smith To: toaster@yoctoproject.org Date: Fri, 29 Jul 2016 12:29:55 +0100 Message-Id: X-Mailer: git-send-email 2.7.4 X-AuthUser: elliot@townx.org Subject: [PATCH 0/2] Prevent task dependency calculation going into an infinite loop X-BeenThere: toaster@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Web based interface for BitBake List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Jul 2016 11:30:13 -0000 Where a task is "covered" by itself, Toaster is unable to display the task, as the code causes a non-terminating loop (see the commit logs for an explanation). Add a condition to prevent this, and a test to make sure we don't reintroduce it later. Related bug: https://bugzilla.yoctoproject.org/show_bug.cgi?id=9952 The following changes since commit 1826de5234aadb9aa51c83f86471cdd7e88b48cf (toaster-next): toaster: loadconf Partially add back some of the layerSource parsing (2016-07-21 11:23:00 +0100) are available in the git repository at: git://git.yoctoproject.org/poky-contrib elliot/toaster/9952-covered_tasks_no_show http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=elliot/toaster/9952-covered_tasks_no_show Elliot Smith (2): toaster-tests: add test for showing self-dependent task toaster: prevent infinite loop when finding task dependencies .../lib/toaster/tests/browser/test_task_page.py | 76 ++++++++++++++++++++++ bitbake/lib/toaster/toastergui/views.py | 10 +++ 2 files changed, 86 insertions(+) create mode 100644 bitbake/lib/toaster/tests/browser/test_task_page.py -- 2.7.4