Skip to content

Development: Replace if-else chains with pattern matching #6000

Development: Replace if-else chains with pattern matching

Development: Replace if-else chains with pattern matching #6000

GitHub Actions / H2 Tests failed Sep 10, 2024 in 0s

7690 passed, 3 failed and 1 skipped

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

Annotations

Check failure on line 575 in src/test/java/de/tum/in/www1/artemis/localvcci/LocalVCLocalCITestService.java

See this annotation in the file changed.

@github-actions github-actions / H2 Tests

de.tum.in.www1.artemis.exercise.programming.ProgrammingExerciseLocalVCLocalCIIntegrationTest ► testCreateProgrammingExercise()

Failed test found in:
  build/test-results/test/TEST-de.tum.in.www1.artemis.exercise.programming.ProgrammingExerciseLocalVCLocalCIIntegrationTest.xml
Error:
  org.awaitility.core.ConditionTimeoutException: Condition with Lambda expression in de.tum.in.www1.artemis.localvcci.LocalVCLocalCITestService was not fulfilled within 10 seconds.
Raw output
org.awaitility.core.ConditionTimeoutException: Condition with Lambda expression in de.tum.in.www1.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.in.www1.artemis.localvcci.LocalVCLocalCITestService.testLatestSubmission(LocalVCLocalCITestService.java:575)
	at app//de.tum.in.www1.artemis.localvcci.LocalVCLocalCITestService.testLatestSubmission(LocalVCLocalCITestService.java:608)
	at app//de.tum.in.www1.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 103 in src/main/java/de/tum/in/www1/artemis/config/icl/ssh/SshGitCommand.java

See this annotation in the file changed.

@github-actions github-actions / H2 Tests

de.tum.in.www1.artemis.localvcci.LocalVCSshIntegrationTest ► testConnectOverSshAndReceivePack()

Failed test found in:
  build/test-results/test/TEST-de.tum.in.www1.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.in.www1.artemis.config.icl.ssh.SshGitCommand.run(SshGitCommand.java:103)
	at de.tum.in.www1.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 53 in src/test/java/de/tum/in/www1/artemis/localvcci/SharedQueueManagementServiceTest.java

See this annotation in the file changed.

@github-actions github-actions / H2 Tests

de.tum.in.www1.artemis.localvcci.SharedQueueManagementServiceTest ► testPushDockerImageCleanupInfo()

Failed test found in:
  build/test-results/test/TEST-de.tum.in.www1.artemis.localvcci.SharedQueueManagementServiceTest.xml
Error:
  org.opentest4j.AssertionFailedError: 
Raw output
org.opentest4j.AssertionFailedError: 
expected: 3
 but was: 4
	at app//de.tum.in.www1.artemis.localvcci.SharedQueueManagementServiceTest.testPushDockerImageCleanupInfo(SharedQueueManagementServiceTest.java:53)
	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)