Skip to content

Merge branch 'develop' into feature/communication/add-new-ios-api-to-… #2013

Merge branch 'develop' into feature/communication/add-new-ios-api-to-…

Merge branch 'develop' into feature/communication/add-new-ios-api-to-… #2013

Triggered via push December 2, 2024 19:07
Status Success
Total duration 19s
Artifacts
Check if translation keys are consistent
10s
Check if translation keys are consistent
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 1 warning
test#L0
Junit Results ran 8495 in 1252.4439999999986 seconds 0 Errored, 8 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]]
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:
Check if translation keys are consistent
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636