Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Programming exercises: Add group feedback feature to feedback analysis table #9884

Merge branch 'develop' into feature/programming-exercises/add-groupin…

af0c83f
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

Programming exercises: Add group feedback feature to feedback analysis table #9884

Merge branch 'develop' into feature/programming-exercises/add-groupin…
af0c83f
Select commit
Loading
Failed to load commit list.
GitHub Actions / PostgreSQL Tests failed Dec 17, 2024 in 1s

8545 passed, 6 failed and 1 skipped

Tests failed
Report exceeded GitHub limit of 65535 bytes and has been trimmed

Annotations

Check failure on line 725 in src/test/java/de/tum/cit/aet/artemis/communication/MessageIntegrationTest.java

See this annotation in the file changed.

@github-actions 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)

Check failure on line 892 in src/test/java/de/tum/cit/aet/artemis/exam/ExamParticipationIntegrationTest.java

See this annotation in the file changed.

@github-actions github-actions / PostgreSQL Tests

de.tum.cit.aet.artemis.exam.ExamParticipationIntegrationTest ► testGetExamScore(boolean, boolean) [1] withCourseBonus=false, withSecondCorrectionAndStarted=false

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
  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

See this annotation in the file changed.

@github-actions 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/SHORTE4DE98080164B04C440A03A049B3EDB7B19CTSTEXC/shorte4de98080164b04c440a03a049b3edb7b19ctstexc-programmingexercisescheduleservicestudent3.git', buildPlanId='SHORTE4DE98080164B04C440A03A049B3EDB7B19CTSTEXC-PROGRAMMINGEXERCISESCHEDULESERVICESTUDENT3', initializationState='INITIALIZED', initializationDate='2024-12-17T10:49:24.329Z', individualDueDate=2024-12-17T10:49:24.798481828Z[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)