Skip to content

Assessment: Fix an issue where instructors accidentally override presentation scores #6513

Assessment: Fix an issue where instructors accidentally override presentation scores

Assessment: Fix an issue where instructors accidentally override presentation scores #6513

Triggered via pull request January 13, 2025 19:00
@kruschekrusche
opened #10143
Status Success
Total duration 10s
Artifacts

pullrequest-opened.yml

on: pull_request_target
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 1 warning
test#L0
Junit Results ran 8301 in 1279.4090000000012 seconds 0 Errored, 3 Failed, 1 Skipped
updateFileUploadExerciseForExam_asInstructor(): /home/runner/work/Artemis/Artemis/src/test/java/de/tum/cit/aet/artemis/fileupload/FileUploadExerciseIntegrationTest.java#L411
Junit test updateFileUploadExerciseForExam_asInstructor() failed Wanted but not invoked: examLiveEventsService.createAndSendProblemStatementUpdateEvent( <any>, <any>, <any> ); -> at de.tum.cit.aet.artemis.exam.service.ExamLiveEventsService.createAndSendProblemStatementUpdateEvent(ExamLiveEventsService.java:141) Actually, there were zero interactions with this mock.
testShouldNotFireProgressStalledEventWithIncreasingScores(): /home/runner/work/Artemis/Artemis/src/test/java/de/tum/cit/aet/artemis/iris/PyrisEventSystemIntegrationTest.java#L308
Junit test testShouldNotFireProgressStalledEventWithIncreasingScores() failed org.mockito.exceptions.verification.NeverWantedButInvoked: irisExerciseChatSessionService.onNewResult( <any de.tum.cit.aet.artemis.assessment.domain.Result> ); Never wanted here: -> at de.tum.cit.aet.artemis.iris.service.session.IrisExerciseChatSessionService.onNewResult(IrisExerciseChatSessionService.java:211) But invoked here: -> at de.tum.cit.aet.artemis.iris.service.pyris.event.NewResultEvent.handleEvent(NewResultEvent.java:30) with arguments: [Result{id161, completionDate=2025-01-13T19:07:41.638282658Z[Etc/UTC], successful=false, score=40.0, rated=true, assessmentType=AUTOMATIC, hasComplaint=null, testCaseCount=0, passedTestCaseCount=0, codeIssueCount=0}]
updateTextExerciseForExam(): /home/runner/work/Artemis/Artemis/src/test/java/de/tum/cit/aet/artemis/text/TextExerciseIntegrationTest.java#L507
Junit test updateTextExerciseForExam() failed Wanted but not invoked: examLiveEventsService.createAndSendProblemStatementUpdateEvent( <any>, <any>, <any> ); -> at de.tum.cit.aet.artemis.exam.service.ExamLiveEventsService.createAndSendProblemStatementUpdateEvent(ExamLiveEventsService.java:141) Actually, there were zero interactions with this mock.
de.tum.cit.aet.artemis.fileupload.FileUploadExerciseIntegrationTest ► updateFileUploadExerciseForExam_asInstructor(): src/main/java/de/tum/cit/aet/artemis/exam/service/ExamLiveEventsService.java#L141
Failed test found in: build/test-results/test/TEST-de.tum.cit.aet.artemis.fileupload.FileUploadExerciseIntegrationTest.xml Error: Wanted but not invoked:
de.tum.cit.aet.artemis.iris.PyrisEventSystemIntegrationTest ► testShouldNotFireProgressStalledEventWithIncreasingScores(): src/main/java/de/tum/cit/aet/artemis/iris/service/session/IrisExerciseChatSessionService.java#L211
Failed test found in: build/test-results/test/TEST-de.tum.cit.aet.artemis.iris.PyrisEventSystemIntegrationTest.xml Error: org.mockito.exceptions.verification.NeverWantedButInvoked:
de.tum.cit.aet.artemis.text.TextExerciseIntegrationTest ► updateTextExerciseForExam(): src/main/java/de/tum/cit/aet/artemis/exam/service/ExamLiveEventsService.java#L141
Failed test found in: build/test-results/test/TEST-de.tum.cit.aet.artemis.text.TextExerciseIntegrationTest.xml Error: Wanted but not invoked:
assign
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636