Return-Path: X-Original-To: apmail-maven-dev-archive@www.apache.org Delivered-To: apmail-maven-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C1161182D1 for ; Sat, 21 Nov 2015 14:13:25 +0000 (UTC) Received: (qmail 88286 invoked by uid 500); 21 Nov 2015 14:13:25 -0000 Delivered-To: apmail-maven-dev-archive@maven.apache.org Received: (qmail 88213 invoked by uid 500); 21 Nov 2015 14:13:25 -0000 Mailing-List: contact dev-help@maven.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Maven Developers List" Reply-To: "Maven Developers List" Delivered-To: mailing list dev@maven.apache.org Received: (qmail 88168 invoked by uid 99); 21 Nov 2015 14:13:24 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 21 Nov 2015 14:13:24 +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 60F3A1A2B6E for ; Sat, 21 Nov 2015 14:13:24 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.701 X-Spam-Level: X-Spam-Status: No, score=0.701 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, KAM_ASCII_DIVIDERS=0.8, RCVD_IN_MSPIKE_H2=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=zenior-no.20150623.gappssmtp.com header.b=BZ1hyFHV; dkim=pass (2048-bit key) header.d=gmail.com header.b=wC9RMU6c Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id Oe_RHDkG0bbD for ; Sat, 21 Nov 2015 14:13:17 +0000 (UTC) Received: from mail-ig0-f175.google.com (mail-ig0-f175.google.com [209.85.213.175]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id D58A920599 for ; Sat, 21 Nov 2015 14:13:16 +0000 (UTC) Received: by igcmv3 with SMTP id mv3so4734074igc.0 for ; Sat, 21 Nov 2015 06:13:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zenior-no.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=Tkwx3byzF3Zy6VJoiIOHr3JXk8pwI4LqUOi5Z3HSAzc=; b=BZ1hyFHV8r4cqDrN5/5jZ+jRyeG8INcWjlgrOLM6fDB/xOnlabVZZy0A0oMAi80OuI FEIfpT+EO4LI/oUVAuhtpGH03Np/89bwfwSR+f+fHWxB/H+V1l1hbfRQVom+onDywoT0 fw0gh2r4GCckKI8uH1m1dpuaBQGoUj9AD9p1zibRDfbMEV3lWJ5pW7KkEBWyyiwAsMJL FVJCsANuLbLGQA5eatbF17LSCPlfmBYsdmfAtUGTk6HHA/EHaXyrQSEIgd7lB4gxCRDy 6u0QpJhAIWsjoUqR95se75aUp976LfzpYHR0xc863hleYKauiGKsBpDRdrWWerGELYUu moQg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=Tkwx3byzF3Zy6VJoiIOHr3JXk8pwI4LqUOi5Z3HSAzc=; b=wC9RMU6cVvz2WeYiiqyK3kbGgw1dSVMiC9BYIRsWhw/8HaKKhnHVg9spJDTPJpYIWc ug4ZENGYcEuEL3su0/OcFpwMDv4XYdSFlPu2WIxt5hZrBOZ6BUbnYco4DPkNdowJ4gP4 XUli60cQcVcdjNcDhyWXHM/LrzukHqlchsPJocj2oyWLuW1nLfVjBU3K6cmtzHXcPlBL cj83U7VyZ1IIWqxuSG7WFHPS9fLbwUc6l2fWkQYYg5NJIAZQA1U5tDHsNbazuEp0/1fn FmfFcCIIN8enEukb7Jrn6OpSSfpUi6ftEr1WSLCHUUVPn6yYDDx6M32UJMa0Qn57Y9jh ikUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:date :message-id:subject:from:to:content-type:content-transfer-encoding; bh=Tkwx3byzF3Zy6VJoiIOHr3JXk8pwI4LqUOi5Z3HSAzc=; b=izAF7AMQ+f53CmrAvjLudTKq+8k7QzsEG5/UoDqZjOKZzOhmvK8BP4K5SuXCvdfpq+ 0pYwDxFVgVT2wvGk5GIGGNIjaNqjl68OqCJHfeMIfGa6TznNfMBcqKyAX7GafPKmqYo3 BEhxKxmbTd5G70lNdQjMZjFyz9qDB0diTQv+T22nH54Gp6c5LOY2M8nzhrw12KSCofFF FZg2gqkZraxeDDJR9pcs7+dLThTtdi7rY3KRkj0k/YaVRw8NyuBQ0j1Fe8bvJCIVUmb7 k1QeivHF7BYf6aNH4p7J2ZaX2uAMibub+7Ddu1h0X3RUT4VJS1niBjCa7h+vs2D5PR57 Xoxg== X-Gm-Message-State: ALoCoQmzX9eclBa008uda6Vlaafvh2wkIIJsHSJaw99uA2ZfmrgS75o54s5dayoOJT1SGIwFzPr2 MIME-Version: 1.0 X-Received: by 10.50.92.41 with SMTP id cj9mr6629145igb.38.1448115195649; Sat, 21 Nov 2015 06:13:15 -0800 (PST) Sender: kristian.rosenvold@zenior.no Received: by 10.50.208.6 with HTTP; Sat, 21 Nov 2015 06:13:15 -0800 (PST) In-Reply-To: <1820687.YWOl4ITBAd@herve-desktop> References: <56503683.1060300@gmx.de> <1820687.YWOl4ITBAd@herve-desktop> Date: Sat, 21 Nov 2015 15:13:15 +0100 X-Google-Sender-Auth: ujnBu3_pfa1LoHRJbNHcSRwRTOE Message-ID: Subject: Re: to delete windows build ? From: Kristian Rosenvold To: Maven Developers List Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Some background is in order here; there are several file handle "leaks" that will actually lead to the file handle being closed in a finalizer. Which is why "shaking" System.gc a couple of times with a sleep/retry or two sometimes actually is effective if weird :) Within shade I just fixed all of these leaks to use deterministic closing of all resources, so nothing gets closed in finalizers any more. To my understanding these calls to System.gc and any kind of retry logic can just be removed. So IMI it's a no-brainer, but sometimes there's more history behind such hacks... Kristian 2015-11-21 11:13 GMT+01:00 Herv=C3=A9 BOUTEMY : > yes, should be deleted from a plugin silently doing such hacks: if we try= to > work around leaks issues, it should at least advertise that a leak was fo= und, > trying to show where the issue is > > Since there is currently no warning, I don't know how much issues will no= w be > visible if the plugin simply fails on such (recoverable) leaks > > Do you have an idea of how much recoverable such leaks are with the > System.gc() hack? > > Just to choose if the removal should be done in 2 phases (warn before rem= ove). > > Because the only issue I fear is this hack makes the shade plugin have su= pport > for other plugins leaks: it's probably not easy to know how much plugins = have > leaks... > > Regards, > > Herv=C3=A9 > > Le samedi 21 novembre 2015 10:16:51 Karl Heinz Marbaise a =C3=A9crit : >> Hi Kristian, >> >> On 11/21/15 9:33 AM, Kristian Rosenvold wrote: >> > As some of you may have noticed, I have fixed a bunch of file handle l= eaks >> > in the last weeks. This may eventually make running a CI on windows >> > feasible :) >> > >> > The shade plugin was leaking like a sieve, and should now be fully >> > watertight. There seems to be a few bits of silly code that I'd just l= ike >> > to remove, since the root cause in all likelyhood is fixed: >> > >> > For instance this; >> > >> > https://maven.apache.org/plugins/maven-shade-plugin/xref/org/apache/ma= ven/ >> > plugins/shade/mojo/ShadeMojo.html#L643 >> This is definitively a thing which should be deleted... >> >> > Any objections ? >> >> No.. >> >> > Kristian >> > >> > 5. nov. 2015 5.29 p.m. skrev "Tibor Digana" : >> >> This issues is caused by long Windows paths. >> >> INFRA made shorter file names and issue disappeared. >> >> Reported issue with Git 2.6.2 installation requirements and Git varia= ble >> >> "core.longPaths=3Dtrue" setup, see >> >> https://issues.apache.org/jira/browse/INFRA-10724. >> >> >> >> On Fri, Oct 23, 2015 at 6:22 AM, Kristian Rosenvold < >> >> >> >> kristian.rosenvold@gmail.com> wrote: >> >>> (Tibor; I'm taking this to the mailing list) >> >>> >> >>> >> >>> It would appear that we are leaking file handles/resources when bein= g >> >>> killed by jenkins. This is not entirely surprising, since this is >> >>> notoriously hard to get right. Does anyone know how the timeout in >> >>> jenkins kills our process ? (If it's the equivalent of kill -9 we're >> >>> in trouble no matter what, but usually some softer means is used >> >>> first....) >> >>> >> >>> I'll montor for resurce leaks while killing processes this weekend t= o >> >>> see if I can find anything. >> >>> >> >>> Kristian >> >>> >> >>> >> >>> >> >>> ---------- Forwarded message ---------- >> >>> From: Tibor Digana >> >>> Date: 2015-10-22 21:05 GMT+02:00 >> >>> Subject: Re: to delete windows build ? >> >>> To: Andreas Gudian >> >>> Kopi: Kristian Rosenvold >> >>> >> >>>>> Could it be the ancient shadefire-version that causes hanging >> >>>>> processes >> >>> >> >>> in our integration tests on those windows nodes? >> >>> I do not know since I could not reproduce this issue on my system. >> >>> >> >>> IMHO the files are locked after the job has timed out. My words in J= IRA: >> >>> "The build setup says that the build timeout is 69 min. The bild was >> >>> running 64 which is very close." >> >>> >> >>> I should reopen the bug and ask INFRA to clean up the workspace. >> >>> >> >>> I expected INFRA to find out the root cause. The time out issue is a >> >> >> >> guess. >> >> >> >>> Cheers >> >>> Tibor >> >>> >> >>> On Thu, Oct 22, 2015 at 6:12 PM, Andreas Gudian >> >>> >> >>> wrote: >> >>>> Hi, >> >>>> >> >>>> A build that fails constantly has no value at all. A working Window= s >> >>> >> >>> build on the other hand would be something that I'd consider quite >> >>> important - process spawning, communication and termination can beha= ve >> >>> slightly different under different OS's. >> >>> >> >>>> Tibor and I are on Windows, but if someone else working on OSX or L= inux >> >>> >> >>> starts changing something in that area, the missing Windows builds (= or >> >> >> >> the >> >> >> >>> currently unusable jobs) could create a blind spot. >> >>> >> >>>> Could it be the ancient shadefire-version that causes hanging proce= sses >> >>> >> >>> in our integration tests on those windows nodes? I never had any >> >>> problems >> >>> with it on my local machines, though. >> >>> >> >>>> Cheers, >> >>>> Andreas >> >>>> >> >>>> Am Donnerstag, 22. Oktober 2015 schrieb Tibor Digana : >> >>>>> Hi, >> >>>>> >> >>>>> Our CI build permanently fails due to locked files in workspace. >> >>>>> https://builds.apache.org/job/maven-surefire-windows/ >> >>>>> I reported an issue but this did not help >> >>> >> >>> https://issues.apache.org/jira/browse/INFRA-10547 >> >>> >> >>>>> Do we need Windows build? >> >>>>> It looks like there is only Windows1 and Windows2 machine. One is = too >> >>> >> >>> slow and the next one has this problem with file system. >> >>> >> >>>>> I prefer working Win agent but the INFRA does not care. >> >>>>> >> >>>>> -- >> >>>>> Cheers >> >>>>> Tibor >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org >> For additional commands, e-mail: dev-help@maven.apache.org > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org > For additional commands, e-mail: dev-help@maven.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org For additional commands, e-mail: dev-help@maven.apache.org