Started by GitHub push by 4eyesBoi Obtained Jenkinsfile from git https://github.com/UDFJDC-ModelosProgramacion/MP_202510_G81_E3_Caminatas_Back [Pipeline] Start of Pipeline [Pipeline] node Running on Slave1 in /home/cecaduser/workspace/MP_202510_G81_E3_Caminatas_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 d0378d168ca2ddd93594ac156f44bc377adf3726 (refs/remotes/origin/main) Cloning repository https://github.com/UDFJDC-ModelosProgramacion/MP_202510_G81_E3_Caminatas_Back > git init /home/cecaduser/workspace/MP_202510_G81_E3_Caminatas_Back # timeout=10 Fetching upstream changes from https://github.com/UDFJDC-ModelosProgramacion/MP_202510_G81_E3_Caminatas_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_E3_Caminatas_Back +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url https://github.com/UDFJDC-ModelosProgramacion/MP_202510_G81_E3_Caminatas_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 d0378d168ca2ddd93594ac156f44bc377adf3726 # timeout=10 Commit message: "Add files via upload" > git rev-list --no-walk a8a33390f68224148b15298bd7c0c5e483432f5a # 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: Add files via upload [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 d0378d168ca2ddd93594ac156f44bc377adf3726 (refs/remotes/origin/main) Commit message: "Add files via upload" [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh + docker inspect -f . citools-isis2603:latest . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer > git rev-parse --resolve-git-dir /home/cecaduser/workspace/MP_202510_G81_E3_Caminatas_Back/.git # timeout=10 > git config remote.origin.url https://github.com/UDFJDC-ModelosProgramacion/MP_202510_G81_E3_Caminatas_Back # timeout=10 Fetching upstream changes from https://github.com/UDFJDC-ModelosProgramacion/MP_202510_G81_E3_Caminatas_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_E3_Caminatas_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 d0378d168ca2ddd93594ac156f44bc377adf3726 # timeout=10 > git branch -a -v --no-abbrev # timeout=10 > git checkout -b main d0378d168ca2ddd93594ac156f44bc377adf3726 # timeout=10 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_E3_Caminatas_Back -v /home/cecaduser/workspace/MP_202510_G81_E3_Caminatas_Back:/home/cecaduser/workspace/MP_202510_G81_E3_Caminatas_Back:rw,z -v /home/cecaduser/workspace/MP_202510_G81_E3_Caminatas_Back@tmp:/home/cecaduser/workspace/MP_202510_G81_E3_Caminatas_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 dafa90e7a392017bedc305f683d266feac742085c78f8238d51bafbac0b06110 -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_E3_Caminatas_Back >-------- [INFO] Building CaminatasBack 0.0.1-SNAPSHOT [INFO] from pom.xml [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- clean:3.3.2:clean (default-clean) @ MP_202510_G81_E3_Caminatas_Back --- [INFO] [INFO] --- jacoco:0.8.11:prepare-agent (jacoco-initialize) @ MP_202510_G81_E3_Caminatas_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_E3_Caminatas_Back/target/jacoco.exec [INFO] [INFO] --- resources:3.3.1:resources (default-resources) @ MP_202510_G81_E3_Caminatas_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_E3_Caminatas_Back --- [INFO] Changes detected - recompiling the module! :source [INFO] Compiling 163 source files with javac [debug release 21] to target/classes [INFO] [INFO] --- resources:3.3.1:testResources (default-testResources) @ MP_202510_G81_E3_Caminatas_Back --- [INFO] skip non existing resourceDirectory /home/cecaduser/workspace/MP_202510_G81_E3_Caminatas_Back/src/test/resources [INFO] [INFO] --- compiler:3.11.0:testCompile (default-testCompile) @ MP_202510_G81_E3_Caminatas_Back --- [INFO] Changes detected - recompiling the module! :dependency [INFO] [INFO] --- surefire:2.22.1:test (default-test) @ MP_202510_G81_E3_Caminatas_Back --- [INFO] [INFO] --- jar:3.3.0:jar (default-jar) @ MP_202510_G81_E3_Caminatas_Back --- [INFO] Building jar: /home/cecaduser/workspace/MP_202510_G81_E3_Caminatas_Back/target/MP_202510_G81_E3_Caminatas_Back-0.0.1-SNAPSHOT.jar [INFO] [INFO] --- spring-boot:3.2.5:repackage (repackage) @ MP_202510_G81_E3_Caminatas_Back --- [INFO] Replacing main artifact /home/cecaduser/workspace/MP_202510_G81_E3_Caminatas_Back/target/MP_202510_G81_E3_Caminatas_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_E3_Caminatas_Back/target/MP_202510_G81_E3_Caminatas_Back-0.0.1-SNAPSHOT.jar.original [INFO] [INFO] --- jacoco:0.8.11:report (jacoco-site) @ MP_202510_G81_E3_Caminatas_Back --- [INFO] Skipping JaCoCo execution due to missing execution data file. [INFO] [INFO] --- install:3.1.1:install (default-install) @ MP_202510_G81_E3_Caminatas_Back --- [INFO] Installing /home/cecaduser/workspace/MP_202510_G81_E3_Caminatas_Back/pom.xml to /root/.m2/repository/co/edu/udistrital/mdp/MP_202510_G81_E3_Caminatas_Back/0.0.1-SNAPSHOT/MP_202510_G81_E3_Caminatas_Back-0.0.1-SNAPSHOT.pom [INFO] Installing /home/cecaduser/workspace/MP_202510_G81_E3_Caminatas_Back/target/MP_202510_G81_E3_Caminatas_Back-0.0.1-SNAPSHOT.jar to /root/.m2/repository/co/edu/udistrital/mdp/MP_202510_G81_E3_Caminatas_Back/0.0.1-SNAPSHOT/MP_202510_G81_E3_Caminatas_Back-0.0.1-SNAPSHOT.jar [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 7.202 s [INFO] Finished at: 2025-06-11T13:20:29Z [INFO] ------------------------------------------------------------------------ [Pipeline] } $ docker stop --time=1 dafa90e7a392017bedc305f683d266feac742085c78f8238d51bafbac0b06110 $ docker rm -f --volumes dafa90e7a392017bedc305f683d266feac742085c78f8238d51bafbac0b06110 [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_202510_G81_E3_Caminatas_Back -v /home/cecaduser/workspace/MP_202510_G81_E3_Caminatas_Back:/home/cecaduser/workspace/MP_202510_G81_E3_Caminatas_Back:rw,z -v /home/cecaduser/workspace/MP_202510_G81_E3_Caminatas_Back@tmp:/home/cecaduser/workspace/MP_202510_G81_E3_Caminatas_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 96bc75943fb37214cc4245596b54f21b5e3fbb8a943cedebf18b3c53ec1701d3 -eo pid,comm [Pipeline] { [Pipeline] sh + mvn test [INFO] Scanning for projects... [INFO] [INFO] -------< co.edu.udistrital.mdp:MP_202510_G81_E3_Caminatas_Back >-------- [INFO] Building CaminatasBack 0.0.1-SNAPSHOT [INFO] from pom.xml [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- jacoco:0.8.11:prepare-agent (jacoco-initialize) @ MP_202510_G81_E3_Caminatas_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_E3_Caminatas_Back/target/jacoco.exec [INFO] [INFO] --- resources:3.3.1:resources (default-resources) @ MP_202510_G81_E3_Caminatas_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_E3_Caminatas_Back --- [INFO] Nothing to compile - all classes are up to date [INFO] [INFO] --- resources:3.3.1:testResources (default-testResources) @ MP_202510_G81_E3_Caminatas_Back --- [INFO] skip non existing resourceDirectory /home/cecaduser/workspace/MP_202510_G81_E3_Caminatas_Back/src/test/resources [INFO] [INFO] --- compiler:3.11.0:testCompile (default-testCompile) @ MP_202510_G81_E3_Caminatas_Back --- [INFO] Nothing to compile - all classes are up to date [INFO] [INFO] --- surefire:2.22.1:test (default-test) @ MP_202510_G81_E3_Caminatas_Back --- [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1.393 s [INFO] Finished at: 2025-06-11T13:20:35Z [INFO] ------------------------------------------------------------------------ [Pipeline] } $ docker stop --time=1 96bc75943fb37214cc4245596b54f21b5e3fbb8a943cedebf18b3c53ec1701d3 $ docker rm -f --volumes 96bc75943fb37214cc4245596b54f21b5e3fbb8a943cedebf18b3c53ec1701d3 [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_202510_G81_E3_Caminatas_Back -v /home/cecaduser/workspace/MP_202510_G81_E3_Caminatas_Back:/home/cecaduser/workspace/MP_202510_G81_E3_Caminatas_Back:rw,z -v /home/cecaduser/workspace/MP_202510_G81_E3_Caminatas_Back@tmp:/home/cecaduser/workspace/MP_202510_G81_E3_Caminatas_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 0bfed0485533a0c6742e1c1d39b23658b8832836c65e3abfe0e1abd68933b104 -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... [INFO] [INFO] -------< co.edu.udistrital.mdp:MP_202510_G81_E3_Caminatas_Back >-------- [INFO] Building CaminatasBack 0.0.1-SNAPSHOT [INFO] from pom.xml [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- sonar:4.0.0.4121:sonar (default-cli) @ MP_202510_G81_E3_Caminatas_Back --- [INFO] 13:20:39.806 Java 21.0.4 Eclipse Adoptium (64-bit) [INFO] 13:20:39.806 Linux 6.11.0-26-generic (amd64) [INFO] 13:20:39.986 User cache: /root/.sonar/cache [ERROR] 13:21:10.053 SonarQube server [http://10.20.84.26:8082/sonar] can not be reached [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 31.142 s [INFO] Finished at: 2025-06-11T13:21:10Z [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:4.0.0.4121:sonar (default-cli) on project MP_202510_G81_E3_Caminatas_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 0bfed0485533a0c6742e1c1d39b23658b8832836c65e3abfe0e1abd68933b104 $ docker rm -f --volumes 0bfed0485533a0c6742e1c1d39b23658b8832836c65e3abfe0e1abd68933b104 [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_202510_G81_E3_Caminatas_Back/MP_202510_G81_E3_Caminatas_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