Skip to content

Development: Exclude xml unit dependency due to transitive vulnerability #6024

Development: Exclude xml unit dependency due to transitive vulnerability

Development: Exclude xml unit dependency due to transitive vulnerability #6024

GitHub Actions / H2 Tests failed Sep 19, 2024 in 1s

7653 passed, 4 failed and 4 skipped

Tests failed
Report exceeded GitHub limit of 65535 bytes and has been trimmed

Annotations

Check failure on line 145 in src/main/java/de/tum/cit/aet/artemis/exam/service/ExamLiveEventsService.java

See this annotation in the file changed.

@github-actions github-actions / H2 Tests

de.tum.cit.aet.artemis.exercise.fileupload.FileUploadExerciseIntegrationTest ► updateFileUploadExerciseForExam_asInstructor()

Failed test found in:
  build/test-results/test/TEST-de.tum.cit.aet.artemis.exercise.fileupload.FileUploadExerciseIntegrationTest.xml
Error:
  Wanted but not invoked:
Raw output
Wanted but not invoked:
examLiveEventsService.createAndSendProblemStatementUpdateEvent(
    <any>,
    <any>,
    <any>
);
-> at de.tum.cit.aet.artemis.exam.service.ExamLiveEventsService.createAndSendProblemStatementUpdateEvent(ExamLiveEventsService.java:145)
Actually, there were zero interactions with this mock.

	at app//de.tum.cit.aet.artemis.exam.service.ExamLiveEventsService.createAndSendProblemStatementUpdateEvent(ExamLiveEventsService.java:145)
	at app//de.tum.cit.aet.artemis.exercise.fileupload.FileUploadExerciseIntegrationTest.updateFileUploadExerciseForExam_asInstructor(FileUploadExerciseIntegrationTest.java:464)
	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 123 in src/main/java/de/tum/cit/aet/artemis/atlas/service/competency/CompetencyProgressService.java

See this annotation in the file changed.

@github-actions github-actions / H2 Tests

de.tum.cit.aet.artemis.exercise.modeling.ModelingExerciseIntegrationTest ► testDeleteModelingExerciseWithCompetency()

Failed test found in:
  build/test-results/test/TEST-de.tum.cit.aet.artemis.exercise.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@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 123 in src/main/java/de/tum/cit/aet/artemis/atlas/service/competency/CompetencyProgressService.java

See this annotation in the file changed.

@github-actions github-actions / H2 Tests

de.tum.cit.aet.artemis.exercise.programming.ProgrammingExerciseLocalVCLocalCIIntegrationTest ► testDeleteProgrammingExercise()

Failed test found in:
  build/test-results/test/TEST-de.tum.cit.aet.artemis.exercise.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@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 144 in src/main/java/de/tum/cit/aet/artemis/communication/service/notifications/push_notifications/PushNotificationService.java

See this annotation in the file changed.

@github-actions github-actions / H2 Tests

de.tum.cit.aet.artemis.notification.SingleUserNotificationServiceTest ► testTutorialGroupNotifications_groupUnassigned()

Failed test found in:
  build/test-results/test/TEST-de.tum.cit.aet.artemis.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.notification.SingleUserNotificationServiceTest.verifyPush(SingleUserNotificationServiceTest.java:588)
	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)