Skip to content

Development: Migrate admin metrics Angular code to new best practices… #52903

Development: Migrate admin metrics Angular code to new best practices…

Development: Migrate admin metrics Angular code to new best practices… #52903

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

7693 passed, 3 failed and 4 skipped

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

Annotations

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 103 in src/main/java/de/tum/cit/aet/artemis/programming/service/localvc/ssh/SshGitCommand.java

See this annotation in the file changed.

@github-actions github-actions / H2 Tests

de.tum.cit.aet.artemis.localvcci.LocalVCSshIntegrationTest ► testConnectOverSshAndReceivePack()

Failed test found in:
  build/test-results/test/TEST-de.tum.cit.aet.artemis.localvcci.LocalVCSshIntegrationTest.xml
Error:
  java.lang.NullPointerException: Cannot invoke "org.apache.sshd.server.ExitCallback.onExit(int, String)" because "cb" is null
Raw output
java.lang.NullPointerException: Cannot invoke "org.apache.sshd.server.ExitCallback.onExit(int, String)" because "cb" is null
	at org.apache.sshd.server.command.AbstractCommandSupport.onExit(AbstractCommandSupport.java:213)
	at de.tum.cit.aet.artemis.programming.service.localvc.ssh.SshGitCommand.run(SshGitCommand.java:103)
	at de.tum.cit.aet.artemis.localvcci.LocalVCSshIntegrationTest.testConnectOverSshAndReceivePack(LocalVCSshIntegrationTest.java:127)
	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)

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: 
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)