You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@directory.apache.org by Apache Jenkins Server <je...@builds.apache.org> on 2025/07/04 20:19:41 UTC
Build failed in Jenkins: Directory » dir-fortress-core-docker-openldap-test #454
See <https://ci-builds.apache.org/job/Directory/job/dir-fortress-core-docker-openldap-test/454/display/redirect>
Changes:
------------------------------------------
Started by user Shawn McKinney
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building remotely on builds47 (tmp-22 ubuntu) in workspace <https://ci-builds.apache.org/job/Directory/job/dir-fortress-core-docker-openldap-test/ws/>
The recommended git tool is: NONE
No credentials specified
> git rev-parse --resolve-git-dir <https://ci-builds.apache.org/job/Directory/job/dir-fortress-core-docker-openldap-test/ws/.git> # timeout=10
Fetching changes from the remote Git repository
> git config remote.origin.url https://gitbox.apache.org/repos/asf/directory-fortress-core.git # timeout=10
Fetching upstream changes from https://gitbox.apache.org/repos/asf/directory-fortress-core.git
> git --version # timeout=10
> git --version # 'git version 2.34.1'
> git fetch --tags --force --progress -- https://gitbox.apache.org/repos/asf/directory-fortress-core.git +refs/heads/*:refs/remotes/origin/* # timeout=10
> git rev-parse refs/remotes/origin/master^{commit} # timeout=10
Checking out Revision 79fb6904a731e146d93b5dbcd1fd8c101c5bbdb1 (refs/remotes/origin/master)
> git config core.sparsecheckout # timeout=10
> git checkout -f 79fb6904a731e146d93b5dbcd1fd8c101c5bbdb1 # timeout=10
Commit message: "maven 2.6.3 required"
> git rev-list --no-walk 79fb6904a731e146d93b5dbcd1fd8c101c5bbdb1 # timeout=10
[dir-fortress-core-docker-openldap-test] $ /bin/sh -xe /tmp/jenkins12600351398717577156.sh
+ export PATH=/home/jenkins/tools/java/latest17/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/home/jenkins/tools/maven/latest/bin
+ export JAVA_HOME=/home/jenkins/tools/java/latest11
+ mvn -v
Apache Maven 3.9.9 (8e8579a9e76f7d015ee5ec7bfcdc97d260186937)
Maven home: /home/jenkins/tools/maven/latest
Java version: 11.0.24, vendor: Eclipse Adoptium, runtime: /usr/local/asfpackages/java/adoptium-jdk-11.0.24+8
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "5.15.0-139-generic", arch: "amd64", family: "unix"
+ src/docker/openldap-for-apache-fortress-tests/run-tests.sh
+ docker pull apachedirectory/openldap-for-apache-fortress-tests
Using default tag: latest
latest: Pulling from apachedirectory/openldap-for-apache-fortress-tests
Digest: sha256:06c4b3f30fa20815ec5c274eee111a7eedfb6bb5bf53a890f94e46251e1114e9
Status: Image is up to date for apachedirectory/openldap-for-apache-fortress-tests:latest
docker.io/apachedirectory/openldap-for-apache-fortress-tests:latest
+ docker run -d -P apachedirectory/openldap-for-apache-fortress-tests
+ CONTAINER_ID=cee6dea8d2c43326cbcccd93d8aae6e3361a849f32d8c84713cecc03f015d797
+ docker inspect --format={{(index (index .NetworkSettings.Ports "389/tcp") 0).HostPort}} cee6dea8d2c43326cbcccd93d8aae6e3361a849f32d8c84713cecc03f015d797
+ CONTAINER_PORT=32776
+ echo 32776
32776
+ cp build.properties.example build.properties
+ cp slapd.properties.example slapd.properties
+ sed -i s/^ldap\.host=.*/ldap.host=localhost/ slapd.properties
+ sed -i s/^ldap\.port=.*/ldap.port=32776/ slapd.properties
+ mvn clean install
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.apache.directory.fortress:fortress-core:jar:3.0.2-SNAPSHOT
[WARNING] Reporting configuration should be done in <reporting> section, not in maven-site-plugin <configuration> as reportPlugins parameter.
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[WARNING] The project org.apache.directory.fortress:fortress-core:jar:3.0.2-SNAPSHOT uses prerequisites which is only intended for maven-plugin projects but not for non maven-plugin projects. For such purposes you should use the maven-enforcer-plugin. See https://maven.apache.org/enforcer/enforcer-rules/requireMavenVersion.html
[INFO]
[INFO] ------------< org.apache.directory.fortress:fortress-core >-------------
[INFO] Building Apache Fortress Core 3.0.2-SNAPSHOT
[INFO] from pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[WARNING] Parameter 'showDeprecations' is unknown for plugin 'maven-compiler-plugin:3.8.1:compile (default-compile)'
[WARNING] Parameter 'showDeprecations' is unknown for plugin 'maven-compiler-plugin:3.8.1:testCompile (default-testCompile)'
[INFO]
[INFO] --- clean:3.1.0:clean (default-clean) @ fortress-core ---
[INFO] Deleting <https://ci-builds.apache.org/job/Directory/job/dir-fortress-core-docker-openldap-test/ws/target>
[INFO]
[INFO] --- resources:3.1.0:copy-resources (copy-resources) @ fortress-core ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 8 resources
[INFO]
[INFO] --- remote-resources:1.5:process (default) @ fortress-core ---
[INFO]
[INFO] --- resources:3.1.0:resources (default-resources) @ fortress-core ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 8 resources
[INFO] Copying 3 resources
[INFO]
[INFO] --- compiler:3.8.1:compile (default-compile) @ fortress-core ---
[WARNING] Parameter 'optimize' (user property 'maven.compiler.optimize') is deprecated: This property is a no-op in {@code javac}.
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 246 source files to <https://ci-builds.apache.org/job/Directory/job/dir-fortress-core-docker-openldap-test/ws/target/classes>
[INFO] <https://ci-builds.apache.org/job/Directory/job/dir-fortress-core-docker-openldap-test/ws/src/main/java/org/apache/directory/fortress/core/model/Hier.java>: Some input files use or override a deprecated API.
[INFO] <https://ci-builds.apache.org/job/Directory/job/dir-fortress-core-docker-openldap-test/ws/src/main/java/org/apache/directory/fortress/core/model/Hier.java>: Recompile with -Xlint:deprecation for details.
[INFO] <https://ci-builds.apache.org/job/Directory/job/dir-fortress-core-docker-openldap-test/ws/src/main/java/org/apache/directory/fortress/core/impl/PolicyP.java>: Some input files use unchecked or unsafe operations.
[INFO] <https://ci-builds.apache.org/job/Directory/job/dir-fortress-core-docker-openldap-test/ws/src/main/java/org/apache/directory/fortress/core/impl/PolicyP.java>: Recompile with -Xlint:unchecked for details.
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] <https://ci-builds.apache.org/job/Directory/job/dir-fortress-core-docker-openldap-test/ws/src/main/java/org/apache/directory/fortress/core/rest/RestUtils.java>:[30,21] cannot access jakarta.ws.rs.WebApplicationException
bad class file: /home/jenkins/.m2/repository/jakarta/ws/rs/jakarta.ws.rs-api/4.0.0/jakarta.ws.rs-api-4.0.0.jar(/jakarta/ws/rs/WebApplicationException.class)
class file has wrong version 61.0, should be 55.0
Please remove or make sure it appears in the correct subdirectory of the classpath.
[ERROR] <https://ci-builds.apache.org/job/Directory/job/dir-fortress-core-docker-openldap-test/ws/src/main/java/org/apache/directory/fortress/core/rest/RestUtils.java>:[31,26] cannot access jakarta.ws.rs.core.Response
bad class file: /home/jenkins/.m2/repository/jakarta/ws/rs/jakarta.ws.rs-api/4.0.0/jakarta.ws.rs-api-4.0.0.jar(/jakarta/ws/rs/core/Response.class)
class file has wrong version 61.0, should be 55.0
Please remove or make sure it appears in the correct subdirectory of the classpath.
[ERROR] <https://ci-builds.apache.org/job/Directory/job/dir-fortress-core-docker-openldap-test/ws/src/main/java/org/apache/directory/fortress/core/rest/RestUtils.java>:[250,17] cannot find symbol
symbol: class WebApplicationException
location: class org.apache.directory.fortress.core.rest.RestUtils
[ERROR] <https://ci-builds.apache.org/job/Directory/job/dir-fortress-core-docker-openldap-test/ws/src/main/java/org/apache/directory/fortress/core/rest/RestUtils.java>:[392,17] cannot find symbol
symbol: class WebApplicationException
location: class org.apache.directory.fortress.core.rest.RestUtils
[ERROR] <https://ci-builds.apache.org/job/Directory/job/dir-fortress-core-docker-openldap-test/ws/src/main/java/org/apache/directory/fortress/core/rest/RestUtils.java>:[485,21] package Response does not exist
[ERROR] <https://ci-builds.apache.org/job/Directory/job/dir-fortress-core-docker-openldap-test/ws/src/main/java/org/apache/directory/fortress/core/rest/RestUtils.java>:[485,46] package Response does not exist
[ERROR] <https://ci-builds.apache.org/job/Directory/job/dir-fortress-core-docker-openldap-test/ws/src/main/java/org/apache/directory/fortress/core/rest/RestUtils.java>:[487,36] package Response does not exist
[ERROR] <https://ci-builds.apache.org/job/Directory/job/dir-fortress-core-docker-openldap-test/ws/src/main/java/org/apache/directory/fortress/core/rest/RestUtils.java>:[492,41] package Response does not exist
[ERROR] <https://ci-builds.apache.org/job/Directory/job/dir-fortress-core-docker-openldap-test/ws/src/main/java/org/apache/directory/fortress/core/rest/RestUtils.java>:[496,41] package Response does not exist
[INFO] 9 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 11.369 s
[INFO] Finished at: 2025-07-04T20:19:40Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project fortress-core: Compilation failure: Compilation failure:
[ERROR] <https://ci-builds.apache.org/job/Directory/job/dir-fortress-core-docker-openldap-test/ws/src/main/java/org/apache/directory/fortress/core/rest/RestUtils.java>:[30,21] cannot access jakarta.ws.rs.WebApplicationException
[ERROR] bad class file: /home/jenkins/.m2/repository/jakarta/ws/rs/jakarta.ws.rs-api/4.0.0/jakarta.ws.rs-api-4.0.0.jar(/jakarta/ws/rs/WebApplicationException.class)
[ERROR] class file has wrong version 61.0, should be 55.0
[ERROR] Please remove or make sure it appears in the correct subdirectory of the classpath.
[ERROR] <https://ci-builds.apache.org/job/Directory/job/dir-fortress-core-docker-openldap-test/ws/src/main/java/org/apache/directory/fortress/core/rest/RestUtils.java>:[31,26] cannot access jakarta.ws.rs.core.Response
[ERROR] bad class file: /home/jenkins/.m2/repository/jakarta/ws/rs/jakarta.ws.rs-api/4.0.0/jakarta.ws.rs-api-4.0.0.jar(/jakarta/ws/rs/core/Response.class)
[ERROR] class file has wrong version 61.0, should be 55.0
[ERROR] Please remove or make sure it appears in the correct subdirectory of the classpath.
[ERROR] <https://ci-builds.apache.org/job/Directory/job/dir-fortress-core-docker-openldap-test/ws/src/main/java/org/apache/directory/fortress/core/rest/RestUtils.java>:[250,17] cannot find symbol
[ERROR] symbol: class WebApplicationException
[ERROR] location: class org.apache.directory.fortress.core.rest.RestUtils
[ERROR] <https://ci-builds.apache.org/job/Directory/job/dir-fortress-core-docker-openldap-test/ws/src/main/java/org/apache/directory/fortress/core/rest/RestUtils.java>:[392,17] cannot find symbol
[ERROR] symbol: class WebApplicationException
[ERROR] location: class org.apache.directory.fortress.core.rest.RestUtils
[ERROR] <https://ci-builds.apache.org/job/Directory/job/dir-fortress-core-docker-openldap-test/ws/src/main/java/org/apache/directory/fortress/core/rest/RestUtils.java>:[485,21] package Response does not exist
[ERROR] <https://ci-builds.apache.org/job/Directory/job/dir-fortress-core-docker-openldap-test/ws/src/main/java/org/apache/directory/fortress/core/rest/RestUtils.java>:[485,46] package Response does not exist
[ERROR] <https://ci-builds.apache.org/job/Directory/job/dir-fortress-core-docker-openldap-test/ws/src/main/java/org/apache/directory/fortress/core/rest/RestUtils.java>:[487,36] package Response does not exist
[ERROR] <https://ci-builds.apache.org/job/Directory/job/dir-fortress-core-docker-openldap-test/ws/src/main/java/org/apache/directory/fortress/core/rest/RestUtils.java>:[492,41] package Response does not exist
[ERROR] <https://ci-builds.apache.org/job/Directory/job/dir-fortress-core-docker-openldap-test/ws/src/main/java/org/apache/directory/fortress/core/rest/RestUtils.java>:[496,41] package Response does not exist
[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
Build step 'Execute shell' marked build as failure