maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephen Connolly (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MNG-6155) MavenITmng3599useHttpProxyForWebDAVMk2Test needs --legacy-local-repository
Date Wed, 11 Jan 2017 20:19:16 GMT

    [ https://issues.apache.org/jira/browse/MNG-6155?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15819039#comment-15819039
] 

Stephen Connolly commented on MNG-6155:
---------------------------------------

Hmmm so

* https://builds.apache.org/job/maven-jenkinsfile/job/master/lastSuccessfulBuild/execution/node/139/log/
was on windows and java 7
* https://builds.apache.org/job/maven-jenkinsfile/job/MNG-5629/lastSuccessfulBuild/execution/node/124/log/
on windows and java 7
* https://builds.apache.org/job/maven-jenkinsfile/job/MNG-5629/lastSuccessfulBuild/execution/node/123/log/
on windows and java 8
* https://builds.apache.org/job/maven-jenkinsfile/job/MNG-5958/1/execution/node/140/log/ on
windows and java 8

So it is unlikely to be test order changes on Java 8 as half of the failures I inspected were
on Java 7

I have not found a failure on linux... so seems to be a flaky test on windows only

> MavenITmng3599useHttpProxyForWebDAVMk2Test needs --legacy-local-repository
> --------------------------------------------------------------------------
>
>                 Key: MNG-6155
>                 URL: https://issues.apache.org/jira/browse/MNG-6155
>             Project: Maven
>          Issue Type: Bug
>          Components: Integration Tests
>    Affects Versions: 3.3.9, 3.5.0
>            Reporter: Stephen Connolly
>
> We found an issue with the integration tests after the great reset once we had a Jenkinsfile
that was running the integration tests against windows and linux on both Java 7 and Java 8.
> Namely the {{MavenITmng3599useHttpProxyForWebDAVTest}} was flakey with approximately
two of the four runs failing with errors like:
> {code}
> [DEBUG] Using manager EnhancedLocalRepositoryManager with priority 10.0 for f:\jenkins\jenkins-slave\workspace\maven-jenkinsfile\master@4\test\it-local-repo
> [INFO] Scanning for projects...
> [DEBUG] Using mirror test-mirror (dav://www.example.com/) for central (file:target/null).
> [DEBUG] Verifying availability of f:\jenkins\jenkins-slave\workspace\maven-jenkinsfile\master@4\test\it-local-repo\org\apache\maven\wagon\wagon-webdav-jackrabbit\2.0\wagon-webdav-jackrabbit-2.0.pom
from [test-mirror (dav://www.example.com/, default, releases+snapshots)]
> [DEBUG] java.util.NoSuchElementException
>       role: org.apache.maven.wagon.Wagon
>   roleHint: dav
> org.codehaus.plexus.component.repository.exception.ComponentLookupException: java.util.NoSuchElementException
>       role: org.apache.maven.wagon.Wagon
>   roleHint: dav
>  at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:267)
>  at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:255)
>  at org.eclipse.aether.internal.transport.wagon.PlexusWagonProvider.lookup(PlexusWagonProvider.java:58)
>  at org.eclipse.aether.transport.wagon.WagonTransporter.lookupWagon(WagonTransporter.java:271)
>  at org.eclipse.aether.transport.wagon.WagonTransporter.<init>(WagonTransporter.java:115)
>  at org.eclipse.aether.transport.wagon.WagonTransporterFactory.newInstance(WagonTransporterFactory.java:127)
>  at org.eclipse.aether.internal.impl.DefaultTransporterProvider.newTransporter(DefaultTransporterProvider.java:110)
>  at org.eclipse.aether.connector.basic.BasicRepositoryConnector.<init>(BasicRepositoryConnector.java:115)
>  at org.eclipse.aether.connector.basic.BasicRepositoryConnectorFactory.newInstance(BasicRepositoryConnectorFactory.java:180)
>  at org.eclipse.aether.internal.impl.DefaultRepositoryConnectorProvider.newRepositoryConnector(DefaultRepositoryConnectorProvider.java:113)
>  at org.eclipse.aether.internal.impl.DefaultArtifactResolver.performDownloads(DefaultArtifactResolver.java:516)
>  at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:421)
>  at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:246)
>  at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:223)
>  at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.loadPom(DefaultArtifactDescriptorReader.java:267)
>  at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.readArtifactDescriptor(DefaultArtifactDescriptorReader.java:198)
>  at org.eclipse.aether.internal.impl.DefaultDependencyCollector.collectDependencies(DefaultDependencyCollector.java:202)
>  at org.eclipse.aether.internal.impl.DefaultRepositorySystem.collectDependencies(DefaultRepositorySystem.java:316)
>  at org.apache.maven.plugin.internal.DefaultPluginDependenciesResolver.resolveInternal(DefaultPluginDependenciesResolver.java:202)
>  at org.apache.maven.plugin.internal.DefaultPluginDependenciesResolver.resolve(DefaultPluginDependenciesResolver.java:149)
>  at org.apache.maven.plugin.internal.DefaultMavenPluginManager.resolveExtensionArtifacts(DefaultMavenPluginManager.java:908)
>  at org.apache.maven.plugin.internal.DefaultMavenPluginManager.setupExtensionsRealm(DefaultMavenPluginManager.java:839)
>  at org.apache.maven.project.DefaultProjectBuildingHelper.createProjectRealm(DefaultProjectBuildingHelper.java:196)
>  at org.apache.maven.project.DefaultModelBuildingListener.buildExtensionsAssembled(DefaultModelBuildingListener.java:99)
>  at org.apache.maven.model.building.ModelBuildingEventCatapult$1.fire(ModelBuildingEventCatapult.java:44)
>  at org.apache.maven.model.building.DefaultModelBuilder.fireEvent(DefaultModelBuilder.java:1295)
>  at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:441)
>  at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:421)
>  at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:620)
>  at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:411)
>  at org.apache.maven.graph.DefaultGraphBuilder.collectProjects(DefaultGraphBuilder.java:419)
>  at org.apache.maven.graph.DefaultGraphBuilder.getProjectsForMavenReactor(DefaultGraphBuilder.java:410)
>  at org.apache.maven.graph.DefaultGraphBuilder.build(DefaultGraphBuilder.java:83)
>  at org.apache.maven.DefaultMaven.buildGraph(DefaultMaven.java:491)
>  at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:219)
>  at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
>  at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
>  at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
>  at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
>  at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  at java.lang.reflect.Method.invoke(Method.java:606)
>  at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
>  at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
>  at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
>  at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
> Caused by: java.util.NoSuchElementException
>  at org.eclipse.sisu.plexus.RealmFilteredBeans$FilteredItr.next(RealmFilteredBeans.java:118)
>  at org.eclipse.sisu.plexus.RealmFilteredBeans$FilteredItr.next(RealmFilteredBeans.java:1)
>  at org.eclipse.sisu.plexus.DefaultPlexusBeans$Itr.next(DefaultPlexusBeans.java:76)
>  at org.eclipse.sisu.plexus.DefaultPlexusBeans$Itr.next(DefaultPlexusBeans.java:1)
>  at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:263)
>  ... 47 more
> [DEBUG] Writing tracking file f:\jenkins\jenkins-slave\workspace\maven-jenkinsfile\master@4\test\it-local-repo\org\apache\maven\wagon\wagon-webdav-jackrabbit\2.0\wagon-webdav-jackrabbit-2.0.pom.lastUpdated
> [DEBUG] Looking up lifecyle mappings for packaging jar from ClassRealm[plexus.core, parent:
null]
> [ERROR] [ERROR] Some problems were encountered while processing the POMs:
> [ERROR] Unresolveable build extension: Plugin org.apache.maven.wagon:wagon-webdav-jackrabbit:2.0
or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.wagon:wagon-webdav-jackrabbit:jar:2.0
@ 
>  @ 
> [ERROR] The build could not read 1 project -> [Help 1]
> org.apache.maven.project.ProjectBuildingException: Some problems were encountered while
processing the POMs:
> [ERROR] Unresolveable build extension: Plugin org.apache.maven.wagon:wagon-webdav-jackrabbit:2.0
or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.wagon:wagon-webdav-jackrabbit:jar:2.0
@ 
>  at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:422)
>  at org.apache.maven.graph.DefaultGraphBuilder.collectProjects(DefaultGraphBuilder.java:419)
>  at org.apache.maven.graph.DefaultGraphBuilder.getProjectsForMavenReactor(DefaultGraphBuilder.java:410)
>  at org.apache.maven.graph.DefaultGraphBuilder.build(DefaultGraphBuilder.java:83)
>  at org.apache.maven.DefaultMaven.buildGraph(DefaultMaven.java:491)
>  at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:219)
>  at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
>  at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
>  at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
>  at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
>  at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  at java.lang.reflect.Method.invoke(Method.java:606)
>  at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
>  at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
>  at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
>  at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
> [ERROR]   
> [ERROR]   The project org.apache.maven.its.mng3599:test:1.0-SNAPSHOT (F:\jenkins\jenkins-slave\workspace\maven-jenkinsfile\master@4\test\core-it-suite\target\test-classes\mng-3599\pom.xml)
has 1 error
> [ERROR]     Unresolveable build extension: Plugin org.apache.maven.wagon:wagon-webdav-jackrabbit:2.0
or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.wagon:wagon-webdav-jackrabbit:jar:2.0:
Could not transfer artifact org.apache.maven.wagon:wagon-webdav-jackrabbit:pom:2.0 from/to
test-mirror (dav://www.example.com/): Cannot access dav://www.example.com/ with type default
using the available connector factories: BasicRepositoryConnectorFactory: Cannot access dav://www.example.com/
using the registered transporter factories: WagonTransporterFactory: java.util.NoSuchElementException
> [ERROR]     role: org.apache.maven.wagon.Wagon
> [ERROR]     roleHint: dav
> [ERROR]     -> [Help 2]
> org.apache.maven.plugin.PluginManagerException: Plugin org.apache.maven.wagon:wagon-webdav-jackrabbit:2.0
or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.wagon:wagon-webdav-jackrabbit:jar:2.0
>  at org.apache.maven.plugin.internal.DefaultMavenPluginManager.setupExtensionsRealm(DefaultMavenPluginManager.java:846)
>  at org.apache.maven.project.DefaultProjectBuildingHelper.createProjectRealm(DefaultProjectBuildingHelper.java:196)
>  at org.apache.maven.project.DefaultModelBuildingListener.buildExtensionsAssembled(DefaultModelBuildingListener.java:99)
>  at org.apache.maven.model.building.ModelBuildingEventCatapult$1.fire(ModelBuildingEventCatapult.java:44)
>  at org.apache.maven.model.building.DefaultModelBuilder.fireEvent(DefaultModelBuilder.java:1295)
>  at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:441)
>  at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:421)
>  at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:620)
>  at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:411)
>  at org.apache.maven.graph.DefaultGraphBuilder.collectProjects(DefaultGraphBuilder.java:419)
>  at org.apache.maven.graph.DefaultGraphBuilder.getProjectsForMavenReactor(DefaultGraphBuilder.java:410)
>  at org.apache.maven.graph.DefaultGraphBuilder.build(DefaultGraphBuilder.java:83)
>  at org.apache.maven.DefaultMaven.buildGraph(DefaultMaven.java:491)
>  at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:219)
>  at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
>  at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
>  at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
>  at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
>  at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  at java.lang.reflect.Method.invoke(Method.java:606)
>  at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
>  at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
>  at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
>  at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
> Caused by: org.apache.maven.plugin.PluginResolutionException: Plugin org.apache.maven.wagon:wagon-webdav-jackrabbit:2.0
or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.wagon:wagon-webdav-jackrabbit:jar:2.0
>  at org.apache.maven.plugin.internal.DefaultPluginDependenciesResolver.resolveInternal(DefaultPluginDependenciesResolver.java:214)
>  at org.apache.maven.plugin.internal.DefaultPluginDependenciesResolver.resolve(DefaultPluginDependenciesResolver.java:149)
>  at org.apache.maven.plugin.internal.DefaultMavenPluginManager.resolveExtensionArtifacts(DefaultMavenPluginManager.java:908)
>  at org.apache.maven.plugin.internal.DefaultMavenPluginManager.setupExtensionsRealm(DefaultMavenPluginManager.java:839)
>  ... 26 more
> Caused by: org.eclipse.aether.collection.DependencyCollectionException: Failed to read
artifact descriptor for org.apache.maven.wagon:wagon-webdav-jackrabbit:jar:2.0
>  at org.eclipse.aether.internal.impl.DefaultDependencyCollector.collectDependencies(DefaultDependencyCollector.java:208)
>  at org.eclipse.aether.internal.impl.DefaultRepositorySystem.collectDependencies(DefaultRepositorySystem.java:316)
>  at org.apache.maven.plugin.internal.DefaultPluginDependenciesResolver.resolveInternal(DefaultPluginDependenciesResolver.java:202)
>  ... 29 more
> Caused by: org.eclipse.aether.resolution.ArtifactDescriptorException: Failed to read
artifact descriptor for org.apache.maven.wagon:wagon-webdav-jackrabbit:jar:2.0
>  at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.loadPom(DefaultArtifactDescriptorReader.java:282)
>  at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.readArtifactDescriptor(DefaultArtifactDescriptorReader.java:198)
>  at org.eclipse.aether.internal.impl.DefaultDependencyCollector.collectDependencies(DefaultDependencyCollector.java:202)
>  ... 31 more
> Caused by: org.eclipse.aether.resolution.ArtifactResolutionException: Could not transfer
artifact org.apache.maven.wagon:wagon-webdav-jackrabbit:pom:2.0 from/to test-mirror (dav://www.example.com/):
Cannot access dav://www.example.com/ with type default using the available connector factories:
BasicRepositoryConnectorFactory
>  at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:444)
>  at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:246)
>  at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:223)
>  at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.loadPom(DefaultArtifactDescriptorReader.java:267)
>  ... 33 more
> Caused by: org.eclipse.aether.transfer.ArtifactTransferException: Could not transfer
artifact org.apache.maven.wagon:wagon-webdav-jackrabbit:pom:2.0 from/to test-mirror (dav://www.example.com/):
Cannot access dav://www.example.com/ with type default using the available connector factories:
BasicRepositoryConnectorFactory
>  at org.eclipse.aether.internal.impl.DefaultArtifactResolver.performDownloads(DefaultArtifactResolver.java:531)
>  at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:421)
>  ... 36 more
> Caused by: org.eclipse.aether.transfer.NoRepositoryConnectorException: Cannot access
dav://www.example.com/ with type default using the available connector factories: BasicRepositoryConnectorFactory
>  at org.eclipse.aether.internal.impl.DefaultRepositoryConnectorProvider.newRepositoryConnector(DefaultRepositoryConnectorProvider.java:174)
>  at org.eclipse.aether.internal.impl.DefaultArtifactResolver.performDownloads(DefaultArtifactResolver.java:516)
>  ... 37 more
> Caused by: org.eclipse.aether.transfer.NoRepositoryConnectorException: Cannot access
dav://www.example.com/ using the registered transporter factories: WagonTransporterFactory
>  at org.eclipse.aether.connector.basic.BasicRepositoryConnector.<init>(BasicRepositoryConnector.java:119)
>  at org.eclipse.aether.connector.basic.BasicRepositoryConnectorFactory.newInstance(BasicRepositoryConnectorFactory.java:180)
>  at org.eclipse.aether.internal.impl.DefaultRepositoryConnectorProvider.newRepositoryConnector(DefaultRepositoryConnectorProvider.java:113)
>  ... 38 more
> Caused by: org.eclipse.aether.transfer.NoTransporterException: Cannot access dav://www.example.com/
using the registered transporter factories: WagonTransporterFactory
>  at org.eclipse.aether.internal.impl.DefaultTransporterProvider.newTransporter(DefaultTransporterProvider.java:151)
>  at org.eclipse.aether.connector.basic.BasicRepositoryConnector.<init>(BasicRepositoryConnector.java:115)
>  ... 40 more
> Caused by: org.eclipse.aether.transfer.NoTransporterException: java.util.NoSuchElementException
>       role: org.apache.maven.wagon.Wagon
>   roleHint: dav
>  at org.eclipse.aether.transport.wagon.WagonTransporter.<init>(WagonTransporter.java:120)
>  at org.eclipse.aether.transport.wagon.WagonTransporterFactory.newInstance(WagonTransporterFactory.java:127)
>  at org.eclipse.aether.internal.impl.DefaultTransporterProvider.newTransporter(DefaultTransporterProvider.java:110)
>  ... 41 more
> Caused by: org.codehaus.plexus.component.repository.exception.ComponentLookupException:
java.util.NoSuchElementException
>       role: org.apache.maven.wagon.Wagon
>   roleHint: dav
>  at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:267)
>  at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:255)
>  at org.eclipse.aether.internal.transport.wagon.PlexusWagonProvider.lookup(PlexusWagonProvider.java:58)
>  at org.eclipse.aether.transport.wagon.WagonTransporter.lookupWagon(WagonTransporter.java:271)
>  at org.eclipse.aether.transport.wagon.WagonTransporter.<init>(WagonTransporter.java:115)
>  ... 43 more
> Caused by: java.util.NoSuchElementException
>  at org.eclipse.sisu.plexus.RealmFilteredBeans$FilteredItr.next(RealmFilteredBeans.java:118)
>  at org.eclipse.sisu.plexus.RealmFilteredBeans$FilteredItr.next(RealmFilteredBeans.java:1)
>  at org.eclipse.sisu.plexus.DefaultPlexusBeans$Itr.next(DefaultPlexusBeans.java:76)
>  at org.eclipse.sisu.plexus.DefaultPlexusBeans$Itr.next(DefaultPlexusBeans.java:1)
>  at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:263)
>  ... 47 more
> [ERROR] 
> [ERROR] 
> [ERROR] For more information about the errors and possible solutions, please read the
following articles:
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
> [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/PluginManagerException
> {code}
> The initial hypothesis was that the Wagon upgrade in Maven 3.3.9 to 2.10 was causing
the 2.0 version of the webdav wagon to stop working, so  {{MavenITmng3599useHttpProxyForWebDAVTest}}
was disabled on 3.3.9+ and {{MavenITmng3599useHttpProxyForWebDAVMk2Test}} introduced using
2.10 of webdav...
> That had the result of failing with:
> {code}
> [DEBUG] Verifying availability of f:\jenkins\jenkins-slave\workspace\maven-jenkinsfile\mng-3599@6\test\it-local-repo\org\apache\maven\wagon\wagon-webdav-jackrabbit\2.10\wagon-webdav-jackrabbit-2.10.pom
from [test-mirror (dav://www.example.com/, default, releases+snapshots)]
> [DEBUG] java.util.NoSuchElementException
>       role: org.apache.maven.wagon.Wagon
>   roleHint: dav
> org.codehaus.plexus.component.repository.exception.ComponentLookupException: java.util.NoSuchElementException
>       role: org.apache.maven.wagon.Wagon
>   roleHint: dav
>  at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:267)
>  at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:255)
>  at org.eclipse.aether.internal.transport.wagon.PlexusWagonProvider.lookup(PlexusWagonProvider.java:58)
>  at org.eclipse.aether.transport.wagon.WagonTransporter.lookupWagon(WagonTransporter.java:271)
>  at org.eclipse.aether.transport.wagon.WagonTransporter.<init>(WagonTransporter.java:115)
>  at org.eclipse.aether.transport.wagon.WagonTransporterFactory.newInstance(WagonTransporterFactory.java:127)
>  at org.eclipse.aether.internal.impl.DefaultTransporterProvider.newTransporter(DefaultTransporterProvider.java:110)
>  at org.eclipse.aether.connector.basic.BasicRepositoryConnector.<init>(BasicRepositoryConnector.java:115)
>  at org.eclipse.aether.connector.basic.BasicRepositoryConnectorFactory.newInstance(BasicRepositoryConnectorFactory.java:180)
>  at org.eclipse.aether.internal.impl.DefaultRepositoryConnectorProvider.newRepositoryConnector(DefaultRepositoryConnectorProvider.java:113)
>  at org.eclipse.aether.internal.impl.DefaultArtifactResolver.performDownloads(DefaultArtifactResolver.java:516)
>  at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:421)
>  at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:246)
>  at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:223)
>  at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.loadPom(DefaultArtifactDescriptorReader.java:267)
>  at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.readArtifactDescriptor(DefaultArtifactDescriptorReader.java:198)
>  at org.eclipse.aether.internal.impl.DefaultDependencyCollector.collectDependencies(DefaultDependencyCollector.java:202)
>  at org.eclipse.aether.internal.impl.DefaultRepositorySystem.collectDependencies(DefaultRepositorySystem.java:316)
>  at org.apache.maven.plugin.internal.DefaultPluginDependenciesResolver.resolveInternal(DefaultPluginDependenciesResolver.java:202)
>  at org.apache.maven.plugin.internal.DefaultPluginDependenciesResolver.resolve(DefaultPluginDependenciesResolver.java:149)
>  at org.apache.maven.plugin.internal.DefaultMavenPluginManager.resolveExtensionArtifacts(DefaultMavenPluginManager.java:908)
>  at org.apache.maven.plugin.internal.DefaultMavenPluginManager.setupExtensionsRealm(DefaultMavenPluginManager.java:839)
>  at org.apache.maven.project.DefaultProjectBuildingHelper.createProjectRealm(DefaultProjectBuildingHelper.java:196)
>  at org.apache.maven.project.DefaultModelBuildingListener.buildExtensionsAssembled(DefaultModelBuildingListener.java:99)
>  at org.apache.maven.model.building.ModelBuildingEventCatapult$1.fire(ModelBuildingEventCatapult.java:44)
>  at org.apache.maven.model.building.DefaultModelBuilder.fireEvent(DefaultModelBuilder.java:1295)
>  at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:441)
>  at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:421)
>  at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:620)
>  at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:411)
>  at org.apache.maven.graph.DefaultGraphBuilder.collectProjects(DefaultGraphBuilder.java:419)
>  at org.apache.maven.graph.DefaultGraphBuilder.getProjectsForMavenReactor(DefaultGraphBuilder.java:410)
>  at org.apache.maven.graph.DefaultGraphBuilder.build(DefaultGraphBuilder.java:83)
>  at org.apache.maven.DefaultMaven.buildGraph(DefaultMaven.java:491)
>  at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:219)
>  at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
>  at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
>  at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
>  at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
>  at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  at java.lang.reflect.Method.invoke(Method.java:498)
>  at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
>  at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
>  at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
>  at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
> Caused by: java.util.NoSuchElementException
>  at org.eclipse.sisu.plexus.RealmFilteredBeans$FilteredItr.next(RealmFilteredBeans.java:118)
>  at org.eclipse.sisu.plexus.RealmFilteredBeans$FilteredItr.next(RealmFilteredBeans.java:1)
>  at org.eclipse.sisu.plexus.DefaultPlexusBeans$Itr.next(DefaultPlexusBeans.java:76)
>  at org.eclipse.sisu.plexus.DefaultPlexusBeans$Itr.next(DefaultPlexusBeans.java:1)
>  at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:263)
>  ... 47 more
> [DEBUG] Writing tracking file f:\jenkins\jenkins-slave\workspace\maven-jenkinsfile\mng-3599@6\test\it-local-repo\org\apache\maven\wagon\wagon-webdav-jackrabbit\2.10\wagon-webdav-jackrabbit-2.10.pom.lastUpdated
> [DEBUG] Looking up lifecyle mappings for packaging jar from ClassRealm[plexus.core, parent:
null]
> [ERROR] [ERROR] Some problems were encountered while processing the POMs:
> [ERROR] Unresolveable build extension: Plugin org.apache.maven.wagon:wagon-webdav-jackrabbit:2.10
or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.wagon:wagon-webdav-jackrabbit:jar:2.10
@ 
>  @ 
> [ERROR] The build could not read 1 project -> [Help 1]
> org.apache.maven.project.ProjectBuildingException: Some problems were encountered while
processing the POMs:
> [ERROR] Unresolveable build extension: Plugin org.apache.maven.wagon:wagon-webdav-jackrabbit:2.10
or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.wagon:wagon-webdav-jackrabbit:jar:2.10
@ 
>  at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:422)
>  at org.apache.maven.graph.DefaultGraphBuilder.collectProjects(DefaultGraphBuilder.java:419)
>  at org.apache.maven.graph.DefaultGraphBuilder.getProjectsForMavenReactor(DefaultGraphBuilder.java:410)
>  at org.apache.maven.graph.DefaultGraphBuilder.build(DefaultGraphBuilder.java:83)
>  at org.apache.maven.DefaultMaven.buildGraph(DefaultMaven.java:491)
>  at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:219)
>  at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
>  at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
>  at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
>  at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
>  at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  at java.lang.reflect.Method.invoke(Method.java:498)
>  at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
>  at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
>  at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
>  at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
> [ERROR]   
> [ERROR]   The project org.apache.maven.its.mng3599:test:1.0-SNAPSHOT (F:\jenkins\jenkins-slave\workspace\maven-jenkinsfile\mng-3599@6\test\core-it-suite\target\test-classes\mng-3599-mk2\pom.xml)
has 1 error
> [ERROR]     Unresolveable build extension: Plugin org.apache.maven.wagon:wagon-webdav-jackrabbit:2.10
or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.wagon:wagon-webdav-jackrabbit:jar:2.10:
Could not transfer artifact org.apache.maven.wagon:wagon-webdav-jackrabbit:pom:2.10 from/to
test-mirror (dav://www.example.com/): Cannot access dav://www.example.com/ with type default
using the available connector factories: BasicRepositoryConnectorFactory: Cannot access dav://www.example.com/
using the registered transporter factories: WagonTransporterFactory: java.util.NoSuchElementException
> [ERROR]     role: org.apache.maven.wagon.Wagon
> [ERROR]     roleHint: dav
> [ERROR]     -> [Help 2]
> org.apache.maven.plugin.PluginManagerException: Plugin org.apache.maven.wagon:wagon-webdav-jackrabbit:2.10
or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.wagon:wagon-webdav-jackrabbit:jar:2.10
>  at org.apache.maven.plugin.internal.DefaultMavenPluginManager.setupExtensionsRealm(DefaultMavenPluginManager.java:846)
>  at org.apache.maven.project.DefaultProjectBuildingHelper.createProjectRealm(DefaultProjectBuildingHelper.java:196)
>  at org.apache.maven.project.DefaultModelBuildingListener.buildExtensionsAssembled(DefaultModelBuildingListener.java:99)
>  at org.apache.maven.model.building.ModelBuildingEventCatapult$1.fire(ModelBuildingEventCatapult.java:44)
>  at org.apache.maven.model.building.DefaultModelBuilder.fireEvent(DefaultModelBuilder.java:1295)
>  at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:441)
>  at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:421)
>  at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:620)
>  at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:411)
>  at org.apache.maven.graph.DefaultGraphBuilder.collectProjects(DefaultGraphBuilder.java:419)
>  at org.apache.maven.graph.DefaultGraphBuilder.getProjectsForMavenReactor(DefaultGraphBuilder.java:410)
>  at org.apache.maven.graph.DefaultGraphBuilder.build(DefaultGraphBuilder.java:83)
>  at org.apache.maven.DefaultMaven.buildGraph(DefaultMaven.java:491)
>  at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:219)
>  at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
>  at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
>  at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
>  at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
>  at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  at java.lang.reflect.Method.invoke(Method.java:498)
>  at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
>  at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
>  at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
>  at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
> Caused by: org.apache.maven.plugin.PluginResolutionException: Plugin org.apache.maven.wagon:wagon-webdav-jackrabbit:2.10
or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.wagon:wagon-webdav-jackrabbit:jar:2.10
>  at org.apache.maven.plugin.internal.DefaultPluginDependenciesResolver.resolveInternal(DefaultPluginDependenciesResolver.java:214)
>  at org.apache.maven.plugin.internal.DefaultPluginDependenciesResolver.resolve(DefaultPluginDependenciesResolver.java:149)
>  at org.apache.maven.plugin.internal.DefaultMavenPluginManager.resolveExtensionArtifacts(DefaultMavenPluginManager.java:908)
>  at org.apache.maven.plugin.internal.DefaultMavenPluginManager.setupExtensionsRealm(DefaultMavenPluginManager.java:839)
>  ... 26 more
> Caused by: org.eclipse.aether.collection.DependencyCollectionException: Failed to read
artifact descriptor for org.apache.maven.wagon:wagon-webdav-jackrabbit:jar:2.10
>  at org.eclipse.aether.internal.impl.DefaultDependencyCollector.collectDependencies(DefaultDependencyCollector.java:208)
>  at org.eclipse.aether.internal.impl.DefaultRepositorySystem.collectDependencies(DefaultRepositorySystem.java:316)
>  at org.apache.maven.plugin.internal.DefaultPluginDependenciesResolver.resolveInternal(DefaultPluginDependenciesResolver.java:202)
>  ... 29 more
> Caused by: org.eclipse.aether.resolution.ArtifactDescriptorException: Failed to read
artifact descriptor for org.apache.maven.wagon:wagon-webdav-jackrabbit:jar:2.10
>  at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.loadPom(DefaultArtifactDescriptorReader.java:282)
>  at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.readArtifactDescriptor(DefaultArtifactDescriptorReader.java:198)
>  at org.eclipse.aether.internal.impl.DefaultDependencyCollector.collectDependencies(DefaultDependencyCollector.java:202)
>  ... 31 more
> Caused by: org.eclipse.aether.resolution.ArtifactResolutionException: Could not transfer
artifact org.apache.maven.wagon:wagon-webdav-jackrabbit:pom:2.10 from/to test-mirror (dav://www.example.com/):
Cannot access dav://www.example.com/ with type default using the available connector factories:
BasicRepositoryConnectorFactory
>  at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:444)
>  at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:246)
>  at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:223)
>  at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.loadPom(DefaultArtifactDescriptorReader.java:267)
>  ... 33 more
> Caused by: org.eclipse.aether.transfer.ArtifactTransferException: Could not transfer
artifact org.apache.maven.wagon:wagon-webdav-jackrabbit:pom:2.10 from/to test-mirror (dav://www.example.com/):
Cannot access dav://www.example.com/ with type default using the available connector factories:
BasicRepositoryConnectorFactory
>  at org.eclipse.aether.internal.impl.DefaultArtifactResolver.performDownloads(DefaultArtifactResolver.java:531)
>  at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:421)
>  ... 36 more
> Caused by: org.eclipse.aether.transfer.NoRepositoryConnectorException: Cannot access
dav://www.example.com/ with type default using the available connector factories: BasicRepositoryConnectorFactory
>  at org.eclipse.aether.internal.impl.DefaultRepositoryConnectorProvider.newRepositoryConnector(DefaultRepositoryConnectorProvider.java:174)
>  at org.eclipse.aether.internal.impl.DefaultArtifactResolver.performDownloads(DefaultArtifactResolver.java:516)
>  ... 37 more
> Caused by: org.eclipse.aether.transfer.NoRepositoryConnectorException: Cannot access
dav://www.example.com/ using the registered transporter factories: WagonTransporterFactory
>  at org.eclipse.aether.connector.basic.BasicRepositoryConnector.<init>(BasicRepositoryConnector.java:119)
>  at org.eclipse.aether.connector.basic.BasicRepositoryConnectorFactory.newInstance(BasicRepositoryConnectorFactory.java:180)
>  at org.eclipse.aether.internal.impl.DefaultRepositoryConnectorProvider.newRepositoryConnector(DefaultRepositoryConnectorProvider.java:113)
>  ... 38 more
> Caused by: org.eclipse.aether.transfer.NoTransporterException: Cannot access dav://www.example.com/
using the registered transporter factories: WagonTransporterFactory
>  at org.eclipse.aether.internal.impl.DefaultTransporterProvider.newTransporter(DefaultTransporterProvider.java:151)
>  at org.eclipse.aether.connector.basic.BasicRepositoryConnector.<init>(BasicRepositoryConnector.java:115)
>  ... 40 more
> Caused by: org.eclipse.aether.transfer.NoTransporterException: java.util.NoSuchElementException
>       role: org.apache.maven.wagon.Wagon
>   roleHint: dav
>  at org.eclipse.aether.transport.wagon.WagonTransporter.<init>(WagonTransporter.java:120)
>  at org.eclipse.aether.transport.wagon.WagonTransporterFactory.newInstance(WagonTransporterFactory.java:127)
>  at org.eclipse.aether.internal.impl.DefaultTransporterProvider.newTransporter(DefaultTransporterProvider.java:110)
>  ... 41 more
> Caused by: org.codehaus.plexus.component.repository.exception.ComponentLookupException:
java.util.NoSuchElementException
>       role: org.apache.maven.wagon.Wagon
>   roleHint: dav
>  at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:267)
>  at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:255)
>  at org.eclipse.aether.internal.transport.wagon.PlexusWagonProvider.lookup(PlexusWagonProvider.java:58)
>  at org.eclipse.aether.transport.wagon.WagonTransporter.lookupWagon(WagonTransporter.java:271)
>  at org.eclipse.aether.transport.wagon.WagonTransporter.<init>(WagonTransporter.java:115)
>  ... 43 more
> Caused by: java.util.NoSuchElementException
>  at org.eclipse.sisu.plexus.RealmFilteredBeans$FilteredItr.next(RealmFilteredBeans.java:118)
>  at org.eclipse.sisu.plexus.RealmFilteredBeans$FilteredItr.next(RealmFilteredBeans.java:1)
>  at org.eclipse.sisu.plexus.DefaultPlexusBeans$Itr.next(DefaultPlexusBeans.java:76)
>  at org.eclipse.sisu.plexus.DefaultPlexusBeans$Itr.next(DefaultPlexusBeans.java:1)
>  at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:263)
>  ... 47 more
> [ERROR] 
> [ERROR] 
> [ERROR] For more information about the errors and possible solutions, please read the
following articles:
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
> [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/PluginManagerException
> {code}
> So finally we added {{--legacy-local-repository}} to the CLI options and that seemed
to get the test passing again.
> This issue is to get a correct diagnosis of why the test is failing randomly and find
a proper fix for {{MavenITmng3599useHttpProxyForWebDAVMk2Test}}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message