Skip to content

Lectures: Improve lecture attachment validation #62281

Lectures: Improve lecture attachment validation

Lectures: Improve lecture attachment validation #62281

Triggered via pull request November 28, 2024 04:41
@florian-glombikflorian-glombik
synchronize #9893
Status Success
Total duration 16s
Artifacts

pullrequest-labeler.yml

on: pull_request_target
Fit to window
Zoom out
Zoom in

Annotations

19 errors
test#L0
Junit Results ran 8461 in 1280.5859999999984 seconds 0 Errored, 12 Failed, 2 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
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]]
testFetchPush_auxiliaryRepository(): /home/runner/work/Artemis/Artemis/src/test/java/de/tum/cit/aet/artemis/programming/icl/LocalVCLocalCIIntegrationTest.java#L282
Junit test testFetchPush_auxiliaryRepository() failed org.thymeleaf.exceptions.TemplateProcessingException: Exception evaluating SpringEL expression: "reason.getMessage()" (template: "mail/dataExportFailedAdminEmail" - line 16, col 8)
testFetchPush_testsRepository(): /home/runner/work/Artemis/Artemis/src/test/java/de/tum/cit/aet/artemis/programming/icl/LocalVCLocalCIIntegrationTest.java#L169
Junit test testFetchPush_testsRepository() failed org.opentest4j.AssertionFailedError: expected: 13 but was: 0
testPushDockerImageCleanupInfo(): /home/runner/work/Artemis/Artemis/src/test/java/de/tum/cit/aet/artemis/programming/icl/SharedQueueManagementServiceTest.java#L17
Junit test testPushDockerImageCleanupInfo() failed org.opentest4j.AssertionFailedError: expected: 3 but was: 4
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.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.icl.LocalVCLocalCIIntegrationTest ► testFetchPush_auxiliaryRepository(): src/main/java/de/tum/cit/aet/artemis/communication/service/notifications/MailService.java#L152
Failed test found in: build/test-results/test/TEST-de.tum.cit.aet.artemis.programming.icl.LocalVCLocalCIIntegrationTest.xml Error: org.thymeleaf.exceptions.TemplateProcessingException: Exception evaluating SpringEL expression: "reason.getMessage()" (template: "mail/dataExportFailedAdminEmail" - line 16, col 8)
de.tum.cit.aet.artemis.programming.icl.LocalVCLocalCIIntegrationTest ► testFetchPush_testsRepository(): src/test/java/de/tum/cit/aet/artemis/programming/icl/LocalVCLocalCITestService.java#L609
Failed test found in: build/test-results/test/TEST-de.tum.cit.aet.artemis.programming.icl.LocalVCLocalCIIntegrationTest.xml Error: org.opentest4j.AssertionFailedError:
de.tum.cit.aet.artemis.programming.icl.SharedQueueManagementServiceTest ► testPushDockerImageCleanupInfo(): src/test/java/de/tum/cit/aet/artemis/programming/icl/SharedQueueManagementServiceTest.java#L42
Failed test found in: build/test-results/test/TEST-de.tum.cit.aet.artemis.programming.icl.SharedQueueManagementServiceTest.xml Error: org.opentest4j.AssertionFailedError: