Started by GitHub push by jslg99 Obtained Jenkinsfile from git https://github.com/UDFJDC-ModelosProgramacion/MP_202610_G81_E4_Back [Pipeline] Start of Pipeline [Pipeline] node Running on Slave3 in /home/cecaduser/workspace/MP_202610_G81_E4_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 Avoid second fetch Checking out Revision 98f54dde952bb2d3b28fcdf30ca40d6f6b5c0178 (refs/remotes/origin/main) Commit message: "Merge pull request #12 from UDFJDC-ModelosProgramacion/develop" Cloning repository https://github.com/UDFJDC-ModelosProgramacion/MP_202610_G81_E4_Back > git init /home/cecaduser/workspace/MP_202610_G81_E4_Back # timeout=10 Fetching upstream changes from https://github.com/UDFJDC-ModelosProgramacion/MP_202610_G81_E4_Back > git --version # timeout=10 > git --version # 'git version 2.43.0' using GIT_ASKPASS to set credentials > git fetch --tags --force --progress -- https://github.com/UDFJDC-ModelosProgramacion/MP_202610_G81_E4_Back +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url https://github.com/UDFJDC-ModelosProgramacion/MP_202610_G81_E4_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 98f54dde952bb2d3b28fcdf30ca40d6f6b5c0178 # timeout=10 > git rev-list --no-walk be37b54f1d9316d2fd852b4068fae49e7a7434e9 # 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: arreglo entidades se modificaron unas entidades [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 98f54dde952bb2d3b28fcdf30ca40d6f6b5c0178 (refs/remotes/origin/main) Commit message: "Merge pull request #12 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_E4_Back/.git # timeout=10 > git config remote.origin.url https://github.com/UDFJDC-ModelosProgramacion/MP_202610_G81_E4_Back # timeout=10 Fetching upstream changes from https://github.com/UDFJDC-ModelosProgramacion/MP_202610_G81_E4_Back > git --version # timeout=10 > git --version # 'git version 2.43.0' > git fetch --tags --force --progress -- https://github.com/UDFJDC-ModelosProgramacion/MP_202610_G81_E4_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 98f54dde952bb2d3b28fcdf30ca40d6f6b5c0178 # timeout=10 > git branch -a -v --no-abbrev # timeout=10 > git checkout -b main 98f54dde952bb2d3b28fcdf30ca40d6f6b5c0178 # timeout=10 + docker inspect -f . citools-isis2603:latest . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer Slave3 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_E4_Back -v /home/cecaduser/workspace/MP_202610_G81_E4_Back:/home/cecaduser/workspace/MP_202610_G81_E4_Back:rw,z -v /home/cecaduser/workspace/MP_202610_G81_E4_Back@tmp:/home/cecaduser/workspace/MP_202610_G81_E4_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 16616e3a116e22b1a7042423b05647cb21754f9382d1c2623d908a5f302d4309 -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_202610_G81_E4_Back >------------- [INFO] Building MP_202610_G81_E4_Back 0.0.1-SNAPSHOT [INFO] from pom.xml [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- clean:3.4.1:clean (default-clean) @ MP_202610_G81_E4_Back --- [INFO] [INFO] --- jacoco:0.8.11:prepare-agent (jacoco-initialize) @ MP_202610_G81_E4_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_E4_Back/target/jacoco.exec [INFO] [INFO] --- resources:3.3.1:resources (default-resources) @ MP_202610_G81_E4_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_E4_Back --- [INFO] Recompiling the module because of changed source code. [INFO] Compiling 49 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_E4_Back --- [INFO] skip non existing resourceDirectory /home/cecaduser/workspace/MP_202610_G81_E4_Back/src/test/resources [INFO] [INFO] --- compiler:3.14.1:testCompile (default-testCompile) @ MP_202610_G81_E4_Back --- [INFO] Recompiling the module because of changed dependency. [INFO] [INFO] --- surefire:2.22.1:test (default-test) @ MP_202610_G81_E4_Back --- [INFO] [INFO] --- jar:3.4.2:jar (default-jar) @ MP_202610_G81_E4_Back --- [INFO] Building jar: /home/cecaduser/workspace/MP_202610_G81_E4_Back/target/MP_202610_G81_E4_Back-0.0.1-SNAPSHOT.jar [INFO] [INFO] --- spring-boot:3.5.10:repackage (repackage) @ MP_202610_G81_E4_Back --- [INFO] Replacing main artifact /home/cecaduser/workspace/MP_202610_G81_E4_Back/target/MP_202610_G81_E4_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_E4_Back/target/MP_202610_G81_E4_Back-0.0.1-SNAPSHOT.jar.original [INFO] [INFO] --- jacoco:0.8.11:report (jacoco-site) @ MP_202610_G81_E4_Back --- [INFO] Skipping JaCoCo execution due to missing execution data file. [INFO] [INFO] --- spring-boot:3.5.10:start (pre-integration-test) @ MP_202610_G81_E4_Back --- [INFO] Attaching agents: [] . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.5.10) 2026-03-08T21:23:03.330Z INFO 92 --- [ main] c.e.udistrital.mdp.pets.MainApplication : Starting MainApplication using Java 21.0.4 with PID 92 (/home/cecaduser/workspace/MP_202610_G81_E4_Back/target/classes started by root in /home/cecaduser/workspace/MP_202610_G81_E4_Back) 2026-03-08T21:23:03.332Z INFO 92 --- [ main] c.e.udistrital.mdp.pets.MainApplication : The following 1 profile is active: "integration-tests" 2026-03-08T21:23:04.033Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-08T21:23:04.136Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 93 ms. Found 20 JPA repository interfaces. 2026-03-08T21:23:04.680Z INFO 92 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port 8999 (http) 2026-03-08T21:23:04.695Z INFO 92 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat] 2026-03-08T21:23:04.695Z INFO 92 --- [ main] o.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/10.1.50] 2026-03-08T21:23:04.740Z INFO 92 --- [ main] o.a.c.c.C.[Tomcat].[localhost].[/api] : Initializing Spring embedded WebApplicationContext 2026-03-08T21:23:04.741Z INFO 92 --- [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1358 ms 2026-03-08T21:23:04.915Z INFO 92 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-08T21:23:04.960Z INFO 92 --- [ main] org.hibernate.Version : HHH000412: Hibernate ORM core version 6.6.41.Final 2026-03-08T21:23:05.005Z INFO 92 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-08T21:23:05.274Z INFO 92 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-08T21:23:05.302Z INFO 92 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting... 2026-03-08T21:23:05.481Z INFO 92 --- [ main] com.zaxxer.hikari.pool.HikariPool : HikariPool-1 - Added connection conn0: url=jdbc:h2:mem:pets user=SA 2026-03-08T21:23:05.483Z INFO 92 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed. 2026-03-08T21:23:05.508Z WARN 92 --- [ 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-03-08T21:23:05.536Z INFO 92 --- [ 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-03-08T21:23:05.786Z ERROR 92 --- [ main] j.LocalContainerEntityManagerFactoryBean : Failed to initialize JPA EntityManagerFactory: Collection 'co.edu.udistrital.mdp.pets.entities.ShelterEntity.adoptions' is 'mappedBy' a property named 'shelter' which does not exist in the target entity 'co.edu.udistrital.mdp.pets.entities.AdoptionEntity' 2026-03-08T21:23:05.787Z WARN 92 --- [ main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaConfiguration.class]: Collection 'co.edu.udistrital.mdp.pets.entities.ShelterEntity.adoptions' is 'mappedBy' a property named 'shelter' which does not exist in the target entity 'co.edu.udistrital.mdp.pets.entities.AdoptionEntity' 2026-03-08T21:23:05.787Z INFO 92 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown initiated... 2026-03-08T21:23:05.801Z INFO 92 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed. 2026-03-08T21:23:05.804Z INFO 92 --- [ main] o.apache.catalina.core.StandardService : Stopping service [Tomcat] 2026-03-08T21:23:05.815Z INFO 92 --- [ main] .s.b.a.l.ConditionEvaluationReportLogger : Error starting ApplicationContext. To display the condition evaluation report re-run your application with 'debug' enabled. 2026-03-08T21:23:05.831Z ERROR 92 --- [ main] o.s.boot.SpringApplication : Application run failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaConfiguration.class]: Collection 'co.edu.udistrital.mdp.pets.entities.ShelterEntity.adoptions' is 'mappedBy' a property named 'shelter' which does not exist in the target entity 'co.edu.udistrital.mdp.pets.entities.AdoptionEntity' at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1826) ~[spring-beans-6.2.15.jar:6.2.15] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:607) ~[spring-beans-6.2.15.jar:6.2.15] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:529) ~[spring-beans-6.2.15.jar:6.2.15] at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:339) ~[spring-beans-6.2.15.jar:6.2.15] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:373) ~[spring-beans-6.2.15.jar:6.2.15] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:337) ~[spring-beans-6.2.15.jar:6.2.15] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:207) ~[spring-beans-6.2.15.jar:6.2.15] at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:973) ~[spring-context-6.2.15.jar:6.2.15] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:627) ~[spring-context-6.2.15.jar:6.2.15] at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146) ~[spring-boot-3.5.10.jar:3.5.10] at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:752) ~[spring-boot-3.5.10.jar:3.5.10] at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:439) ~[spring-boot-3.5.10.jar:3.5.10] at org.springframework.boot.SpringApplication.run(SpringApplication.java:318) ~[spring-boot-3.5.10.jar:3.5.10] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1361) ~[spring-boot-3.5.10.jar:3.5.10] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1350) ~[spring-boot-3.5.10.jar:3.5.10] at co.edu.udistrital.mdp.pets.MainApplication.main(MainApplication.java:10) ~[classes/:na] Caused by: org.hibernate.AnnotationException: Collection 'co.edu.udistrital.mdp.pets.entities.ShelterEntity.adoptions' is 'mappedBy' a property named 'shelter' which does not exist in the target entity 'co.edu.udistrital.mdp.pets.entities.AdoptionEntity' at org.hibernate.boot.model.internal.CollectionBinder.isReversePropertyInJoin(CollectionBinder.java:1638) ~[hibernate-core-6.6.41.Final.jar:6.6.41.Final] at org.hibernate.boot.model.internal.CollectionBinder.noAssociationTable(CollectionBinder.java:1652) ~[hibernate-core-6.6.41.Final.jar:6.6.41.Final] at org.hibernate.boot.model.internal.CollectionBinder.bindStarToManySecondPass(CollectionBinder.java:1613) ~[hibernate-core-6.6.41.Final.jar:6.6.41.Final] at org.hibernate.boot.model.internal.CollectionBinder$1.secondPass(CollectionBinder.java:1604) ~[hibernate-core-6.6.41.Final.jar:6.6.41.Final] at org.hibernate.boot.model.internal.CollectionSecondPass.doSecondPass(CollectionSecondPass.java:45) ~[hibernate-core-6.6.41.Final.jar:6.6.41.Final] at org.hibernate.boot.internal.InFlightMetadataCollectorImpl.processSecondPasses(InFlightMetadataCollectorImpl.java:1842) ~[hibernate-core-6.6.41.Final.jar:6.6.41.Final] at org.hibernate.boot.internal.InFlightMetadataCollectorImpl.processSecondPasses(InFlightMetadataCollectorImpl.java:1800) ~[hibernate-core-6.6.41.Final.jar:6.6.41.Final] at org.hibernate.boot.model.process.spi.MetadataBuildingProcess.complete(MetadataBuildingProcess.java:334) ~[hibernate-core-6.6.41.Final.jar:6.6.41.Final] at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.metadata(EntityManagerFactoryBuilderImpl.java:1442) ~[hibernate-core-6.6.41.Final.jar:6.6.41.Final] at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:1513) ~[hibernate-core-6.6.41.Final.jar:6.6.41.Final] at org.springframework.orm.jpa.vendor.SpringHibernateJpaPersistenceProvider.createContainerEntityManagerFactory(SpringHibernateJpaPersistenceProvider.java:66) ~[spring-orm-6.2.15.jar:6.2.15] at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:390) ~[spring-orm-6.2.15.jar:6.2.15] at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.buildNativeEntityManagerFactory(AbstractEntityManagerFactoryBean.java:419) ~[spring-orm-6.2.15.jar:6.2.15] at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:400) ~[spring-orm-6.2.15.jar:6.2.15] at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.afterPropertiesSet(LocalContainerEntityManagerFactoryBean.java:366) ~[spring-orm-6.2.15.jar:6.2.15] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1873) ~[spring-beans-6.2.15.jar:6.2.15] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1822) ~[spring-beans-6.2.15.jar:6.2.15] ... 15 common frames omitted [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 8.673 s [INFO] Finished at: 2026-03-08T21:23:06Z [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:3.5.10:start (pre-integration-test) on project MP_202610_G81_E4_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 16616e3a116e22b1a7042423b05647cb21754f9382d1c2623d908a5f302d4309 $ docker rm -f --volumes 16616e3a116e22b1a7042423b05647cb21754f9382d1c2623d908a5f302d4309 [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_202610_G81_E4_Back/MP_202610_G81_E4_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