Skip to content

Programming exercises: Calculate submission time difference with server time #63932

Programming exercises: Calculate submission time difference with server time

Programming exercises: Calculate submission time difference with server time #63932

Triggered via pull request January 10, 2025 03:30
@badkeyybadkeyy
synchronize #10123
Status Success
Total duration 12s
Artifacts

pullrequest-labeler.yml

on: pull_request_target
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 1 warning
test#L0
Junit Results ran 8289 in 1322.6649999999986 seconds 0 Errored, 4 Failed, 1 Skipped
updateExercisePoints_ShouldUpdatePointsInParticipantScores(boolean) [2] isTeamTest=false: /home/runner/work/Artemis/Artemis/src/test/java/de/tum/cit/aet/artemis/assessment/ResultListenerIntegrationTest.java#L0
Junit test updateExercisePoints_ShouldUpdatePointsInParticipantScores(boolean) [2] isTeamTest=false failed org.opentest4j.AssertionFailedError: expected: 200.0 but was: 20.0
testDecreaseUnreadMessageCountWhenDeletingMessage(): /home/runner/work/Artemis/Artemis/src/test/java/de/tum/cit/aet/artemis/communication/MessageIntegrationTest.java#L695
Junit test testDecreaseUnreadMessageCountWhenDeletingMessage() failed org.opentest4j.AssertionFailedError: expected: 0L but was: 1L
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-10T03:37:32.741705773Z[Etc/UTC], successful=false, score=40.0, rated=true, assessmentType=AUTOMATIC, hasComplaint=null, testCaseCount=0, passedTestCaseCount=0, codeIssueCount=0}]
testShouldNotFireProgressStalledEventWithLessThanThreeSubmissions(): /home/runner/work/Artemis/Artemis/src/test/java/de/tum/cit/aet/artemis/iris/PyrisEventSystemIntegrationTest.java#L294
Junit test testShouldNotFireProgressStalledEventWithLessThanThreeSubmissions() 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{id181, completionDate=2025-01-10T03:37:35.800288271Z[Etc/UTC], successful=false, score=20.0, rated=true, assessmentType=AUTOMATIC, hasComplaint=null, testCaseCount=0, passedTestCaseCount=0, codeIssueCount=0}]
de.tum.cit.aet.artemis.assessment.ResultListenerIntegrationTest ► updateExercisePoints_ShouldUpdatePointsInParticipantScores(boolean) [2] isTeamTest=false: src/test/java/de/tum/cit/aet/artemis/assessment/ResultListenerIntegrationTest.java#L121
Failed test found in: build/test-results/test/TEST-de.tum.cit.aet.artemis.assessment.ResultListenerIntegrationTest.xml Error: org.opentest4j.AssertionFailedError:
de.tum.cit.aet.artemis.communication.MessageIntegrationTest ► testDecreaseUnreadMessageCountWhenDeletingMessage(): src/test/java/de/tum/cit/aet/artemis/communication/MessageIntegrationTest.java#L725
Failed test found in: build/test-results/test/TEST-de.tum.cit.aet.artemis.communication.MessageIntegrationTest.xml Error: org.opentest4j.AssertionFailedError:
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.iris.PyrisEventSystemIntegrationTest ► testShouldNotFireProgressStalledEventWithLessThanThreeSubmissions(): 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:
label
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636