Skip to content

Feature: Add cleanup service for admins #59253

Feature: Add cleanup service for admins

Feature: Add cleanup service for admins #59253

GitHub Actions / Junit Results failed Sep 23, 2024 in 0s

Junit Results

Junit Results ran 7711 in 1131.8339999999992 seconds 0 Errored, 6 Failed, 4 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 7711 in 1131.8339999999992 seconds 0 Errored, 6 Failed, 4 Skipped

Check failure on line 407 in /home/runner/work/Artemis/Artemis/src/test/java/de/tum/cit/aet/artemis/exercise/modeling/ModelingExerciseIntegrationTest.java

See this annotation in the file changed.

@github-actions github-actions / Junit Results

testDeleteModelingExerciseWithCompetency()

Junit test testDeleteModelingExerciseWithCompetency() failed Wanted but not invoked:
competencyProgressService.updateProgressByCompetencyAsync(
    de.tum.cit.aet.artemis.atlas.domain.competency.Competency@106
);
-> at de.tum.cit.aet.artemis.atlas.service.competency.CompetencyProgressService.updateProgressByCompetencyAsync(CompetencyProgressService.java:123)
Actually, there were zero interactions with this mock.
Raw output
Wanted but not invoked:
competencyProgressService.updateProgressByCompetencyAsync(
    de.tum.cit.aet.artemis.atlas.domain.competency.Competency@106
);
-> 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.exercise.modeling.ModelingExerciseIntegrationTest.testDeleteModelingExerciseWithCompetency(ModelingExerciseIntegrationTest.java:413)
	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)

Check failure on line 149 in /home/runner/work/Artemis/Artemis/src/test/java/de/tum/cit/aet/artemis/exercise/programming/ProgrammingExerciseLocalVCLocalCIIntegrationTest.java

See this annotation in the file changed.

@github-actions github-actions / Junit Results

testCreateProgrammingExercise()

Junit test testCreateProgrammingExercise() failed org.awaitility.core.ConditionTimeoutException: Condition with Lambda expression in de.tum.cit.aet.artemis.localvcci.LocalVCLocalCITestService was not fulfilled within 10 seconds.
Raw output
org.awaitility.core.ConditionTimeoutException: Condition with Lambda expression in de.tum.cit.aet.artemis.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.localvcci.LocalVCLocalCITestService.testLatestSubmission(LocalVCLocalCITestService.java:575)
	at app//de.tum.cit.aet.artemis.localvcci.LocalVCLocalCITestService.testLatestSubmission(LocalVCLocalCITestService.java:608)
	at app//de.tum.cit.aet.artemis.exercise.programming.ProgrammingExerciseLocalVCLocalCIIntegrationTest.testCreateProgrammingExercise(ProgrammingExerciseLocalVCLocalCIIntegrationTest.java:184)
	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)

Check failure on line 237 in /home/runner/work/Artemis/Artemis/src/test/java/de/tum/cit/aet/artemis/exercise/programming/ProgrammingExerciseLocalVCLocalCIIntegrationTest.java

See this annotation in the file changed.

@github-actions github-actions / Junit Results

testImportProgrammingExercise()

Junit test testImportProgrammingExercise() failed org.awaitility.core.ConditionTimeoutException: Condition with Lambda expression in de.tum.cit.aet.artemis.localvcci.LocalVCLocalCITestService was not fulfilled within 10 seconds.
Raw output
org.awaitility.core.ConditionTimeoutException: Condition with Lambda expression in de.tum.cit.aet.artemis.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.localvcci.LocalVCLocalCITestService.testLatestSubmission(LocalVCLocalCITestService.java:575)
	at app//de.tum.cit.aet.artemis.localvcci.LocalVCLocalCITestService.testLatestSubmission(LocalVCLocalCITestService.java:608)
	at app//de.tum.cit.aet.artemis.exercise.programming.ProgrammingExerciseLocalVCLocalCIIntegrationTest.testImportProgrammingExercise(ProgrammingExerciseLocalVCLocalCIIntegrationTest.java:280)
	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)

Check failure on line 215 in /home/runner/work/Artemis/Artemis/src/test/java/de/tum/cit/aet/artemis/exercise/programming/ProgrammingExerciseLocalVCLocalCIIntegrationTest.java

See this annotation in the file changed.

@github-actions github-actions / Junit Results

testDeleteProgrammingExercise()

Junit test testDeleteProgrammingExercise() failed Wanted but not invoked:
competencyProgressService.updateProgressByCompetencyAsync(
    de.tum.cit.aet.artemis.atlas.domain.competency.Competency@127
);
-> at de.tum.cit.aet.artemis.atlas.service.competency.CompetencyProgressService.updateProgressByCompetencyAsync(CompetencyProgressService.java:123)
Actually, there were zero interactions with this mock.
Raw output
Wanted but not invoked:
competencyProgressService.updateProgressByCompetencyAsync(
    de.tum.cit.aet.artemis.atlas.domain.competency.Competency@127
);
-> 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.exercise.programming.ProgrammingExerciseLocalVCLocalCIIntegrationTest.testDeleteProgrammingExercise(ProgrammingExerciseLocalVCLocalCIIntegrationTest.java:232)
	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)

Check failure on line 300 in /home/runner/work/Artemis/Artemis/src/test/java/de/tum/cit/aet/artemis/localvcci/LocalVCIntegrationTest.java

See this annotation in the file changed.

@github-actions github-actions / Junit Results

testUserCreatesNewBranch()

Junit test testUserCreatesNewBranch() failed org.apache.commons.io.IOExceptionList: 1 exception(s): [org.apache.commons.io.IOIndexedException: FileNotFoundException #4: File does not exist: /tmp/SHORTF92E756F0B38004DC708A850A40BF1FF4CC0TSTEXC/shortf92e756f0b38004dc708a850a40bf1ff4cc0tstexc-localvclocalciintegrationstudent1.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/SHORTF92E756F0B38004DC708A850A40BF1FF4CC0TSTEXC/shortf92e756f0b38004dc708a850a40bf1ff4cc0tstexc-localvclocalciintegrationstudent1.git/gc.log.lock]
	at org.apache.commons.io.IOExceptionList.checkEmpty(IOExceptionList.java:50)
	at org.apache.commons.io.function.IOStream.forAll(IOStream.java:359)
	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:365)
	at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1240)
	at de.tum.cit.aet.artemis.util.LocalRepository.resetLocalRepo(LocalRepository.java:122)
	at de.tum.cit.aet.artemis.localvcci.LocalVCIntegrationTest.removeRepositories(LocalVCIntegrationTest.java:70)
	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/SHORTF92E756F0B38004DC708A850A40BF1FF4CC0TSTEXC/shortf92e756f0b38004dc708a850a40bf1ff4cc0tstexc-localvclocalciintegrationstudent1.git/gc.log.lock
	at org.apache.commons.io.function.IOStream.lambda$forAll$11(IOStream.java:354)
	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:345)
	... 14 more
Caused by: java.io.FileNotFoundException: File does not exist: /tmp/SHORTF92E756F0B38004DC708A850A40BF1FF4CC0TSTEXC/shortf92e756f0b38004dc708a850a40bf1ff4cc0tstexc-localvclocalciintegrationstudent1.git/gc.log.lock
	at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1394)
	at org.apache.commons.io.function.IOStream.lambda$forAll$11(IOStream.java:347)
	... 17 more

Check failure on line 548 in /home/runner/work/Artemis/Artemis/src/test/java/de/tum/cit/aet/artemis/notification/SingleUserNotificationServiceTest.java

See this annotation in the file changed.

@github-actions github-actions / Junit Results

testTutorialGroupNotifications_groupUnassigned()

Junit test testTutorialGroupNotifications_groupUnassigned() failed org.mockito.exceptions.verification.TooManyActualInvocations: 
applePushNotificationService.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)

Raw output
org.mockito.exceptions.verification.TooManyActualInvocations: 
applePushNotificationService.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.notification.SingleUserNotificationServiceTest.verifyPush(SingleUserNotificationServiceTest.java:587)
	at app//de.tum.cit.aet.artemis.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)