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 EE1EE7024 for ; Sat, 30 Jul 2011 11:24:50 +0000 (UTC) Received: (qmail 69652 invoked by uid 500); 30 Jul 2011 11:24:49 -0000 Delivered-To: apmail-maven-dev-archive@maven.apache.org Received: (qmail 69113 invoked by uid 500); 30 Jul 2011 11:24:45 -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 69105 invoked by uid 99); 30 Jul 2011 11:24:42 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 30 Jul 2011 11:24:42 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of bimargulies@gmail.com designates 209.85.161.43 as permitted sender) Received: from [209.85.161.43] (HELO mail-fx0-f43.google.com) (209.85.161.43) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 30 Jul 2011 11:24:35 +0000 Received: by fxg17 with SMTP id 17so3447889fxg.30 for ; Sat, 30 Jul 2011 04:24:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=EEpWzUSJohF6+SRaLQW7djFZthtEBOsLa1xpIZJKj0c=; b=U2lZbsSHCXFTPN7aTlAj33Rek/XXLd4Dl+gvrrjw+GHnXqXx7zYcbksyASz1DXZjfM 9Q6Wg9he1OCNKQX1enBv702LmgwxUeqUHpp11MmF4N2AlcySlbPwl5jLcK3pF6HBFtFC gjQSlaaIHKT46IrFl8YhJVfx3TGo+M0A0u6/g= MIME-Version: 1.0 Received: by 10.204.16.133 with SMTP id o5mr665085bka.158.1312025055280; Sat, 30 Jul 2011 04:24:15 -0700 (PDT) Received: by 10.204.102.73 with HTTP; Sat, 30 Jul 2011 04:24:15 -0700 (PDT) In-Reply-To: <1312020596.40584.YahooMailClassic@web27808.mail.ukl.yahoo.com> References: <4E33D527.4030307@apache.org> <1312020596.40584.YahooMailClassic@web27808.mail.ukl.yahoo.com> Date: Sat, 30 Jul 2011 07:24:15 -0400 Message-ID: Subject: Re: non-reproducible issues on CI From: Benson Margulies To: Maven Developers List Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org These jobs should use a custom repo. Trusting the built-in Jenkins repo is not wise when testing maven. It's just a checkbox in the job config. On Sat, Jul 30, 2011 at 6:09 AM, Mark Struberg wrote: > gav dropped it already (pinged him on IRC). Build #152 is currently runni= ng. > > LieGrue, > strub > > --- On Sat, 7/30/11, Dennis Lundberg wrote: > >> From: Dennis Lundberg >> Subject: Re: non-reproducible issues on CI >> To: "Maven Developers List" >> Date: Saturday, July 30, 2011, 9:55 AM >> On 2011-07-30 10:54, Mark Struberg >> wrote: >> > Might be if the metadata got downloaded but the >> artifact (a fat jar for example) didn't make it? >> > >> > I bet there are situations where such things still >> might end ugly. >> > >> > Just for the record: I'm currently looking at >> maven-repository-plugin >> BundleCreateIT#createWithSCMInfoProvided(). >> > It looks like this issue only hits ITs. >> > >> > Here is the local IT repo on our CI box: >> > https://builds.apache.org/job/maven-plugins-ITs-3.x/ws/maven-repositor= y-plugin/target/it-repo/ >> > >> > A comparison of the artifacts I get locally shows that >> commons-cli-1.0 and commons-lang-2.1 don't make it on the CI >> box. >> > >> > >> > I'll try to ping infra and get drop them from our >> jenkins repo cache. >> >> That should be directed to builds@a.o >> I'm a recent subscriber there, so I can ask them. >> >> > >> > LieGrue, >> > strub >> > >> > >> > --- On Sat, 7/30/11, Dennis Lundberg >> wrote: >> > >> >> From: Dennis Lundberg >> >> Subject: Re: non-reproducible issues on CI >> >> To: "Maven Developers List" >> >> Date: Saturday, July 30, 2011, 8:31 AM >> >> Hi >> >> >> >> I've seen this kind of error at my day job a >> couple of >> >> times. Although >> >> I'm sure sure why they happen, I do know how to >> get rid of >> >> it. >> >> >> >> You need to manually remove the offending artifact >> from the >> >> local repo >> >> to get a freshly downloaded copy of it. By >> removing all >> >> versions of the >> >> artifact, including the meta data you ensure that >> the >> >> "corrupt" meta >> >> data will also be removed. >> >> >> >> The only reason I can think of as to why it >> happens is that >> >> the >> >> repository don't respond when the artifact is >> being >> >> downloaded for the >> >> first time. That puts some special meta data in >> the local >> >> repository. >> >> That meta data looks like it is supposed to help >> determine >> >> when the >> >> failed attempt occurred. This somehow blocks any >> further >> >> download of the >> >> artifact in question. Even forcing a new download >> via >> >> command line >> >> option have failed for us. >> >> >> >> I haven't reported it in JIRA yet because I don't >> have >> >> anything even >> >> remotely reproducible. >> >> >> >> On 2011-07-30 01:22, Mark Struberg wrote: >> >>> Hi! >> >>> >> >>> Our CI is broken since a while and most of the >> errors >> >> are of the following kind: >> >>> >> >>> >> >>> [ERROR] Plugin >> >> >> org.apache.maven.plugins:maven-repository-plugin:2.3.2-SNAPSHOT >> >> or one of its dependencies could not be resolved: >> Failed to >> >> read artifact descriptor for >> >> >> org.apache.maven.plugins:maven-repository-plugin:jar:2.3.2-SNAPSHOT: >> >> Failure to find >> >> >> org.apache.maven.plugins:maven-repository-plugin:pom:2.3.2-SNAPSHOT >> >> in >> >> >> /home/hudson/hudson-slave/workspace/maven-plugins-ITs-3.x/maven-reposito= ry-plugin/target/it-repo >> >> was cached in the local repository, resolution >> will not be >> >> reattempted until the update interval of >> local.central has >> >> elapsed or updates are forced -> [Help 1] >> >>> >> org.apache.maven.plugin.PluginResolutionException: >> >> Plugin >> >> >> org.apache.maven.plugins:maven-repository-plugin:2.3.2-SNAPSHOT >> >> or one of its dependencies could not be resolved: >> Failed to >> >> read artifact descriptor for >> >> >> org.apache.maven.plugins:maven-repository-plugin:jar:2.3.2-SNAPSHOT >> >>>=C2=A0 =C2=A0=C2=A0=C2=A0at >> >> >> org.apache.maven.plugin.internal.DefaultPluginDependenciesResolver.resol= ve(DefaultPluginDependenciesResolver.java:129) >> >>>=C2=A0 =C2=A0=C2=A0=C2=A0at >> >> >> org.apache.maven.plugin.internal.DefaultMavenPluginManager.getPluginDesc= riptor(DefaultMavenPluginManager.java:142) >> >>>=C2=A0 =C2=A0=C2=A0=C2=A0at >> >> >> org.apache.maven.plugin.internal.DefaultMavenPluginManager.getMojoDescri= ptor(DefaultMavenPluginManager.java:261) >> >>>=C2=A0 =C2=A0=C2=A0=C2=A0at >> >> >> org.apache.maven.plugin.DefaultBuildPluginManager.getMojoDescriptor(Defa= ultBuildPluginManager.java:185) >> >>>=C2=A0 =C2=A0=C2=A0=C2=A0at >> >> >> org.apache.maven.lifecycle.internal.MojoDescriptorCreator.getMojoDescrip= tor(MojoDescriptorCreator.java:235) >> >>>=C2=A0 =C2=A0=C2=A0=C2=A0at >> >> >> org.apache.maven.lifecycle.internal.DefaultLifecycleTaskSegmentCalculato= r.calculateTaskSegments(DefaultLifecycleTaskSegmentCalculator.java:106) >> >>>=C2=A0 =C2=A0=C2=A0=C2=A0at >> >> >> org.apache.maven.lifecycle.internal.DefaultLifecycleTaskSegmentCalculato= r.calculateTaskSegments(DefaultLifecycleTaskSegmentCalculator.java:86) >> >>>=C2=A0 =C2=A0=C2=A0=C2=A0at >> >> >> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleSt= arter.java:98) >> >>>=C2=A0 =C2=A0=C2=A0=C2=A0at >> >> >> org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319) >> >>>=C2=A0 =C2=A0=C2=A0=C2=A0at >> >> >> org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) >> >>>=C2=A0 =C2=A0=C2=A0=C2=A0at >> >> >> org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) >> >>>=C2=A0 =C2=A0=C2=A0=C2=A0at >> >> >> org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) >> >>>=C2=A0 =C2=A0=C2=A0=C2=A0at >> >> >> org.apache.maven.cli.MavenCli.main(MavenCli.java:141) >> >>>=C2=A0 =C2=A0=C2=A0=C2=A0at >> >> >> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> >>>=C2=A0 =C2=A0=C2=A0=C2=A0at >> >> >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav= a:39) >> >>>=C2=A0 =C2=A0=C2=A0=C2=A0at >> >> >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor= Impl.java:25) >> >>>=C2=A0 =C2=A0=C2=A0=C2=A0at >> >> java.lang.reflect.Method.invoke(Method.java:592) >> >>>=C2=A0 =C2=A0=C2=A0=C2=A0at >> >> >> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launche= r.java:290) >> >>>=C2=A0 =C2=A0=C2=A0=C2=A0at >> >> >> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:2= 30) >> >>>=C2=A0 =C2=A0=C2=A0=C2=A0at >> >> >> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launc= her.java:409) >> >>>=C2=A0 =C2=A0=C2=A0=C2=A0at >> >> >> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352= ) >> >>> Caused by: >> >> >> org.sonatype.aether.resolution.ArtifactDescriptorException: >> >> Failed to read artifact descriptor for >> >> >> org.apache.maven.plugins:maven-repository-plugin:jar:2.3.2-SNAPSHOT >> >>>=C2=A0 =C2=A0=C2=A0=C2=A0at >> >> >> org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.loa= dPom(DefaultArtifactDescriptorReader.java:282) >> >>>=C2=A0 =C2=A0=C2=A0=C2=A0at >> >> >> org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.rea= dArtifactDescriptor(DefaultArtifactDescriptorReader.java:172) >> >>>=C2=A0 =C2=A0=C2=A0=C2=A0at >> >> >> org.sonatype.aether.impl.internal.DefaultRepositorySystem.readArtifactDe= scriptor(DefaultRepositorySystem.java:316) >> >>>=C2=A0 =C2=A0=C2=A0=C2=A0at >> >> >> org.apache.maven.plugin.internal.DefaultPluginDependenciesResolver.resol= ve(DefaultPluginDependenciesResolver.java:115) >> >>>=C2=A0 =C2=A0=C2=A0=C2=A0... 20 more >> >>> Caused by: >> >> >> org.sonatype.aether.resolution.ArtifactResolutionException: >> >> Failure to find >> >> >> org.apache.maven.plugins:maven-repository-plugin:pom:2.3.2-SNAPSHOT >> >> in >> >> >> /home/hudson/hudson-slave/workspace/maven-plugins-ITs-3.x/maven-reposito= ry-plugin/target/it-repo >> >> was cached in the local repository, resolution >> will not be >> >> reattempted until the update interval of >> local.central has >> >> elapsed or updates are forced >> >>>=C2=A0 =C2=A0=C2=A0=C2=A0at >> >> >> org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolve(Defaul= tArtifactResolver.java:541) >> >>>=C2=A0 =C2=A0=C2=A0=C2=A0at >> >> >> org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifac= ts(DefaultArtifactResolver.java:220) >> >>>=C2=A0 =C2=A0=C2=A0=C2=A0at >> >> >> org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifac= t(DefaultArtifactResolver.java:197) >> >>>=C2=A0 =C2=A0=C2=A0=C2=A0at >> >> >> org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.loa= dPom(DefaultArtifactDescriptorReader.java:267) >> >>>=C2=A0 =C2=A0=C2=A0=C2=A0... 23 more >> >>> Caused by: >> >> >> org.sonatype.aether.transfer.ArtifactNotFoundException: >> >> Failure to find >> >> >> org.apache.maven.plugins:maven-repository-plugin:pom:2.3.2-SNAPSHOT >> >> in >> >> >> /home/hudson/hudson-slave/workspace/maven-plugins-ITs-3.x/maven-reposito= ry-plugin/target/it-repo >> >> was cached in the local repository, resolution >> will not be >> >> reattempted until the update interval of >> local.central has >> >> elapsed or updates are forced >> >>>=C2=A0 =C2=A0=C2=A0=C2=A0at >> >> >> org.sonatype.aether.impl.internal.DefaultUpdateCheckManager.checkArtifac= t(DefaultUpdateCheckManager.java:190) >> >>>=C2=A0 =C2=A0=C2=A0=C2=A0at >> >> >> org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolve(Defaul= tArtifactResolver.java:430) >> >>>=C2=A0 =C2=A0=C2=A0=C2=A0... 26 more >> >>> >> >>> >> >>> Here is the full story: >> >>> >> >>> https://builds.apache.org/job/maven-plugins-ITs-3.x/ws/maven-reposit= ory-plugin/target/surefire-reports/org.apache.maven.plugins.repository.it.B= undleCreateIT.txt >> >>> >> >>> The weird thing is that this artifact exists: >> >>> https://builds.apache.org/job/maven-plugins-ITs-3.x/ws/maven-reposit= ory-plugin/target/it-repo/org/apache/maven/plugins/maven-repository-plugin/= 2.3.2-SNAPSHOT/ >> >>> >> >>> >> >>> We (rfscholte nor I) cannot reproduce those >> bugs >> >> locally. All the tests just run fine here. >> >>> Is there some magic switch we need to set in >> Jenkins, >> >> or is this a real bug? >> >>> >> >>> txs and LieGrue, >> >>> strub >> >>> >> >>> >> >>> >> > >> > >> --------------------------------------------------------------------- >> > To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org >> > For additional commands, e-mail: dev-help@maven.apache.org >> > >> > >> >> >> -- >> Dennis Lundberg >> >> --------------------------------------------------------------------- >> 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