Skip to content

Programming exercises: Concatenate testsuite names with testcase names in LocalCI #6235

Programming exercises: Concatenate testsuite names with testcase names in LocalCI

Programming exercises: Concatenate testsuite names with testcase names in LocalCI #6235

Triggered via pull request November 6, 2024 19:43
@magauppmagaupp
opened #9691
Status Success
Total duration 11s
Artifacts

pullrequest-opened.yml

on: pull_request_target
Fit to window
Zoom out
Zoom in

Annotations

24 errors, 1 warning, and 1 notice
test#L0
Junit Results ran 8349 in 1086.225 seconds 0 Errored, 1 Failed, 2 Skipped
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.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 8349 in 1132.3729999999991 seconds 0 Errored, 1 Failed, 2 Skipped
testDeleteTextExerciseWithCompetency(): /home/runner/work/Artemis/Artemis/src/test/java/de/tum/cit/aet/artemis/text/TextExerciseIntegrationTest.java#L197
Junit test testDeleteTextExerciseWithCompetency() failed Wanted but not invoked: competencyProgressService.updateProgressByCompetencyAsync( de.tum.cit.aet.artemis.atlas.domain.competency.Competency@28e ); -> at de.tum.cit.aet.artemis.atlas.service.competency.CompetencyProgressService.updateProgressByCompetencyAsync(CompetencyProgressService.java:124) Actually, there were zero interactions with this mock.
de.tum.cit.aet.artemis.text.TextExerciseIntegrationTest ► testDeleteTextExerciseWithCompetency(): src/main/java/de/tum/cit/aet/artemis/atlas/service/competency/CompetencyProgressService.java#L124
Failed test found in: build/test-results/test/TEST-de.tum.cit.aet.artemis.text.TextExerciseIntegrationTest.xml Error: Wanted but not invoked:
de.tum.cit.aet.artemis.atlas.competency.CourseCompetencyIntegrationTest$GetCompetencyStudentProgress ► getCompetencyStudentProgressShouldReturnProgress(): src/test/java/de/tum/cit/aet/artemis/core/util/RequestUtilService.java#L654
Failed test found in: build/test-results/test/TEST-de.tum.cit.aet.artemis.atlas.competency.CourseCompetencyIntegrationTest$GetCompetencyStudentProgress.xml Error: java.lang.AssertionError: Response status expected:<200> but was:<500>
de.tum.cit.aet.artemis.atlas.competency.CourseCompetencyIntegrationTest$GetCompetencyStudentProgress ► getCompetencyStudentProgressMultipleExercises(): src/test/java/de/tum/cit/aet/artemis/core/util/RequestUtilService.java#L654
Failed test found in: build/test-results/test/TEST-de.tum.cit.aet.artemis.atlas.competency.CourseCompetencyIntegrationTest$GetCompetencyStudentProgress.xml Error: java.lang.AssertionError: Response status expected:<200> but was:<500>
de.tum.cit.aet.artemis.atlas.learningpath.LearningPathIntegrationTest ► testGetLearningPathNavigation(): src/main/java/de/tum/cit/aet/artemis/atlas/service/competency/CompetencyProgressService.java#L211
Failed test found in: build/test-results/test/TEST-de.tum.cit.aet.artemis.atlas.learningpath.LearningPathIntegrationTest.xml Error: org.springframework.dao.InvalidDataAccessResourceUsageException: JDBC exception executing SQL [select e1_0.id,e1_0.max_points,e1_0.difficulty,case when e1_0.discriminator='P' then 1 else 0 end,el1_0.link_weight,coalesce(ss1_0.last_score,ts1_0.last_score),coalesce(ss1_0.last_points,ts1_0.last_points),coalesce(ss1_0.last_modified_date,ts1_0.last_modified_date),count(s3_0.id) from competency cc1_0 left join competency_exercise el1_0 on cc1_0.id=el1_0.competency_id left join exercise e1_0 on e1_0.id=el1_0.exercise_id left join ((select * from participation t where t.discriminator in ('PESP', 'SP')) sp1_0 join team t1_0 on t1_0.id=sp1_0.team_id) on e1_0.id=sp1_0.exercise_id and (sp1_0.student_id=? or ? in (select s2_0.student_id from team_student s2_0 where t1_0.id=s2_0.team_id)) left join submission s3_0 on sp1_0.id=s3_0.participation_id left join (select * from participant_score t where t.discriminator='SS') ss1_0 on ss1_0.exercise_id=e1_0.id and ss1_0.user_id=? left join ((select * from participant_score t where t.discriminator='TS') ts1_0 join team t2_0 on t2_0.id=ts1_0.team_id) on ts1_0.exercise_id=e1_0.id and ? in (select s4_0.student_id from team_student s4_0 where t2_0.id=s4_0.team_id) where cc1_0.id=? and el1_0.exercise_id is not null group by e1_0.id,e1_0.max_points,e1_0.difficulty,e1_0.discriminator,ss1_0.last_score,ts1_0.last_score,ss1_0.last_points,ts1_0.last_points,ss1_0.last_modified_date,ts1_0.last_modified_date] [Expression #5 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'test.el1_0.link_weight' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by] [n/a]; SQL [n/a]
de.tum.cit.aet.artemis.atlas.learningpath.LearningPathIntegrationTest ► testGetCompetencyProgressForLearningPathByOwner(): src/test/java/de/tum/cit/aet/artemis/core/util/RequestUtilService.java#L654
Failed test found in: build/test-results/test/TEST-de.tum.cit.aet.artemis.atlas.learningpath.LearningPathIntegrationTest.xml Error: java.lang.AssertionError: Response status expected:<200> but was:<500>
de.tum.cit.aet.artemis.atlas.learningpath.LearningPathIntegrationTest ► testGetCompetencyProgressForLearningPathByInstructor(): src/test/java/de/tum/cit/aet/artemis/core/util/RequestUtilService.java#L654
Failed test found in: build/test-results/test/TEST-de.tum.cit.aet.artemis.atlas.learningpath.LearningPathIntegrationTest.xml Error: java.lang.AssertionError: Response status expected:<200> but was:<500>
de.tum.cit.aet.artemis.atlas.learningpath.LearningPathIntegrationTest ► testGetLearningPathCompetencyGraph(): src/main/java/de/tum/cit/aet/artemis/atlas/service/competency/CompetencyProgressService.java#L211
Failed test found in: build/test-results/test/TEST-de.tum.cit.aet.artemis.atlas.learningpath.LearningPathIntegrationTest.xml Error: org.springframework.dao.InvalidDataAccessResourceUsageException: JDBC exception executing SQL [select e1_0.id,e1_0.max_points,e1_0.difficulty,case when e1_0.discriminator='P' then 1 else 0 end,el1_0.link_weight,coalesce(ss1_0.last_score,ts1_0.last_score),coalesce(ss1_0.last_points,ts1_0.last_points),coalesce(ss1_0.last_modified_date,ts1_0.last_modified_date),count(s3_0.id) from competency cc1_0 left join competency_exercise el1_0 on cc1_0.id=el1_0.competency_id left join exercise e1_0 on e1_0.id=el1_0.exercise_id left join ((select * from participation t where t.discriminator in ('PESP', 'SP')) sp1_0 join team t1_0 on t1_0.id=sp1_0.team_id) on e1_0.id=sp1_0.exercise_id and (sp1_0.student_id=? or ? in (select s2_0.student_id from team_student s2_0 where t1_0.id=s2_0.team_id)) left join submission s3_0 on sp1_0.id=s3_0.participation_id left join (select * from participant_score t where t.discriminator='SS') ss1_0 on ss1_0.exercise_id=e1_0.id and ss1_0.user_id=? left join ((select * from participant_score t where t.discriminator='TS') ts1_0 join team t2_0 on t2_0.id=ts1_0.team_id) on ts1_0.exercise_id=e1_0.id and ? in (select s4_0.student_id from team_student s4_0 where t2_0.id=s4_0.team_id) where cc1_0.id=? and el1_0.exercise_id is not null group by e1_0.id,e1_0.max_points,e1_0.difficulty,e1_0.discriminator,ss1_0.last_score,ts1_0.last_score,ss1_0.last_points,ts1_0.last_points,ss1_0.last_modified_date,ts1_0.last_modified_date] [Expression #5 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'test.el1_0.link_weight' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by] [n/a]; SQL [n/a]
de.tum.cit.aet.artemis.core.service.DataExportCreationServiceTest ► testDataExportCreationSuccess_containsCorrectCourseContent(): src/test/java/de/tum/cit/aet/artemis/core/service/DataExportCreationServiceTest.java#L255
Failed test found in: build/test-results/test/TEST-de.tum.cit.aet.artemis.core.service.DataExportCreationServiceTest.xml Error: java.lang.AssertionError:
de.tum.cit.aet.artemis.iris.IrisChatTokenTrackingIntegrationTest ► testTokenTrackingHandledExerciseChat(): src/test/java/de/tum/cit/aet/artemis/iris/IrisChatTokenTrackingIntegrationTest.java#L150
Failed test found in: build/test-results/test/TEST-de.tum.cit.aet.artemis.iris.IrisChatTokenTrackingIntegrationTest.xml Error: org.opentest4j.AssertionFailedError:
de.tum.cit.aet.artemis.iris.IrisChatTokenTrackingIntegrationTest ► testTokenTrackingExerciseChatWithPipelineFail(): src/test/java/de/tum/cit/aet/artemis/iris/IrisChatTokenTrackingIntegrationTest.java#L201
Failed test found in: build/test-results/test/TEST-de.tum.cit.aet.artemis.iris.IrisChatTokenTrackingIntegrationTest.xml Error: org.opentest4j.AssertionFailedError:
de.tum.cit.aet.artemis.quiz.QuizExerciseIntegrationTest ► testDeleteQuizExerciseWithSubmittedAnswers(QuizMode) [1] quizMode=SYNCHRONIZED: src/test/java/de/tum/cit/aet/artemis/core/util/RequestUtilService.java#L769
Failed test found in: build/test-results/test/TEST-de.tum.cit.aet.artemis.quiz.QuizExerciseIntegrationTest.xml build/test-results/test/TEST-de.tum.cit.aet.artemis.quiz.QuizExerciseIntegrationTest.xml build/test-results/test/TEST-de.tum.cit.aet.artemis.quiz.QuizExerciseIntegrationTest.xml Error: java.lang.AssertionError: Response status expected:<200> but was:<500>
de.tum.cit.aet.artemis.quiz.QuizSubmissionIntegrationTest ► testQuizSubmitScheduledAndDeleted(): src/test/java/de/tum/cit/aet/artemis/core/util/RequestUtilService.java#L769
Failed test found in: build/test-results/test/TEST-de.tum.cit.aet.artemis.quiz.QuizSubmissionIntegrationTest.xml Error: java.lang.AssertionError: Response status expected:<200> but was:<500>
de.tum.cit.aet.artemis.atlas.competency.CourseCompetencyIntegrationTest$GetCompetencyStudentProgress ► getCompetencyStudentProgressShouldReturnProgress(): src/test/java/de/tum/cit/aet/artemis/core/util/RequestUtilService.java#L654
Failed test found in: build/test-results/test/TEST-de.tum.cit.aet.artemis.atlas.competency.CourseCompetencyIntegrationTest$GetCompetencyStudentProgress.xml Error: java.lang.AssertionError: Response status expected:<200> but was:<500>
de.tum.cit.aet.artemis.atlas.competency.CourseCompetencyIntegrationTest$GetCompetencyStudentProgress ► getCompetencyStudentProgressMultipleExercises(): src/test/java/de/tum/cit/aet/artemis/core/util/RequestUtilService.java#L654
Failed test found in: build/test-results/test/TEST-de.tum.cit.aet.artemis.atlas.competency.CourseCompetencyIntegrationTest$GetCompetencyStudentProgress.xml Error: java.lang.AssertionError: Response status expected:<200> but was:<500>
de.tum.cit.aet.artemis.atlas.learningpath.LearningPathIntegrationTest ► testGetLearningPathNavigation(): src/main/java/de/tum/cit/aet/artemis/atlas/service/competency/CompetencyProgressService.java#L211
Failed test found in: build/test-results/test/TEST-de.tum.cit.aet.artemis.atlas.learningpath.LearningPathIntegrationTest.xml Error: org.springframework.dao.InvalidDataAccessResourceUsageException: JDBC exception executing SQL [select e1_0.id,e1_0.max_points,e1_0.difficulty,case when e1_0.discriminator='P' then true else false end,el1_0.link_weight,coalesce(ss1_0.last_score,ts1_0.last_score),coalesce(ss1_0.last_points,ts1_0.last_points),coalesce(ss1_0.last_modified_date,ts1_0.last_modified_date),count(s3_0.id) from competency cc1_0 left join competency_exercise el1_0 on cc1_0.id=el1_0.competency_id left join exercise e1_0 on e1_0.id=el1_0.exercise_id left join ((select * from participation t where t.discriminator in ('PESP', 'SP')) sp1_0 join team t1_0 on t1_0.id=sp1_0.team_id) on e1_0.id=sp1_0.exercise_id and (sp1_0.student_id=? or ? in (select s2_0.student_id from team_student s2_0 where t1_0.id=s2_0.team_id)) left join submission s3_0 on sp1_0.id=s3_0.participation_id left join (select * from participant_score t where t.discriminator='SS') ss1_0 on ss1_0.exercise_id=e1_0.id and ss1_0.user_id=? left join ((select * from participant_score t where t.discriminator='TS') ts1_0 join team t2_0 on t2_0.id=ts1_0.team_id) on ts1_0.exercise_id=e1_0.id and ? in (select s4_0.student_id from team_student s4_0 where t2_0.id=s4_0.team_id) where cc1_0.id=? and el1_0.exercise_id is not null group by e1_0.id,e1_0.max_points,e1_0.difficulty,e1_0.discriminator,ss1_0.last_score,ts1_0.last_score,ss1_0.last_points,ts1_0.last_points,ss1_0.last_modified_date,ts1_0.last_modified_date] [ERROR: column "el1_0.link_weight" must appear in the GROUP BY clause or be used in an aggregate function
de.tum.cit.aet.artemis.atlas.learningpath.LearningPathIntegrationTest ► testGetCompetencyProgressForLearningPathByOwner(): src/test/java/de/tum/cit/aet/artemis/core/util/RequestUtilService.java#L654
Failed test found in: build/test-results/test/TEST-de.tum.cit.aet.artemis.atlas.learningpath.LearningPathIntegrationTest.xml Error: java.lang.AssertionError: Response status expected:<200> but was:<500>
de.tum.cit.aet.artemis.atlas.learningpath.LearningPathIntegrationTest ► testGetCompetencyProgressForLearningPathByInstructor(): src/test/java/de/tum/cit/aet/artemis/core/util/RequestUtilService.java#L654
Failed test found in: build/test-results/test/TEST-de.tum.cit.aet.artemis.atlas.learningpath.LearningPathIntegrationTest.xml Error: java.lang.AssertionError: Response status expected:<200> but was:<500>
de.tum.cit.aet.artemis.atlas.learningpath.LearningPathIntegrationTest ► testGetLearningPathCompetencyGraph(): src/main/java/de/tum/cit/aet/artemis/atlas/service/competency/CompetencyProgressService.java#L211
Failed test found in: build/test-results/test/TEST-de.tum.cit.aet.artemis.atlas.learningpath.LearningPathIntegrationTest.xml Error: org.springframework.dao.InvalidDataAccessResourceUsageException: JDBC exception executing SQL [select e1_0.id,e1_0.max_points,e1_0.difficulty,case when e1_0.discriminator='P' then true else false end,el1_0.link_weight,coalesce(ss1_0.last_score,ts1_0.last_score),coalesce(ss1_0.last_points,ts1_0.last_points),coalesce(ss1_0.last_modified_date,ts1_0.last_modified_date),count(s3_0.id) from competency cc1_0 left join competency_exercise el1_0 on cc1_0.id=el1_0.competency_id left join exercise e1_0 on e1_0.id=el1_0.exercise_id left join ((select * from participation t where t.discriminator in ('PESP', 'SP')) sp1_0 join team t1_0 on t1_0.id=sp1_0.team_id) on e1_0.id=sp1_0.exercise_id and (sp1_0.student_id=? or ? in (select s2_0.student_id from team_student s2_0 where t1_0.id=s2_0.team_id)) left join submission s3_0 on sp1_0.id=s3_0.participation_id left join (select * from participant_score t where t.discriminator='SS') ss1_0 on ss1_0.exercise_id=e1_0.id and ss1_0.user_id=? left join ((select * from participant_score t where t.discriminator='TS') ts1_0 join team t2_0 on t2_0.id=ts1_0.team_id) on ts1_0.exercise_id=e1_0.id and ? in (select s4_0.student_id from team_student s4_0 where t2_0.id=s4_0.team_id) where cc1_0.id=? and el1_0.exercise_id is not null group by e1_0.id,e1_0.max_points,e1_0.difficulty,e1_0.discriminator,ss1_0.last_score,ts1_0.last_score,ss1_0.last_points,ts1_0.last_points,ss1_0.last_modified_date,ts1_0.last_modified_date] [ERROR: column "el1_0.link_weight" must appear in the GROUP BY clause or be used in an aggregate function
de.tum.cit.aet.artemis.core.service.DataExportCreationServiceTest ► testDataExportCreationSuccess_containsCorrectCourseContent(): src/test/java/de/tum/cit/aet/artemis/core/service/DataExportCreationServiceTest.java#L255
Failed test found in: build/test-results/test/TEST-de.tum.cit.aet.artemis.core.service.DataExportCreationServiceTest.xml Error: java.lang.AssertionError:
assign
The following actions use a deprecated Node.js version and will be forced to run on node20: technote-space/assign-author@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
test#L0
Junit Results ran 8349 in 1129.9440000000002 seconds 0 Errored, 0 Failed, 2 Skipped