Skip to content

Team exercises: Fix synchronization for empty submissions (#10183) #58310

Team exercises: Fix synchronization for empty submissions (#10183)

Team exercises: Fix synchronization for empty submissions (#10183) #58310

Triggered via push January 26, 2025 10:27
Status Failure
Total duration 18m 12s
Artifacts 1

test.yml

on: push
server-tests-mysql
0s
server-tests-mysql
server-tests-postgres
0s
server-tests-postgres
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 7 warnings
test#L0
Junit Results ran 8364 in 1260.7280000000007 seconds 0 Errored, 3 Failed, 0 Skipped
testAddCompetenciesToLearningPaths(): /home/runner/work/Artemis/Artemis/src/test/java/de/tum/cit/aet/artemis/atlas/learningpath/LearningPathIntegrationTest.java#L325
Junit test testAddCompetenciesToLearningPaths() failed org.springframework.dao.DataIntegrityViolationException: could not execute batch [Referential integrity constraint violation: "FK_COURSE_LEARNER_PROFILE_LEARNER_PROFILE: PUBLIC.COURSE_LEARNER_PROFILE FOREIGN KEY(LEARNER_PROFILE_ID) REFERENCES PUBLIC.LEARNER_PROFILE(ID) (CAST(112 AS BIGINT))"; SQL statement: delete from learner_profile where id=? [23503-224]] [delete from learner_profile where id=?]; SQL [delete from learner_profile where id=?]; constraint ["FK_COURSE_LEARNER_PROFILE_LEARNER_PROFILE: PUBLIC.COURSE_LEARNER_PROFILE FOREIGN KEY(LEARNER_PROFILE_ID) REFERENCES PUBLIC.LEARNER_PROFILE(ID) (CAST(112 AS BIGINT))"; SQL statement: delete from learner_profile where id=? [23503-224]]
testGetLearningPathNavigationEmptyCompetencies(): /home/runner/work/Artemis/Artemis/src/test/java/de/tum/cit/aet/artemis/atlas/learningpath/LearningPathIntegrationTest.java#L550
Junit test testGetLearningPathNavigationEmptyCompetencies() failed org.springframework.dao.DataIntegrityViolationException: could not execute batch [Referential integrity constraint violation: "FK_COURSE_LEARNER_PROFILE_LEARNER_PROFILE: PUBLIC.COURSE_LEARNER_PROFILE FOREIGN KEY(LEARNER_PROFILE_ID) REFERENCES PUBLIC.LEARNER_PROFILE(ID) (CAST(162 AS BIGINT))"; SQL statement: delete from learner_profile where id=? [23503-224]] [delete from learner_profile where id=?]; SQL [delete from learner_profile where id=?]; constraint ["FK_COURSE_LEARNER_PROFILE_LEARNER_PROFILE: PUBLIC.COURSE_LEARNER_PROFILE FOREIGN KEY(LEARNER_PROFILE_ID) REFERENCES PUBLIC.LEARNER_PROFILE(ID) (CAST(162 AS BIGINT))"; SQL statement: delete from learner_profile where id=? [23503-224]]
testShouldNotFireProgressStalledEventWithIncreasingScores(): /home/runner/work/Artemis/Artemis/src/test/java/de/tum/cit/aet/artemis/iris/PyrisEventSystemIntegrationTest.java#L308
Junit test testShouldNotFireProgressStalledEventWithIncreasingScores() failed org.mockito.exceptions.verification.NeverWantedButInvoked: irisExerciseChatSessionService.onNewResult( <any de.tum.cit.aet.artemis.assessment.domain.Result> ); Never wanted here: -> at de.tum.cit.aet.artemis.iris.service.session.IrisExerciseChatSessionService.onNewResult(IrisExerciseChatSessionService.java:221) But invoked here: -> at de.tum.cit.aet.artemis.iris.service.pyris.event.NewResultEvent.handleEvent(NewResultEvent.java:30) with arguments: [Result{id161, completionDate=2025-01-26T10:35:24.204045080Z[Etc/UTC], successful=false, score=40.0, rated=true, assessmentType=AUTOMATIC, hasComplaint=null, testCaseCount=0, passedTestCaseCount=0, codeIssueCount=0}]
de.tum.cit.aet.artemis.atlas.learningpath.LearningPathIntegrationTest ► testAddCompetenciesToLearningPaths(): src/test/java/de/tum/cit/aet/artemis/core/user/util/UserUtilService.java#L363
Failed test found in: build/test-results/test/TEST-de.tum.cit.aet.artemis.atlas.learningpath.LearningPathIntegrationTest.xml Error: org.springframework.dao.DataIntegrityViolationException: could not execute batch [Referential integrity constraint violation: "FK_COURSE_LEARNER_PROFILE_LEARNER_PROFILE: PUBLIC.COURSE_LEARNER_PROFILE FOREIGN KEY(LEARNER_PROFILE_ID) REFERENCES PUBLIC.LEARNER_PROFILE(ID) (CAST(112 AS BIGINT))"; SQL statement:
de.tum.cit.aet.artemis.atlas.learningpath.LearningPathIntegrationTest ► testGetLearningPathNavigationEmptyCompetencies(): src/test/java/de/tum/cit/aet/artemis/core/user/util/UserUtilService.java#L363
Failed test found in: build/test-results/test/TEST-de.tum.cit.aet.artemis.atlas.learningpath.LearningPathIntegrationTest.xml Error: org.springframework.dao.DataIntegrityViolationException: could not execute batch [Referential integrity constraint violation: "FK_COURSE_LEARNER_PROFILE_LEARNER_PROFILE: PUBLIC.COURSE_LEARNER_PROFILE FOREIGN KEY(LEARNER_PROFILE_ID) REFERENCES PUBLIC.LEARNER_PROFILE(ID) (CAST(162 AS BIGINT))"; SQL statement:
de.tum.cit.aet.artemis.iris.PyrisEventSystemIntegrationTest ► testShouldNotFireProgressStalledEventWithIncreasingScores(): src/main/java/de/tum/cit/aet/artemis/iris/service/session/IrisExerciseChatSessionService.java#L221
Failed test found in: build/test-results/test/TEST-de.tum.cit.aet.artemis.iris.PyrisEventSystemIntegrationTest.xml Error: org.mockito.exceptions.verification.NeverWantedButInvoked:
server-tests
Process completed with exit code 1.
server-tests
Process completed with exit code 1.
server-tests
Process completed with exit code 1.
server-tests
Failed test were found and 'fail-on-error' option is set to true
client-compilation
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
client-tests-selected
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
client-style
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
server-style
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
server-tests
No files were found with the provided path: build/reports/jacoco/test/html. No artifacts will be uploaded.
server-tests
Test report summary exceeded limit of 65535 bytes and will be trimmed
client-tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636

Artifacts

Produced during runtime
Name Size
Coverage Report Client Tests
6.32 MB