Skip to content

테스트 환경 세팅, token 테스트 작성 #34

테스트 환경 세팅, token 테스트 작성

테스트 환경 세팅, token 테스트 작성 #34

Triggered via pull request September 3, 2024 01:00
Status Failure
Total duration 1m 15s
Artifacts

docker-ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

14 errors and 16 warnings
SynergyBeApplicationTests.contextLoads(): src/test/java/com/seoultech/synergybe/SynergyBeApplicationTests.java#L1
java.lang.IllegalStateException: Failed to load ApplicationContext for [WebMergedContextConfiguration@1ac0cdb0 testClass = com.seoultech.synergybe.SynergyBeApplicationTests, locations = [], classes = [com.seoultech.synergybe.SynergyBeApplication], contextInitializerClasses = [], activeProfiles = [], propertySourceLocations = [], propertySourceProperties = ["org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true"], contextCustomizers = [org.springframework.boot.test.autoconfigure.actuate.observability.ObservabilityContextCustomizerFactory$DisableObservabilityContextCustomizer@1f, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizer@fade1fc, org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@613a8ee1, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@6ebf0f36, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@2b0f373b, org.springframework.boot.test.context.SpringBootTestAnnotation@3388e279], resourceBasePath = "src/main/webapp", contextLoader = org.springframework.boot.test.context.SpringBootContextLoader, parent = null]
TokenGeneratorUUIDTest.generateStringId(): src/test/java/com/seoultech/synergybe/domain/common/generator/TokenGeneratorUUIDTest.java#L1
java.lang.IllegalStateException: Failed to load ApplicationContext for [WebMergedContextConfiguration@38cb1606 testClass = com.seoultech.synergybe.domain.common.generator.TokenGeneratorUUIDTest, locations = [], classes = [com.seoultech.synergybe.SynergyBeApplication], contextInitializerClasses = [], activeProfiles = [], propertySourceLocations = [], propertySourceProperties = ["org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true"], contextCustomizers = [org.springframework.boot.test.autoconfigure.actuate.observability.ObservabilityContextCustomizerFactory$DisableObservabilityContextCustomizer@1f, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizer@fade1fc, org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@613a8ee1, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@6ebf0f36, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@2b0f373b, org.springframework.boot.test.context.SpringBootTestAnnotation@3388e279], resourceBasePath = "src/main/webapp", contextLoader = org.springframework.boot.test.context.SpringBootContextLoader, parent = null]
TokenGeneratorUUIDTest.generateLongId(): src/test/java/com/seoultech/synergybe/domain/common/generator/TokenGeneratorUUIDTest.java#L1
java.lang.IllegalStateException: Failed to load ApplicationContext for [WebMergedContextConfiguration@38cb1606 testClass = com.seoultech.synergybe.domain.common.generator.TokenGeneratorUUIDTest, locations = [], classes = [com.seoultech.synergybe.SynergyBeApplication], contextInitializerClasses = [], activeProfiles = [], propertySourceLocations = [], propertySourceProperties = ["org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true"], contextCustomizers = [org.springframework.boot.test.autoconfigure.actuate.observability.ObservabilityContextCustomizerFactory$DisableObservabilityContextCustomizer@1f, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizer@fade1fc, org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@613a8ee1, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@6ebf0f36, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@2b0f373b, org.springframework.boot.test.context.SpringBootTestAnnotation@3388e279], resourceBasePath = "src/main/webapp", contextLoader = org.springframework.boot.test.context.SpringBootContextLoader, parent = null]
IdGenerateTest.generateStringId(): src/test/java/com/seoultech/synergybe/domain/idtest/IdGenerateTest.java#L1
java.lang.IllegalStateException: Failed to load ApplicationContext for [WebMergedContextConfiguration@78bce1c4 testClass = com.seoultech.synergybe.domain.idtest.IdGenerateTest, locations = [], classes = [com.seoultech.synergybe.SynergyBeApplication], contextInitializerClasses = [], activeProfiles = [], propertySourceLocations = [], propertySourceProperties = ["org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true"], contextCustomizers = [org.springframework.boot.test.autoconfigure.actuate.observability.ObservabilityContextCustomizerFactory$DisableObservabilityContextCustomizer@1f, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizer@fade1fc, org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@613a8ee1, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@6ebf0f36, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@2b0f373b, org.springframework.boot.test.context.SpringBootTestAnnotation@3388e279], resourceBasePath = "src/main/webapp", contextLoader = org.springframework.boot.test.context.SpringBootContextLoader, parent = null]
IdGenerateTest.generateLongId(): src/test/java/com/seoultech/synergybe/domain/idtest/IdGenerateTest.java#L1
java.lang.IllegalStateException: Failed to load ApplicationContext for [WebMergedContextConfiguration@78bce1c4 testClass = com.seoultech.synergybe.domain.idtest.IdGenerateTest, locations = [], classes = [com.seoultech.synergybe.SynergyBeApplication], contextInitializerClasses = [], activeProfiles = [], propertySourceLocations = [], propertySourceProperties = ["org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true"], contextCustomizers = [org.springframework.boot.test.autoconfigure.actuate.observability.ObservabilityContextCustomizerFactory$DisableObservabilityContextCustomizer@1f, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizer@fade1fc, org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@613a8ee1, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@6ebf0f36, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@2b0f373b, org.springframework.boot.test.context.SpringBootTestAnnotation@3388e279], resourceBasePath = "src/main/webapp", contextLoader = org.springframework.boot.test.context.SpringBootContextLoader, parent = null]
PostGeneratorTest.generatePost(): src/test/java/com/seoultech/synergybe/domain/post/PostGeneratorTest.java#L1
java.lang.IllegalStateException: Failed to load ApplicationContext for [WebMergedContextConfiguration@690e7b89 testClass = com.seoultech.synergybe.domain.post.PostGeneratorTest, locations = [], classes = [com.seoultech.synergybe.SynergyBeApplication], contextInitializerClasses = [], activeProfiles = [], propertySourceLocations = [], propertySourceProperties = ["org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true"], contextCustomizers = [org.springframework.boot.test.autoconfigure.actuate.observability.ObservabilityContextCustomizerFactory$DisableObservabilityContextCustomizer@1f, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizer@fade1fc, org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@613a8ee1, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@6ebf0f36, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@2b0f373b, org.springframework.boot.test.context.SpringBootTestAnnotation@3388e279], resourceBasePath = "src/main/webapp", contextLoader = org.springframework.boot.test.context.SpringBootContextLoader, parent = null]
UserServiceTest.회원가입시 인증 번호를 이메일로 전송한다: src/test/java/com/seoultech/synergybe/domain/user/UserServiceTest.java#L1
java.lang.IllegalStateException: Failed to load ApplicationContext for [WebMergedContextConfiguration@78494a59 testClass = com.seoultech.synergybe.domain.user.UserServiceTest, locations = [], classes = [com.seoultech.synergybe.SynergyBeApplication], contextInitializerClasses = [], activeProfiles = [], propertySourceLocations = [], propertySourceProperties = ["org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true"], contextCustomizers = [org.springframework.boot.test.autoconfigure.actuate.observability.ObservabilityContextCustomizerFactory$DisableObservabilityContextCustomizer@1f, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizer@fade1fc, org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@613a8ee1, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@6ebf0f36, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@2b0f373b, org.springframework.boot.test.context.SpringBootTestAnnotation@3388e279], resourceBasePath = "src/main/webapp", contextLoader = org.springframework.boot.test.context.SpringBootContextLoader, parent = null]
UserServiceTest.회원가입시 인증 번호를 인증한다: src/test/java/com/seoultech/synergybe/domain/user/UserServiceTest.java#L1
java.lang.IllegalStateException: Failed to load ApplicationContext for [WebMergedContextConfiguration@78494a59 testClass = com.seoultech.synergybe.domain.user.UserServiceTest, locations = [], classes = [com.seoultech.synergybe.SynergyBeApplication], contextInitializerClasses = [], activeProfiles = [], propertySourceLocations = [], propertySourceProperties = ["org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true"], contextCustomizers = [org.springframework.boot.test.autoconfigure.actuate.observability.ObservabilityContextCustomizerFactory$DisableObservabilityContextCustomizer@1f, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizer@fade1fc, org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@613a8ee1, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@6ebf0f36, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@2b0f373b, org.springframework.boot.test.context.SpringBootTestAnnotation@3388e279], resourceBasePath = "src/main/webapp", contextLoader = org.springframework.boot.test.context.SpringBootContextLoader, parent = null]
UserServiceTest.회원가입시 올바르지 않은 인증 번호로 인증을 실패한다: src/test/java/com/seoultech/synergybe/domain/user/UserServiceTest.java#L1
java.lang.IllegalStateException: Failed to load ApplicationContext for [WebMergedContextConfiguration@78494a59 testClass = com.seoultech.synergybe.domain.user.UserServiceTest, locations = [], classes = [com.seoultech.synergybe.SynergyBeApplication], contextInitializerClasses = [], activeProfiles = [], propertySourceLocations = [], propertySourceProperties = ["org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true"], contextCustomizers = [org.springframework.boot.test.autoconfigure.actuate.observability.ObservabilityContextCustomizerFactory$DisableObservabilityContextCustomizer@1f, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizer@fade1fc, org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@613a8ee1, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@6ebf0f36, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@2b0f373b, org.springframework.boot.test.context.SpringBootTestAnnotation@3388e279], resourceBasePath = "src/main/webapp", contextLoader = org.springframework.boot.test.context.SpringBootContextLoader, parent = null]
UserServiceTest.인증되지 않은 유저는 회원가입을 실패한다.: src/test/java/com/seoultech/synergybe/domain/user/UserServiceTest.java#L1
java.lang.IllegalStateException: Failed to load ApplicationContext for [WebMergedContextConfiguration@78494a59 testClass = com.seoultech.synergybe.domain.user.UserServiceTest, locations = [], classes = [com.seoultech.synergybe.SynergyBeApplication], contextInitializerClasses = [], activeProfiles = [], propertySourceLocations = [], propertySourceProperties = ["org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true"], contextCustomizers = [org.springframework.boot.test.autoconfigure.actuate.observability.ObservabilityContextCustomizerFactory$DisableObservabilityContextCustomizer@1f, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizer@fade1fc, org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@613a8ee1, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@6ebf0f36, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@2b0f373b, org.springframework.boot.test.context.SpringBootTestAnnotation@3388e279], resourceBasePath = "src/main/webapp", contextLoader = org.springframework.boot.test.context.SpringBootContextLoader, parent = null]
UserServiceTest.회원가입 유저를 등록한다.: src/test/java/com/seoultech/synergybe/domain/user/UserServiceTest.java#L1
java.lang.IllegalStateException: Failed to load ApplicationContext for [WebMergedContextConfiguration@78494a59 testClass = com.seoultech.synergybe.domain.user.UserServiceTest, locations = [], classes = [com.seoultech.synergybe.SynergyBeApplication], contextInitializerClasses = [], activeProfiles = [], propertySourceLocations = [], propertySourceProperties = ["org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true"], contextCustomizers = [org.springframework.boot.test.autoconfigure.actuate.observability.ObservabilityContextCustomizerFactory$DisableObservabilityContextCustomizer@1f, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizer@fade1fc, org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@613a8ee1, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@6ebf0f36, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@2b0f373b, org.springframework.boot.test.context.SpringBootTestAnnotation@3388e279], resourceBasePath = "src/main/webapp", contextLoader = org.springframework.boot.test.context.SpringBootContextLoader, parent = null]
UserServiceTest.이메일 중복 체크: src/test/java/com/seoultech/synergybe/domain/user/UserServiceTest.java#L1
java.lang.IllegalStateException: Failed to load ApplicationContext for [WebMergedContextConfiguration@78494a59 testClass = com.seoultech.synergybe.domain.user.UserServiceTest, locations = [], classes = [com.seoultech.synergybe.SynergyBeApplication], contextInitializerClasses = [], activeProfiles = [], propertySourceLocations = [], propertySourceProperties = ["org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true"], contextCustomizers = [org.springframework.boot.test.autoconfigure.actuate.observability.ObservabilityContextCustomizerFactory$DisableObservabilityContextCustomizer@1f, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizer@fade1fc, org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@613a8ee1, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@6ebf0f36, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@2b0f373b, org.springframework.boot.test.context.SpringBootTestAnnotation@3388e279], resourceBasePath = "src/main/webapp", contextLoader = org.springframework.boot.test.context.SpringBootContextLoader, parent = null]
UserServiceTest.RefreshToken 으로 AccessToken 재발급한다: src/test/java/com/seoultech/synergybe/domain/user/UserServiceTest.java#L1
java.lang.IllegalStateException: Failed to load ApplicationContext for [WebMergedContextConfiguration@78494a59 testClass = com.seoultech.synergybe.domain.user.UserServiceTest, locations = [], classes = [com.seoultech.synergybe.SynergyBeApplication], contextInitializerClasses = [], activeProfiles = [], propertySourceLocations = [], propertySourceProperties = ["org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true"], contextCustomizers = [org.springframework.boot.test.autoconfigure.actuate.observability.ObservabilityContextCustomizerFactory$DisableObservabilityContextCustomizer@1f, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizer@fade1fc, org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@613a8ee1, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@6ebf0f36, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@2b0f373b, org.springframework.boot.test.context.SpringBootTestAnnotation@3388e279], resourceBasePath = "src/main/webapp", contextLoader = org.springframework.boot.test.context.SpringBootContextLoader, parent = null]
build
Process completed with exit code 1.
회원가입 유저를 등록한다. (com.seoultech.synergybe.domain.user.UserServiceTest) failed: com.seoultech.synergybe.domain.user.UserServiceTest#L0
build/test-results/test/TEST-com.seoultech.synergybe.domain.user.UserServiceTest.xml
이메일 중복 체크 (com.seoultech.synergybe.domain.user.UserServiceTest) failed: com.seoultech.synergybe.domain.user.UserServiceTest#L0
build/test-results/test/TEST-com.seoultech.synergybe.domain.user.UserServiceTest.xml
generateStringId() (com.seoultech.synergybe.domain.idtest.IdGenerateTest) failed: com.seoultech.synergybe.domain.idtest.IdGenerateTest#L0
build/test-results/test/TEST-com.seoultech.synergybe.domain.idtest.IdGenerateTest.xml
generateLongId() (com.seoultech.synergybe.domain.idtest.IdGenerateTest) failed: com.seoultech.synergybe.domain.idtest.IdGenerateTest#L0
build/test-results/test/TEST-com.seoultech.synergybe.domain.idtest.IdGenerateTest.xml
contextLoads() (com.seoultech.synergybe.SynergyBeApplicationTests) failed: com.seoultech.synergybe.SynergyBeApplicationTests#L0
build/test-results/test/TEST-com.seoultech.synergybe.SynergyBeApplicationTests.xml
generatePost() (com.seoultech.synergybe.domain.post.PostGeneratorTest) failed: com.seoultech.synergybe.domain.post.PostGeneratorTest#L0
build/test-results/test/TEST-com.seoultech.synergybe.domain.post.PostGeneratorTest.xml
generateStringId() (com.seoultech.synergybe.domain.common.generator.TokenGeneratorUUIDTest) failed: com.seoultech.synergybe.domain.common.generator.TokenGeneratorUUIDTest#L0
build/test-results/test/TEST-com.seoultech.synergybe.domain.common.generator.TokenGeneratorUUIDTest.xml
generateLongId() (com.seoultech.synergybe.domain.common.generator.TokenGeneratorUUIDTest) failed: com.seoultech.synergybe.domain.common.generator.TokenGeneratorUUIDTest#L0
build/test-results/test/TEST-com.seoultech.synergybe.domain.common.generator.TokenGeneratorUUIDTest.xml
build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-java@v3, actions/cache@v3, mikepenz/action-junit-report@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build
Request GET /search/issues?q=type%3Apr+repo%3A%22TeamSynergyy%2Fsynergy_be%22+b2356a56a93da033223bdbce828ed4f4bec35e24&per_page=100 failed with 403: Forbidden