Started by user Geolykt Running as SYSTEM Building in workspace /var/lib/jenkins/workspace/stian-knn The recommended git tool is: NONE No credentials specified Cloning the remote Git repository Cloning repository https://github.com/stianloader/stian-knn.git > git init /var/lib/jenkins/workspace/stian-knn # timeout=10 Fetching upstream changes from https://github.com/stianloader/stian-knn.git > git --version # timeout=10 > git --version # 'git version 2.46.1' > git fetch --tags --force --progress -- https://github.com/stianloader/stian-knn.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url https://github.com/stianloader/stian-knn.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch > git rev-parse refs/remotes/origin/main^{commit} # timeout=10 Checking out Revision 48767ceb718c4037aac4f87de7f6b74b38f18216 (refs/remotes/origin/main) > git config core.sparsecheckout # timeout=10 > git checkout -f 48767ceb718c4037aac4f87de7f6b74b38f18216 # timeout=10 Commit message: "Parametrize the collection" First time build. Skipping changelog. false [stian-knn] $ /bin/sh -xe /tmp/jenkins13353522364492403460.sh The following environment variables were removed by 'Only Keep Specified Environment Variables': BUILD_DISPLAY_NAME, BUILD_URL, CI, EXECUTOR_NUMBER, GIT_BRANCH, GIT_COMMIT, GIT_URL, HUDSON_HOME, HUDSON_URL, JENKINS_URL, JOB_DISPLAY_URL, JOB_URL, NODE_LABELS, NODE_NAME, RUN_ARTIFACTS_DISPLAY_URL, RUN_CHANGES_DISPLAY_URL, RUN_DISPLAY_URL, RUN_TESTS_DISPLAY_URL, WORKSPACE, WORKSPACE_TMP The following environment variables were reset to their system default value by 'Only Keep Specified Environment Variables': PATH ++ alternatives --display java ++ grep 'link currently points to' ++ sed -e 's/bin\/java//' ++ tr ' ' '\n' ++ grep -o -P '[\/].+' + export JAVA_HOME=/usr/lib/jvm/temurin-17-jdk/ + JAVA_HOME=/usr/lib/jvm/temurin-17-jdk/ [stian-knn] $ mvn -DaltDeploymentRepository=stianloader-deploy::default::http://localhost:25615/maven/ clean deploy [INFO] Scanning for projects... [INFO] [INFO] ---------------------< org.stianloader:stian-knn >---------------------- [INFO] Building StianKNN 0.0.1-SNAPSHOT [INFO] from pom.xml [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- clean:3.2.0:clean (default-clean) @ stian-knn --- [INFO] [INFO] --- resources:3.3.1:resources (default-resources) @ stian-knn --- [INFO] skip non existing resourceDirectory /var/lib/jenkins/workspace/stian-knn/src/main/resources [INFO] Copying 1 resource from to target/classes/META-INF/LICENSES/stian-knn [INFO] [INFO] --- compiler:3.13.0:compile (default-compile) @ stian-knn --- [INFO] Recompiling the module because of changed source code. [INFO] Compiling 3 source files with javac [debug release 8] to target/classes [INFO] /var/lib/jenkins/workspace/stian-knn/src/main/java/org/stianloader/stianknn/SpatialQueryArrayLegacy.java: /var/lib/jenkins/workspace/stian-knn/src/main/java/org/stianloader/stianknn/SpatialQueryArrayLegacy.java uses unchecked or unsafe operations. [INFO] /var/lib/jenkins/workspace/stian-knn/src/main/java/org/stianloader/stianknn/SpatialQueryArrayLegacy.java: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- resources:3.3.1:testResources (default-testResources) @ stian-knn --- [INFO] Copying 2 resources from src/test/resources to target/test-classes [INFO] [INFO] --- compiler:3.13.0:testCompile (default-testCompile) @ stian-knn --- [INFO] Recompiling the module because of changed dependency. [INFO] Compiling 4 source files with javac [debug release 8] to target/test-classes [INFO] /var/lib/jenkins/workspace/stian-knn/src/test/java/org/stianloader/stianknn/Benchmarks.java: /var/lib/jenkins/workspace/stian-knn/src/test/java/org/stianloader/stianknn/Benchmarks.java uses or overrides a deprecated API. [INFO] /var/lib/jenkins/workspace/stian-knn/src/test/java/org/stianloader/stianknn/Benchmarks.java: Recompile with -Xlint:deprecation for details. [INFO] [INFO] --- compiler:3.13.0:testCompile (jmh) @ stian-knn --- [INFO] Recompiling the module because of changed dependency. [INFO] Compiling 4 source files with javac [debug release 8] to target/test-classes [INFO] /var/lib/jenkins/workspace/stian-knn/src/test/java/org/stianloader/stianknn/Benchmarks.java: /var/lib/jenkins/workspace/stian-knn/src/test/java/org/stianloader/stianknn/Benchmarks.java uses or overrides a deprecated API. [INFO] /var/lib/jenkins/workspace/stian-knn/src/test/java/org/stianloader/stianknn/Benchmarks.java: Recompile with -Xlint:deprecation for details. [INFO] [INFO] --- surefire:3.2.2:test (default-test) @ stian-knn --- [INFO] Using auto detected provider org.apache.maven.surefire.junit.JUnit3Provider [INFO] [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- [INFO] Running org.stianloader.stianknn.jmh_generated.Benchmarks_benchmarkSQAL40nn_jmhTest [INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.072 s -- in org.stianloader.stianknn.jmh_generated.Benchmarks_benchmarkSQAL40nn_jmhTest [INFO] Running org.stianloader.stianknn.jmh_generated.Benchmarks_benchmarkSQAG40nn_jmhTest [INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s -- in org.stianloader.stianknn.jmh_generated.Benchmarks_benchmarkSQAG40nn_jmhTest [INFO] Running org.stianloader.stianknn.jmh_generated.Benchmarks_benchmarkSQAL1nn50_jmhTest [INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s -- in org.stianloader.stianknn.jmh_generated.Benchmarks_benchmarkSQAL1nn50_jmhTest [INFO] Running org.stianloader.stianknn.jmh_generated.Benchmarks_benchmarkSQAG1nn50_jmhTest [INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s -- in org.stianloader.stianknn.jmh_generated.Benchmarks_benchmarkSQAG1nn50_jmhTest [INFO] Running org.stianloader.stianknn.TestTest [INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s -- in org.stianloader.stianknn.TestTest [INFO] Running org.stianloader.stianknn.TestStarGenerator [INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s -- in org.stianloader.stianknn.TestStarGenerator [INFO] [INFO] Results: [INFO] [INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0 [INFO] [INFO] [INFO] --- jar:3.4.2:jar (default-jar) @ stian-knn --- [INFO] Building jar: /var/lib/jenkins/workspace/stian-knn/target/stian-knn-0.0.1-SNAPSHOT.jar [INFO] [INFO] --- install:3.1.1:install (default-install) @ stian-knn --- [INFO] Installing /var/lib/jenkins/workspace/stian-knn/pom.xml to /var/lib/jenkins/.m2/repository/org/stianloader/stian-knn/0.0.1-SNAPSHOT/stian-knn-0.0.1-SNAPSHOT.pom [INFO] Installing /var/lib/jenkins/workspace/stian-knn/target/stian-knn-0.0.1-SNAPSHOT.jar to /var/lib/jenkins/.m2/repository/org/stianloader/stian-knn/0.0.1-SNAPSHOT/stian-knn-0.0.1-SNAPSHOT.jar [INFO] [INFO] --- deploy:3.1.1:deploy (default-deploy) @ stian-knn --- [INFO] Using alternate deployment repository stianloader-deploy::default::http://localhost:25615/maven/ [WARNING] Using legacy syntax for alternative repository. Use "stianloader-deploy::http://localhost:25615/maven/" instead. Downloading from stianloader-deploy: http://localhost:25615/maven/org/stianloader/stian-knn/0.0.1-SNAPSHOT/maven-metadata.xml Uploading to stianloader-deploy: http://localhost:25615/maven/org/stianloader/stian-knn/0.0.1-SNAPSHOT/stian-knn-0.0.1-20240924.095550-1.pom Progress (1): 5.3 kB Uploaded to stianloader-deploy: http://localhost:25615/maven/org/stianloader/stian-knn/0.0.1-SNAPSHOT/stian-knn-0.0.1-20240924.095550-1.pom (5.3 kB at 196 kB/s) Uploading to stianloader-deploy: http://localhost:25615/maven/org/stianloader/stian-knn/0.0.1-SNAPSHOT/stian-knn-0.0.1-20240924.095550-1.jar Progress (1): 14 kB Uploaded to stianloader-deploy: http://localhost:25615/maven/org/stianloader/stian-knn/0.0.1-SNAPSHOT/stian-knn-0.0.1-20240924.095550-1.jar (14 kB at 1.2 MB/s) Downloading from stianloader-deploy: http://localhost:25615/maven/org/stianloader/stian-knn/maven-metadata.xml Uploading to stianloader-deploy: http://localhost:25615/maven/org/stianloader/stian-knn/0.0.1-SNAPSHOT/maven-metadata.xml Progress (1): 774 B Uploaded to stianloader-deploy: http://localhost:25615/maven/org/stianloader/stian-knn/0.0.1-SNAPSHOT/maven-metadata.xml (774 B at 97 kB/s) Uploading to stianloader-deploy: http://localhost:25615/maven/org/stianloader/stian-knn/maven-metadata.xml Progress (1): 284 B Uploaded to stianloader-deploy: http://localhost:25615/maven/org/stianloader/stian-knn/maven-metadata.xml (284 B at 41 kB/s) [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 6.871 s [INFO] Finished at: 2024-09-24T09:55:56Z [INFO] ------------------------------------------------------------------------ [stian-knn] $ /bin/sh -xe /tmp/jenkins4780352987631845588.sh + curl http://localhost:25615/maven/commit % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2 100 2 0 0 8 0 --:--:-- --:--:-- --:--:-- 8 OK real 0m0.250s user 0m0.004s sys 0m0.010s Sending notification to Discord. Finished: SUCCESS