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 / Junit Results failed Sep 27, 2024 in 0s

Junit Results

Junit Results ran 7700 in 1119.5920000000008 seconds 0 Errored, 3 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 7700 in 1119.5920000000008 seconds 0 Errored, 3 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 111 in /home/runner/work/Artemis/Artemis/src/test/java/de/tum/cit/aet/artemis/localvcci/LocalVCSshIntegrationTest.java

See this annotation in the file changed.

@github-actions github-actions / Junit Results

testConnectOverSshAndReceivePack()

Junit test testConnectOverSshAndReceivePack() failed 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 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)