Started by GitHub push by xDylanSilva
Obtained Jenkinsfile from git https://github.com/UDFJDC-ModelosProgramacion/MP_202610_G81_E5_Back
[Pipeline] Start of Pipeline
[Pipeline] node
Running on Slave1 in /home/cecaduser/workspace/MP_202610_G81_E5_Back
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Declarative: Checkout SCM)
[Pipeline] checkout
Selected Git installation does not exist. Using Default
The recommended git tool is: NONE
using credential josejbocanegra
Cloning the remote Git repository
Cloning repository https://github.com/UDFJDC-ModelosProgramacion/MP_202610_G81_E5_Back
> git init /home/cecaduser/workspace/MP_202610_G81_E5_Back # timeout=10
Fetching upstream changes from https://github.com/UDFJDC-ModelosProgramacion/MP_202610_G81_E5_Back
> git --version # timeout=10
> git --version # 'git version 2.49.0'
using GIT_ASKPASS to set credentials
> git fetch --tags --force --progress -- https://github.com/UDFJDC-ModelosProgramacion/MP_202610_G81_E5_Back +refs/heads/*:refs/remotes/origin/* # timeout=10
Avoid second fetch
Checking out Revision d64fc5241973abca896c27e322b6a3cb436e842d (refs/remotes/origin/main)
Commit message: "Merge pull request #47 from UDFJDC-ModelosProgramacion/develop"
> git config remote.origin.url https://github.com/UDFJDC-ModelosProgramacion/MP_202610_G81_E5_Back # timeout=10
> git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
> git rev-parse refs/remotes/origin/main^{commit} # timeout=10
> git config core.sparsecheckout # timeout=10
> git checkout -f d64fc5241973abca896c27e322b6a3cb436e842d # timeout=10
> git rev-list --no-walk 6de5d4f491d04eb055a2186bca569dedfdfa7534 # timeout=10
[Pipeline] }
[Pipeline] // stage
[Pipeline] withEnv
[Pipeline] {
[Pipeline] withCredentials
Masking supported pattern matches of $SONAR_TOKEN
[Pipeline] {
[Pipeline] withEnv
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Checkout)
[Pipeline] scmSkip
SCM Skip: Pattern .*\[ci-skip\].* NOT matched on message: Added fixes for association
TrialCohabitation now have OneToMany with Veterinarian
Pet, Shelter and TrialCohabitation now have more well defined atributes
[Pipeline] git
Selected Git installation does not exist. Using Default
The recommended git tool is: NONE
Warning: CredentialId "c0e8826e-5e2c-4c1c-a484-6c17d53ac539" could not be found.
Fetching changes from the remote Git repository
Checking out Revision d64fc5241973abca896c27e322b6a3cb436e842d (refs/remotes/origin/main)
Commit message: "Merge pull request #47 from UDFJDC-ModelosProgramacion/develop"
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Build)
[Pipeline] script
[Pipeline] {
[Pipeline] isUnix
[Pipeline] withEnv
[Pipeline] {
[Pipeline] sh
> git rev-parse --resolve-git-dir /home/cecaduser/workspace/MP_202610_G81_E5_Back/.git # timeout=10
> git config remote.origin.url https://github.com/UDFJDC-ModelosProgramacion/MP_202610_G81_E5_Back # timeout=10
Fetching upstream changes from https://github.com/UDFJDC-ModelosProgramacion/MP_202610_G81_E5_Back
> git --version # timeout=10
> git --version # 'git version 2.49.0'
> git fetch --tags --force --progress -- https://github.com/UDFJDC-ModelosProgramacion/MP_202610_G81_E5_Back +refs/heads/*:refs/remotes/origin/* # timeout=10
> git rev-parse refs/remotes/origin/main^{commit} # timeout=10
> git config core.sparsecheckout # timeout=10
> git checkout -f d64fc5241973abca896c27e322b6a3cb436e842d # timeout=10
> git branch -a -v --no-abbrev # timeout=10
> git checkout -b main d64fc5241973abca896c27e322b6a3cb436e842d # timeout=10
+ docker inspect -f . citools-isis2603:latest
.
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] withDockerContainer
Slave1 does not seem to be running inside a container
$ docker run -t -d -u 1000:1000 -v $HOME/.m2:/root/.m2:z -u root -w /home/cecaduser/workspace/MP_202610_G81_E5_Back -v /home/cecaduser/workspace/MP_202610_G81_E5_Back:/home/cecaduser/workspace/MP_202610_G81_E5_Back:rw,z -v /home/cecaduser/workspace/MP_202610_G81_E5_Back@tmp:/home/cecaduser/workspace/MP_202610_G81_E5_Back@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** citools-isis2603:latest cat
$ docker top 17131f2878ccf700903f5b9b4920d35761152d5b2a4e24a24e13b30ac01d42e4 -eo pid,comm
ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements).
Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`.
[Pipeline] {
[Pipeline] sh
+ java -version
openjdk version "21.0.4" 2024-07-16 LTS
OpenJDK Runtime Environment Temurin-21.0.4+7 (build 21.0.4+7-LTS)
OpenJDK 64-Bit Server VM Temurin-21.0.4+7 (build 21.0.4+7-LTS, mixed mode, sharing)
+ mvn clean install
[INFO] Scanning for projects...
[INFO]
[INFO] ------------< co.edu.udistrital.mdp:MP_202610_G81_E5_Back >-------------
[INFO] Building MP_202610_G81_E5_Back 0.0.1-SNAPSHOT
[INFO] from pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- clean:3.4.1:clean (default-clean) @ MP_202610_G81_E5_Back ---
[INFO]
[INFO] --- jacoco:0.8.11:prepare-agent (jacoco-initialize) @ MP_202610_G81_E5_Back ---
[INFO] argLine set to -javaagent:/root/.m2/repository/org/jacoco/org.jacoco.agent/0.8.11/org.jacoco.agent-0.8.11-runtime.jar=destfile=/home/cecaduser/workspace/MP_202610_G81_E5_Back/target/jacoco.exec
[INFO]
[INFO] --- resources:3.3.1:resources (default-resources) @ MP_202610_G81_E5_Back ---
[INFO] Copying 1 resource from src/main/resources to target/classes
[INFO] Copying 0 resource from src/main/resources to target/classes
[INFO]
[INFO] --- compiler:3.14.1:compile (default-compile) @ MP_202610_G81_E5_Back ---
[INFO] Recompiling the module because of changed source code.
[INFO] Compiling 58 source files with javac [debug parameters release 21] to target/classes
[INFO] Annotation processing is enabled because one or more processors were found
on the class path. A future release of javac may disable annotation processing
unless at least one processor is specified by name (-processor), or a search
path is specified (--processor-path, --processor-module-path), or annotation
processing is enabled explicitly (-proc:only, -proc:full).
Use -Xlint:-options to suppress this message.
Use -proc:none to disable annotation processing.
[INFO]
[INFO] --- resources:3.3.1:testResources (default-testResources) @ MP_202610_G81_E5_Back ---
[INFO] skip non existing resourceDirectory /home/cecaduser/workspace/MP_202610_G81_E5_Back/src/test/resources
[INFO]
[INFO] --- compiler:3.14.1:testCompile (default-testCompile) @ MP_202610_G81_E5_Back ---
[INFO] Recompiling the module because of changed dependency.
[INFO] Compiling 10 source files with javac [debug parameters release 21] to target/test-classes
[INFO] Annotation processing is enabled because one or more processors were found
on the class path. A future release of javac may disable annotation processing
unless at least one processor is specified by name (-processor), or a search
path is specified (--processor-path, --processor-module-path), or annotation
processing is enabled explicitly (-proc:only, -proc:full).
Use -Xlint:-options to suppress this message.
Use -proc:none to disable annotation processing.
[INFO]
[INFO] --- surefire:2.22.1:test (default-test) @ MP_202610_G81_E5_Back ---
[INFO]
[INFO] -------------------------------------------------------
[INFO] T E S T S
[INFO] -------------------------------------------------------
[INFO]
[INFO] Results:
[INFO]
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO]
[INFO] --- jar:3.4.2:jar (default-jar) @ MP_202610_G81_E5_Back ---
[INFO] Building jar: /home/cecaduser/workspace/MP_202610_G81_E5_Back/target/MP_202610_G81_E5_Back-0.0.1-SNAPSHOT.jar
[INFO]
[INFO] --- spring-boot:3.5.10:repackage (repackage) @ MP_202610_G81_E5_Back ---
[INFO] Replacing main artifact /home/cecaduser/workspace/MP_202610_G81_E5_Back/target/MP_202610_G81_E5_Back-0.0.1-SNAPSHOT.jar with repackaged archive, adding nested dependencies in BOOT-INF/.
[INFO] The original artifact has been renamed to /home/cecaduser/workspace/MP_202610_G81_E5_Back/target/MP_202610_G81_E5_Back-0.0.1-SNAPSHOT.jar.original
[INFO]
[INFO] --- jacoco:0.8.11:report (jacoco-site) @ MP_202610_G81_E5_Back ---
[INFO] Loading execution data file /home/cecaduser/workspace/MP_202610_G81_E5_Back/target/jacoco.exec
[INFO] Analyzed bundle 'MP_202610_G81_E5_Back' with 31 classes
[INFO]
[INFO] --- spring-boot:3.5.10:start (pre-integration-test) @ MP_202610_G81_E5_Back ---
[INFO] Attaching agents: []
. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v3.5.10)
2026-04-01T00:47:01.261Z INFO 146 --- [ main] c.e.udistrital.mdp.pets.MainApplication : Starting MainApplication using Java 21.0.4 with PID 146 (/home/cecaduser/workspace/MP_202610_G81_E5_Back/target/classes started by root in /home/cecaduser/workspace/MP_202610_G81_E5_Back)
2026-04-01T00:47:01.266Z INFO 146 --- [ main] c.e.udistrital.mdp.pets.MainApplication : The following 1 profile is active: "integration-tests"
2026-04-01T00:47:02.091Z INFO 146 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2026-04-01T00:47:02.180Z INFO 146 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 79 ms. Found 11 JPA repository interfaces.
2026-04-01T00:47:02.716Z INFO 146 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port 8999 (http)
2026-04-01T00:47:02.730Z INFO 146 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat]
2026-04-01T00:47:02.730Z INFO 146 --- [ main] o.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/10.1.50]
2026-04-01T00:47:02.775Z INFO 146 --- [ main] o.a.c.c.C.[Tomcat].[localhost].[/api] : Initializing Spring embedded WebApplicationContext
2026-04-01T00:47:02.775Z INFO 146 --- [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1407 ms
2026-04-01T00:47:02.961Z INFO 146 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default]
2026-04-01T00:47:03.010Z INFO 146 --- [ main] org.hibernate.Version : HHH000412: Hibernate ORM core version 6.6.41.Final
2026-04-01T00:47:03.041Z INFO 146 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled
2026-04-01T00:47:03.330Z INFO 146 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer
2026-04-01T00:47:03.359Z INFO 146 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting...
2026-04-01T00:47:03.550Z INFO 146 --- [ main] com.zaxxer.hikari.pool.HikariPool : HikariPool-1 - Added connection conn0: url=jdbc:h2:mem:pets user=SA
2026-04-01T00:47:03.552Z INFO 146 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed.
2026-04-01T00:47:03.576Z WARN 146 --- [ main] org.hibernate.orm.deprecation : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default)
2026-04-01T00:47:03.597Z INFO 146 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info:
Database JDBC URL [Connecting through datasource 'HikariDataSource (HikariPool-1)']
Database driver: undefined/unknown
Database version: 2.3.232
Autocommit mode: undefined/unknown
Isolation level: undefined/unknown
Minimum pool size: undefined/unknown
Maximum pool size: undefined/unknown
2026-04-01T00:47:04.646Z INFO 146 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration)
2026-04-01T00:47:04.749Z INFO 146 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2026-04-01T00:47:05.633Z INFO 146 --- [ main] o.s.b.a.h2.H2ConsoleAutoConfiguration : H2 console available at '/h2-console'. Database available at 'jdbc:h2:mem:pets'
2026-04-01T00:47:05.707Z INFO 146 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port 8999 (http) with context path '/api'
2026-04-01T00:47:05.717Z INFO 146 --- [ main] c.e.udistrital.mdp.pets.MainApplication : Started MainApplication in 4.984 seconds (process running for 5.703)
[INFO]
[INFO] --- exec:1.6.0:exec (combine-collection) @ MP_202610_G81_E5_Back ---
Collection 'Events' was not added. Not supported Postmant collection schema.
Collection 'MedicalRecords' was not added. Not supported Postmant collection schema.
Collection 'Shelters' was not added. Not supported Postmant collection schema.
Collection 'Adoption System API' was successfully added.
Collection 'Default Tests' was successfully added.
Combined collection is saved to 'it/composed.collection.json'
[INFO]
[INFO] --- spring-boot:3.5.10:stop (post-integration-test) @ MP_202610_G81_E5_Back ---
[INFO] Stopping application...
2026-04-01T00:47:08.589Z INFO 146 --- [on(2)-127.0.0.1] inMXBeanRegistrar$SpringApplicationAdmin : Application shutdown requested.
2026-04-01T00:47:08.591Z INFO 146 --- [on(2)-127.0.0.1] o.s.b.w.e.tomcat.GracefulShutdown : Commencing graceful shutdown. Waiting for active requests to complete
2026-04-01T00:47:08.596Z INFO 146 --- [tomcat-shutdown] o.s.b.w.e.tomcat.GracefulShutdown : Graceful shutdown complete
2026-04-01T00:47:08.600Z INFO 146 --- [on(2)-127.0.0.1] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default'
2026-04-01T00:47:08.614Z INFO 146 --- [on(2)-127.0.0.1] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown initiated...
2026-04-01T00:47:08.617Z INFO 146 --- [on(2)-127.0.0.1] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed.
[INFO]
[INFO] --- install:3.1.4:install (default-install) @ MP_202610_G81_E5_Back ---
[INFO] Installing /home/cecaduser/workspace/MP_202610_G81_E5_Back/pom.xml to /root/.m2/repository/co/edu/udistrital/mdp/MP_202610_G81_E5_Back/0.0.1-SNAPSHOT/MP_202610_G81_E5_Back-0.0.1-SNAPSHOT.pom
[INFO] Installing /home/cecaduser/workspace/MP_202610_G81_E5_Back/target/MP_202610_G81_E5_Back-0.0.1-SNAPSHOT.jar to /root/.m2/repository/co/edu/udistrital/mdp/MP_202610_G81_E5_Back/0.0.1-SNAPSHOT/MP_202610_G81_E5_Back-0.0.1-SNAPSHOT.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 23.227 s
[INFO] Finished at: 2026-04-01T00:47:08Z
[INFO] ------------------------------------------------------------------------
[Pipeline] }
$ docker stop --time=1 17131f2878ccf700903f5b9b4920d35761152d5b2a4e24a24e13b30ac01d42e4
$ docker rm -f --volumes 17131f2878ccf700903f5b9b4920d35761152d5b2a4e24a24e13b30ac01d42e4
[Pipeline] // withDockerContainer
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Testing)
[Pipeline] script
[Pipeline] {
[Pipeline] isUnix
[Pipeline] withEnv
[Pipeline] {
[Pipeline] sh
+ docker inspect -f . citools-isis2603:latest
.
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] withDockerContainer
Slave1 does not seem to be running inside a container
$ docker run -t -d -u 1000:1000 -v $HOME/.m2:/root/.m2:z -u root -w /home/cecaduser/workspace/MP_202610_G81_E5_Back -v /home/cecaduser/workspace/MP_202610_G81_E5_Back:/home/cecaduser/workspace/MP_202610_G81_E5_Back:rw,z -v /home/cecaduser/workspace/MP_202610_G81_E5_Back@tmp:/home/cecaduser/workspace/MP_202610_G81_E5_Back@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** citools-isis2603:latest cat
$ docker top 2f8bcf976cd70a3d12c73e6772ff0051f9cadf4d6d4376d4dd1d77e5ecd2fc21 -eo pid,comm
[Pipeline] {
[Pipeline] sh
+ mvn test
[INFO] Scanning for projects...
[INFO]
[INFO] ------------< co.edu.udistrital.mdp:MP_202610_G81_E5_Back >-------------
[INFO] Building MP_202610_G81_E5_Back 0.0.1-SNAPSHOT
[INFO] from pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- jacoco:0.8.11:prepare-agent (jacoco-initialize) @ MP_202610_G81_E5_Back ---
[INFO] argLine set to -javaagent:/root/.m2/repository/org/jacoco/org.jacoco.agent/0.8.11/org.jacoco.agent-0.8.11-runtime.jar=destfile=/home/cecaduser/workspace/MP_202610_G81_E5_Back/target/jacoco.exec
[INFO]
[INFO] --- resources:3.3.1:resources (default-resources) @ MP_202610_G81_E5_Back ---
[INFO] Copying 1 resource from src/main/resources to target/classes
[INFO] Copying 0 resource from src/main/resources to target/classes
[INFO]
[INFO] --- compiler:3.14.1:compile (default-compile) @ MP_202610_G81_E5_Back ---
[INFO] Nothing to compile - all classes are up to date.
[INFO]
[INFO] --- resources:3.3.1:testResources (default-testResources) @ MP_202610_G81_E5_Back ---
[INFO] skip non existing resourceDirectory /home/cecaduser/workspace/MP_202610_G81_E5_Back/src/test/resources
[INFO]
[INFO] --- compiler:3.14.1:testCompile (default-testCompile) @ MP_202610_G81_E5_Back ---
[INFO] Nothing to compile - all classes are up to date.
[INFO]
[INFO] --- surefire:2.22.1:test (default-test) @ MP_202610_G81_E5_Back ---
[INFO]
[INFO] -------------------------------------------------------
[INFO] T E S T S
[INFO] -------------------------------------------------------
[INFO]
[INFO] Results:
[INFO]
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.394 s
[INFO] Finished at: 2026-04-01T00:47:15Z
[INFO] ------------------------------------------------------------------------
[Pipeline] }
$ docker stop --time=1 2f8bcf976cd70a3d12c73e6772ff0051f9cadf4d6d4376d4dd1d77e5ecd2fc21
$ docker rm -f --volumes 2f8bcf976cd70a3d12c73e6772ff0051f9cadf4d6d4376d4dd1d77e5ecd2fc21
[Pipeline] // withDockerContainer
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Static Analysis)
[Pipeline] script
[Pipeline] {
[Pipeline] isUnix
[Pipeline] withEnv
[Pipeline] {
[Pipeline] sh
+ docker inspect -f . citools-isis2603:latest
.
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] withDockerContainer
Slave1 does not seem to be running inside a container
$ docker run -t -d -u 1000:1000 -v $HOME/.m2:/root/.m2:z -u root -w /home/cecaduser/workspace/MP_202610_G81_E5_Back -v /home/cecaduser/workspace/MP_202610_G81_E5_Back:/home/cecaduser/workspace/MP_202610_G81_E5_Back:rw,z -v /home/cecaduser/workspace/MP_202610_G81_E5_Back@tmp:/home/cecaduser/workspace/MP_202610_G81_E5_Back@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** citools-isis2603:latest cat
$ docker top 58b8ec8054ebf6d0b7a8027b6c33c436a9e3f1ff5cdac7cfd10be7009a51bae7 -eo pid,comm
[Pipeline] {
[Pipeline] sh
+ mvn sonar:sonar -Dsonar.token=**** -Dsonar.host.url=http://10.20.84.26:8082/sonar
[INFO] Scanning for projects...
Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-metadata.xml
Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml
Progress (1): 3.1 kB
Progress (1): 7.7 kB
Progress (1): 12 kB
Progress (1): 17 kB
Progress (1): 20 kB
Progress (1): 21 kB
Progress (2): 21 kB | 4.6 kB
Progress (2): 21 kB | 9.7 kB
Progress (2): 21 kB | 14 kB
Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-metadata.xml (14 kB at 21 kB/s)
Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml (21 kB at 28 kB/s)
Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/mojo/sonar-maven-plugin/maven-metadata.xml
Progress (1): 1.4 kB
Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/mojo/sonar-maven-plugin/maven-metadata.xml (1.4 kB at 5.3 kB/s)
[WARNING] The artifact org.codehaus.mojo:sonar-maven-plugin:jar:4.0.0.4121 has been relocated to org.sonarsource.scanner.maven:sonar-maven-plugin:jar:4.0.0.4121: SonarQube plugin was moved to SonarSource organisation
[INFO]
[INFO] ------------< co.edu.udistrital.mdp:MP_202610_G81_E5_Back >-------------
[INFO] Building MP_202610_G81_E5_Back 0.0.1-SNAPSHOT
[INFO] from pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- sonar:4.0.0.4121:sonar (default-cli) @ MP_202610_G81_E5_Back ---
[WARNING] 00:47:22.305 Using an unspecified version instead of an explicit plugin version may introduce breaking analysis changes at an unwanted time. It is highly recommended to use an explicit version, e.g. 'org.sonarsource.scanner.maven:sonar-maven-plugin:4.0.0.4121'.
[INFO] 00:47:22.314 Java 21.0.4 Eclipse Adoptium (64-bit)
[INFO] 00:47:22.314 Linux 6.17.0-19-generic (amd64)
[INFO] 00:47:22.350 User cache: /root/.sonar/cache
[ERROR] 00:47:52.395 SonarQube server [http://10.20.84.26:8082/sonar] can not be reached
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 33.528 s
[INFO] Finished at: 2026-04-01T00:47:52Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:4.0.0.4121:sonar (default-cli) on project MP_202610_G81_E5_Back: Unable to execute SonarScanner analysis: Fail to get bootstrap index from server: Connect timed out -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[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/MojoExecutionException
[Pipeline] }
$ docker stop --time=1 58b8ec8054ebf6d0b7a8027b6c33c436a9e3f1ff5cdac7cfd10be7009a51bae7
$ docker rm -f --volumes 58b8ec8054ebf6d0b7a8027b6c33c436a9e3f1ff5cdac7cfd10be7009a51bae7
[Pipeline] // withDockerContainer
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Declarative: Post Actions)
[Pipeline] cleanWs
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
[WS-CLEANUP] done
[Pipeline] deleteDir
[Pipeline] dir
Running in /home/cecaduser/workspace/MP_202610_G81_E5_Back/MP_202610_G81_E5_Back@tmp
[Pipeline] {
[Pipeline] deleteDir
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // withCredentials
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
ERROR: script returned exit code 1
Finished: FAILURE