You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1136 lines
102 KiB
1136 lines
102 KiB
[INFO] Scanning for projects...
|
|
[WARNING]
|
|
[WARNING] Some problems were encountered while building the effective model for com.crm:crm-auth:jar:1.0.0-SNAPSHOT
|
|
[WARNING] 'dependencies.dependency.version' for org.projectlombok:lombok:jar is either LATEST or RELEASE (both of them are being deprecated) @ line 60, column 22
|
|
[WARNING]
|
|
[WARNING] Some problems were encountered while building the effective model for com.crm:crm-file:jar:1.0.0-SNAPSHOT
|
|
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.projectlombok:lombok:jar -> duplicate declaration of version (?) @ line 49, column 21
|
|
[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] Reactor Build Order:
|
|
[INFO]
|
|
[INFO] crm-rule [jar]
|
|
[INFO] crm-preference [jar]
|
|
[INFO] crm-lead [jar]
|
|
[INFO] crm-customer [jar]
|
|
[INFO] crm-opportunity [jar]
|
|
[INFO] crm-log [jar]
|
|
[INFO] crm-app [jar]
|
|
[INFO]
|
|
[INFO] --------------------------< com.crm:crm-rule >--------------------------
|
|
[INFO] Building crm-rule 1.0.0-SNAPSHOT [1/7]
|
|
[INFO] from pom.xml
|
|
[INFO] --------------------------------[ jar ]---------------------------------
|
|
[INFO]
|
|
[INFO] --- resources:3.3.1:resources (default-resources) @ crm-rule ---
|
|
[INFO] Copying 0 resource from src\main\resources to target\classes
|
|
[INFO] Copying 1 resource from src\main\resources to target\classes
|
|
[INFO]
|
|
[INFO] --- compiler:3.13.0:compile (default-compile) @ crm-rule ---
|
|
[INFO] Nothing to compile - all classes are up to date.
|
|
[INFO]
|
|
[INFO] --- resources:3.3.1:testResources (default-testResources) @ crm-rule ---
|
|
[INFO] skip non existing resourceDirectory D:\code\crm-backend-matt\crm-rule\src\test\resources
|
|
[INFO]
|
|
[INFO] --- compiler:3.13.0:testCompile (default-testCompile) @ crm-rule ---
|
|
[INFO] Nothing to compile - all classes are up to date.
|
|
[INFO]
|
|
[INFO] --- surefire:3.2.5:test (default-test) @ crm-rule ---
|
|
[INFO] Using auto detected provider org.apache.maven.surefire.junitplatform.JUnitPlatformProvider
|
|
[INFO]
|
|
[INFO] -------------------------------------------------------
|
|
[INFO] T E S T S
|
|
[INFO] -------------------------------------------------------
|
|
[INFO] Running com.crm.rule.config.CustomerDedupRuleInitializerTest
|
|
mvn : Java HotSpot(TM) 64-Bit Server VM warning: Sharing is only suppor
|
|
ted for boot loader classes because bootstrap classpath has been append
|
|
ed
|
|
所在位置 行:1 字符: 2
|
|
+ mvn test -rf :crm-rule 2>&1 | Out-File -Encoding utf8 d:\code\crm-ba
|
|
...
|
|
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
+ CategoryInfo : NotSpecified: (Java HotSpot(TM...s been
|
|
appended:String) [], RemoteException
|
|
+ FullyQualifiedErrorId : NativeCommandError
|
|
|
|
14:39:24.499 [main] INFO com.crm.rule.config.CustomerDedupRuleInitializer -- 已植入客户查重设置单例(id=1,全开关启用,模糊匹配 + 标准 80% 阈值)
|
|
14:39:24.619 [main] INFO com.crm.rule.config.CustomerDedupRuleInitializer -- 客户查重设置单例已存在(id=1),跳过种子化
|
|
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.902 s -- in com.crm.rule.config.CustomerDedupRuleInitializerTest
|
|
[INFO] Running com.crm.rule.config.CustomerReminderRuleInitializerTest
|
|
14:39:24.738 [main] INFO com.crm.rule.config.CustomerReminderRuleInitializer -- 已植入客户提醒规则单例(id=1,全开关启用,首次 30 天 / 二次间隔 7 天)
|
|
14:39:24.745 [main] INFO com.crm.rule.config.CustomerReminderRuleInitializer -- 客户提醒规则单例已存在(id=1),跳过种子化
|
|
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.108 s -- in com.crm.rule.config.CustomerReminderRuleInitializerTest
|
|
[INFO] Running com.crm.rule.config.RegionDataInitializerTest
|
|
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.323 s -- in com.crm.rule.config.RegionDataInitializerTest
|
|
[INFO] Running com.crm.rule.config.SchemeFieldDefInitializerTest
|
|
14:39:25.252 [main] INFO com.crm.rule.config.SchemeFieldDefInitializer -- 执行方案卡系统字段库种子化检查...
|
|
14:39:25.261 [main] INFO com.crm.rule.config.SchemeFieldDefInitializer -- 方案卡系统字段库种子化检查完成:现存 16 个,新增 16 个
|
|
14:39:25.271 [main] INFO com.crm.rule.config.SchemeFieldDefInitializer -- 已植入方案卡兜底模板(OPP_SCHEME_TPL_01,发布中/全公司通用/默认,8 个字段项)
|
|
14:39:25.297 [main] INFO com.crm.rule.config.SchemeFieldDefInitializer -- 执行方案卡系统字段库种子化检查...
|
|
14:39:25.298 [main] INFO com.crm.rule.config.SchemeFieldDefInitializer -- 方案卡系统字段库种子化检查完成:现存 16 个,新增 16 个
|
|
14:39:25.300 [main] INFO com.crm.rule.config.SchemeFieldDefInitializer -- 已植入方案卡兜底模板(OPP_SCHEME_TPL_01,发布中/全公司通用/默认,8 个字段项)
|
|
14:39:25.300 [main] INFO com.crm.rule.config.SchemeFieldDefInitializer -- 执行方案卡系统字段库种子化检查...
|
|
14:39:25.301 [main] INFO com.crm.rule.config.SchemeFieldDefInitializer -- 方案卡系统字段库种子化检查完成:现存 16 个,新增 0 个
|
|
14:39:25.301 [main] INFO com.crm.rule.config.SchemeFieldDefInitializer -- 方案卡兜底模板已存在(code=OPP_SCHEME_TPL_01,含已停用),跳过种子化
|
|
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.209 s -- in com.crm.rule.config.SchemeFieldDefInitializerTest
|
|
[INFO] Running com.crm.rule.config.StageTemplateInitializerTest
|
|
14:39:25.402 [main] INFO com.crm.rule.config.StageTemplateInitializer -- 已植入全局默认阶段模板(OPP_STAGE_TPL_01,发布中/全公司通用/默认,5 个节点)
|
|
14:39:25.412 [main] INFO com.crm.rule.config.StageTemplateInitializer -- 已植入全局默认阶段模板(OPP_STAGE_TPL_01,发布中/全公司通用/默认,5 个节点)
|
|
14:39:25.413 [main] INFO com.crm.rule.config.StageTemplateInitializer -- 默认阶段模板已存在(code=OPP_STAGE_TPL_01,含已停用),跳过种子化
|
|
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.106 s -- in com.crm.rule.config.StageTemplateInitializerTest
|
|
[INFO] Running com.crm.rule.service.impl.CustomerDedupRuleServiceImplTest
|
|
14:39:25.481 [main] INFO com.crm.rule.service.impl.CustomerDedupRuleServiceImpl -- [客户查重设置] 全量覆盖保存:operator=9001, master=0, name=1/2模式阈值80%, phone=0
|
|
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.072 s -- in com.crm.rule.service.impl.CustomerDedupRuleServiceImplTest
|
|
[INFO] Running com.crm.rule.service.impl.CustomerReminderRuleServiceImplTest
|
|
14:39:25.511 [main] INFO com.crm.rule.service.impl.CustomerReminderRuleServiceImpl -- [客户提醒规则] 全量覆盖保存:operator=9001, masterEnabled=0, firstTrigger=1/15天, secondInterval=0/3天
|
|
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.028 s -- in com.crm.rule.service.impl.CustomerReminderRuleServiceImplTest
|
|
[INFO] Running com.crm.rule.service.impl.LeadPoolBatchDeleteTest
|
|
Standard Commons Logging discovery in action with spring-jcl: please remove commons-logging.jar from classpath in order to avoid potential conflicts
|
|
14:39:25.635 [main] ERROR com.crm.base.domain.result.BatchRunner -- 批量操作单条异常:id=9
|
|
java.lang.IllegalStateException: boom
|
|
at com.crm.base.domain.result.BatchRunner.run(BatchRunner.java:43)
|
|
at com.crm.rule.service.impl.LeadPoolServiceImpl.deletePoolBatch(LeadPoolServiceImpl.java:206)
|
|
at com.crm.rule.service.impl.LeadPoolBatchDeleteTest.unexpectedException_mapsToUnknown(LeadPoolBatchDeleteTest.java:83)
|
|
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
|
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
|
|
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
|
|
at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:728)
|
|
at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
|
|
at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131)
|
|
at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:156)
|
|
at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:147)
|
|
at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:86)
|
|
at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(InterceptingExecutableInvoker.java:103)
|
|
at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.lambda$invoke$0(InterceptingExecutableInvoker.java:93)
|
|
at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106)
|
|
at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64)
|
|
at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45)
|
|
at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37)
|
|
at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:92)
|
|
at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:86)
|
|
at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$7(TestMethodTestDescriptor.java:218)
|
|
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
|
|
at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:214)
|
|
at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:139)
|
|
at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:69)
|
|
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:156)
|
|
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
|
|
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:146)
|
|
at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
|
|
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:144)
|
|
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
|
|
at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:143)
|
|
at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:100)
|
|
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
|
|
at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
|
|
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:160)
|
|
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
|
|
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:146)
|
|
at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
|
|
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:144)
|
|
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
|
|
at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:143)
|
|
at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:100)
|
|
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
|
|
at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
|
|
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:160)
|
|
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
|
|
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:146)
|
|
at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
|
|
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:144)
|
|
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
|
|
at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:143)
|
|
at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:100)
|
|
at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:35)
|
|
at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57)
|
|
at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:54)
|
|
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:198)
|
|
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:169)
|
|
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:93)
|
|
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:58)
|
|
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:141)
|
|
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:57)
|
|
at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:103)
|
|
at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:85)
|
|
at org.junit.platform.launcher.core.DelegatingLauncher.execute(DelegatingLauncher.java:47)
|
|
at org.apache.maven.surefire.junitplatform.LazyLauncher.execute(LazyLauncher.java:56)
|
|
at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.execute(JUnitPlatformProvider.java:184)
|
|
at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:148)
|
|
at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:122)
|
|
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385)
|
|
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
|
|
at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507)
|
|
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495)
|
|
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.106 s -- in com.crm.rule.service.impl.LeadPoolBatchDeleteTest
|
|
[INFO] Running com.crm.rule.service.impl.LeadPoolServiceImplTest
|
|
[INFO] Tests run: 28, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.937 s -- in com.crm.rule.service.impl.LeadPoolServiceImplTest
|
|
[INFO] Running com.crm.rule.service.impl.OpportunityDedupRuleServiceImplTest
|
|
[INFO] Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.267 s -- in com.crm.rule.service.impl.OpportunityDedupRuleServiceImplTest
|
|
[INFO] Running com.crm.rule.service.impl.OpportunityPoolRuleMatcherImplTest
|
|
[INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.093 s -- in com.crm.rule.service.impl.OpportunityPoolRuleMatcherImplTest
|
|
[INFO] Running com.crm.rule.service.impl.OpportunityPoolRuleServiceImplTest
|
|
[INFO] Tests run: 27, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.109 s -- in com.crm.rule.service.impl.OpportunityPoolRuleServiceImplTest
|
|
[INFO] Running com.crm.rule.service.impl.OpportunityPushRuleServiceImplTest
|
|
[INFO] Tests run: 25, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.135 s -- in com.crm.rule.service.impl.OpportunityPushRuleServiceImplTest
|
|
[INFO] Running com.crm.rule.service.impl.OpportunitySchemeCardTemplateServiceImplTest
|
|
[INFO] Tests run: 28, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.158 s -- in com.crm.rule.service.impl.OpportunitySchemeCardTemplateServiceImplTest
|
|
[INFO] Running com.crm.rule.service.impl.OpportunityStageTemplateServiceImplTest
|
|
[INFO] Tests run: 49, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.220 s -- in com.crm.rule.service.impl.OpportunityStageTemplateServiceImplTest
|
|
[INFO] Running com.crm.rule.service.impl.PoolMemberStoreImplTest
|
|
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.055 s -- in com.crm.rule.service.impl.PoolMemberStoreImplTest
|
|
[INFO] Running com.crm.rule.service.impl.ProjectRuleServiceImplTest
|
|
14:39:28.736 [main] INFO com.crm.rule.service.impl.ProjectRuleServiceImpl -- [项目规则] 分区覆盖保存:operator=u1, section=阶段提醒规则, rows=0
|
|
14:39:28.757 [main] INFO com.crm.rule.service.impl.ProjectRuleServiceImpl -- [项目规则] 分区覆盖保存:operator=u1, section=标底认定规则, rows=1
|
|
14:39:28.761 [main] INFO com.crm.rule.service.impl.ProjectRuleServiceImpl -- [项目规则] 分区覆盖保存:operator=u1, section=项目拉群人员, rows=2
|
|
14:39:28.763 [main] WARN com.crm.rule.service.impl.ProjectRuleServiceImpl -- 项目规则区块 JSON 损坏,防御为空:Unrecognized token 'not': was expecting (JSON String, Number, Array, Object or token 'null', 'true' or 'false')
|
|
at [Source: REDACTED (`StreamReadFeature.INCLUDE_SOURCE_IN_LOCATION` disabled); line: 1, column: 4]
|
|
14:39:28.765 [main] WARN com.crm.rule.service.impl.ProjectRuleServiceImpl -- 项目规则区块 JSON 损坏,防御为空:Unexpected character ('{' (code 123)): was expecting double-quote to start field name
|
|
at [Source: REDACTED (`StreamReadFeature.INCLUDE_SOURCE_IN_LOCATION` disabled); line: 1, column: 2]
|
|
14:39:28.770 [main] INFO com.crm.rule.service.impl.ProjectRuleServiceImpl -- [项目规则] 分区覆盖保存:operator=u1, section=阶段别名配置, rows=1
|
|
14:39:28.773 [main] INFO com.crm.rule.service.impl.ProjectRuleServiceImpl -- [项目规则] 分区覆盖保存:operator=u1, section=阶段别名配置, rows=2
|
|
14:39:28.778 [main] INFO com.crm.rule.service.impl.ProjectRuleServiceImpl -- [项目规则] 分区覆盖保存:operator=u1, section=冲突处理拉群规则, rows=1
|
|
[INFO] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.091 s -- in com.crm.rule.service.impl.ProjectRuleServiceImplTest
|
|
[INFO]
|
|
[INFO] Results:
|
|
[INFO]
|
|
[INFO] Tests run: 213, Failures: 0, Errors: 0, Skipped: 0
|
|
[INFO]
|
|
[INFO]
|
|
[INFO] -----------------------< com.crm:crm-preference >-----------------------
|
|
[INFO] Building crm-preference 1.0.0-SNAPSHOT [2/7]
|
|
[INFO] from D:\code\crm-backend-matt\crm-preference\pom.xml
|
|
[INFO] --------------------------------[ jar ]---------------------------------
|
|
[INFO]
|
|
[INFO] --- resources:3.3.1:resources (default-resources) @ crm-preference ---
|
|
[INFO] skip non existing resourceDirectory D:\code\crm-backend-matt\crm-preference\src\main\resources
|
|
[INFO] skip non existing resourceDirectory D:\code\crm-backend-matt\crm-preference\src\main\resources
|
|
[INFO]
|
|
[INFO] --- compiler:3.13.0:compile (default-compile) @ crm-preference ---
|
|
[INFO] Nothing to compile - all classes are up to date.
|
|
[INFO]
|
|
[INFO] --- resources:3.3.1:testResources (default-testResources) @ crm-preference ---
|
|
[INFO] skip non existing resourceDirectory D:\code\crm-backend-matt\crm-preference\src\test\resources
|
|
[INFO]
|
|
[INFO] --- compiler:3.13.0:testCompile (default-testCompile) @ crm-preference ---
|
|
[INFO] Nothing to compile - all classes are up to date.
|
|
[INFO]
|
|
[INFO] --- surefire:3.2.5:test (default-test) @ crm-preference ---
|
|
[INFO] Using auto detected provider org.apache.maven.surefire.junitplatform.JUnitPlatformProvider
|
|
[INFO]
|
|
[INFO] -------------------------------------------------------
|
|
[INFO] T E S T S
|
|
[INFO] -------------------------------------------------------
|
|
[INFO] Running com.crm.preference.service.impl.ColumnPreferenceServiceImplTest
|
|
Java HotSpot(TM) 64-Bit Server VM warning: Sharing is only supported fo
|
|
r boot loader classes because bootstrap classpath has been appended
|
|
[INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.507 s -- in com.crm.preference.service.impl.ColumnPreferenceServiceImplTest
|
|
[INFO] Running com.crm.preference.service.impl.SavedViewServiceImplTest
|
|
[INFO] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.245 s -- in com.crm.preference.service.impl.SavedViewServiceImplTest
|
|
[INFO] Running com.crm.preference.service.impl.ViewFormServiceImplTest
|
|
[INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.075 s -- in com.crm.preference.service.impl.ViewFormServiceImplTest
|
|
[INFO]
|
|
[INFO] Results:
|
|
[INFO]
|
|
[INFO] Tests run: 23, Failures: 0, Errors: 0, Skipped: 0
|
|
[INFO]
|
|
[INFO]
|
|
[INFO] --------------------------< com.crm:crm-lead >--------------------------
|
|
[INFO] Building crm-lead 1.0.0-SNAPSHOT [3/7]
|
|
[INFO] from D:\code\crm-backend-matt\crm-lead\pom.xml
|
|
[INFO] --------------------------------[ jar ]---------------------------------
|
|
[INFO]
|
|
[INFO] --- resources:3.3.1:resources (default-resources) @ crm-lead ---
|
|
[INFO] skip non existing resourceDirectory D:\code\crm-backend-matt\crm-lead\src\main\resources
|
|
[INFO] skip non existing resourceDirectory D:\code\crm-backend-matt\crm-lead\src\main\resources
|
|
[INFO]
|
|
[INFO] --- compiler:3.13.0:compile (default-compile) @ crm-lead ---
|
|
[INFO] Nothing to compile - all classes are up to date.
|
|
[INFO]
|
|
[INFO] --- resources:3.3.1:testResources (default-testResources) @ crm-lead ---
|
|
[INFO] skip non existing resourceDirectory D:\code\crm-backend-matt\crm-lead\src\test\resources
|
|
[INFO]
|
|
[INFO] --- compiler:3.13.0:testCompile (default-testCompile) @ crm-lead ---
|
|
[INFO] Nothing to compile - all classes are up to date.
|
|
[INFO]
|
|
[INFO] --- surefire:3.2.5:test (default-test) @ crm-lead ---
|
|
[INFO] Using auto detected provider org.apache.maven.surefire.junitplatform.JUnitPlatformProvider
|
|
[INFO]
|
|
[INFO] -------------------------------------------------------
|
|
[INFO] T E S T S
|
|
[INFO] -------------------------------------------------------
|
|
[INFO] Running com.crm.lead.creation.impl.LeadCreationPlannerImplTest
|
|
Java HotSpot(TM) 64-Bit Server VM warning: Sharing is only supported fo
|
|
r boot loader classes because bootstrap classpath has been appended
|
|
Standard Commons Logging discovery in action with spring-jcl: please remove commons-logging.jar from classpath in order to avoid potential conflicts
|
|
[INFO] Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.164 s -- in com.crm.lead.creation.impl.LeadCreationPlannerImplTest
|
|
[INFO] Running com.crm.lead.deadline.impl.LeadDeadlinesImplTest
|
|
[INFO] Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.335 s -- in com.crm.lead.deadline.impl.LeadDeadlinesImplTest
|
|
[INFO] Running com.crm.lead.event.PoolChangedEventListenerTest
|
|
14:39:39.120 [main] INFO com.crm.lead.event.PoolChangedEventListener -- 收到公海池配置变更事件:poolId=10
|
|
14:39:39.129 [main] INFO com.crm.lead.event.PoolChangedEventListener -- 公海池配置变更处理完成:poolId=10,deadline 重算合计 15 行
|
|
14:39:39.133 [main] INFO com.crm.lead.event.PoolChangedEventListener -- 收到公海池配置变更事件:poolId=10
|
|
14:39:39.134 [main] INFO com.crm.lead.event.PoolChangedEventListener -- 公海池配置变更处理完成:poolId=10,deadline 重算合计 0 行
|
|
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.029 s -- in com.crm.lead.event.PoolChangedEventListenerTest
|
|
[INFO] Running com.crm.lead.history.impl.LeadHistoryRecorderImplTest
|
|
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.287 s -- in com.crm.lead.history.impl.LeadHistoryRecorderImplTest
|
|
[INFO] Running com.crm.lead.job.LeadMaintenanceJobTest
|
|
14:39:39.479 [main] INFO com.crm.lead.job.LeadMaintenanceJob -- [线索维护Job] 开始,截止时刻=2026-09-08T14:39:39.479581
|
|
14:39:39.479 [main] INFO com.crm.lead.job.LeadMaintenanceJob -- [线索维护Job] 失效完成:3 条线索已失效
|
|
14:39:39.479 [main] INFO com.crm.lead.job.LeadMaintenanceJob -- [线索维护Job] 回收完成:5 条线索已回收
|
|
14:39:39.480 [main] INFO com.crm.lead.job.LeadMaintenanceJob -- [线索维护Job] 全部完成
|
|
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.038 s -- in com.crm.lead.job.LeadMaintenanceJobTest
|
|
[INFO] Running com.crm.lead.owner.impl.OwnerSnapshotResolverImplTest
|
|
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.166 s -- in com.crm.lead.owner.impl.OwnerSnapshotResolverImplTest
|
|
[INFO] Running com.crm.lead.port.inbound.ConvertibleLeadCatalogPortImplTest
|
|
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.039 s -- in com.crm.lead.port.inbound.ConvertibleLeadCatalogPortImplTest
|
|
[INFO] Running com.crm.lead.query.impl.LeadViewQueryImplTest
|
|
[INFO] Tests run: 20, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.414 s -- in com.crm.lead.query.impl.LeadViewQueryImplTest
|
|
[INFO] Running com.crm.lead.service.ClaimLimitCheckerTest
|
|
[INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.032 s -- in com.crm.lead.service.ClaimLimitCheckerTest
|
|
[INFO] Running com.crm.lead.service.impl.LeadBatchServiceTest
|
|
14:39:40.292 [main] ERROR com.crm.base.domain.result.BatchRunner -- 批量操作单条异常:id=9
|
|
java.lang.IllegalStateException: boom
|
|
at com.crm.base.domain.result.BatchRunner.run(BatchRunner.java:43)
|
|
at com.crm.lead.service.impl.LeadServiceImpl.releaseBatch(LeadServiceImpl.java:476)
|
|
at com.crm.lead.service.impl.LeadBatchServiceTest.unexpectedException_mapsToUnknown(LeadBatchServiceTest.java:87)
|
|
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
|
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
|
|
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
|
|
at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:728)
|
|
at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
|
|
at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131)
|
|
at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:156)
|
|
at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:147)
|
|
at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:86)
|
|
at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(InterceptingExecutableInvoker.java:103)
|
|
at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.lambda$invoke$0(InterceptingExecutableInvoker.java:93)
|
|
at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106)
|
|
at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64)
|
|
at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45)
|
|
at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37)
|
|
at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:92)
|
|
at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:86)
|
|
at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$7(TestMethodTestDescriptor.java:218)
|
|
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
|
|
at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:214)
|
|
at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:139)
|
|
at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:69)
|
|
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:156)
|
|
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
|
|
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:146)
|
|
at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
|
|
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:144)
|
|
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
|
|
at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:143)
|
|
at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:100)
|
|
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
|
|
at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
|
|
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:160)
|
|
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
|
|
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:146)
|
|
at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
|
|
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:144)
|
|
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
|
|
at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:143)
|
|
at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:100)
|
|
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
|
|
at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
|
|
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:160)
|
|
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
|
|
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:146)
|
|
at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
|
|
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:144)
|
|
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
|
|
at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:143)
|
|
at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:100)
|
|
at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:35)
|
|
at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57)
|
|
at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:54)
|
|
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:198)
|
|
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:169)
|
|
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:93)
|
|
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:58)
|
|
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:141)
|
|
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:57)
|
|
at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:103)
|
|
at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:85)
|
|
at org.junit.platform.launcher.core.DelegatingLauncher.execute(DelegatingLauncher.java:47)
|
|
at org.apache.maven.surefire.junitplatform.LazyLauncher.execute(LazyLauncher.java:56)
|
|
at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.execute(JUnitPlatformProvider.java:184)
|
|
at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:148)
|
|
at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:122)
|
|
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385)
|
|
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
|
|
at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507)
|
|
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495)
|
|
[INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.102 s -- in com.crm.lead.service.impl.LeadBatchServiceTest
|
|
[INFO] Running com.crm.lead.service.impl.LeadServiceImplTest
|
|
[INFO] Tests run: 55, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.613 s -- in com.crm.lead.service.impl.LeadServiceImplTest
|
|
[INFO] Running com.crm.lead.state.impl.LeadTransitionImplTest
|
|
[INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.040 s -- in com.crm.lead.state.impl.LeadTransitionImplTest
|
|
[INFO]
|
|
[INFO] Results:
|
|
[INFO]
|
|
[INFO] Tests run: 131, Failures: 0, Errors: 0, Skipped: 0
|
|
[INFO]
|
|
[INFO]
|
|
[INFO] ------------------------< com.crm:crm-customer >------------------------
|
|
[INFO] Building crm-customer 1.0.0-SNAPSHOT [4/7]
|
|
[INFO] from D:\code\crm-backend-matt\crm-customer\pom.xml
|
|
[INFO] --------------------------------[ jar ]---------------------------------
|
|
[INFO]
|
|
[INFO] --- resources:3.3.1:resources (default-resources) @ crm-customer ---
|
|
[INFO] skip non existing resourceDirectory D:\code\crm-backend-matt\crm-customer\src\main\resources
|
|
[INFO] skip non existing resourceDirectory D:\code\crm-backend-matt\crm-customer\src\main\resources
|
|
[INFO]
|
|
[INFO] --- compiler:3.13.0:compile (default-compile) @ crm-customer ---
|
|
[INFO] Nothing to compile - all classes are up to date.
|
|
[INFO]
|
|
[INFO] --- resources:3.3.1:testResources (default-testResources) @ crm-customer ---
|
|
[INFO] skip non existing resourceDirectory D:\code\crm-backend-matt\crm-customer\src\test\resources
|
|
[INFO]
|
|
[INFO] --- compiler:3.13.0:testCompile (default-testCompile) @ crm-customer ---
|
|
[INFO] Nothing to compile - all classes are up to date.
|
|
[INFO]
|
|
[INFO] --- surefire:3.2.5:test (default-test) @ crm-customer ---
|
|
[INFO] Using auto detected provider org.apache.maven.surefire.junitplatform.JUnitPlatformProvider
|
|
[INFO]
|
|
[INFO] -------------------------------------------------------
|
|
[INFO] T E S T S
|
|
[INFO] -------------------------------------------------------
|
|
[INFO] Running com.crm.customer.job.CustomerReminderJobIntegrationTest
|
|
Java HotSpot(TM) 64-Bit Server VM warning: Sharing is only supported fo
|
|
r boot loader classes because bootstrap classpath has been appended
|
|
14:39:46.629 [main] INFO com.crm.customer.job.CustomerReminderJob -- [客户提醒Job] 开始,now=2026-09-08T14:39:46.627302700
|
|
14:39:46.731 [main] INFO com.crm.customer.job.CustomerReminderJob -- [客户提醒Job] 完成:新增待发 1 条,旧锚点失效 0 条
|
|
14:39:46.848 [main] INFO com.crm.customer.job.CustomerReminderJob -- [客户提醒Job] 开始,now=2026-09-08T14:39:46.848759700
|
|
14:39:46.849 [main] INFO com.crm.customer.job.CustomerReminderJob -- [客户提醒Job] 提醒规则未初始化或总开关关闭,整轮跳过
|
|
14:39:46.851 [main] INFO com.crm.customer.job.CustomerReminderJob -- [客户提醒Job] 开始,now=2026-09-08T14:39:46.851751400
|
|
14:39:46.851 [main] INFO com.crm.customer.job.CustomerReminderJob -- [客户提醒Job] 提醒规则未初始化或总开关关闭,整轮跳过
|
|
14:39:46.853 [main] INFO com.crm.customer.job.CustomerReminderJob -- [客户提醒Job] 开始,now=2026-09-08T14:39:46.853747
|
|
14:39:46.853 [main] INFO com.crm.customer.job.CustomerReminderJob -- [客户提醒Job] 首次触发与二次提醒均关闭,整轮跳过
|
|
14:39:46.866 [main] INFO com.crm.customer.job.CustomerReminderJob -- [客户提醒Job] 开始,now=2026-09-08T14:39:46.866712
|
|
14:39:46.875 [main] INFO com.crm.customer.job.CustomerReminderJob -- [客户提醒Job] 完成:新增待发 1 条,旧锚点失效 0 条
|
|
14:39:46.893 [main] INFO com.crm.customer.job.CustomerReminderJob -- [客户提醒Job] 开始,now=2026-09-08T14:39:46.893206
|
|
14:39:46.909 [main] INFO com.crm.customer.job.CustomerReminderJob -- [客户提醒Job] 完成:新增待发 0 条,旧锚点失效 1 条
|
|
14:39:46.925 [main] INFO com.crm.customer.job.CustomerReminderJob -- [客户提醒Job] 开始,now=2026-09-08T14:39:46.925326400
|
|
14:39:46.935 [main] INFO com.crm.customer.job.CustomerReminderJob -- [客户提醒Job] 完成:新增待发 1 条,旧锚点失效 0 条
|
|
14:39:46.952 [main] INFO com.crm.customer.job.CustomerReminderJob -- [客户提醒Job] 开始,now=2026-09-08T14:39:46.952253500
|
|
14:39:46.959 [main] INFO com.crm.customer.job.CustomerReminderJob -- [客户提醒Job] 完成:新增待发 0 条,旧锚点失效 0 条
|
|
14:39:46.974 [main] INFO com.crm.customer.job.CustomerReminderJob -- [客户提醒Job] 开始,now=2026-09-08T14:39:46.974625300
|
|
14:39:46.978 [main] INFO com.crm.customer.job.CustomerReminderJob -- [客户提醒Job] 完成:新增待发 0 条,旧锚点失效 0 条
|
|
14:39:46.992 [main] INFO com.crm.customer.job.CustomerReminderJob -- [客户提醒Job] 开始,now=2026-09-08T14:39:46.992137
|
|
14:39:46.997 [main] INFO com.crm.customer.job.CustomerReminderJob -- [客户提醒Job] 完成:新增待发 1 条,旧锚点失效 0 条
|
|
14:39:46.997 [main] INFO com.crm.customer.job.CustomerReminderJob -- [客户提醒Job] 开始,now=2026-09-08T14:39:46.997128700
|
|
14:39:47.000 [main] INFO com.crm.customer.job.CustomerReminderJob -- [客户提醒Job] 完成:新增待发 0 条,旧锚点失效 0 条
|
|
14:39:47.011 [main] INFO com.crm.customer.job.CustomerReminderJob -- [客户提醒Job] 开始,now=2026-09-08T14:39:47.011764400
|
|
14:39:47.014 [main] INFO com.crm.customer.job.CustomerReminderJob -- [客户提醒Job] 无参与扫描客户,跳过
|
|
[INFO] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.241 s -- in com.crm.customer.job.CustomerReminderJobIntegrationTest
|
|
[INFO] Running com.crm.customer.port.impl.CustomerCatalogPortImplIntegrationTest
|
|
Standard Commons Logging discovery in action with spring-jcl: please remove commons-logging.jar from classpath in order to avoid potential conflicts
|
|
[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.947 s -- in com.crm.customer.port.impl.CustomerCatalogPortImplIntegrationTest
|
|
[INFO] Running com.crm.customer.port.impl.CustomerStagePortIntegrationTest
|
|
[INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.214 s -- in com.crm.customer.port.impl.CustomerStagePortIntegrationTest
|
|
[INFO] Running com.crm.customer.query.CustomerSavedViewFilterTest
|
|
[INFO] Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.038 s -- in com.crm.customer.query.CustomerSavedViewFilterTest
|
|
[INFO] Running com.crm.customer.service.CustomerOwnershipWriterIntegrationTest
|
|
[INFO] Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.189 s -- in com.crm.customer.service.CustomerOwnershipWriterIntegrationTest
|
|
[INFO] Running com.crm.customer.service.impl.CustomerAgreementIntegrationTest
|
|
[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.273 s -- in com.crm.customer.service.impl.CustomerAgreementIntegrationTest
|
|
[INFO] Running com.crm.customer.service.impl.CustomerContactServiceIntegrationTest
|
|
[INFO] Tests run: 21, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.592 s -- in com.crm.customer.service.impl.CustomerContactServiceIntegrationTest
|
|
[INFO] Running com.crm.customer.service.impl.CustomerDetailMembersIntegrationTest
|
|
[INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.298 s -- in com.crm.customer.service.impl.CustomerDetailMembersIntegrationTest
|
|
[INFO] Running com.crm.customer.service.impl.CustomerFocusIntegrationTest
|
|
[INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.220 s -- in com.crm.customer.service.impl.CustomerFocusIntegrationTest
|
|
[INFO] Running com.crm.customer.service.impl.CustomerFollowDetailIntegrationTest
|
|
14:39:50.172 [main] WARN com.crm.customer.service.impl.CustomerDetailServiceImpl -- 关联商机计数反查失败(降级显 --)customerId=2097213301747290115
|
|
java.lang.IllegalStateException: 商机模块不可用
|
|
at com.crm.customer.service.impl.CustomerFollowDetailIntegrationTest$1.pageByCustomerId(CustomerFollowDetailIntegrationTest.java:265)
|
|
at com.crm.customer.service.impl.CustomerDetailServiceImpl.countOpportunitiesQuietly(CustomerDetailServiceImpl.java:272)
|
|
at com.crm.customer.service.impl.CustomerDetailServiceImpl.detailHead(CustomerDetailServiceImpl.java:86)
|
|
at com.crm.customer.service.impl.CustomerFollowDetailIntegrationTest.detailHead_aggregate(CustomerFollowDetailIntegrationTest.java:273)
|
|
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
|
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
|
|
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
|
|
at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:728)
|
|
at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
|
|
at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131)
|
|
at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:156)
|
|
at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:147)
|
|
at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:86)
|
|
at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(InterceptingExecutableInvoker.java:103)
|
|
at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.lambda$invoke$0(InterceptingExecutableInvoker.java:93)
|
|
at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106)
|
|
at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64)
|
|
at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45)
|
|
at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37)
|
|
at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:92)
|
|
at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:86)
|
|
at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$7(TestMethodTestDescriptor.java:218)
|
|
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
|
|
at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:214)
|
|
at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:139)
|
|
at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:69)
|
|
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:156)
|
|
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
|
|
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:146)
|
|
at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
|
|
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:144)
|
|
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
|
|
at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:143)
|
|
at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:100)
|
|
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
|
|
at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
|
|
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:160)
|
|
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
|
|
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:146)
|
|
at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
|
|
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:144)
|
|
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
|
|
at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:143)
|
|
at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:100)
|
|
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
|
|
at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
|
|
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:160)
|
|
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
|
|
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:146)
|
|
at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
|
|
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:144)
|
|
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
|
|
at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:143)
|
|
at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:100)
|
|
at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:35)
|
|
at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57)
|
|
at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:54)
|
|
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:198)
|
|
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:169)
|
|
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:93)
|
|
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:58)
|
|
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:141)
|
|
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:57)
|
|
at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:103)
|
|
at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:85)
|
|
at org.junit.platform.launcher.core.DelegatingLauncher.execute(DelegatingLauncher.java:47)
|
|
at org.apache.maven.surefire.junitplatform.LazyLauncher.execute(LazyLauncher.java:56)
|
|
at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.execute(JUnitPlatformProvider.java:184)
|
|
at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:148)
|
|
at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:122)
|
|
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385)
|
|
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
|
|
at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507)
|
|
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495)
|
|
[INFO] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.382 s -- in com.crm.customer.service.impl.CustomerFollowDetailIntegrationTest
|
|
[INFO] Running com.crm.customer.service.impl.CustomerImportIntegrationTest
|
|
14:39:52.057 [main] INFO com.crm.customer.task.CustomerImportExecutor -- 客户导入任务完成:taskId=2097213309452226561, insert=1, update=0, unchanged=0, fail=1, suspect=0
|
|
14:39:52.265 [main] INFO com.crm.customer.task.CustomerImportExecutor -- 客户导入任务完成:taskId=2097213310374973442, insert=1, update=0, unchanged=0, fail=0, suspect=0
|
|
14:39:52.456 [main] INFO com.crm.customer.task.CustomerImportExecutor -- 客户导入任务完成:taskId=2097213311234805762, insert=1, update=0, unchanged=0, fail=2, suspect=0
|
|
14:39:52.692 [main] INFO com.crm.customer.task.CustomerImportExecutor -- 客户导入任务完成:taskId=2097213312224661505, insert=2, update=0, unchanged=0, fail=0, suspect=1
|
|
14:39:53.014 [main] INFO com.crm.customer.task.CustomerImportExecutor -- 客户导入任务完成:taskId=2097213313600393217, insert=0, update=0, unchanged=1, fail=0, suspect=1
|
|
14:39:53.180 [main] INFO com.crm.customer.task.CustomerImportExecutor -- 客户导入任务完成:taskId=2097213314317619202, insert=0, update=1, unchanged=1, fail=0, suspect=0
|
|
14:39:53.480 [main] INFO com.crm.customer.task.CustomerImportExecutor -- 客户导入任务完成:taskId=2097213315546550273, insert=0, update=0, unchanged=0, fail=0, suspect=1
|
|
14:39:53.714 [main] INFO com.crm.customer.task.CustomerImportExecutor -- 客户导入任务完成:taskId=2097213316607709186, insert=0, update=1, unchanged=0, fail=1, suspect=0
|
|
14:39:54.021 [main] INFO com.crm.customer.task.CustomerImportExecutor -- 客户导入任务完成:taskId=2097213317912137730, insert=1, update=0, unchanged=0, fail=0, suspect=0
|
|
14:39:54.451 [main] INFO com.crm.customer.task.CustomerImportExecutor -- 客户导入任务完成:taskId=2097213319640190978, insert=0, update=1, unchanged=1, fail=0, suspect=0
|
|
[INFO] Tests run: 19, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.197 s -- in com.crm.customer.service.impl.CustomerImportIntegrationTest
|
|
[INFO] Running com.crm.customer.service.impl.CustomerServiceImplIntegrationTest
|
|
[INFO] Tests run: 23, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.378 s -- in com.crm.customer.service.impl.CustomerServiceImplIntegrationTest
|
|
[INFO] Running com.crm.customer.service.impl.CustomerTransferIntegrationTest
|
|
[INFO] Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.390 s -- in com.crm.customer.service.impl.CustomerTransferIntegrationTest
|
|
[INFO] Running com.crm.customer.service.impl.CustomerWorkspaceOwnershipIntegrationTest
|
|
[INFO] Tests run: 21, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.032 s -- in com.crm.customer.service.impl.CustomerWorkspaceOwnershipIntegrationTest
|
|
[INFO] Running com.crm.customer.service.impl.CustomerWorkspaceSavedViewIntegrationTest
|
|
[INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.720 s -- in com.crm.customer.service.impl.CustomerWorkspaceSavedViewIntegrationTest
|
|
[INFO] Running com.crm.customer.service.impl.RuleBackedCustomerDedupSettingProviderTest
|
|
[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.231 s -- in com.crm.customer.service.impl.RuleBackedCustomerDedupSettingProviderTest
|
|
[INFO] Running com.crm.customer.testinfra.CustomerH2SchemaConsistencyTest
|
|
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.023 s -- in com.crm.customer.testinfra.CustomerH2SchemaConsistencyTest
|
|
[INFO]
|
|
[INFO] Results:
|
|
[INFO]
|
|
[INFO] Tests run: 186, Failures: 0, Errors: 0, Skipped: 0
|
|
[INFO]
|
|
[INFO]
|
|
[INFO] ----------------------< com.crm:crm-opportunity >-----------------------
|
|
[INFO] Building crm-opportunity 1.0.0-SNAPSHOT [5/7]
|
|
[INFO] from D:\code\crm-backend-matt\crm-opportunity\pom.xml
|
|
[INFO] --------------------------------[ jar ]---------------------------------
|
|
[INFO]
|
|
[INFO] --- resources:3.3.1:resources (default-resources) @ crm-opportunity ---
|
|
[INFO] skip non existing resourceDirectory D:\code\crm-backend-matt\crm-opportunity\src\main\resources
|
|
[INFO] skip non existing resourceDirectory D:\code\crm-backend-matt\crm-opportunity\src\main\resources
|
|
[INFO]
|
|
[INFO] --- compiler:3.13.0:compile (default-compile) @ crm-opportunity ---
|
|
[INFO] Nothing to compile - all classes are up to date.
|
|
[INFO]
|
|
[INFO] --- resources:3.3.1:testResources (default-testResources) @ crm-opportunity ---
|
|
[INFO] skip non existing resourceDirectory D:\code\crm-backend-matt\crm-opportunity\src\test\resources
|
|
[INFO]
|
|
[INFO] --- compiler:3.13.0:testCompile (default-testCompile) @ crm-opportunity ---
|
|
[INFO] Nothing to compile - all classes are up to date.
|
|
[INFO]
|
|
[INFO] --- surefire:3.2.5:test (default-test) @ crm-opportunity ---
|
|
[INFO] Using auto detected provider org.apache.maven.surefire.junitplatform.JUnitPlatformProvider
|
|
[INFO]
|
|
[INFO] -------------------------------------------------------
|
|
[INFO] T E S T S
|
|
[INFO] -------------------------------------------------------
|
|
[INFO] Running com.crm.opportunity.domain.entity.OpportunityTest
|
|
[INFO] Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.209 s -- in com.crm.opportunity.domain.entity.OpportunityTest
|
|
[INFO] Running com.crm.opportunity.domain.enums.OpportunityChildTablesEnumTest
|
|
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.037 s -- in com.crm.opportunity.domain.enums.OpportunityChildTablesEnumTest
|
|
[INFO] Running com.crm.opportunity.domain.enums.OpportunityOpTypeTest
|
|
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011 s -- in com.crm.opportunity.domain.enums.OpportunityOpTypeTest
|
|
[INFO] Running com.crm.opportunity.domain.enums.OpportunityStatusTest
|
|
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 s -- in com.crm.opportunity.domain.enums.OpportunityStatusTest
|
|
[INFO] Running com.crm.opportunity.domain.enums.TeamMemberPermissionTest
|
|
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.019 s -- in com.crm.opportunity.domain.enums.TeamMemberPermissionTest
|
|
[INFO] Running com.crm.opportunity.history.OpportunityStatusHistoryRecorderImplTest
|
|
Java HotSpot(TM) 64-Bit Server VM warning: Sharing is only supported fo
|
|
r boot loader classes because bootstrap classpath has been appended
|
|
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.415 s -- in com.crm.opportunity.history.OpportunityStatusHistoryRecorderImplTest
|
|
[INFO] Running com.crm.opportunity.intake.impl.OpportunityIntakeImplTest
|
|
[INFO] Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.430 s -- in com.crm.opportunity.intake.impl.OpportunityIntakeImplTest
|
|
[INFO] Running com.crm.opportunity.job.OpportunityMaintenanceJobTest
|
|
14:40:05.002 [main] INFO com.crm.opportunity.job.OpportunityMaintenanceJob -- [商机维护Job] 开始,now=2026-09-08T14:40:04.999794200
|
|
14:40:05.015 [main] INFO com.crm.opportunity.job.OpportunityMaintenanceJob -- [商机维护Job] 提醒完成:0 条待发记录
|
|
14:40:05.015 [main] INFO com.crm.opportunity.job.OpportunityMaintenanceJob -- [商机维护Job] 回收完成:1 条商机
|
|
14:40:05.017 [main] INFO com.crm.opportunity.job.OpportunityMaintenanceJob -- [商机维护Job] 全部完成
|
|
14:40:05.025 [main] INFO com.crm.opportunity.job.OpportunityMaintenanceJob -- [商机维护Job] 开始,now=2026-09-08T14:40:05.025724600
|
|
14:40:05.038 [main] INFO com.crm.opportunity.job.OpportunityMaintenanceJob -- [商机维护Job] 提醒完成:0 条待发记录
|
|
14:40:05.039 [main] INFO com.crm.opportunity.job.OpportunityMaintenanceJob -- [商机维护Job] 回收完成:0 条商机
|
|
14:40:05.039 [main] INFO com.crm.opportunity.job.OpportunityMaintenanceJob -- [商机维护Job] 全部完成
|
|
14:40:05.044 [main] INFO com.crm.opportunity.job.OpportunityMaintenanceJob -- [商机维护Job] 开始,now=2026-09-08T14:40:05.044675200
|
|
14:40:05.044 [main] INFO com.crm.opportunity.job.OpportunityMaintenanceJob -- [商机维护Job] 无发布中公海规则,跳过
|
|
14:40:05.054 [main] INFO com.crm.opportunity.job.OpportunityMaintenanceJob -- [商机维护Job] 开始,now=2026-09-08T14:40:05.054646400
|
|
14:40:05.056 [main] INFO com.crm.opportunity.job.OpportunityMaintenanceJob -- [商机维护Job] 提醒完成:2 条待发记录
|
|
14:40:05.057 [main] INFO com.crm.opportunity.job.OpportunityMaintenanceJob -- [商机维护Job] 回收完成:1 条商机
|
|
14:40:05.057 [main] INFO com.crm.opportunity.job.OpportunityMaintenanceJob -- [商机维护Job] 全部完成
|
|
14:40:05.069 [main] INFO com.crm.opportunity.job.OpportunityMaintenanceJob -- [商机维护Job] 开始,now=2026-09-08T14:40:05.069606
|
|
14:40:05.071 [main] INFO com.crm.opportunity.job.OpportunityMaintenanceJob -- [商机维护Job] 提醒完成:1 条待发记录
|
|
14:40:05.071 [main] INFO com.crm.opportunity.job.OpportunityMaintenanceJob -- [商机维护Job] 回收完成:1 条商机
|
|
14:40:05.071 [main] INFO com.crm.opportunity.job.OpportunityMaintenanceJob -- [商机维护Job] 全部完成
|
|
14:40:05.078 [main] INFO com.crm.opportunity.job.OpportunityMaintenanceJob -- [商机维护Job] 开始,now=2026-09-08T14:40:05.078582100
|
|
14:40:05.079 [main] INFO com.crm.opportunity.job.OpportunityMaintenanceJob -- [商机维护Job] 提醒完成:1 条待发记录
|
|
14:40:05.080 [main] INFO com.crm.opportunity.job.OpportunityMaintenanceJob -- [商机维护Job] 回收完成:1 条商机
|
|
14:40:05.080 [main] INFO com.crm.opportunity.job.OpportunityMaintenanceJob -- [商机维护Job] 全部完成
|
|
14:40:05.093 [main] INFO com.crm.opportunity.job.OpportunityMaintenanceJob -- [商机维护Job] 开始,now=2026-09-08T14:40:05.093542100
|
|
14:40:05.094 [main] INFO com.crm.opportunity.job.OpportunityMaintenanceJob -- [商机维护Job] 提醒完成:0 条待发记录
|
|
14:40:05.094 [main] INFO com.crm.opportunity.job.OpportunityMaintenanceJob -- [商机维护Job] 回收完成:0 条商机
|
|
14:40:05.094 [main] INFO com.crm.opportunity.job.OpportunityMaintenanceJob -- [商机维护Job] 全部完成
|
|
14:40:05.097 [main] INFO com.crm.opportunity.job.OpportunityMaintenanceJob -- [商机维护Job] 开始,now=2026-09-08T14:40:05.097531300
|
|
14:40:05.098 [main] INFO com.crm.opportunity.job.OpportunityMaintenanceJob -- [商机维护Job] 提醒完成:0 条待发记录
|
|
14:40:05.098 [main] INFO com.crm.opportunity.job.OpportunityMaintenanceJob -- [商机维护Job] 回收完成:0 条商机
|
|
14:40:05.098 [main] INFO com.crm.opportunity.job.OpportunityMaintenanceJob -- [商机维护Job] 全部完成
|
|
14:40:05.104 [main] INFO com.crm.opportunity.job.OpportunityMaintenanceJob -- [商机维护Job] 开始,now=2026-09-08T14:40:05.104512300
|
|
14:40:05.105 [main] INFO com.crm.opportunity.job.OpportunityMaintenanceJob -- [商机维护Job] 提醒完成:0 条待发记录
|
|
14:40:05.105 [main] INFO com.crm.opportunity.job.OpportunityMaintenanceJob -- [商机维护Job] 回收完成:0 条商机
|
|
14:40:05.105 [main] INFO com.crm.opportunity.job.OpportunityMaintenanceJob -- [商机维护Job] 全部完成
|
|
14:40:05.111 [main] INFO com.crm.opportunity.job.OpportunityMaintenanceJob -- [商机维护Job] 开始,now=2026-09-08T14:40:05.111496
|
|
14:40:05.112 [main] INFO com.crm.opportunity.job.OpportunityMaintenanceJob -- [商机维护Job] 提醒完成:1 条待发记录
|
|
14:40:05.112 [main] INFO com.crm.opportunity.job.OpportunityMaintenanceJob -- [商机维护Job] 回收完成:0 条商机
|
|
14:40:05.112 [main] INFO com.crm.opportunity.job.OpportunityMaintenanceJob -- [商机维护Job] 全部完成
|
|
[INFO] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.317 s -- in com.crm.opportunity.job.OpportunityMaintenanceJobTest
|
|
[INFO] Running com.crm.opportunity.mapper.OpportunityChildTablesMapperTest
|
|
[INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.041 s -- in com.crm.opportunity.mapper.OpportunityChildTablesMapperTest
|
|
[INFO] Running com.crm.opportunity.mapper.OpportunityMapperTest
|
|
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.012 s -- in com.crm.opportunity.mapper.OpportunityMapperTest
|
|
[INFO] Running com.crm.opportunity.mapper.OpportunitySiteSurveyMapperTest
|
|
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.014 s -- in com.crm.opportunity.mapper.OpportunitySiteSurveyMapperTest
|
|
[INFO] Running com.crm.opportunity.mapper.OpportunityViewSourceMapperTest
|
|
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.024 s -- in com.crm.opportunity.mapper.OpportunityViewSourceMapperTest
|
|
[INFO] Running com.crm.opportunity.port.inbound.impl.CustomerOpportunityQueryPortImplTest
|
|
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.012 s -- in com.crm.opportunity.port.inbound.impl.CustomerOpportunityQueryPortImplTest
|
|
[INFO] Running com.crm.opportunity.port.inbound.impl.OpportunityOwnerSyncPortImplTest
|
|
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.156 s -- in com.crm.opportunity.port.inbound.impl.OpportunityOwnerSyncPortImplTest
|
|
[INFO] Running com.crm.opportunity.port.inbound.OpportunityConvertPortImplTest
|
|
[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.142 s -- in com.crm.opportunity.port.inbound.OpportunityConvertPortImplTest
|
|
[INFO] Running com.crm.opportunity.port.inbound.OpportunityCreationPortImplTest
|
|
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.033 s -- in com.crm.opportunity.port.inbound.OpportunityCreationPortImplTest
|
|
[INFO] Running com.crm.opportunity.query.impl.OpportunitySavedViewFilterTest
|
|
[INFO] Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.043 s -- in com.crm.opportunity.query.impl.OpportunitySavedViewFilterTest
|
|
[INFO] Running com.crm.opportunity.query.impl.OpportunityViewQueryImplTest
|
|
Standard Commons Logging discovery in action with spring-jcl: please remove commons-logging.jar from classpath in order to avoid potential conflicts
|
|
[INFO] Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.589 s -- in com.crm.opportunity.query.impl.OpportunityViewQueryImplTest
|
|
[INFO] Running com.crm.opportunity.query.OpportunityViewQuerySkeletonTest
|
|
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.013 s -- in com.crm.opportunity.query.OpportunityViewQuerySkeletonTest
|
|
[INFO] Running com.crm.opportunity.schemecard.impl.OpportunitySchemeCardServiceImplTest
|
|
14:40:06.716 [main] WARN com.crm.opportunity.schemecard.impl.OpportunitySchemeCardServiceImpl -- valuesJson 解析失败:Unrecognized token 'not': was expecting (JSON String, Number, Array, Object or token 'null', 'true' or 'false')
|
|
at [Source: REDACTED (`StreamReadFeature.INCLUDE_SOURCE_IN_LOCATION` disabled); line: 1, column: 4]
|
|
[INFO] Tests run: 22, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.398 s -- in com.crm.opportunity.schemecard.impl.OpportunitySchemeCardServiceImplTest
|
|
[INFO] Running com.crm.opportunity.service.impl.OpportunityBoardIntegrationTest
|
|
[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.310 s -- in com.crm.opportunity.service.impl.OpportunityBoardIntegrationTest
|
|
[INFO] Running com.crm.opportunity.service.impl.OpportunityCollabServiceImplTest
|
|
[INFO] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.049 s -- in com.crm.opportunity.service.impl.OpportunityCollabServiceImplTest
|
|
[INFO] Running com.crm.opportunity.service.impl.OpportunityCreateServiceImplTest
|
|
[INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.063 s -- in com.crm.opportunity.service.impl.OpportunityCreateServiceImplTest
|
|
[INFO] Running com.crm.opportunity.service.impl.OpportunityDetailServiceImplTest
|
|
[INFO] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.110 s -- in com.crm.opportunity.service.impl.OpportunityDetailServiceImplTest
|
|
[INFO] Running com.crm.opportunity.service.OpportunityOplogWriterTest
|
|
[INFO] Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.041 s -- in com.crm.opportunity.service.OpportunityOplogWriterTest
|
|
[INFO] Running com.crm.opportunity.stage.impl.OpportunityStageServiceImplTest
|
|
14:40:08.421 [main] WARN com.crm.opportunity.stage.impl.OpportunityStageServiceImpl -- 商机 7001 绑定的阶段模板版本 8001 缺固定节点「已转项目」,跳过阶段联动
|
|
[INFO] Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.071 s -- in com.crm.opportunity.stage.impl.OpportunityStageServiceImplTest
|
|
[INFO] Running com.crm.opportunity.state.impl.OpportunityTransitionImplTest
|
|
[INFO] Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.137 s -- in com.crm.opportunity.state.impl.OpportunityTransitionImplTest
|
|
[INFO] Running com.crm.opportunity.state.OpportunityActionGuardTest
|
|
[INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.022 s -- in com.crm.opportunity.state.OpportunityActionGuardTest
|
|
[INFO] Running com.crm.opportunity.state.OpportunityTransitionCmdTest
|
|
[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.013 s -- in com.crm.opportunity.state.OpportunityTransitionCmdTest
|
|
[INFO] Running com.crm.opportunity.sub.attachment.OpportunityAttachmentServiceImplTest
|
|
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.097 s -- in com.crm.opportunity.sub.attachment.OpportunityAttachmentServiceImplTest
|
|
[INFO] Running com.crm.opportunity.sub.customer.OpportunityCustomerServiceImplTest
|
|
[INFO] Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.175 s -- in com.crm.opportunity.sub.customer.OpportunityCustomerServiceImplTest
|
|
[INFO] Running com.crm.opportunity.sub.follow.OpportunityFollowServiceImplTest
|
|
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.012 s -- in com.crm.opportunity.sub.follow.OpportunityFollowServiceImplTest
|
|
[INFO] Running com.crm.opportunity.sub.oplog.OpportunityOplogQueryServiceImplTest
|
|
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.018 s -- in com.crm.opportunity.sub.oplog.OpportunityOplogQueryServiceImplTest
|
|
[INFO] Running com.crm.opportunity.sub.siteSurvey.OpportunitySiteSurveyServiceImplTest
|
|
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 s -- in com.crm.opportunity.sub.siteSurvey.OpportunitySiteSurveyServiceImplTest
|
|
[INFO] Running com.crm.opportunity.sub.team.OpportunityTeamServiceImplTest
|
|
[INFO] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.040 s -- in com.crm.opportunity.sub.team.OpportunityTeamServiceImplTest
|
|
[INFO] Running com.crm.opportunity.sub.workplan.OpportunityWorkPlanServiceImplTest
|
|
[INFO] Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.048 s -- in com.crm.opportunity.sub.workplan.OpportunityWorkPlanServiceImplTest
|
|
[INFO]
|
|
[INFO] Results:
|
|
[INFO]
|
|
[INFO] Tests run: 262, Failures: 0, Errors: 0, Skipped: 0
|
|
[INFO]
|
|
[INFO]
|
|
[INFO] --------------------------< com.crm:crm-log >---------------------------
|
|
[INFO] Building crm-log 1.0.0-SNAPSHOT [6/7]
|
|
[INFO] from D:\code\crm-backend-matt\crm-log\pom.xml
|
|
[INFO] --------------------------------[ jar ]---------------------------------
|
|
[INFO]
|
|
[INFO] --- resources:3.3.1:resources (default-resources) @ crm-log ---
|
|
[INFO] skip non existing resourceDirectory D:\code\crm-backend-matt\crm-log\src\main\resources
|
|
[INFO] skip non existing resourceDirectory D:\code\crm-backend-matt\crm-log\src\main\resources
|
|
[INFO]
|
|
[INFO] --- compiler:3.13.0:compile (default-compile) @ crm-log ---
|
|
[INFO] Recompiling the module because of changed source code.
|
|
[INFO] Compiling 20 source files with javac [debug parameters release 17] to target\classes
|
|
[INFO]
|
|
[INFO] --- resources:3.3.1:testResources (default-testResources) @ crm-log ---
|
|
[INFO] skip non existing resourceDirectory D:\code\crm-backend-matt\crm-log\src\test\resources
|
|
[INFO]
|
|
[INFO] --- compiler:3.13.0:testCompile (default-testCompile) @ crm-log ---
|
|
[INFO] Recompiling the module because of changed dependency.
|
|
[INFO] Compiling 4 source files with javac [debug parameters release 17] to target\test-classes
|
|
[INFO]
|
|
[INFO] --- surefire:3.2.5:test (default-test) @ crm-log ---
|
|
[INFO] Using auto detected provider org.apache.maven.surefire.junitplatform.JUnitPlatformProvider
|
|
[INFO]
|
|
[INFO] -------------------------------------------------------
|
|
[INFO] T E S T S
|
|
[INFO] -------------------------------------------------------
|
|
[INFO] Running com.crm.log.aspect.OpLogAspectTest
|
|
Java HotSpot(TM) 64-Bit Server VM warning: Sharing is only supported fo
|
|
r boot loader classes because bootstrap classpath has been appended
|
|
Standard Commons Logging discovery in action with spring-jcl: please remove commons-logging.jar from classpath in order to avoid potential conflicts
|
|
14:40:25.604 [main] WARN com.crm.log.aspect.OpLogAspect -- 操作日志切面采集失败(不阻塞主流程):db down
|
|
[INFO] Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.962 s -- in com.crm.log.aspect.OpLogAspectTest
|
|
[INFO] Running com.crm.log.collector.OperationLogCollectorTest
|
|
14:40:27.218 [main] WARN com.crm.log.collector.OperationLogCollector -- 登录日志采集失败(不阻塞主流程):db down
|
|
[ERROR] Tests run: 7, Failures: 0, Errors: 7, Skipped: 0, Time elapsed: 1.590 s <<< FAILURE! -- in com.crm.log.collector.OperationLogCollectorTest
|
|
[ERROR] com.crm.log.collector.OperationLogCollectorTest.recordBatch_withResultFile_uploadsArchive -- Time elapsed: 0.488 s <<< ERROR!
|
|
org.mockito.exceptions.misusing.UnnecessaryStubbingException:
|
|
|
|
Unnecessary stubbings detected.
|
|
Clean & maintainable test code requires zero unnecessary code.
|
|
Following stubbings are unnecessary (click to navigate to relevant line of code):
|
|
1. -> at com.crm.log.collector.OperationLogCollectorTest.setUp(OperationLogCollectorTest.java:59)
|
|
Please remove unnecessary stubbings or use 'lenient' strictness. More info: javadoc for UnnecessaryStubbingException class.
|
|
at org.mockito.junit.jupiter.MockitoExtension.afterEach(MockitoExtension.java:197)
|
|
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
|
|
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
|
|
|
|
[ERROR] com.crm.log.collector.OperationLogCollectorTest.recordLogin_withoutUserId_usesFallback -- Time elapsed: 0.009 s <<< ERROR!
|
|
org.mockito.exceptions.misusing.UnnecessaryStubbingException:
|
|
|
|
Unnecessary stubbings detected.
|
|
Clean & maintainable test code requires zero unnecessary code.
|
|
Following stubbings are unnecessary (click to navigate to relevant line of code):
|
|
1. -> at com.crm.log.collector.OperationLogCollectorTest.setUp(OperationLogCollectorTest.java:60)
|
|
Please remove unnecessary stubbings or use 'lenient' strictness. More info: javadoc for UnnecessaryStubbingException class.
|
|
at org.mockito.junit.jupiter.MockitoExtension.afterEach(MockitoExtension.java:197)
|
|
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
|
|
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
|
|
|
|
[ERROR] com.crm.log.collector.OperationLogCollectorTest.recordBatch_withFailures_uploadsErrorReport -- Time elapsed: 1.051 s <<< ERROR!
|
|
org.mockito.exceptions.misusing.UnnecessaryStubbingException:
|
|
|
|
Unnecessary stubbings detected.
|
|
Clean & maintainable test code requires zero unnecessary code.
|
|
Following stubbings are unnecessary (click to navigate to relevant line of code):
|
|
1. -> at com.crm.log.collector.OperationLogCollectorTest.setUp(OperationLogCollectorTest.java:59)
|
|
Please remove unnecessary stubbings or use 'lenient' strictness. More info: javadoc for UnnecessaryStubbingException class.
|
|
at org.mockito.junit.jupiter.MockitoExtension.afterEach(MockitoExtension.java:197)
|
|
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
|
|
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
|
|
|
|
[ERROR] com.crm.log.collector.OperationLogCollectorTest.recordLogin_withUserId_fillsSnapshot -- Time elapsed: 0.011 s <<< ERROR!
|
|
org.mockito.exceptions.misusing.UnnecessaryStubbingException:
|
|
|
|
Unnecessary stubbings detected.
|
|
Clean & maintainable test code requires zero unnecessary code.
|
|
Following stubbings are unnecessary (click to navigate to relevant line of code):
|
|
1. -> at com.crm.log.collector.OperationLogCollectorTest.setUp(OperationLogCollectorTest.java:60)
|
|
Please remove unnecessary stubbings or use 'lenient' strictness. More info: javadoc for UnnecessaryStubbingException class.
|
|
at org.mockito.junit.jupiter.MockitoExtension.afterEach(MockitoExtension.java:197)
|
|
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
|
|
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
|
|
|
|
[ERROR] com.crm.log.collector.OperationLogCollectorTest.recordLogin_insertThrows_swallows -- Time elapsed: 0.007 s <<< ERROR!
|
|
org.mockito.exceptions.misusing.UnnecessaryStubbingException:
|
|
|
|
Unnecessary stubbings detected.
|
|
Clean & maintainable test code requires zero unnecessary code.
|
|
Following stubbings are unnecessary (click to navigate to relevant line of code):
|
|
1. -> at com.crm.log.collector.OperationLogCollectorTest.setUp(OperationLogCollectorTest.java:59)
|
|
2. -> at com.crm.log.collector.OperationLogCollectorTest.setUp(OperationLogCollectorTest.java:60)
|
|
Please remove unnecessary stubbings or use 'lenient' strictness. More info: javadoc for UnnecessaryStubbingException class.
|
|
at org.mockito.junit.jupiter.MockitoExtension.afterEach(MockitoExtension.java:197)
|
|
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
|
|
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
|
|
|
|
[ERROR] com.crm.log.collector.OperationLogCollectorTest.recordOperation_fillsSnapshotAndContent -- Time elapsed: 0.007 s <<< ERROR!
|
|
org.mockito.exceptions.misusing.UnnecessaryStubbingException:
|
|
|
|
Unnecessary stubbings detected.
|
|
Clean & maintainable test code requires zero unnecessary code.
|
|
Following stubbings are unnecessary (click to navigate to relevant line of code):
|
|
1. -> at com.crm.log.collector.OperationLogCollectorTest.setUp(OperationLogCollectorTest.java:59)
|
|
2. -> at com.crm.log.collector.OperationLogCollectorTest.setUp(OperationLogCollectorTest.java:60)
|
|
Please remove unnecessary stubbings or use 'lenient' strictness. More info: javadoc for UnnecessaryStubbingException class.
|
|
at org.mockito.junit.jupiter.MockitoExtension.afterEach(MockitoExtension.java:197)
|
|
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
|
|
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
|
|
|
|
[ERROR] com.crm.log.collector.OperationLogCollectorTest.recordBatch_withoutFile_skipsUpload -- Time elapsed: 0.003 s <<< ERROR!
|
|
org.mockito.exceptions.misusing.UnnecessaryStubbingException:
|
|
|
|
Unnecessary stubbings detected.
|
|
Clean & maintainable test code requires zero unnecessary code.
|
|
Following stubbings are unnecessary (click to navigate to relevant line of code):
|
|
1. -> at com.crm.log.collector.OperationLogCollectorTest.setUp(OperationLogCollectorTest.java:59)
|
|
Please remove unnecessary stubbings or use 'lenient' strictness. More info: javadoc for UnnecessaryStubbingException class.
|
|
at org.mockito.junit.jupiter.MockitoExtension.afterEach(MockitoExtension.java:197)
|
|
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
|
|
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
|
|
|
|
[INFO] Running com.crm.log.service.impl.LogServiceImplTest
|
|
[ERROR] Tests run: 11, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 0.124 s <<< FAILURE! -- in com.crm.log.service.impl.LogServiceImplTest
|
|
[ERROR] com.crm.log.service.impl.LogServiceImplTest.pageBatch_convertsToDto -- Time elapsed: 0.019 s <<< ERROR!
|
|
java.lang.NullPointerException: Cannot invoke "java.time.LocalDate.atStartOfDay()" because "date" is null
|
|
at com.crm.log.service.impl.LogServiceImpl.startOfDay(LogServiceImpl.java:195)
|
|
at com.crm.log.service.impl.LogServiceImpl.pageBatch(LogServiceImpl.java:105)
|
|
at com.crm.log.service.impl.LogServiceImplTest.pageBatch_convertsToDto(LogServiceImplTest.java:123)
|
|
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
|
|
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
|
|
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
|
|
|
|
[ERROR] com.crm.log.service.impl.LogServiceImplTest.pageOperation_convertsToDto -- Time elapsed: 0.008 s <<< ERROR!
|
|
java.lang.NullPointerException: Cannot invoke "java.time.LocalDate.atStartOfDay()" because "date" is null
|
|
at com.crm.log.service.impl.LogServiceImpl.startOfDay(LogServiceImpl.java:195)
|
|
at com.crm.log.service.impl.LogServiceImpl.pageOperation(LogServiceImpl.java:65)
|
|
at com.crm.log.service.impl.LogServiceImplTest.pageOperation_convertsToDto(LogServiceImplTest.java:81)
|
|
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
|
|
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
|
|
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
|
|
|
|
[ERROR] com.crm.log.service.impl.LogServiceImplTest.pageLogin_convertsToDto -- Time elapsed: 0.008 s <<< ERROR!
|
|
java.lang.NullPointerException: Cannot invoke "java.time.LocalDate.atStartOfDay()" because "date" is null
|
|
at com.crm.log.service.impl.LogServiceImpl.startOfDay(LogServiceImpl.java:195)
|
|
at com.crm.log.service.impl.LogServiceImpl.pageLogin(LogServiceImpl.java:84)
|
|
at com.crm.log.service.impl.LogServiceImplTest.pageLogin_convertsToDto(LogServiceImplTest.java:103)
|
|
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
|
|
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
|
|
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
|
|
|
|
[INFO] Running com.crm.log.task.LogFileCleanupTaskTest
|
|
14:40:27.398 [main] ERROR com.crm.log.task.LogFileCleanupTask -- 批量日志结果文件清理失败
|
|
com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: can not find lambda cache for this entity [com.crm.log.domain.entity.LogBatch]
|
|
at com.baomidou.mybatisplus.core.toolkit.ExceptionUtils.mpe(ExceptionUtils.java:49)
|
|
at com.baomidou.mybatisplus.core.toolkit.Assert.isTrue(Assert.java:38)
|
|
at com.baomidou.mybatisplus.core.toolkit.Assert.notNull(Assert.java:72)
|
|
at com.baomidou.mybatisplus.core.conditions.AbstractLambdaWrapper.tryInitCache(AbstractLambdaWrapper.java:142)
|
|
at com.baomidou.mybatisplus.core.conditions.AbstractLambdaWrapper.getColumnCache(AbstractLambdaWrapper.java:131)
|
|
at com.baomidou.mybatisplus.core.conditions.AbstractLambdaWrapper.columnToString(AbstractLambdaWrapper.java:66)
|
|
at com.baomidou.mybatisplus.core.conditions.AbstractLambdaWrapper.lambda$columnsToString$0(AbstractLambdaWrapper.java:57)
|
|
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
|
|
at java.base/java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:992)
|
|
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
|
|
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
|
|
at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921)
|
|
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
|
|
at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:682)
|
|
at com.baomidou.mybatisplus.core.conditions.AbstractLambdaWrapper.columnsToString(AbstractLambdaWrapper.java:57)
|
|
at com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper.doSelect(LambdaQueryWrapper.java:120)
|
|
at com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper.select(LambdaQueryWrapper.java:106)
|
|
at com.crm.log.task.LogFileCleanupTask.cleanExpiredFiles(LogFileCleanupTask.java:48)
|
|
at com.crm.log.task.LogFileCleanupTask.scheduledClean(LogFileCleanupTask.java:35)
|
|
at com.crm.log.task.LogFileCleanupTaskTest.lambda$scheduledClean_swallowsInternalFailure$0(LogFileCleanupTaskTest.java:91)
|
|
at org.assertj.core.api.ThrowableAssert.catchThrowable(ThrowableAssert.java:63)
|
|
at org.assertj.core.api.AssertionsForClassTypes.catchThrowable(AssertionsForClassTypes.java:892)
|
|
at org.assertj.core.api.AssertionsForClassTypes.assertThatCode(AssertionsForClassTypes.java:863)
|
|
at org.assertj.core.api.Assertions.assertThatCode(Assertions.java:1286)
|
|
at com.crm.log.task.LogFileCleanupTaskTest.scheduledClean_swallowsInternalFailure(LogFileCleanupTaskTest.java:91)
|
|
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
|
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
|
|
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
|
|
at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:728)
|
|
at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
|
|
at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131)
|
|
at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:156)
|
|
at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:147)
|
|
at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:86)
|
|
at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(InterceptingExecutableInvoker.java:103)
|
|
at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.lambda$invoke$0(InterceptingExecutableInvoker.java:93)
|
|
at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106)
|
|
at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64)
|
|
at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45)
|
|
at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37)
|
|
at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:92)
|
|
at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:86)
|
|
at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$7(TestMethodTestDescriptor.java:218)
|
|
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
|
|
at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:214)
|
|
at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:139)
|
|
at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:69)
|
|
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:156)
|
|
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
|
|
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:146)
|
|
at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
|
|
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:144)
|
|
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
|
|
at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:143)
|
|
at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:100)
|
|
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
|
|
at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
|
|
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:160)
|
|
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
|
|
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:146)
|
|
at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
|
|
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:144)
|
|
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
|
|
at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:143)
|
|
at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:100)
|
|
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
|
|
at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
|
|
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:160)
|
|
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
|
|
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:146)
|
|
at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
|
|
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:144)
|
|
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
|
|
at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:143)
|
|
at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:100)
|
|
at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:35)
|
|
at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57)
|
|
at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:54)
|
|
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:198)
|
|
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:169)
|
|
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:93)
|
|
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:58)
|
|
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:141)
|
|
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:57)
|
|
at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:103)
|
|
at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:85)
|
|
at org.junit.platform.launcher.core.DelegatingLauncher.execute(DelegatingLauncher.java:47)
|
|
at org.apache.maven.surefire.junitplatform.LazyLauncher.execute(LazyLauncher.java:56)
|
|
at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.execute(JUnitPlatformProvider.java:184)
|
|
at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:148)
|
|
at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:122)
|
|
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385)
|
|
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
|
|
at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507)
|
|
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495)
|
|
[ERROR] Tests run: 4, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 0.038 s <<< FAILURE! -- in com.crm.log.task.LogFileCleanupTaskTest
|
|
[ERROR] com.crm.log.task.LogFileCleanupTaskTest.clean_noExpired_noop -- Time elapsed: 0.018 s <<< ERROR!
|
|
com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: can not find lambda cache for this entity [com.crm.log.domain.entity.LogBatch]
|
|
at com.baomidou.mybatisplus.core.toolkit.ExceptionUtils.mpe(ExceptionUtils.java:49)
|
|
at com.baomidou.mybatisplus.core.toolkit.Assert.isTrue(Assert.java:38)
|
|
at com.baomidou.mybatisplus.core.toolkit.Assert.notNull(Assert.java:72)
|
|
at com.baomidou.mybatisplus.core.conditions.AbstractLambdaWrapper.tryInitCache(AbstractLambdaWrapper.java:142)
|
|
at com.baomidou.mybatisplus.core.conditions.AbstractLambdaWrapper.getColumnCache(AbstractLambdaWrapper.java:131)
|
|
at com.baomidou.mybatisplus.core.conditions.AbstractLambdaWrapper.columnToString(AbstractLambdaWrapper.java:66)
|
|
at com.baomidou.mybatisplus.core.conditions.AbstractLambdaWrapper.lambda$columnsToString$0(AbstractLambdaWrapper.java:57)
|
|
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
|
|
at java.base/java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:992)
|
|
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
|
|
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
|
|
at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921)
|
|
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
|
|
at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:682)
|
|
at com.baomidou.mybatisplus.core.conditions.AbstractLambdaWrapper.columnsToString(AbstractLambdaWrapper.java:57)
|
|
at com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper.doSelect(LambdaQueryWrapper.java:120)
|
|
at com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper.select(LambdaQueryWrapper.java:106)
|
|
at com.crm.log.task.LogFileCleanupTask.cleanExpiredFiles(LogFileCleanupTask.java:48)
|
|
at com.crm.log.task.LogFileCleanupTaskTest.clean_noExpired_noop(LogFileCleanupTaskTest.java:46)
|
|
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
|
|
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
|
|
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
|
|
|
|
[ERROR] com.crm.log.task.LogFileCleanupTaskTest.clean_singleFailure_continuesWithOthers -- Time elapsed: 0.003 s <<< ERROR!
|
|
com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: can not find lambda cache for this entity [com.crm.log.domain.entity.LogBatch]
|
|
at com.baomidou.mybatisplus.core.toolkit.ExceptionUtils.mpe(ExceptionUtils.java:49)
|
|
at com.baomidou.mybatisplus.core.toolkit.Assert.isTrue(Assert.java:38)
|
|
at com.baomidou.mybatisplus.core.toolkit.Assert.notNull(Assert.java:72)
|
|
at com.baomidou.mybatisplus.core.conditions.AbstractLambdaWrapper.tryInitCache(AbstractLambdaWrapper.java:142)
|
|
at com.baomidou.mybatisplus.core.conditions.AbstractLambdaWrapper.getColumnCache(AbstractLambdaWrapper.java:131)
|
|
at com.baomidou.mybatisplus.core.conditions.AbstractLambdaWrapper.columnToString(AbstractLambdaWrapper.java:66)
|
|
at com.baomidou.mybatisplus.core.conditions.AbstractLambdaWrapper.lambda$columnsToString$0(AbstractLambdaWrapper.java:57)
|
|
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
|
|
at java.base/java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:992)
|
|
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
|
|
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
|
|
at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921)
|
|
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
|
|
at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:682)
|
|
at com.baomidou.mybatisplus.core.conditions.AbstractLambdaWrapper.columnsToString(AbstractLambdaWrapper.java:57)
|
|
at com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper.doSelect(LambdaQueryWrapper.java:120)
|
|
at com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper.select(LambdaQueryWrapper.java:106)
|
|
at com.crm.log.task.LogFileCleanupTask.cleanExpiredFiles(LogFileCleanupTask.java:48)
|
|
at com.crm.log.task.LogFileCleanupTaskTest.clean_singleFailure_continuesWithOthers(LogFileCleanupTaskTest.java:78)
|
|
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
|
|
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
|
|
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
|
|
|
|
[ERROR] com.crm.log.task.LogFileCleanupTaskTest.scheduledClean_swallowsInternalFailure -- Time elapsed: 0.010 s <<< ERROR!
|
|
org.mockito.exceptions.misusing.UnnecessaryStubbingException:
|
|
|
|
Unnecessary stubbings detected.
|
|
Clean & maintainable test code requires zero unnecessary code.
|
|
Following stubbings are unnecessary (click to navigate to relevant line of code):
|
|
1. -> at com.crm.log.task.LogFileCleanupTaskTest.scheduledClean_swallowsInternalFailure(LogFileCleanupTaskTest.java:89)
|
|
Please remove unnecessary stubbings or use 'lenient' strictness. More info: javadoc for UnnecessaryStubbingException class.
|
|
at org.mockito.junit.jupiter.MockitoExtension.afterEach(MockitoExtension.java:197)
|
|
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
|
|
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
|
|
|
|
[ERROR] com.crm.log.task.LogFileCleanupTaskTest.clean_expiredRows_deletesAndBlanksFileId -- Time elapsed: 0.002 s <<< ERROR!
|
|
com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: can not find lambda cache for this entity [com.crm.log.domain.entity.LogBatch]
|
|
at com.baomidou.mybatisplus.core.toolkit.ExceptionUtils.mpe(ExceptionUtils.java:49)
|
|
at com.baomidou.mybatisplus.core.toolkit.Assert.isTrue(Assert.java:38)
|
|
at com.baomidou.mybatisplus.core.toolkit.Assert.notNull(Assert.java:72)
|
|
at com.baomidou.mybatisplus.core.conditions.AbstractLambdaWrapper.tryInitCache(AbstractLambdaWrapper.java:142)
|
|
at com.baomidou.mybatisplus.core.conditions.AbstractLambdaWrapper.getColumnCache(AbstractLambdaWrapper.java:131)
|
|
at com.baomidou.mybatisplus.core.conditions.AbstractLambdaWrapper.columnToString(AbstractLambdaWrapper.java:66)
|
|
at com.baomidou.mybatisplus.core.conditions.AbstractLambdaWrapper.lambda$columnsToString$0(AbstractLambdaWrapper.java:57)
|
|
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
|
|
at java.base/java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:992)
|
|
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
|
|
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
|
|
at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921)
|
|
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
|
|
at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:682)
|
|
at com.baomidou.mybatisplus.core.conditions.AbstractLambdaWrapper.columnsToString(AbstractLambdaWrapper.java:57)
|
|
at com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper.doSelect(LambdaQueryWrapper.java:120)
|
|
at com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper.select(LambdaQueryWrapper.java:106)
|
|
at com.crm.log.task.LogFileCleanupTask.cleanExpiredFiles(LogFileCleanupTask.java:48)
|
|
at com.crm.log.task.LogFileCleanupTaskTest.clean_expiredRows_deletesAndBlanksFileId(LogFileCleanupTaskTest.java:58)
|
|
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
|
|
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
|
|
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
|
|
|
|
[INFO]
|
|
[INFO] Results:
|
|
[INFO]
|
|
[ERROR] Errors:
|
|
[ERROR] OperationLogCollectorTest.recordBatch_withFailures_uploadsErrorReport ? UnnecessaryStubbing
|
|
Unnecessary stubbings detected.
|
|
Clean & maintainable test code requires zero unnecessary code.
|
|
Following stubbings are unnecessary (click to navigate to relevant line of code):
|
|
1. -> at com.crm.log.collector.OperationLogCollectorTest.setUp(OperationLogCollectorTest.java:59)
|
|
Please remove unnecessary stubbings or use 'lenient' strictness. More info: javadoc for UnnecessaryStubbingException class.
|
|
[ERROR] OperationLogCollectorTest.recordBatch_withResultFile_uploadsArchive ? UnnecessaryStubbing
|
|
Unnecessary stubbings detected.
|
|
Clean & maintainable test code requires zero unnecessary code.
|
|
Following stubbings are unnecessary (click to navigate to relevant line of code):
|
|
1. -> at com.crm.log.collector.OperationLogCollectorTest.setUp(OperationLogCollectorTest.java:59)
|
|
Please remove unnecessary stubbings or use 'lenient' strictness. More info: javadoc for UnnecessaryStubbingException class.
|
|
[ERROR] OperationLogCollectorTest.recordBatch_withoutFile_skipsUpload ? UnnecessaryStubbing
|
|
Unnecessary stubbings detected.
|
|
Clean & maintainable test code requires zero unnecessary code.
|
|
Following stubbings are unnecessary (click to navigate to relevant line of code):
|
|
1. -> at com.crm.log.collector.OperationLogCollectorTest.setUp(OperationLogCollectorTest.java:59)
|
|
Please remove unnecessary stubbings or use 'lenient' strictness. More info: javadoc for UnnecessaryStubbingException class.
|
|
[ERROR] OperationLogCollectorTest.recordLogin_insertThrows_swallows ? UnnecessaryStubbing
|
|
Unnecessary stubbings detected.
|
|
Clean & maintainable test code requires zero unnecessary code.
|
|
Following stubbings are unnecessary (click to navigate to relevant line of code):
|
|
1. -> at com.crm.log.collector.OperationLogCollectorTest.setUp(OperationLogCollectorTest.java:59)
|
|
2. -> at com.crm.log.collector.OperationLogCollectorTest.setUp(OperationLogCollectorTest.java:60)
|
|
Please remove unnecessary stubbings or use 'lenient' strictness. More info: javadoc for UnnecessaryStubbingException class.
|
|
[ERROR] OperationLogCollectorTest.recordLogin_withUserId_fillsSnapshot ? UnnecessaryStubbing
|
|
Unnecessary stubbings detected.
|
|
Clean & maintainable test code requires zero unnecessary code.
|
|
Following stubbings are unnecessary (click to navigate to relevant line of code):
|
|
1. -> at com.crm.log.collector.OperationLogCollectorTest.setUp(OperationLogCollectorTest.java:60)
|
|
Please remove unnecessary stubbings or use 'lenient' strictness. More info: javadoc for UnnecessaryStubbingException class.
|
|
[ERROR] OperationLogCollectorTest.recordLogin_withoutUserId_usesFallback ? UnnecessaryStubbing
|
|
Unnecessary stubbings detected.
|
|
Clean & maintainable test code requires zero unnecessary code.
|
|
Following stubbings are unnecessary (click to navigate to relevant line of code):
|
|
1. -> at com.crm.log.collector.OperationLogCollectorTest.setUp(OperationLogCollectorTest.java:60)
|
|
Please remove unnecessary stubbings or use 'lenient' strictness. More info: javadoc for UnnecessaryStubbingException class.
|
|
[ERROR] OperationLogCollectorTest.recordOperation_fillsSnapshotAndContent ? UnnecessaryStubbing
|
|
Unnecessary stubbings detected.
|
|
Clean & maintainable test code requires zero unnecessary code.
|
|
Following stubbings are unnecessary (click to navigate to relevant line of code):
|
|
1. -> at com.crm.log.collector.OperationLogCollectorTest.setUp(OperationLogCollectorTest.java:59)
|
|
2. -> at com.crm.log.collector.OperationLogCollectorTest.setUp(OperationLogCollectorTest.java:60)
|
|
Please remove unnecessary stubbings or use 'lenient' strictness. More info: javadoc for UnnecessaryStubbingException class.
|
|
[ERROR] LogServiceImplTest.pageBatch_convertsToDto:123 ? NullPointer Cannot invoke "java.time.LocalDate.atStartOfDay()" because "date" is null
|
|
[ERROR] LogServiceImplTest.pageLogin_convertsToDto:103 ? NullPointer Cannot invoke "java.time.LocalDate.atStartOfDay()" because "date" is null
|
|
[ERROR] LogServiceImplTest.pageOperation_convertsToDto:81 ? NullPointer Cannot invoke "java.time.LocalDate.atStartOfDay()" because "date" is null
|
|
[ERROR] LogFileCleanupTaskTest.clean_expiredRows_deletesAndBlanksFileId:58 ? MybatisPlus can not find lambda cache for this entity [com.crm.log.domain.entity.LogBatch]
|
|
[ERROR] LogFileCleanupTaskTest.clean_noExpired_noop:46 ? MybatisPlus can not find lambda cache for this entity [com.crm.log.domain.entity.LogBatch]
|
|
[ERROR] LogFileCleanupTaskTest.clean_singleFailure_continuesWithOthers:78 ? MybatisPlus can not find lambda cache for this entity [com.crm.log.domain.entity.LogBatch]
|
|
[ERROR] LogFileCleanupTaskTest.scheduledClean_swallowsInternalFailure ? UnnecessaryStubbing
|
|
Unnecessary stubbings detected.
|
|
Clean & maintainable test code requires zero unnecessary code.
|
|
Following stubbings are unnecessary (click to navigate to relevant line of code):
|
|
1. -> at com.crm.log.task.LogFileCleanupTaskTest.scheduledClean_swallowsInternalFailure(LogFileCleanupTaskTest.java:89)
|
|
Please remove unnecessary stubbings or use 'lenient' strictness. More info: javadoc for UnnecessaryStubbingException class.
|
|
[INFO]
|
|
[ERROR] Tests run: 34, Failures: 0, Errors: 14, Skipped: 0
|
|
[INFO]
|
|
[INFO] ------------------------------------------------------------------------
|
|
[INFO] Reactor Summary for crm-rule 1.0.0-SNAPSHOT:
|
|
[INFO]
|
|
[INFO] crm-rule ........................................... SUCCESS [ 12.534 s]
|
|
[INFO] crm-preference ..................................... SUCCESS [ 5.066 s]
|
|
[INFO] crm-lead ........................................... SUCCESS [ 7.114 s]
|
|
[INFO] crm-customer ....................................... SUCCESS [ 17.316 s]
|
|
[INFO] crm-opportunity .................................... SUCCESS [ 10.821 s]
|
|
[INFO] crm-log ............................................ FAILURE [ 18.320 s]
|
|
[INFO] crm-app ............................................ SKIPPED
|
|
[INFO] ------------------------------------------------------------------------
|
|
[INFO] BUILD FAILURE
|
|
[INFO] ------------------------------------------------------------------------
|
|
[INFO] Total time: 01:11 min
|
|
[INFO] Finished at: 2026-09-08T14:40:27+08:00
|
|
[INFO] ------------------------------------------------------------------------
|
|
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.2.5:test (default-test) on project crm-log:
|
|
[ERROR]
|
|
[ERROR] Please refer to D:\code\crm-backend-matt\crm-log\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 :crm-log
|
|
|