alibaba / Sentinel

A powerful flow control component enabling reliability, resilience and monitoring for microservices. (面向云原生微服务的高可用流控防护组件)
https://sentinelguard.io/
Apache License 2.0
22.29k stars 7.99k forks source link

package sentinel jar using jdk17 failed #2797

Open stardustman opened 2 years ago

stardustman commented 2 years ago

Issue Description

Type: bug report or feature request

Describe what happened (or what feature you want)

I package the jar on my windows11 using jdk17, but it failed.

[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for com.alibaba.csp:sentinel-annotation-quarkus-adapter-deployment:jar:1.8.4
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: io.quarkus:quarkus-arc-deployment:jar -> duplicate declaration of version (?) @ line 47, column 21
[WARNING]
[WARNING] Some problems were encountered while building the effective model for com.alibaba.csp:sentinel-demo-log-logback:jar:1.8.4
[WARNING] 'dependencies.dependency.version' for com.github.stefanbirkner:system-rules:jar is either LATEST or RELEASE (both of them are being deprecated) @ line 40, column 22
[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] Detecting the operating system and CPU architecture
[INFO] ------------------------------------------------------------------------
[INFO] os.detected.name: windows
[INFO] os.detected.arch: x86_64
[INFO] os.detected.version: 10.0
[INFO] os.detected.version.major: 10
[INFO] os.detected.version.minor: 0
[INFO] os.detected.classifier: windows-x86_64
[INFO] ------------------------------------------------------------------------
[INFO] Detecting the operating system and CPU architecture
[INFO] ------------------------------------------------------------------------
[INFO] os.detected.name: windows
[INFO] os.detected.arch: x86_64
[INFO] os.detected.version: 10.0
[INFO] os.detected.version.major: 10
[INFO] os.detected.version.minor: 0
[INFO] os.detected.classifier: windows-x86_64
[WARNING] The project com.alibaba.csp:sentinel-benchmark:jar:1.8.4 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] Reactor Build Order:
[INFO]
[INFO] sentinel-parent                                                    [pom]
[INFO] sentinel-core                                                      [jar]
[INFO] sentinel-extension                                                 [pom]
[INFO] sentinel-datasource-extension                                      [jar]
[INFO] sentinel-datasource-nacos                                          [jar]
[INFO] sentinel-datasource-zookeeper                                      [jar]
[INFO] sentinel-datasource-apollo                                         [jar]
[INFO] sentinel-datasource-redis                                          [jar]
[INFO] sentinel-annotation-aspectj                                        [jar]
[INFO] sentinel-transport                                                 [pom]
[INFO] sentinel-transport-common                                          [jar]
[INFO] sentinel-parameter-flow-control                                    [jar]
[INFO] sentinel-datasource-spring-cloud-config                            [jar]
[INFO] sentinel-datasource-consul                                         [jar]
[INFO] sentinel-datasource-etcd                                           [jar]
[INFO] sentinel-datasource-eureka                                         [jar]
[INFO] sentinel-annotation-cdi-interceptor                                [jar]
[INFO] sentinel-metric-exporter                                           [jar]
[INFO] sentinel-transport-simple-http                                     [jar]
[INFO] sentinel-transport-netty-http                                      [jar]
[INFO] sentinel-transport-spring-mvc                                      [jar]
[INFO] sentinel-adapter                                                   [pom]
[INFO] sentinel-web-servlet                                               [jar]
[INFO] sentinel-dubbo-adapter                                             [jar]
[INFO] sentinel-apache-dubbo-adapter                                      [jar]
[INFO] sentinel-apache-dubbo3-adapter                                     [jar]
[INFO] sentinel-apache-httpclient-adapter                                 [jar]
[INFO] sentinel-sofa-rpc-adapter                                          [jar]
[INFO] sentinel-grpc-adapter                                              [jar]
[INFO] sentinel-api-gateway-adapter-common                                [jar]
[INFO] sentinel-zuul-adapter                                              [jar]
[INFO] sentinel-reactor-adapter                                           [jar]
[INFO] sentinel-spring-webflux-adapter                                    [jar]
[INFO] sentinel-spring-cloud-gateway-adapter                              [jar]
[INFO] sentinel-spring-webmvc-adapter                                     [jar]
[INFO] sentinel-zuul2-adapter                                             [jar]
[INFO] sentinel-okhttp-adapter                                            [jar]
[INFO] sentinel-jax-rs-adapter                                            [jar]
[INFO] sentinel-quarkus-adapter-parent                                    [pom]
[INFO] sentinel-annotation-quarkus-adapter                                [jar]
[INFO] sentinel-annotation-quarkus-adapter-deployment                     [jar]
[INFO] sentinel-jax-rs-quarkus-adapter                                    [jar]
[INFO] sentinel-jax-rs-quarkus-adapter-deployment                         [jar]
[INFO] sentinel-logging                                                   [pom]
[INFO] sentinel-logging-slf4j                                             [jar]
[INFO] sentinel-native-image-quarkus-adapter                              [jar]
[INFO] sentinel-native-image-quarkus-adapter-deployment                   [jar]
[INFO] sentinel-motan-adapter                                             [jar]
[INFO] sentinel-cluster                                                   [pom]
[INFO] sentinel-cluster-common-default                                    [jar]
[INFO] sentinel-cluster-client-default                                    [jar]
[INFO] sentinel-cluster-server-default                                    [jar]
[INFO] sentinel-cluster-server-envoy-rls                                  [jar]
[INFO] sentinel-dashboard                                                 [jar]
[INFO] sentinel-demo                                                      [pom]
[INFO] sentinel-demo-basic                                                [jar]
[INFO] sentinel-demo-dynamic-file-rule                                    [jar]
[INFO] sentinel-demo-rocketmq                                             [jar]
[INFO] sentinel-demo-dubbo                                                [jar]
[INFO] sentinel-demo-nacos-datasource                                     [jar]
[INFO] sentinel-demo-zookeeper-datasource                                 [jar]
[INFO] sentinel-demo-apollo-datasource                                    [jar]
[INFO] sentinel-demo-annotation-spring-aop                                [jar]
[INFO] sentinel-demo-parameter-flow-control                               [jar]
[INFO] sentinel-demo-slot-spi                                             [jar]
[INFO] sentinel-demo-slotchain-spi                                        [jar]
[INFO] sentinel-demo-cluster                                              [pom]
[INFO] sentinel-demo-cluster-embedded                                     [jar]
[INFO] sentinel-demo-cluster-server-alone                                 [jar]
[INFO] sentinel-demo-command-handler                                      [jar]
[INFO] sentinel-demo-spring-webflux                                       [jar]
[INFO] sentinel-demo-apache-dubbo                                         [jar]
[INFO] sentinel-demo-apache-httpclient                                    [jar]
[INFO] sentinel-demo-sofa-rpc                                             [jar]
[INFO] sentinel-demo-spring-cloud-gateway                                 [jar]
[INFO] sentinel-demo-zuul-gateway                                         [jar]
[INFO] sentinel-demo-etcd-datasource                                      [jar]
[INFO] sentinel-demo-spring-webmvc                                        [jar]
[INFO] sentinel-demo-zuul2-gateway                                        [jar]
[INFO] sentinel-demo-log-logback                                          [jar]
[INFO] sentinel-demo-okhttp                                               [jar]
[INFO] sentinel-demo-jax-rs                                               [jar]
[INFO] sentinel-demo-quarkus                                              [jar]
[INFO] sentinel-demo-annotation-cdi-interceptor                           [jar]
[INFO] sentinel-demo-motan                                                [jar]
[INFO] sentinel-demo-transport-spring-mvc                                 [jar]
[INFO] Sentinel JMH benchmark                                             [jar]
[INFO]
[INFO] ------------------< com.alibaba.csp:sentinel-parent >-------------------
[INFO] Building sentinel-parent 1.8.4                                    [1/87]
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- jacoco-maven-plugin:0.8.3:prepare-agent (default) @ sentinel-parent ---
[INFO] argLine set to -javaagent:C:\\Users\\young\\.m2\\repository\\org\\jacoco\\org.jacoco.agent\\0.8.3\\org.jacoco.agent-0.8.3-runtime.jar=destfile=C:\\Users\\young\\Desktop\\Sentinel\\target\\jacoco.exec
[INFO]
[INFO] --- jacoco-maven-plugin:0.8.3:report (report) @ sentinel-parent ---
[INFO] Skipping JaCoCo execution due to missing execution data file.
[INFO]
[INFO] -------------------< com.alibaba.csp:sentinel-core >--------------------
[INFO] Building sentinel-core 1.8.4                                      [2/87]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- jacoco-maven-plugin:0.8.3:prepare-agent (default) @ sentinel-core ---
[INFO] argLine set to -javaagent:C:\\Users\\young\\.m2\\repository\\org\\jacoco\\org.jacoco.agent\\0.8.3\\org.jacoco.agent-0.8.3-runtime.jar=destfile=C:\\Users\\young\\Desktop\\Sentinel\\sentinel-core\\target\\jacoco.exec
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ sentinel-core ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ sentinel-core ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ sentinel-core ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.8.0:testCompile (default-testCompile) @ sentinel-core ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-surefire-plugin:2.22.1:test (default-test) @ sentinel-core ---
[INFO]
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running com.alibaba.csp.sentinel.AsyncEntryIntegrationTest
INFO: Sentinel log output type is: file
INFO: Sentinel log charset is: utf-8
INFO: Sentinel log base directory is: C:\Users\young\logs\csp\
INFO: Sentinel log name use pid is: false
INFO: Sentinel log level is: INFO
abc: 1658732196222
Async result: 666
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.648 s - in com.alibaba.csp.sentinel.AsyncEntryIntegrationTest
[INFO] Running com.alibaba.csp.sentinel.AsyncEntryTest
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in com.alibaba.csp.sentinel.AsyncEntryTest
[INFO] Running com.alibaba.csp.sentinel.config.SentinelConfigTest
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in com.alibaba.csp.sentinel.config.SentinelConfigTest
[INFO] Running com.alibaba.csp.sentinel.context.ContextTest
[INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.365 s - in com.alibaba.csp.sentinel.context.ContextTest
[INFO] Running com.alibaba.csp.sentinel.CtEntryTest
[INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.36 s - in com.alibaba.csp.sentinel.CtEntryTest
[INFO] Running com.alibaba.csp.sentinel.CtSphTest
[INFO] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.588 s - in com.alibaba.csp.sentinel.CtSphTest
[INFO] Running com.alibaba.csp.sentinel.eagleeye.EagleEyeCoreUtilsTest
[INFO] Tests run: 20, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in com.alibaba.csp.sentinel.eagleeye.EagleEyeCoreUtilsTest
[INFO] Running com.alibaba.csp.sentinel.eagleeye.TokenBucketTest
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in com.alibaba.csp.sentinel.eagleeye.TokenBucketTest
[INFO] Running com.alibaba.csp.sentinel.EntryTest
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in com.alibaba.csp.sentinel.EntryTest
[INFO] Running com.alibaba.csp.sentinel.log.jul.ConsoleHandlerTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in com.alibaba.csp.sentinel.log.jul.ConsoleHandlerTest
[INFO] Running com.alibaba.csp.sentinel.metric.extension.callback.MetricEntryCallbackTest
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 s - in com.alibaba.csp.sentinel.metric.extension.callback.MetricEntryCallbackTest
[INFO] Running com.alibaba.csp.sentinel.metric.extension.callback.MetricExitCallbackTest
[ERROR] Tests run: 4, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 0.797 s <<< FAILURE! - in com.alibaba.csp.sentinel.metric.extension.callback.MetricExitCallbackTest
[ERROR] onExit(com.alibaba.csp.sentinel.metric.extension.callback.MetricExitCallbackTest)  Time elapsed: 0 s  <<< ERROR!
java.lang.ExceptionInInitializerError
        at com.alibaba.csp.sentinel.metric.extension.callback.MetricExitCallbackTest.<init>(MetricExitCallbackTest.java:34)
Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make private static void java.lang.System.initPhase1() accessible: module java.base does not "opens java.lang" to unnamed module @71f2a7d5
        at com.alibaba.csp.sentinel.metric.extension.callback.MetricExitCallbackTest.<init>(MetricExitCallbackTest.java:34)

[ERROR] Test mechanism  Time elapsed: 0 s  <<< ERROR!
java.lang.reflect.InaccessibleObjectException: Unable to make protected native java.lang.Object java.lang.Object.clone() throws java.lang.CloneNotSupportedException accessible: module java.base does not "opens java.lang" to unnamed module @71f2a7d5

[ERROR] advancedExtensionOnExit(com.alibaba.csp.sentinel.metric.extension.callback.MetricExitCallbackTest)  Time elapsed: 0 s  <<< ERROR!
java.lang.NoClassDefFoundError: Could not initialize class com.alibaba.csp.sentinel.util.TimeUtil$MockitoMock$1897246118
        at com.alibaba.csp.sentinel.metric.extension.callback.MetricExitCallbackTest.<init>(MetricExitCallbackTest.java:34)

[ERROR] Test mechanism  Time elapsed: 0 s  <<< ERROR!
java.lang.reflect.InaccessibleObjectException: Unable to make protected native java.lang.Object java.lang.Object.clone() throws java.lang.CloneNotSupportedException accessible: module java.base does not "opens java.lang" to unnamed module @71f2a7d5

[INFO] Running com.alibaba.csp.sentinel.node.ClusterNodeTest
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in com.alibaba.csp.sentinel.node.ClusterNodeTest
[INFO] Running com.alibaba.csp.sentinel.node.metric.MetricNodeTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in com.alibaba.csp.sentinel.node.metric.MetricNodeTest
[INFO] Running com.alibaba.csp.sentinel.node.metric.MetricWriterTest
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in com.alibaba.csp.sentinel.node.metric.MetricWriterTest
[INFO] Running com.alibaba.csp.sentinel.node.StatisticNodeTest
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 24.737 s - in com.alibaba.csp.sentinel.node.StatisticNodeTest
[INFO] Running com.alibaba.csp.sentinel.RecordLogTest
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 s - in com.alibaba.csp.sentinel.RecordLogTest
[INFO] Running com.alibaba.csp.sentinel.slots.block.authority.AuthorityRuleCheckerTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in com.alibaba.csp.sentinel.slots.block.authority.AuthorityRuleCheckerTest
[INFO] Running com.alibaba.csp.sentinel.slots.block.authority.AuthorityRuleManagerTest
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in com.alibaba.csp.sentinel.slots.block.authority.AuthorityRuleManagerTest
[INFO] Running com.alibaba.csp.sentinel.slots.block.authority.AuthoritySlotTest
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in com.alibaba.csp.sentinel.slots.block.authority.AuthoritySlotTest
[INFO] Running com.alibaba.csp.sentinel.slots.block.degrade.circuitbreaker.ExceptionCircuitBreakerTest
[ERROR] Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.626 s <<< FAILURE! - in com.alibaba.csp.sentinel.slots.block.degrade.circuitbreaker.ExceptionCircuitBreakerTest
[ERROR] testRecordErrorOrSuccess(com.alibaba.csp.sentinel.slots.block.degrade.circuitbreaker.ExceptionCircuitBreakerTest)  Time elapsed: 0 s  <<< ERROR!
java.lang.ExceptionInInitializerError
        at com.alibaba.csp.sentinel.slots.block.degrade.circuitbreaker.ExceptionCircuitBreakerTest.<init>(ExceptionCircuitBreakerTest.java:37)
Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make private static void java.lang.System.initPhase1() accessible: module java.base does not "opens java.lang" to unnamed module @71f2a7d5
        at com.alibaba.csp.sentinel.slots.block.degrade.circuitbreaker.ExceptionCircuitBreakerTest.<init>(ExceptionCircuitBreakerTest.java:37)

[ERROR] Test mechanism  Time elapsed: 0 s  <<< ERROR!
java.lang.reflect.InaccessibleObjectException: Unable to make protected native java.lang.Object java.lang.Object.clone() throws java.lang.CloneNotSupportedException accessible: module java.base does not "opens java.lang" to unnamed module @71f2a7d5

[INFO] Running com.alibaba.csp.sentinel.slots.block.degrade.circuitbreaker.ResponseTimeCircuitBreakerTest
[ERROR] Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.521 s <<< FAILURE! - in com.alibaba.csp.sentinel.slots.block.degrade.circuitbreaker.ResponseTimeCircuitBreakerTest
[ERROR] testMaxSlowRatioThreshold(com.alibaba.csp.sentinel.slots.block.degrade.circuitbreaker.ResponseTimeCircuitBreakerTest)  Time elapsed: 0 s  <<< ERROR!
java.lang.ExceptionInInitializerError
        at com.alibaba.csp.sentinel.slots.block.degrade.circuitbreaker.ResponseTimeCircuitBreakerTest.<init>(ResponseTimeCircuitBreakerTest.java:21)
Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make private static void java.lang.System.initPhase1() accessible: module java.base does not "opens java.lang" to unnamed module @71f2a7d5
        at com.alibaba.csp.sentinel.slots.block.degrade.circuitbreaker.ResponseTimeCircuitBreakerTest.<init>(ResponseTimeCircuitBreakerTest.java:21)

[ERROR] Test mechanism  Time elapsed: 0 s  <<< ERROR!
java.lang.reflect.InaccessibleObjectException: Unable to make protected native java.lang.Object java.lang.Object.clone() throws java.lang.CloneNotSupportedException accessible: module java.base does not "opens java.lang" to unnamed module @71f2a7d5

[INFO] Running com.alibaba.csp.sentinel.slots.block.degrade.CircuitBreakingIntegrationTest
[ERROR] Tests run: 8, Failures: 0, Errors: 8, Skipped: 0, Time elapsed: 0.499 s <<< FAILURE! - in com.alibaba.csp.sentinel.slots.block.degrade.CircuitBreakingIntegrationTest
[ERROR] testExceptionCountMode(com.alibaba.csp.sentinel.slots.block.degrade.CircuitBreakingIntegrationTest)  Time elapsed: 0 s  <<< ERROR!
java.lang.ExceptionInInitializerError
        at com.alibaba.csp.sentinel.slots.block.degrade.CircuitBreakingIntegrationTest.<init>(CircuitBreakingIntegrationTest.java:43)
Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make private static void java.lang.System.initPhase1() accessible: module java.base does not "opens java.lang" to unnamed module @71f2a7d5
        at com.alibaba.csp.sentinel.slots.block.degrade.CircuitBreakingIntegrationTest.<init>(CircuitBreakingIntegrationTest.java:43)

[ERROR] Test mechanism  Time elapsed: 0 s  <<< ERROR!
java.lang.reflect.InaccessibleObjectException: Unable to make protected native java.lang.Object java.lang.Object.clone() throws java.lang.CloneNotSupportedException accessible: module java.base does not "opens java.lang" to unnamed module @71f2a7d5

[ERROR] testSlowRequestMode(com.alibaba.csp.sentinel.slots.block.degrade.CircuitBreakingIntegrationTest)  Time elapsed: 0 s  <<< ERROR!
java.lang.NoClassDefFoundError: Could not initialize class com.alibaba.csp.sentinel.util.TimeUtil$MockitoMock$1527285387
        at com.alibaba.csp.sentinel.slots.block.degrade.CircuitBreakingIntegrationTest.<init>(CircuitBreakingIntegrationTest.java:43)

[ERROR] Test mechanism  Time elapsed: 0 s  <<< ERROR!
java.lang.reflect.InaccessibleObjectException: Unable to make protected native java.lang.Object java.lang.Object.clone() throws java.lang.CloneNotSupportedException accessible: module java.base does not "opens java.lang" to unnamed module @71f2a7d5

[ERROR] testMultipleHalfOpenedBreakers(com.alibaba.csp.sentinel.slots.block.degrade.CircuitBreakingIntegrationTest)  Time elapsed: 0 s  <<< ERROR!
java.lang.NoClassDefFoundError: Could not initialize class com.alibaba.csp.sentinel.util.TimeUtil$MockitoMock$1527285387
        at com.alibaba.csp.sentinel.slots.block.degrade.CircuitBreakingIntegrationTest.<init>(CircuitBreakingIntegrationTest.java:43)

[ERROR] Test mechanism  Time elapsed: 0.005 s  <<< ERROR!
java.lang.reflect.InaccessibleObjectException: Unable to make protected native java.lang.Object java.lang.Object.clone() throws java.lang.CloneNotSupportedException accessible: module java.base does not "opens java.lang" to unnamed module @71f2a7d5

[ERROR] testExceptionRatioMode(com.alibaba.csp.sentinel.slots.block.degrade.CircuitBreakingIntegrationTest)  Time elapsed: 0 s  <<< ERROR!
java.lang.NoClassDefFoundError: Could not initialize class com.alibaba.csp.sentinel.util.TimeUtil$MockitoMock$1527285387
        at com.alibaba.csp.sentinel.slots.block.degrade.CircuitBreakingIntegrationTest.<init>(CircuitBreakingIntegrationTest.java:43)

[ERROR] Test mechanism  Time elapsed: 0.001 s  <<< ERROR!
java.lang.reflect.InaccessibleObjectException: Unable to make protected native java.lang.Object java.lang.Object.clone() throws java.lang.CloneNotSupportedException accessible: module java.base does not "opens java.lang" to unnamed module @71f2a7d5

[INFO] Running com.alibaba.csp.sentinel.slots.block.degrade.DegradeRuleManagerTest
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in com.alibaba.csp.sentinel.slots.block.degrade.DegradeRuleManagerTest
[INFO] Running com.alibaba.csp.sentinel.slots.block.degrade.DegradeRuleTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in com.alibaba.csp.sentinel.slots.block.degrade.DegradeRuleTest
[INFO] Running com.alibaba.csp.sentinel.slots.block.flow.controller.DefaultControllerTest
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in com.alibaba.csp.sentinel.slots.block.flow.controller.DefaultControllerTest
[INFO] Running com.alibaba.csp.sentinel.slots.block.flow.controller.RateLimiterControllerTest
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.006 s - in com.alibaba.csp.sentinel.slots.block.flow.controller.RateLimiterControllerTest
[INFO] Running com.alibaba.csp.sentinel.slots.block.flow.controller.WarmUpControllerTest
[ERROR] Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.382 s <<< FAILURE! - in com.alibaba.csp.sentinel.slots.block.flow.controller.WarmUpControllerTest
[ERROR] testWarmUp(com.alibaba.csp.sentinel.slots.block.flow.controller.WarmUpControllerTest)  Time elapsed: 0 s  <<< ERROR!
java.lang.ExceptionInInitializerError
        at com.alibaba.csp.sentinel.slots.block.flow.controller.WarmUpControllerTest.<init>(WarmUpControllerTest.java:31)
Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make private static void java.lang.System.initPhase1() accessible: module java.base does not "opens java.lang" to unnamed module @71f2a7d5
        at com.alibaba.csp.sentinel.slots.block.flow.controller.WarmUpControllerTest.<init>(WarmUpControllerTest.java:31)

[ERROR] Test mechanism  Time elapsed: 0 s  <<< ERROR!
java.lang.reflect.InaccessibleObjectException: Unable to make protected native java.lang.Object java.lang.Object.clone() throws java.lang.CloneNotSupportedException accessible: module java.base does not "opens java.lang" to unnamed module @71f2a7d5

[INFO] Running com.alibaba.csp.sentinel.slots.block.flow.controller.WarmUpRateLimiterControllerTest
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.001 s - in com.alibaba.csp.sentinel.slots.block.flow.controller.WarmUpRateLimiterControllerTest
[INFO] Running com.alibaba.csp.sentinel.slots.block.flow.FlowPartialIntegrationTest
[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 s - in com.alibaba.csp.sentinel.slots.block.flow.FlowPartialIntegrationTest
[INFO] Running com.alibaba.csp.sentinel.slots.block.flow.FlowRuleCheckerTest
[INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.071 s - in com.alibaba.csp.sentinel.slots.block.flow.FlowRuleCheckerTest
[INFO] Running com.alibaba.csp.sentinel.slots.block.flow.FlowRuleComparatorTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in com.alibaba.csp.sentinel.slots.block.flow.FlowRuleComparatorTest
[INFO] Running com.alibaba.csp.sentinel.slots.block.flow.FlowRuleManagerTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.775 s - in com.alibaba.csp.sentinel.slots.block.flow.FlowRuleManagerTest
[INFO] Running com.alibaba.csp.sentinel.slots.block.flow.FlowSlotTest
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 s - in com.alibaba.csp.sentinel.slots.block.flow.FlowSlotTest
[INFO] Running com.alibaba.csp.sentinel.slots.block.system.SystemRuleTest
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in com.alibaba.csp.sentinel.slots.block.system.SystemRuleTest
[INFO] Running com.alibaba.csp.sentinel.slots.clusterbuilder.ClusterNodeBuilderTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in com.alibaba.csp.sentinel.slots.clusterbuilder.ClusterNodeBuilderTest
[INFO] Running com.alibaba.csp.sentinel.slots.DefaultSlotChainBuilderTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in com.alibaba.csp.sentinel.slots.DefaultSlotChainBuilderTest
[INFO] Running com.alibaba.csp.sentinel.slots.logger.EagleEyeLogUtilTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.111 s - in com.alibaba.csp.sentinel.slots.logger.EagleEyeLogUtilTest
[INFO] Running com.alibaba.csp.sentinel.slots.nodeselector.NodeSelectorTest
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in com.alibaba.csp.sentinel.slots.nodeselector.NodeSelectorTest
[INFO] Running com.alibaba.csp.sentinel.slots.statistic.base.LeapArrayTest
[ERROR] Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.75 s <<< FAILURE! - in com.alibaba.csp.sentinel.slots.statistic.base.LeapArrayTest
[ERROR] testGetValidHead(com.alibaba.csp.sentinel.slots.statistic.base.LeapArrayTest)  Time elapsed: 0 s  <<< ERROR!
java.lang.ExceptionInInitializerError
        at com.alibaba.csp.sentinel.slots.statistic.base.LeapArrayTest.<init>(LeapArrayTest.java:29)
Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make private static void java.lang.System.initPhase1() accessible: module java.base does not "opens java.lang" to unnamed module @71f2a7d5
        at com.alibaba.csp.sentinel.slots.statistic.base.LeapArrayTest.<init>(LeapArrayTest.java:29)

[ERROR] Test mechanism  Time elapsed: 0 s  <<< ERROR!
java.lang.reflect.InaccessibleObjectException: Unable to make protected native java.lang.Object java.lang.Object.clone() throws java.lang.CloneNotSupportedException accessible: module java.base does not "opens java.lang" to unnamed module @71f2a7d5

[INFO] Running com.alibaba.csp.sentinel.slots.statistic.metric.ArrayMetricTest
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.095 s - in com.alibaba.csp.sentinel.slots.statistic.metric.ArrayMetricTest
[INFO] Running com.alibaba.csp.sentinel.slots.statistic.metric.BucketLeapArrayTest
[INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.413 s - in com.alibaba.csp.sentinel.slots.statistic.metric.BucketLeapArrayTest
[INFO] Running com.alibaba.csp.sentinel.slots.statistic.metric.FutureBucketLeapArrayTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in com.alibaba.csp.sentinel.slots.statistic.metric.FutureBucketLeapArrayTest
[INFO] Running com.alibaba.csp.sentinel.slots.statistic.metric.OccupiableBucketLeapArrayTest
[ERROR] Tests run: 8, Failures: 0, Errors: 8, Skipped: 0, Time elapsed: 0.622 s <<< FAILURE! - in com.alibaba.csp.sentinel.slots.statistic.metric.OccupiableBucketLeapArrayTest
[ERROR] testWindowInOneInterval(com.alibaba.csp.sentinel.slots.statistic.metric.OccupiableBucketLeapArrayTest)  Time elapsed: 0 s  <<< ERROR!
java.lang.ExceptionInInitializerError
        at com.alibaba.csp.sentinel.slots.statistic.metric.OccupiableBucketLeapArrayTest.<init>(OccupiableBucketLeapArrayTest.java:21)
Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make private static void java.lang.System.initPhase1() accessible: module java.base does not "opens java.lang" to unnamed module @71f2a7d5
        at com.alibaba.csp.sentinel.slots.statistic.metric.OccupiableBucketLeapArrayTest.<init>(OccupiableBucketLeapArrayTest.java:21)

[ERROR] Test mechanism  Time elapsed: 0 s  <<< ERROR!
java.lang.reflect.InaccessibleObjectException: Unable to make protected native java.lang.Object java.lang.Object.clone() throws java.lang.CloneNotSupportedException accessible: module java.base does not "opens java.lang" to unnamed module @71f2a7d5

[ERROR] testMultiThreadUpdateEmptyWindow(com.alibaba.csp.sentinel.slots.statistic.metric.OccupiableBucketLeapArrayTest)  Time elapsed: 0 s  <<< ERROR!
java.lang.NoClassDefFoundError: Could not initialize class com.alibaba.csp.sentinel.util.TimeUtil$MockitoMock$503786921
        at com.alibaba.csp.sentinel.slots.statistic.metric.OccupiableBucketLeapArrayTest.<init>(OccupiableBucketLeapArrayTest.java:21)

[ERROR] Test mechanism  Time elapsed: 0 s  <<< ERROR!
java.lang.reflect.InaccessibleObjectException: Unable to make protected native java.lang.Object java.lang.Object.clone() throws java.lang.CloneNotSupportedException accessible: module java.base does not "opens java.lang" to unnamed module @71f2a7d5

[ERROR] testWindowAfterOneInterval(com.alibaba.csp.sentinel.slots.statistic.metric.OccupiableBucketLeapArrayTest)  Time elapsed: 0 s  <<< ERROR!
java.lang.NoClassDefFoundError: Could not initialize class com.alibaba.csp.sentinel.util.TimeUtil$MockitoMock$503786921
        at com.alibaba.csp.sentinel.slots.statistic.metric.OccupiableBucketLeapArrayTest.<init>(OccupiableBucketLeapArrayTest.java:21)

[ERROR] Test mechanism  Time elapsed: 0 s  <<< ERROR!
java.lang.reflect.InaccessibleObjectException: Unable to make protected native java.lang.Object java.lang.Object.clone() throws java.lang.CloneNotSupportedException accessible: module java.base does not "opens java.lang" to unnamed module @71f2a7d5

[ERROR] testNewWindow(com.alibaba.csp.sentinel.slots.statistic.metric.OccupiableBucketLeapArrayTest)  Time elapsed: 0 s  <<< ERROR!
java.lang.NoClassDefFoundError: Could not initialize class com.alibaba.csp.sentinel.util.TimeUtil$MockitoMock$503786921
        at com.alibaba.csp.sentinel.slots.statistic.metric.OccupiableBucketLeapArrayTest.<init>(OccupiableBucketLeapArrayTest.java:21)

[ERROR] Test mechanism  Time elapsed: 0 s  <<< ERROR!
java.lang.reflect.InaccessibleObjectException: Unable to make protected native java.lang.Object java.lang.Object.clone() throws java.lang.CloneNotSupportedException accessible: module java.base does not "opens java.lang" to unnamed module @71f2a7d5

[INFO] Running com.alibaba.csp.sentinel.slots.system.SystemRuleManagerTest
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.51 s - in com.alibaba.csp.sentinel.slots.system.SystemRuleManagerTest
[INFO] Running com.alibaba.csp.sentinel.SphOTest
[INFO] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 s - in com.alibaba.csp.sentinel.SphOTest
[INFO] Running com.alibaba.csp.sentinel.SphUTest
[INFO] Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in com.alibaba.csp.sentinel.SphUTest
[INFO] Running com.alibaba.csp.sentinel.spi.SpiLoaderTest
[INFO] Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.046 s - in com.alibaba.csp.sentinel.spi.SpiLoaderTest
[INFO] Running com.alibaba.csp.sentinel.TracerTest
[INFO] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.331 s - in com.alibaba.csp.sentinel.TracerTest
[INFO] Running com.alibaba.csp.sentinel.util.ConfigUtilTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s - in com.alibaba.csp.sentinel.util.ConfigUtilTest
[INFO] Running com.alibaba.csp.sentinel.util.function.Tuple2Test
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in com.alibaba.csp.sentinel.util.function.Tuple2Test
[INFO] Running com.alibaba.csp.sentinel.util.IdUtilTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in com.alibaba.csp.sentinel.util.IdUtilTest
[INFO] Running com.alibaba.csp.sentinel.util.MethodUtilTest
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in com.alibaba.csp.sentinel.util.MethodUtilTest
[INFO] Running com.alibaba.csp.sentinel.util.StringUtilTest
[INFO] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in com.alibaba.csp.sentinel.util.StringUtilTest
[INFO] Running com.alibaba.csp.sentinel.util.TimeUtilTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 20.271 s - in com.alibaba.csp.sentinel.util.TimeUtilTest
[INFO] Running com.alibaba.csp.sentinel.util.VersionUtilTest
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in com.alibaba.csp.sentinel.util.VersionUtilTest
[INFO]
[INFO] Results:
[INFO]
[ERROR] Errors:
[ERROR] Test mechanism.Test mechanism
[ERROR]   Run 1: Unable to make protected native java.lang.Object java.lang.Object.clone() throws java.lang.CloneNotSupportedException accessible: module java.base does not "opens java.lang" to unnamed module @71f2a7d5
[ERROR]   Run 2: Unable to make protected native java.lang.Object java.lang.Object.clone() throws java.lang.CloneNotSupportedException accessible: module java.base does not "opens java.lang" to unnamed module @71f2a7d5
[ERROR]   Run 3: Unable to make protected native java.lang.Object java.lang.Object.clone() throws java.lang.CloneNotSupportedException accessible: module java.base does not "opens java.lang" to unnamed module @71f2a7d5
[ERROR]   Run 4: Unable to make protected native java.lang.Object java.lang.Object.clone() throws java.lang.CloneNotSupportedException accessible: module java.base does not "opens java.lang" to unnamed module @71f2a7d5
[ERROR]   Run 5: Unable to make protected native java.lang.Object java.lang.Object.clone() throws java.lang.CloneNotSupportedException accessible: module java.base does not "opens java.lang" to unnamed module @71f2a7d5
[ERROR]   Run 6: Unable to make protected native java.lang.Object java.lang.Object.clone() throws java.lang.CloneNotSupportedException accessible: module java.base does not "opens java.lang" to unnamed module @71f2a7d5
[ERROR]   Run 7: Unable to make protected native java.lang.Object java.lang.Object.clone() throws java.lang.CloneNotSupportedException accessible: module java.base does not "opens java.lang" to unnamed module @71f2a7d5
[ERROR]   Run 8: Unable to make protected native java.lang.Object java.lang.Object.clone() throws java.lang.CloneNotSupportedException accessible: module java.base does not "opens java.lang" to unnamed module @71f2a7d5
[ERROR]   Run 9: Unable to make protected native java.lang.Object java.lang.Object.clone() throws java.lang.CloneNotSupportedException accessible: module java.base does not "opens java.lang" to unnamed module @71f2a7d5
[ERROR]   Run 10: Unable to make protected native java.lang.Object java.lang.Object.clone() throws java.lang.CloneNotSupportedException accessible: module java.base does not "opens java.lang" to unnamed module @71f2a7d5
[ERROR]   Run 11: Unable to make protected native java.lang.Object java.lang.Object.clone() throws java.lang.CloneNotSupportedException accessible: module java.base does not "opens java.lang" to unnamed module @71f2a7d5
[ERROR]   Run 12: Unable to make protected native java.lang.Object java.lang.Object.clone() throws java.lang.CloneNotSupportedException accessible: module java.base does not "opens java.lang" to unnamed module @71f2a7d5
[ERROR]   Run 13: Unable to make protected native java.lang.Object java.lang.Object.clone() throws java.lang.CloneNotSupportedException accessible: module java.base does not "opens java.lang" to unnamed module @71f2a7d5
[ERROR]   Run 14: Unable to make protected native java.lang.Object java.lang.Object.clone() throws java.lang.CloneNotSupportedException accessible: module java.base does not "opens java.lang" to unnamed module @71f2a7d5
[INFO]
[ERROR]   MetricExitCallbackTest.<init>:34->AbstractTimeBasedTest.<init>:43 ? NoClassDefFound
[ERROR]   MetricExitCallbackTest.<init>:34->AbstractTimeBasedTest.<init>:43 ? ExceptionInInitializer
[ERROR]   CircuitBreakingIntegrationTest.<init>:43->AbstractTimeBasedTest.<init>:43 ? ExceptionInInitializer
[ERROR]   CircuitBreakingIntegrationTest.<init>:43->AbstractTimeBasedTest.<init>:43 ? NoClassDefFound
[ERROR]   CircuitBreakingIntegrationTest.<init>:43->AbstractTimeBasedTest.<init>:43 ? NoClassDefFound
[ERROR]   CircuitBreakingIntegrationTest.<init>:43->AbstractTimeBasedTest.<init>:43 ? NoClassDefFound
[ERROR]   ExceptionCircuitBreakerTest.<init>:37->AbstractTimeBasedTest.<init>:43 ? ExceptionInInitializer
[ERROR]   ResponseTimeCircuitBreakerTest.<init>:21->AbstractTimeBasedTest.<init>:43 ? ExceptionInInitializer
[ERROR]   WarmUpControllerTest.<init>:31->AbstractTimeBasedTest.<init>:43 ? ExceptionInInitializer
[ERROR]   LeapArrayTest.<init>:29->AbstractTimeBasedTest.<init>:43 ? ExceptionInInitializer
[ERROR]   OccupiableBucketLeapArrayTest.<init>:21->AbstractTimeBasedTest.<init>:43 ? NoClassDefFound
[ERROR]   OccupiableBucketLeapArrayTest.<init>:21->AbstractTimeBasedTest.<init>:43 ? NoClassDefFound
[ERROR]   OccupiableBucketLeapArrayTest.<init>:21->AbstractTimeBasedTest.<init>:43 ? NoClassDefFound
[ERROR]   OccupiableBucketLeapArrayTest.<init>:21->AbstractTimeBasedTest.<init>:43 ? ExceptionInInitializer
[INFO]
[ERROR] Tests run: 201, Failures: 0, Errors: 15, Skipped: 0
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for sentinel-parent 1.8.4:
[INFO]
[INFO] sentinel-parent .................................... SUCCESS [  0.442 s]
[INFO] sentinel-core ...................................... FAILURE [01:01 min]
[INFO] sentinel-extension ................................. SKIPPED
[INFO] sentinel-datasource-extension ...................... SKIPPED
[INFO] sentinel-datasource-nacos .......................... SKIPPED
[INFO] sentinel-datasource-zookeeper ...................... SKIPPED
[INFO] sentinel-datasource-apollo ......................... SKIPPED
[INFO] sentinel-datasource-redis .......................... SKIPPED
[INFO] sentinel-annotation-aspectj ........................ SKIPPED
[INFO] sentinel-transport ................................. SKIPPED
[INFO] sentinel-transport-common .......................... SKIPPED
[INFO] sentinel-parameter-flow-control .................... SKIPPED
[INFO] sentinel-datasource-spring-cloud-config ............ SKIPPED
[INFO] sentinel-datasource-consul ......................... SKIPPED
[INFO] sentinel-datasource-etcd ........................... SKIPPED
[INFO] sentinel-datasource-eureka ......................... SKIPPED
[INFO] sentinel-annotation-cdi-interceptor ................ SKIPPED
[INFO] sentinel-metric-exporter ........................... SKIPPED
[INFO] sentinel-transport-simple-http ..................... SKIPPED
[INFO] sentinel-transport-netty-http ...................... SKIPPED
[INFO] sentinel-transport-spring-mvc ...................... SKIPPED
[INFO] sentinel-adapter ................................... SKIPPED
[INFO] sentinel-web-servlet ............................... SKIPPED
[INFO] sentinel-dubbo-adapter ............................. SKIPPED
[INFO] sentinel-apache-dubbo-adapter ...................... SKIPPED
[INFO] sentinel-apache-dubbo3-adapter ..................... SKIPPED
[INFO] sentinel-apache-httpclient-adapter ................. SKIPPED
[INFO] sentinel-sofa-rpc-adapter .......................... SKIPPED
[INFO] sentinel-grpc-adapter .............................. SKIPPED
[INFO] sentinel-api-gateway-adapter-common ................ SKIPPED
[INFO] sentinel-zuul-adapter .............................. SKIPPED
[INFO] sentinel-reactor-adapter ........................... SKIPPED
[INFO] sentinel-spring-webflux-adapter .................... SKIPPED
[INFO] sentinel-spring-cloud-gateway-adapter .............. SKIPPED
[INFO] sentinel-spring-webmvc-adapter ..................... SKIPPED
[INFO] sentinel-zuul2-adapter ............................. SKIPPED
[INFO] sentinel-okhttp-adapter ............................ SKIPPED
[INFO] sentinel-jax-rs-adapter ............................ SKIPPED
[INFO] sentinel-quarkus-adapter-parent .................... SKIPPED
[INFO] sentinel-annotation-quarkus-adapter ................ SKIPPED
[INFO] sentinel-annotation-quarkus-adapter-deployment ..... SKIPPED
[INFO] sentinel-jax-rs-quarkus-adapter .................... SKIPPED
[INFO] sentinel-jax-rs-quarkus-adapter-deployment ......... SKIPPED
[INFO] sentinel-logging ................................... SKIPPED
[INFO] sentinel-logging-slf4j ............................. SKIPPED
[INFO] sentinel-native-image-quarkus-adapter .............. SKIPPED
[INFO] sentinel-native-image-quarkus-adapter-deployment ... SKIPPED
[INFO] sentinel-motan-adapter ............................. SKIPPED
[INFO] sentinel-cluster ................................... SKIPPED
[INFO] sentinel-cluster-common-default .................... SKIPPED
[INFO] sentinel-cluster-client-default .................... SKIPPED
[INFO] sentinel-cluster-server-default .................... SKIPPED
[INFO] sentinel-cluster-server-envoy-rls .................. SKIPPED
[INFO] sentinel-dashboard ................................. SKIPPED
[INFO] sentinel-demo ...................................... SKIPPED
[INFO] sentinel-demo-basic ................................ SKIPPED
[INFO] sentinel-demo-dynamic-file-rule .................... SKIPPED
[INFO] sentinel-demo-rocketmq ............................. SKIPPED
[INFO] sentinel-demo-dubbo ................................ SKIPPED
[INFO] sentinel-demo-nacos-datasource ..................... SKIPPED
[INFO] sentinel-demo-zookeeper-datasource ................. SKIPPED
[INFO] sentinel-demo-apollo-datasource .................... SKIPPED
[INFO] sentinel-demo-annotation-spring-aop ................ SKIPPED
[INFO] sentinel-demo-parameter-flow-control ............... SKIPPED
[INFO] sentinel-demo-slot-spi ............................. SKIPPED
[INFO] sentinel-demo-slotchain-spi ........................ SKIPPED
[INFO] sentinel-demo-cluster .............................. SKIPPED
[INFO] sentinel-demo-cluster-embedded ..................... SKIPPED
[INFO] sentinel-demo-cluster-server-alone ................. SKIPPED
[INFO] sentinel-demo-command-handler ...................... SKIPPED
[INFO] sentinel-demo-spring-webflux ....................... SKIPPED
[INFO] sentinel-demo-apache-dubbo ......................... SKIPPED
[INFO] sentinel-demo-apache-httpclient .................... SKIPPED
[INFO] sentinel-demo-sofa-rpc ............................. SKIPPED
[INFO] sentinel-demo-spring-cloud-gateway ................. SKIPPED
[INFO] sentinel-demo-zuul-gateway ......................... SKIPPED
[INFO] sentinel-demo-etcd-datasource ...................... SKIPPED
[INFO] sentinel-demo-spring-webmvc ........................ SKIPPED
[INFO] sentinel-demo-zuul2-gateway ........................ SKIPPED
[INFO] sentinel-demo-log-logback .......................... SKIPPED
[INFO] sentinel-demo-okhttp ............................... SKIPPED
[INFO] sentinel-demo-jax-rs ............................... SKIPPED
[INFO] sentinel-demo-quarkus .............................. SKIPPED
[INFO] sentinel-demo-annotation-cdi-interceptor ........... SKIPPED
[INFO] sentinel-demo-motan ................................ SKIPPED
[INFO] sentinel-demo-transport-spring-mvc ................. SKIPPED
[INFO] Sentinel JMH benchmark ............................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  01:02 min
[INFO] Finished at: 2022-07-25T14:57:35+08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.1:test (default-test) on project sentinel-core: There are test failures.
[ERROR]
[ERROR] Please refer to C:\Users\young\Desktop\Sentinel\sentinel-core\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] There was an error in the forked process
[ERROR] Test mechanism :: Unable to make protected native java.lang.Object java.lang.Object.clone() throws java.lang.CloneNotSupportedException accessible: module java.base does not "opens java.lang" to unnamed module @71f2a7d5
[ERROR] org.apache.maven.surefire.booter.SurefireBooterForkException: There was an error in the forked process
[ERROR] Test mechanism :: Unable to make protected native java.lang.Object java.lang.Object.clone() throws java.lang.CloneNotSupportedException accessible: module java.base does not "opens java.lang" to unnamed module @71f2a7d5
[ERROR]         at org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:656)
[ERROR]         at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:282)
[ERROR]         at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:245)
[ERROR]         at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider(AbstractSurefireMojo.java:1183)
[ERROR]         at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:1011)
[ERROR]         at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:857)
[ERROR]         at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137)
[ERROR]         at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2(MojoExecutor.java:370)
[ERROR]         at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute(MojoExecutor.java:351)
[ERROR]         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:215)
[ERROR]         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:171)
[ERROR]         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:163)
[ERROR]         at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117)
[ERROR]         at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81)
[ERROR]         at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:56)
[ERROR]         at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
[ERROR]         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:294)
[ERROR]         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:192)
[ERROR]         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:105)
[ERROR]         at org.apache.maven.cli.MavenCli.execute(MavenCli.java:960)
[ERROR]         at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:293)
[ERROR]         at org.apache.maven.cli.MavenCli.main(MavenCli.java:196)
[ERROR]         at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[ERROR]         at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
[ERROR]         at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[ERROR]         at java.base/java.lang.reflect.Method.invoke(Method.java:568)
[ERROR]         at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:282)
[ERROR]         at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:225)
[ERROR]         at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:406)
[ERROR]         at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:347)
[ERROR]
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <args> -rf :sentinel-core

Describe what you expected to happen

How to reproduce it (as minimally and precisely as possible)

  1. download code on master branch
  2. run mvn clean package
  3. errors come

Tell us your environment

  1. java 17.0.4 2022-07-19 LTS Java(TM) SE Runtime Environment (build 17.0.4+11-LTS-179) Java HotSpot(TM) 64-Bit Server VM (build 17.0.4+11-LTS-179, mixed mode, sharing)
  2. Apache Maven 3.8.6 (84538c9988a25aec085021c365c560670ad80f63) Maven home: C:\dev\tools\apache-maven-3.8.6 Java version: 17.0.4, vendor: Oracle Corporation, runtime: C:\Program Files\Java\jdk-17.0.4 Default locale: zh_CN, platform encoding: GBK OS name: "windows 11", version: "10.0", arch: "amd64", family: "windows"

Anything else we need to know?

stardustman commented 2 years ago

by the way, the sentinel-dashborad can't start successfully using jdk17.