See <https://ci-builds.apache.org/job/Directory/job/dir-fortress-core-docker-apacheds-test/294/display/redirect?page=changes>
Changes: [Shawn McKinney] parameterize version, format examples, remove sudo, other cleanup ------------------------------------------ Started by an SCM change Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on builds42 (ubuntu) in workspace <https://ci-builds.apache.org/job/Directory/job/dir-fortress-core-docker-apacheds-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-apacheds-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 a34d35c478811dab54f9772040bee300b9ce63d3 (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f a34d35c478811dab54f9772040bee300b9ce63d3 # timeout=10 Commit message: "Merge remote-tracking branch 'origin/master'" > git rev-list --no-walk 24b0eb1ee9ed0254361fd6cbaa07932fa3550880 # timeout=10 [dir-fortress-core-docker-apacheds-test] $ /bin/sh -xe /tmp/jenkins4264540932717341686.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.2 (c9616018c7a021c1c39be70fb2843d6f5f9b8a1c) 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-212-generic", arch: "amd64", family: "unix" + src/docker/apacheds-for-apache-fortress-tests/run-tests.sh + docker pull apachedirectory/apacheds-for-apache-fortress-tests Using default tag: latest latest: Pulling from apachedirectory/apacheds-for-apache-fortress-tests a2abf6c4d29d: Pulling fs layer 2bbde5250315: Pulling fs layer 202a34e7968e: Pulling fs layer 4e4231e30efc: Pulling fs layer 50a174dd8578: Pulling fs layer a19932ada9c6: Pulling fs layer a4f632852d54: Pulling fs layer b6207c3d295d: Pulling fs layer 50a174dd8578: Waiting a19932ada9c6: Waiting a4f632852d54: Waiting b6207c3d295d: Waiting 4e4231e30efc: Waiting 202a34e7968e: Verifying Checksum 202a34e7968e: Download complete 2bbde5250315: Verifying Checksum 2bbde5250315: Download complete a2abf6c4d29d: Verifying Checksum a2abf6c4d29d: Download complete 50a174dd8578: Verifying Checksum 50a174dd8578: Download complete 4e4231e30efc: Verifying Checksum 4e4231e30efc: Download complete a4f632852d54: Verifying Checksum a4f632852d54: Download complete a19932ada9c6: Verifying Checksum a19932ada9c6: Download complete b6207c3d295d: Verifying Checksum b6207c3d295d: Download complete a2abf6c4d29d: Pull complete 2bbde5250315: Pull complete 202a34e7968e: Pull complete 4e4231e30efc: Pull complete 50a174dd8578: Pull complete a19932ada9c6: Pull complete a4f632852d54: Pull complete b6207c3d295d: Pull complete Digest: sha256:bb4d4381b620f64d67b722039402b21453cbdd8c95f926d2c832f682c940fc6c Status: Downloaded newer image for apachedirectory/apacheds-for-apache-fortress-tests:latest docker.io/apachedirectory/apacheds-for-apache-fortress-tests:latest + docker run -d -P apachedirectory/apacheds-for-apache-fortress-tests + CONTAINER_ID=a014c2402e9390f2ed8db52508707fe3dd7f7e33e088da023d65efc5c9b97d90 + docker inspect --format={{(index (index .NetworkSettings.Ports "10389/tcp") 0).HostPort}} a014c2402e9390f2ed8db52508707fe3dd7f7e33e088da023d65efc5c9b97d90 + CONTAINER_PORT=33951 + echo 33951 33951 + cp build.properties.example build.properties + sed -i s/^ldap\.server\.type=.*/ldap.server.type=apacheds/ build.properties + sed -i s/^ldap\.host=.*/ldap.host=localhost/ build.properties + sed -i s/^ldap\.port=.*/ldap.port=33951/ build.properties + sed -i s/^suffix\.name=.*/suffix.name=example/ build.properties + sed -i s/^suffix\.dc=.*/suffix.dc=com/ build.properties + sed -i s/^root\.dn=.*/root.dn=uid=admin,ou=system/ build.properties + sed -i s/^root\.pw=.*/root.pw={SSHA}pSOV2TpCxj2NMACijkcMko4fGrFopctU/ build.properties + sed -i s/^cfg\.root\.pw=.*/cfg.root.pw=secret/ build.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.0-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] [INFO] [INFO] ------------< org.apache.directory.fortress:fortress-core >------------- [INFO] Building Apache Fortress Core 3.0.0-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-apacheds-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 --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 246 source files to <https://ci-builds.apache.org/job/Directory/job/dir-fortress-core-docker-apacheds-test/ws/target/classes> [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 11.403 s [INFO] Finished at: 2023-06-23T22:19:47Z [INFO] ------------------------------------------------------------------------ [WARNING] [WARNING] Plugin validation issues were detected in 5 plugin(s) [WARNING] [WARNING] * org.apache.maven.plugins:maven-resources-plugin:3.1.0 [WARNING] * org.apache.maven.plugins:maven-remote-resources-plugin:1.5 [WARNING] * org.apache.maven.plugins:maven-compiler-plugin:3.8.1 [WARNING] * org.apache.maven.plugins:maven-clean-plugin:3.1.0 [WARNING] * org.apache.maven.plugins:maven-site-plugin:3.4 [WARNING] [WARNING] For more or less details, use 'maven.plugin.validation' property with one of the values (case insensitive): [BRIEF, DEFAULT, VERBOSE] [WARNING] [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