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
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
Avoid second fetch
Checking out Revision 827e8686d2c0557eb67b2c9b57281cc9265c37a6 (refs/remotes/origin/main)
Commit message: "Merge pull request #29 from UDFJDC-ModelosProgramacion/feature/Javi"
> git rev-parse refs/remotes/origin/main^{commit} # timeout=10
> git config core.sparsecheckout # timeout=10
> git checkout -f 827e8686d2c0557eb67b2c9b57281cc9265c37a6 # timeout=10
> git rev-list --no-walk 45260c74accae3e9f155d2dedf93044de8f4324d # 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: Servicios y métodos
[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 827e8686d2c0557eb67b2c9b57281cc9265c37a6 (refs/remotes/origin/main)
Commit message: "Merge pull request #29 from UDFJDC-ModelosProgramacion/feature/Javi"
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Build)
[Pipeline] script
[Pipeline] {
> 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 827e8686d2c0557eb67b2c9b57281cc9265c37a6 # timeout=10
> git branch -a -v --no-abbrev # timeout=10
> git checkout -b main 827e8686d2c0557eb67b2c9b57281cc9265c37a6 # timeout=10
[Pipeline] isUnix
[Pipeline] withEnv
[Pipeline] {
[Pipeline] sh
+ 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 0dcb0bace5fc3f79dff5140b194b4bf85cdd5d6a4f8f2a0e68875de38ac471dc -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_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 61 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] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /home/cecaduser/workspace/MP_202610_G81_E4_Back/src/main/java/co/edu/udistrital/mdp/pets/repositories/ShelterEventRepository.java:[10,5] cannot find symbol
symbol: class Optional
location: interface co.edu.udistrital.mdp.pets.repositories.ShelterEventRepository
[ERROR] /home/cecaduser/workspace/MP_202610_G81_E4_Back/src/main/java/co/edu/udistrital/mdp/pets/services/AdopterService.java:[5,43] cannot find symbol
symbol: class Adopter
location: package co.edu.udistrital.mdp.pets.entities
[ERROR] /home/cecaduser/workspace/MP_202610_G81_E4_Back/src/main/java/co/edu/udistrital/mdp/pets/services/AdopterService.java:[16,34] cannot find symbol
symbol: class Adopter
location: class co.edu.udistrital.mdp.pets.services.AdopterService
[ERROR] /home/cecaduser/workspace/MP_202610_G81_E4_Back/src/main/java/co/edu/udistrital/mdp/pets/services/AdopterService.java:[16,12] cannot find symbol
symbol: class Adopter
location: class co.edu.udistrital.mdp.pets.services.AdopterService
[ERROR] /home/cecaduser/workspace/MP_202610_G81_E4_Back/src/main/java/co/edu/udistrital/mdp/pets/services/AdopterService.java:[35,43] cannot find symbol
symbol: class Adopter
location: class co.edu.udistrital.mdp.pets.services.AdopterService
[ERROR] /home/cecaduser/workspace/MP_202610_G81_E4_Back/src/main/java/co/edu/udistrital/mdp/pets/services/AdopterService.java:[35,12] cannot find symbol
symbol: class Adopter
location: class co.edu.udistrital.mdp.pets.services.AdopterService
[ERROR] /home/cecaduser/workspace/MP_202610_G81_E4_Back/src/main/java/co/edu/udistrital/mdp/pets/services/MessageService.java:[9,43] cannot find symbol
symbol: class Message
location: package co.edu.udistrital.mdp.pets.entities
[ERROR] /home/cecaduser/workspace/MP_202610_G81_E4_Back/src/main/java/co/edu/udistrital/mdp/pets/services/MessageService.java:[18,34] cannot find symbol
symbol: class Message
location: class co.edu.udistrital.mdp.pets.services.MessageService
[ERROR] /home/cecaduser/workspace/MP_202610_G81_E4_Back/src/main/java/co/edu/udistrital/mdp/pets/services/MessageService.java:[18,12] cannot find symbol
symbol: class Message
location: class co.edu.udistrital.mdp.pets.services.MessageService
[ERROR] /home/cecaduser/workspace/MP_202610_G81_E4_Back/src/main/java/co/edu/udistrital/mdp/pets/services/MessageService.java:[41,43] cannot find symbol
symbol: class Message
location: class co.edu.udistrital.mdp.pets.services.MessageService
[ERROR] /home/cecaduser/workspace/MP_202610_G81_E4_Back/src/main/java/co/edu/udistrital/mdp/pets/services/MessageService.java:[41,12] cannot find symbol
symbol: class Message
location: class co.edu.udistrital.mdp.pets.services.MessageService
[ERROR] /home/cecaduser/workspace/MP_202610_G81_E4_Back/src/main/java/co/edu/udistrital/mdp/pets/services/NotificationService.java:[4,43] cannot find symbol
symbol: class Notification
location: package co.edu.udistrital.mdp.pets.entities
[ERROR] /home/cecaduser/workspace/MP_202610_G81_E4_Back/src/main/java/co/edu/udistrital/mdp/pets/services/NotificationService.java:[17,44] cannot find symbol
symbol: class Notification
location: class co.edu.udistrital.mdp.pets.services.NotificationService
[ERROR] /home/cecaduser/workspace/MP_202610_G81_E4_Back/src/main/java/co/edu/udistrital/mdp/pets/services/NotificationService.java:[17,12] cannot find symbol
symbol: class Notification
location: class co.edu.udistrital.mdp.pets.services.NotificationService
[ERROR] /home/cecaduser/workspace/MP_202610_G81_E4_Back/src/main/java/co/edu/udistrital/mdp/pets/services/NotificationService.java:[52,53] cannot find symbol
symbol: class Notification
location: class co.edu.udistrital.mdp.pets.services.NotificationService
[ERROR] /home/cecaduser/workspace/MP_202610_G81_E4_Back/src/main/java/co/edu/udistrital/mdp/pets/services/NotificationService.java:[52,12] cannot find symbol
symbol: class Notification
location: class co.edu.udistrital.mdp.pets.services.NotificationService
[ERROR] /home/cecaduser/workspace/MP_202610_G81_E4_Back/src/main/java/co/edu/udistrital/mdp/pets/services/VeterinarianService.java:[4,43] cannot find symbol
symbol: class Veterinarian
location: package co.edu.udistrital.mdp.pets.entities
[ERROR] /home/cecaduser/workspace/MP_202610_G81_E4_Back/src/main/java/co/edu/udistrital/mdp/pets/services/VeterinarianService.java:[21,45] cannot find symbol
symbol: class Veterinarian
location: class co.edu.udistrital.mdp.pets.services.VeterinarianService
[ERROR] /home/cecaduser/workspace/MP_202610_G81_E4_Back/src/main/java/co/edu/udistrital/mdp/pets/services/VeterinarianService.java:[21,12] cannot find symbol
symbol: class Veterinarian
location: class co.edu.udistrital.mdp.pets.services.VeterinarianService
[ERROR] /home/cecaduser/workspace/MP_202610_G81_E4_Back/src/main/java/co/edu/udistrital/mdp/pets/services/VeterinarianService.java:[45,54] cannot find symbol
symbol: class Veterinarian
location: class co.edu.udistrital.mdp.pets.services.VeterinarianService
[ERROR] /home/cecaduser/workspace/MP_202610_G81_E4_Back/src/main/java/co/edu/udistrital/mdp/pets/services/VeterinarianService.java:[45,12] cannot find symbol
symbol: class Veterinarian
location: class co.edu.udistrital.mdp.pets.services.VeterinarianService
[INFO] 21 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 8.515 s
[INFO] Finished at: 2026-03-29T18:44:05Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.14.1:compile (default-compile) on project MP_202610_G81_E4_Back: Compilation failure: Compilation failure:
[ERROR] /home/cecaduser/workspace/MP_202610_G81_E4_Back/src/main/java/co/edu/udistrital/mdp/pets/repositories/ShelterEventRepository.java:[10,5] cannot find symbol
[ERROR] symbol: class Optional
[ERROR] location: interface co.edu.udistrital.mdp.pets.repositories.ShelterEventRepository
[ERROR] /home/cecaduser/workspace/MP_202610_G81_E4_Back/src/main/java/co/edu/udistrital/mdp/pets/services/AdopterService.java:[5,43] cannot find symbol
[ERROR] symbol: class Adopter
[ERROR] location: package co.edu.udistrital.mdp.pets.entities
[ERROR] /home/cecaduser/workspace/MP_202610_G81_E4_Back/src/main/java/co/edu/udistrital/mdp/pets/services/AdopterService.java:[16,34] cannot find symbol
[ERROR] symbol: class Adopter
[ERROR] location: class co.edu.udistrital.mdp.pets.services.AdopterService
[ERROR] /home/cecaduser/workspace/MP_202610_G81_E4_Back/src/main/java/co/edu/udistrital/mdp/pets/services/AdopterService.java:[16,12] cannot find symbol
[ERROR] symbol: class Adopter
[ERROR] location: class co.edu.udistrital.mdp.pets.services.AdopterService
[ERROR] /home/cecaduser/workspace/MP_202610_G81_E4_Back/src/main/java/co/edu/udistrital/mdp/pets/services/AdopterService.java:[35,43] cannot find symbol
[ERROR] symbol: class Adopter
[ERROR] location: class co.edu.udistrital.mdp.pets.services.AdopterService
[ERROR] /home/cecaduser/workspace/MP_202610_G81_E4_Back/src/main/java/co/edu/udistrital/mdp/pets/services/AdopterService.java:[35,12] cannot find symbol
[ERROR] symbol: class Adopter
[ERROR] location: class co.edu.udistrital.mdp.pets.services.AdopterService
[ERROR] /home/cecaduser/workspace/MP_202610_G81_E4_Back/src/main/java/co/edu/udistrital/mdp/pets/services/MessageService.java:[9,43] cannot find symbol
[ERROR] symbol: class Message
[ERROR] location: package co.edu.udistrital.mdp.pets.entities
[ERROR] /home/cecaduser/workspace/MP_202610_G81_E4_Back/src/main/java/co/edu/udistrital/mdp/pets/services/MessageService.java:[18,34] cannot find symbol
[ERROR] symbol: class Message
[ERROR] location: class co.edu.udistrital.mdp.pets.services.MessageService
[ERROR] /home/cecaduser/workspace/MP_202610_G81_E4_Back/src/main/java/co/edu/udistrital/mdp/pets/services/MessageService.java:[18,12] cannot find symbol
[ERROR] symbol: class Message
[ERROR] location: class co.edu.udistrital.mdp.pets.services.MessageService
[ERROR] /home/cecaduser/workspace/MP_202610_G81_E4_Back/src/main/java/co/edu/udistrital/mdp/pets/services/MessageService.java:[41,43] cannot find symbol
[ERROR] symbol: class Message
[ERROR] location: class co.edu.udistrital.mdp.pets.services.MessageService
[ERROR] /home/cecaduser/workspace/MP_202610_G81_E4_Back/src/main/java/co/edu/udistrital/mdp/pets/services/MessageService.java:[41,12] cannot find symbol
[ERROR] symbol: class Message
[ERROR] location: class co.edu.udistrital.mdp.pets.services.MessageService
[ERROR] /home/cecaduser/workspace/MP_202610_G81_E4_Back/src/main/java/co/edu/udistrital/mdp/pets/services/NotificationService.java:[4,43] cannot find symbol
[ERROR] symbol: class Notification
[ERROR] location: package co.edu.udistrital.mdp.pets.entities
[ERROR] /home/cecaduser/workspace/MP_202610_G81_E4_Back/src/main/java/co/edu/udistrital/mdp/pets/services/NotificationService.java:[17,44] cannot find symbol
[ERROR] symbol: class Notification
[ERROR] location: class co.edu.udistrital.mdp.pets.services.NotificationService
[ERROR] /home/cecaduser/workspace/MP_202610_G81_E4_Back/src/main/java/co/edu/udistrital/mdp/pets/services/NotificationService.java:[17,12] cannot find symbol
[ERROR] symbol: class Notification
[ERROR] location: class co.edu.udistrital.mdp.pets.services.NotificationService
[ERROR] /home/cecaduser/workspace/MP_202610_G81_E4_Back/src/main/java/co/edu/udistrital/mdp/pets/services/NotificationService.java:[52,53] cannot find symbol
[ERROR] symbol: class Notification
[ERROR] location: class co.edu.udistrital.mdp.pets.services.NotificationService
[ERROR] /home/cecaduser/workspace/MP_202610_G81_E4_Back/src/main/java/co/edu/udistrital/mdp/pets/services/NotificationService.java:[52,12] cannot find symbol
[ERROR] symbol: class Notification
[ERROR] location: class co.edu.udistrital.mdp.pets.services.NotificationService
[ERROR] /home/cecaduser/workspace/MP_202610_G81_E4_Back/src/main/java/co/edu/udistrital/mdp/pets/services/VeterinarianService.java:[4,43] cannot find symbol
[ERROR] symbol: class Veterinarian
[ERROR] location: package co.edu.udistrital.mdp.pets.entities
[ERROR] /home/cecaduser/workspace/MP_202610_G81_E4_Back/src/main/java/co/edu/udistrital/mdp/pets/services/VeterinarianService.java:[21,45] cannot find symbol
[ERROR] symbol: class Veterinarian
[ERROR] location: class co.edu.udistrital.mdp.pets.services.VeterinarianService
[ERROR] /home/cecaduser/workspace/MP_202610_G81_E4_Back/src/main/java/co/edu/udistrital/mdp/pets/services/VeterinarianService.java:[21,12] cannot find symbol
[ERROR] symbol: class Veterinarian
[ERROR] location: class co.edu.udistrital.mdp.pets.services.VeterinarianService
[ERROR] /home/cecaduser/workspace/MP_202610_G81_E4_Back/src/main/java/co/edu/udistrital/mdp/pets/services/VeterinarianService.java:[45,54] cannot find symbol
[ERROR] symbol: class Veterinarian
[ERROR] location: class co.edu.udistrital.mdp.pets.services.VeterinarianService
[ERROR] /home/cecaduser/workspace/MP_202610_G81_E4_Back/src/main/java/co/edu/udistrital/mdp/pets/services/VeterinarianService.java:[45,12] cannot find symbol
[ERROR] symbol: class Veterinarian
[ERROR] location: class co.edu.udistrital.mdp.pets.services.VeterinarianService
[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/MojoFailureException
[Pipeline] }
$ docker stop --time=1 0dcb0bace5fc3f79dff5140b194b4bf85cdd5d6a4f8f2a0e68875de38ac471dc
$ docker rm -f --volumes 0dcb0bace5fc3f79dff5140b194b4bf85cdd5d6a4f8f2a0e68875de38ac471dc
[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