Skip to content

Adaptive learning: Improve competency student view #62425

Adaptive learning: Improve competency student view

Adaptive learning: Improve competency student view #62425

Triggered via pull request November 30, 2024 10:53
Status Success
Total duration 10s
Artifacts

pullrequest-labeler.yml

on: pull_request_target
Fit to window
Zoom out
Zoom in

Annotations

13 errors
test#L0
Junit Results ran 8494 in 1320.0059999999999 seconds 0 Errored, 9 Failed, 2 Skipped
shouldReturnCompetenciesForStudentOfCourseFiltered(): /home/runner/work/Artemis/Artemis/src/test/java/de/tum/cit/aet/artemis/atlas/competency/CourseCompetencyIntegrationTest.java#L162
Junit test shouldReturnCompetenciesForStudentOfCourseFiltered() failed java.lang.AssertionError: Expecting no elements of: [de.tum.cit.aet.artemis.atlas.domain.competency.Competency@8a, de.tum.cit.aet.artemis.atlas.domain.competency.Competency@8b] to match given predicate but this element did: de.tum.cit.aet.artemis.atlas.domain.competency.Competency@8a
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.atlas.competency.CourseCompetencyIntegrationTest ► shouldReturnCompetenciesForStudentOfCourseFiltered(): src/test/java/de/tum/cit/aet/artemis/atlas/competency/AbstractCompetencyPrerequisiteIntegrationTest.java#L239
Failed test found in: build/test-results/test/TEST-de.tum.cit.aet.artemis.atlas.competency.CourseCompetencyIntegrationTest.xml Error: java.lang.AssertionError:
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: