Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Programming exercises: Add simple mode to create and edit view #9283

Merged
merged 202 commits into from
Oct 29, 2024

Merge branch 'develop' into feature/programming-exercises/add-simple-…

c60d848
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

Programming exercises: Add simple mode to create and edit view #9283

Merge branch 'develop' into feature/programming-exercises/add-simple-…
c60d848
Select commit
Loading
Failed to load commit list.
GitHub Actions / H2 Tests failed Oct 28, 2024 in 0s

8362 passed, 2 failed and 2 skipped

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

Annotations

Check failure on line 145 in src/main/java/de/tum/cit/aet/artemis/exam/service/ExamLiveEventsService.java

See this annotation in the file changed.

@github-actions github-actions / H2 Tests

de.tum.cit.aet.artemis.modeling.ModelingExerciseIntegrationTest ► testUpdateModelingExerciseForExam_asInstructor()

Failed test found in:
  build/test-results/test/TEST-de.tum.cit.aet.artemis.modeling.ModelingExerciseIntegrationTest.xml
Error:
  Wanted but not invoked:
Raw output
Wanted but not invoked:
examLiveEventsService.createAndSendProblemStatementUpdateEvent(
    ModelingExercise{id=1440, maxPoints='5.0', diagramType='ClassDiagram', exampleSolutionModel='This is my example solution model', exampleSolutionExplanation='This is my example solution model'},
    "notified!",
    <any>
);
-> at de.tum.cit.aet.artemis.exam.service.ExamLiveEventsService.createAndSendProblemStatementUpdateEvent(ExamLiveEventsService.java:145)
Actually, there were zero interactions with this mock.

	at app//de.tum.cit.aet.artemis.exam.service.ExamLiveEventsService.createAndSendProblemStatementUpdateEvent(ExamLiveEventsService.java:145)
	at app//de.tum.cit.aet.artemis.modeling.ModelingExerciseIntegrationTest.testUpdateModelingExerciseForExam_asInstructor(ModelingExerciseIntegrationTest.java:270)
	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 122 in src/test/java/de/tum/cit/aet/artemis/programming/util/LocalRepository.java

See this annotation in the file changed.

@github-actions github-actions / H2 Tests

de.tum.cit.aet.artemis.programming.icl.LocalVCSshIntegrationTest ► testUserTriesToDeleteBranch()

Failed test found in:
  build/test-results/test/TEST-de.tum.cit.aet.artemis.programming.icl.LocalVCSshIntegrationTest.xml
Error:
  org.apache.commons.io.IOExceptionList: 1 exception(s): [org.apache.commons.io.IOIndexedException: FileNotFoundException #6: File does not exist: /tmp/SHORTFDDC31BA0C4A204D360B43A048B3E8F76D2DTSTEXC/shortfddc31ba0c4a204d360b43a048b3e8f76d2dtstexc-localvcsshintstudent1.git/gc.log.lock]
Raw output
org.apache.commons.io.IOExceptionList: 1 exception(s): [org.apache.commons.io.IOIndexedException: FileNotFoundException #6: File does not exist: /tmp/SHORTFDDC31BA0C4A204D360B43A048B3E8F76D2DTSTEXC/shortfddc31ba0c4a204d360b43a048b3e8f76d2dtstexc-localvcsshintstudent1.git/gc.log.lock]
	at org.apache.commons.io.IOExceptionList.checkEmpty(IOExceptionList.java:50)
	at org.apache.commons.io.function.IOStream.forAll(IOStream.java:357)
	at org.apache.commons.io.function.IOStreams.forAll(IOStreams.java:42)
	at org.apache.commons.io.function.IOStreams.forAll(IOStreams.java:36)
	at org.apache.commons.io.function.IOConsumer.forAll(IOConsumer.java:80)
	at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:367)
	at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1242)
	at de.tum.cit.aet.artemis.programming.util.LocalRepository.resetLocalRepo(LocalRepository.java:122)
	at de.tum.cit.aet.artemis.programming.icl.LocalVCIntegrationTest.removeRepositories(LocalVCIntegrationTest.java:73)
	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)
Caused by: org.apache.commons.io.IOIndexedException: FileNotFoundException #6: File does not exist: /tmp/SHORTFDDC31BA0C4A204D360B43A048B3E8F76D2DTSTEXC/shortfddc31ba0c4a204d360b43a048b3e8f76d2dtstexc-localvcsshintstudent1.git/gc.log.lock
	at org.apache.commons.io.function.IOStream.lambda$forAll$11(IOStream.java:352)
	at java.base/java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:1024)
	at java.base/java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:762)
	at org.apache.commons.io.function.IOStream.forAll(IOStream.java:343)
	... 14 more
Caused by: java.io.FileNotFoundException: File does not exist: /tmp/SHORTFDDC31BA0C4A204D360B43A048B3E8F76D2DTSTEXC/shortfddc31ba0c4a204d360b43a048b3e8f76d2dtstexc-localvcsshintstudent1.git/gc.log.lock
	at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1396)
	at org.apache.commons.io.function.IOStream.lambda$forAll$11(IOStream.java:345)
	... 17 more