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 87B9B200CA6 for ; Mon, 29 May 2017 10:32:08 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 86529160BC2; Mon, 29 May 2017 08:32:08 +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 CE595160BCE for ; Mon, 29 May 2017 10:32:07 +0200 (CEST) Received: (qmail 7099 invoked by uid 500); 29 May 2017 08:32:06 -0000 Mailing-List: contact issues-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@maven.apache.org Delivered-To: mailing list issues@maven.apache.org Received: (qmail 6768 invoked by uid 99); 29 May 2017 08:32:06 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 May 2017 08:32:06 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 80E3E18215B for ; Mon, 29 May 2017 08:32:06 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id LFRi3MvWrVwM for ; Mon, 29 May 2017 08:32:05 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 7804D5F523 for ; Mon, 29 May 2017 08:32:05 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id E4F3FE0C1B for ; Mon, 29 May 2017 08:32:04 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 33BC921B5A for ; Mon, 29 May 2017 08:32:04 +0000 (UTC) Date: Mon, 29 May 2017 08:32:04 +0000 (UTC) From: "Michael Osipov (JIRA)" To: issues@maven.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (MRESOLVER-25) Resume support is broken under high concurrency MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 29 May 2017 08:32:08 -0000 [ https://issues.apache.org/jira/browse/MRESOLVER-25?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16028140#comment-16028140 ] Michael Osipov commented on MRESOLVER-25: ----------------------------------------- Did you receive the exception even with the resume support disabled? > Resume support is broken under high concurrency > ----------------------------------------------- > > Key: MRESOLVER-25 > URL: https://issues.apache.org/jira/browse/MRESOLVER-25 > Project: Maven Resolver > Issue Type: Bug > Components: resolver > Affects Versions: Maven Artifact Resolver 1.0.3 > Reporter: Roland Illig > Attachments: dependency-list.txt, dependency-list-x.zip, wagon-not-threadsafe.zip > > > When building a multi-module project in parallel, Maven updates the local Maven repository without taking into account that other threads or processes might do the same at the same time. > To reproduce: > 1. unpack the attached project > 2. {{mvn dependency:list -U -B -T100}} > See the attached {{dependency-list.txt}} for an example output. > First thing to notice is that the dependency is downloaded 100 times. This is unexpected, since the Reactor should coordinate all the modules. > Second thing to notice is that the build fails, since a dependency "cannot be found". This is wrong, since the dependency _can_ be found, it's just not processed properly. > I suspect the {{legacy.DefaultWagonManager}} to be the cause of this, since the typical error messages are: > * {{"Downloaded file does not exist: "}} > * {{"Error copying temporary file to the final destination: "}} > * {{"*** CHECKSUM FAILED - RETRYING"}} -- This message was sent by Atlassian JIRA (v6.3.15#6346)