Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id E18D3200B5D for ; Sun, 7 Aug 2016 22:15:04 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id DFFD0160A87; Sun, 7 Aug 2016 20:15:04 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 0BA3B160A6D for ; Sun, 7 Aug 2016 22:15:03 +0200 (CEST) Received: (qmail 30325 invoked by uid 500); 7 Aug 2016 20:15:03 -0000 Mailing-List: contact dev-help@subversion.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@subversion.apache.org Received: (qmail 30315 invoked by uid 99); 7 Aug 2016 20:15:02 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 07 Aug 2016 20:15:02 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 86BE61A0493 for ; Sun, 7 Aug 2016 20:15:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -2.128 X-Spam-Level: X-Spam-Status: No, score=-2.128 tagged_above=-999 required=6.31 tests=[RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, RP_MATCHES_RCVD=-1.426, SPF_PASS=-0.001] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id OclfjIXTnvfP for ; Sun, 7 Aug 2016 20:14:58 +0000 (UTC) Received: from mout02.posteo.de (mout02.posteo.de [185.67.36.66]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id BA5875F1A0 for ; Sun, 7 Aug 2016 20:14:56 +0000 (UTC) Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 2D190209DD for ; Sun, 7 Aug 2016 22:14:37 +0200 (CEST) Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 3s6sG44Nn7zytM for ; Sun, 7 Aug 2016 22:14:36 +0200 (CEST) Subject: Re: [PATCH] Resolve testsuite interruption in SVN 1.8 To: dev@subversion.apache.org References: <885361ff-0e43-6bd2-0d4f-3d846e72aabc@gmx.de> <20160807182358.GD81804@byrne.stsp.name> <20160807182704.GE81804@byrne.stsp.name> From: Stefan Message-ID: <091a5c0f-66e4-ca50-41b6-de067713d578@posteo.de> Date: Sun, 7 Aug 2016 22:14:29 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-256; boundary="------------ms070305090608020600000005" archived-at: Sun, 07 Aug 2016 20:15:05 -0000 This is a cryptographically signed message in MIME format. --------------ms070305090608020600000005 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 8/7/2016 21:16, Ivan Zhakov wrote: > On 7 August 2016 at 21:27, Stefan Sperling wrote: >> On Sun, Aug 07, 2016 at 08:23:58PM +0200, Stefan Sperling wrote: >>> On Sun, Aug 07, 2016 at 02:08:35PM +0200, Stefan wrote: >>>> Hi, >>>> >>>> the attached patch is the outcome of talking with jcorval on IRC abo= ut a >>>> test suite issue on Windows (release builds) in SVN 1.8. It resolves= the >>>> fact that the tests will be interrupted on Windows by a Windows popu= p >>>> upon an abort()-call. >>>> >>>> Atm this is triggered for the 1.8 test suite for the move-test (no 8= ) >>>> which is marked as XFail and triggers an SVN_ERR_ASSERT() and theref= ore >>>> breaks fully automated tests. >>> I'm not a windows person but this looks reasonable to me. +1 >> Forgot to mention: If this is a 1.8-only fix, I'd suggest you create >> a branch of 1.8.x and commit your patch there, and then nominate your >> branch in the 1.8.x/STATUS file (you can add my +1 to the nomination).= > I'm not sure that we should add handling of new environment variable > in patch release. > > I can understand the concern. Please bare in mind however that the default behavior (aka: if the environment variable is not set) would stay unchanged and the effect of the environment variable is quite limited (it will only disable the Watson crash dumps in release builds - obviously only applies on Windows builds). It's by default only activated for the test suites and therefore the risks involved is IMO close to non existent. Weighting the pros (fixing a test interruption of the test suite for everybody testing/building the SVN package) with the cons (the risk of s/o unintentionally already having set an environment variable with the same name and on the other side introducing a new test-suite related feature in a patch release which would be not available in versions <=3D 1.8.16), I do have a tendency to still propose that patch. (Note: I would suggest otherwise, if it wasn't related to a fix for the testsuite, since then it could hardly be seen as a bugfix). I thought about alternatives, but rejected them due to different reasons:= Alternative 1: Do not use the environment variable and rather make it implicit behavior to disable the Watson crash reports. Rejected, since that would be a behavior change of SVN. Downstream releases of SVN might rely on current crashdump integration and would be broken. Alternative 2 (untested): For the test environment set the corresponding Windows registry entry [1] prior to running the SVN tests so to disable sending the crashreports and/or bring up the popup to attach a debugger. Rejected, since that would be an additional barrier to run the testsuite especially for people building SVN themselves. IMO there should be as few hurdles as possible to build and test SVN, so to not risk stopping people from giving SVN a try. Alternative 3: Use a config setting instead of an environment variable. Rejected, since there we could not disable the crashreports before the config file was processed. Alternative 4: Use a command line parameter to disable crashreports. Rejected, since it would only work for command line tests but not for testing the C API. Maybe your call, Ivan, would be to use alternative 2 for SVN <=3D 1.9 and= introduce the environment variable related fix in trunk only? [1] https://blogs.msdn.microsoft.com/alejacma/2011/02/18/how-to-disable-the-p= op-up-that-windows-shows-when-an-app-crashes/ Regards, Stefan --------------ms070305090608020600000005 Content-Type: application/pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment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