Started by GitHub push by Geolykt Running as SYSTEM Building in workspace /var/lib/jenkins/workspace/stian-knn The recommended git tool is: NONE No credentials specified > git rev-parse --resolve-git-dir /var/lib/jenkins/workspace/stian-knn/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/stianloader/stian-knn.git # 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 rev-parse refs/remotes/origin/main^{commit} # timeout=10 Checking out Revision 8be2fafcf99e9cd9af33e0f1ac70c50750259a15 (refs/remotes/origin/main) > git config core.sparsecheckout # timeout=10 > git checkout -f 8be2fafcf99e9cd9af33e0f1ac70c50750259a15 # timeout=10 Commit message: "Also publish source and javadoc artifacts" > git rev-list --no-walk 31f46eb4508e531d9c0e1b9ec40ef7e6441d4417 # timeout=10 false [stian-knn] $ /bin/sh -xe /tmp/jenkins15336850754678084611.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_PREVIOUS_COMMIT, GIT_PREVIOUS_SUCCESSFUL_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' ++ tr ' ' '\n' ++ grep -o -P '[\/].+' ++ sed -e 's/bin\/java//' + 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 [INFO] from pom.xml [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- clean:3.2.0:clean (default-clean) @ stian-knn --- [INFO] Deleting /var/lib/jenkins/workspace/stian-knn/target [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 6 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.060 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.001 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.001 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.002 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.jar [INFO] [INFO] --- source:3.3.1:jar-no-fork (attach-sources) @ stian-knn --- [INFO] Building jar: /var/lib/jenkins/workspace/stian-knn/target/stian-knn-0.0.1-sources.jar [INFO] [INFO] --- javadoc:3.10.0:jar (attach-javadocs) @ stian-knn --- [INFO] No previous run data found, generating javadoc. [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 13.623 s [INFO] Finished at: 2024-10-01T17:12:00Z [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:3.10.0:jar (attach-javadocs) on project stian-knn: MavenReportException: Error while generating Javadoc: [ERROR] Exit code: 1 [ERROR] /var/lib/jenkins/workspace/stian-knn/src/main/java/org/stianloader/stianknn/SpatialQueryArray.java:13: error: unexpected text [ERROR] * Code heavily based on {@link "https://gist.github.com/Ret-Mode/98cfe91a655e8f496902071a372e4f6c"} [ERROR] ^ [ERROR] /var/lib/jenkins/workspace/stian-knn/src/main/java/org/stianloader/stianknn/SpatialQueryArray.java:15: warning: no description for @param [ERROR] * @param [ERROR] ^ [ERROR] /var/lib/jenkins/workspace/stian-knn/src/main/java/org/stianloader/stianknn/PointObjectPair.java:5: warning: no comment [ERROR] public class PointObjectPair implements Comparable> { [ERROR] ^ [ERROR] /var/lib/jenkins/workspace/stian-knn/src/main/java/org/stianloader/stianknn/PointObjectPair.java:7: warning: no comment [ERROR] public final T object; [ERROR] ^ [ERROR] /var/lib/jenkins/workspace/stian-knn/src/main/java/org/stianloader/stianknn/PointObjectPair.java:8: warning: no comment [ERROR] public final float x; [ERROR] ^ [ERROR] /var/lib/jenkins/workspace/stian-knn/src/main/java/org/stianloader/stianknn/PointObjectPair.java:9: warning: no comment [ERROR] public final float y; [ERROR] ^ [ERROR] /var/lib/jenkins/workspace/stian-knn/src/main/java/org/stianloader/stianknn/PointObjectPair.java:11: warning: no comment [ERROR] public PointObjectPair(@NotNull T object, float x, float y) { [ERROR] ^ [ERROR] /var/lib/jenkins/workspace/stian-knn/src/main/java/org/stianloader/stianknn/SpatialIndex1NN.java:17: warning: no comment [ERROR] T query1nn(float x, float y); [ERROR] ^ [ERROR] /var/lib/jenkins/workspace/stian-knn/src/main/java/org/stianloader/stianknn/SpatialIndexKNN.java:23: warning: no comment [ERROR] void queryKnn(float x, float y, int neighbourCount, @NotNull Consumer<@NotNull T> out); [ERROR] ^ [ERROR] /var/lib/jenkins/workspace/stian-knn/src/main/java/org/stianloader/stianknn/SpatialQueryArray.java:123: warning: no comment [ERROR] public SpatialQueryArray(Collection> points, float minX, float minY, float maxX, float maxY, float cellWidth, float cellHeight) { [ERROR] ^ [ERROR] /var/lib/jenkins/workspace/stian-knn/src/main/java/org/stianloader/stianknn/SpatialQueryArrayLegacy.java:13: warning: no comment [ERROR] public class SpatialQueryArrayLegacy implements SpatialRingIndex1NN { [ERROR] ^ [ERROR] /var/lib/jenkins/workspace/stian-knn/src/main/java/org/stianloader/stianknn/SpatialQueryArrayLegacy.java:16: warning: no comment [ERROR] public SpatialQueryArrayLegacy(@NotNull Collection<@NotNull PointObjectPair> points) { [ERROR] ^ [ERROR] /var/lib/jenkins/workspace/stian-knn/src/main/java/org/stianloader/stianknn/SpatialRingIndex1NN.java:31: warning: no comment [ERROR] T query1nn(float x, float y, float minDistanceSquared, float maxDistanceSquared); [ERROR] ^ [ERROR] /var/lib/jenkins/workspace/stian-knn/src/main/java/org/stianloader/stianknn/SpatialQueryArrayLegacy.java:100: warning: no comment [ERROR] public Iterator<@NotNull E> queryKnn(float x, float y) { [ERROR] ^ [ERROR] /var/lib/jenkins/workspace/stian-knn/src/main/java/org/stianloader/stianknn/SpatialQueryArrayLegacy.java:141: warning: no comment [ERROR] public void queryKnn(float x, float y, int nearestNeighbours, Consumer out) { [ERROR] ^ [ERROR] Note: Custom tags that could override future standard tags: @implNote. To avoid potential overrides, use at least one period character (.) in custom tag names. [ERROR] Note: Custom tags that were not seen: @implNote [ERROR] 1 error [ERROR] 14 warnings [ERROR] Command line was: /usr/lib/jvm/temurin-17-jdk/bin/javadoc -J-Duser.language= -J-Duser.country= @options @argfile [ERROR] [ERROR] Refer to the generated Javadoc files in '/var/lib/jenkins/workspace/stian-knn/target/reports/apidocs' dir. [ERROR] [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 Build step 'Run with timeout' marked build as failure Sending notification to Discord. Finished: FAILURE