Skip to content
Failed

Console Output

Started by GitHub push by Brayancas017
Obtained Jenkinsfile from git https://github.com/UDFJDC-ModelosProgramacion/MP_202510_G81_E5_CarMotor_Back/
[Pipeline] Start of Pipeline
[Pipeline] node
Running on Slave1 in /home/cecaduser/workspace/MP_202510_G81_E5_CarMotor_Back
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Declarative: Checkout SCM)
[Pipeline] checkout
The recommended git tool is: NONE
using credential josejbocanegra
Cloning the remote Git repository
Cloning repository https://github.com/UDFJDC-ModelosProgramacion/MP_202510_G81_E5_CarMotor_Back/
 > git init /home/cecaduser/workspace/MP_202510_G81_E5_CarMotor_Back # timeout=10
Fetching upstream changes from https://github.com/UDFJDC-ModelosProgramacion/MP_202510_G81_E5_CarMotor_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_202510_G81_E5_CarMotor_Back/ +refs/heads/*:refs/remotes/origin/* # timeout=10
Avoid second fetch
Checking out Revision f5b73d6fa823668141cae3bb13dcb25451a566d8 (refs/remotes/origin/main)
Commit message: "creacion de SedeRepository faltante. Inyenccion de service y EntityManager en package Services"
 > git config remote.origin.url https://github.com/UDFJDC-ModelosProgramacion/MP_202510_G81_E5_CarMotor_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 f5b73d6fa823668141cae3bb13dcb25451a566d8 # timeout=10
 > git rev-list --no-walk 9be96e54c5f7412cc1dc9bc42ad7e95a9e74490d # 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: creacion de SedeRepository faltante. Inyenccion de service y EntityManager en package Services

[Pipeline] git
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 f5b73d6fa823668141cae3bb13dcb25451a566d8 (refs/remotes/origin/main)
Commit message: "creacion de SedeRepository faltante. Inyenccion de service y EntityManager en package Services"
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Build)
[Pipeline] script
[Pipeline] {
[Pipeline] isUnix
[Pipeline] withEnv
[Pipeline] {
[Pipeline] sh
+ docker inspect -f . citools-isis2603:latest
.
 > git rev-parse --resolve-git-dir /home/cecaduser/workspace/MP_202510_G81_E5_CarMotor_Back/.git # timeout=10
 > git config remote.origin.url https://github.com/UDFJDC-ModelosProgramacion/MP_202510_G81_E5_CarMotor_Back # timeout=10
Fetching upstream changes from https://github.com/UDFJDC-ModelosProgramacion/MP_202510_G81_E5_CarMotor_Back
 > git --version # timeout=10
 > git --version # 'git version 2.49.0'
 > git fetch --tags --force --progress -- https://github.com/UDFJDC-ModelosProgramacion/MP_202510_G81_E5_CarMotor_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 f5b73d6fa823668141cae3bb13dcb25451a566d8 # timeout=10
 > git branch -a -v --no-abbrev # timeout=10
 > git checkout -b main f5b73d6fa823668141cae3bb13dcb25451a566d8 # timeout=10
[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_202510_G81_E5_CarMotor_Back -v /home/cecaduser/workspace/MP_202510_G81_E5_CarMotor_Back:/home/cecaduser/workspace/MP_202510_G81_E5_CarMotor_Back:rw,z -v /home/cecaduser/workspace/MP_202510_G81_E5_CarMotor_Back@tmp:/home/cecaduser/workspace/MP_202510_G81_E5_CarMotor_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 875fa80c733b3e6001a94578d3fdd66e3512578a7ec885cc10527c2b0d07fee3 -eo pid,comm
[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_202510_G81_E5_CarMotor_Back >--------
[INFO] Building MP_202510_G81_E5_CarMotor_Back 0.0.1-SNAPSHOT
[INFO]   from pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- clean:3.3.2:clean (default-clean) @ MP_202510_G81_E5_CarMotor_Back ---
[INFO] 
[INFO] --- jacoco:0.8.11:prepare-agent (jacoco-initialize) @ MP_202510_G81_E5_CarMotor_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_202510_G81_E5_CarMotor_Back/target/jacoco.exec
[INFO] 
[INFO] --- resources:3.3.1:resources (default-resources) @ MP_202510_G81_E5_CarMotor_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.11.0:compile (default-compile) @ MP_202510_G81_E5_CarMotor_Back ---
[INFO] Changes detected - recompiling the module! :source
[INFO] Compiling 45 source files with javac [debug 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_202510_G81_E5_CarMotor_Back ---
[INFO] skip non existing resourceDirectory /home/cecaduser/workspace/MP_202510_G81_E5_CarMotor_Back/src/test/resources
[INFO] 
[INFO] --- compiler:3.11.0:testCompile (default-testCompile) @ MP_202510_G81_E5_CarMotor_Back ---
[INFO] Changes detected - recompiling the module! :dependency
[INFO] Compiling 8 source files with javac [debug 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_202510_G81_E5_CarMotor_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.3.0:jar (default-jar) @ MP_202510_G81_E5_CarMotor_Back ---
[INFO] Building jar: /home/cecaduser/workspace/MP_202510_G81_E5_CarMotor_Back/target/MP_202510_G81_E5_CarMotor_Back-0.0.1-SNAPSHOT.jar
[INFO] 
[INFO] --- spring-boot:3.2.3:repackage (repackage) @ MP_202510_G81_E5_CarMotor_Back ---
[INFO] Replacing main artifact /home/cecaduser/workspace/MP_202510_G81_E5_CarMotor_Back/target/MP_202510_G81_E5_CarMotor_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_202510_G81_E5_CarMotor_Back/target/MP_202510_G81_E5_CarMotor_Back-0.0.1-SNAPSHOT.jar.original
[INFO] 
[INFO] --- jacoco:0.8.11:report (jacoco-site) @ MP_202510_G81_E5_CarMotor_Back ---
[INFO] Loading execution data file /home/cecaduser/workspace/MP_202510_G81_E5_CarMotor_Back/target/jacoco.exec
[INFO] Analyzed bundle 'MP_202510_G81_E5_CarMotor_Back' with 18 classes
[INFO] 
[INFO] --- spring-boot:3.2.3:start (pre-integration-test) @ MP_202510_G81_E5_CarMotor_Back ---
[INFO] Attaching agents: []

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/
 :: Spring Boot ::                (v3.2.3)

2025-06-10T22:06:03.910Z  INFO 135 --- [           main] c.e.u.mdp.carmotor.MainApplication       : Starting MainApplication using Java 21.0.4 with PID 135 (/home/cecaduser/workspace/MP_202510_G81_E5_CarMotor_Back/target/classes started by root in /home/cecaduser/workspace/MP_202510_G81_E5_CarMotor_Back)
2025-06-10T22:06:03.913Z  INFO 135 --- [           main] c.e.u.mdp.carmotor.MainApplication       : The following 1 profile is active: "integration-tests"
2025-06-10T22:06:04.609Z  INFO 135 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2025-06-10T22:06:04.685Z  INFO 135 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 68 ms. Found 8 JPA repository interfaces.
2025-06-10T22:06:05.230Z  INFO 135 --- [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat initialized with port 8999 (http)
2025-06-10T22:06:05.242Z  INFO 135 --- [           main] o.apache.catalina.core.StandardService   : Starting service [Tomcat]
2025-06-10T22:06:05.242Z  INFO 135 --- [           main] o.apache.catalina.core.StandardEngine    : Starting Servlet engine: [Apache Tomcat/10.1.19]
2025-06-10T22:06:05.290Z  INFO 135 --- [           main] o.a.c.c.C.[Tomcat].[localhost].[/api]    : Initializing Spring embedded WebApplicationContext
2025-06-10T22:06:05.290Z  INFO 135 --- [           main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1330 ms
2025-06-10T22:06:05.327Z  INFO 135 --- [           main] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Starting...
2025-06-10T22:06:05.501Z  INFO 135 --- [           main] com.zaxxer.hikari.pool.HikariPool        : HikariPool-1 - Added connection conn0: url=jdbc:h2:mem:carmotor user=SA
2025-06-10T22:06:05.503Z  INFO 135 --- [           main] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Start completed.
2025-06-10T22:06:05.536Z  INFO 135 --- [           main] o.s.b.a.h2.H2ConsoleAutoConfiguration    : H2 console available at '/h2-console'. Database available at 'jdbc:h2:mem:carmotor'
2025-06-10T22:06:05.675Z  INFO 135 --- [           main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: default]
2025-06-10T22:06:05.723Z  INFO 135 --- [           main] org.hibernate.Version                    : HHH000412: Hibernate ORM core version 6.4.4.Final
2025-06-10T22:06:05.753Z  INFO 135 --- [           main] o.h.c.internal.RegionFactoryInitiator    : HHH000026: Second-level cache disabled
2025-06-10T22:06:05.963Z  INFO 135 --- [           main] o.s.o.j.p.SpringPersistenceUnitInfo      : No LoadTimeWeaver setup: ignoring JPA class transformer
2025-06-10T22:06:06.006Z  WARN 135 --- [           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)
2025-06-10T22:06:06.987Z  INFO 135 --- [           main] o.h.e.t.j.p.i.JtaPlatformInitiator       : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration)
2025-06-10T22:06:07.065Z  INFO 135 --- [           main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2025-06-10T22:06:07.087Z  WARN 135 --- [           main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'asesorVehiculoService': Unsatisfied dependency expressed through field 'asesorVehiculoService': Error creating bean with name 'asesorVehiculoService': Requested bean is currently in creation: Is there an unresolvable circular reference?
2025-06-10T22:06:07.088Z  INFO 135 --- [           main] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default'
2025-06-10T22:06:07.099Z  INFO 135 --- [           main] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Shutdown initiated...
2025-06-10T22:06:07.102Z  INFO 135 --- [           main] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Shutdown completed.
2025-06-10T22:06:07.104Z  INFO 135 --- [           main] o.apache.catalina.core.StandardService   : Stopping service [Tomcat]
2025-06-10T22:06:07.117Z  INFO 135 --- [           main] .s.b.a.l.ConditionEvaluationReportLogger : 

Error starting ApplicationContext. To display the condition evaluation report re-run your application with 'debug' enabled.
2025-06-10T22:06:07.133Z ERROR 135 --- [           main] o.s.b.d.LoggingFailureAnalysisReporter   : 

***************************
APPLICATION FAILED TO START
***************************

Description:

The dependencies of some of the beans in the application context form a cycle:

┌──->──┐
|  asesorVehiculoService (field private co.edu.udistrital.mdp.carmotor.services.AsesorVehiculoService co.edu.udistrital.mdp.carmotor.services.AsesorVehiculoService.asesorVehiculoService)
└──<-──┘


Action:

Relying upon circular references is discouraged and they are prohibited by default. Update your application to remove the dependency cycle between beans. As a last resort, it may be possible to break the cycle automatically by setting spring.main.allow-circular-references to true.

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  10.911 s
[INFO] Finished at: 2025-06-10T22:06:07Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:3.2.3:start (pre-integration-test) on project MP_202510_G81_E5_CarMotor_Back: Failed to connect to MBean server at port 9001: Could not invoke shutdown operation: Connection refused to host: 127.0.0.1; nested exception is: 
[ERROR] 	java.net.ConnectException: Connection refused
[ERROR] -> [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 875fa80c733b3e6001a94578d3fdd66e3512578a7ec885cc10527c2b0d07fee3
$ docker rm -f --volumes 875fa80c733b3e6001a94578d3fdd66e3512578a7ec885cc10527c2b0d07fee3
[Pipeline] // withDockerContainer
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Testing)
Stage "Testing" skipped due to earlier failure(s)
[Pipeline] getContext
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Static Analysis)
Stage "Static Analysis" skipped due to earlier failure(s)
[Pipeline] getContext
[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_202510_G81_E5_CarMotor_Back/MP_202510_G81_E5_CarMotor_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