Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
2.3.0
-
None
-
None
-
> java -version
openjdk version "1.8.0_332"
OpenJDK Runtime Environment (Temurin)(build 1.8.0_332-b09)
OpenJDK 64-Bit Server VM (Temurin)(build 25.332-b09, mixed mode)
> mvn -version
Apache Maven 3.8.6 (84538c9988a25aec085021c365c560670ad80f63)
Maven home: /home/maru/.sdkman/candidates/maven/current
Java version: 1.8.0_332, vendor: Temurin, runtime: /home/maru/.sdkman/candidates/java/8.0.332-tem/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "5.15.0-43-generic", arch: "amd64", family: "unix"
> java -version openjdk version "1.8.0_332" OpenJDK Runtime Environment (Temurin)(build 1.8.0_332-b09) OpenJDK 64-Bit Server VM (Temurin)(build 25.332-b09, mixed mode) > mvn -version Apache Maven 3.8.6 (84538c9988a25aec085021c365c560670ad80f63) Maven home: /home/maru/.sdkman/candidates/maven/current Java version: 1.8.0_332, vendor: Temurin, runtime: /home/maru/.sdkman/candidates/java/8.0.332-tem/jre Default locale: en_US, platform encoding: UTF-8 OS name: "linux", version: "5.15.0-43-generic", arch: "amd64", family: "unix"
Description
mvn test always fails in my environment. I'm using the following commit hash, which I believe used to build ratis-2.3.0 release.
commit a37571aca4ed4bae8f3aebe696c806a2d54511ea (HEAD -> release-2.3.0, tag: ratis-2.3.0-rc0, tag: ratis-2.3.0, apache/>
Author: Doroszlai, Attila <adoroszlai@apache.org>
Date: Wed May 11 15:17:50 2022 +0200
Change version for the version 2.3.0 -rc0
Are there any steps before running the tests?
❯ mvn clean package -DskipTests [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Detecting the operating system and CPU architecture [INFO] ------------------------------------------------------------------------ [INFO] os.detected.name: linux [INFO] os.detected.arch: x86_64 [INFO] os.detected.version: 5.15 [INFO] os.detected.version.major: 5 [INFO] os.detected.version.minor: 15 [INFO] os.detected.release: ubuntu [INFO] os.detected.release.version: 22.04 [INFO] os.detected.release.like.ubuntu: true [INFO] os.detected.release.like.debian: true [INFO] os.detected.classifier: linux-x86_64 [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] Apache Ratis [pom] [INFO] Apache Ratis Documentation [jar] [INFO] Apache Ratis Protocols [jar] [INFO] Apache Ratis Common [jar] [INFO] Apache Ratis Client [jar] [INFO] Apache Ratis Server API [jar] [INFO] Apache Ratis Metrics [jar] [INFO] Apache Ratis Server [jar] [INFO] Apache Ratis - Resource Bundle [jar] [INFO] Apache Ratis gRPC Support [jar] [INFO] Apache Ratis Netty Support [jar] [INFO] Apache Ratis Shell [jar] [INFO] Apache Ratis Test [jar] [INFO] Apache Ratis Tools [jar] [INFO] Apache Ratis Examples [jar] [INFO] Apache Ratis Replicated Map [jar] [INFO] Apache Ratis Project Assembly [pom] [INFO] [INFO] -----------------------< org.apache.ratis:ratis >----------------------- [INFO] Building Apache Ratis 2.3.0 [1/17] [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- maven-enforcer-plugin:1.4.1:enforce (clean) @ ratis --- [INFO] [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ ratis --- [INFO] Deleting /home/maru/IdeaProjects/ratis/target [INFO] [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven-version) @ ratis --- [INFO] [INFO] --- maven-enforcer-plugin:1.4.1:enforce (default) @ ratis --- [INFO] [INFO] --- build-helper-maven-plugin:1.9:add-source (add-source) @ ratis --- [INFO] Source directory: /home/maru/IdeaProjects/ratis/target/generated-sources added. [INFO] [INFO] --- maven-remote-resources-plugin:1.7.0:process (process-resource-bundles) @ ratis --- [INFO] Preparing remote bundle org.apache:apache-jar-resource-bundle:1.4 [INFO] Copying 3 resources from 1 bundle. [INFO] [INFO] --- buildnumber-maven-plugin:1.4:create-metadata (default) @ ratis --- [INFO] Executing: /bin/sh -c cd '/home/maru/IdeaProjects/ratis' && 'git' 'rev-parse' '--verify' 'HEAD' [INFO] Working directory: /home/maru/IdeaProjects/ratis [INFO] [INFO] --- maven-site-plugin:3.7.1:attach-descriptor (attach-descriptor) @ ratis --- [INFO] No site descriptor found: nothing to attach. [INFO] [INFO] --------------------< org.apache.ratis:ratis-docs >--------------------- [INFO] Building Apache Ratis Documentation 2.3.0 [2/17] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ ratis-docs --- [INFO] Deleting /home/maru/IdeaProjects/ratis/ratis-docs/target [INFO] [INFO] --- build-helper-maven-plugin:1.9:add-source (add-source) @ ratis-docs --- [INFO] Source directory: /home/maru/IdeaProjects/ratis/ratis-docs/target/generated-sources added. [INFO] [INFO] --- maven-remote-resources-plugin:1.7.0:process (process-resource-bundles) @ ratis-docs --- [INFO] Preparing remote bundle org.apache:apache-jar-resource-bundle:1.4 [INFO] Copying 3 resources from 1 bundle. [INFO] [INFO] --- buildnumber-maven-plugin:1.4:create-metadata (default) @ ratis-docs --- [INFO] Executing: /bin/sh -c cd '/home/maru/IdeaProjects/ratis/ratis-docs' && 'git' 'rev-parse' '--verify' 'HEAD' [INFO] Working directory: /home/maru/IdeaProjects/ratis/ratis-docs [INFO] [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ ratis-docs --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/maru/IdeaProjects/ratis/ratis-docs/src/main/resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ ratis-docs --- [INFO] No sources to compile [INFO] [INFO] --- exec-maven-plugin:1.6.0:exec (default) @ ratis-docs --- Start building sites … hugo v0.92.2+extended linux/amd64 BuildDate=2022-02-23T16:47:50Z VendorInfo=ubuntu:0.92.2-1 | EN -------------------+----- Pages | 7 Paginator pages | 0 Non-page files | 0 Static files | 13 Processed images | 0 Aliases | 0 Sitemaps | 1 Cleaned | 0 Total in 15 ms /home/maru/IdeaProjects/ratis/ratis-docs [INFO] [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ ratis-docs --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/maru/IdeaProjects/ratis/ratis-docs/src/test/resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ ratis-docs --- [INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:3.0.0-M1:test (default-test) @ ratis-docs --- [INFO] Tests are skipped. [INFO] [INFO] --- maven-jar-plugin:3.2.0:test-jar (default) @ ratis-docs --- [INFO] Building jar: /home/maru/IdeaProjects/ratis/ratis-docs/target/ratis-docs-2.3.0-tests.jar [INFO] [INFO] --- maven-jar-plugin:3.2.0:jar (default-jar) @ ratis-docs --- [INFO] Building jar: /home/maru/IdeaProjects/ratis/ratis-docs/target/ratis-docs-2.3.0.jar [INFO] [INFO] --- maven-site-plugin:3.7.1:attach-descriptor (attach-descriptor) @ ratis-docs --- [INFO] Skipping because packaging 'jar' is not pom. [INFO] [INFO] --------------------< org.apache.ratis:ratis-proto >-------------------- [INFO] Building Apache Ratis Protocols 2.3.0 [3/17] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ ratis-proto --- [INFO] Deleting /home/maru/IdeaProjects/ratis/ratis-proto/target [INFO] [INFO] --- build-helper-maven-plugin:1.9:add-source (add-source) @ ratis-proto --- [INFO] Source directory: /home/maru/IdeaProjects/ratis/ratis-proto/target/generated-sources added. [INFO] [INFO] --- protobuf-maven-plugin:0.5.1:compile (compile-protobuf) @ ratis-proto --- [INFO] Compiling 6 proto file(s) to /home/maru/IdeaProjects/ratis/ratis-proto/target/generated-sources [INFO] [INFO] --- protobuf-maven-plugin:0.5.1:compile-custom (compile-grpc) @ ratis-proto --- [INFO] Compiling 6 proto file(s) to /home/maru/IdeaProjects/ratis/ratis-proto/target/generated-sources [INFO] [INFO] --- replacer:1.5.3:replace (default) @ ratis-proto --- [INFO] Replacement run on 10 files. [INFO] [INFO] --- maven-remote-resources-plugin:1.7.0:process (process-resource-bundles) @ ratis-proto --- [INFO] Preparing remote bundle org.apache:apache-jar-resource-bundle:1.4 [INFO] Copying 3 resources from 1 bundle. [INFO] [INFO] --- buildnumber-maven-plugin:1.4:create-metadata (default) @ ratis-proto --- [INFO] Executing: /bin/sh -c cd '/home/maru/IdeaProjects/ratis/ratis-proto' && 'git' 'rev-parse' '--verify' 'HEAD' [INFO] Working directory: /home/maru/IdeaProjects/ratis/ratis-proto [INFO] [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ ratis-proto --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/maru/IdeaProjects/ratis/ratis-proto/src/main/resources [INFO] Copying 6 resources [INFO] Copying 6 resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ ratis-proto --- [INFO] Compiling 10 source files to /home/maru/IdeaProjects/ratis/ratis-proto/target/classes [INFO] [INFO] --- maven-jar-plugin:3.2.0:jar (default-jar) @ ratis-proto --- [INFO] Building jar: /home/maru/IdeaProjects/ratis/ratis-proto/target/ratis-proto-2.3.0.jar [INFO] [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ ratis-proto --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/maru/IdeaProjects/ratis/ratis-proto/src/test/resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ ratis-proto --- [INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:3.0.0-M1:test (default-test) @ ratis-proto --- [INFO] Tests are skipped. [INFO] [INFO] --- maven-source-plugin:3.2.1:jar-no-fork (attach-sources) @ ratis-proto --- [INFO] Building jar: /home/maru/IdeaProjects/ratis/ratis-proto/target/ratis-proto-2.3.0-sources.jar [INFO] [INFO] --- maven-jar-plugin:3.2.0:test-jar (default) @ ratis-proto --- [INFO] Building jar: /home/maru/IdeaProjects/ratis/ratis-proto/target/ratis-proto-2.3.0-tests.jar [INFO] [INFO] --- maven-site-plugin:3.7.1:attach-descriptor (attach-descriptor) @ ratis-proto --- [INFO] Skipping because packaging 'jar' is not pom. [INFO] [INFO] -------------------< org.apache.ratis:ratis-common >-------------------- [INFO] Building Apache Ratis Common 2.3.0 [4/17] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ ratis-common --- [INFO] Deleting /home/maru/IdeaProjects/ratis/ratis-common/target [INFO] [INFO] --- build-helper-maven-plugin:1.9:add-source (add-source) @ ratis-common --- [INFO] Source directory: /home/maru/IdeaProjects/ratis/ratis-common/target/generated-sources added. [INFO] [INFO] --- maven-remote-resources-plugin:1.7.0:process (process-resource-bundles) @ ratis-common --- [INFO] Preparing remote bundle org.apache:apache-jar-resource-bundle:1.4 [INFO] Copying 3 resources from 1 bundle. [INFO] [INFO] --- buildnumber-maven-plugin:1.4:create-metadata (default) @ ratis-common --- [INFO] Executing: /bin/sh -c cd '/home/maru/IdeaProjects/ratis/ratis-common' && 'git' 'rev-parse' '--verify' 'HEAD' [INFO] Working directory: /home/maru/IdeaProjects/ratis/ratis-common [INFO] [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ ratis-common --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/maru/IdeaProjects/ratis/ratis-common/src/main/resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ ratis-common --- [INFO] Compiling 130 source files to /home/maru/IdeaProjects/ratis/ratis-common/target/classes [INFO] [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ ratis-common --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 1 resource [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ ratis-common --- [INFO] Compiling 7 source files to /home/maru/IdeaProjects/ratis/ratis-common/target/test-classes [INFO] [INFO] --- maven-surefire-plugin:3.0.0-M1:test (default-test) @ ratis-common --- [INFO] Tests are skipped. [INFO] [INFO] --- maven-jar-plugin:3.2.0:test-jar (default) @ ratis-common --- [INFO] Building jar: /home/maru/IdeaProjects/ratis/ratis-common/target/ratis-common-2.3.0-tests.jar [INFO] [INFO] --- maven-jar-plugin:3.2.0:jar (default-jar) @ ratis-common --- [INFO] Building jar: /home/maru/IdeaProjects/ratis/ratis-common/target/ratis-common-2.3.0.jar [INFO] [INFO] --- maven-site-plugin:3.7.1:attach-descriptor (attach-descriptor) @ ratis-common --- [INFO] Skipping because packaging 'jar' is not pom. [INFO] [INFO] -------------------< org.apache.ratis:ratis-client >-------------------- [INFO] Building Apache Ratis Client 2.3.0 [5/17] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ ratis-client --- [INFO] Deleting /home/maru/IdeaProjects/ratis/ratis-client/target [INFO] [INFO] --- build-helper-maven-plugin:1.9:add-source (add-source) @ ratis-client --- [INFO] Source directory: /home/maru/IdeaProjects/ratis/ratis-client/target/generated-sources added. [INFO] [INFO] --- maven-remote-resources-plugin:1.7.0:process (process-resource-bundles) @ ratis-client --- [INFO] Preparing remote bundle org.apache:apache-jar-resource-bundle:1.4 [INFO] Copying 3 resources from 1 bundle. [INFO] [INFO] --- buildnumber-maven-plugin:1.4:create-metadata (default) @ ratis-client --- [INFO] Executing: /bin/sh -c cd '/home/maru/IdeaProjects/ratis/ratis-client' && 'git' 'rev-parse' '--verify' 'HEAD' [INFO] Working directory: /home/maru/IdeaProjects/ratis/ratis-client [INFO] [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ ratis-client --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/maru/IdeaProjects/ratis/ratis-client/src/main/resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ ratis-client --- [INFO] Compiling 40 source files to /home/maru/IdeaProjects/ratis/ratis-client/target/classes [INFO] [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ ratis-client --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/maru/IdeaProjects/ratis/ratis-client/src/test/resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ ratis-client --- [INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:3.0.0-M1:test (default-test) @ ratis-client --- [INFO] Tests are skipped. [INFO] [INFO] --- maven-jar-plugin:3.2.0:test-jar (default) @ ratis-client --- [INFO] Building jar: /home/maru/IdeaProjects/ratis/ratis-client/target/ratis-client-2.3.0-tests.jar [INFO] [INFO] --- maven-jar-plugin:3.2.0:jar (default-jar) @ ratis-client --- [INFO] Building jar: /home/maru/IdeaProjects/ratis/ratis-client/target/ratis-client-2.3.0.jar [INFO] [INFO] --- maven-site-plugin:3.7.1:attach-descriptor (attach-descriptor) @ ratis-client --- [INFO] Skipping because packaging 'jar' is not pom. [INFO] [INFO] -----------------< org.apache.ratis:ratis-server-api >------------------ [INFO] Building Apache Ratis Server API 2.3.0 [6/17] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ ratis-server-api --- [INFO] Deleting /home/maru/IdeaProjects/ratis/ratis-server-api/target [INFO] [INFO] --- build-helper-maven-plugin:1.9:add-source (add-source) @ ratis-server-api --- [INFO] Source directory: /home/maru/IdeaProjects/ratis/ratis-server-api/target/generated-sources added. [INFO] [INFO] --- maven-remote-resources-plugin:1.7.0:process (process-resource-bundles) @ ratis-server-api --- [INFO] Preparing remote bundle org.apache:apache-jar-resource-bundle:1.4 [INFO] Copying 3 resources from 1 bundle. [INFO] [INFO] --- buildnumber-maven-plugin:1.4:create-metadata (default) @ ratis-server-api --- [INFO] Executing: /bin/sh -c cd '/home/maru/IdeaProjects/ratis/ratis-server-api' && 'git' 'rev-parse' '--verify' 'HEAD' [INFO] Working directory: /home/maru/IdeaProjects/ratis/ratis-server-api [INFO] [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ ratis-server-api --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/maru/IdeaProjects/ratis/ratis-server-api/src/main/resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ ratis-server-api --- [INFO] Compiling 37 source files to /home/maru/IdeaProjects/ratis/ratis-server-api/target/classes [INFO] [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ ratis-server-api --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/maru/IdeaProjects/ratis/ratis-server-api/src/test/resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ ratis-server-api --- [INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:3.0.0-M1:test (default-test) @ ratis-server-api --- [INFO] Tests are skipped. [INFO] [INFO] --- maven-jar-plugin:3.2.0:test-jar (default) @ ratis-server-api --- [INFO] Building jar: /home/maru/IdeaProjects/ratis/ratis-server-api/target/ratis-server-api-2.3.0-tests.jar [INFO] [INFO] --- maven-jar-plugin:3.2.0:jar (default-jar) @ ratis-server-api --- [INFO] Building jar: /home/maru/IdeaProjects/ratis/ratis-server-api/target/ratis-server-api-2.3.0.jar [INFO] [INFO] --- maven-site-plugin:3.7.1:attach-descriptor (attach-descriptor) @ ratis-server-api --- [INFO] Skipping because packaging 'jar' is not pom. [INFO] [INFO] -------------------< org.apache.ratis:ratis-metrics >------------------- [INFO] Building Apache Ratis Metrics 2.3.0 [7/17] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ ratis-metrics --- [INFO] Deleting /home/maru/IdeaProjects/ratis/ratis-metrics/target [INFO] [INFO] --- build-helper-maven-plugin:1.9:add-source (add-source) @ ratis-metrics --- [INFO] Source directory: /home/maru/IdeaProjects/ratis/ratis-metrics/target/generated-sources added. [INFO] [INFO] --- maven-remote-resources-plugin:1.7.0:process (process-resource-bundles) @ ratis-metrics --- [INFO] Preparing remote bundle org.apache:apache-jar-resource-bundle:1.4 [INFO] Copying 3 resources from 1 bundle. [INFO] [INFO] --- buildnumber-maven-plugin:1.4:create-metadata (default) @ ratis-metrics --- [INFO] Executing: /bin/sh -c cd '/home/maru/IdeaProjects/ratis/ratis-metrics' && 'git' 'rev-parse' '--verify' 'HEAD' [INFO] Working directory: /home/maru/IdeaProjects/ratis/ratis-metrics [INFO] [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ ratis-metrics --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 1 resource [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ ratis-metrics --- [INFO] Compiling 12 source files to /home/maru/IdeaProjects/ratis/ratis-metrics/target/classes [INFO] [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ ratis-metrics --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 1 resource [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ ratis-metrics --- [INFO] Compiling 2 source files to /home/maru/IdeaProjects/ratis/ratis-metrics/target/test-classes [INFO] [INFO] --- maven-surefire-plugin:3.0.0-M1:test (default-test) @ ratis-metrics --- [INFO] Tests are skipped. [INFO] [INFO] --- maven-jar-plugin:3.2.0:test-jar (default) @ ratis-metrics --- [INFO] Building jar: /home/maru/IdeaProjects/ratis/ratis-metrics/target/ratis-metrics-2.3.0-tests.jar [INFO] [INFO] --- maven-jar-plugin:3.2.0:jar (default-jar) @ ratis-metrics --- [INFO] Building jar: /home/maru/IdeaProjects/ratis/ratis-metrics/target/ratis-metrics-2.3.0.jar [INFO] [INFO] --- maven-site-plugin:3.7.1:attach-descriptor (attach-descriptor) @ ratis-metrics --- [INFO] Skipping because packaging 'jar' is not pom. [INFO] [INFO] -------------------< org.apache.ratis:ratis-server >-------------------- [INFO] Building Apache Ratis Server 2.3.0 [8/17] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ ratis-server --- [INFO] Deleting /home/maru/IdeaProjects/ratis/ratis-server/target [INFO] [INFO] --- build-helper-maven-plugin:1.9:add-source (add-source) @ ratis-server --- [INFO] Source directory: /home/maru/IdeaProjects/ratis/ratis-server/target/generated-sources added. [INFO] [INFO] --- maven-remote-resources-plugin:1.7.0:process (process-resource-bundles) @ ratis-server --- [INFO] Preparing remote bundle org.apache:apache-jar-resource-bundle:1.4 [INFO] Copying 3 resources from 1 bundle. [INFO] [INFO] --- buildnumber-maven-plugin:1.4:create-metadata (default) @ ratis-server --- [INFO] Executing: /bin/sh -c cd '/home/maru/IdeaProjects/ratis/ratis-server' && 'git' 'rev-parse' '--verify' 'HEAD' [INFO] Working directory: /home/maru/IdeaProjects/ratis/ratis-server [INFO] [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ ratis-server --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/maru/IdeaProjects/ratis/ratis-server/src/main/resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ ratis-server --- [INFO] Compiling 66 source files to /home/maru/IdeaProjects/ratis/ratis-server/target/classes [WARNING] /home/maru/IdeaProjects/ratis/ratis-server/src/main/java/org/apache/ratis/server/impl/LeaderStateImpl.java:[1122,44] [deprecation] notifyFollowerSlowness(RoleInfoProto) in LeaderEventApi has been deprecated [INFO] [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ ratis-server --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/maru/IdeaProjects/ratis/ratis-server/src/test/resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ ratis-server --- [INFO] Compiling 42 source files to /home/maru/IdeaProjects/ratis/ratis-server/target/test-classes [WARNING] /home/maru/IdeaProjects/ratis/ratis-server/src/test/java/org/apache/ratis/server/impl/MiniRaftCluster.java:[302,45] [unchecked] unchecked method invocation: method valueOf in class RaftGroup is applied to given types required: RaftGroupId,Collection<RaftPeer> found: RaftGroupId,List [WARNING] /home/maru/IdeaProjects/ratis/ratis-server/src/test/java/org/apache/ratis/server/impl/MiniRaftCluster.java:[303,21] [unchecked] unchecked conversion required: Collection<RaftPeer> found: List [INFO] [INFO] --- maven-surefire-plugin:3.0.0-M1:test (default-test) @ ratis-server --- [INFO] Tests are skipped. [INFO] [INFO] --- maven-jar-plugin:3.2.0:test-jar (default) @ ratis-server --- [INFO] Building jar: /home/maru/IdeaProjects/ratis/ratis-server/target/ratis-server-2.3.0-tests.jar [INFO] [INFO] --- maven-jar-plugin:3.2.0:jar (default-jar) @ ratis-server --- [INFO] Building jar: /home/maru/IdeaProjects/ratis/ratis-server/target/ratis-server-2.3.0.jar [INFO] [INFO] --- maven-site-plugin:3.7.1:attach-descriptor (attach-descriptor) @ ratis-server --- [INFO] Skipping because packaging 'jar' is not pom. [INFO] [INFO] ---------------< org.apache.ratis:ratis-resource-bundle >--------------- [INFO] Building Apache Ratis - Resource Bundle 2.3.0 [9/17] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ ratis-resource-bundle --- [INFO] Deleting /home/maru/IdeaProjects/ratis/ratis-resource-bundle/target [INFO] [INFO] --- build-helper-maven-plugin:1.9:add-source (add-source) @ ratis-resource-bundle --- [INFO] Source directory: /home/maru/IdeaProjects/ratis/ratis-resource-bundle/target/generated-sources added. [INFO] [INFO] --- maven-remote-resources-plugin:1.7.0:process (process-resource-bundles) @ ratis-resource-bundle --- [INFO] Preparing remote bundle org.apache:apache-jar-resource-bundle:1.4 [INFO] Copying 3 resources from 1 bundle. [INFO] [INFO] --- maven-remote-resources-plugin:1.7.0:bundle (build-ratis-resource-bundle) @ ratis-resource-bundle --- [INFO] Writing META-INF/maven/remote-resources.xml descriptor with 2 entries [INFO] [INFO] --- buildnumber-maven-plugin:1.4:create-metadata (default) @ ratis-resource-bundle --- [INFO] Executing: /bin/sh -c cd '/home/maru/IdeaProjects/ratis/ratis-resource-bundle' && 'git' 'rev-parse' '--verify' 'HEAD' [INFO] Working directory: /home/maru/IdeaProjects/ratis/ratis-resource-bundle [INFO] [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ ratis-resource-bundle --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 3 resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ ratis-resource-bundle --- [INFO] No sources to compile [INFO] [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ ratis-resource-bundle --- [INFO] Not copying test resources [INFO] [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ ratis-resource-bundle --- [INFO] Not compiling test sources [INFO] [INFO] --- maven-surefire-plugin:3.0.0-M1:test (default-test) @ ratis-resource-bundle --- [INFO] Tests are skipped. [INFO] [INFO] --- maven-jar-plugin:3.2.0:test-jar (default) @ ratis-resource-bundle --- [INFO] Skipping packaging of the test-jar [INFO] [INFO] --- maven-jar-plugin:3.2.0:jar (default-jar) @ ratis-resource-bundle --- [INFO] Building jar: /home/maru/IdeaProjects/ratis/ratis-resource-bundle/target/ratis-resource-bundle-2.3.0.jar [INFO] [INFO] --- maven-site-plugin:3.7.1:attach-descriptor (attach-descriptor) @ ratis-resource-bundle --- [INFO] Skipping because packaging 'jar' is not pom. [INFO] [INFO] --------------------< org.apache.ratis:ratis-grpc >--------------------- [INFO] Building Apache Ratis gRPC Support 2.3.0 [10/17] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ ratis-grpc --- [INFO] Deleting /home/maru/IdeaProjects/ratis/ratis-grpc/target [INFO] [INFO] --- build-helper-maven-plugin:1.9:add-source (add-source) @ ratis-grpc --- [INFO] Source directory: /home/maru/IdeaProjects/ratis/ratis-grpc/target/generated-sources added. [INFO] [INFO] --- maven-remote-resources-plugin:1.7.0:process (process-resource-bundles) @ ratis-grpc --- [INFO] Preparing remote bundle org.apache:apache-jar-resource-bundle:1.4 [INFO] Copying 3 resources from 1 bundle. [INFO] [INFO] --- buildnumber-maven-plugin:1.4:create-metadata (default) @ ratis-grpc --- [INFO] Executing: /bin/sh -c cd '/home/maru/IdeaProjects/ratis/ratis-grpc' && 'git' 'rev-parse' '--verify' 'HEAD' [INFO] Working directory: /home/maru/IdeaProjects/ratis/ratis-grpc [INFO] [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ ratis-grpc --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/maru/IdeaProjects/ratis/ratis-grpc/src/main/resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ ratis-grpc --- [INFO] Compiling 21 source files to /home/maru/IdeaProjects/ratis/ratis-grpc/target/classes [INFO] [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ ratis-grpc --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/maru/IdeaProjects/ratis/ratis-grpc/src/test/resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ ratis-grpc --- [INFO] Compiling 2 source files to /home/maru/IdeaProjects/ratis/ratis-grpc/target/test-classes [INFO] [INFO] --- maven-surefire-plugin:3.0.0-M1:test (default-test) @ ratis-grpc --- [INFO] Tests are skipped. [INFO] [INFO] --- maven-jar-plugin:3.2.0:test-jar (default) @ ratis-grpc --- [INFO] Building jar: /home/maru/IdeaProjects/ratis/ratis-grpc/target/ratis-grpc-2.3.0-tests.jar [INFO] [INFO] --- maven-jar-plugin:3.2.0:jar (default-jar) @ ratis-grpc --- [INFO] Building jar: /home/maru/IdeaProjects/ratis/ratis-grpc/target/ratis-grpc-2.3.0.jar [INFO] [INFO] --- maven-site-plugin:3.7.1:attach-descriptor (attach-descriptor) @ ratis-grpc --- [INFO] Skipping because packaging 'jar' is not pom. [INFO] [INFO] --------------------< org.apache.ratis:ratis-netty >-------------------- [INFO] Building Apache Ratis Netty Support 2.3.0 [11/17] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ ratis-netty --- [INFO] Deleting /home/maru/IdeaProjects/ratis/ratis-netty/target [INFO] [INFO] --- build-helper-maven-plugin:1.9:add-source (add-source) @ ratis-netty --- [INFO] Source directory: /home/maru/IdeaProjects/ratis/ratis-netty/target/generated-sources added. [INFO] [INFO] --- maven-remote-resources-plugin:1.7.0:process (process-resource-bundles) @ ratis-netty --- [INFO] Preparing remote bundle org.apache:apache-jar-resource-bundle:1.4 [INFO] Copying 3 resources from 1 bundle. [INFO] [INFO] --- buildnumber-maven-plugin:1.4:create-metadata (default) @ ratis-netty --- [INFO] Executing: /bin/sh -c cd '/home/maru/IdeaProjects/ratis/ratis-netty' && 'git' 'rev-parse' '--verify' 'HEAD' [INFO] Working directory: /home/maru/IdeaProjects/ratis/ratis-netty [INFO] [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ ratis-netty --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/maru/IdeaProjects/ratis/ratis-netty/src/main/resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ ratis-netty --- [INFO] Compiling 14 source files to /home/maru/IdeaProjects/ratis/ratis-netty/target/classes [INFO] [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ ratis-netty --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/maru/IdeaProjects/ratis/ratis-netty/src/test/resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ ratis-netty --- [INFO] Compiling 1 source file to /home/maru/IdeaProjects/ratis/ratis-netty/target/test-classes [INFO] [INFO] --- maven-surefire-plugin:3.0.0-M1:test (default-test) @ ratis-netty --- [INFO] Tests are skipped. [INFO] [INFO] --- maven-jar-plugin:3.2.0:test-jar (default) @ ratis-netty --- [INFO] Building jar: /home/maru/IdeaProjects/ratis/ratis-netty/target/ratis-netty-2.3.0-tests.jar [INFO] [INFO] --- maven-jar-plugin:3.2.0:jar (default-jar) @ ratis-netty --- [INFO] Building jar: /home/maru/IdeaProjects/ratis/ratis-netty/target/ratis-netty-2.3.0.jar [INFO] [INFO] --- maven-site-plugin:3.7.1:attach-descriptor (attach-descriptor) @ ratis-netty --- [INFO] Skipping because packaging 'jar' is not pom. [INFO] [INFO] --------------------< org.apache.ratis:ratis-shell >-------------------- [INFO] Building Apache Ratis Shell 2.3.0 [12/17] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ ratis-shell --- [INFO] Deleting /home/maru/IdeaProjects/ratis/ratis-shell/target [INFO] [INFO] --- build-helper-maven-plugin:1.9:add-source (add-source) @ ratis-shell --- [INFO] Source directory: /home/maru/IdeaProjects/ratis/ratis-shell/target/generated-sources added. [INFO] [INFO] --- maven-remote-resources-plugin:1.7.0:process (process-resource-bundles) @ ratis-shell --- [INFO] Preparing remote bundle org.apache:apache-jar-resource-bundle:1.4 [INFO] Copying 3 resources from 1 bundle. [INFO] [INFO] --- buildnumber-maven-plugin:1.4:create-metadata (default) @ ratis-shell --- [INFO] Executing: /bin/sh -c cd '/home/maru/IdeaProjects/ratis/ratis-shell' && 'git' 'rev-parse' '--verify' 'HEAD' [INFO] Working directory: /home/maru/IdeaProjects/ratis/ratis-shell [INFO] [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ ratis-shell --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/maru/IdeaProjects/ratis/ratis-shell/src/main/resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ ratis-shell --- [INFO] Compiling 21 source files to /home/maru/IdeaProjects/ratis/ratis-shell/target/classes [INFO] [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ ratis-shell --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/maru/IdeaProjects/ratis/ratis-shell/src/test/resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ ratis-shell --- [INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:3.0.0-M1:test (default-test) @ ratis-shell --- [INFO] Tests are skipped. [INFO] [INFO] --- maven-jar-plugin:3.2.0:test-jar (default) @ ratis-shell --- [INFO] Building jar: /home/maru/IdeaProjects/ratis/ratis-shell/target/ratis-shell-2.3.0-tests.jar [INFO] [INFO] --- maven-jar-plugin:3.2.0:jar (default-jar) @ ratis-shell --- [INFO] Building jar: /home/maru/IdeaProjects/ratis/ratis-shell/target/ratis-shell-2.3.0.jar [INFO] [INFO] --- maven-site-plugin:3.7.1:attach-descriptor (attach-descriptor) @ ratis-shell --- [INFO] Skipping because packaging 'jar' is not pom. [INFO] [INFO] --- maven-shade-plugin:3.1.1:shade (default) @ ratis-shell --- [INFO] Including org.apache.ratis:ratis-client:jar:2.3.0 in the shaded jar. [INFO] Including org.apache.ratis:ratis-thirdparty-misc:jar:1.0.0 in the shaded jar. [INFO] Including org.apache.ratis:ratis-proto:jar:2.3.0 in the shaded jar. [INFO] Including org.apache.ratis:ratis-common:jar:2.3.0 in the shaded jar. [INFO] Including org.apache.ratis:ratis-grpc:jar:2.3.0 in the shaded jar. [INFO] Including org.apache.ratis:ratis-metrics:jar:2.3.0 in the shaded jar. [INFO] Including io.dropwizard.metrics:metrics-core:jar:3.2.5 in the shaded jar. [INFO] Including org.apache.ratis:ratis-server-api:jar:2.3.0 in the shaded jar. [INFO] Including commons-cli:commons-cli:jar:1.5.0 in the shaded jar. [INFO] Including org.slf4j:slf4j-api:jar:1.7.29 in the shaded jar. [INFO] Including org.slf4j:slf4j-log4j12:jar:1.7.29 in the shaded jar. [INFO] Including log4j:log4j:jar:1.2.17 in the shaded jar. [INFO] Including org.reflections:reflections:jar:0.10.2 in the shaded jar. [INFO] Including org.javassist:javassist:jar:3.28.0-GA in the shaded jar. [INFO] Including com.google.code.findbugs:jsr305:jar:3.0.2 in the shaded jar. [INFO] Replacing /home/maru/IdeaProjects/ratis/ratis-shell/target/ratis-shell-2.3.0-jar-with-dependencies.jar with /home/maru/IdeaProjects/ratis/ratis-shell/target/ratis-shell-2.3.0-shaded.jar [INFO] [INFO] --------------------< org.apache.ratis:ratis-test >--------------------- [INFO] Building Apache Ratis Test 2.3.0 [13/17] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ ratis-test --- [INFO] Deleting /home/maru/IdeaProjects/ratis/ratis-test/target [INFO] [INFO] --- build-helper-maven-plugin:1.9:add-source (add-source) @ ratis-test --- [INFO] Source directory: /home/maru/IdeaProjects/ratis/ratis-test/target/generated-sources added. [INFO] [INFO] --- maven-remote-resources-plugin:1.7.0:process (process-resource-bundles) @ ratis-test --- [INFO] Preparing remote bundle org.apache:apache-jar-resource-bundle:1.4 [INFO] Copying 3 resources from 1 bundle. [INFO] [INFO] --- buildnumber-maven-plugin:1.4:create-metadata (default) @ ratis-test --- [INFO] Executing: /bin/sh -c cd '/home/maru/IdeaProjects/ratis/ratis-test' && 'git' 'rev-parse' '--verify' 'HEAD' [INFO] Working directory: /home/maru/IdeaProjects/ratis/ratis-test [INFO] [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ ratis-test --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/maru/IdeaProjects/ratis/ratis-test/src/main/resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ ratis-test --- [INFO] No sources to compile [INFO] [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ ratis-test --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 13 resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ ratis-test --- [INFO] Compiling 110 source files to /home/maru/IdeaProjects/ratis/ratis-test/target/test-classes [WARNING] /home/maru/IdeaProjects/ratis/ratis-test/src/test/java/org/apache/ratis/datastream/TestDataStreamDisabled.java:[35,62] [deprecation] none() in ExpectedException has been deprecated [INFO] [INFO] --- maven-surefire-plugin:3.0.0-M1:test (default-test) @ ratis-test --- [INFO] Tests are skipped. [INFO] [INFO] --- maven-jar-plugin:3.2.0:test-jar (default) @ ratis-test --- [INFO] Building jar: /home/maru/IdeaProjects/ratis/ratis-test/target/ratis-test-2.3.0-tests.jar [INFO] [INFO] --- maven-jar-plugin:3.2.0:jar (default-jar) @ ratis-test --- [INFO] Building jar: /home/maru/IdeaProjects/ratis/ratis-test/target/ratis-test-2.3.0.jar [INFO] [INFO] --- maven-site-plugin:3.7.1:attach-descriptor (attach-descriptor) @ ratis-test --- [INFO] Skipping because packaging 'jar' is not pom. [INFO] [INFO] --------------------< org.apache.ratis:ratis-tools >-------------------- [INFO] Building Apache Ratis Tools 2.3.0 [14/17] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ ratis-tools --- [INFO] Deleting /home/maru/IdeaProjects/ratis/ratis-tools/target [INFO] [INFO] --- build-helper-maven-plugin:1.9:add-source (add-source) @ ratis-tools --- [INFO] Source directory: /home/maru/IdeaProjects/ratis/ratis-tools/target/generated-sources added. [INFO] [INFO] --- maven-remote-resources-plugin:1.7.0:process (process-resource-bundles) @ ratis-tools --- [INFO] Preparing remote bundle org.apache:apache-jar-resource-bundle:1.4 [INFO] Copying 3 resources from 1 bundle. [INFO] [INFO] --- buildnumber-maven-plugin:1.4:create-metadata (default) @ ratis-tools --- [INFO] Executing: /bin/sh -c cd '/home/maru/IdeaProjects/ratis/ratis-tools' && 'git' 'rev-parse' '--verify' 'HEAD' [INFO] Working directory: /home/maru/IdeaProjects/ratis/ratis-tools [INFO] [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ ratis-tools --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/maru/IdeaProjects/ratis/ratis-tools/src/main/resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ ratis-tools --- [INFO] Compiling 2 source files to /home/maru/IdeaProjects/ratis/ratis-tools/target/classes [INFO] [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ ratis-tools --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/maru/IdeaProjects/ratis/ratis-tools/src/test/resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ ratis-tools --- [INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:3.0.0-M1:test (default-test) @ ratis-tools --- [INFO] Tests are skipped. [INFO] [INFO] --- maven-jar-plugin:3.2.0:test-jar (default) @ ratis-tools --- [INFO] Building jar: /home/maru/IdeaProjects/ratis/ratis-tools/target/ratis-tools-2.3.0-tests.jar [INFO] [INFO] --- maven-jar-plugin:3.2.0:jar (default-jar) @ ratis-tools --- [INFO] Building jar: /home/maru/IdeaProjects/ratis/ratis-tools/target/ratis-tools-2.3.0.jar [INFO] [INFO] --- maven-site-plugin:3.7.1:attach-descriptor (attach-descriptor) @ ratis-tools --- [INFO] Skipping because packaging 'jar' is not pom. [INFO] [INFO] ------------------< org.apache.ratis:ratis-examples >------------------- [INFO] Building Apache Ratis Examples 2.3.0 [15/17] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ ratis-examples --- [INFO] Deleting /home/maru/IdeaProjects/ratis/ratis-examples/target [INFO] [INFO] --- build-helper-maven-plugin:1.9:add-source (add-source) @ ratis-examples --- [INFO] Source directory: /home/maru/IdeaProjects/ratis/ratis-examples/target/generated-sources added. [INFO] [INFO] --- maven-remote-resources-plugin:1.7.0:process (process-resource-bundles) @ ratis-examples --- [INFO] Preparing remote bundle org.apache:apache-jar-resource-bundle:1.4 [INFO] Copying 3 resources from 1 bundle. [INFO] [INFO] --- buildnumber-maven-plugin:1.4:create-metadata (default) @ ratis-examples --- [INFO] Executing: /bin/sh -c cd '/home/maru/IdeaProjects/ratis/ratis-examples' && 'git' 'rev-parse' '--verify' 'HEAD' [INFO] Working directory: /home/maru/IdeaProjects/ratis/ratis-examples [INFO] [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ ratis-examples --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 2 resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ ratis-examples --- [INFO] Compiling 32 source files to /home/maru/IdeaProjects/ratis/ratis-examples/target/classes [INFO] [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ ratis-examples --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 1 resource [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ ratis-examples --- [INFO] Compiling 16 source files to /home/maru/IdeaProjects/ratis/ratis-examples/target/test-classes [INFO] [INFO] --- maven-surefire-plugin:3.0.0-M1:test (default-test) @ ratis-examples --- [INFO] Tests are skipped. [INFO] [INFO] --- maven-jar-plugin:3.2.0:test-jar (default) @ ratis-examples --- [INFO] Building jar: /home/maru/IdeaProjects/ratis/ratis-examples/target/ratis-examples-2.3.0-tests.jar [INFO] [INFO] --- maven-jar-plugin:3.2.0:jar (default-jar) @ ratis-examples --- [INFO] Building jar: /home/maru/IdeaProjects/ratis/ratis-examples/target/ratis-examples-2.3.0.jar [INFO] [INFO] --- maven-site-plugin:3.7.1:attach-descriptor (attach-descriptor) @ ratis-examples --- [INFO] Skipping because packaging 'jar' is not pom. [INFO] [INFO] --- maven-shade-plugin:3.1.1:shade (default) @ ratis-examples --- [INFO] Including org.apache.ratis:ratis-thirdparty-misc:jar:1.0.0 in the shaded jar. [INFO] Including org.apache.ratis:ratis-proto:jar:2.3.0 in the shaded jar. [INFO] Including org.apache.ratis:ratis-tools:jar:2.3.0 in the shaded jar. [INFO] Including org.apache.ratis:ratis-common:jar:2.3.0 in the shaded jar. [INFO] Including org.apache.ratis:ratis-client:jar:2.3.0 in the shaded jar. [INFO] Including org.apache.ratis:ratis-server:jar:2.3.0 in the shaded jar. [INFO] Including org.apache.ratis:ratis-server-api:jar:2.3.0 in the shaded jar. [INFO] Including org.apache.ratis:ratis-metrics:jar:2.3.0 in the shaded jar. [INFO] Including org.apache.ratis:ratis-grpc:jar:2.3.0 in the shaded jar. [INFO] Including org.apache.ratis:ratis-netty:jar:2.3.0 in the shaded jar. [INFO] Including com.beust:jcommander:jar:1.72 in the shaded jar. [INFO] Including io.dropwizard.metrics:metrics-jvm:jar:3.2.5 in the shaded jar. [INFO] Including io.dropwizard.metrics:metrics-core:jar:3.2.5 in the shaded jar. [INFO] Including org.slf4j:slf4j-api:jar:1.7.29 in the shaded jar. [INFO] Including org.slf4j:slf4j-log4j12:jar:1.7.29 in the shaded jar. [INFO] Including log4j:log4j:jar:1.2.17 in the shaded jar. [INFO] Attaching shaded artifact. [INFO] [INFO] --- copy-rename-maven-plugin:1.0:copy (copy-file) @ ratis-examples --- [INFO] Copied /home/maru/IdeaProjects/ratis/ratis-examples/target/ratis-examples-2.3.0-shaded.jar to /home/maru/IdeaProjects/ratis/ratis-examples/target/ratis-examples-2.3.0.jar [INFO] [INFO] ---------------< org.apache.ratis:ratis-replicated-map >---------------- [INFO] Building Apache Ratis Replicated Map 2.3.0 [16/17] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ ratis-replicated-map --- [INFO] Deleting /home/maru/IdeaProjects/ratis/ratis-replicated-map/target [INFO] [INFO] --- build-helper-maven-plugin:1.9:add-source (add-source) @ ratis-replicated-map --- [INFO] Source directory: /home/maru/IdeaProjects/ratis/ratis-replicated-map/target/generated-sources added. [INFO] [INFO] --- maven-remote-resources-plugin:1.7.0:process (process-resource-bundles) @ ratis-replicated-map --- [INFO] Preparing remote bundle org.apache:apache-jar-resource-bundle:1.4 [INFO] Copying 3 resources from 1 bundle. [INFO] [INFO] --- buildnumber-maven-plugin:1.4:create-metadata (default) @ ratis-replicated-map --- [INFO] Executing: /bin/sh -c cd '/home/maru/IdeaProjects/ratis/ratis-replicated-map' && 'git' 'rev-parse' '--verify' 'HEAD' [INFO] Working directory: /home/maru/IdeaProjects/ratis/ratis-replicated-map [INFO] [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ ratis-replicated-map --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/maru/IdeaProjects/ratis/ratis-replicated-map/src/main/resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ ratis-replicated-map --- [INFO] No sources to compile [INFO] [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ ratis-replicated-map --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 1 resource [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ ratis-replicated-map --- [INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:3.0.0-M1:test (default-test) @ ratis-replicated-map --- [INFO] Tests are skipped. [INFO] [INFO] --- maven-jar-plugin:3.2.0:test-jar (default) @ ratis-replicated-map --- [INFO] Building jar: /home/maru/IdeaProjects/ratis/ratis-replicated-map/target/ratis-replicated-map-2.3.0-tests.jar [INFO] [INFO] --- maven-jar-plugin:3.2.0:jar (default-jar) @ ratis-replicated-map --- [INFO] Building jar: /home/maru/IdeaProjects/ratis/ratis-replicated-map/target/ratis-replicated-map-2.3.0.jar [INFO] [INFO] --- maven-site-plugin:3.7.1:attach-descriptor (attach-descriptor) @ ratis-replicated-map --- [INFO] Skipping because packaging 'jar' is not pom. [INFO] [INFO] ------------------< org.apache.ratis:ratis-assembly >------------------- [INFO] Building Apache Ratis Project Assembly 2.3.0 [17/17] [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ ratis-assembly --- [INFO] Deleting /home/maru/IdeaProjects/ratis/ratis-assembly/target [INFO] [INFO] --- build-helper-maven-plugin:1.9:add-source (add-source) @ ratis-assembly --- [INFO] Source directory: /home/maru/IdeaProjects/ratis/ratis-assembly/target/generated-sources added. [INFO] [INFO] --- maven-remote-resources-plugin:1.7.0:process (process-resource-bundles) @ ratis-assembly --- [INFO] Preparing remote bundle org.apache:apache-jar-resource-bundle:1.4 [INFO] Copying 3 resources from 1 bundle. [INFO] [INFO] --- maven-remote-resources-plugin:1.7.0:process (process-remote-resources) @ ratis-assembly --- [INFO] Preparing remote bundle org.apache.ratis:ratis-resource-bundle:2.3.0 [INFO] Preparing remote bundle org.apache.ratis:ratis-resource-bundle:2.3.0 [INFO] Copying 2 resources from 1 bundle. [INFO] [INFO] --- buildnumber-maven-plugin:1.4:create-metadata (default) @ ratis-assembly --- [INFO] Executing: /bin/sh -c cd '/home/maru/IdeaProjects/ratis/ratis-assembly' && 'git' 'rev-parse' '--verify' 'HEAD' [INFO] Working directory: /home/maru/IdeaProjects/ratis/ratis-assembly [INFO] [INFO] --- maven-dependency-plugin:3.1.1:build-classpath (create-ratis-generated-classpath) @ ratis-assembly --- [INFO] Wrote classpath file '/home/maru/IdeaProjects/ratis/target/cached_classpath.txt'. [INFO] [INFO] --- maven-jar-plugin:3.2.0:test-jar (default) @ ratis-assembly --- [INFO] Skipping packaging of the test-jar [INFO] [INFO] --- maven-jar-plugin:3.2.0:jar (prepare-jar) @ ratis-assembly --- [INFO] Building jar: /home/maru/IdeaProjects/ratis/ratis-assembly/target/ratis-assembly-2.3.0.jar [INFO] [INFO] --- maven-jar-plugin:3.2.0:test-jar (prepare-test-jar) @ ratis-assembly --- [INFO] Skipping packaging of the test-jar [INFO] [INFO] --- maven-source-plugin:3.2.1:jar-no-fork (attach-sources) @ ratis-assembly --- [INFO] [INFO] >>> maven-source-plugin:3.2.1:jar (default) > generate-sources @ ratis-assembly >>> [INFO] [INFO] --- build-helper-maven-plugin:1.9:add-source (add-source) @ ratis-assembly --- [INFO] Source directory: /home/maru/IdeaProjects/ratis/ratis-assembly/target/generated-sources added. [INFO] [INFO] <<< maven-source-plugin:3.2.1:jar (default) < generate-sources @ ratis-assembly <<< [INFO] [INFO] [INFO] --- maven-source-plugin:3.2.1:jar (default) @ ratis-assembly --- [INFO] [INFO] >>> maven-source-plugin:3.2.1:test-jar (default) > generate-sources @ ratis-assembly >>> [INFO] [INFO] --- build-helper-maven-plugin:1.9:add-source (add-source) @ ratis-assembly --- [INFO] Source directory: /home/maru/IdeaProjects/ratis/ratis-assembly/target/generated-sources added. [INFO] [INFO] <<< maven-source-plugin:3.2.1:test-jar (default) < generate-sources @ ratis-assembly <<< [INFO] [INFO] [INFO] --- maven-source-plugin:3.2.1:test-jar (default) @ ratis-assembly --- [INFO] [INFO] --- maven-site-plugin:3.7.1:attach-descriptor (attach-descriptor) @ ratis-assembly --- [INFO] No site descriptor found: nothing to attach. [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for Apache Ratis 2.3.0: [INFO] [INFO] Apache Ratis ....................................... SUCCESS [ 0.994 s] [INFO] Apache Ratis Documentation ......................... SUCCESS [ 0.432 s] [INFO] Apache Ratis Protocols ............................. SUCCESS [ 3.340 s] [INFO] Apache Ratis Common ................................ SUCCESS [ 1.781 s] [INFO] Apache Ratis Client ................................ SUCCESS [ 0.799 s] [INFO] Apache Ratis Server API ............................ SUCCESS [ 0.744 s] [INFO] Apache Ratis Metrics ............................... SUCCESS [ 0.902 s] [INFO] Apache Ratis Server ................................ SUCCESS [ 2.696 s] [INFO] Apache Ratis - Resource Bundle ..................... SUCCESS [ 0.060 s] [INFO] Apache Ratis gRPC Support .......................... SUCCESS [ 1.282 s] [INFO] Apache Ratis Netty Support ......................... SUCCESS [ 1.095 s] [INFO] Apache Ratis Shell ................................. SUCCESS [ 2.319 s] [INFO] Apache Ratis Test .................................. SUCCESS [ 1.313 s] [INFO] Apache Ratis Tools ................................. SUCCESS [ 0.389 s] [INFO] Apache Ratis Examples .............................. SUCCESS [ 2.932 s] [INFO] Apache Ratis Replicated Map ........................ SUCCESS [ 0.045 s] [INFO] Apache Ratis Project Assembly ...................... SUCCESS [ 0.252 s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 21.810 s [INFO] Finished at: 2022-07-29T17:35:02+09:00 [INFO] ------------------------------------------------------------------------ ~/IdeaProjects/ratis release-2.3.0* maru@s500plus 23s ❯ mvn test [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Detecting the operating system and CPU architecture [INFO] ------------------------------------------------------------------------ [INFO] os.detected.name: linux [INFO] os.detected.arch: x86_64 [INFO] os.detected.version: 5.15 [INFO] os.detected.version.major: 5 [INFO] os.detected.version.minor: 15 [INFO] os.detected.release: ubuntu [INFO] os.detected.release.version: 22.04 [INFO] os.detected.release.like.ubuntu: true [INFO] os.detected.release.like.debian: true [INFO] os.detected.classifier: linux-x86_64 [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] Apache Ratis [pom] [INFO] Apache Ratis Documentation [jar] [INFO] Apache Ratis Protocols [jar] [INFO] Apache Ratis Common [jar] [INFO] Apache Ratis Client [jar] [INFO] Apache Ratis Server API [jar] [INFO] Apache Ratis Metrics [jar] [INFO] Apache Ratis Server [jar] [INFO] Apache Ratis - Resource Bundle [jar] [INFO] Apache Ratis gRPC Support [jar] [INFO] Apache Ratis Netty Support [jar] [INFO] Apache Ratis Shell [jar] [INFO] Apache Ratis Test [jar] [INFO] Apache Ratis Tools [jar] [INFO] Apache Ratis Examples [jar] [INFO] Apache Ratis Replicated Map [jar] [INFO] Apache Ratis Project Assembly [pom] [INFO] [INFO] -----------------------< org.apache.ratis:ratis >----------------------- [INFO] Building Apache Ratis 2.3.0 [1/17] [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven-version) @ ratis --- [INFO] [INFO] --- maven-enforcer-plugin:1.4.1:enforce (default) @ ratis --- [INFO] [INFO] --- build-helper-maven-plugin:1.9:add-source (add-source) @ ratis --- [INFO] Source directory: /home/maru/IdeaProjects/ratis/target/generated-sources added. [INFO] [INFO] --- maven-remote-resources-plugin:1.7.0:process (process-resource-bundles) @ ratis --- [INFO] Preparing remote bundle org.apache:apache-jar-resource-bundle:1.4 [INFO] Copying 3 resources from 1 bundle. [INFO] [INFO] --- buildnumber-maven-plugin:1.4:create-metadata (default) @ ratis --- [INFO] Executing: /bin/sh -c cd '/home/maru/IdeaProjects/ratis' && 'git' 'rev-parse' '--verify' 'HEAD' [INFO] Working directory: /home/maru/IdeaProjects/ratis [INFO] [INFO] --------------------< org.apache.ratis:ratis-docs >--------------------- [INFO] Building Apache Ratis Documentation 2.3.0 [2/17] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- build-helper-maven-plugin:1.9:add-source (add-source) @ ratis-docs --- [INFO] Source directory: /home/maru/IdeaProjects/ratis/ratis-docs/target/generated-sources added. [INFO] [INFO] --- maven-remote-resources-plugin:1.7.0:process (process-resource-bundles) @ ratis-docs --- [INFO] Preparing remote bundle org.apache:apache-jar-resource-bundle:1.4 [INFO] Copying 3 resources from 1 bundle. [INFO] [INFO] --- buildnumber-maven-plugin:1.4:create-metadata (default) @ ratis-docs --- [INFO] Executing: /bin/sh -c cd '/home/maru/IdeaProjects/ratis/ratis-docs' && 'git' 'rev-parse' '--verify' 'HEAD' [INFO] Working directory: /home/maru/IdeaProjects/ratis/ratis-docs [INFO] [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ ratis-docs --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/maru/IdeaProjects/ratis/ratis-docs/src/main/resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ ratis-docs --- [INFO] No sources to compile [INFO] [INFO] --- exec-maven-plugin:1.6.0:exec (default) @ ratis-docs --- Start building sites … hugo v0.92.2+extended linux/amd64 BuildDate=2022-02-23T16:47:50Z VendorInfo=ubuntu:0.92.2-1 | EN -------------------+----- Pages | 7 Paginator pages | 0 Non-page files | 0 Static files | 13 Processed images | 0 Aliases | 0 Sitemaps | 1 Cleaned | 0 Total in 17 ms /home/maru/IdeaProjects/ratis/ratis-docs [INFO] [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ ratis-docs --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/maru/IdeaProjects/ratis/ratis-docs/src/test/resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ ratis-docs --- [INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:3.0.0-M1:test (default-test) @ ratis-docs --- [INFO] [INFO] --------------------< org.apache.ratis:ratis-proto >-------------------- [INFO] Building Apache Ratis Protocols 2.3.0 [3/17] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- build-helper-maven-plugin:1.9:add-source (add-source) @ ratis-proto --- [INFO] Source directory: /home/maru/IdeaProjects/ratis/ratis-proto/target/generated-sources added. [INFO] [INFO] --- protobuf-maven-plugin:0.5.1:compile (compile-protobuf) @ ratis-proto --- [INFO] Compiling 6 proto file(s) to /home/maru/IdeaProjects/ratis/ratis-proto/target/generated-sources [INFO] [INFO] --- protobuf-maven-plugin:0.5.1:compile-custom (compile-grpc) @ ratis-proto --- [INFO] Compiling 6 proto file(s) to /home/maru/IdeaProjects/ratis/ratis-proto/target/generated-sources [INFO] [INFO] --- replacer:1.5.3:replace (default) @ ratis-proto --- [INFO] Replacement run on 10 files. [INFO] [INFO] --- maven-remote-resources-plugin:1.7.0:process (process-resource-bundles) @ ratis-proto --- [INFO] Preparing remote bundle org.apache:apache-jar-resource-bundle:1.4 [INFO] Copying 3 resources from 1 bundle. [INFO] [INFO] --- buildnumber-maven-plugin:1.4:create-metadata (default) @ ratis-proto --- [INFO] Executing: /bin/sh -c cd '/home/maru/IdeaProjects/ratis/ratis-proto' && 'git' 'rev-parse' '--verify' 'HEAD' [INFO] Working directory: /home/maru/IdeaProjects/ratis/ratis-proto [INFO] [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ ratis-proto --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/maru/IdeaProjects/ratis/ratis-proto/src/main/resources [INFO] Copying 6 resources [INFO] Copying 6 resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ ratis-proto --- [INFO] Compiling 10 source files to /home/maru/IdeaProjects/ratis/ratis-proto/target/classes [INFO] [INFO] --- maven-jar-plugin:3.2.0:jar (default-jar) @ ratis-proto --- [INFO] Building jar: /home/maru/IdeaProjects/ratis/ratis-proto/target/ratis-proto-2.3.0.jar [INFO] [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ ratis-proto --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/maru/IdeaProjects/ratis/ratis-proto/src/test/resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ ratis-proto --- [INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:3.0.0-M1:test (default-test) @ ratis-proto --- [INFO] [INFO] -------------------< org.apache.ratis:ratis-common >-------------------- [INFO] Building Apache Ratis Common 2.3.0 [4/17] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- build-helper-maven-plugin:1.9:add-source (add-source) @ ratis-common --- [INFO] Source directory: /home/maru/IdeaProjects/ratis/ratis-common/target/generated-sources added. [INFO] [INFO] --- maven-remote-resources-plugin:1.7.0:process (process-resource-bundles) @ ratis-common --- [INFO] Preparing remote bundle org.apache:apache-jar-resource-bundle:1.4 [INFO] Copying 3 resources from 1 bundle. [INFO] [INFO] --- buildnumber-maven-plugin:1.4:create-metadata (default) @ ratis-common --- [INFO] Executing: /bin/sh -c cd '/home/maru/IdeaProjects/ratis/ratis-common' && 'git' 'rev-parse' '--verify' 'HEAD' [INFO] Working directory: /home/maru/IdeaProjects/ratis/ratis-common [INFO] [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ ratis-common --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/maru/IdeaProjects/ratis/ratis-common/src/main/resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ ratis-common --- [INFO] Nothing to compile - all classes are up to date [INFO] [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ ratis-common --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 1 resource [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ ratis-common --- [INFO] Nothing to compile - all classes are up to date [INFO] [INFO] --- maven-surefire-plugin:3.0.0-M1:test (default-test) @ ratis-common --- [INFO] [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- [INFO] Running org.apache.ratis.util.TestFileUtils [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.072 s - in org.apache.ratis.util.TestFileUtils [INFO] Running org.apache.ratis.util.TestTaskQueue [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.221 s - in org.apache.ratis.util.TestTaskQueue [INFO] Running org.apache.ratis.util.TestNetUtils [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.098 s - in org.apache.ratis.util.TestNetUtils [INFO] [INFO] Results: [INFO] [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0 [INFO] [INFO] [INFO] -------------------< org.apache.ratis:ratis-client >-------------------- [INFO] Building Apache Ratis Client 2.3.0 [5/17] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- build-helper-maven-plugin:1.9:add-source (add-source) @ ratis-client --- [INFO] Source directory: /home/maru/IdeaProjects/ratis/ratis-client/target/generated-sources added. [INFO] [INFO] --- maven-remote-resources-plugin:1.7.0:process (process-resource-bundles) @ ratis-client --- [INFO] Preparing remote bundle org.apache:apache-jar-resource-bundle:1.4 [INFO] Copying 3 resources from 1 bundle. [INFO] [INFO] --- buildnumber-maven-plugin:1.4:create-metadata (default) @ ratis-client --- [INFO] Executing: /bin/sh -c cd '/home/maru/IdeaProjects/ratis/ratis-client' && 'git' 'rev-parse' '--verify' 'HEAD' [INFO] Working directory: /home/maru/IdeaProjects/ratis/ratis-client [INFO] [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ ratis-client --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/maru/IdeaProjects/ratis/ratis-client/src/main/resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ ratis-client --- [INFO] Nothing to compile - all classes are up to date [INFO] [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ ratis-client --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/maru/IdeaProjects/ratis/ratis-client/src/test/resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ ratis-client --- [INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:3.0.0-M1:test (default-test) @ ratis-client --- [INFO] [INFO] -----------------< org.apache.ratis:ratis-server-api >------------------ [INFO] Building Apache Ratis Server API 2.3.0 [6/17] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- build-helper-maven-plugin:1.9:add-source (add-source) @ ratis-server-api --- [INFO] Source directory: /home/maru/IdeaProjects/ratis/ratis-server-api/target/generated-sources added. [INFO] [INFO] --- maven-remote-resources-plugin:1.7.0:process (process-resource-bundles) @ ratis-server-api --- [INFO] Preparing remote bundle org.apache:apache-jar-resource-bundle:1.4 [INFO] Copying 3 resources from 1 bundle. [INFO] [INFO] --- buildnumber-maven-plugin:1.4:create-metadata (default) @ ratis-server-api --- [INFO] Executing: /bin/sh -c cd '/home/maru/IdeaProjects/ratis/ratis-server-api' && 'git' 'rev-parse' '--verify' 'HEAD' [INFO] Working directory: /home/maru/IdeaProjects/ratis/ratis-server-api [INFO] [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ ratis-server-api --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/maru/IdeaProjects/ratis/ratis-server-api/src/main/resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ ratis-server-api --- [INFO] Nothing to compile - all classes are up to date [INFO] [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ ratis-server-api --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/maru/IdeaProjects/ratis/ratis-server-api/src/test/resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ ratis-server-api --- [INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:3.0.0-M1:test (default-test) @ ratis-server-api --- [INFO] [INFO] -------------------< org.apache.ratis:ratis-metrics >------------------- [INFO] Building Apache Ratis Metrics 2.3.0 [7/17] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- build-helper-maven-plugin:1.9:add-source (add-source) @ ratis-metrics --- [INFO] Source directory: /home/maru/IdeaProjects/ratis/ratis-metrics/target/generated-sources added. [INFO] [INFO] --- maven-remote-resources-plugin:1.7.0:process (process-resource-bundles) @ ratis-metrics --- [INFO] Preparing remote bundle org.apache:apache-jar-resource-bundle:1.4 [INFO] Copying 3 resources from 1 bundle. [INFO] [INFO] --- buildnumber-maven-plugin:1.4:create-metadata (default) @ ratis-metrics --- [INFO] Executing: /bin/sh -c cd '/home/maru/IdeaProjects/ratis/ratis-metrics' && 'git' 'rev-parse' '--verify' 'HEAD' [INFO] Working directory: /home/maru/IdeaProjects/ratis/ratis-metrics [INFO] [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ ratis-metrics --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 1 resource [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ ratis-metrics --- [INFO] Nothing to compile - all classes are up to date [INFO] [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ ratis-metrics --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 1 resource [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ ratis-metrics --- [INFO] Nothing to compile - all classes are up to date [INFO] [INFO] --- maven-surefire-plugin:3.0.0-M1:test (default-test) @ ratis-metrics --- [INFO] [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- [INFO] Running org.apache.ratis.metrics.impl.TestRefCountingMap [INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.044 s - in org.apache.ratis.metrics.impl.TestRefCountingMap [INFO] Running org.apache.ratis.metrics.TestMetricRegistriesLoader [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.287 s - in org.apache.ratis.metrics.TestMetricRegistriesLoader [INFO] [INFO] Results: [INFO] [INFO] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0 [INFO] [INFO] [INFO] -------------------< org.apache.ratis:ratis-server >-------------------- [INFO] Building Apache Ratis Server 2.3.0 [8/17] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- build-helper-maven-plugin:1.9:add-source (add-source) @ ratis-server --- [INFO] Source directory: /home/maru/IdeaProjects/ratis/ratis-server/target/generated-sources added. [INFO] [INFO] --- maven-remote-resources-plugin:1.7.0:process (process-resource-bundles) @ ratis-server --- [INFO] Preparing remote bundle org.apache:apache-jar-resource-bundle:1.4 [INFO] Copying 3 resources from 1 bundle. [INFO] [INFO] --- buildnumber-maven-plugin:1.4:create-metadata (default) @ ratis-server --- [INFO] Executing: /bin/sh -c cd '/home/maru/IdeaProjects/ratis/ratis-server' && 'git' 'rev-parse' '--verify' 'HEAD' [INFO] Working directory: /home/maru/IdeaProjects/ratis/ratis-server [INFO] [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ ratis-server --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/maru/IdeaProjects/ratis/ratis-server/src/main/resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ ratis-server --- [INFO] Nothing to compile - all classes are up to date [INFO] [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ ratis-server --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/maru/IdeaProjects/ratis/ratis-server/src/test/resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ ratis-server --- [INFO] Nothing to compile - all classes are up to date [INFO] [INFO] --- maven-surefire-plugin:3.0.0-M1:test (default-test) @ ratis-server --- [INFO] [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- [INFO] Running org.apache.ratis.server.metrics.TestLeaderElectionMetrics [ERROR] Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.143 s <<< FAILURE! - in org.apache.ratis.server.metrics.TestLeaderElectionMetrics [ERROR] testOnLeaderElectionCompletion(org.apache.ratis.server.metrics.TestLeaderElectionMetrics) Time elapsed: 0.009 s <<< FAILURE! java.lang.AssertionError at org.junit.Assert.fail(Assert.java:87) at org.junit.Assert.assertTrue(Assert.java:42) at org.junit.Assert.assertTrue(Assert.java:53) at org.apache.ratis.server.metrics.TestLeaderElectionMetrics.testOnLeaderElectionCompletion(TestLeaderElectionMetrics.java:56) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [INFO] Running org.apache.ratis.server.impl.TestRetryCacheMetrics [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.164 s - in org.apache.ratis.server.impl.TestRetryCacheMetrics [INFO] Running org.apache.ratis.server.impl.TestLogAppenderMetrics [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.147 s - in org.apache.ratis.server.impl.TestLogAppenderMetrics [INFO] [INFO] Results: [INFO] [ERROR] Failures: [ERROR] TestLeaderElectionMetrics.testOnLeaderElectionCompletion:56 [INFO] [ERROR] Tests run: 5, Failures: 1, Errors: 0, Skipped: 0 [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for Apache Ratis 2.3.0: [INFO] [INFO] Apache Ratis ....................................... SUCCESS [ 0.686 s] [INFO] Apache Ratis Documentation ......................... SUCCESS [ 0.307 s] [INFO] Apache Ratis Protocols ............................. SUCCESS [ 3.389 s] [INFO] Apache Ratis Common ................................ SUCCESS [ 1.920 s] [INFO] Apache Ratis Client ................................ SUCCESS [ 0.037 s] [INFO] Apache Ratis Server API ............................ SUCCESS [ 0.047 s] [INFO] Apache Ratis Metrics ............................... SUCCESS [ 1.315 s] [INFO] Apache Ratis Server ................................ FAILURE [ 1.908 s] [INFO] Apache Ratis - Resource Bundle ..................... SKIPPED [INFO] Apache Ratis gRPC Support .......................... SKIPPED [INFO] Apache Ratis Netty Support ......................... SKIPPED [INFO] Apache Ratis Shell ................................. SKIPPED [INFO] Apache Ratis Test .................................. SKIPPED [INFO] Apache Ratis Tools ................................. SKIPPED [INFO] Apache Ratis Examples .............................. SKIPPED [INFO] Apache Ratis Replicated Map ........................ SKIPPED [INFO] Apache Ratis Project Assembly ...................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 10.048 s [INFO] Finished at: 2022-07-29T17:35:17+09:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M1:test (default-test) on project ratis-server: There are test failures. [ERROR] [ERROR] Please refer to /home/maru/IdeaProjects/ratis/ratis-server/target/surefire-reports for the individual test results. [ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream. [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 [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <args> -rf :ratis-server
Attachments
Issue Links
- duplicates
-
RATIS-1621 TestLeaderElectionMetrics.testOnLeaderElectionCompletion fails sometimes
- Resolved