You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Piotr Zygielo (Jira)" <ji...@apache.org> on 2021/09/30 19:56:00 UTC
[jira] [Commented] (MSHARED-997) Failed / error test
DefaultProjectDependencyAnalyzerTest in maven-dependency-analyzer
[ https://issues.apache.org/jira/browse/MSHARED-997?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17422992#comment-17422992 ]
Piotr Zygielo commented on MSHARED-997:
---------------------------------------
15150191f9309abfe06bff82680313c903532506 is the first bad commit
{quote}but (on Jenkins) failed tests aren't reported.
{quote}
maybe due to {{-Dmaven.test.failure.ignore=true}} which works fine...
> Failed / error test DefaultProjectDependencyAnalyzerTest in maven-dependency-analyzer
> -------------------------------------------------------------------------------------
>
> Key: MSHARED-997
> URL: https://issues.apache.org/jira/browse/MSHARED-997
> Project: Maven Shared Components
> Issue Type: Bug
> Components: maven-dependency-analyzer
> Reporter: Slawomir Jaranowski
> Priority: Critical
>
> There is no possibility to build project by:
> {code:java}
> mvn clean verify
> {code}
> Tested last commit: {{b6adba0bcda5036a9bc59e23be2976672b729198}}
> Maven and java versin:
> {code:java}
> Apache Maven 3.8.2 (ea98e05a04480131370aa0c110b8c54cf726c06f)
> Maven home: /usr/local/Cellar/maven/3.8.2/libexec
> Java version: 1.8.0_302, vendor: Homebrew, runtime: /usr/local/Cellar/openjdk@8/1.8.0+302/libexec/openjdk.jdk/Contents/Home/jre
> {code}
> I have many logs like:
> {code:java}
> 37) No implementation for java.util.Set<org.eclipse.aether.spi.localrepo.LocalRepositoryManagerFactory> was bound.
> while locating java.util.Set<org.eclipse.aether.spi.localrepo.LocalRepositoryManagerFactory>
> for parameter 0 at org.eclipse.aether.internal.impl.DefaultLocalRepositoryProvider.<init>(Unknown Source)
> while locating org.eclipse.aether.internal.impl.DefaultLocalRepositoryProvider
> at ClassRealm[plexus.core, parent: null]
> at ClassRealm[plexus.core, parent: null]
> while locating org.eclipse.aether.impl.LocalRepositoryProvider
> for parameter 8 at org.eclipse.aether.internal.impl.DefaultRepositorySystem.<init>(Unknown Source)
> while locating org.eclipse.aether.internal.impl.DefaultRepositorySystem
> at ClassRealm[plexus.core, parent: null]
> at ClassRealm[plexus.core, parent: null]
> while locating org.eclipse.aether.RepositorySystem
> while locating org.apache.maven.artifact.resolver.DefaultArtifactResolver
> at ClassRealm[plexus.core, parent: null]
> at ClassRealm[plexus.core, parent: null]
> {code}
> and test result:
> {code:java}
> INFO] Results:
> [INFO]
> [ERROR] Errors:
> [ERROR] DefaultProjectDependencyAnalyzerTest.setUp:81->PlexusTestCase.lookup:199 » ComponentLookup
> [ERROR] DefaultProjectDependencyAnalyzerTest.setUp:81->PlexusTestCase.lookup:199 » ComponentLookup
> [ERROR] DefaultProjectDependencyAnalyzerTest.setUp:81->PlexusTestCase.lookup:199 » ComponentLookup
> [ERROR] DefaultProjectDependencyAnalyzerTest.setUp:81->PlexusTestCase.lookup:199 » ComponentLookup
> [ERROR] DefaultProjectDependencyAnalyzerTest.setUp:81->PlexusTestCase.lookup:199 » ComponentLookup
> [ERROR] DefaultProjectDependencyAnalyzerTest.setUp:81->PlexusTestCase.lookup:199 » ComponentLookup
> [ERROR] DefaultProjectDependencyAnalyzerTest.setUp:81->PlexusTestCase.lookup:199 » ComponentLookup
> [ERROR] DefaultProjectDependencyAnalyzerTest.setUp:81->PlexusTestCase.lookup:199 » ComponentLookup
> [ERROR] DefaultProjectDependencyAnalyzerTest.setUp:81->PlexusTestCase.lookup:199 » ComponentLookup
> [ERROR] DefaultProjectDependencyAnalyzerTest.setUp:81->PlexusTestCase.lookup:199 » ComponentLookup
> [ERROR] DefaultProjectDependencyAnalyzerTest.setUp:81->PlexusTestCase.lookup:199 » ComponentLookup
> [ERROR] DefaultProjectDependencyAnalyzerTest.setUp:81->PlexusTestCase.lookup:199 » ComponentLookup
> [ERROR] DefaultProjectDependencyAnalyzerTest.setUp:81->PlexusTestCase.lookup:199 » ComponentLookup
> [ERROR] DefaultProjectDependencyAnalyzerTest.setUp:81->PlexusTestCase.lookup:199 » ComponentLookup
> [ERROR] DefaultProjectDependencyAnalyzerTest.setUp:81->PlexusTestCase.lookup:199 » ComponentLookup
> [INFO]
> [ERROR] Tests run: 101, Failures: 0, Errors: 15, Skipped: 0
> {code}
> h3. Build on Apache Jenkins
> There is also strange behavior that {{jenkins}} build also has similar errors - but failed tests aren't reported.
> [https://ci-maven.apache.org/job/Maven/job/maven-box/job/maven-dependency-analyzer/job/master/]
> h3. Build on GitHub
> There is also the same problem on GitHub:
> https://github.com/apache/maven-dependency-analyzer/actions
--
This message was sent by Atlassian Jira
(v8.3.4#803005)