spring-cloud-alibaba icon indicating copy to clipboard operation
spring-cloud-alibaba copied to clipboard

SCA 2022.0.0.0-RC2 local packaging failure

Open yuluo-yx opened this issue 1 year ago • 0 comments

Local packaging 'sca 2022.0.0.0-RC2' failed

Error message:

[INFO] Running com.alibaba.cloud.tests.nacos.config.NacosConfigPropertiesServerAddressBothLevelTests
19:06:21.220 [main] DEBUG org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Neither @ContextConfiguration nor @ContextHierarchy found for test class [NacosConfigPropertiesServerAddressBothLevelTests]: using SpringBootContextLoader
19:06:21.224 [main] DEBUG org.springframework.test.context.support.AbstractContextLoader - Could not detect default resource locations for test class [com.alibaba.cloud.tests.nacos.config.NacosConfigPropertiesServerAddressBothLevelTests]: no resource found for suffixes {-context.xml, Context.groovy}.
19:06:21.249 [main] DEBUG org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Using ContextCustomizers for test class [NacosConfigPropertiesServerAddressBothLevelTests]: [ExcludeFilterContextCustomizer, DuplicateJsonObjectContextCustomizer, MockitoContextCustomizer, TestRestTemplateContextCustomizer, DisableObservabilityContextCustomizer, PropertyMappingContextCustomizer, Customizer]
19:06:21.369 [main] DEBUG org.springframework.test.context.util.TestContextSpringFactoriesUtils - Skipping candidate TestExecutionListener [org.springframework.test.context.transaction.TransactionalTestExecutionListener] due to a missing dependency. Specify custom TestExecutionListener classes or make the default TestExecutionListener classes and their required dependencies available. Offending class: [org/springframework/transaction/interceptor/TransactionAttributeSource]
19:06:21.370 [main] DEBUG org.springframework.test.context.util.TestContextSpringFactoriesUtils - Skipping candidate TestExecutionListener [org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener] due to a missing dependency. Specify custom TestExecutionListener classes or make the default TestExecutionListener classes and their required dependencies available. Offending class: [org/springframework/transaction/interceptor/TransactionAttribute]
19:06:21.372 [main] DEBUG org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Using TestExecutionListeners for test class [NacosConfigPropertiesServerAddressBothLevelTests]: [ServletTestExecutionListener, DirtiesContextBeforeModesTestExecutionListener, ApplicationEventsTestExecutionListener, MockitoTestExecutionListener, DependencyInjectionTestExecutionListener, DirtiesContextTestExecutionListener, EventPublishingTestExecutionListener, ResetMocksTestExecutionListener, RestDocsTestExecutionListener, MockRestServiceServerResetTestExecutionListener, MockMvcPrintOnlyOnFailureTestExecutionListener, WebDriverTestExecutionListener, MockWebServiceServerTestExecutionListener]
19:06:21.374 [main] DEBUG org.springframework.test.context.support.AbstractDirtiesContextTestExecutionListener - After test class: class [NacosConfigPropertiesServerAddressBothLevelTests], class annotated with @DirtiesContext [false] with mode [null]
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.45 s <<< FAILURE! - in com.alibaba.cloud.tests.nacos.config.NacosConfigPropertiesServerAddressBothLevelTests
[ERROR] com.alibaba.cloud.tests.nacos.config.NacosConfigPropertiesServerAddressBothLevelTests  Time elapsed: 0.45 s  <<< ERROR!
java.lang.IllegalArgumentException: Unable to parse YAML file from C:\Users\14815\Desktop\%E6%96%B0%E5%BB%BA%E6%96%87%E4%BB%B6%E5%A4%B9\spring-cloud-alibaba-tests\nacos-tests\nacos-config-test\target\test-classes\docker\nacos-compose-test.yml
Caused by: java.io.FileNotFoundException: File 'C:\Users\14815\Desktop\%E6%96%B0%E5%BB%BA%E6%96%87%E4%BB%B6%E5%A4%B9\spring-cloud-alibaba-tests\nacos-tests\nacos-config-test\target\test-classes\docker\nacos-compose-test.yml' does not exist

[INFO] Running com.alibaba.cloud.tests.nacos.config.NacosConfigPropertiesServerAddressTopLevelTests
19:06:22.935 [main] DEBUG org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Neither @ContextConfiguration nor @ContextHierarchy found for test class [NacosConfigPropertiesServerAddressTopLevelTests]: using SpringBootContextLoader
19:06:22.939 [main] DEBUG org.springframework.test.context.support.AbstractContextLoader - Could not detect default resource locations for test class [com.alibaba.cloud.tests.nacos.config.NacosConfigPropertiesServerAddressTopLevelTests]: no resource found for suffixes {-context.xml, Context.groovy}.
19:06:22.967 [main] DEBUG org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Using ContextCustomizers for test class [NacosConfigPropertiesServerAddressTopLevelTests]: [ExcludeFilterContextCustomizer, DuplicateJsonObjectContextCustomizer, MockitoContextCustomizer, TestRestTemplateContextCustomizer, DisableObservabilityContextCustomizer, PropertyMappingContextCustomizer, Customizer]
19:06:23.096 [main] DEBUG org.springframework.test.context.util.TestContextSpringFactoriesUtils - Skipping candidate TestExecutionListener [org.springframework.test.context.transaction.TransactionalTestExecutionListener] due to a missing dependency. Specify custom TestExecutionListener classes or make the default TestExecutionListener classes and their required dependencies available. Offending class: [org/springframework/transaction/interceptor/TransactionAttributeSource]
19:06:23.098 [main] DEBUG org.springframework.test.context.util.TestContextSpringFactoriesUtils - Skipping candidate TestExecutionListener [org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener] due to a missing dependency. Specify custom TestExecutionListener classes or make the default TestExecutionListener classes and their required dependencies available. Offending class: [org/springframework/transaction/interceptor/TransactionAttribute]
19:06:23.100 [main] DEBUG org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Using TestExecutionListeners for test class [NacosConfigPropertiesServerAddressTopLevelTests]: [ServletTestExecutionListener, DirtiesContextBeforeModesTestExecutionListener, ApplicationEventsTestExecutionListener, MockitoTestExecutionListener, DependencyInjectionTestExecutionListener, DirtiesContextTestExecutionListener, EventPublishingTestExecutionListener, ResetMocksTestExecutionListener, RestDocsTestExecutionListener, MockRestServiceServerResetTestExecutionListener, MockMvcPrintOnlyOnFailureTestExecutionListener, WebDriverTestExecutionListener, MockWebServiceServerTestExecutionListener]
19:06:23.102 [main] DEBUG org.springframework.test.context.support.AbstractDirtiesContextTestExecutionListener - After test class: class [NacosConfigPropertiesServerAddressTopLevelTests], class annotated with @DirtiesContext [false] with mode [null]
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.459 s <<< FAILURE! - in com.alibaba.cloud.tests.nacos.config.NacosConfigPropertiesServerAddressTopLevelTests
[ERROR] com.alibaba.cloud.tests.nacos.config.NacosConfigPropertiesServerAddressTopLevelTests  Time elapsed: 0.459 s  <<< ERROR!
java.lang.IllegalArgumentException: Unable to parse YAML file from C:\Users\14815\Desktop\%E6%96%B0%E5%BB%BA%E6%96%87%E4%BB%B6%E5%A4%B9\spring-cloud-alibaba-tests\nacos-tests\nacos-config-test\target\test-classes\docker\nacos-compose-test.yml
Caused by: java.io.FileNotFoundException: File 'C:\Users\14815\Desktop\%E6%96%B0%E5%BB%BA%E6%96%87%E4%BB%B6%E5%A4%B9\spring-cloud-alibaba-tests\nacos-tests\nacos-config-test\target\test-classes\docker\nacos-compose-test.yml' does not exist

[INFO] Running com.alibaba.cloud.tests.nacos.config.NacosConfigRefreshTest
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.21 s <<< FAILURE! - in com.alibaba.cloud.tests.nacos.config.NacosConfigRefreshTest
[ERROR] com.alibaba.cloud.tests.nacos.config.NacosConfigRefreshTest  Time elapsed: 0.21 s  <<< ERROR!
java.lang.IllegalArgumentException: Unable to parse YAML file from C:\Users\14815\Desktop\%E6%96%B0%E5%BB%BA%E6%96%87%E4%BB%B6%E5%A4%B9\spring-cloud-alibaba-tests\nacos-tests\nacos-config-test\target\test-classes\docker\nacos-compose-test.yml
Caused by: java.io.FileNotFoundException: File 'C:\Users\14815\Desktop\%E6%96%B0%E5%BB%BA%E6%96%87%E4%BB%B6%E5%A4%B9\spring-cloud-alibaba-tests\nacos-tests\nacos-config-test\target\test-classes\docker\nacos-compose-test.yml' does not exist

[INFO] Running com.alibaba.cloud.tests.nacos.config.NacosConfigurationExtConfigTests
19:06:26.085 [main] DEBUG org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Neither @ContextConfiguration nor @ContextHierarchy found for test class [NacosConfigurationExtConfigTests]: using SpringBootContextLoader
19:06:26.089 [main] DEBUG org.springframework.test.context.support.AbstractContextLoader - Could not detect default resource locations for test class [com.alibaba.cloud.tests.nacos.config.NacosConfigurationExtConfigTests]: no resource found for suffixes {-context.xml, Context.groovy}.
19:06:26.119 [main] DEBUG org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Using ContextCustomizers for test class [NacosConfigurationExtConfigTests]: [ExcludeFilterContextCustomizer, DuplicateJsonObjectContextCustomizer, MockitoContextCustomizer, TestRestTemplateContextCustomizer, DisableObservabilityContextCustomizer, PropertyMappingContextCustomizer, Customizer]
19:06:26.255 [main] DEBUG org.springframework.test.context.util.TestContextSpringFactoriesUtils - Skipping candidate TestExecutionListener [org.springframework.test.context.transaction.TransactionalTestExecutionListener] due to a missing dependency. Specify custom TestExecutionListener classes or make the default TestExecutionListener classes and their required dependencies available. Offending class: [org/springframework/transaction/interceptor/TransactionAttributeSource]
19:06:26.256 [main] DEBUG org.springframework.test.context.util.TestContextSpringFactoriesUtils - Skipping candidate TestExecutionListener [org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener] due to a missing dependency. Specify custom TestExecutionListener classes or make the default TestExecutionListener classes and their required dependencies available. Offending class: [org/springframework/transaction/interceptor/TransactionAttribute]
19:06:26.258 [main] DEBUG org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Using TestExecutionListeners for test class [NacosConfigurationExtConfigTests]: [ServletTestExecutionListener, DirtiesContextBeforeModesTestExecutionListener, ApplicationEventsTestExecutionListener, MockitoTestExecutionListener, DependencyInjectionTestExecutionListener, DirtiesContextTestExecutionListener, EventPublishingTestExecutionListener, ResetMocksTestExecutionListener, RestDocsTestExecutionListener, MockRestServiceServerResetTestExecutionListener, MockMvcPrintOnlyOnFailureTestExecutionListener, WebDriverTestExecutionListener, MockWebServiceServerTestExecutionListener]
19:06:26.261 [main] DEBUG org.springframework.test.context.support.AbstractDirtiesContextTestExecutionListener - After test class: class [NacosConfigurationExtConfigTests], class annotated with @DirtiesContext [false] with mode [null]
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.47 s <<< FAILURE! - in com.alibaba.cloud.tests.nacos.config.NacosConfigurationExtConfigTests
[ERROR] com.alibaba.cloud.tests.nacos.config.NacosConfigurationExtConfigTests  Time elapsed: 0.47 s  <<< ERROR!
java.lang.IllegalArgumentException: Unable to parse YAML file from C:\Users\14815\Desktop\%E6%96%B0%E5%BB%BA%E6%96%87%E4%BB%B6%E5%A4%B9\spring-cloud-alibaba-tests\nacos-tests\nacos-config-test\target\test-classes\docker\nacos-compose-test.yml
Caused by: java.io.FileNotFoundException: File 'C:\Users\14815\Desktop\%E6%96%B0%E5%BB%BA%E6%96%87%E4%BB%B6%E5%A4%B9\spring-cloud-alibaba-tests\nacos-tests\nacos-config-test\target\test-classes\docker\nacos-compose-test.yml' does not exist

[INFO] Running com.alibaba.cloud.tests.nacos.config.NacosConfigurationTests
19:06:27.824 [main] DEBUG org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Neither @ContextConfiguration nor @ContextHierarchy found for test class [NacosConfigurationTests]: using SpringBootContextLoader
19:06:27.827 [main] DEBUG org.springframework.test.context.support.AbstractContextLoader - Could not detect default resource locations for test class [com.alibaba.cloud.tests.nacos.config.NacosConfigurationTests]: no resource found for suffixes {-context.xml, Context.groovy}.
19:06:27.853 [main] DEBUG org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Using ContextCustomizers for test class [NacosConfigurationTests]: [ExcludeFilterContextCustomizer, DuplicateJsonObjectContextCustomizer, MockitoContextCustomizer, TestRestTemplateContextCustomizer, DisableObservabilityContextCustomizer, PropertyMappingContextCustomizer, Customizer]
19:06:27.983 [main] DEBUG org.springframework.test.context.util.TestContextSpringFactoriesUtils - Skipping candidate TestExecutionListener [org.springframework.test.context.transaction.TransactionalTestExecutionListener] due to a missing dependency. Specify custom TestExecutionListener classes or make the default TestExecutionListener classes and their required dependencies available. Offending class: [org/springframework/transaction/interceptor/TransactionAttributeSource]
19:06:27.984 [main] DEBUG org.springframework.test.context.util.TestContextSpringFactoriesUtils - Skipping candidate TestExecutionListener [org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener] due to a missing dependency. Specify custom TestExecutionListener classes or make the default TestExecutionListener classes and their required dependencies available. Offending class: [org/springframework/transaction/interceptor/TransactionAttribute]
19:06:27.986 [main] DEBUG org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Using TestExecutionListeners for test class [NacosConfigurationTests]: [ServletTestExecutionListener, DirtiesContextBeforeModesTestExecutionListener, ApplicationEventsTestExecutionListener, MockitoTestExecutionListener, DependencyInjectionTestExecutionListener, DirtiesContextTestExecutionListener, EventPublishingTestExecutionListener, ResetMocksTestExecutionListener, RestDocsTestExecutionListener, MockRestServiceServerResetTestExecutionListener, MockMvcPrintOnlyOnFailureTestExecutionListener, WebDriverTestExecutionListener, MockWebServiceServerTestExecutionListener]
19:06:27.988 [main] DEBUG org.springframework.test.context.support.AbstractDirtiesContextTestExecutionListener - After test class: class [NacosConfigurationTests], class annotated with @DirtiesContext [false] with mode [null]
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.454 s <<< FAILURE! - in com.alibaba.cloud.tests.nacos.config.NacosConfigurationTests
[ERROR] com.alibaba.cloud.tests.nacos.config.NacosConfigurationTests  Time elapsed: 0.454 s  <<< ERROR!
java.lang.IllegalArgumentException: Unable to parse YAML file from C:\Users\14815\Desktop\%E6%96%B0%E5%BB%BA%E6%96%87%E4%BB%B6%E5%A4%B9\spring-cloud-alibaba-tests\nacos-tests\nacos-config-test\target\test-classes\docker\nacos-compose-test.yml
Caused by: java.io.FileNotFoundException: File 'C:\Users\14815\Desktop\%E6%96%B0%E5%BB%BA%E6%96%87%E4%BB%B6%E5%A4%B9\spring-cloud-alibaba-tests\nacos-tests\nacos-config-test\target\test-classes\docker\nacos-compose-test.yml' does not exist

[INFO] Running com.alibaba.cloud.tests.nacos.config.NacosFileExtensionTest
19:06:29.533 [main] DEBUG org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Neither @ContextConfiguration nor @ContextHierarchy found for test class [NacosFileExtensionTest]: using SpringBootContextLoader
19:06:29.537 [main] DEBUG org.springframework.test.context.support.AbstractContextLoader - Could not detect default resource locations for test class [com.alibaba.cloud.tests.nacos.config.NacosFileExtensionTest]: no resource found for suffixes {-context.xml, Context.groovy}.
19:06:29.563 [main] DEBUG org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Using ContextCustomizers for test class [NacosFileExtensionTest]: [ExcludeFilterContextCustomizer, DuplicateJsonObjectContextCustomizer, MockitoContextCustomizer, TestRestTemplateContextCustomizer, DisableObservabilityContextCustomizer, PropertyMappingContextCustomizer, Customizer]
19:06:29.701 [main] DEBUG org.springframework.test.context.util.TestContextSpringFactoriesUtils - Skipping candidate TestExecutionListener [org.springframework.test.context.transaction.TransactionalTestExecutionListener] due to a missing dependency. Specify custom TestExecutionListener classes or make the default TestExecutionListener classes and their required dependencies available. Offending class: [org/springframework/transaction/interceptor/TransactionAttributeSource]
19:06:29.702 [main] DEBUG org.springframework.test.context.util.TestContextSpringFactoriesUtils - Skipping candidate TestExecutionListener [org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener] due to a missing dependency. Specify custom TestExecutionListener classes or make the default TestExecutionListener classes and their required dependencies available. Offending class: [org/springframework/transaction/interceptor/TransactionAttribute]
19:06:29.704 [main] DEBUG org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Using TestExecutionListeners for test class [NacosFileExtensionTest]: [ServletTestExecutionListener, DirtiesContextBeforeModesTestExecutionListener, ApplicationEventsTestExecutionListener, MockitoTestExecutionListener, DependencyInjectionTestExecutionListener, DirtiesContextTestExecutionListener, EventPublishingTestExecutionListener, ResetMocksTestExecutionListener, RestDocsTestExecutionListener, MockRestServiceServerResetTestExecutionListener, MockMvcPrintOnlyOnFailureTestExecutionListener, WebDriverTestExecutionListener, MockWebServiceServerTestExecutionListener]
19:06:29.706 [main] DEBUG org.springframework.test.context.support.AbstractDirtiesContextTestExecutionListener - After test class: class [NacosFileExtensionTest], class annotated with @DirtiesContext [false] with mode [null]
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.464 s <<< FAILURE! - in com.alibaba.cloud.tests.nacos.config.NacosFileExtensionTest
[ERROR] com.alibaba.cloud.tests.nacos.config.NacosFileExtensionTest  Time elapsed: 0.464 s  <<< ERROR!
java.lang.IllegalArgumentException: Unable to parse YAML file from C:\Users\14815\Desktop\%E6%96%B0%E5%BB%BA%E6%96%87%E4%BB%B6%E5%A4%B9\spring-cloud-alibaba-tests\nacos-tests\nacos-config-test\target\test-classes\docker\nacos-compose-test.yml
Caused by: java.io.FileNotFoundException: File 'C:\Users\14815\Desktop\%E6%96%B0%E5%BB%BA%E6%96%87%E4%BB%B6%E5%A4%B9\spring-cloud-alibaba-tests\nacos-tests\nacos-config-test\target\test-classes\docker\nacos-compose-test.yml' does not exist

[INFO] Running com.alibaba.cloud.tests.nacos.config.NacosImportCheckTest
[WARNING] Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.001 s - in com.alibaba.cloud.tests.nacos.config.NacosImportCheckTest
[INFO]
[INFO] Results:
[INFO]
[ERROR] Errors:
[ERROR]   NacosConfigPropertiesServerAddressBothLevelTests ? IllegalArgument Unable to p...
[ERROR]   NacosConfigPropertiesServerAddressTopLevelTests ? IllegalArgument Unable to pa...
[ERROR]   NacosConfigRefreshTest ? IllegalArgument Unable to parse YAML file from C:\Use...
[ERROR]   NacosConfigurationExtConfigTests ? IllegalArgument Unable to parse YAML file f...
[ERROR]   NacosConfigurationTests ? IllegalArgument Unable to parse YAML file from C:\Us...
[ERROR]   NacosFileExtensionTest ? IllegalArgument Unable to parse YAML file from C:\Use...
[INFO]
[ERROR] Tests run: 7, Failures: 0, Errors: 6, Skipped: 1

Recurrence of problem

Pull the latest version and run mvn clean install

yuluo-yx avatar Mar 03 '23 11:03 yuluo-yx