Started by GitHub push by tircis [Pipeline] Start of Pipeline [Pipeline] node Still waiting to schedule task En attente du prochain exécuteur disponible Running on local in /jenkins/work/agent-local/workspace/Reflection pipeline [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Tool Install) [Pipeline] tool [Pipeline] envVarsForTool [Pipeline] tool [Pipeline] envVarsForTool [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Build) [Pipeline] tool [Pipeline] envVarsForTool [Pipeline] tool [Pipeline] envVarsForTool [Pipeline] withEnv [Pipeline] { [Pipeline] git The recommended git tool is: NONE No credentials specified Fetching changes from the remote Git repository Checking out Revision a52d3e623f282a284cfa3c908f14bd3c5f8e1e03 (refs/remotes/origin/master) Commit message: "Adding organization prefix to generated Jar to make them more visible and avoid conflicts in packaged application (War, Ear, ...)" > git rev-parse --resolve-git-dir /jenkins/work/agent-local/workspace/Reflection pipeline/.git # timeout=10 > git config remote.origin.url https://github.com/codefilarete/reflection.git # timeout=10 Fetching upstream changes from https://github.com/codefilarete/reflection.git > git --version # timeout=10 > git --version # 'git version 2.43.0' > git fetch --tags --force --progress -- https://github.com/codefilarete/reflection.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a52d3e623f282a284cfa3c908f14bd3c5f8e1e03 # timeout=10 > git branch -a -v --no-abbrev # timeout=10 > git branch -D master # timeout=10 > git checkout -b master a52d3e623f282a284cfa3c908f14bd3c5f8e1e03 # timeout=10 > git rev-list --no-walk f055196756fba0c210c90a9e0f95f5b3b7459f97 # timeout=10 [Pipeline] sh + mvn clean install [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for org.codefilarete:reflection:jar:1.1.2-SNAPSHOT [WARNING] The expression ${artifactId} is deprecated. Please use ${project.artifactId} instead. [WARNING] The expression ${version} is deprecated. Please use ${project.version} instead. [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING] [INFO] [INFO] --------------------< org.codefilarete:reflection >--------------------- [INFO] Building Reflection 1.1.2-SNAPSHOT [INFO] from pom.xml [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- clean:3.2.0:clean (default-clean) @ reflection --- [INFO] Deleting /jenkins/work/agent-local/workspace/Reflection pipeline/target [INFO] [INFO] --- jacoco:0.8.5:prepare-agent (prepare-agent) @ reflection --- [INFO] argLine set to "-javaagent:/var/lib/jenkins/.m2/repository/org/jacoco/org.jacoco.agent/0.8.5/org.jacoco.agent-0.8.5-runtime.jar=destfile=/jenkins/work/agent-local/workspace/Reflection pipeline/target/jacoco.exec" [INFO] [INFO] --- resources:2.5:resources (default-resources) @ reflection --- [debug] execute contextualize [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /jenkins/work/agent-local/workspace/Reflection pipeline/src/main/resources [INFO] [INFO] --- compiler:3.8.1:compile (default-compile) @ reflection --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 38 source files to /jenkins/work/agent-local/workspace/Reflection pipeline/target/classes [INFO] /jenkins/work/agent-local/workspace/Reflection pipeline/src/main/java/org/codefilarete/reflection/ArrayAccessor.java: Some input files use unchecked or unsafe operations. [INFO] /jenkins/work/agent-local/workspace/Reflection pipeline/src/main/java/org/codefilarete/reflection/ArrayAccessor.java: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- resources:2.5:testResources (default-testResources) @ reflection --- [debug] execute contextualize [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /jenkins/work/agent-local/workspace/Reflection pipeline/src/test/resources [INFO] [INFO] --- compiler:3.8.1:testCompile (default-testCompile) @ reflection --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 28 source files to /jenkins/work/agent-local/workspace/Reflection pipeline/target/test-classes [INFO] /jenkins/work/agent-local/workspace/Reflection pipeline/src/test/java/org/codefilarete/reflection/AccessorChainTest.java: Some input files use unchecked or unsafe operations. [INFO] /jenkins/work/agent-local/workspace/Reflection pipeline/src/test/java/org/codefilarete/reflection/AccessorChainTest.java: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- surefire:3.0.0-M4:test (default-test) @ reflection --- [INFO] [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- [INFO] Running org.codefilarete.trace.ObjectPrinterBuilderTest [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.08 s - in org.codefilarete.trace.ObjectPrinterBuilderTest [INFO] Running org.codefilarete.reflection.MutatorByMethodTest [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.266 s - in org.codefilarete.reflection.MutatorByMethodTest [INFO] Running org.codefilarete.reflection.MethodReferenceDispatcherTest [INFO] Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.119 s - in org.codefilarete.reflection.MethodReferenceDispatcherTest [INFO] Running org.codefilarete.reflection.ExceptionConverterTest [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011 s - in org.codefilarete.reflection.ExceptionConverterTest [INFO] Running org.codefilarete.reflection.ListMutatorTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 s - in org.codefilarete.reflection.ListMutatorTest [INFO] Running org.codefilarete.reflection.AccessorChainTest [INFO] Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.076 s - in org.codefilarete.reflection.AccessorChainTest [INFO] Running org.codefilarete.reflection.AccessorChainMutatorTest [INFO] Tests run: 22, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.047 s - in org.codefilarete.reflection.AccessorChainMutatorTest [INFO] Running org.codefilarete.reflection.AccessorDefinitionTest [INFO] Tests run: 22, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.04 s - in org.codefilarete.reflection.AccessorDefinitionTest [INFO] Running org.codefilarete.reflection.AccessorByMethodReferenceTest [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 s - in org.codefilarete.reflection.AccessorByMethodReferenceTest [INFO] Running org.codefilarete.reflection.PropertyAccessorTest [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 s - in org.codefilarete.reflection.PropertyAccessorTest [INFO] Running org.codefilarete.reflection.AccessorByFieldTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in org.codefilarete.reflection.AccessorByFieldTest [INFO] Running org.codefilarete.reflection.ArrayMutatorTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s - in org.codefilarete.reflection.ArrayMutatorTest [INFO] Running org.codefilarete.reflection.MutatorByFieldTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in org.codefilarete.reflection.MutatorByFieldTest [INFO] Running org.codefilarete.reflection.ValueAccessPointComparatorTest [INFO] Tests run: 27, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.041 s - in org.codefilarete.reflection.ValueAccessPointComparatorTest [INFO] Running org.codefilarete.reflection.MethodReferenceCapturerTest [INFO] Tests run: 21, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.044 s - in org.codefilarete.reflection.MethodReferenceCapturerTest [INFO] Running org.codefilarete.reflection.ListAccessorTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in org.codefilarete.reflection.ListAccessorTest [INFO] Running org.codefilarete.reflection.MethodReferencesTest [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 s - in org.codefilarete.reflection.MethodReferencesTest [INFO] Running org.codefilarete.reflection.AccessorByMethodTest [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s - in org.codefilarete.reflection.AccessorByMethodTest [INFO] Running org.codefilarete.reflection.MutatorByMethodReferenceTest [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 s - in org.codefilarete.reflection.MutatorByMethodReferenceTest [INFO] Running org.codefilarete.reflection.AccessorsTest [INFO] Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.018 s - in org.codefilarete.reflection.AccessorsTest [INFO] Running org.codefilarete.reflection.ArrayAccessorTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in org.codefilarete.reflection.ArrayAccessorTest [INFO] [INFO] Results: [INFO] [INFO] Tests run: 176, Failures: 0, Errors: 0, Skipped: 0 [INFO] [INFO] [INFO] --- jar:3.4.1:jar (default-jar) @ reflection --- [INFO] Building jar: /jenkins/work/agent-local/workspace/Reflection pipeline/target/codefilarete-reflection-1.1.2-SNAPSHOT.jar [INFO] [INFO] --- jacoco:0.8.5:report (report) @ reflection --- [INFO] Loading execution data file /jenkins/work/agent-local/workspace/Reflection pipeline/target/jacoco.exec [INFO] Analyzed bundle 'Reflection' with 41 classes [INFO] [INFO] --- install:3.1.2:install (default-install) @ reflection --- [INFO] Installing /jenkins/work/agent-local/workspace/Reflection pipeline/pom.xml to /var/lib/jenkins/.m2/repository/org/codefilarete/reflection/1.1.2-SNAPSHOT/reflection-1.1.2-SNAPSHOT.pom [INFO] Installing /jenkins/work/agent-local/workspace/Reflection pipeline/target/codefilarete-reflection-1.1.2-SNAPSHOT.jar to /var/lib/jenkins/.m2/repository/org/codefilarete/reflection/1.1.2-SNAPSHOT/reflection-1.1.2-SNAPSHOT.jar [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 6.600 s [INFO] Finished at: 2025-04-01T20:08:29Z [INFO] ------------------------------------------------------------------------ Post stage [Pipeline] junit Enregistrement des résultats des tests [Checks API] No suitable checks publisher found. [Pipeline] archiveArtifacts Archiving artifacts [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Sonar Analysis) [Pipeline] tool [Pipeline] envVarsForTool [Pipeline] tool [Pipeline] envVarsForTool [Pipeline] withEnv [Pipeline] { [Pipeline] sh + mvn sonar:sonar -Dsonar.projectKey=Reflection -Dsonar.host.url=http://localhost:9000/sonar -Dsonar.login=4c490ceb446f662e2bd8cb60644acefdfac7cdf1 -f pom.xml [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for org.codefilarete:reflection:jar:1.1.2-SNAPSHOT [WARNING] The expression ${artifactId} is deprecated. Please use ${project.artifactId} instead. [WARNING] The expression ${version} is deprecated. Please use ${project.version} instead. [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING] [INFO] [INFO] --------------------< org.codefilarete:reflection >--------------------- [INFO] Building Reflection 1.1.2-SNAPSHOT [INFO] from pom.xml [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- sonar:3.9.1.2184:sonar (default-cli) @ reflection --- [INFO] User cache: /var/lib/jenkins/.sonar/cache [INFO] SonarQube version: 8.9.2 [INFO] Default locale: "fr_FR", source code encoding: "UTF-8" (analysis is platform dependent) [WARNING] SonarScanner will require Java 11 to run, starting in SonarQube 9.x [INFO] Load global settings [INFO] Load global settings (done) | time=71ms [INFO] Server id: 243B8A4D-AZGiYgRcK1wF7EG5NV1- [INFO] User cache: /var/lib/jenkins/.sonar/cache [INFO] Load/download plugins [INFO] Load plugins index [INFO] Load plugins index (done) | time=43ms [INFO] Load/download plugins (done) | time=61ms [INFO] Process project properties [INFO] Process project properties (done) | time=8ms [INFO] Execute project builders [INFO] Execute project builders (done) | time=2ms [INFO] Project key: Reflection [INFO] Base dir: /jenkins/work/agent-local/workspace/Reflection pipeline [INFO] Working dir: /jenkins/work/agent-local/workspace/Reflection pipeline/target/sonar [INFO] Load project settings for component key: 'Reflection' [INFO] Load project settings for component key: 'Reflection' (done) | time=10ms [INFO] Auto-configuring with CI 'Jenkins' [INFO] Load quality profiles [INFO] Load quality profiles (done) | time=39ms [INFO] Auto-configuring with CI 'Jenkins' [INFO] Load active rules [INFO] Load active rules (done) | time=540ms [INFO] Indexing files... [INFO] Project configuration: [INFO] 67 files indexed [INFO] 0 files ignored because of scm ignore settings [INFO] Quality profile for java: Sonar way [INFO] Quality profile for xml: Sonar way [INFO] ------------- Run sensors on module Reflection [INFO] Load metrics repository [INFO] Load metrics repository (done) | time=13ms [INFO] Sensor JavaSquidSensor [java] [INFO] Configured Java source version (sonar.java.source): 8 [INFO] JavaClasspath initialization [INFO] JavaClasspath initialization (done) | time=12ms [INFO] JavaTestClasspath initialization [INFO] JavaTestClasspath initialization (done) | time=3ms [INFO] Java Main Files AST scan [INFO] 38 source files to be analyzed [INFO] Load project repositories [INFO] Load project repositories (done) | time=13ms [INFO] 38/38 source files have been analyzed [INFO] Java Main Files AST scan (done) | time=3579ms [INFO] Java Test Files AST scan [INFO] 28 source files to be analyzed [INFO] 28/28 source files have been analyzed [INFO] Java Test Files AST scan (done) | time=1791ms [INFO] Java Generated Files AST scan [INFO] 0 source files to be analyzed [INFO] 0/0 source files have been analyzed [INFO] Java Generated Files AST scan (done) | time=1ms [INFO] Sensor JavaSquidSensor [java] (done) | time=5723ms [INFO] Sensor CSS Rules [cssfamily] [INFO] No CSS, PHP, HTML or VueJS files are found in the project. CSS analysis is skipped. [INFO] Sensor CSS Rules [cssfamily] (done) | time=1ms [INFO] Sensor JaCoCo XML Report Importer [jacoco] [INFO] 'sonar.coverage.jacoco.xmlReportPaths' is not defined. Using default locations: target/site/jacoco/jacoco.xml,target/site/jacoco-it/jacoco.xml,build/reports/jacoco/test/jacocoTestReport.xml [INFO] Importing 1 report(s). Turn your logs in debug mode in order to see the exhaustive list. [INFO] Sensor JaCoCo XML Report Importer [jacoco] (done) | time=88ms [INFO] Sensor C# Project Type Information [csharp] [INFO] Sensor C# Project Type Information [csharp] (done) | time=2ms [INFO] Sensor C# Properties [csharp] [INFO] Sensor C# Properties [csharp] (done) | time=1ms [INFO] Sensor SurefireSensor [java] [INFO] parsing [/jenkins/work/agent-local/workspace/Reflection pipeline/target/surefire-reports] [INFO] Sensor SurefireSensor [java] (done) | time=66ms [INFO] Sensor JavaXmlSensor [java] [INFO] 1 source file to be analyzed [INFO] 1/1 source file has been analyzed [INFO] Sensor JavaXmlSensor [java] (done) | time=144ms [INFO] Sensor HTML [web] [INFO] Sensor HTML [web] (done) | time=3ms [INFO] Sensor XML Sensor [xml] [INFO] 1 source file to be analyzed [INFO] 1/1 source file has been analyzed [INFO] Sensor XML Sensor [xml] (done) | time=103ms [INFO] Sensor VB.NET Project Type Information [vbnet] [INFO] Sensor VB.NET Project Type Information [vbnet] (done) | time=0ms [INFO] Sensor VB.NET Properties [vbnet] [INFO] Sensor VB.NET Properties [vbnet] (done) | time=2ms [INFO] ------------- Run sensors on project [INFO] Sensor Zero Coverage Sensor [INFO] Sensor Zero Coverage Sensor (done) | time=1ms [INFO] Sensor Java CPD Block Indexer [INFO] Sensor Java CPD Block Indexer (done) | time=55ms [INFO] SCM Publisher SCM provider for this project is: git [INFO] SCM Publisher 1 source file to be analyzed [INFO] SCM Publisher 1/1 source file have been analyzed (done) | time=102ms [INFO] CPD Executor 14 files had no CPD blocks [INFO] CPD Executor Calculating CPD for 24 files [INFO] CPD Executor CPD calculation finished (done) | time=9ms [INFO] Analysis report generated in 63ms, dir size=530 KB [INFO] Analysis report compressed in 106ms, zip size=223 KB [INFO] Analysis report uploaded in 62ms [INFO] ANALYSIS SUCCESSFUL, you can browse http://localhost:9000/sonar/dashboard?id=Reflection [INFO] Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report [INFO] More about the report processing at http://localhost:9000/sonar/api/ce/task?id=AZXy-GjEJDTiFHYmsGLb [INFO] Analysis total time: 8.431 s [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 9.465 s [INFO] Finished at: 2025-04-01T20:08:40Z [INFO] ------------------------------------------------------------------------ [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] End of Pipeline Finished: SUCCESS