Integrated code Lifecycle
: Support multiple SSH keys per user
#60368
Triggered via pull request
October 17, 2024 19:26
SimonEntholzer
synchronize
#9478
Status
Success
Total duration
12s
Artifacts
–
Annotations
38 errors
de.tum.cit.aet.artemis.core.architecture.CoreRepositoryArchitectureTest ► usedInProductionCode():
src/test/java/de/tum/cit/aet/artemis/shared/architecture/module/AbstractModuleRepositoryArchitectureTest.java#L206
Failed test found in:
build/test-results/test/TEST-de.tum.cit.aet.artemis.core.architecture.CoreRepositoryArchitectureTest.xml
Error:
java.lang.AssertionError: Architecture Violation [Priority: MEDIUM] - Rule 'methods that are declared in classes that reside in a package 'de.tum.cit.aet.artemis.core..' and are declared in classes that are annotated with @repository and are declared in classes that should be used by production code, because methods that are not used in production code should be moved to test repositories' was violated (1 times):
|
test#L0
Junit Results ran 8242 in 1301.8179999999998 seconds 0 Errored, 25 Failed, 2 Skipped
|
usedInProductionCode():
/home/runner/work/Artemis/Artemis/src/test/java/de/tum/cit/aet/artemis/core/architecture/CoreRepositoryArchitectureTest.java#L0
Junit test usedInProductionCode() failed java.lang.AssertionError: Architecture Violation [Priority: MEDIUM] - Rule 'methods that are declared in classes that reside in a package 'de.tum.cit.aet.artemis.core..' and are declared in classes that are annotated with @repository and are declared in classes that should be used by production code, because methods that are not used in production code should be moved to test repositories' was violated (1 times):
Method de.tum.cit.aet.artemis.core.repository.UserRepository.updateUserSshPublicKeyHash(long, java.lang.String, java.lang.String) is not used in production code
|
addAndDeleteSshPublicKeyByUser():
/home/runner/work/Artemis/Artemis/src/test/java/de/tum/cit/aet/artemis/core/authentication/UserAccountLocalVcsIntegrationTest.java#L31
Junit test addAndDeleteSshPublicKeyByUser() failed java.lang.AssertionError: Response status expected:<200> but was:<400>
|
resumeProgrammingExerciseByTriggeringInstructorBuild_correctInitializationState(ExerciseMode) [1] exerciseMode=INDIVIDUAL:
/home/runner/work/Artemis/Artemis/src/test/java/de/tum/cit/aet/artemis/programming/ProgrammingExerciseGitlabJenkinsIntegrationTest.java#L0
Junit test resumeProgrammingExerciseByTriggeringInstructorBuild_correctInitializationState(ExerciseMode) [1] exerciseMode=INDIVIDUAL failed org.awaitility.core.ConditionTimeoutException: Condition with Lambda expression in de.tum.cit.aet.artemis.programming.util.ProgrammingExerciseTestService was not fulfilled within 20 seconds.
|
testCommitHashNull():
/home/runner/work/Artemis/Artemis/src/test/java/de/tum/cit/aet/artemis/programming/icl/LocalCIIntegrationTest.java#L267
Junit test testCommitHashNull() failed org.opentest4j.AssertionFailedError:
expected: false
but was: true
|
testSubmitViaOnlineEditor():
/home/runner/work/Artemis/Artemis/src/test/java/de/tum/cit/aet/artemis/programming/icl/LocalCIIntegrationTest.java#L154
Junit test testSubmitViaOnlineEditor() failed org.awaitility.core.ConditionTimeoutException: Condition with Lambda expression in de.tum.cit.aet.artemis.programming.icl.LocalVCLocalCITestService was not fulfilled within 10 seconds.
|
testStaticCodeAnalysis():
/home/runner/work/Artemis/Artemis/src/test/java/de/tum/cit/aet/artemis/programming/icl/LocalCIIntegrationTest.java#L385
Junit test testStaticCodeAnalysis() failed org.awaitility.core.ConditionTimeoutException: Condition with Lambda expression in de.tum.cit.aet.artemis.programming.icl.LocalVCLocalCITestService was not fulfilled within 10 seconds.
|
testBuildLogs():
/home/runner/work/Artemis/Artemis/src/test/java/de/tum/cit/aet/artemis/programming/icl/LocalCIIntegrationTest.java#L426
Junit test testBuildLogs() failed org.awaitility.core.ConditionTimeoutException: Condition with Lambda expression in de.tum.cit.aet.artemis.programming.icl.LocalVCLocalCITestService was not fulfilled within 10 seconds.
|
testIOExceptionWhenParsingTestResults():
/home/runner/work/Artemis/Artemis/src/test/java/de/tum/cit/aet/artemis/programming/icl/LocalCIIntegrationTest.java#L318
Junit test testIOExceptionWhenParsingTestResults() failed Wanted but not invoked:
programmingMessagingService.notifyUserAboutNewResult(
<any>,
ProgrammingExerciseStudentParticipation{id=416, repositoryUri='http://localhost:49152/git/SHORT7987EFB806168042B208C850B6B069AF6C60TSTEXC/short7987efb806168042b208c850b6b069af6c60tstexc-localciintstudent1.git', buildPlanId='SHORT7987EFB806168042B208C850B6B069AF6C60TSTEXC-LOCALCIINTSTUDENT1', initializationState='INITIALIZED', initializationDate='2024-10-17T19:33:07.711389Z', individualDueDate=null', presentationScore=null}
);
-> at de.tum.cit.aet.artemis.programming.service.ProgrammingMessagingService.notifyUserAboutNewResult(ProgrammingMessagingService.java:166)
However, there was exactly 1 interaction with this mock:
programmingMessagingService.notifyUserAboutSubmission(
ProgrammingSubmission{commitHash='b3ca5fb484c11c985e90a2da6a98cbb501e80194', buildFailed=false, buildArtifact=false, type=MANUAL},
293L
);
-> at de.tum.cit.aet.artemis.programming.service.localvc.LocalVCServletService.processNewPushToRepository(LocalVCServletService.java:674)
|
testEmptyResultFile():
/home/runner/work/Artemis/Artemis/src/test/java/de/tum/cit/aet/artemis/programming/icl/LocalCIIntegrationTest.java#L407
Junit test testEmptyResultFile() failed org.awaitility.core.ConditionTimeoutException: Condition with Lambda expression in de.tum.cit.aet.artemis.programming.icl.LocalVCLocalCITestService was not fulfilled within 10 seconds.
|
testLegacyResultFormat():
/home/runner/work/Artemis/Artemis/src/test/java/de/tum/cit/aet/artemis/programming/icl/LocalCIIntegrationTest.java#L356
Junit test testLegacyResultFormat() failed org.awaitility.core.ConditionTimeoutException: Condition with Lambda expression in de.tum.cit.aet.artemis.programming.icl.LocalVCLocalCITestService was not fulfilled within 10 seconds.
|
testBuildJobPersistence():
/home/runner/work/Artemis/Artemis/src/test/java/de/tum/cit/aet/artemis/programming/icl/LocalCIIntegrationTest.java#L162
Junit test testBuildJobPersistence() failed org.opentest4j.AssertionFailedError:
expected: SUCCESSFUL
but was: FAILED
|
testCustomCheckoutPaths():
/home/runner/work/Artemis/Artemis/src/test/java/de/tum/cit/aet/artemis/programming/icl/LocalCIIntegrationTest.java#L496
Junit test testCustomCheckoutPaths() failed org.awaitility.core.ConditionTimeoutException: Condition with Lambda expression in de.tum.cit.aet.artemis.programming.icl.LocalVCLocalCITestService was not fulfilled within 10 seconds.
|
testProjectTypeIsNull():
/home/runner/work/Artemis/Artemis/src/test/java/de/tum/cit/aet/artemis/programming/icl/LocalCIIntegrationTest.java#L290
Junit test testProjectTypeIsNull() failed org.awaitility.core.ConditionTimeoutException: Condition with Lambda expression in de.tum.cit.aet.artemis.programming.icl.LocalVCLocalCITestService was not fulfilled within 10 seconds.
|
testFetchPush_instructorExamTestRun():
/home/runner/work/Artemis/Artemis/src/test/java/de/tum/cit/aet/artemis/programming/icl/LocalVCLocalCIIntegrationTest.java#L766
Junit test testFetchPush_instructorExamTestRun() failed org.opentest4j.AssertionFailedError:
expected: false
but was: true
|
testFetchPush_templateRepository():
/home/runner/work/Artemis/Artemis/src/test/java/de/tum/cit/aet/artemis/programming/icl/LocalVCLocalCIIntegrationTest.java#L280
Junit test testFetchPush_templateRepository() failed org.opentest4j.AssertionFailedError:
expected: false
but was: true
|
testFetchPush_studentPracticeRepository():
/home/runner/work/Artemis/Artemis/src/test/java/de/tum/cit/aet/artemis/programming/icl/LocalVCLocalCIIntegrationTest.java#L846
Junit test testFetchPush_studentPracticeRepository() failed org.opentest4j.AssertionFailedError:
expected: false
but was: true
|
testFetchPush_assignmentRepository_examMode():
/home/runner/work/Artemis/Artemis/src/test/java/de/tum/cit/aet/artemis/programming/icl/LocalVCLocalCIIntegrationTest.java#L665
Junit test testFetchPush_assignmentRepository_examMode() failed org.opentest4j.AssertionFailedError:
expected: false
but was: true
|
testFetchPush_auxiliaryRepository():
/home/runner/work/Artemis/Artemis/src/test/java/de/tum/cit/aet/artemis/programming/icl/LocalVCLocalCIIntegrationTest.java#L311
Junit test testFetchPush_auxiliaryRepository() failed org.opentest4j.AssertionFailedError:
expected: false
but was: true
|
testFetchPush_testsRepository():
/home/runner/work/Artemis/Artemis/src/test/java/de/tum/cit/aet/artemis/programming/icl/LocalVCLocalCIIntegrationTest.java#L198
Junit test testFetchPush_testsRepository() failed org.opentest4j.AssertionFailedError:
expected: false
but was: true
|
testFetchPush_solutionRepository():
/home/runner/work/Artemis/Artemis/src/test/java/de/tum/cit/aet/artemis/programming/icl/LocalVCLocalCIIntegrationTest.java#L249
Junit test testFetchPush_solutionRepository() failed org.opentest4j.AssertionFailedError:
expected: false
but was: true
|
testFetchPush_studentAssignmentRepository_beforeAfterStartDate():
/home/runner/work/Artemis/Artemis/src/test/java/de/tum/cit/aet/artemis/programming/icl/LocalVCLocalCIIntegrationTest.java#L367
Junit test testFetchPush_studentAssignmentRepository_beforeAfterStartDate() failed org.opentest4j.AssertionFailedError:
expected: false
but was: true
|
testDirectlyAuthenticateOverSsh():
/home/runner/work/Artemis/Artemis/src/test/java/de/tum/cit/aet/artemis/programming/icl/LocalVCSshIntegrationTest.java#L68
Junit test testDirectlyAuthenticateOverSsh() failed java.lang.RuntimeException: org.apache.sshd.common.SshException: No more authentication methods available
|
testConnectOverSshAndReceivePack():
/home/runner/work/Artemis/Artemis/src/test/java/de/tum/cit/aet/artemis/programming/icl/LocalVCSshIntegrationTest.java#L120
Junit test testConnectOverSshAndReceivePack() failed java.lang.RuntimeException: org.apache.sshd.common.SshException: No more authentication methods available
|
testCreateProgrammingExercise():
/home/runner/work/Artemis/Artemis/src/test/java/de/tum/cit/aet/artemis/programming/icl/ProgrammingExerciseLocalVCLocalCIIntegrationTest.java#L163
Junit test testCreateProgrammingExercise() failed org.opentest4j.AssertionFailedError:
expected: false
but was: true
|
testImportProgrammingExercise():
/home/runner/work/Artemis/Artemis/src/test/java/de/tum/cit/aet/artemis/programming/icl/ProgrammingExerciseLocalVCLocalCIIntegrationTest.java#L264
Junit test testImportProgrammingExercise() failed org.opentest4j.AssertionFailedError:
expected: false
but was: true
|
de.tum.cit.aet.artemis.core.architecture.CoreRepositoryArchitectureTest ► usedInProductionCode():
src/test/java/de/tum/cit/aet/artemis/shared/architecture/module/AbstractModuleRepositoryArchitectureTest.java#L206
Failed test found in:
build/test-results/test/TEST-de.tum.cit.aet.artemis.core.architecture.CoreRepositoryArchitectureTest.xml
Error:
java.lang.AssertionError: Architecture Violation [Priority: MEDIUM] - Rule 'methods that are declared in classes that reside in a package 'de.tum.cit.aet.artemis.core..' and are declared in classes that are annotated with @repository and are declared in classes that should be used by production code, because methods that are not used in production code should be moved to test repositories' was violated (1 times):
|
de.tum.cit.aet.artemis.core.authentication.UserAccountLocalVcsIntegrationTest ► addAndDeleteSshPublicKeyByUser():
src/test/java/de/tum/cit/aet/artemis/core/util/RequestUtilService.java#L508
Failed test found in:
build/test-results/test/TEST-de.tum.cit.aet.artemis.core.authentication.UserAccountLocalVcsIntegrationTest.xml
Error:
java.lang.AssertionError: Response status expected:<200> but was:<400>
|
de.tum.cit.aet.artemis.programming.icl.LocalCIIntegrationTest ► testCommitHashNull():
src/test/java/de/tum/cit/aet/artemis/programming/icl/LocalVCLocalCITestService.java#L604
Failed test found in:
build/test-results/test/TEST-de.tum.cit.aet.artemis.programming.icl.LocalCIIntegrationTest.xml
Error:
org.opentest4j.AssertionFailedError:
|
de.tum.cit.aet.artemis.programming.icl.LocalCIIntegrationTest ► testSubmitViaOnlineEditor():
src/test/java/de/tum/cit/aet/artemis/programming/icl/LocalVCLocalCITestService.java#L580
Failed test found in:
build/test-results/test/TEST-de.tum.cit.aet.artemis.programming.icl.LocalCIIntegrationTest.xml
Error:
org.awaitility.core.ConditionTimeoutException: Condition with Lambda expression in de.tum.cit.aet.artemis.programming.icl.LocalVCLocalCITestService was not fulfilled within 10 seconds.
|
de.tum.cit.aet.artemis.programming.icl.LocalCIIntegrationTest ► testStaticCodeAnalysis():
src/test/java/de/tum/cit/aet/artemis/programming/icl/LocalVCLocalCITestService.java#L580
Failed test found in:
build/test-results/test/TEST-de.tum.cit.aet.artemis.programming.icl.LocalCIIntegrationTest.xml
Error:
org.awaitility.core.ConditionTimeoutException: Condition with Lambda expression in de.tum.cit.aet.artemis.programming.icl.LocalVCLocalCITestService was not fulfilled within 10 seconds.
|
de.tum.cit.aet.artemis.programming.icl.LocalCIIntegrationTest ► testBuildLogs():
src/test/java/de/tum/cit/aet/artemis/programming/icl/LocalVCLocalCITestService.java#L580
Failed test found in:
build/test-results/test/TEST-de.tum.cit.aet.artemis.programming.icl.LocalCIIntegrationTest.xml
Error:
org.awaitility.core.ConditionTimeoutException: Condition with Lambda expression in de.tum.cit.aet.artemis.programming.icl.LocalVCLocalCITestService was not fulfilled within 10 seconds.
|
de.tum.cit.aet.artemis.programming.icl.LocalCIIntegrationTest ► testIOExceptionWhenParsingTestResults():
src/main/java/de/tum/cit/aet/artemis/programming/service/ProgrammingMessagingService.java#L166
Failed test found in:
build/test-results/test/TEST-de.tum.cit.aet.artemis.programming.icl.LocalCIIntegrationTest.xml
Error:
Wanted but not invoked:
|
de.tum.cit.aet.artemis.programming.icl.LocalCIIntegrationTest ► testEmptyResultFile():
src/test/java/de/tum/cit/aet/artemis/programming/icl/LocalVCLocalCITestService.java#L580
Failed test found in:
build/test-results/test/TEST-de.tum.cit.aet.artemis.programming.icl.LocalCIIntegrationTest.xml
Error:
org.awaitility.core.ConditionTimeoutException: Condition with Lambda expression in de.tum.cit.aet.artemis.programming.icl.LocalVCLocalCITestService was not fulfilled within 10 seconds.
|
de.tum.cit.aet.artemis.programming.icl.LocalCIIntegrationTest ► testLegacyResultFormat():
src/test/java/de/tum/cit/aet/artemis/programming/icl/LocalVCLocalCITestService.java#L580
Failed test found in:
build/test-results/test/TEST-de.tum.cit.aet.artemis.programming.icl.LocalCIIntegrationTest.xml
Error:
org.awaitility.core.ConditionTimeoutException: Condition with Lambda expression in de.tum.cit.aet.artemis.programming.icl.LocalVCLocalCITestService was not fulfilled within 10 seconds.
|
de.tum.cit.aet.artemis.programming.icl.LocalCIIntegrationTest ► testBuildJobPersistence():
src/test/java/de/tum/cit/aet/artemis/programming/icl/LocalCIIntegrationTest.java#L176
Failed test found in:
build/test-results/test/TEST-de.tum.cit.aet.artemis.programming.icl.LocalCIIntegrationTest.xml
Error:
org.opentest4j.AssertionFailedError:
|
de.tum.cit.aet.artemis.programming.icl.LocalCIIntegrationTest ► testCustomCheckoutPaths():
src/test/java/de/tum/cit/aet/artemis/programming/icl/LocalVCLocalCITestService.java#L580
Failed test found in:
build/test-results/test/TEST-de.tum.cit.aet.artemis.programming.icl.LocalCIIntegrationTest.xml
Error:
org.awaitility.core.ConditionTimeoutException: Condition with Lambda expression in de.tum.cit.aet.artemis.programming.icl.LocalVCLocalCITestService was not fulfilled within 10 seconds.
|