Merge branch 'develop' into feature/communication/send-faq-to-iris #1164
8335 passed, 6 failed and 1 skipped
Annotations
github-actions / PostgreSQL Tests
de.tum.cit.aet.artemis.communication.MessageIntegrationTest ► testDecreaseUnreadMessageCountWhenDeletingMessage()
Failed test found in:
build/test-results/test/TEST-de.tum.cit.aet.artemis.communication.MessageIntegrationTest.xml
Error:
org.opentest4j.AssertionFailedError:
Raw output
org.opentest4j.AssertionFailedError:
expected: 0L
but was: 1L
at app//de.tum.cit.aet.artemis.communication.MessageIntegrationTest.lambda$testDecreaseUnreadMessageCountWhenDeletingMessage$28(MessageIntegrationTest.java:725)
at app//org.awaitility.core.AssertionCondition.lambda$new$0(AssertionCondition.java:53)
at app//org.awaitility.core.ConditionAwaiter$ConditionPoller.call(ConditionAwaiter.java:248)
at app//org.awaitility.core.ConditionAwaiter$ConditionPoller.call(ConditionAwaiter.java:235)
at [email protected]/java.util.concurrent.FutureTask.run(FutureTask.java:317)
at [email protected]/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at [email protected]/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at [email protected]/java.lang.Thread.run(Thread.java:1583)
github-actions / PostgreSQL Tests
de.tum.cit.aet.artemis.communication.notification.NotificationScheduleServiceTest ► shouldCreateNotificationAndEmailAtAssessmentDueDate()
Failed test found in:
build/test-results/test/TEST-de.tum.cit.aet.artemis.communication.notification.NotificationScheduleServiceTest.xml
Error:
org.awaitility.core.ConditionTimeoutException: Condition with Lambda expression in de.tum.cit.aet.artemis.communication.notification.NotificationScheduleServiceTest was not fulfilled within 10 seconds.
Raw output
org.awaitility.core.ConditionTimeoutException: Condition with Lambda expression in de.tum.cit.aet.artemis.communication.notification.NotificationScheduleServiceTest 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.communication.notification.NotificationScheduleServiceTest.shouldCreateNotificationAndEmailAtAssessmentDueDate(NotificationScheduleServiceTest.java:117)
at [email protected]/java.lang.reflect.Method.invoke(Method.java:580)
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 / PostgreSQL Tests
de.tum.cit.aet.artemis.core.service.DataExportCreationServiceTest ► testDataExportCreationSuccess_containsCorrectCourseContent()
Failed test found in:
build/test-results/test/TEST-de.tum.cit.aet.artemis.core.service.DataExportCreationServiceTest.xml
Error:
java.lang.AssertionError:
Raw output
java.lang.AssertionError:
Expecting actual:
[de.tum.cit.aet.artemis.atlas.domain.science.ScienceEvent@0,
de.tum.cit.aet.artemis.atlas.domain.science.ScienceEvent@0,
de.tum.cit.aet.artemis.atlas.domain.science.ScienceEvent@0]
to contain exactly in any order:
[de.tum.cit.aet.artemis.atlas.domain.science.ScienceEvent@42,
de.tum.cit.aet.artemis.atlas.domain.science.ScienceEvent@41,
de.tum.cit.aet.artemis.atlas.domain.science.ScienceEvent@40]
elements not found:
[de.tum.cit.aet.artemis.atlas.domain.science.ScienceEvent@42,
de.tum.cit.aet.artemis.atlas.domain.science.ScienceEvent@41,
de.tum.cit.aet.artemis.atlas.domain.science.ScienceEvent@40]
and elements not expected:
[de.tum.cit.aet.artemis.atlas.domain.science.ScienceEvent@0,
de.tum.cit.aet.artemis.atlas.domain.science.ScienceEvent@0,
de.tum.cit.aet.artemis.atlas.domain.science.ScienceEvent@0]
when comparing values using Comparator$$Lambda/0x00007f5408267270
at de.tum.cit.aet.artemis.core.service.DataExportCreationServiceTest.assertScienceEventsCSVFile(DataExportCreationServiceTest.java:255)
at de.tum.cit.aet.artemis.core.service.DataExportCreationServiceTest.testDataExportCreationSuccess_containsCorrectCourseContent(DataExportCreationServiceTest.java:214)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
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 / PostgreSQL Tests
de.tum.cit.aet.artemis.exam.ExamParticipationIntegrationTest ► testGetExamScore(boolean, boolean) [3] withCourseBonus=false, withSecondCorrectionAndStarted=true
Failed test found in:
build/test-results/test/TEST-de.tum.cit.aet.artemis.exam.ExamParticipationIntegrationTest.xml
build/test-results/test/TEST-de.tum.cit.aet.artemis.exam.ExamParticipationIntegrationTest.xml
Error:
org.awaitility.core.ConditionTimeoutException: Condition with Lambda expression in de.tum.cit.aet.artemis.exam.ExamParticipationIntegrationTest was not fulfilled within 1 minutes.
Raw output
org.awaitility.core.ConditionTimeoutException: Condition with Lambda expression in de.tum.cit.aet.artemis.exam.ExamParticipationIntegrationTest was not fulfilled within 1 minutes.
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.exam.ExamParticipationIntegrationTest.testGetExamScore(ExamParticipationIntegrationTest.java:892)
at [email protected]/java.lang.reflect.Method.invoke(Method.java:580)
at [email protected]/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184)
at [email protected]/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
at [email protected]/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:179)
at [email protected]/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
at [email protected]/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184)
at [email protected]/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
at [email protected]/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184)
at [email protected]/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1708)
at [email protected]/java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:762)
at [email protected]/java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:276)
at [email protected]/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1708)
at [email protected]/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
at [email protected]/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
at [email protected]/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151)
at [email protected]/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174)
at [email protected]/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at [email protected]/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:596)
at [email protected]/java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:276)
at [email protected]/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
at [email protected]/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
at [email protected]/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
at [email protected]/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1708)
at [email protected]/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
at [email protected]/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
at [email protected]/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151)
at [email protected]/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174)
at [email protected]/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at [email protected]/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:596)
at [email protected]/java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:276)
at [email protected]/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1708)
at [email protected]/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
at [email protected]/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
at [email protected]/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151)
at [email protected]/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174)
at [email protected]/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at [email protected]/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:596)
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)
Check failure on line 123 in src/main/java/de/tum/cit/aet/artemis/core/service/ScheduleService.java
github-actions / PostgreSQL Tests
de.tum.cit.aet.artemis.programming.ProgrammingExerciseScheduleServiceTest ► shouldScheduleExerciseIfAnyIndividualDueDateInFuture()
Failed test found in:
build/test-results/test/TEST-de.tum.cit.aet.artemis.programming.ProgrammingExerciseScheduleServiceTest.xml
Error:
Wanted but not invoked:
Raw output
Wanted but not invoked:
scheduleService.scheduleParticipationTask(
ProgrammingExerciseStudentParticipation{id=84, repositoryUri='https://version-control.fake.fake/git/SHORTD2EDBAE80B7380400F0ADFF04980B36F731CTSTEXC/shortd2edbae80b7380400f0adff04980b36f731ctstexc-programmingexercisescheduleservicestudent3.git', buildPlanId='SHORTD2EDBAE80B7380400F0ADFF04980B36F731CTSTEXC-PROGRAMMINGEXERCISESCHEDULESERVICESTUDENT3', initializationState='INITIALIZED', initializationDate='2025-01-17T11:36:11.917Z', individualDueDate=2025-01-17T11:36:12.465739582Z[Etc/UTC]', presentationScore=null},
DUE,
<any>
);
-> at de.tum.cit.aet.artemis.core.service.ScheduleService.scheduleParticipationTask(ScheduleService.java:123)
However, there were exactly 11 interactions with this mock:
scheduleService.cancelScheduledTaskForLifecycle(
19L,
RELEASE
);
-> at de.tum.cit.aet.artemis.programming.service.ProgrammingExerciseScheduleService.scheduleCourseExercise(ProgrammingExerciseScheduleService.java:278)
scheduleService.cancelScheduledTaskForLifecycle(
19L,
DUE
);
-> at de.tum.cit.aet.artemis.programming.service.ProgrammingExerciseScheduleService.scheduleCourseExercise(ProgrammingExerciseScheduleService.java:286)
scheduleService.cancelScheduledTaskForLifecycle(
19L,
BUILD_AND_TEST_AFTER_DUE_DATE
);
-> at de.tum.cit.aet.artemis.programming.service.ProgrammingExerciseScheduleService.scheduleCourseExercise(ProgrammingExerciseScheduleService.java:294)
scheduleService.cancelAllScheduledParticipationTasks(
19L,
82L
);
-> at de.tum.cit.aet.artemis.programming.service.ProgrammingExerciseScheduleService.scheduleParticipationTasks(ProgrammingExerciseScheduleService.java:344)
scheduleService.cancelScheduledTaskForParticipationLifecycle(
19L,
82L,
DUE
);
-> at de.tum.cit.aet.artemis.core.service.ScheduleService.cancelAllScheduledParticipationTasks(ScheduleService.java:185)
scheduleService.cancelScheduledTaskForParticipationLifecycle(
19L,
82L,
BUILD_AND_TEST_AFTER_DUE_DATE
);
-> at de.tum.cit.aet.artemis.core.service.ScheduleService.cancelAllScheduledParticipationTasks(ScheduleService.java:185)
scheduleService.cancelAllScheduledParticipationTasks(
19L,
83L
);
-> at de.tum.cit.aet.artemis.programming.service.ProgrammingExerciseScheduleService.scheduleParticipationTasks(ProgrammingExerciseScheduleService.java:344)
scheduleService.cancelScheduledTaskForParticipationLifecycle(
19L,
83L,
DUE
);
-> at de.tum.cit.aet.artemis.core.service.ScheduleService.cancelAllScheduledParticipationTasks(ScheduleService.java:185)
scheduleService.cancelScheduledTaskForParticipationLifecycle(
19L,
83L,
BUILD_AND_TEST_AFTER_DUE_DATE
);
-> at de.tum.cit.aet.artemis.core.service.ScheduleService.cancelAllScheduledParticipationTasks(ScheduleService.java:185)
scheduleService.cancelScheduledTaskForParticipationLifecycle(
19L,
84L,
DUE
);
-> at de.tum.cit.aet.artemis.programming.service.ProgrammingExerciseScheduleService.scheduleParticipationWithIndividualDueDate(ProgrammingExerciseScheduleService.java:360)
scheduleService.cancelScheduledTaskForParticipationLifecycle(
19L,
84L,
BUILD_AND_TEST_AFTER_DUE_DATE
);
-> at de.tum.cit.aet.artemis.programming.service.ProgrammingExerciseScheduleService.scheduleParticipationWithIndividualDueDate(ProgrammingExerciseScheduleService.java:370)
at app//de.tum.cit.aet.artemis.core.service.ScheduleService.scheduleParticipationTask(ScheduleService.java:123)
at app//de.tum.cit.aet.artemis.programming.ProgrammingExerciseScheduleServiceTest.shouldScheduleExerciseIfAnyIndividualDueDateInFuture(ProgrammingExerciseScheduleServiceTest.java:546)
at [email protected]/java.lang.reflect.Method.invoke(Method.java:580)
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)