You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@maven.apache.org by Apache Jenkins Server <je...@builds.apache.org> on 2017/05/10 09:49:42 UTC

Build failed in Jenkins: core-it-maven-3-win #1647

See <https://builds.apache.org/job/core-it-maven-3-win/1647/display/redirect?page=changes>

Changes:

[Michael Osipov] [MNG-5935] Optional true getting lost in managed dependencies when

------------------------------------------
[...truncated 1.33 MB...]
mng1021EqualAttachmentBuildNumber(itMNG1021)................OK (4.4 s)
mng0985NonExecutedPluginMngtGoals(itMNG0985)................OK (3.6 s)
mng0956ComponentInjectionViaProjectLevelPluginDep(itMNG0956)OK (4.2 s)
mng0947OptionalDependency(it)...............................OK (4.4 s)
mng0870ReactorAwarePluginDiscovery(itMNG0870)...............OK (4.2 s)
mng0866EvaluateDefaultValue(itMNG866).......................OK (4.0 s)
mng0848SystemPropOverridesDefaultValue(itMNG848)............OK (4.1 s)
mng0836PluginParentResolution(itMNG836).....................OK (3.9 s)
mng0823MojoContextPassing(itMNG0823)........................OK (4.1 s)
mng0820ConflictResolution(itMNG0820)........................OK (4.5 s)
mng0818WarDepsNotTransitive(itMNG0818)......................OK (4.3 s)
mng0814ExplicitProfileActivation(itMNG814)..................OK (4.1 s)
mng0786ProfileAwareReactor(itMNG0786).......................OK (4.2 s)
mng0781PluginConfigVsExecConfig(itMNG0781)..................OK (4.1 s)
mng0773SettingsProfileReactorPollution(itMNG773)............OK (3.6 s)
mng0768OfflineMode(itMNG768)................................OK (13.0 s)
mng0761MissingSnapshotDistRepo(itMNG761)....................OK (4.2 s)
mng0731LegacyRepoLayout(itMNG731)...........................SKIPPED - Maven version 3.5.1-SNAPSHOT not in range [2.0,3.0-alpha-3)
mng0680ParentBasedir(itMNG680)..............................OK (4.0 s)
mng0674PluginParameterAlias(itLifecycle)....................OK (4.0 s)
mng0674PluginParameterAlias(itCli)..........................OK (4.1 s)
mng0666IgnoreLegacyPom(itMNG666)............................OK (4.5 s)
mng0557UserSettingsCliOption(itMNG557)......................OK (4.2 s)
mng0553SettingsAuthzEncryption(itBasic).....................OK (5.6 s)
mng0553SettingsAuthzEncryption(itEncryption)................OK (7.7 s)
mng0553SettingsAuthzEncryption(itRelocation)................OK (5.3 s)
mng0522InheritedPluginMgmtConfig(itMNG522)..................OK (4.2 s)
mng0507ArtifactRelocation(itMNG507).........................OK (5.6 s)
mng0505VersionRange(itMNG505)...............................OK (4.7 s)
mng0496IgnoreUnknownPluginParameters(itMNG496)..............OK (4.0 s)
mng0479OverrideCentralRepo(itResolution)....................OK (15.9 s)
mng0479OverrideCentralRepo(itModel).........................OK (8.2 s)
mng0471CustomLifecycle(itMNG471)............................OK (4.1 s)
mng0469ReportConfig(itBuildConfigIrrelevantForReports)......OK (4.1 s)
mng0469ReportConfig(itBuildConfigDominantDuringBuild).......OK (4.2 s)
mng0469ReportConfig(itReportConfigOverridesBuildDefaults)...SKIPPED - Maven version 3.5.1-SNAPSHOT not in range [2.0.0,3.0-alpha-1)
mng0461TolerateMissingDependencyPom(it).....................OK (4.3 s)
mng0449PluginVersionResolution(itCliInvocation).............OK (4.2 s)
mng0449PluginVersionResolution(itLifecycleInvocation).......OK (4.2 s)
mng0377PluginLookupFromPrefix(itMNG377).....................OK (4.7 s)
mng0294MergeGlobalAndUserSettings(itMNG294).................OK (4.2 s)
mng0282NonReactorExecWhenProjectIndependent(itMNG282).......OK (3.9 s)
mng0249ResolveDepsFromReactor(itMNG0249)....................OK (4.2 s)
mng0187CollectedProjects(it)................................OK (4.0 s)
mng0095ReactorFailureBehavior(itFailNever)..................OK (4.6 s)
mng0095ReactorFailureBehavior(itFailAtEnd)..................OK (4.5 s)
mng0095ReactorFailureBehavior(itFailFast)...................OK (4.4 s)
0145ReactorWithIncludesExcludes(itDefaultIncludesExcludes)..SKIPPED - Maven version 3.5.1-SNAPSHOT not in range [2.0,3.0-alpha-1)
0145ReactorWithIncludesExcludes(itCustomExcludes)...........SKIPPED - Maven version 3.5.1-SNAPSHOT not in range [2.0,3.0-alpha-1)
0145ReactorWithIncludesExcludes(itCustomIncludes)...........SKIPPED - Maven version 3.5.1-SNAPSHOT not in range [2.0,3.0-alpha-1)
0144LifecycleExecutionOrder(it0144).........................OK (4.8 s)
0143TransitiveDependencyScopes(itCompileScope)..............OK (4.7 s)
0143TransitiveDependencyScopes(itProvidedScope).............OK (5.2 s)
0143TransitiveDependencyScopes(itRuntimeScope)..............OK (4.4 s)
0143TransitiveDependencyScopes(itTestScope).................OK (4.5 s)
0142DirectDependencyScopes(it0142)..........................OK (4.6 s)
0140InterpolationWithPomPrefix(it0140)......................OK (4.2 s)
0139InterpolationWithProjectPrefix(it0139)..................OK (4.1 s)
0138PluginLifecycle(it0138).................................OK (4.6 s)
0137EarLifecycle(it0137)....................................OK (4.5 s)
0136RarLifecycle(it0136)....................................OK (4.6 s)
0135EjbLifecycle(it0135)....................................OK (4.6 s)
0134WarLifecycle(it0134)....................................OK (4.5 s)
0133JarLifecycle(it0133)....................................OK (4.6 s)
0132PomLifecycle(it0132)....................................OK (4.3 s)
0131SiteLifecycle(it0131)...................................OK (4.1 s)
0130CleanLifecycle(it0130)..................................OK (4.2 s)
0113ServerAuthzAvailableToWagonMgrInPlugin(it0113)..........OK (4.6 s)
0090EnvVarInterpolation(it0090).............................OK (4.2 s)
0087PluginRealmWithProjectLevelDeps(it0087).................OK (4.3 s)
0086PluginRealm(it0086).....................................OK (4.4 s)
0085TransitiveSystemScope(it0085)...........................OK (4.5 s)
0072InterpolationWithDottedProperty(it0072).................OK (4.2 s)
0071PluginConfigWithDottedProperty(it0071)..................OK (4.3 s)
0064MojoConfigViaSetters(it0064)............................OK (4.1 s)
0063SystemScopeDependency(it0063)...........................OK (4.6 s)
0056MultipleGoalExecutions(it0056)..........................OK (4.2 s)
0052ReleaseProfile(it0052)..................................OK (4.4 s)
0051ReleaseProfile(it0051)..................................OK (4.5 s)
0041ArtifactTypeFromPluginExtension(it0041).................OK (5.3 s)
0040PackagingFromPluginExtension(it0040)....................OK (4.2 s)
0039ReleasePomInReactor(it0039).............................SKIPPED - Maven version 3.5.1-SNAPSHOT not in range [2.0,3.0-alpha-1)
0038AlternatePomFileDifferentDir(it0038)....................OK (4.1 s)
0037AlternatePomFileSameDir(it0037).........................OK (4.1 s)
0036ReleasePom(it0036)......................................SKIPPED - Maven version 3.5.1-SNAPSHOT not in range (2.0,3.0-alpha-1)
0032MavenPrerequisite(it0032)...............................OK (3.8 s)
0030DepPomDepMngtInheritance(it0030)........................OK (7.7 s)
0025MultipleExecutionLevelConfigs(it0025)...................OK (4.2 s)
0024MultipleGoalExecutions(it0024)..........................OK (4.1 s)
0023SettingsProfile(it0023).................................OK (4.3 s)
0021PomProfile(it0021)......................................OK (4.4 s)
0019PluginVersionMngtBySuperPom(it0019).....................OK (4.5 s)
0018DependencyManagement(it0018)............................OK (4.4 s)
0012PomInterpolation(it0012)................................OK (4.4 s)
0011DefaultVersionByDependencyManagement(it0011)............OK (4.4 s)
0010DependencyClosureResolution(it0010).....................OK (4.5 s)
0009GoalConfiguration(it0009)...............................OK (4.2 s)
0008SimplePlugin(it0008)....................................OK (4.5 s)
mng6209MultipleBuildExtensions(BuildExtensionClassloader)...OK (20.8 s)
mng6210CoreExtensionsCustomScopes(CoreExtensionCustomScopes)OK (4.8 s)
Tests run: 801, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 4,181.239 sec <<< FAILURE! - in org.apache.maven.it.IntegrationTestSuite
testitMNG5935(org.apache.maven.it.MavenITmng5935OptionalLostInTranstiveManagedDependenciesTest)  Time elapsed: 6.007 sec  <<< FAILURE!
junit.framework.ComparisonFailure: null expected:<...guava:guava:jar:17.0[ (optional)]> but was:<...guava:guava:jar:17.0[]>
	at junit.framework.Assert.assertEquals(Assert.java:81)
	at junit.framework.Assert.assertEquals(Assert.java:87)
	at org.apache.maven.it.MavenITmng5935OptionalLostInTranstiveManagedDependenciesTest.testitMNG5935(MavenITmng5935OptionalLostInTranstiveManagedDependenciesTest.java:55)


Results :

Failed tests: 
  MavenITmng5935OptionalLostInTranstiveManagedDependenciesTest>AbstractMavenIntegrationTestCase.runTest:222->testitMNG5935:55 null expected:<...guava:guava:jar:17.0[ (optional)]> but was:<...guava:guava:jar:17.0[]>

Tests run: 801, Failures: 1, Errors: 0, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Maven Core ITs ..................................... SUCCESS [ 15.078 s]
[INFO] Maven IT Support ................................... SUCCESS [  1.444 s]
[INFO] Maven IT :: Plugins ................................ SUCCESS [  1.326 s]
[INFO] Maven IT Plugin :: Active Collection ............... SUCCESS [  5.386 s]
[INFO] Maven IT Plugin :: Ant-Based ....................... SUCCESS [  2.623 s]
[INFO] Maven IT Plugin :: Artifact ........................ SUCCESS [  2.440 s]
[INFO] Maven IT Plugin :: Class Loader :: Dependency A .... SUCCESS [  1.233 s]
[INFO] Maven IT Plugin :: Class Loader :: Dependency B .... SUCCESS [  1.244 s]
[INFO] Maven IT Plugin :: Class Loader :: Dependency C .... SUCCESS [  1.100 s]
[INFO] Maven IT Plugin :: Class Loader .................... SUCCESS [  2.410 s]
[INFO] Maven IT Plugin :: Class Loader :: Aggregator ...... SUCCESS [  1.088 s]
[INFO] Maven IT Plugin :: Configuration ................... SUCCESS [  1.709 s]
[INFO] Maven IT Plugin :: Context Passing ................. SUCCESS [  1.186 s]
[INFO] Maven ITs :: Core Plugin Stubs ..................... SUCCESS [  1.082 s]
[INFO] Maven IT Clean Plugin Stub ......................... SUCCESS [  1.357 s]
[INFO] Maven IT Compiler Plugin Stub ...................... SUCCESS [  1.446 s]
[INFO] Maven IT Deploy Plugin Stub ........................ SUCCESS [  1.351 s]
[INFO] Maven IT EAR Plugin Stub ........................... SUCCESS [  1.396 s]
[INFO] Maven IT EJB Plugin Stub ........................... SUCCESS [  1.318 s]
[INFO] Maven IT Install Plugin Stub ....................... SUCCESS [  1.283 s]
[INFO] Maven IT JAR Plugin Stub ........................... SUCCESS [  1.368 s]
[INFO] Maven IT Javadoc Plugin Stub ....................... SUCCESS [  1.339 s]
[INFO] Maven IT Plugin Plugin Stub ........................ SUCCESS [  1.356 s]
[INFO] Maven IT RAR Plugin Stub ........................... SUCCESS [  1.321 s]
[INFO] Maven IT Resources Plugin Stub ..................... SUCCESS [  1.303 s]
[INFO] Maven IT Site Plugin Stub .......................... SUCCESS [  1.389 s]
[INFO] Maven IT Source Plugin Stub ........................ SUCCESS [  2.223 s]
[INFO] Maven IT Surefire Plugin Stub ...................... SUCCESS [  1.301 s]
[INFO] Maven IT WAR Plugin Stub ........................... SUCCESS [  1.316 s]
[INFO] Maven IT Plugin :: Dependency Collection ........... SUCCESS [  1.342 s]
[INFO] Maven IT Plugin :: Dependency Resolution ........... SUCCESS [  3.635 s]
[INFO] Maven IT Plugin :: Expression ...................... SUCCESS [  1.779 s]
[INFO] Maven IT Plugin :: Error Mojos ..................... SUCCESS [  2.378 s]
[INFO] Maven IT Component ................................. SUCCESS [  1.199 s]
[INFO] Maven IT Plugin :: Extension Consumer .............. SUCCESS [  1.228 s]
[INFO] Maven IT Plugin :: Extension Provider .............. SUCCESS [  1.199 s]
[INFO] Maven IT Plugin :: Fork ............................ SUCCESS [  1.456 s]
[INFO] Maven IT Plugin :: Invalid Descriptor .............. SUCCESS [  1.189 s]
[INFO] Maven IT Plugin :: Log File ........................ SUCCESS [  1.328 s]
[INFO] Maven IT Helper Library ............................ SUCCESS [  2.831 s]
[INFO] Maven IT Plugin :: Model Interpolation ............. SUCCESS [  1.551 s]
[INFO] Maven IT Plugin :: No Default Component ............ SUCCESS [  1.180 s]
[INFO] Maven IT Plugin :: No Project ...................... SUCCESS [  1.222 s]
[INFO] Maven IT Plugin :: Online .......................... SUCCESS [  1.172 s]
[INFO] Maven IT Plugin :: Optional Mojos .................. SUCCESS [  1.212 s]
[INFO] Maven IT Plugin :: Packaging ....................... SUCCESS [  1.195 s]
[INFO] Maven IT Plugin :: Parameter Implementation ........ SUCCESS [  1.188 s]
[INFO] Maven IT Plugin :: Plugin Dependency ............... SUCCESS [  1.287 s]
[INFO] Maven IT Plugin :: Project ......................... SUCCESS [  1.399 s]
[INFO] Maven IT Plugin :: Project Interpolation ........... SUCCESS [  1.528 s]
[INFO] Maven IT Plugin :: Setter .......................... SUCCESS [  1.168 s]
[INFO] Maven IT Plugin :: Singleton Component ............. SUCCESS [  1.238 s]
[INFO] Maven IT Plugin :: Site ............................ SUCCESS [  2.255 s]
[INFO] Maven IT Plugin :: Toolchain ....................... SUCCESS [  2.947 s]
[INFO] Maven IT Plugin :: Touch ........................... SUCCESS [  1.410 s]
[INFO] Maven IT Plugin :: Uses Properties Plugin .......... SUCCESS [  1.164 s]
[INFO] Maven IT Plugin :: Uses Wagon Plugin ............... SUCCESS [  1.929 s]
[INFO] Maven IT Plugin :: This plugin should contain the mojos needed by all tests. SUCCESS [  1.245 s]
[INFO] Maven IT Plugin :: Plexus Utils 1.1 ................ SUCCESS [  1.310 s]
[INFO] Maven IT Plugin :: Plexus Utils New ................ SUCCESS [  1.249 s]
[INFO] Maven IT Plugin :: Plexus Component API ............ SUCCESS [  1.511 s]
[INFO] Maven IT Plugin :: Log4J Client .................... SUCCESS [  1.241 s]
[INFO] Maven IT Plugin :: Extension 1 ..................... SUCCESS [  1.239 s]
[INFO] Maven IT Plugin :: Extension 2 ..................... SUCCESS [  1.239 s]
[INFO] Maven IT Plugin :: Plexus Lifecycle ................ SUCCESS [  1.640 s]
[INFO] Maven IT Plugin :: Settings ........................ SUCCESS [  1.288 s]
[INFO] Maven IT Plugin :: mng-5805 extension .............. SUCCESS [  1.081 s]
[INFO] Maven IT Plugin :: mng-5805 extension mk2 .......... SUCCESS [  1.095 s]
[INFO] Maven IT Plugin :: mng-5805 plugin ................. SUCCESS [  1.378 s]
[INFO] Maven IT Plugin :: mng-5805 plugin-dep ............. SUCCESS [  1.126 s]
[INFO] Maven IT Plugin :: mng-5958 extension .............. SUCCESS [  2.501 s]
[INFO] Maven IT Toolchain ................................. SUCCESS [  1.665 s]
[INFO] Maven IT Wagon ..................................... SUCCESS [  1.770 s]
[INFO] Maven IT Support Artifacts ......................... SUCCESS [  1.613 s]
[INFO] Maven IT Extension ................................. SUCCESS [  1.406 s]
[INFO] Maven ITs .......................................... FAILURE [  01:09 h]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:12 h
[INFO] Finished at: 2017-05-10T09:49:29+00:00
[INFO] Final Memory: 61M/765M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test (default-test) on project core-it-suite: There are test failures.
[ERROR] 
[ERROR] Please refer to F:\ws\m3-its\core-integration-testing-trunk\core-it-suite\target\surefire-reports for the individual test results.
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test (default-test) on project core-it-suite: There are test failures.

Please refer to F:\ws\m3-its\core-integration-testing-trunk\core-it-suite\target\surefire-reports for the individual test results.
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
	at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
	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.MojoFailureException: There are test failures.

Please refer to F:\ws\m3-its\core-integration-testing-trunk\core-it-suite\target\surefire-reports for the individual test results.
	at org.apache.maven.plugin.surefire.SurefireHelper.reportExecution(SurefireHelper.java:82)
	at org.apache.maven.plugin.surefire.SurefirePlugin.handleSummary(SurefirePlugin.java:254)
	at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:854)
	at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:722)
	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
	... 20 more
[ERROR] 
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[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/MojoFailureException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :core-it-suite
Build step 'Invoke top-level Maven targets' marked build as failure
Recording test results

Jenkins build is back to normal : core-it-maven-3-win #1648

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/core-it-maven-3-win/1648/display/redirect?page=changes>