Skip to content

General: Migrate exam exercises module to signals, inject and standalone #62512

General: Migrate exam exercises module to signals, inject and standalone

General: Migrate exam exercises module to signals, inject and standalone #62512

Triggered via pull request December 2, 2024 19:44
@coolchockcoolchock
synchronize #9924
Status Success
Total duration 15s
Artifacts

pullrequest-labeler.yml

on: pull_request_target
Fit to window
Zoom out
Zoom in

Annotations

20 errors and 1 warning
test#L0
Junit Results ran 8493 in 1306.2879999999998 seconds 0 Errored, 9 Failed, 2 Skipped
startOneToOneChat_invalidNumberOfChatPartners_shouldReturnBadRequest(): /home/runner/work/Artemis/Artemis/src/test/java/de/tum/cit/aet/artemis/communication/OneToOneChatIntegrationTest.java#L91
Junit test startOneToOneChat_invalidNumberOfChatPartners_shouldReturnBadRequest() failed org.springframework.dao.DataIntegrityViolationException: could not execute batch [Referential integrity constraint violation: "FK_TUTORIAL_GROUP_CHANNEL: PUBLIC.TUTORIAL_GROUP FOREIGN KEY(TUTORIAL_GROUP_CHANNEL_ID) REFERENCES PUBLIC.CONVERSATION(ID) (CAST(1 AS BIGINT))"; SQL statement: delete from conversation where id=? [23503-224]] [delete from conversation where id=?]; SQL [delete from conversation where id=?]; constraint ["FK_TUTORIAL_GROUP_CHANNEL: PUBLIC.TUTORIAL_GROUP FOREIGN KEY(TUTORIAL_GROUP_CHANNEL_ID) REFERENCES PUBLIC.CONVERSATION(ID) (CAST(1 AS BIGINT))"; SQL statement: delete from conversation where id=? [23503-224]]
startOneToOneChat_asStudent1_shouldCreateMultipleOneToOneChats(): /home/runner/work/Artemis/Artemis/src/test/java/de/tum/cit/aet/artemis/communication/OneToOneChatIntegrationTest.java#L52
Junit test startOneToOneChat_asStudent1_shouldCreateMultipleOneToOneChats() failed org.springframework.dao.DataIntegrityViolationException: could not execute batch [Referential integrity constraint violation: "FK_TUTORIAL_GROUP_CHANNEL: PUBLIC.TUTORIAL_GROUP FOREIGN KEY(TUTORIAL_GROUP_CHANNEL_ID) REFERENCES PUBLIC.CONVERSATION(ID) (CAST(1 AS BIGINT))"; SQL statement: delete from conversation where id=? [23503-224]] [delete from conversation where id=?]; SQL [delete from conversation where id=?]; constraint ["FK_TUTORIAL_GROUP_CHANNEL: PUBLIC.TUTORIAL_GROUP FOREIGN KEY(TUTORIAL_GROUP_CHANNEL_ID) REFERENCES PUBLIC.CONVERSATION(ID) (CAST(1 AS BIGINT))"; SQL statement: delete from conversation where id=? [23503-224]]
startOneToOneChat_asStudent2WithStudent1_shouldUseExistingOneToOneChat(): /home/runner/work/Artemis/Artemis/src/test/java/de/tum/cit/aet/artemis/communication/OneToOneChatIntegrationTest.java#L70
Junit test startOneToOneChat_asStudent2WithStudent1_shouldUseExistingOneToOneChat() failed org.springframework.dao.DataIntegrityViolationException: could not execute batch [Referential integrity constraint violation: "FK_TUTORIAL_GROUP_CHANNEL: PUBLIC.TUTORIAL_GROUP FOREIGN KEY(TUTORIAL_GROUP_CHANNEL_ID) REFERENCES PUBLIC.CONVERSATION(ID) (CAST(1 AS BIGINT))"; SQL statement: delete from conversation where id=? [23503-224]] [delete from conversation where id=?]; SQL [delete from conversation where id=?]; constraint ["FK_TUTORIAL_GROUP_CHANNEL: PUBLIC.TUTORIAL_GROUP FOREIGN KEY(TUTORIAL_GROUP_CHANNEL_ID) REFERENCES PUBLIC.CONVERSATION(ID) (CAST(1 AS BIGINT))"; SQL statement: delete from conversation where id=? [23503-224]]
startOneToOneChat_chatAlreadyExists_shouldReturnExistingChat(): /home/runner/work/Artemis/Artemis/src/test/java/de/tum/cit/aet/artemis/communication/OneToOneChatIntegrationTest.java#L129
Junit test startOneToOneChat_chatAlreadyExists_shouldReturnExistingChat() failed org.springframework.dao.DataIntegrityViolationException: could not execute batch [Referential integrity constraint violation: "FK_TUTORIAL_GROUP_CHANNEL: PUBLIC.TUTORIAL_GROUP FOREIGN KEY(TUTORIAL_GROUP_CHANNEL_ID) REFERENCES PUBLIC.CONVERSATION(ID) (CAST(1 AS BIGINT))"; SQL statement: delete from conversation where id=? [23503-224]] [delete from conversation where id=?]; SQL [delete from conversation where id=?]; constraint ["FK_TUTORIAL_GROUP_CHANNEL: PUBLIC.TUTORIAL_GROUP FOREIGN KEY(TUTORIAL_GROUP_CHANNEL_ID) REFERENCES PUBLIC.CONVERSATION(ID) (CAST(1 AS BIGINT))"; SQL statement: delete from conversation where id=? [23503-224]]
[1] courseInformationSharingConfiguration=DISABLED: /home/runner/work/Artemis/Artemis/src/test/java/de/tum/cit/aet/artemis/communication/OneToOneChatIntegrationTest.java#L0
Junit test [1] courseInformationSharingConfiguration=DISABLED failed org.springframework.dao.DataIntegrityViolationException: could not execute batch [Referential integrity constraint violation: "FK_TUTORIAL_GROUP_CHANNEL: PUBLIC.TUTORIAL_GROUP FOREIGN KEY(TUTORIAL_GROUP_CHANNEL_ID) REFERENCES PUBLIC.CONVERSATION(ID) (CAST(1 AS BIGINT))"; SQL statement: delete from conversation where id=? [23503-224]] [delete from conversation where id=?]; SQL [delete from conversation where id=?]; constraint ["FK_TUTORIAL_GROUP_CHANNEL: PUBLIC.TUTORIAL_GROUP FOREIGN KEY(TUTORIAL_GROUP_CHANNEL_ID) REFERENCES PUBLIC.CONVERSATION(ID) (CAST(1 AS BIGINT))"; SQL statement: delete from conversation where id=? [23503-224]]
[2] courseInformationSharingConfiguration=COMMUNICATION_ONLY: /home/runner/work/Artemis/Artemis/src/test/java/de/tum/cit/aet/artemis/communication/OneToOneChatIntegrationTest.java#L0
Junit test [2] courseInformationSharingConfiguration=COMMUNICATION_ONLY failed org.springframework.dao.DataIntegrityViolationException: could not execute batch [Referential integrity constraint violation: "FK_TUTORIAL_GROUP_CHANNEL: PUBLIC.TUTORIAL_GROUP FOREIGN KEY(TUTORIAL_GROUP_CHANNEL_ID) REFERENCES PUBLIC.CONVERSATION(ID) (CAST(1 AS BIGINT))"; SQL statement: delete from conversation where id=? [23503-224]] [delete from conversation where id=?]; SQL [delete from conversation where id=?]; constraint ["FK_TUTORIAL_GROUP_CHANNEL: PUBLIC.TUTORIAL_GROUP FOREIGN KEY(TUTORIAL_GROUP_CHANNEL_ID) REFERENCES PUBLIC.CONVERSATION(ID) (CAST(1 AS BIGINT))"; SQL statement: delete from conversation where id=? [23503-224]]
postInOneToOneChat_firstPost_chatPartnerShouldBeNotifiedAboutNewConversation(): /home/runner/work/Artemis/Artemis/src/test/java/de/tum/cit/aet/artemis/communication/OneToOneChatIntegrationTest.java#L148
Junit test postInOneToOneChat_firstPost_chatPartnerShouldBeNotifiedAboutNewConversation() failed org.springframework.dao.DataIntegrityViolationException: could not execute batch [Referential integrity constraint violation: "FK_TUTORIAL_GROUP_CHANNEL: PUBLIC.TUTORIAL_GROUP FOREIGN KEY(TUTORIAL_GROUP_CHANNEL_ID) REFERENCES PUBLIC.CONVERSATION(ID) (CAST(1 AS BIGINT))"; SQL statement: delete from conversation where id=? [23503-224]] [delete from conversation where id=?]; SQL [delete from conversation where id=?]; constraint ["FK_TUTORIAL_GROUP_CHANNEL: PUBLIC.TUTORIAL_GROUP FOREIGN KEY(TUTORIAL_GROUP_CHANNEL_ID) REFERENCES PUBLIC.CONVERSATION(ID) (CAST(1 AS BIGINT))"; SQL statement: delete from conversation where id=? [23503-224]]
startOneToOneChat_notAllowedAsNotStudentInCourse_shouldReturnBadRequest(): /home/runner/work/Artemis/Artemis/src/test/java/de/tum/cit/aet/artemis/communication/OneToOneChatIntegrationTest.java#L122
Junit test startOneToOneChat_notAllowedAsNotStudentInCourse_shouldReturnBadRequest() failed org.springframework.dao.DataIntegrityViolationException: could not execute batch [Referential integrity constraint violation: "FK_TUTORIAL_GROUP_CHANNEL: PUBLIC.TUTORIAL_GROUP FOREIGN KEY(TUTORIAL_GROUP_CHANNEL_ID) REFERENCES PUBLIC.CONVERSATION(ID) (CAST(1 AS BIGINT))"; SQL statement: delete from conversation where id=? [23503-224]] [delete from conversation where id=?]; SQL [delete from conversation where id=?]; constraint ["FK_TUTORIAL_GROUP_CHANNEL: PUBLIC.TUTORIAL_GROUP FOREIGN KEY(TUTORIAL_GROUP_CHANNEL_ID) REFERENCES PUBLIC.CONVERSATION(ID) (CAST(1 AS BIGINT))"; SQL statement: delete from conversation where id=? [23503-224]]
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.
de.tum.cit.aet.artemis.communication.OneToOneChatIntegrationTest ► startOneToOneChat_invalidNumberOfChatPartners_shouldReturnBadRequest(): src/test/java/de/tum/cit/aet/artemis/communication/OneToOneChatIntegrationTest.java#L42
Failed test found in: build/test-results/test/TEST-de.tum.cit.aet.artemis.communication.OneToOneChatIntegrationTest.xml build/test-results/test/TEST-de.tum.cit.aet.artemis.communication.OneToOneChatIntegrationTest.xml build/test-results/test/TEST-de.tum.cit.aet.artemis.communication.OneToOneChatIntegrationTest.xml build/test-results/test/TEST-de.tum.cit.aet.artemis.communication.OneToOneChatIntegrationTest.xml build/test-results/test/TEST-de.tum.cit.aet.artemis.communication.OneToOneChatIntegrationTest.xml build/test-results/test/TEST-de.tum.cit.aet.artemis.communication.OneToOneChatIntegrationTest.xml Error: org.springframework.dao.DataIntegrityViolationException: could not execute batch [Referential integrity constraint violation: "FK_TUTORIAL_GROUP_CHANNEL: PUBLIC.TUTORIAL_GROUP FOREIGN KEY(TUTORIAL_GROUP_CHANNEL_ID) REFERENCES PUBLIC.CONVERSATION(ID) (CAST(1 AS BIGINT))"; SQL statement:
de.tum.cit.aet.artemis.communication.OneToOneChatIntegrationTest ► [1] courseInformationSharingConfiguration=DISABLED: src/test/java/de/tum/cit/aet/artemis/communication/OneToOneChatIntegrationTest.java#L42
Failed test found in: build/test-results/test/TEST-de.tum.cit.aet.artemis.communication.OneToOneChatIntegrationTest.xml build/test-results/test/TEST-de.tum.cit.aet.artemis.communication.OneToOneChatIntegrationTest.xml Error: org.springframework.dao.DataIntegrityViolationException: could not execute batch [Referential integrity constraint violation: "FK_TUTORIAL_GROUP_CHANNEL: PUBLIC.TUTORIAL_GROUP FOREIGN KEY(TUTORIAL_GROUP_CHANNEL_ID) REFERENCES PUBLIC.CONVERSATION(ID) (CAST(1 AS BIGINT))"; SQL statement:
de.tum.cit.aet.artemis.programming.ProgrammingExerciseGitlabJenkinsIntegrationTest ► resumeProgrammingExerciseByTriggeringInstructorBuild_correctInitializationState(ExerciseMode) [1] exerciseMode=INDIVIDUAL: src/test/java/de/tum/cit/aet/artemis/programming/util/ProgrammingExerciseTestService.java#L1483
Failed test found in: build/test-results/test/TEST-de.tum.cit.aet.artemis.programming.ProgrammingExerciseGitlabJenkinsIntegrationTest.xml Error: org.awaitility.core.ConditionTimeoutException: Condition with Lambda expression in de.tum.cit.aet.artemis.programming.util.ProgrammingExerciseTestService was not fulfilled within 20 seconds.
test#L0
Junit Results ran 8586 in 1304.987000000001 seconds 0 Errored, 3 Failed, 1 Skipped
testDecreaseUnreadMessageCountWhenDeletingMessage(): /home/runner/work/Artemis/Artemis/src/test/java/de/tum/cit/aet/artemis/communication/MessageIntegrationTest.java#L695
Junit test testDecreaseUnreadMessageCountWhenDeletingMessage() failed org.opentest4j.AssertionFailedError: expected: 0L but was: 1L
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.
testUserCreatesNewBranch(): /home/runner/work/Artemis/Artemis/src/test/java/de/tum/cit/aet/artemis/programming/icl/LocalVCIntegrationTest.java#L312
Junit test testUserCreatesNewBranch() failed org.apache.commons.io.IOExceptionList: 1 exception(s): [org.apache.commons.io.IOIndexedException: FileNotFoundException #2: File does not exist: /tmp/SHORTE5C7887A077F0044630B7FD06BFCE2AAA1C7TSTEXC/shorte5c7887a077f0044630b7fd06bfce2aaa1c7tstexc-localvcintstudent1.git/gc.log.lock]
de.tum.cit.aet.artemis.communication.MessageIntegrationTest ► testDecreaseUnreadMessageCountWhenDeletingMessage(): src/test/java/de/tum/cit/aet/artemis/communication/MessageIntegrationTest.java#L725
Failed test found in: build/test-results/test/TEST-de.tum.cit.aet.artemis.communication.MessageIntegrationTest.xml Error: org.opentest4j.AssertionFailedError:
de.tum.cit.aet.artemis.programming.icl.LocalVCIntegrationTest ► testUserCreatesNewBranch(): src/test/java/de/tum/cit/aet/artemis/programming/util/LocalRepository.java#L122
Failed test found in: build/test-results/test/TEST-de.tum.cit.aet.artemis.programming.icl.LocalVCIntegrationTest.xml Error: org.apache.commons.io.IOExceptionList: 1 exception(s): [org.apache.commons.io.IOIndexedException: FileNotFoundException #2: File does not exist: /tmp/SHORTE5C7887A077F0044630B7FD06BFCE2AAA1C7TSTEXC/shorte5c7887a077f0044630b7fd06bfce2aaa1c7tstexc-localvcintstudent1.git/gc.log.lock]
de.tum.cit.aet.artemis.programming.ProgrammingExerciseGitlabJenkinsIntegrationTest ► resumeProgrammingExerciseByTriggeringInstructorBuild_correctInitializationState(ExerciseMode) [1] exerciseMode=INDIVIDUAL: src/test/java/de/tum/cit/aet/artemis/programming/util/ProgrammingExerciseTestService.java#L1484
Failed test found in: build/test-results/test/TEST-de.tum.cit.aet.artemis.programming.ProgrammingExerciseGitlabJenkinsIntegrationTest.xml Error: org.awaitility.core.ConditionTimeoutException: Condition with Lambda expression in de.tum.cit.aet.artemis.programming.util.ProgrammingExerciseTestService was not fulfilled within 20 seconds.
label
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636