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 46F25200D59 for ; Sun, 10 Dec 2017 11:12:17 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 4589C160C09; Sun, 10 Dec 2017 10:12:17 +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 8A128160C00 for ; Sun, 10 Dec 2017 11:12:16 +0100 (CET) Received: (qmail 91010 invoked by uid 500); 10 Dec 2017 10:12:15 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 90998 invoked by uid 99); 10 Dec 2017 10:12:15 -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, 10 Dec 2017 10:12:15 +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 E6E1A1A032E for ; Sun, 10 Dec 2017 10:12:14 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -2.151 X-Spam-Level: X-Spam-Status: No, score=-2.151 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, KAM_NUMSUBJECT=0.5, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.8, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id O8S2XHZGvmh6 for ; Sun, 10 Dec 2017 10:12:11 +0000 (UTC) Received: from mail-pf0-f176.google.com (mail-pf0-f176.google.com [209.85.192.176]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id A62F95FB2D for ; Sun, 10 Dec 2017 10:12:10 +0000 (UTC) Received: by mail-pf0-f176.google.com with SMTP id e3so9600414pfi.10 for ; Sun, 10 Dec 2017 02:12:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=ha/34yQhFhBNsM0MW6cvrAezS+gPcCLhhZ74XO/OtzQ=; b=GOWZzfC+OpIpX+mttoBUEWFCsY7nkk6jAa+j+w4ynPUBVUMHxFk+kIzr2a353PKQoh ZM/Y1c1d2fIW7QLzpgLtJp6fws5x+F8bW70uM7XOz2kZdkJhzLmgJEcWXcnQcpNKUst2 rLTgeXtG0a7CE4P5y1xOkhuxLt6kyS87Q+6nhBjHjNlAe2I88c17AQ0veVy6cmZrQ6MM glLyk8wrxshakGzF5E6tbsLbm7WfRKW6zvvP+TtEZum6iN5qcXOTSsxcQi09b1CfvpTq A46fK2YsTI0/0inoQwdzAcfLpJxdR4wZPUDNFLwEY3MPq1prVi81ZQUFZwAXp5ceSz7h Keig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=ha/34yQhFhBNsM0MW6cvrAezS+gPcCLhhZ74XO/OtzQ=; b=mpt2PIKZOtvXqdJ3aVRuGwyAe9Bqf9BbF0YWz49TLxbJ0cuaNH7+V+nHw/RMF3UR3P srI1u2Eh3wcu6p3qh8x5HF/uQZmgeJg5xPkyxZUK/KZXEziTRMmE7CH2sGrWbZ2S4uQ0 FOrsXpHn1jHEVa2zS1Ru3eY2NbaWmvEVo4VI4MFQfISszPrLlfaBvAEh8XHFHkMTY9Wa 2IbM0zQ33aKFLZmPHxnwOkAdNtM4LMmTJ74uy18PyV6rL2FkuoHdgJ+lQyTE4QYu8rMK mDy8AcU8ReQm0CfuUUO2eAHi+rZBM26N4HxzePX/y/wC4IupLZ0a92RFgjX/DxHhd4Ml su9A== X-Gm-Message-State: AJaThX5EREvIaNwN0qLe/GxqiRSi4RjRp57Imm4TIElonXfe03Dyvz7R elaNQoEH37TDoyxB1svzb+jBGCes X-Google-Smtp-Source: AGs4zMZtb5MM6r4b1esj9bJ2fbkMJ8TTQ03Bc6bhY4FuMS/NFn2GI6tS+8nFPrmBhqf7g1T3Z89afw== X-Received: by 10.99.110.79 with SMTP id j76mr36000881pgc.246.1512900721971; Sun, 10 Dec 2017 02:12:01 -0800 (PST) Received: from whiteoffice.local ([223.227.61.245]) by smtp.gmail.com with ESMTPSA id e2sm7742509pgv.34.2017.12.10.02.11.59 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 10 Dec 2017 02:12:00 -0800 (PST) Subject: =?UTF-8?Q?Re:_Jenkins_build_became_unstable:_Ant-Build-Matrix-maste?= =?UTF-8?Q?r-Linux_=c2=bb_JDK_1.8_=28latest=29_#977?= To: dev@ant.apache.org References: <1043180503.320.1512896369120.JavaMail.jenkins@jenkins-master.apache.org> <7c0a2763-a8f0-9c71-ef32-116907f551cf@gmail.com> <87bmj6oray.fsf@v45346.1blu.de> <877etuor4k.fsf@v45346.1blu.de> From: Jaikiran Pai Message-ID: <728bbeec-b7d6-1250-5495-48b0847e37a5@gmail.com> Date: Sun, 10 Dec 2017 15:41:58 +0530 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 In-Reply-To: <877etuor4k.fsf@v45346.1blu.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US archived-at: Sun, 10 Dec 2017 10:12:17 -0000 You are right, that indeed was the issue (for one of that failing test). I have pushed a commit with this change to fix that one. -Jaikiran On 10/12/17 3:13 PM, Stefan Bodewig wrote: > On 2017-12-10, Stefan Bodewig wrote: > >> testCreateDoubleHanging is related to >> https://bz.apache.org/bugzilla/show_bug.cgi?id=38199 judging from the >> history. Here the link points to a non-existent file and Files.exists >> returns false in Java8. > fixed by > > @@ -37,6 +37,7 @@ import java.io.IOException; > import java.io.InputStream; > import java.io.PrintStream; > import java.nio.file.Files; > +import java.nio.file.LinkOption; > import java.nio.file.Path; > import java.nio.file.Paths; > import java.util.ArrayList; > @@ -440,7 +441,7 @@ public class Symlink extends DispatchTask { > private void doLink(String res, String lnk) throws BuildException { > final Path link = Paths.get(lnk); > final Path target = Paths.get(res); > - final boolean alreadyExists = Files.exists(link); > + final boolean alreadyExists = Files.exists(link, LinkOption.NOFOLLOW_LINKS); > if (!alreadyExists) { > // if the path (at which the link is expected to be created) isn't already present > // then we just go ahead and attempt to symlink > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org > For additional commands, e-mail: dev-help@ant.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org