Development
: Directly access Jenkins REST API for all interactions
#63975
Annotations
19 errors and 1 warning
test#L0
Junit Results ran 8289 in 1201.2330000000002 seconds 0 Errored, 9 Failed, 1 Skipped
|
testShouldNotFireProgressStalledEventWithIncreasingScores():
/home/runner/work/Artemis/Artemis/src/test/java/de/tum/cit/aet/artemis/iris/PyrisEventSystemIntegrationTest.java#L308
Junit test testShouldNotFireProgressStalledEventWithIncreasingScores() failed org.mockito.exceptions.verification.NeverWantedButInvoked:
irisExerciseChatSessionService.onNewResult(
<any de.tum.cit.aet.artemis.assessment.domain.Result>
);
Never wanted here:
-> at de.tum.cit.aet.artemis.iris.service.session.IrisExerciseChatSessionService.onNewResult(IrisExerciseChatSessionService.java:211)
But invoked here:
-> at de.tum.cit.aet.artemis.iris.service.pyris.event.NewResultEvent.handleEvent(NewResultEvent.java:30) with arguments: [Result{id161, completionDate=2025-01-10T22:03:17.287903737Z[Etc/UTC], successful=false, score=40.0, rated=true, assessmentType=AUTOMATIC, hasComplaint=null, testCaseCount=0, passedTestCaseCount=0, codeIssueCount=0}]
|
importProgrammingExercise_asPartOfExamImport():
/home/runner/work/Artemis/Artemis/src/test/java/de/tum/cit/aet/artemis/programming/ProgrammingExerciseGitlabJenkinsIntegrationTest.java#L393
Junit test importProgrammingExercise_asPartOfExamImport() failed java.lang.AssertionError: Response status expected:<201> but was:<500>
|
createProgrammingExercise_jenkinsJobIsNullOrUrlEmpty():
/home/runner/work/Artemis/Artemis/src/test/java/de/tum/cit/aet/artemis/programming/ProgrammingExerciseIntegrationJenkinsGitlabTest.java#L398
Junit test createProgrammingExercise_jenkinsJobIsNullOrUrlEmpty() failed java.lang.AssertionError:
Expecting code not to raise a throwable but caught
"https://www.jhipster.tech/problem/problem-with-message{400, The project SHORT3DC522D607E4704D7B0B2EC0D0EF8DCD1685TSTEXC already exists in Jenkins. Please choose a different short name!, message=error.ciProjectExists, params=ProgrammingExercise}
at de.tum.cit.aet.artemis.programming.service.ProgrammingExerciseService.checkIfProjectExists(ProgrammingExerciseService.java:988)
at de.tum.cit.aet.artemis.programming.ProgrammingExerciseIntegrationJenkinsGitlabTest.lambda$createProgrammingExercise_jenkinsJobIsNullOrUrlEmpty$0(ProgrammingExerciseIntegrationJenkinsGitlabTest.java:406)
at org.assertj.core.api.ThrowableAssert.catchThrowable(ThrowableAssert.java:63)
at org.assertj.core.api.NotThrownAssert.isThrownBy(NotThrownAssert.java:43)
at de.tum.cit.aet.artemis.programming.ProgrammingExerciseIntegrationJenkinsGitlabTest.createProgrammingExercise_jenkinsJobIsNullOrUrlEmpty(ProgrammingExerciseIntegrationJenkinsGitlabTest.java:406)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:767)
at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131)
at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:156)
at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:147)
at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:86)
at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(InterceptingExecutableInvoker.java:103)
at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.lambda$invoke$0(InterceptingExecutableInvoker.java:93)
at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106)
at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64)
at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45)
at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37)
at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:92)
at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:86)
at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$8(TestMethodTestDescriptor.java:217)
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:213)
at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:138)
at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:68)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:156)
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:146)
at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:144)
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:143)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:100)
at org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService$ExclusiveTask.exec(ForkJoinPoolHierarchicalTestExecutorService.java:274)
at org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService$ExclusiveTask.execSync(ForkJoinPoolHierarchicalTestExecutorService.java:247)
at org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService.executeSync(ForkJoinPoolHierarchicalTestExecutorService.java:194)
at org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService.invokeAll(ForkJoinPoolHierarchicalTestExecutorService.java:166)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:160)
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:146)
at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:144)
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:143)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:100)
at org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService$ExclusiveTask.exec(ForkJoinPoolHierarchicalTestExecutorService.java:274)
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)
"
|
testResetOnlyRecreateBuildPlansSuccess():
/home/runner/work/Artemis/Artemis/src/test/java/de/tum/cit/aet/artemis/programming/ProgrammingExerciseIntegrationJenkinsGitlabTest.java#L744
Junit test testResetOnlyRecreateBuildPlansSuccess() failed java.lang.AssertionError: Response status expected:<200> but was:<500>
|
shouldSetSubmissionDateForBuildCorrectlyIfOnlyOnePushIsReceived():
/home/runner/work/Artemis/Artemis/src/test/java/de/tum/cit/aet/artemis/programming/ProgrammingSubmissionAndResultGitlabJenkinsIntegrationTest.java#L250
Junit test shouldSetSubmissionDateForBuildCorrectlyIfOnlyOnePushIsReceived() failed java.lang.AssertionError: Response status expected:<200> but was:<500>
|
testNotifyPush_studentCommitUpdatesSubmissionCount():
/home/runner/work/Artemis/Artemis/src/test/java/de/tum/cit/aet/artemis/programming/ProgrammingSubmissionIntegrationTest.java#L522
Junit test testNotifyPush_studentCommitUpdatesSubmissionCount() failed java.lang.AssertionError: Response status expected:<200> but was:<500>
|
testRecreateBuildPlanDeletedFolder():
/home/runner/work/Artemis/Artemis/src/test/java/de/tum/cit/aet/artemis/programming/service/JenkinsServiceTest.java#L195
Junit test testRecreateBuildPlanDeletedFolder() failed java.lang.AssertionError: Further request(s) expected leaving 33 unsatisfied expectation(s).
22 request(s) executed:
GET https://continuous-integration.fake.fake/job/SHORT1D8D6D1F045750449C0A0310AF622ACC2117TSTEXC/api/json, headers: [Accept:"application/json, application/yaml, application/*+json", Content-Length:"0"]
GET https://continuous-integration.fake.fake/job/SHORT1D8D6D1F045750449C0A0310AF622ACC2117TSTEXC/config.xml, headers: [Accept:"text/plain, application/json, application/yaml, application/*+json, */*", Content-Length:"0"]
POST https://continuous-integration.fake.fake/job/SHORT1D8D6D1F045750449C0A0310AF622ACC2117TSTEXC/job/SHORT1D8D6D1F045750449C0A0310AF622ACC2117TSTEXC-BASE/doDelete, headers: [Accept:"application/json, application/yaml, application/*+json", Content-Length:"0"]
POST https://continuous-integration.fake.fake/job/SHORT1D8D6D1F045750449C0A0310AF622ACC2117TSTEXC/job/SHORT1D8D6D1F045750449C0A0310AF622ACC2117TSTEXC-SOLUTION/doDelete, headers: [Accept:"application/json, application/yaml, application/*+json", Content-Length:"0"]
GET https://continuous-integration.fake.fake/job/SHORT1D8D6D1F045750449C0A0310AF622ACC2117TSTEXC/api/json, headers: [Accept:"application/json, application/yaml, application/*+json", Content-Length:"0"]
GET https://continuous-integration.fake.fake/job/SHORT1D8D6D1F045750449C0A0310AF622ACC2117TSTEXC/job/SHORT1D8D6D1F045750449C0A0310AF622ACC2117TSTEXC-BASE/api/json, headers: [Accept:"application/json, application/yaml, application/*+json", Content-Length:"0"]
POST https://continuous-integration.fake.fake/job/SHORT1D8D6D1F045750449C0A0310AF622ACC2117TSTEXC/createItem?name=SHORT1D8D6D1F045750449C0A0310AF622ACC2117TSTEXC-BASE, headers: [Accept:"application/json, application/yaml, application/*+json", Content-Type:"application/xml", Content-Length:"3801"]
GET https://continuous-integration.fake.fake/job/SHORT1D8D6D1F045750449C0A0310AF622ACC2117TSTEXC/api/json, headers: [Accept:"application/json, application/yaml, application/*+json", Content-Length:"0"]
GET https://continuous-integration.fake.fake/job/SHORT1D8D6D1F045750449C0A0310AF622ACC2117TSTEXC/job/SHORT1D8D6D1F045750449C0A0310AF622ACC2117TSTEXC-BASE/config.xml, headers: [Accept:"text/plain, application/json, application/yaml, application/*+json, */*", Content-Length:"0"]
POST https://continuous-integration.fake.fake/job/SHORT1D8D6D1F045750449C0A0310AF622ACC2117TSTEXC/job/SHORT1D8D6D1F045750449C0A0310AF622ACC2117TSTEXC-BASE/config.xml, headers: [Accept:"text/plain, application/json, application/yaml, application/*+json, */*", Content-Type:"application/xml", Content-Length:"6604"]
GET https://continuous-integration.fake.fake/job/SHORT1D8D6D1F045750449C0A0310AF622ACC2117TSTEXC/api/json, headers: [Accept:"application/json, application/yaml, application/*+json", Content-Length:"0"]
POST https://continuous-integration.fake.fake/job/SHORT1D8D6D1F045750449C0A0310AF622ACC2117TSTEXC/job/SHORT1D8D6D1F045750449C0A0310AF622ACC2117TSTEXC-BASE/build, headers: [Accept:"application/json, application/yaml, application/*+json", Content-Length:"0"]
GET https://continuous-integration.fake.fake/job/SHORT1D8D6D1F045750449C0A0310AF622ACC2117TSTEXC/api/json, headers: [Accept:"application/json, application/yaml, application/*+json", Content-Length:"0"]
GET https://continuous-integration.fake.fake/job/SHORT1D8D6D1F045750449C0A0310AF622ACC2117TSTEXC/job/SHORT1D8D6D1F045750449C0A0310AF622ACC2117TSTEXC-SOLUTION/api/json, headers: [Accept:"application/json, application/yaml, application/*+json", Content-Length:"0"]
POST https://continuous-integration.fake.fake/job/SHORT1D8D6D1F045750449C0A0310AF622ACC2117TSTEXC/createItem?name=SHORT1D8D6D1F045750449C0A0310AF622ACC2117TSTEXC-SOLUTION, headers: [Accept:"application/json, application/yaml, application/*+json", Content-Type:"application/xml", Content-Length:"3801"]
GET https://continuous-integration.fake.fake/job/SHORT1D8D6D1F045750449C0A0310AF622ACC2117TSTEXC/api/json, headers: [Accept:"application/json, application/yaml, application/*+json", Content-Length:"0"]
GET https://continuous-integration.fake.fake/job/SHORT1D8D6D1F045750449C0A0310AF622ACC2117TSTEXC/job/SHORT1D8D6D1F045750449C0A0310AF622ACC2117TSTEXC-SOLUTION/config.xml, headers: [Accept:"text/plain, application/json, application/yaml, application/*+json, */*", Content-Length:"0"]
POST https://continuous-integration.fake.fake/job/SHORT1D8D6D1F045750449C0A0310AF622ACC2117TSTEXC/job/SHORT1D8D6D1F045750449C0A0310AF622ACC2117TSTEXC-SOLUTION/config.xml, headers: [Accept:"text/plain, application/json, application/yaml, application/*+json, */*", Content-Type:"application/xml", Content-Length:"6604"]
GET https://continuous-integration.fake.fake/job/SHORT1D8D6D1F045750449C0A0310AF622ACC2117TSTEXC/api/json, headers: [Accept:"application/json, application/yaml, application/*+json", Content-Length:"0"]
GET https://continuous-integration.fake.fake/job/SHORT1D8D6D1F045750449C0A0310AF622ACC2117TSTEXC/config.xml, headers: [Accept:"text/plain, application/json, application/yaml, application/*+json, */*", Content-Length:"0"]
POST https://continuous-integration.fake.fake/job/SHORT1D8D6D1F045750449C0A0310AF622ACC2117TSTEXC/config.xml, headers: [Accept:"application/json, application/yaml, application/*+json", Content-Type:"application/xml", Content-Length:"6862"]
POST https://continuous-integration.fake.fake/job/SHORT1D8D6D1F045750449C0A0310AF622ACC2117TSTEXC/job/SHORT1D8D6D1F045750449C0A0310AF622ACC2117TSTEXC-SOLUTION/build, headers: [Accept:"application/json, application/yaml, application/*+json", Content-Length:"0"]
|
testDeleteBuildPlan():
/home/runner/work/Artemis/Artemis/src/test/java/de/tum/cit/aet/artemis/programming/service/JenkinsServiceTest.java#L176
Junit test testDeleteBuildPlan() failed java.lang.AssertionError:
Expecting actual:
"Cannot create job SHORT1D4FE8B10B61F04EDB08877045BB54015F00TSTEXC-SOLUTION because the folder SHORT1D4FE8B10B61F04EDB08877045BB54015F00TSTEXC does not exist."
to start with:
"Cannot give assign permissions to plan"
|
testImportBuildPlansThrowsExceptionOnGivePermissions():
/home/runner/work/Artemis/Artemis/src/test/java/de/tum/cit/aet/artemis/programming/service/JenkinsServiceTest.java#L157
Junit test testImportBuildPlansThrowsExceptionOnGivePermissions() failed java.lang.AssertionError:
Expecting actual:
"Cannot create job SHORT6EB00A5008FAA04DD2081F5023819A40225ATSTEXC-SOLUTION because the folder SHORT6EB00A5008FAA04DD2081F5023819A40225ATSTEXC does not exist."
to start with:
"Cannot give assign permissions to plan"
|
de.tum.cit.aet.artemis.iris.PyrisEventSystemIntegrationTest ► testShouldNotFireProgressStalledEventWithIncreasingScores():
src/main/java/de/tum/cit/aet/artemis/iris/service/session/IrisExerciseChatSessionService.java#L211
Failed test found in:
build/test-results/test/TEST-de.tum.cit.aet.artemis.iris.PyrisEventSystemIntegrationTest.xml
Error:
org.mockito.exceptions.verification.NeverWantedButInvoked:
|
de.tum.cit.aet.artemis.programming.ProgrammingExerciseGitlabJenkinsIntegrationTest ► importProgrammingExercise_asPartOfExamImport():
src/test/java/de/tum/cit/aet/artemis/core/util/RequestUtilService.java#L351
Failed test found in:
build/test-results/test/TEST-de.tum.cit.aet.artemis.programming.ProgrammingExerciseGitlabJenkinsIntegrationTest.xml
Error:
java.lang.AssertionError: Response status expected:<201> but was:<500>
|
de.tum.cit.aet.artemis.programming.ProgrammingExerciseIntegrationJenkinsGitlabTest ► createProgrammingExercise_jenkinsJobIsNullOrUrlEmpty():
src/main/java/de/tum/cit/aet/artemis/programming/service/ProgrammingExerciseService.java#L988
Failed test found in:
build/test-results/test/TEST-de.tum.cit.aet.artemis.programming.ProgrammingExerciseIntegrationJenkinsGitlabTest.xml
Error:
java.lang.AssertionError:
|
de.tum.cit.aet.artemis.programming.ProgrammingExerciseIntegrationJenkinsGitlabTest ► testResetOnlyRecreateBuildPlansSuccess():
src/test/java/de/tum/cit/aet/artemis/core/util/RequestUtilService.java#L584
Failed test found in:
build/test-results/test/TEST-de.tum.cit.aet.artemis.programming.ProgrammingExerciseIntegrationJenkinsGitlabTest.xml
Error:
java.lang.AssertionError: Response status expected:<200> but was:<500>
|
de.tum.cit.aet.artemis.programming.ProgrammingSubmissionAndResultGitlabJenkinsIntegrationTest ► shouldSetSubmissionDateForBuildCorrectlyIfOnlyOnePushIsReceived():
src/test/java/de/tum/cit/aet/artemis/core/util/RequestUtilService.java#L213
Failed test found in:
build/test-results/test/TEST-de.tum.cit.aet.artemis.programming.ProgrammingSubmissionAndResultGitlabJenkinsIntegrationTest.xml
Error:
java.lang.AssertionError: Response status expected:<200> but was:<500>
|
de.tum.cit.aet.artemis.programming.ProgrammingSubmissionIntegrationTest ► testNotifyPush_studentCommitUpdatesSubmissionCount():
src/test/java/de/tum/cit/aet/artemis/core/util/RequestUtilService.java#L213
Failed test found in:
build/test-results/test/TEST-de.tum.cit.aet.artemis.programming.ProgrammingSubmissionIntegrationTest.xml
Error:
java.lang.AssertionError: Response status expected:<200> but was:<500>
|
de.tum.cit.aet.artemis.programming.service.JenkinsServiceTest ► testRecreateBuildPlanDeletedFolder():
src/test/java/de/tum/cit/aet/artemis/core/connector/JenkinsRequestMockProvider.java#L112
Failed test found in:
build/test-results/test/TEST-de.tum.cit.aet.artemis.programming.service.JenkinsServiceTest.xml
Error:
java.lang.AssertionError: Further request(s) expected leaving 33 unsatisfied expectation(s).
|
de.tum.cit.aet.artemis.programming.service.JenkinsServiceTest ► testDeleteBuildPlan():
src/test/java/de/tum/cit/aet/artemis/programming/service/JenkinsServiceTest.java#L190
Failed test found in:
build/test-results/test/TEST-de.tum.cit.aet.artemis.programming.service.JenkinsServiceTest.xml
Error:
java.lang.AssertionError:
|
de.tum.cit.aet.artemis.programming.service.JenkinsServiceTest ► testImportBuildPlansThrowsExceptionOnGivePermissions():
src/test/java/de/tum/cit/aet/artemis/programming/service/JenkinsServiceTest.java#L171
Failed test found in:
build/test-results/test/TEST-de.tum.cit.aet.artemis.programming.service.JenkinsServiceTest.xml
Error:
java.lang.AssertionError:
|
label
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|