Build unstable in Jenkins: Maven » Maven TLP » maven » master #88

2022-09-16 Thread Apache Jenkins Server
See https://ci-maven.apache.org/job/Maven/job/maven-box/job/maven/job/master/88/

Changes:

* [MNG-7098] Keep the project counter intact when resuming a multi-module 
project.
* Add org.apache.maven.plugins:maven-plugin-plugin:3.2 to bootstrap
* [MNG-7310] Add a test for MNG-7310 which installs an extension and then 
builds a multimodule project where one submodule activates the extension, and a 
submodule which should not activate the extension.

6 tests failed.
FAILED:  
org.apache.maven.it.MavenITmng7310LifecycleActivatedInSpecifiedModuleTest.linux-jdk17
 / Run ITs Linux Java 17 / testItShouldNotLoadAnExtensionInASiblingSubmodule

Error Message:
Exit code was non-zero: 1; command line and log = 
/home/jenkins/jenkins-home/workspace/Maven_maven-box_maven_master/test/core-it-suite/target/apache-maven/bin/mvn
 --global-settings 
/home/jenkins/jenkins-home/workspace/Maven_maven-box_maven_master/test/core-it-suite/target/test-classes/settings.xml
 -e --batch-mode 
-Dmaven.repo.local=/home/jenkins/jenkins-home/workspace/Maven_maven-box_maven_master/test/it-local-repo
 compile
[INFO] [jenkins-event-spy] Jenkins Maven Event Spy is disabled
[INFO] Error stacktraces are turned on.
[INFO] Scanning for projects...
[ERROR] Some problems were encountered while processing the POMs
[ERROR] The build could not read 1 project -> [Help 1]
org.apache.maven.project.ProjectBuildingException: Some problems were 
encountered while processing the POMs
at org.apache.maven.project.DefaultProjectBuilder.build 
(DefaultProjectBuilder.java:418)
at 
org.apache.maven.project.collector.DefaultProjectsSelector.selectProjects 
(DefaultProjectsSelector.java:65)
at 
org.apache.maven.project.collector.MultiModuleCollectionStrategy.collectProjects
 (MultiModuleCollectionStrategy.java:71)
at org.apache.maven.graph.DefaultGraphBuilder.getProjectsForMavenReactor 
(DefaultGraphBuilder.java:382)
at org.apache.maven.graph.DefaultGraphBuilder.build 
(DefaultGraphBuilder.java:98)
at org.apache.maven.DefaultMaven.buildGraph (DefaultMaven.java:725)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:259)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:237)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:150)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:1004)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:307)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:261)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke 
(NativeMethodAccessorImpl.java:77)
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke 
(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:568)
at org.apache.maven.it.Embedded3xLauncher.run (Embedded3xLauncher.java:218)
at org.apache.maven.it.Verifier.executeGoals (Verifier.java:1466)
at org.apache.maven.it.Verifier.executeGoal (Verifier.java:1368)
at org.apache.maven.it.Verifier.executeGoal (Verifier.java:1362)
at 
org.apache.maven.it.MavenITmng7310LifecycleActivatedInSpecifiedModuleTest.testItShouldNotLoadAnExtensionInASiblingSubmodule
 (MavenITmng7310LifecycleActivatedInSpecifiedModuleTest.java:56)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke 
(NativeMethodAccessorImpl.java:77)
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke 
(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:568)
at junit.framework.TestCase.runTest (TestCase.java:176)
at org.apache.maven.it.AbstractMavenIntegrationTestCase.runTest 
(AbstractMavenIntegrationTestCase.java:260)
at junit.framework.TestCase.runBare (TestCase.java:141)
at junit.framework.TestResult$1.protect (TestResult.java:122)
at junit.framework.TestResult.runProtected (TestResult.java:142)
at junit.framework.TestResult.run (TestResult.java:125)
at junit.framework.TestCase.run (TestCase.java:129)
at junit.framework.TestSuite.runTest (TestSuite.java:252)
at junit.framework.TestSuite.run (TestSuite.java:247)
at junit.framework.TestSuite.runTest (TestSuite.java:252)
at junit.framework.TestSuite.run (TestSuite.java:247)
at org.junit.internal.runners.JUnit38ClassRunner.run 
(JUnit38ClassRunner.java:86)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute 
(JUnit4Provider.java:365)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun 
(JUnit4Provider.java:273)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet 
(JUnit4Provider.java:238)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke 
(JUnit4Provider.java:159)
at 
org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader 
(ForkedBooter.java:383)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess 

Build unstable in Jenkins: Maven » Maven TLP » maven » master #88

2021-01-05 Thread Apache Jenkins Server
See 
https://ci-builds.apache.org/job/Maven/job/maven-box/job/maven/job/master/88/

Changes:

* Apply consistent log argument quoting for sigle- and multi-valued args
* Use consistent static final loggers
* Test for consistent logging

2 tests failed.
FAILED:  
org.apache.maven.it.MavenITmng6972AllowAccessToGraphPackageTest.windows-jdk11 / 
Run ITs Windows Java 11 / testit

Error Message:
Exit code was non-zero: 1; command line and log = 
C:\mvn-it-0.tmp\core-it-suite\target\apache-maven\bin\mvn --global-settings 
C:\mvn-it-0.tmp\core-it-suite\target\test-classes\settings.xml -e --batch-mode 
-Dmaven.repo.local=c:\mvn-it-0.tmp\it-local-repo install
[INFO] [jenkins-event-spy] Jenkins Maven Event Spy is disabled
[INFO] Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] Maven detected that the requested POM file is part of a multi module 
project, but could not find a pom.xml file in the multi module root directory 
'C:\mvn-it-0.tmp\core-it-suite\target\test-classes\mng-6972-allow-access-to-graph-package'.
[INFO] The reactor is limited to all projects under: 
C:\mvn-it-0.tmp\core-it-suite\target\test-classes\mng-6972-allow-access-to-graph-package\build-plugin
[INFO] 
[INFO] < mng-6972-allow-access-to-graph-package:build-plugin >-
[INFO] Building build-plugin 1.0
[INFO] [ jar ]-
[WARNING] Version not locked for default bindings plugins 
[maven-resources-plugin, maven-compiler-plugin, maven-surefire-plugin, 
maven-jar-plugin, maven-install-plugin], you should define versions in 
pluginManagement section of your pom.xml or parent
[INFO] 
[INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ 
build-plugin ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Using 'UTF-8' encoding to copy filtered properties files.
[INFO] skip non existing resourceDirectory 
C:\mvn-it-0.tmp\core-it-suite\target\test-classes\mng-6972-allow-access-to-graph-package\build-plugin\src\main\resources
[INFO] skip non existing resourceDirectory 
C:\mvn-it-0.tmp\core-it-suite\target\test-classes\mng-6972-allow-access-to-graph-package\build-plugin\src\main\resources-filtered
[INFO] 
[INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ build-plugin 
---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 1 source file to 
C:\mvn-it-0.tmp\core-it-suite\target\test-classes\mng-6972-allow-access-to-graph-package\build-plugin\target\classes
[INFO] -
[ERROR] COMPILATION ERROR : 
[INFO] -
[ERROR] 
/C:/mvn-it-0.tmp/core-it-suite/target/test-classes/mng-6972-allow-access-to-graph-package/build-plugin/src/main/java/com/example/BuildExtensionUsingGraphPackage.java:[4,17]
 cannot find symbol
  symbol:   class Objects
  location: package java.util
[INFO] 1 error
[INFO] -
[INFO] 
[INFO] BUILD FAILURE
[INFO] 
[INFO] Total time:  1.017 s
[INFO] Finished at: 2021-01-05T11:20:04-08:00
[INFO] 
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) 
on project build-plugin: Compilation failure
[ERROR] 
/C:/mvn-it-0.tmp/core-it-suite/target/test-classes/mng-6972-allow-access-to-graph-package/build-plugin/src/main/java/com/example/BuildExtensionUsingGraphPackage.java:[4,17]
 cannot find symbol
[ERROR]   symbol:   class Objects
[ERROR]   location: package java.util
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal 
org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) 
on project build-plugin: Compilation failure
/C:/mvn-it-0.tmp/core-it-suite/target/test-classes/mng-6972-allow-access-to-graph-package/build-plugin/src/main/java/com/example/BuildExtensionUsingGraphPackage.java:[4,17]
 cannot find symbol
  symbol:   class Objects
  location: package java.util

at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
(MojoExecutor.java:218)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
(MojoExecutor.java:159)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
(MojoExecutor.java:151)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject 
(LifecycleModuleBuilder.java:115)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject 
(LifecycleModuleBuilder.java:79)
at 
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build
 (SingleThreadedBuilder.java:64)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute 
(LifecycleStarter.java:131)
at