Integrated code lifecycle
: Add email notifications for SSH keys
#63540
Triggered via pull request
January 3, 2025 15:13
SimonEntholzer
synchronize
#9918
Status
Success
Total duration
12s
Artifacts
–
Annotations
12 errors, 1 warning, and 1 notice
test#L0
Junit Results ran 8596 in 1324.983 seconds 0 Errored, 3 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
|
testImportCategories():
/home/runner/work/Artemis/Artemis/src/test/java/de/tum/cit/aet/artemis/programming/StaticCodeAnalysisIntegrationTest.java#L313
Junit test testImportCategories() failed org.mockito.exceptions.misusing.UnfinishedStubbingException:
Unfinished stubbing detected here:
-> at de.tum.cit.aet.artemis.shared.base.AbstractSpringIntegrationLocalCILocalVCTest.mockBuildAgentServices(AbstractSpringIntegrationLocalCILocalVCTest.java:344)
E.g. thenReturn() may be missing.
Examples of correct stubbing:
when(mock.isOk()).thenReturn(true);
when(mock.isOk()).thenThrow(exception);
doThrow(exception).when(mock).someVoidMethod();
Hints:
1. missing thenReturn()
2. you are trying to stub a final method, which is not supported
3. you are stubbing the behaviour of another mock inside before 'thenReturn' instruction is completed
|
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.programming.StaticCodeAnalysisIntegrationTest ► testImportCategories():
src/main/java/de/tum/cit/aet/artemis/buildagent/BuildAgentConfiguration.java#L81
Failed test found in:
build/test-results/test/TEST-de.tum.cit.aet.artemis.programming.StaticCodeAnalysisIntegrationTest.xml
Error:
org.mockito.exceptions.misusing.UnfinishedStubbingException:
|
test#L0
Junit Results ran 8596 in 1368.8419999999999 seconds 0 Errored, 2 Failed, 1 Skipped
|
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
|
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.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.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:
|
label
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
test#L0
Junit Results ran 8596 in 1471.9009999999992 seconds 0 Errored, 0 Failed, 1 Skipped
|