See <https://ci-builds.apache.org/job/Directory/job/dir-fortress-core-docker-openldap-test/342/display/redirect?page=changes>
Changes: [Shawn McKinney] FC-328 - Role Constraint validations broken ------------------------------------------ Started by an SCM change Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on builds41 (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.17.1' > git fetch --tags --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 cdb46ee5f97fc13d12074040ce6dfa221588b8d5 (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f cdb46ee5f97fc13d12074040ce6dfa221588b8d5 # timeout=10 Commit message: "FC-328 - Role Constraint validations broken" > git rev-list --no-walk e1dc58fd16da15aaa48ca814d158f4d0753aa2dc # timeout=10 [dir-fortress-core-docker-openldap-test] $ /bin/sh -xe /tmp/jenkins12326124084266581424.sh + export PATH=/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/latest + mvn -v Apache Maven 3.9.3 (21122926829f1ead511c958d89bd2f672198ae9f) Maven home: /home/jenkins/tools/maven/latest Java version: 1.8.0_362, vendor: Temurin, runtime: /usr/local/asfpackages/java/adoptium-jdk-8u362-b09/jre Default locale: en_US, platform encoding: ISO-8859-1 OS name: "linux", version: "4.15.0-213-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 f1f26f570256: Pulling fs layer 0054665f267e: Pulling fs layer 01eb5210be74: Pulling fs layer 2b94630ae638: Pulling fs layer 3d38321dc8f8: Pulling fs layer 2b94630ae638: Waiting 3d38321dc8f8: Waiting 01eb5210be74: Download complete f1f26f570256: Verifying Checksum f1f26f570256: Download complete 2b94630ae638: Verifying Checksum 2b94630ae638: Download complete 0054665f267e: Verifying Checksum 0054665f267e: Download complete 3d38321dc8f8: Verifying Checksum 3d38321dc8f8: Download complete f1f26f570256: Pull complete 0054665f267e: Pull complete 01eb5210be74: Pull complete 2b94630ae638: Pull complete 3d38321dc8f8: Pull complete Digest: sha256:ccd2ea3dfcb970ec424789c5c3cdf98fb0b9db50c2d1d1c124b39cc0dbcab2c3 Status: Downloaded newer image 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=d3fe8d742bb4d788ab6d2a344ea6f9d7b0f92a85b94287d0b86aaad841eaed19 + docker inspect --format={{(index (index .NetworkSettings.Ports "389/tcp") 0).HostPort}} d3fe8d742bb4d788ab6d2a344ea6f9d7b0f92a85b94287d0b86aaad841eaed19 + CONTAINER_PORT=41331 + echo 41331 41331 + 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=41331/ 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.1-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.1-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.1-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 6 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 6 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] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 6.676 s [INFO] Finished at: 2023-09-09T15:20:36Z [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project fortress-core: Fatal error compiling: invalid target release: 11 -> [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 'Execute shell' marked build as failure