Skip to content

Programming exercises: Provide theia clone information on redirect #63992

Programming exercises: Provide theia clone information on redirect

Programming exercises: Provide theia clone information on redirect #63992

GitHub Actions / Junit Results failed Jan 11, 2025 in 0s

Junit Results

Junit Results ran 8293 in 1279.9630000000002 seconds 0 Errored, 4 Failed, 1 Skipped

Annotations

Check failure on line 0 in test

See this annotation in the file changed.

@github-actions github-actions / Junit Results

test#L0

Junit Results ran 8293 in 1279.9630000000002 seconds 0 Errored, 4 Failed, 1 Skipped

Check failure on line 0 in /home/runner/work/Artemis/Artemis/src/test/java/de/tum/cit/aet/artemis/assessment/ResultListenerIntegrationTest.java

See this annotation in the file changed.

@github-actions github-actions / Junit Results

updateExercisePoints_ShouldUpdatePointsInParticipantScores(boolean) [2] isTeamTest=false

Junit test updateExercisePoints_ShouldUpdatePointsInParticipantScores(boolean) [2] isTeamTest=false failed org.opentest4j.AssertionFailedError: 
expected: 200.0
 but was: 20.0
Raw output
org.opentest4j.AssertionFailedError: 
expected: 200.0
 but was: 20.0
	at app//de.tum.cit.aet.artemis.assessment.ResultListenerIntegrationTest.updateExercisePoints_ShouldUpdatePointsInParticipantScores(ResultListenerIntegrationTest.java:121)
	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.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.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:1024)
	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.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 294 in /home/runner/work/Artemis/Artemis/src/test/java/de/tum/cit/aet/artemis/iris/PyrisEventSystemIntegrationTest.java

See this annotation in the file changed.

@github-actions github-actions / Junit Results

testShouldNotFireProgressStalledEventWithLessThanThreeSubmissions()

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-11T13:49:36.217009810Z[Etc/UTC], successful=false, score=20.0, rated=true, assessmentType=AUTOMATIC, hasComplaint=null, testCaseCount=0, passedTestCaseCount=0, codeIssueCount=0}]
Raw output
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-11T13:49:36.217009810Z[Etc/UTC], successful=false, score=20.0, rated=true, assessmentType=AUTOMATIC, hasComplaint=null, testCaseCount=0, passedTestCaseCount=0, codeIssueCount=0}]

	at app//de.tum.cit.aet.artemis.iris.service.session.IrisExerciseChatSessionService.onNewResult(IrisExerciseChatSessionService.java:211)
	at app//de.tum.cit.aet.artemis.iris.PyrisEventSystemIntegrationTest.testShouldNotFireProgressStalledEventWithLessThanThreeSubmissions(PyrisEventSystemIntegrationTest.java:302)
	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)

Check failure on line 376 in /home/runner/work/Artemis/Artemis/src/test/java/de/tum/cit/aet/artemis/programming/icl/LocalCIResourceIntegrationTest.java

See this annotation in the file changed.

@github-actions github-actions / Junit Results

testGetBuildJobStatistics()

Junit test testGetBuildJobStatistics() failed org.opentest4j.AssertionFailedError: 
expected: 2L
 but was: 3L
Raw output
org.opentest4j.AssertionFailedError: 
expected: 2L
 but was: 3L
	at app//de.tum.cit.aet.artemis.programming.icl.LocalCIResourceIntegrationTest.testGetBuildJobStatistics(LocalCIResourceIntegrationTest.java:382)
	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)

Check failure on line 264 in /home/runner/work/Artemis/Artemis/src/test/java/de/tum/cit/aet/artemis/programming/icl/LocalCIResourceIntegrationTest.java

See this annotation in the file changed.

@github-actions github-actions / Junit Results

testGetFinishedBuildJobs_returnsSortedJobs()

Junit test testGetFinishedBuildJobs_returnsSortedJobs() failed java.lang.AssertionError: 
Expected size: 3 but was: 4 in:
[FinishedBuildJobDTO[id=17471736603436144, name=SHORTAA06BA810DC3A044D30BA3D075FB296507E9TSTEXC-BASE, buildAgentAddress=[127.0.0.1]:5704, participationId=1747, courseId=863, exerciseId=2442, status=FAILED, repositoryType=exercise, repositoryName=shortaa06ba810dc3a044d30ba3d075fb296507e9tstexc-exercise, triggeredByPushTo=exercise, buildStartDate=2025-01-11T13:50:39.252262Z, buildCompletionDate=2025-01-11T13:50:39.984241Z, commitHash=null, submissionResult=null],
    FinishedBuildJobDTO[id=4, name=job4, buildAgentAddress=[127.0.0.1]:5704, participationId=4, courseId=881, exerciseId=1, status=FAILED, repositoryType=null, repositoryName=test, triggeredByPushTo=user, buildStartDate=2025-01-11T13:51:41.431555Z, buildCompletionDate=2025-01-11T13:52:41.431555Z, commitHash=test, submissionResult=ResultDTO[id=464, completionDate=2025-01-11T13:50:41.431579Z, successful=false, score=0.0, rated=true, participation=null, submission=null, assessmentType=AUTOMATIC, testCaseCount=0, passedTestCaseCount=0, codeIssueCount=0]],
    FinishedBuildJobDTO[id=5, name=job5, buildAgentAddress=[127.0.0.1]:5704, participationId=5, courseId=882, exerciseId=1, status=FAILED, repositoryType=null, repositoryName=test, triggeredByPushTo=user, buildStartDate=2025-01-11T13:41:41.431556Z, buildCompletionDate=2025-01-11T13:53:11.431557Z, commitHash=test, submissionResult=ResultDTO[id=465, completionDate=2025-01-11T13:50:41.431580Z, successful=false, score=0.0, rated=true, participation=null, submission=null, assessmentType=AUTOMATIC, testCaseCount=0, passedTestCaseCount=0, codeIssueCount=0]],
    FinishedBuildJobDTO[id=3, name=job3, buildAgentAddress=[127.0.0.1]:5704, participationId=3, courseId=880, exerciseId=1, status=SUCCESSFUL, repositoryType=null, repositoryName=test, triggeredByPushTo=user, buildStartDate=2025-01-11T13:52:41.431553Z, buildCompletionDate=2025-01-11T13:53:41.431554Z, commitHash=test, submissionResult=ResultDTO[id=463, completionDate=2025-01-11T13:50:41.431578Z, successful=true, score=100.0, rated=true, participation=null, submission=null, assessmentType=AUTOMATIC, testCaseCount=0, passedTestCaseCount=0, codeIssueCount=0]]]
Raw output
java.lang.AssertionError: 
Expected size: 3 but was: 4 in:
[FinishedBuildJobDTO[id=17471736603436144, name=SHORTAA06BA810DC3A044D30BA3D075FB296507E9TSTEXC-BASE, buildAgentAddress=[127.0.0.1]:5704, participationId=1747, courseId=863, exerciseId=2442, status=FAILED, repositoryType=exercise, repositoryName=shortaa06ba810dc3a044d30ba3d075fb296507e9tstexc-exercise, triggeredByPushTo=exercise, buildStartDate=2025-01-11T13:50:39.252262Z, buildCompletionDate=2025-01-11T13:50:39.984241Z, commitHash=null, submissionResult=null],
    FinishedBuildJobDTO[id=4, name=job4, buildAgentAddress=[127.0.0.1]:5704, participationId=4, courseId=881, exerciseId=1, status=FAILED, repositoryType=null, repositoryName=test, triggeredByPushTo=user, buildStartDate=2025-01-11T13:51:41.431555Z, buildCompletionDate=2025-01-11T13:52:41.431555Z, commitHash=test, submissionResult=ResultDTO[id=464, completionDate=2025-01-11T13:50:41.431579Z, successful=false, score=0.0, rated=true, participation=null, submission=null, assessmentType=AUTOMATIC, testCaseCount=0, passedTestCaseCount=0, codeIssueCount=0]],
    FinishedBuildJobDTO[id=5, name=job5, buildAgentAddress=[127.0.0.1]:5704, participationId=5, courseId=882, exerciseId=1, status=FAILED, repositoryType=null, repositoryName=test, triggeredByPushTo=user, buildStartDate=2025-01-11T13:41:41.431556Z, buildCompletionDate=2025-01-11T13:53:11.431557Z, commitHash=test, submissionResult=ResultDTO[id=465, completionDate=2025-01-11T13:50:41.431580Z, successful=false, score=0.0, rated=true, participation=null, submission=null, assessmentType=AUTOMATIC, testCaseCount=0, passedTestCaseCount=0, codeIssueCount=0]],
    FinishedBuildJobDTO[id=3, name=job3, buildAgentAddress=[127.0.0.1]:5704, participationId=3, courseId=880, exerciseId=1, status=SUCCESSFUL, repositoryType=null, repositoryName=test, triggeredByPushTo=user, buildStartDate=2025-01-11T13:52:41.431553Z, buildCompletionDate=2025-01-11T13:53:41.431554Z, commitHash=test, submissionResult=ResultDTO[id=463, completionDate=2025-01-11T13:50:41.431578Z, successful=true, score=100.0, rated=true, participation=null, submission=null, assessmentType=AUTOMATIC, testCaseCount=0, passedTestCaseCount=0, codeIssueCount=0]]]
	at de.tum.cit.aet.artemis.programming.icl.LocalCIResourceIntegrationTest.testGetFinishedBuildJobs_returnsSortedJobs(LocalCIResourceIntegrationTest.java:272)
	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)