Development
: Adjust server tests to restructuring into modules
#9314
GitHub Actions / Junit Results
failed
Sep 13, 2024 in 0s
Junit Results
Junit Results ran 7661 in 1128.9100000000008 seconds 0 Errored, 4 Failed, 2 Skipped
Annotations
Check failure on line 0 in test
github-actions / Junit Results
test#L0
Junit Results ran 7661 in 1128.9100000000008 seconds 0 Errored, 4 Failed, 2 Skipped
github-actions / Junit Results
testEnforceNothingAnnotations()
Junit test testEnforceNothingAnnotations() failed java.lang.AssertionError: Architecture Violation [Priority: MEDIUM] - Rule 'methods that are annotated with @EnforceNothing and are not annotated with @ManualConfig should be declared in classes that reside in a package 'de.tum.cit.aet.artemis.*.web.open..'' was violated (4 times):
Method <de.tum.cit.aet.artemis.iris.web.PublicPyrisStatusUpdateResource.setCompetencyExtractionJobStatus(java.lang.String, de.tum.cit.aet.artemis.iris.service.pyris.dto.competency.PyrisCompetencyStatusUpdateDTO, jakarta.servlet.http.HttpServletRequest)> is not declared in classes that reside in a package 'de.tum.cit.aet.artemis.*.web.open..' in (PublicPyrisStatusUpdateResource.java:116)
Method <de.tum.cit.aet.artemis.iris.web.PublicPyrisStatusUpdateResource.setStatusOfCourseChatJob(java.lang.String, de.tum.cit.aet.artemis.iris.service.pyris.dto.chat.PyrisChatStatusUpdateDTO, jakarta.servlet.http.HttpServletRequest)> is not declared in classes that reside in a package 'de.tum.cit.aet.artemis.*.web.open..' in (PublicPyrisStatusUpdateResource.java:90)
Method <de.tum.cit.aet.artemis.iris.web.PublicPyrisStatusUpdateResource.setStatusOfIngestionJob(java.lang.String, de.tum.cit.aet.artemis.iris.service.pyris.dto.lectureingestionwebhook.PyrisLectureIngestionStatusUpdateDTO, jakarta.servlet.http.HttpServletRequest)> is not declared in classes that reside in a package 'de.tum.cit.aet.artemis.*.web.open..' in (PublicPyrisStatusUpdateResource.java:139)
Method <de.tum.cit.aet.artemis.iris.web.PublicPyrisStatusUpdateResource.setStatusOfJob(java.lang.String, de.tum.cit.aet.artemis.iris.service.pyris.dto.chat.PyrisChatStatusUpdateDTO, jakarta.servlet.http.HttpServletRequest)> is not declared in classes that reside in a package 'de.tum.cit.aet.artemis.*.web.open..' in (PublicPyrisStatusUpdateResource.java:65)
Raw output
java.lang.AssertionError: Architecture Violation [Priority: MEDIUM] - Rule 'methods that are annotated with @EnforceNothing and are not annotated with @ManualConfig should be declared in classes that reside in a package 'de.tum.cit.aet.artemis.*.web.open..'' was violated (4 times):
Method <de.tum.cit.aet.artemis.iris.web.PublicPyrisStatusUpdateResource.setCompetencyExtractionJobStatus(java.lang.String, de.tum.cit.aet.artemis.iris.service.pyris.dto.competency.PyrisCompetencyStatusUpdateDTO, jakarta.servlet.http.HttpServletRequest)> is not declared in classes that reside in a package 'de.tum.cit.aet.artemis.*.web.open..' in (PublicPyrisStatusUpdateResource.java:116)
Method <de.tum.cit.aet.artemis.iris.web.PublicPyrisStatusUpdateResource.setStatusOfCourseChatJob(java.lang.String, de.tum.cit.aet.artemis.iris.service.pyris.dto.chat.PyrisChatStatusUpdateDTO, jakarta.servlet.http.HttpServletRequest)> is not declared in classes that reside in a package 'de.tum.cit.aet.artemis.*.web.open..' in (PublicPyrisStatusUpdateResource.java:90)
Method <de.tum.cit.aet.artemis.iris.web.PublicPyrisStatusUpdateResource.setStatusOfIngestionJob(java.lang.String, de.tum.cit.aet.artemis.iris.service.pyris.dto.lectureingestionwebhook.PyrisLectureIngestionStatusUpdateDTO, jakarta.servlet.http.HttpServletRequest)> is not declared in classes that reside in a package 'de.tum.cit.aet.artemis.*.web.open..' in (PublicPyrisStatusUpdateResource.java:139)
Method <de.tum.cit.aet.artemis.iris.web.PublicPyrisStatusUpdateResource.setStatusOfJob(java.lang.String, de.tum.cit.aet.artemis.iris.service.pyris.dto.chat.PyrisChatStatusUpdateDTO, jakarta.servlet.http.HttpServletRequest)> is not declared in classes that reside in a package 'de.tum.cit.aet.artemis.*.web.open..' in (PublicPyrisStatusUpdateResource.java:65)
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 com.tngtech.archunit.lang.syntax.ObjectsShouldInternal.check(ObjectsShouldInternal.java:81)
at de.tum.cit.aet.artemis.authorization.AuthorizationArchitectureTest.testEnforceNothingAnnotations(AuthorizationArchitectureTest.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)
github-actions / Junit Results
testCreateProgrammingExercise()
Junit test testCreateProgrammingExercise() failed 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 / Junit Results
testConnectOverSshAndReceivePack()
Junit test testConnectOverSshAndReceivePack() failed org.opentest4j.AssertionFailedError:
expected: 2
but was: 1
Raw output
org.opentest4j.AssertionFailedError:
expected: 2
but was: 1
at app//de.tum.cit.aet.artemis.localvcci.LocalVCSshIntegrationTest.clientConnectToArtemisSshServer(LocalVCSshIntegrationTest.java:173)
at app//de.tum.cit.aet.artemis.localvcci.LocalVCSshIntegrationTest.testConnectOverSshAndReceivePack(LocalVCSshIntegrationTest.java:112)
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 / Junit Results
testCronDataExportCreationTaskScheduledEveryDayAt4AMByDefault()
Junit test testCronDataExportCreationTaskScheduledEveryDayAt4AMByDefault() failed org.opentest4j.AssertionFailedError:
expected: 1L
but was: 0L
Raw output
org.opentest4j.AssertionFailedError:
expected: 1L
but was: 0L
at app//de.tum.cit.aet.artemis.service.scheduled.DataExportScheduleServiceTest.testCronDataExportCreationTaskScheduledEveryDayAt4AMByDefault(DataExportScheduleServiceTest.java:135)
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)
Loading