From owner-freebsd-python@FreeBSD.ORG Fri Dec 21 20:34:53 2012 Return-Path: Delivered-To: python@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 05F06DD2; Fri, 21 Dec 2012 20:34:53 +0000 (UTC) (envelope-from koobs.freebsd@gmail.com) Received: from mail-pb0-f50.google.com (mail-pb0-f50.google.com [209.85.160.50]) by mx1.freebsd.org (Postfix) with ESMTP id BC86E8FC13; Fri, 21 Dec 2012 20:34:52 +0000 (UTC) Received: by mail-pb0-f50.google.com with SMTP id wz7so2936163pbc.37 for ; Fri, 21 Dec 2012 12:34:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:cc :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=taRTXW/lSOyxHepCgGINw0/x/nbDUR+1vH1fBSmHMDU=; b=I1AMfSmRap4EVqvGBcMfYpKk4J6R+B4NPeetbtKuGK/MJUmRfP/I0342R/NkN2wiZm +By4OtsTVYGOetzYy259ZRaCmQe48uDZJf2F5BXgGDMLFx6f+AwP9JBDGOoBQeDjKwX5 CCmDWm3JXRc4GKsb82vVAafOXCko/ctQF+VAwnBeZgB6KR7Hq+zj/7MmwpJF6w34m+rE elzi2bbKpKHybpppyWEewzwoI87wq2BS/qe0XhPrDvNvgasYwNAVwPEfTXFdfR7L1fe0 gLx4O2cwRCGyV+NrLU2JisXFoN4UIjMlLQGKqP/1FMRzMxM+7U22j88ro7No9mHe02cn ldZg== X-Received: by 10.68.237.135 with SMTP id vc7mr43193907pbc.2.1356122086309; Fri, 21 Dec 2012 12:34:46 -0800 (PST) Received: from [192.168.1.7] (ppp59-167-128-11.static.internode.on.net. [59.167.128.11]) by mx.google.com with ESMTPS id ou3sm7518003pbb.46.2012.12.21.12.34.43 (version=SSLv3 cipher=OTHER); Fri, 21 Dec 2012 12:34:45 -0800 (PST) Message-ID: <50D4C7DC.7020703@gmail.com> Date: Sat, 22 Dec 2012 07:34:36 +1100 From: Kubilay Kocak User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: mva@freebsd.org Subject: Re: lang/python33's make test target creates artifacts and long build times References: <20121221085210.GC1993@medusa.sysfault.org> In-Reply-To: <20121221085210.GC1993@medusa.sysfault.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "python@freebsd.org >> \"python@freebsd.org\"" X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Dec 2012 20:34:53 -0000 On 21/12/2012 7:52 PM, Marcus von Appen wrote: > Hi, > > today I noticed some issues with the tinderbox runs of lang/python33 > > First of all, the test: target introduced causes artifacts within > ${PREFIX}, effectively polluting the user environment. Is this really > intended? > > In my opinion a port, that executes the test target, should do this either > in a separate directory/environment to avoid cluttering the user's > environment with garbage (well, it's Python's fault here in my opinion > to use a test/data directory for the test results). > > However, a user will most likely not execute a test target within a typical > installation procedure, tinderbox however does, causing two issues: > > - around 15 test files are created in %%PYTHON_SITELIBDIR%%/test/data > - the python test cases randomly crash and require about 45 minutes to > run, whereas they take about 5 minutes to run outside of a tinderbox > and never crash[1] > > The usefulness of the test target hence is (at the moment) zero, > contradicting its purpose. > > I would strongly advocate to back it out asap. > If there are no other opinions on that, I'll do so on the next Sunday. > > [1] on my box of course :-) Yup, was aware of the leftovers but obviously didn't get around to resolving it. +1 on removing the the test target until i/we can figure out a way to avoid the spurious file creation (or cleanup after)