Communication
: Add FAQs to Artemis
#9325
7723 passed, 10 failed and 3 skipped
Annotations
github-actions / H2 Tests
de.tum.cit.aet.artemis.communication.notification.SingleUserNotificationServiceTest ► testTutorialGroupNotifications_groupUnassigned()
Failed test found in:
build/test-results/test/TEST-de.tum.cit.aet.artemis.communication.notification.SingleUserNotificationServiceTest.xml
Error:
org.mockito.exceptions.verification.TooManyActualInvocations:
Raw output
org.mockito.exceptions.verification.TooManyActualInvocations:
firebasePushNotificationService.sendNotification(
<any de.tum.cit.aet.artemis.communication.domain.notification.Notification>,
<any set>,
<any java.lang.Object>
);
Wanted 1 time:
-> at de.tum.cit.aet.artemis.communication.service.notifications.push_notifications.PushNotificationService.sendNotification(PushNotificationService.java:144)
But was 2 times:
-> at de.tum.cit.aet.artemis.communication.service.notifications.push_notifications.PushNotificationService.sendNotification(PushNotificationService.java:129)
-> at de.tum.cit.aet.artemis.communication.service.notifications.push_notifications.PushNotificationService.sendNotification(PushNotificationService.java:129)
at app//de.tum.cit.aet.artemis.communication.service.notifications.push_notifications.PushNotificationService.sendNotification(PushNotificationService.java:144)
at app//de.tum.cit.aet.artemis.communication.notification.SingleUserNotificationServiceTest.verifyPush(SingleUserNotificationServiceTest.java:588)
at app//de.tum.cit.aet.artemis.communication.notification.SingleUserNotificationServiceTest.testTutorialGroupNotifications_groupUnassigned(SingleUserNotificationServiceTest.java:555)
at [email protected]/java.lang.reflect.Method.invoke(Method.java:580)
at [email protected]/java.util.concurrent.RecursiveAction.exec(RecursiveAction.java:194)
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)
github-actions / H2 Tests
de.tum.cit.aet.artemis.modeling.ModelingExerciseIntegrationTest ► testDeleteModelingExerciseWithCompetency()
Failed test found in:
build/test-results/test/TEST-de.tum.cit.aet.artemis.modeling.ModelingExerciseIntegrationTest.xml
Error:
Wanted but not invoked:
Raw output
Wanted but not invoked:
competencyProgressService.updateProgressByCompetencyAsync(
de.tum.cit.aet.artemis.atlas.domain.competency.Competency@34
);
-> at de.tum.cit.aet.artemis.atlas.service.competency.CompetencyProgressService.updateProgressByCompetencyAsync(CompetencyProgressService.java:123)
Actually, there were zero interactions with this mock.
at app//de.tum.cit.aet.artemis.atlas.service.competency.CompetencyProgressService.updateProgressByCompetencyAsync(CompetencyProgressService.java:123)
at app//de.tum.cit.aet.artemis.modeling.ModelingExerciseIntegrationTest.testDeleteModelingExerciseWithCompetency(ModelingExerciseIntegrationTest.java:415)
at [email protected]/java.lang.reflect.Method.invoke(Method.java:580)
at [email protected]/java.util.concurrent.RecursiveAction.exec(RecursiveAction.java:194)
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)
github-actions / H2 Tests
de.tum.cit.aet.artemis.programming.localvcci.LocalCIIntegrationTest ► testCannotFindResults()
Failed test found in:
build/test-results/test/TEST-de.tum.cit.aet.artemis.programming.localvcci.LocalCIIntegrationTest.xml
Error:
org.awaitility.core.ConditionTimeoutException: Condition with Lambda expression in de.tum.cit.aet.artemis.programming.localvcci.LocalVCLocalCITestService was not fulfilled within 20 seconds.
Raw output
org.awaitility.core.ConditionTimeoutException: Condition with Lambda expression in de.tum.cit.aet.artemis.programming.localvcci.LocalVCLocalCITestService was not fulfilled within 20 seconds.
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.programming.localvcci.LocalVCLocalCITestService.testLatestSubmission(LocalVCLocalCITestService.java:575)
at app//de.tum.cit.aet.artemis.programming.localvcci.LocalCIIntegrationTest.testCannotFindResults(LocalCIIntegrationTest.java:293)
at [email protected]/java.lang.reflect.Method.invoke(Method.java:580)
at [email protected]/java.util.concurrent.RecursiveAction.exec(RecursiveAction.java:194)
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)
github-actions / H2 Tests
de.tum.cit.aet.artemis.programming.localvcci.LocalCIIntegrationTest ► testCommitHashNull()
Failed test found in:
build/test-results/test/TEST-de.tum.cit.aet.artemis.programming.localvcci.LocalCIIntegrationTest.xml
Error:
org.awaitility.core.ConditionTimeoutException: Condition with Lambda expression in de.tum.cit.aet.artemis.programming.localvcci.LocalVCLocalCITestService was not fulfilled within 10 seconds.
Raw output
org.awaitility.core.ConditionTimeoutException: Condition with Lambda expression in de.tum.cit.aet.artemis.programming.localvcci.LocalVCLocalCITestService was not fulfilled within 10 seconds.
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.programming.localvcci.LocalVCLocalCITestService.testLatestSubmission(LocalVCLocalCITestService.java:575)
at app//de.tum.cit.aet.artemis.programming.localvcci.LocalVCLocalCITestService.testLatestSubmission(LocalVCLocalCITestService.java:608)
at app//de.tum.cit.aet.artemis.programming.localvcci.LocalCIIntegrationTest.testCommitHashNull(LocalCIIntegrationTest.java:253)
at [email protected]/java.lang.reflect.Method.invoke(Method.java:580)
at [email protected]/java.util.concurrent.RecursiveAction.exec(RecursiveAction.java:194)
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)
github-actions / H2 Tests
de.tum.cit.aet.artemis.programming.localvcci.LocalCIIntegrationTest ► testSubmitViaOnlineEditor()
Failed test found in:
build/test-results/test/TEST-de.tum.cit.aet.artemis.programming.localvcci.LocalCIIntegrationTest.xml
Error:
org.awaitility.core.ConditionTimeoutException: Condition with Lambda expression in de.tum.cit.aet.artemis.programming.localvcci.LocalVCLocalCITestService was not fulfilled within 10 seconds.
Raw output
org.awaitility.core.ConditionTimeoutException: Condition with Lambda expression in de.tum.cit.aet.artemis.programming.localvcci.LocalVCLocalCITestService was not fulfilled within 10 seconds.
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.programming.localvcci.LocalVCLocalCITestService.testLatestSubmission(LocalVCLocalCITestService.java:575)
at app//de.tum.cit.aet.artemis.programming.localvcci.LocalVCLocalCITestService.testLatestSubmission(LocalVCLocalCITestService.java:608)
at app//de.tum.cit.aet.artemis.programming.localvcci.LocalCIIntegrationTest.testSubmitViaOnlineEditor(LocalCIIntegrationTest.java:138)
at [email protected]/java.lang.reflect.Method.invoke(Method.java:580)
at [email protected]/java.util.concurrent.RecursiveAction.exec(RecursiveAction.java:194)
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)
github-actions / H2 Tests
de.tum.cit.aet.artemis.programming.localvcci.LocalCIIntegrationTest ► testStaticCodeAnalysis()
Failed test found in:
build/test-results/test/TEST-de.tum.cit.aet.artemis.programming.localvcci.LocalCIIntegrationTest.xml
Error:
org.awaitility.core.ConditionTimeoutException: Condition with Lambda expression in de.tum.cit.aet.artemis.programming.localvcci.LocalVCLocalCITestService was not fulfilled within 10 seconds.
Raw output
org.awaitility.core.ConditionTimeoutException: Condition with Lambda expression in de.tum.cit.aet.artemis.programming.localvcci.LocalVCLocalCITestService was not fulfilled within 10 seconds.
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.programming.localvcci.LocalVCLocalCITestService.testLatestSubmission(LocalVCLocalCITestService.java:575)
at app//de.tum.cit.aet.artemis.programming.localvcci.LocalCIIntegrationTest.testStaticCodeAnalysis(LocalCIIntegrationTest.java:382)
at [email protected]/java.lang.reflect.Method.invoke(Method.java:580)
at [email protected]/java.util.concurrent.RecursiveAction.exec(RecursiveAction.java:194)
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)
github-actions / H2 Tests
de.tum.cit.aet.artemis.programming.localvcci.LocalCIIntegrationTest ► testBuildLogs()
Failed test found in:
build/test-results/test/TEST-de.tum.cit.aet.artemis.programming.localvcci.LocalCIIntegrationTest.xml
Error:
org.awaitility.core.ConditionTimeoutException: Condition with Lambda expression in de.tum.cit.aet.artemis.programming.localvcci.LocalVCLocalCITestService was not fulfilled within 10 seconds.
Raw output
org.awaitility.core.ConditionTimeoutException: Condition with Lambda expression in de.tum.cit.aet.artemis.programming.localvcci.LocalVCLocalCITestService was not fulfilled within 10 seconds.
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.programming.localvcci.LocalVCLocalCITestService.testLatestSubmission(LocalVCLocalCITestService.java:575)
at app//de.tum.cit.aet.artemis.programming.localvcci.LocalVCLocalCITestService.testLatestSubmission(LocalVCLocalCITestService.java:608)
at app//de.tum.cit.aet.artemis.programming.localvcci.LocalCIIntegrationTest.testBuildLogs(LocalCIIntegrationTest.java:433)
at [email protected]/java.lang.reflect.Method.invoke(Method.java:580)
at [email protected]/java.util.concurrent.RecursiveAction.exec(RecursiveAction.java:194)
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)
github-actions / H2 Tests
de.tum.cit.aet.artemis.programming.localvcci.LocalCIIntegrationTest ► testIOExceptionWhenParsingTestResults()
Failed test found in:
build/test-results/test/TEST-de.tum.cit.aet.artemis.programming.localvcci.LocalCIIntegrationTest.xml
Error:
Wanted but not invoked:
Raw output
Wanted but not invoked:
programmingMessagingService.notifyUserAboutNewResult(
<any>,
ProgrammingExerciseStudentParticipation{id=1490, repositoryUri='http://localhost:49152/git/SHORTA9A924920C879049080BE3709C481DB7A6FATSTEXC/shorta9a924920c879049080be3709c481db7a6fatstexc-localvclocalciintegrationstudent1.git', buildPlanId='SHORTA9A924920C879049080BE3709C481DB7A6FATSTEXC-LOCALVCLOCALCIINTEGRATIONSTUDENT1', initializationState='INITIALIZED', initializationDate='2024-10-03T15:40:16.792408Z', individualDueDate=null', presentationScore=null}
);
-> at de.tum.cit.aet.artemis.programming.service.ProgrammingMessagingService.notifyUserAboutNewResult(ProgrammingMessagingService.java:166)
However, there was exactly 1 interaction with this mock:
programmingMessagingService.notifyUserAboutSubmission(
ProgrammingSubmission{commitHash='b8fa1529dfa2b7365c00bccd524e873b39edadd7', buildFailed=false, buildArtifact=false, type=MANUAL},
2307L
);
-> at de.tum.cit.aet.artemis.programming.service.localvc.LocalVCServletService.processNewPushToRepository(LocalVCServletService.java:674)
at app//de.tum.cit.aet.artemis.programming.service.ProgrammingMessagingService.notifyUserAboutNewResult(ProgrammingMessagingService.java:166)
at app//de.tum.cit.aet.artemis.programming.localvcci.LocalCIIntegrationTest.lambda$testIOExceptionWhenParsingTestResults$9(LocalCIIntegrationTest.java:318)
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)
github-actions / H2 Tests
de.tum.cit.aet.artemis.programming.localvcci.LocalVCSshIntegrationTest ► testFetchPush_repositoryDoesNotExist()
Failed test found in:
build/test-results/test/TEST-de.tum.cit.aet.artemis.programming.localvcci.LocalVCSshIntegrationTest.xml
Error:
org.apache.commons.io.IOExceptionList: 1 exception(s): [org.apache.commons.io.IOIndexedException: FileNotFoundException #4: File does not exist: /tmp/SHORT021CFC840E50E04202089970143714BD7A3BTSTEXC/some-repository-slug.git/gc.log.lock]
Raw output
org.apache.commons.io.IOExceptionList: 1 exception(s): [org.apache.commons.io.IOIndexedException: FileNotFoundException #4: File does not exist: /tmp/SHORT021CFC840E50E04202089970143714BD7A3BTSTEXC/some-repository-slug.git/gc.log.lock]
at org.apache.commons.io.IOExceptionList.checkEmpty(IOExceptionList.java:50)
at org.apache.commons.io.function.IOStream.forAll(IOStream.java:357)
at org.apache.commons.io.function.IOStreams.forAll(IOStreams.java:42)
at org.apache.commons.io.function.IOStreams.forAll(IOStreams.java:36)
at org.apache.commons.io.function.IOConsumer.forAll(IOConsumer.java:80)
at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:367)
at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1242)
at de.tum.cit.aet.artemis.programming.localvcci.LocalVCIntegrationTest.testFetchPush_repositoryDoesNotExist(LocalVCIntegrationTest.java:85)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at java.base/java.util.concurrent.RecursiveAction.exec(RecursiveAction.java:194)
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)
Caused by: org.apache.commons.io.IOIndexedException: FileNotFoundException #4: File does not exist: /tmp/SHORT021CFC840E50E04202089970143714BD7A3BTSTEXC/some-repository-slug.git/gc.log.lock
at org.apache.commons.io.function.IOStream.lambda$forAll$11(IOStream.java:352)
at java.base/java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:1024)
at java.base/java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:762)
at org.apache.commons.io.function.IOStream.forAll(IOStream.java:343)
... 13 more
Caused by: java.io.FileNotFoundException: File does not exist: /tmp/SHORT021CFC840E50E04202089970143714BD7A3BTSTEXC/some-repository-slug.git/gc.log.lock
at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1396)
at org.apache.commons.io.function.IOStream.lambda$forAll$11(IOStream.java:345)
... 16 more
github-actions / H2 Tests
de.tum.cit.aet.artemis.programming.ProgrammingExerciseLocalVCLocalCIIntegrationTest ► testDeleteProgrammingExercise()
Failed test found in:
build/test-results/test/TEST-de.tum.cit.aet.artemis.programming.ProgrammingExerciseLocalVCLocalCIIntegrationTest.xml
Error:
Wanted but not invoked:
Raw output
Wanted but not invoked:
competencyProgressService.updateProgressByCompetencyAsync(
de.tum.cit.aet.artemis.atlas.domain.competency.Competency@55
);
-> at de.tum.cit.aet.artemis.atlas.service.competency.CompetencyProgressService.updateProgressByCompetencyAsync(CompetencyProgressService.java:123)
Actually, there were zero interactions with this mock.
at app//de.tum.cit.aet.artemis.atlas.service.competency.CompetencyProgressService.updateProgressByCompetencyAsync(CompetencyProgressService.java:123)
at app//de.tum.cit.aet.artemis.programming.ProgrammingExerciseLocalVCLocalCIIntegrationTest.testDeleteProgrammingExercise(ProgrammingExerciseLocalVCLocalCIIntegrationTest.java:234)
at [email protected]/java.lang.reflect.Method.invoke(Method.java:580)
at [email protected]/java.util.concurrent.RecursiveAction.exec(RecursiveAction.java:194)
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)