Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test PR to check failed test cases for Extracted Built In Blocks #35951

Closed
wants to merge 2 commits into from

Conversation

farhan
Copy link
Contributor

@farhan farhan commented Dec 3, 2024

Test PR to check failed test cases for Extracted Built In Blocks

There will be failure of test cases as extracted xblocks in xblocks-contrib has not been published and updated in edx-platform yet.

How to test Built in XBlock in xblocks-contrib before publishing it to pypi:

  1. Update version of xblocks-contrib in the test/feature branch
  2. Install the xblocks-contrib package in edx-platform via pip install path-to-xblocks-contrib
  3. Turn the Django Settings Flag on of relevant built in XBlock
  4. Run the failed test cases in this PR on the XBlocks on local setup in lms/cms shell, so we fix them early before publishing them on pypi.
  5. Extracted XBlock can also be test on LMS/CMS

Failed Test Cases:

https://github.com/openedx/edx-platform/actions/runs/12139703550/job/33847897878?pr=35951#step:12:4941

pytest cms/djangoapps/api/v1/tests/test_views/test_course_runs.py --ds=cms.envs.test -q --disable-warnings
pytest cms/lib/xblock/tagging/test.py --ds=cms.envs.test -q --disable-warnings
pytest cms/lib/xblock/test/test_upstream_sync.py --ds=cms.envs.test -q --disable-warnings
pytest cms/djangoapps/contentstore/api/tests/test_quality.py --ds=cms.envs.test -q --disable-warnings
pytest cms/djangoapps/contentstore/tests/test_contentstore.py --ds=cms.envs.test -q --disable-warnings
pytest cms/djangoapps/contentstore/tests/test_courseware_index.py --ds=cms.envs.test -q --disable-warnings
pytest cms/djangoapps/contentstore/tests/test_crud.py --ds=cms.envs.test -q --disable-warnings
pytest cms/djangoapps/contentstore/tests/test_import.py --ds=cms.envs.test -q --disable-warnings
pytest cms/djangoapps/contentstore/tests/test_libraries.py --ds=cms.envs.test -q --disable-warnings
pytest cms/djangoapps/contentstore/tests/test_transcripts_utils.py --ds=cms.envs.test -q --disable-warnings
pytest cms/djangoapps/contentstore/tests/test_utils.py --ds=cms.envs.test -q --disable-warnings
pytest cms/djangoapps/contentstore/views/tests/test_block.py --ds=cms.envs.test -q --disable-warnings
pytest cms/djangoapps/contentstore/views/tests/test_clipboard_paste.py --ds=cms.envs.test -q --disable-warnings
pytest cms/djangoapps/contentstore/views/tests/test_course_index.py --ds=cms.envs.test -q --disable-warnings
pytest cms/djangoapps/contentstore/views/tests/test_helpers.py --ds=cms.envs.test -q --disable-warnings
pytest cms/djangoapps/contentstore/views/tests/test_import_export.py --ds=cms.envs.test -q --disable-warnings
pytest cms/djangoapps/contentstore/views/tests/test_preview.py --ds=cms.envs.test -q --disable-warnings
pytest cms/djangoapps/contentstore/views/tests/test_transcripts.py --ds=cms.envs.test -q --disable-warnings
pytest cms/djangoapps/contentstore/views/tests/test_videos.py --ds=cms.envs.test -q --disable-warnings
pytest lms/djangoapps/ccx/tests/test_views.py --ds=lms.envs.test -q --disable-warnings
pytest lms/djangoapps/course_api/blocks/tests/test_serializers.py --ds=lms.envs.test -q --disable-warnings
pytest lms/djangoapps/course_api/blocks/tests/test_views.py --ds=lms.envs.test -q --disable-warnings
pytest lms/djangoapps/course_wiki/tests/tests.py --ds=lms.envs.test -q --disable-warnings
pytest lms/djangoapps/course_home_api/progress/tests/test_views.py --ds=lms.envs.test -q --disable-warnings
pytest lms/djangoapps/course_home_api/outline/tests/test_view.py --ds=lms.envs.test -q --disable-warnings
pytest lms/djangoapps/course_blocks/transformers/tests/test_load_override_data.py --ds=lms.envs.test -q --disable-warnings
pytest lms/djangoapps/course_api/tests/test_views.py --ds=lms.envs.test -q --disable-warnings
pytest lms/djangoapps/course_api/tests/test_serializers.py --ds=lms.envs.test -q --disable-warnings
pytest lms/djangoapps/course_api/tests/test_api.py --ds=lms.envs.test -q --disable-warnings
pytest lms/djangoapps/course_api/blocks/transformers/tests/test_video_urls.py --ds=lms.envs.test -q --disable-warnings
pytest lms/djangoapps/course_api/blocks/transformers/tests/test_video_stream_priority.py --ds=lms.envs.test -q --disable-warnings
pytest lms/djangoapps/course_api/blocks/transformers/tests/test_student_view.py --ds=lms.envs.test -q --disable-warnings
pytest lms/djangoapps/course_api/blocks/tests/test_api.py --ds=lms.envs.test -q --disable-warnings
pytest lms/djangoapps/courseware/management/commands/tests/test_dump_course.py --ds=lms.envs.test -q --disable-warnings
pytest lms/djangoapps/courseware/tests/test_block_render.py --ds=lms.envs.test -q --disable-warnings
pytest lms/djangoapps/courseware/tests/test_courses.py --ds=lms.envs.test -q --disable-warnings
pytest lms/djangoapps/courseware/tests/test_discussion_xblock.py --ds=lms.envs.test -q --disable-warnings
pytest lms/djangoapps/courseware/tests/test_entrance_exam.py --ds=lms.envs.test -q --disable-warnings
pytest lms/djangoapps/courseware/tests/test_lti_integration.py --ds=lms.envs.test -q --disable-warnings
pytest lms/djangoapps/courseware/tests/test_model_data.py --ds=lms.envs.test -q --disable-warnings
pytest lms/djangoapps/courseware/tests/test_self_paced_overrides.py --ds=lms.envs.test -q --disable-warnings
pytest lms/djangoapps/courseware/tests/test_split_module.py --ds=lms.envs.test -q --disable-warnings
pytest lms/djangoapps/courseware/tests/test_submitting_problems.py --ds=lms.envs.test -q --disable-warnings
pytest lms/djangoapps/courseware/tests/test_video_handlers.py --ds=lms.envs.test -q --disable-warnings
pytest lms/djangoapps/courseware/tests/test_video_mongo.py --ds=lms.envs.test -q --disable-warnings
pytest lms/djangoapps/courseware/tests/test_video_xml.py --ds=lms.envs.test -q --disable-warnings
pytest lms/djangoapps/courseware/tests/test_views.py --ds=lms.envs.test -q --disable-warnings
pytest lms/djangoapps/courseware/tests/test_word_cloud.py --ds=lms.envs.test -q --disable-warnings
pytest lms/djangoapps/courseware/tests/tests.py --ds=lms.envs.test -q --disable-warnings
pytest lms/djangoapps/courseware/tests/test_masquerade.py --ds=lms.envs.test -q --disable-warnings
pytest lms/djangoapps/discussion/django_comment_client/base/tests.py --ds=lms.envs.test -q --disable-warnings
pytest lms/djangoapps/discussion/django_comment_client/tests/test_models.py --ds=lms.envs.test -q --disable-warnings
pytest lms/djangoapps/discussion/django_comment_client/tests/test_utils.py --ds=lms.envs.test -q --disable-warnings
pytest lms/djangoapps/discussion/rest_api/tests/test_api.py --ds=lms.envs.test -q --disable-warnings
pytest lms/djangoapps/discussion/rest_api/tests/test_views.py --ds=lms.envs.test -q --disable-warnings
pytest lms/djangoapps/discussion/tests/test_signals.py --ds=lms.envs.test -q --disable-warnings
pytest lms/djangoapps/discussion/tests/test_views.py --ds=lms.envs.test -q --disable-warnings
pytest lms/djangoapps/grades/rest_api/v1/tests/test_views.py --ds=lms.envs.test -q --disable-warnings
pytest lms/djangoapps/grades/tests/integration/test_events.py --ds=lms.envs.test -q --disable-warnings
pytest lms/djangoapps/grades/tests/integration/test_problems.py --ds=lms.envs.test -q --disable-warnings
pytest lms/djangoapps/grades/tests/test_course_grade.py --ds=lms.envs.test -q --disable-warnings
pytest lms/djangoapps/grades/tests/test_scores.py --ds=lms.envs.test -q --disable-warnings
pytest lms/djangoapps/grades/tests/test_tasks.py --ds=lms.envs.test -q --disable-warnings
pytest lms/djangoapps/grades/tests/test_transformer.py --ds=lms.envs.test -q --disable-warnings
pytest lms/djangoapps/instructor/tests/test_api.py --ds=lms.envs.test -q --disable-warnings
pytest lms/djangoapps/instructor/tests/views/test_instructor_dashboard.py --ds=lms.envs.test -q --disable-warnings
pytest lms/djangoapps/gating/tests/test_integration.py --ds=lms.envs.test -q --disable-warnings
pytest lms/djangoapps/grades/rest_api/v1/tests/test_grading_policy_view.py --ds=lms.envs.test -q --disable-warnings
pytest lms/djangoapps/grades/tests/integration/test_access.py --ds=lms.envs.test -q --disable-warnings
pytest lms/djangoapps/grades/tests/test_course_grade_factory.py --ds=lms.envs.test -q --disable-warnings
pytest lms/djangoapps/grades/tests/test_subsection_grade.py --ds=lms.envs.test -q --disable-warnings
pytest lms/djangoapps/grades/tests/test_subsection_grade_factory.py --ds=lms.envs.test -q --disable-warnings
pytest lms/djangoapps/instructor/tests/test_enrollment.py --ds=lms.envs.test -q --disable-warnings
pytest lms/djangoapps/instructor/tests/test_spoc_gradebook.py --ds=lms.envs.test -q --disable-warnings
pytest lms/djangoapps/instructor_task/tests/test_api.py --ds=lms.envs.test -q --disable-warnings
pytest lms/djangoapps/instructor_task/tests/test_integration.py --ds=lms.envs.test -q --disable-warnings
pytest lms/djangoapps/instructor_task/tests/test_tasks.py --ds=lms.envs.test -q --disable-warnings
pytest lms/djangoapps/instructor_task/tests/test_tasks_helper.py --ds=lms.envs.test -q --disable-warnings
pytest lms/djangoapps/lti_provider/management/commands/tests/test_resend_lti_scores.py --ds=lms.envs.test -q --disable-warnings
pytest lms/djangoapps/lti_provider/tests/test_views.py --ds=lms.envs.test -q --disable-warnings
pytest lms/djangoapps/mobile_api/tests/test_course_info_views.py --ds=lms.envs.test -q --disable-warnings
pytest lms/djangoapps/mobile_api/users/tests.py --ds=lms.envs.test -q --disable-warnings
pytest lms/djangoapps/support/tests/test_tasks.py --ds=lms.envs.test -q --disable-warnings
pytest lms/djangoapps/teams/tests/test_partition_scheme.py --ds=lms.envs.test -q --disable-warnings
pytest lms/djangoapps/mfe_config_api/tests/test_views.py --ds=lms.envs.test -q --disable-warnings
pytest lms/lib/xblock/test/test_mixin.py --ds=lms.envs.test -q --disable-warnings
pytest openedx/core/djangoapps/content_libraries/tests/test_runtime.py --ds=lms.envs.test -q --disable-warnings
pytest openedx/core/djangoapps/course_date_signals/tests.py --ds=lms.envs.test -q --disable-warnings
pytest openedx/core/djangoapps/course_groups/tests/test_cohorts.py --ds=lms.envs.test -q --disable-warnings
pytest openedx/core/djangoapps/course_groups/tests/test_partition_scheme.py --ds=lms.envs.test -q --disable-warnings
pytest openedx/core/djangoapps/discussions/tests/test_tasks.py --ds=lms.envs.test -q --disable-warnings
pytest openedx/core/djangoapps/external_user_ids/tests/test_batch_generate_id.py --ds=lms.envs.test -q --disable-warnings
pytest openedx/core/djangoapps/course_groups/tests/test_api_views.py --ds=lms.envs.test -q --disable-warnings
pytest openedx/core/djangoapps/courseware_api/tests/test_views.py --ds=lms.envs.test -q --disable-warnings
pytest openedx/core/lib/gating/tests/test_api.py --ds=lms.envs.test -q --disable-warnings
pytest openedx/features/content_type_gating/tests/test_access.py --ds=lms.envs.test -q --disable-warnings
pytest openedx/features/content_type_gating/tests/test_models.py --ds=lms.envs.test -q --disable-warnings
pytest openedx/features/content_type_gating/tests/test_partitions.py --ds=lms.envs.test -q --disable-warnings
pytest openedx/features/course_duration_limits/tests/test_models.py --ds=lms.envs.test -q --disable-warnings
pytest openedx/features/effort_estimation/tests/test_block_transformers.py --ds=lms.envs.test -q --disable-warnings
pytest openedx/features/enterprise_support/tests/test_utils.py --ds=lms.envs.test -q --disable-warnings
pytest openedx/tests/completion_integration/test_handlers.py --ds=lms.envs.test -q --disable-warnings
pytest openedx/tests/completion_integration/test_services.py --ds=lms.envs.test -q --disable-warnings
pytest openedx/core/djangoapps/content/search/tests/test_api.py --ds=lms.envs.test -q --disable-warnings
pytest openedx/core/djangoapps/content/search/tests/test_handlers.py --ds=lms.envs.test -q --disable-warnings
pytest openedx/core/djangoapps/content_libraries/tests/test_runtime.py --ds=lms.envs.test -q --disable-warnings
pytest openedx/core/djangoapps/content_staging/tests/test_clipboard.py --ds=lms.envs.test -q --disable-warnings
pytest openedx/core/djangoapps/course_date_signals/tests.py --ds=lms.envs.test -q --disable-warnings
pytest openedx/core/djangoapps/course_groups/tests/test_cohorts.py --ds=lms.envs.test -q --disable-warnings
pytest openedx/core/djangoapps/course_groups/tests/test_partition_scheme.py --ds=lms.envs.test -q --disable-warnings
pytest openedx/core/djangoapps/discussions/tests/test_tasks.py --ds=lms.envs.test -q --disable-warnings
pytest openedx/core/djangoapps/content_libraries/tests/test_content_libraries.py --ds=lms.envs.test -q --disable-warnings
pytest openedx/core/djangoapps/content_libraries/tests/test_embed_block.py --ds=lms.envs.test -q --disable-warnings
pytest openedx/core/djangoapps/content_libraries/tests/test_static_assets.py --ds=lms.envs.test -q --disable-warnings
pytest openedx/core/djangoapps/content_libraries/tests/test_versioned_apis.py --ds=lms.envs.test -q --disable-warnings
pytest openedx/core/djangoapps/content_libraries/tests/test_views_collections.py --ds=lms.envs.test -q --disable-warnings
pytest openedx/core/djangoapps/content_libraries/tests/test_views_lti.py --ds=lms.envs.test -q --disable-warnings
pytest openedx/core/djangoapps/external_user_ids/tests/test_batch_generate_id.py --ds=lms.envs.test -q --disable-warnings
pytest openedx/core/djangoapps/content/search/tests/test_documents.py --ds=lms.envs.test -q --disable-warnings
pytest openedx/core/djangoapps/content_tagging/tests/test_objecttag_export_helpers.py --ds=lms.envs.test -q --disable-warnings
pytest openedx/core/djangoapps/olx_rest_api/test_views.py --ds=lms.envs.test -q --disable-warnings
pytest openedx/core/lib/gating/tests/test_api.py --ds=lms.envs.test -q --disable-warnings
pytest openedx/core/lib/xblock_serializer/test_api.py --ds=lms.envs.test -q --disable-warnings
pytest xmodule/modulestore/tests/test_cross_modulestore_import_export.py --ds=lms.envs.test -q --disable-warnings
pytest xmodule/modulestore/tests/test_libraries.py --ds=lms.envs.test -q --disable-warnings
pytest xmodule/modulestore/tests/test_mixed_modulestore.py --ds=lms.envs.test -q --disable-warnings
pytest xmodule/modulestore/tests/test_publish.py --ds=lms.envs.test -q --disable-warnings
pytest xmodule/modulestore/tests/test_semantics.py --ds=lms.envs.test -q --disable-warnings
pytest xmodule/modulestore/tests/test_split_copy_from_template.py --ds=lms.envs.test -q --disable-warnings
pytest xmodule/modulestore/tests/test_split_modulestore.py --ds=lms.envs.test -q --disable-warnings
pytest xmodule/modulestore/tests/test_xml.py --ds=lms.envs.test -q --disable-warnings
pytest xmodule/tests/test_conditional.py --ds=lms.envs.test -q --disable-warnings
pytest xmodule/tests/test_export.py --ds=lms.envs.test -q --disable-warnings
pytest xmodule/tests/test_import.py --ds=lms.envs.test -q --disable-warnings
pytest xmodule/tests/test_item_bank.py --ds=lms.envs.test -q --disable-warnings
pytest xmodule/tests/test_library_root.py --ds=lms.envs.test -q --disable-warnings
pytest xmodule/tests/test_lti_unit.py --ds=lms.envs.test -q --disable-warnings
pytest xmodule/tests/test_randomize_block.py --ds=lms.envs.test -q --disable-warnings
pytest xmodule/tests/test_split_test_block.py --ds=lms.envs.test -q --disable-warnings
pytest xmodule/tests/test_vertical.py --ds=lms.envs.test -q --disable-warnings
pytest xmodule/tests/test_video.py --ds=lms.envs.test -q --disable-warnings
pytest xmodule/tests/test_word_cloud.py --ds=lms.envs.test -q --disable-warnings
pytest xmodule/tests/xml/test_inheritance.py --ds=lms.envs.test -q --disable-warnings
pytest xmodule/modulestore/tests/test_api.py --ds=lms.envs.test -q --disable-warnings
pytest xmodule/tests/test_annotatable_block.py --ds=lms.envs.test -q --disable-warnings
pytest xmodule/tests/test_capa_block.py --ds=lms.envs.test -q --disable-warnings
pytest xmodule/tests/test_delay_between_attempts.py --ds=lms.envs.test -q --disable-warnings
pytest xmodule/tests/test_discussion.py --ds=lms.envs.test -q --disable-warnings
pytest xmodule/tests/test_html_block.py --ds=lms.envs.test -q --disable-warnings
pytest xmodule/tests/test_lti20_unit.py --ds=lms.envs.test -q --disable-warnings
pytest xmodule/tests/test_poll.py --ds=lms.envs.test -q --disable-warnings
pytest xmodule/modulestore/tests/test_cross_modulestore_import_export.py --ds=lms.envs.test -q --disable-warnings
pytest xmodule/modulestore/tests/test_libraries.py --ds=lms.envs.test -q --disable-warnings
pytest xmodule/modulestore/tests/test_mixed_modulestore.py --ds=lms.envs.test -q --disable-warnings
pytest xmodule/modulestore/tests/test_mongo_call_count.py --ds=lms.envs.test -q --disable-warnings
pytest xmodule/modulestore/tests/test_publish.py --ds=lms.envs.test -q --disable-warnings
pytest xmodule/modulestore/tests/test_semantics.py --ds=lms.envs.test -q --disable-warnings
pytest xmodule/modulestore/tests/test_split_copy_from_template.py --ds=lms.envs.test -q --disable-warnings
pytest xmodule/modulestore/tests/test_split_modulestore.py --ds=lms.envs.test -q --disable-warnings
pytest xmodule/modulestore/tests/test_xml.py --ds=lms.envs.test -q --disable-warnings
pytest xmodule/tests/test_conditional.py --ds=lms.envs.test -q --disable-warnings
pytest xmodule/tests/test_export.py --ds=lms.envs.test -q --disable-warnings
pytest xmodule/tests/test_import.py --ds=lms.envs.test -q --disable-warnings
pytest xmodule/tests/test_item_bank.py --ds=lms.envs.test -q --disable-warnings
pytest xmodule/tests/test_library_content.py --ds=lms.envs.test -q --disable-warnings
pytest xmodule/tests/test_library_root.py --ds=lms.envs.test -q --disable-warnings
pytest xmodule/tests/test_library_tools.py --ds=lms.envs.test -q --disable-warnings
pytest xmodule/tests/test_lti_unit.py --ds=lms.envs.test -q --disable-warnings
pytest xmodule/tests/test_randomize_block.py --ds=lms.envs.test -q --disable-warnings
pytest xmodule/tests/test_split_test_block.py --ds=lms.envs.test -q --disable-warnings
pytest xmodule/tests/test_vertical.py --ds=lms.envs.test -q --disable-warnings
pytest xmodule/tests/test_video.py --ds=lms.envs.test -q --disable-warnings
pytest xmodule/tests/test_word_cloud.py --ds=lms.envs.test -q --disable-warnings
pytest xmodule/tests/xml/test_inheritance.py --ds=lms.envs.test -q --disable-warnings
pytest xmodule/modulestore/tests/test_api.py --ds=lms.envs.test -q --disable-warnings
pytest xmodule/tests/test_annotatable_block.py --ds=lms.envs.test -q --disable-warnings
pytest xmodule/tests/test_capa_block.py --ds=lms.envs.test -q --disable-warnings
pytest xmodule/tests/test_delay_between_attempts.py --ds=lms.envs.test -q --disable-warnings
pytest xmodule/tests/test_discussion.py --ds=lms.envs.test -q --disable-warnings
pytest xmodule/tests/test_html_block.py --ds=lms.envs.test -q --disable-warnings
pytest xmodule/tests/test_lti20_unit.py --ds=lms.envs.test -q --disable-warnings
pytest xmodule/tests/test_poll.py --ds=lms.envs.test -q --disable-warnings
pytest common/djangoapps/student/tests/test_views.py --ds=lms.envs.test -q --disable-warnings

@farhan farhan changed the title Test PR Test PR to check failed test cases for Extracted Built In Blocks Dec 3, 2024
@kdmccormick kdmccormick marked this pull request as draft December 3, 2024 15:11
@farhan
Copy link
Contributor Author

farhan commented Dec 8, 2024

Closing this pull request in favor of a more appropriate implementation:
#35983

@farhan farhan closed this Dec 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant