Development
: Add more data for Telemetry
#9345
7682 passed, 5 failed and 4 skipped
Annotations
Check failure on line 266 in src/test/java/de/tum/cit/aet/artemis/architecture/ArchitectureTest.java
github-actions / H2 Tests
de.tum.cit.aet.artemis.architecture.ArchitectureTest ► ensureSpringComponentsAreProfileAnnotated()
Failed test found in:
build/test-results/test/TEST-de.tum.cit.aet.artemis.architecture.ArchitectureTest.xml
Error:
java.lang.AssertionError: Architecture Violation [Priority: MEDIUM] - Rule 'classes that are annotated with @Controller or are annotated with @RestController or are annotated with @Repository or are annotated with @Service or are annotated with @Component or are annotated with @Configuration and do not belong to any of [de.tum.cit.aet.artemis.core.config.ApplicationConfiguration, de.tum.cit.aet.artemis.core.config.ConditionalMetricsExclusionConfiguration] should be annotated with @Profile, because we want to be able to exclude these classes from application startup by specifying profiles' was violated (1 times):
Raw output
java.lang.AssertionError: Architecture Violation [Priority: MEDIUM] - Rule 'classes that are annotated with @Controller or are annotated with @RestController or are annotated with @Repository or are annotated with @Service or are annotated with @Component or are annotated with @Configuration and do not belong to any of [de.tum.cit.aet.artemis.core.config.ApplicationConfiguration, de.tum.cit.aet.artemis.core.config.ConditionalMetricsExclusionConfiguration] should be annotated with @Profile, because we want to be able to exclude these classes from application startup by specifying profiles' was violated (1 times):
Class de.tum.cit.aet.artemis.core.service.telemetry.EurekaClientService is not annotated with @Profile
at com.tngtech.archunit.lang.ArchRule$Assertions.assertNoViolation(ArchRule.java:94)
at com.tngtech.archunit.lang.ArchRule$Assertions.check(ArchRule.java:86)
at com.tngtech.archunit.lang.ArchRule$Factory$SimpleArchRule.check(ArchRule.java:165)
at de.tum.cit.aet.artemis.architecture.ArchitectureTest.ensureSpringComponentsAreProfileAnnotated(ArchitectureTest.java:266)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at java.base/java.util.concurrent.RecursiveAction.exec(RecursiveAction.java:194)
at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387)
at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312)
at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1843)
at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1808)
at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188)
github-actions / H2 Tests
de.tum.cit.aet.artemis.exercise.modeling.ModelingExerciseIntegrationTest ► testDeleteModelingExerciseWithCompetency()
Failed test found in:
build/test-results/test/TEST-de.tum.cit.aet.artemis.exercise.modeling.ModelingExerciseIntegrationTest.xml
Error:
Wanted but not invoked:
Raw output
Wanted but not invoked:
competencyProgressService.updateProgressByCompetencyAsync(
de.tum.cit.aet.artemis.atlas.domain.competency.Competency@106
);
-> at de.tum.cit.aet.artemis.atlas.service.competency.CompetencyProgressService.updateProgressByCompetencyAsync(CompetencyProgressService.java:123)
Actually, there were zero interactions with this mock.
at app//de.tum.cit.aet.artemis.atlas.service.competency.CompetencyProgressService.updateProgressByCompetencyAsync(CompetencyProgressService.java:123)
at app//de.tum.cit.aet.artemis.exercise.modeling.ModelingExerciseIntegrationTest.testDeleteModelingExerciseWithCompetency(ModelingExerciseIntegrationTest.java:413)
at [email protected]/java.lang.reflect.Method.invoke(Method.java:580)
at [email protected]/java.util.concurrent.RecursiveAction.exec(RecursiveAction.java:194)
at [email protected]/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387)
at [email protected]/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312)
at [email protected]/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1843)
at [email protected]/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1808)
at [email protected]/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188)
github-actions / H2 Tests
de.tum.cit.aet.artemis.exercise.programming.ProgrammingExerciseLocalVCLocalCIIntegrationTest ► testCreateProgrammingExercise()
Failed test found in:
build/test-results/test/TEST-de.tum.cit.aet.artemis.exercise.programming.ProgrammingExerciseLocalVCLocalCIIntegrationTest.xml
Error:
org.awaitility.core.ConditionTimeoutException: Condition with Lambda expression in de.tum.cit.aet.artemis.localvcci.LocalVCLocalCITestService was not fulfilled within 10 seconds.
Raw output
org.awaitility.core.ConditionTimeoutException: Condition with Lambda expression in de.tum.cit.aet.artemis.localvcci.LocalVCLocalCITestService was not fulfilled within 10 seconds.
at app//org.awaitility.core.ConditionAwaiter.await(ConditionAwaiter.java:167)
at app//org.awaitility.core.CallableCondition.await(CallableCondition.java:78)
at app//org.awaitility.core.CallableCondition.await(CallableCondition.java:26)
at app//org.awaitility.core.ConditionFactory.until(ConditionFactory.java:1006)
at app//org.awaitility.core.ConditionFactory.until(ConditionFactory.java:975)
at app//de.tum.cit.aet.artemis.localvcci.LocalVCLocalCITestService.testLatestSubmission(LocalVCLocalCITestService.java:575)
at app//de.tum.cit.aet.artemis.localvcci.LocalVCLocalCITestService.testLatestSubmission(LocalVCLocalCITestService.java:608)
at app//de.tum.cit.aet.artemis.exercise.programming.ProgrammingExerciseLocalVCLocalCIIntegrationTest.testCreateProgrammingExercise(ProgrammingExerciseLocalVCLocalCIIntegrationTest.java:184)
at [email protected]/java.lang.reflect.Method.invoke(Method.java:580)
at [email protected]/java.util.concurrent.RecursiveAction.exec(RecursiveAction.java:194)
at [email protected]/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387)
at [email protected]/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312)
at [email protected]/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1843)
at [email protected]/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1808)
at [email protected]/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188)
github-actions / H2 Tests
de.tum.cit.aet.artemis.exercise.programming.ProgrammingExerciseLocalVCLocalCIIntegrationTest ► testDeleteProgrammingExercise()
Failed test found in:
build/test-results/test/TEST-de.tum.cit.aet.artemis.exercise.programming.ProgrammingExerciseLocalVCLocalCIIntegrationTest.xml
Error:
Wanted but not invoked:
Raw output
Wanted but not invoked:
competencyProgressService.updateProgressByCompetencyAsync(
de.tum.cit.aet.artemis.atlas.domain.competency.Competency@127
);
-> at de.tum.cit.aet.artemis.atlas.service.competency.CompetencyProgressService.updateProgressByCompetencyAsync(CompetencyProgressService.java:123)
Actually, there were zero interactions with this mock.
at app//de.tum.cit.aet.artemis.atlas.service.competency.CompetencyProgressService.updateProgressByCompetencyAsync(CompetencyProgressService.java:123)
at app//de.tum.cit.aet.artemis.exercise.programming.ProgrammingExerciseLocalVCLocalCIIntegrationTest.testDeleteProgrammingExercise(ProgrammingExerciseLocalVCLocalCIIntegrationTest.java:232)
at [email protected]/java.lang.reflect.Method.invoke(Method.java:580)
at [email protected]/java.util.concurrent.RecursiveAction.exec(RecursiveAction.java:194)
at [email protected]/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387)
at [email protected]/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312)
at [email protected]/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1843)
at [email protected]/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1808)
at [email protected]/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188)
github-actions / H2 Tests
de.tum.cit.aet.artemis.localvcci.MultipleHostKeyProviderTest ► testFetchPush_repositoryDoesNotExist()
Failed test found in:
build/test-results/test/TEST-de.tum.cit.aet.artemis.localvcci.MultipleHostKeyProviderTest.xml
Error:
org.apache.commons.io.IOExceptionList: 1 exception(s): [org.apache.commons.io.IOIndexedException: FileNotFoundException #4: File does not exist: /tmp/SHORT6DA13DAC0A8AE043B5082810FF04EEBE6D6ETSTEXC/some-repository-slug.git/gc.log.lock]
Raw output
org.apache.commons.io.IOExceptionList: 1 exception(s): [org.apache.commons.io.IOIndexedException: FileNotFoundException #4: File does not exist: /tmp/SHORT6DA13DAC0A8AE043B5082810FF04EEBE6D6ETSTEXC/some-repository-slug.git/gc.log.lock]
at org.apache.commons.io.IOExceptionList.checkEmpty(IOExceptionList.java:50)
at org.apache.commons.io.function.IOStream.forAll(IOStream.java:359)
at org.apache.commons.io.function.IOStreams.forAll(IOStreams.java:42)
at org.apache.commons.io.function.IOStreams.forAll(IOStreams.java:36)
at org.apache.commons.io.function.IOConsumer.forAll(IOConsumer.java:80)
at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:365)
at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1240)
at de.tum.cit.aet.artemis.localvcci.LocalVCIntegrationTest.testFetchPush_repositoryDoesNotExist(LocalVCIntegrationTest.java:85)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at java.base/java.util.concurrent.RecursiveAction.exec(RecursiveAction.java:194)
at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387)
at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312)
at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1843)
at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1808)
at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188)
Caused by: org.apache.commons.io.IOIndexedException: FileNotFoundException #4: File does not exist: /tmp/SHORT6DA13DAC0A8AE043B5082810FF04EEBE6D6ETSTEXC/some-repository-slug.git/gc.log.lock
at org.apache.commons.io.function.IOStream.lambda$forAll$11(IOStream.java:354)
at java.base/java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:1024)
at java.base/java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:762)
at org.apache.commons.io.function.IOStream.forAll(IOStream.java:345)
... 13 more
Caused by: java.io.FileNotFoundException: File does not exist: /tmp/SHORT6DA13DAC0A8AE043B5082810FF04EEBE6D6ETSTEXC/some-repository-slug.git/gc.log.lock
at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1394)
at org.apache.commons.io.function.IOStream.lambda$forAll$11(IOStream.java:347)
... 16 more