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

Revert "Decouple XModule styles from LMS/Studio styles" #32183

Merged
merged 1 commit into from
May 4, 2023

Conversation

connorhaugh
Copy link
Contributor

@connorhaugh connorhaugh commented May 4, 2023

Reverts #32018

This occurred because edx.org's deployment contained the following errors:


TASK [edxapp : gather static assets with paver] ********************************
fatal: [10.2.10.224]: FAILED! => {
    "changed": true,
    "cmd": [
        "/edx/bin/edxapp-update-assets"
    ],
    "delta": "0:02:48.931620",
    "end": "2023-05-04 12:45:43.987689",
    "rc": 1,
    "start": "2023-05-04 12:42:55.056069"
}

STDOUT:

---> pavelib.assets.update_assets
---> pavelib.prereqs.install_node_prereqs
NO_PREREQ_INSTALL is set, not installing prereqs
---> pavelib.assets.process_xmodule_assets
---> pavelib.prereqs.install_python_prereqs
NO_PREREQ_INSTALL is set, not installing prereqs
xmodule_assets common/static/xmodule
		Finished processing xmodule assets.
mkdir_p path('common/static/common/js/vendor')
mkdir_p path('common/static/common/css')
mkdir_p path('common/static/common/css/vendor')
Copying vendor files into static directory
/bin/cp -rf node_modules/backbone.paginator/lib/backbone.paginator.js common/static/common/js/vendor
/bin/cp -rf node_modules/backbone/backbone.js common/static/common/js/vendor
/bin/cp -rf node_modules/bootstrap/dist/js/bootstrap.bundle.js common/static/common/js/vendor
/bin/cp -rf node_modules/hls.js/dist/hls.js common/static/common/js/vendor
/bin/cp -rf node_modules/jquery-migrate/dist/jquery-migrate.js common/static/common/js/vendor
/bin/cp -rf node_modules/jquery.scrollto/jquery.scrollTo.js common/static/common/js/vendor
/bin/cp -rf node_modules/jquery/dist/jquery.js common/static/common/js/vendor
/bin/cp -rf node_modules/moment-timezone/builds/moment-timezone-with-data.js common/static/common/js/vendor
/bin/cp -rf node_modules/moment/min/moment-with-locales.js common/static/common/js/vendor
/bin/cp -rf node_modules/picturefill/dist/picturefill.js common/static/common/js/vendor
/bin/cp -rf node_modules/requirejs/require.js common/static/common/js/vendor
/bin/cp -rf node_modules/underscore.string/dist/underscore.string.js common/static/common/js/vendor
/bin/cp -rf node_modules/underscore/underscore.js common/static/common/js/vendor
Copying vendor library dir: node_modules/@edx/studio-frontend/dist/
/bin/cp -rf node_modules/@edx/studio-frontend/dist/courseOutlineHealthCheck.min.css common/static/common/css/vendor
/bin/cp -rf node_modules/@edx/studio-frontend/dist/accessibilityPolicy.min.css common/static/common/css/vendor
/bin/cp -rf node_modules/@edx/studio-frontend/dist/runtime.min.js.map common/static/common/js/vendor
/bin/cp -rf node_modules/@edx/studio-frontend/dist/assets.min.js.map common/static/common/js/vendor
/bin/cp -rf node_modules/@edx/studio-frontend/dist/i18nMessages.min.js.map common/static/common/js/vendor
/bin/cp -rf node_modules/@edx/studio-frontend/dist/common.min.css common/static/common/css/vendor
/bin/cp -rf node_modules/@edx/studio-frontend/dist/courseOutlineHealthCheck.min.js common/static/common/js/vendor
/bin/cp -rf node_modules/@edx/studio-frontend/dist/accessibilityPolicy.min.js.map common/static/common/js/vendor
/bin/cp -rf node_modules/@edx/studio-frontend/dist/editImageModal.min.js common/static/common/js/vendor
/bin/cp -rf node_modules/@edx/studio-frontend/dist/assets.min.js common/static/common/js/vendor
/bin/cp -rf node_modules/@edx/studio-frontend/dist/courseHealthCheck.min.js.map common/static/common/js/vendor
/bin/cp -rf node_modules/@edx/studio-frontend/dist/common.min.js common/static/common/js/vendor
/bin/cp -rf node_modules/@edx/studio-frontend/dist/assets.min.css common/static/common/css/vendor
/bin/cp -rf node_modules/@edx/studio-frontend/dist/common.min.js.map common/static/common/js/vendor
/bin/cp -rf node_modules/@edx/studio-frontend/dist/accessibilityPolicy.min.js common/static/common/js/vendor
/bin/cp -rf node_modules/@edx/studio-frontend/dist/courseHealthCheck.min.css common/static/common/css/vendor
/bin/cp -rf node_modules/@edx/studio-frontend/dist/editImageModal.min.css common/static/common/css/vendor
/bin/cp -rf node_modules/@edx/studio-frontend/dist/runtime.min.js common/static/common/js/vendor
/bin/cp -rf node_modules/@edx/studio-frontend/dist/courseHealthCheck.min.js common/static/common/js/vendor
/bin/cp -rf node_modules/@edx/studio-frontend/dist/i18nMessages.min.js common/static/common/js/vendor
/bin/cp -rf node_modules/@edx/studio-frontend/dist/editImageModal.min.js.map common/static/common/js/vendor
/bin/cp -rf node_modules/@edx/studio-frontend/dist/courseOutlineHealthCheck.min.js.map common/static/common/js/vendor
/bin/cp -rf node_modules/@edx/studio-frontend/dist/i18n/messages/fr.json common/static/common/js/vendor
/bin/cp -rf node_modules/@edx/studio-frontend/dist/i18n/messages/ar.json common/static/common/js/vendor
/bin/cp -rf node_modules/@edx/studio-frontend/dist/i18n/messages/es_419.json common/static/common/js/vendor
/bin/cp -rf node_modules/@edx/studio-frontend/dist/i18n/messages/zh_CN.json common/static/common/js/vendor
/bin/cp -rf node_modules/which-country/index.js common/static/common/js/vendor
Copying developer vendor files into static directory
/bin/cp -rf node_modules/sinon/pkg/sinon.js common/static/common/js/vendor
/bin/cp -rf node_modules/squirejs/src/Squire.js common/static/common/js/vendor
---> pavelib.assets.webpack
python manage.py lms --settings=production print_setting STATIC_ROOT WEBPACK_CONFIG_PATH 2>/edx/app/edxapp/edx-platform/test_root/log/print_settings.log
python manage.py cms --settings=production print_setting STATIC_ROOT 2>/edx/app/edxapp/edx-platform/test_root/log/print_settings.log
python manage.py cms --settings=production print_setting JS_ENV_EXTRA_CONFIG 2>/edx/app/edxapp/edx-platform/test_root/log/print_settings.log --json
NODE_ENV=production STATIC_ROOT_LMS=/edx/var/edxapp/staticfiles STATIC_ROOT_CMS=/edx/var/edxapp/staticfiles/studio JS_ENV_EXTRA_CONFIG="{}" $(npm bin)/webpack --config=webpack.prod.config.js
Hash: 332781cc6e139d12504ca4f5505d8b7ed49bebef6665102f37c691864dd1a4f5505d8b7ed49bebef
Version: webpack 2.7.0
Child
    Hash: 332781cc6e139d12504c
    Time: 143533ms
                                                        Asset       Size          Chunks                    Chunk Names
                   CookiePolicyBanner.a8e14160d637148fe075.js     999 kB               0  [emitted]  [big]  CookiePolicyBanner
               EntitlementSupportPage.8a315a6d0d42ee14ea91.js     514 kB               1  [emitted]  [big]  EntitlementSupportPage
                ProgramDetailsFactory.ef6cf6ad9563c64b78fe.js     710 kB               2  [emitted]  [big]  ProgramDetailsFactory
                    VideoBlockPreview.3a27d3d51f4300ff7bcd.js     716 kB               3  [emitted]  [big]  VideoBlockPreview
                               Import.2fec60a1d3b55f1a5d51.js     604 kB               4  [emitted]  [big]  Import
                   EntitlementFactory.7e3617aa552fd6e13468.js     604 kB               5  [emitted]  [big]  EntitlementFactory
         DemographicsCollectionBanner.e2cb0f37d2400300c269.js     184 kB        6, 7, 13  [emitted]         DemographicsCollectionBanner
          DemographicsCollectionModal.6567cb8d67e8384f01ae.js     172 kB           7, 13  [emitted]         DemographicsCollectionModal
                 js/factories/library.7882f82da8f02cd89a4b.js     953 kB               8  [emitted]  [big]  js/factories/library
               js/factories/container.8fd5ac5379f58ed34d71.js     941 kB               9  [emitted]  [big]  js/factories/container
               js/factories/edit_tabs.349c3f23b24b01e3b068.js     900 kB          10, 61  [emitted]  [big]  js/factories/edit_tabs
                       ProblemBrowser.1ea2406d324e4111a641.js     186 kB              11  [emitted]         ProblemBrowser
               js/factories/textbooks.994640eed2d4ced6ffc6.js     372 kB              12  [emitted]  [big]  js/factories/textbooks
                 AxiosJwtTokenService.9618f0ac8e0d2aa5b42e.js    78.1 kB              13  [emitted]         AxiosJwtTokenService
         EnterpriseLearnerPortalModal.6f05b2ca210872812e3f.js    31.9 kB              14  [emitted]         EnterpriseLearnerPortalModal
                   ProgramListFactory.2319ff39d3e216879cd6.js      40 kB              15  [emitted]         ProgramListFactory
       js/factories/xblock_validation.fe866131e3a1a5bb5cd1.js    39.2 kB              16  [emitted]         js/factories/xblock_validation
    StudentAccountDeletionInitializer.6606f729517e78e54290.js     309 kB      17, 21, 33  [emitted]  [big]  StudentAccountDeletionInitializer
                    SingleSupportForm.41a4eae85d5ef835c86c.js     284 kB              18  [emitted]  [big]  SingleSupportForm
            LibrarySourcedBlockPicker.8d08c4424b36eff7940c.js    31.1 kB              19  [emitted]         LibrarySourcedBlockPicker
                WordCloudBlockPreview.60b3bf96cc164d092024.js     148 kB              20  [emitted]         WordCloudBlockPreview
               StudentAccountDeletion.9b7f4ae45dfef44209b9.js     180 kB              21  [emitted]         StudentAccountDeletion
                  VerticalStudentView.d84052a103e30095fccd.js    8.48 kB          22, 56  [emitted]         VerticalStudentView
                    AboutBlockPreview.0b7b69da15bf35f8bea3.js    24.4 kB  23, 24, 25, 26  [emitted]         AboutBlockPreview
               CourseInfoBlockPreview.dbddb63743a7c858ec8e.js    24.4 kB  24, 23, 25, 26  [emitted]         CourseInfoBlockPreview
                     HtmlBlockPreview.b314c8c7e645f3b41733.js    24.4 kB  25, 23, 24, 26  [emitted]         HtmlBlockPreview
                StaticTabBlockPreview.7216a28d378ef6701472.js    24.4 kB  26, 23, 24, 25  [emitted]         StaticTabBlockPreview
                  ProblemBlockPreview.50d5a58be46ab409c972.js     118 kB              27  [emitted]         ProblemBlockPreview
                    AnnouncementsView.5593bbe5803204a923aa.js     259 kB              28  [emitted]  [big]  AnnouncementsView
                       AlertStatusBar.9a26430280d9cea4aabe.js     278 kB              29  [emitted]  [big]  AlertStatusBar
              ConditionalBlockPreview.4f4cf145490385a40bc4.js    6.56 kB              30  [emitted]         ConditionalBlockPreview
              AnnotatableBlockPreview.8b72ae308b93724f5615.js    10.1 kB              31  [emitted]         AnnotatableBlockPreview
                     PollBlockPreview.8d857b4c7f800c7a4b9c.js      12 kB              32  [emitted]         PollBlockPreview
                        ReactRenderer.0618000cbee09f96937b.js     128 kB              33  [emitted]         ReactRenderer
               CourseOrLibraryListing.e1b4b9a4e8e851e44ca5.js     125 kB              34  [emitted]         CourseOrLibraryListing
            PasswordResetConfirmation.7f36ffb3bc46875f1126.js     167 kB              35  [emitted]         PasswordResetConfirmation
                     AboutBlockStudio.6ecc47876ef3c2260eb8.js    18.3 kB  36, 37, 38, 39  [emitted]         AboutBlockStudio
                CourseInfoBlockStudio.4294fa6e9943d085976d.js    18.3 kB  37, 36, 38, 39  [emitted]         CourseInfoBlockStudio
                      HtmlBlockStudio.1df670638b66cdf6f03b.js    18.3 kB  38, 36, 37, 39  [emitted]         HtmlBlockStudio
                 StaticTabBlockStudio.8249584b93682e58d2f3.js    18.3 kB  39, 36, 37, 38  [emitted]         StaticTabBlockStudio
    LinkProgramEnrollmentsSupportPage.8bcd092bce98dde456f6.js     134 kB              40  [emitted]         LinkProgramEnrollmentsSupportPage
                              js/sock.40e125aaaec7082f906b.js    4.58 kB              41  [emitted]         js/sock
                      LTIBlockPreview.a236a1771b4eb0366948.js    1.13 kB              42  [emitted]         LTIBlockPreview
                 SequenceBlockPreview.149947fa92266213c89d.js    9.11 kB              43  [emitted]         SequenceBlockPreview
               AnnotatableBlockStudio.6a09026ba37ad96fe229.js  974 bytes          44, 45  [emitted]         AnnotatableBlockStudio
                 CustomTagBlockStudio.e3129de11ed951015f80.js  974 bytes          45, 44  [emitted]         CustomTagBlockStudio
                     VideoBlockStudio.5e10d46971e66020ed62.js    2.89 kB              46  [emitted]         VideoBlockStudio
               ConditionalBlockStudio.e072ca07505fbfa23c9e.js  749 bytes          47, 48  [emitted]         ConditionalBlockStudio
                 SplitTestBlockStudio.2fe9ad7b8f11c9ac8a45.js  749 bytes          48, 47  [emitted]         SplitTestBlockStudio
                       LTIBlockStudio.29106828f5c664dd7b1b.js  770 bytes          49, 50  [emitted]         LTIBlockStudio
                 WordCloudBlockStudio.a058b140a20cd78e082c.js  770 bytes          50, 49  [emitted]         WordCloudBlockStudio
            LibraryContentBlockStudio.3afc54ed4967e2dfb427.js  748 bytes              51  [emitted]         LibraryContentBlockStudio
                   ProblemBlockStudio.4f7ee75262c56b0e875f.js    11.9 kB              52  [emitted]         ProblemBlockStudio
                  UnenrollmentFactory.939787044bfd60d27758.js    5.83 kB              53  [emitted]         UnenrollmentFactory
       EntitlementUnenrollmentFactory.b0a9b7d22f6c40092e99.js    8.21 kB              54  [emitted]         EntitlementUnenrollmentFactory
                 RecommendationsPanel.9f1820dd0aa7e81a3e21.js    14.2 kB              55  [emitted]         RecommendationsPanel
              CompletionOnViewService.8df9852c045846f86886.js    4.23 kB              56  [emitted]         CompletionOnViewService
      ProgramEnrollmentsInspectorPage.2c5c7ce2c3446448f52f.js     137 kB              57  [emitted]         ProgramEnrollmentsInspectorPage
                             Currency.d9789b073a2fb6e466d6.js    3.25 kB              58  [emitted]         Currency
          js/factories/context_course.6ca05016c6d40a7bd520.js  580 bytes              59  [emitted]         js/factories/context_course
                           CourseSock.f9d9971559263e631855.js    2.46 kB              60  [emitted]         CourseSock
                          XModuleShim.492072f387765a08f2cc.js    1.02 kB              61  [emitted]         XModuleShim
                     Static2UCallouts.663aaf2a73c7e4d11c72.js    8.01 kB              62  [emitted]         Static2UCallouts
                CustomTagBlockPreview.8774e1f059bc00a34397.js  150 bytes              63  [emitted]         CustomTagBlockPreview
           LibraryContentBlockPreview.d7c17dc187cc95118a61.js  150 bytes              64  [emitted]         LibraryContentBlockPreview
                      PollBlockStudio.00f2e85d23bdcfb07047.js  154 bytes              65  [emitted]         PollBlockStudio
                  SequenceBlockStudio.c9d0194df9598185684d.js  154 bytes              66  [emitted]         SequenceBlockStudio
                SplitTestBlockPreview.89abe7d45013b9894dea.js  150 bytes              67  [emitted]         SplitTestBlockPreview
                              commons.2224cdd50b6d8813e0b7.js     418 kB              68  [emitted]  [big]  commons
    [./cms/static/js/factories/container.js] ./cms/static/js/factories/container.js 884 bytes {9} [built]
    [./cms/static/js/factories/context_course.js] ./cms/static/js/factories/context_course.js 76 bytes {59} [built]
    [./cms/static/js/factories/edit_tabs.js] ./cms/static/js/factories/edit_tabs.js 697 bytes {10} [built]
    [./cms/static/js/factories/library.js] ./cms/static/js/factories/library.js 984 bytes {8} [built]
    [./cms/static/js/factories/textbooks.js] ./cms/static/js/factories/textbooks.js 880 bytes {12} [built]
    [./cms/static/js/factories/xblock_validation.js] ./cms/static/js/factories/xblock_validation.js 695 bytes {16} [built]
    [./cms/static/js/features/import/factories/import.js] ./cms/static/js/features/import/factories/import.js 5.62 kB {4} [built]
    [./cms/static/js/features_jsx/studio/CourseOrLibraryListing.jsx] ./cms/static/js/features_jsx/studio/CourseOrLibraryListing.jsx 3.29 kB {34} [built]
    [./cms/static/js/sock.js] ./cms/static/js/sock.js 1.1 kB {41} [built]
    [./common/static/js/src/CookiePolicyBanner.jsx] ./common/static/js/src/CookiePolicyBanner.jsx 205 bytes {0} [built]
    [./common/static/xmodule/descriptors/js/000-b82f6c436159f6bc7ca2513e29e82503.js] ./common/static/xmodule/descriptors/js/000-b82f6c436159f6bc7ca2513e29e82503.js 3.23 kB {68} [built]
    [./common/static/xmodule/modules/js/000-b82f6c436159f6bc7ca2513e29e82503.js] ./common/static/xmodule/modules/js/000-b82f6c436159f6bc7ca2513e29e82503.js 3.23 kB {68} [built]
    [./lms/djangoapps/instructor/static/instructor/ProblemBrowser/index.jsx] ./lms/djangoapps/instructor/static/instructor/ProblemBrowser/index.jsx 358 bytes {11} [built]
       [4] multi ./common/static/xmodule/descriptors/js/000-b82f6c436159f6bc7ca2513e29e82503.js ./common/static/xmodule/descriptors/js/001-19c4723cecaa5a5a46b8566b3544e732.js 40 bytes {36} {37} {38} {39} [built]
       [5] multi ./common/static/xmodule/modules/js/000-b82f6c436159f6bc7ca2513e29e82503.js ./common/static/xmodule/modules/js/001-3ed86006526f75d6c844739193a84c11.js ./common/static/xmodule/modules/js/002-31cfd154365a170dbcdc281a92249889.js ./common/static/xmodule/modules/js/003-b3206f2283964743c4772b9d72c67d64.js ./common/static/xmodule/modules/js/004-274b8109ca3426c2a6fde9ec2c56e969.js ./common/static/xmodule/modules/js/005-26caba6f71877f63a7dd4f6796109bf6.js 88 bytes {23} {24} {25} {26} [built]
        + 1500 hidden modules
Child
    Hash: a4f5505d8b7ed49bebef
    Time: 25704ms
                             Asset    Size  Chunks                    Chunk Names
    edx-proctoring-proctortrack.js  290 kB       0  [emitted]  [big]  edx-proctoring-proctortrack
      [19] ./~/core-js/modules/_core.js 124 bytes {0} [built]
      [92] ./~/core-js/modules/es6.array.iterator.js 1.09 kB {0} [built]
     [124] ./~/core-js/modules/es6.map.js 650 bytes {0} [built]
     [125] ./~/core-js/modules/es6.regexp.exec.js 179 bytes {0} [built]
     [126] ./~/core-js/modules/es6.regexp.flags.js 200 bytes {0} [built]
     [127] ./~/core-js/modules/es6.set.js 489 bytes {0} [built]
     [128] ./~/core-js/modules/es6.weak-map.js 2.02 kB {0} [built]
     [129] (webpack)/buildin/global.js 492 bytes {0} [built]
     [130] ./~/babel-polyfill/lib/index.js 833 bytes {0} [built]
     [131] ./~/edx-proctoring-proctortrack/edx_proctoring_proctortrack/static/proctortrack_custom.js 6.44 kB {0} [built]
     [132] ./~/@edx/edx-proctoring/edx_proctoring/static/index.js 1.52 kB {0} [built]
     [133] ./~/babel-polyfill/~/regenerator-runtime/runtime.js 24.2 kB {0} [built]
     [134] ./~/core-js/fn/regexp/escape.js 108 bytes {0} [built]
     [333] ./~/core-js/shim.js 8.42 kB {0} [built]
     [334] multi babel-polyfill ./~/edx-proctoring-proctortrack/edx_proctoring_proctortrack/static/proctortrack_custom.js 40 bytes {0} [built]
        + 320 hidden modules
Child
    Hash: 6665102f37c691864dd1
    Time: 143493ms
                                   Asset       Size          Chunks                    Chunk Names
                   CookiePolicyBanner.js     999 kB               0  [emitted]  [big]  CookiePolicyBanner
               EntitlementSupportPage.js     514 kB               1  [emitted]  [big]  EntitlementSupportPage
                ProgramDetailsFactory.js     710 kB               2  [emitted]  [big]  ProgramDetailsFactory
                    VideoBlockPreview.js     716 kB               3  [emitted]  [big]  VideoBlockPreview
                               Import.js     604 kB               4  [emitted]  [big]  Import
                   EntitlementFactory.js     604 kB               5  [emitted]  [big]  EntitlementFactory
         DemographicsCollectionBanner.js     184 kB        6, 7, 13  [emitted]         DemographicsCollectionBanner
          DemographicsCollectionModal.js     172 kB           7, 13  [emitted]         DemographicsCollectionModal
                 js/factories/library.js     953 kB               8  [emitted]  [big]  js/factories/library
               js/factories/container.js     941 kB               9  [emitted]  [big]  js/factories/container
               js/factories/edit_tabs.js     900 kB          10, 61  [emitted]  [big]  js/factories/edit_tabs
                       ProblemBrowser.js     186 kB              11  [emitted]         ProblemBrowser
               js/factories/textbooks.js     372 kB              12  [emitted]  [big]  js/factories/textbooks
                 AxiosJwtTokenService.js    78.1 kB              13  [emitted]         AxiosJwtTokenService
         EnterpriseLearnerPortalModal.js    31.9 kB              14  [emitted]         EnterpriseLearnerPortalModal
                   ProgramListFactory.js      40 kB              15  [emitted]         ProgramListFactory
       js/factories/xblock_validation.js    39.2 kB              16  [emitted]         js/factories/xblock_validation
    StudentAccountDeletionInitializer.js     309 kB      17, 21, 33  [emitted]  [big]  StudentAccountDeletionInitializer
                    SingleSupportForm.js     284 kB              18  [emitted]  [big]  SingleSupportForm
            LibrarySourcedBlockPicker.js    31.1 kB              19  [emitted]         LibrarySourcedBlockPicker
                WordCloudBlockPreview.js     148 kB              20  [emitted]         WordCloudBlockPreview
               StudentAccountDeletion.js     180 kB              21  [emitted]         StudentAccountDeletion
                  VerticalStudentView.js    8.48 kB          22, 56  [emitted]         VerticalStudentView
                    AboutBlockPreview.js    24.4 kB  23, 24, 25, 26  [emitted]         AboutBlockPreview
               CourseInfoBlockPreview.js    24.4 kB  24, 23, 25, 26  [emitted]         CourseInfoBlockPreview
                     HtmlBlockPreview.js    24.4 kB  25, 23, 24, 26  [emitted]         HtmlBlockPreview
                StaticTabBlockPreview.js    24.4 kB  26, 23, 24, 25  [emitted]         StaticTabBlockPreview
                  ProblemBlockPreview.js     118 kB              27  [emitted]         ProblemBlockPreview
                    AnnouncementsView.js     259 kB              28  [emitted]  [big]  AnnouncementsView
                       AlertStatusBar.js     278 kB              29  [emitted]  [big]  AlertStatusBar
              ConditionalBlockPreview.js    6.56 kB              30  [emitted]         ConditionalBlockPreview
              AnnotatableBlockPreview.js    10.1 kB              31  [emitted]         AnnotatableBlockPreview
                     PollBlockPreview.js      12 kB              32  [emitted]         PollBlockPreview
                        ReactRenderer.js     128 kB              33  [emitted]         ReactRenderer
               CourseOrLibraryListing.js     125 kB              34  [emitted]         CourseOrLibraryListing
            PasswordResetConfirmation.js     167 kB              35  [emitted]         PasswordResetConfirmation
                     AboutBlockStudio.js    18.3 kB  36, 37, 38, 39  [emitted]         AboutBlockStudio
                CourseInfoBlockStudio.js    18.3 kB  37, 36, 38, 39  [emitted]         CourseInfoBlockStudio
                      HtmlBlockStudio.js    18.3 kB  38, 36, 37, 39  [emitted]         HtmlBlockStudio
                 StaticTabBlockStudio.js    18.3 kB  39, 36, 37, 38  [emitted]         StaticTabBlockStudio
    LinkProgramEnrollmentsSupportPage.js     134 kB              40  [emitted]         LinkProgramEnrollmentsSupportPage
                              js/sock.js    4.58 kB              41  [emitted]         js/sock
                      LTIBlockPreview.js    1.13 kB              42  [emitted]         LTIBlockPreview
                 SequenceBlockPreview.js    9.11 kB              43  [emitted]         SequenceBlockPreview
               AnnotatableBlockStudio.js  974 bytes          44, 45  [emitted]         AnnotatableBlockStudio
                 CustomTagBlockStudio.js  974 bytes          45, 44  [emitted]         CustomTagBlockStudio
                     VideoBlockStudio.js    2.89 kB              46  [emitted]         VideoBlockStudio
               ConditionalBlockStudio.js  749 bytes          47, 48  [emitted]         ConditionalBlockStudio
                 SplitTestBlockStudio.js  749 bytes          48, 47  [emitted]         SplitTestBlockStudio
                       LTIBlockStudio.js  770 bytes          49, 50  [emitted]         LTIBlockStudio
                 WordCloudBlockStudio.js  770 bytes          50, 49  [emitted]         WordCloudBlockStudio
            LibraryContentBlockStudio.js  748 bytes              51  [emitted]         LibraryContentBlockStudio
                   ProblemBlockStudio.js    11.9 kB              52  [emitted]         ProblemBlockStudio
                  UnenrollmentFactory.js    5.83 kB              53  [emitted]         UnenrollmentFactory
       EntitlementUnenrollmentFactory.js    8.21 kB              54  [emitted]         EntitlementUnenrollmentFactory
                 RecommendationsPanel.js    14.2 kB              55  [emitted]         RecommendationsPanel
              CompletionOnViewService.js    4.23 kB              56  [emitted]         CompletionOnViewService
      ProgramEnrollmentsInspectorPage.js     137 kB              57  [emitted]         ProgramEnrollmentsInspectorPage
                             Currency.js    3.25 kB              58  [emitted]         Currency
          js/factories/context_course.js  580 bytes              59  [emitted]         js/factories/context_course
                           CourseSock.js    2.46 kB              60  [emitted]         CourseSock
                          XModuleShim.js    1.02 kB              61  [emitted]         XModuleShim
                     Static2UCallouts.js    8.01 kB              62  [emitted]         Static2UCallouts
                CustomTagBlockPreview.js  150 bytes              63  [emitted]         CustomTagBlockPreview
           LibraryContentBlockPreview.js  150 bytes              64  [emitted]         LibraryContentBlockPreview
                      PollBlockStudio.js  154 bytes              65  [emitted]         PollBlockStudio
                  SequenceBlockStudio.js  154 bytes              66  [emitted]         SequenceBlockStudio
                SplitTestBlockPreview.js  150 bytes              67  [emitted]         SplitTestBlockPreview
                              commons.js     416 kB              68  [emitted]  [big]  commons
    [./cms/static/js/factories/container.js] ./cms/static/js/factories/container.js 884 bytes {9} [built]
    [./cms/static/js/factories/context_course.js] ./cms/static/js/factories/context_course.js 76 bytes {59} [built]
    [./cms/static/js/factories/edit_tabs.js] ./cms/static/js/factories/edit_tabs.js 697 bytes {10} [built]
    [./cms/static/js/factories/library.js] ./cms/static/js/factories/library.js 984 bytes {8} [built]
    [./cms/static/js/factories/textbooks.js] ./cms/static/js/factories/textbooks.js 880 bytes {12} [built]
    [./cms/static/js/factories/xblock_validation.js] ./cms/static/js/factories/xblock_validation.js 695 bytes {16} [built]
    [./cms/static/js/features/import/factories/import.js] ./cms/static/js/features/import/factories/import.js 5.62 kB {4} [built]
    [./cms/static/js/features_jsx/studio/CourseOrLibraryListing.jsx] ./cms/static/js/features_jsx/studio/CourseOrLibraryListing.jsx 3.29 kB {34} [built]
    [./cms/static/js/sock.js] ./cms/static/js/sock.js 1.1 kB {41} [built]
    [./common/static/js/src/CookiePolicyBanner.jsx] ./common/static/js/src/CookiePolicyBanner.jsx 205 bytes {0} [built]
    [./common/static/xmodule/descriptors/js/000-b82f6c436159f6bc7ca2513e29e82503.js] ./common/static/xmodule/descriptors/js/000-b82f6c436159f6bc7ca2513e29e82503.js 3.23 kB {68} [built]
    [./common/static/xmodule/modules/js/000-b82f6c436159f6bc7ca2513e29e82503.js] ./common/static/xmodule/modules/js/000-b82f6c436159f6bc7ca2513e29e82503.js 3.23 kB {68} [built]
    [./lms/djangoapps/instructor/static/instructor/ProblemBrowser/index.jsx] ./lms/djangoapps/instructor/static/instructor/ProblemBrowser/index.jsx 358 bytes {11} [built]
       [4] multi ./common/static/xmodule/descriptors/js/000-b82f6c436159f6bc7ca2513e29e82503.js ./common/static/xmodule/descriptors/js/001-19c4723cecaa5a5a46b8566b3544e732.js 40 bytes {36} {37} {38} {39} [built]
       [5] multi ./common/static/xmodule/modules/js/000-b82f6c436159f6bc7ca2513e29e82503.js ./common/static/xmodule/modules/js/001-3ed86006526f75d6c844739193a84c11.js ./common/static/xmodule/modules/js/002-31cfd154365a170dbcdc281a92249889.js ./common/static/xmodule/modules/js/003-b3206f2283964743c4772b9d72c67d64.js ./common/static/xmodule/modules/js/004-274b8109ca3426c2a6fde9ec2c56e969.js ./common/static/xmodule/modules/js/005-26caba6f71877f63a7dd4f6796109bf6.js 88 bytes {23} {24} {25} {26} [built]
        + 1500 hidden modules
Child
    Hash: a4f5505d8b7ed49bebef
    Time: 25805ms
                             Asset    Size  Chunks                    Chunk Names
    edx-proctoring-proctortrack.js  290 kB       0  [emitted]  [big]  edx-proctoring-proctortrack
      [19] ./~/core-js/modules/_core.js 124 bytes {0} [built]
      [92] ./~/core-js/modules/es6.array.iterator.js 1.09 kB {0} [built]
     [124] ./~/core-js/modules/es6.map.js 650 bytes {0} [built]
     [125] ./~/core-js/modules/es6.regexp.exec.js 179 bytes {0} [built]
     [126] ./~/core-js/modules/es6.regexp.flags.js 200 bytes {0} [built]
     [127] ./~/core-js/modules/es6.set.js 489 bytes {0} [built]
     [128] ./~/core-js/modules/es6.weak-map.js 2.02 kB {0} [built]
     [129] (webpack)/buildin/global.js 492 bytes {0} [built]
     [130] ./~/babel-polyfill/lib/index.js 833 bytes {0} [built]
     [131] ./~/edx-proctoring-proctortrack/edx_proctoring_proctortrack/static/proctortrack_custom.js 6.44 kB {0} [built]
     [132] ./~/@edx/edx-proctoring/edx_proctoring/static/index.js 1.52 kB {0} [built]
     [133] ./~/babel-polyfill/~/regenerator-runtime/runtime.js 24.2 kB {0} [built]
     [134] ./~/core-js/fn/regexp/escape.js 108 bytes {0} [built]
     [333] ./~/core-js/shim.js 8.42 kB {0} [built]
     [334] multi babel-polyfill ./~/edx-proctoring-proctortrack/edx_proctoring_proctortrack/static/proctortrack_custom.js 40 bytes {0} [built]
        + 320 hidden modules
python manage.py lms --settings=production compile_sass lms 
---> pavelib.assets.compile_sass
		Started compiling Sass:
Finished compiling 'common' sass.
Started compiling 'lms' Sass for '/edx/app/edxapp/edx-platform/themes/red-theme'.
mkdir_p path('/edx/app/edxapp/edx-platform/themes/red-theme/lms/static/css')
rtlcss /edx/app/edxapp/edx-platform/themes/red-theme/lms/static/css/bootstrap/lms-main.css /edx/app/edxapp/edx-platform/themes/red-theme/lms/static/css/bootstrap/lms-main-rtl.css
Saving: /edx/app/edxapp/edx-platform/themes/red-theme/lms/static/css/bootstrap/lms-main-rtl.css
rtlcss /edx/app/edxapp/edx-platform/themes/red-theme/lms/static/css/discussion/lms-discussion-bootstrap.css /edx/app/edxapp/edx-platform/themes/red-theme/lms/static/css/discussion/lms-discussion-bootstrap-rtl.css
Saving: /edx/app/edxapp/edx-platform/themes/red-theme/lms/static/css/discussion/lms-discussion-bootstrap-rtl.css


Captured Task Output:
---------------------

---> pavelib.assets.compile_sass
mkdir_p path('/edx/app/edxapp/edx-platform/themes/red-theme/lms/static/css')
rtlcss /edx/app/edxapp/edx-platform/themes/red-theme/lms/static/css/bootstrap/lms-main.css /edx/app/edxapp/edx-platform/themes/red-theme/lms/static/css/bootstrap/lms-main-rtl.css
rtlcss /edx/app/edxapp/edx-platform/themes/red-theme/lms/static/css/discussion/lms-discussion-bootstrap.css /edx/app/edxapp/edx-platform/themes/red-theme/lms/static/css/discussion/lms-discussion-bootstrap-rtl.css
Traceback (most recent call last):
  File "/edx/app/edxapp/venvs/edxapp/lib/python3.8/site-packages/paver/tasks.py", line 201, in _run_task
    return do_task()
  File "/edx/app/edxapp/venvs/edxapp/lib/python3.8/site-packages/paver/tasks.py", line 198, in do_task
    return func(**kw)
  File "/edx/app/edxapp/edx-platform/pavelib/utils/timer.py", line 40, in timed
    return wrapped(*args, **kwargs)
  File "/edx/app/edxapp/edx-platform/pavelib/assets.py", line 495, in compile_sass
    is_successful = _compile_sass(
  File "/edx/app/edxapp/edx-platform/pavelib/assets.py", line 580, in _compile_sass
    sass.compile(
  File "/edx/app/edxapp/venvs/edxapp/lib/python3.8/site-packages/sass.py", line 644, in compile
    raise CompileError(v)
sass.CompileError: b"Error: File to import not found or unreadable: vendor/bi-app/bi-app-ltr\n       Parent style sheet: /edx/app/edxapp/edx-platform/common/static/xmodule/modules/scss/_000-084f4d52cb35d3eb746225bf6e140a50.scss\n        on line 21 of common/static/xmodule/modules/scss/_000-084f4d52cb35d3eb746225bf6e140a50.scss\n>> @import 'vendor/bi-app/bi-app-ltr';\n   ^\n"



Captured Task Output:
---------------------

---> pavelib.assets.update_assets
---> pavelib.prereqs.install_node_prereqs
---> pavelib.assets.process_xmodule_assets
---> pavelib.prereqs.install_python_prereqs
xmodule_assets common/static/xmodule
mkdir_p path('common/static/common/js/vendor')
mkdir_p path('common/static/common/css')
mkdir_p path('common/static/common/css/vendor')
/bin/cp -rf node_modules/backbone.paginator/lib/backbone.paginator.js common/static/common/js/vendor
/bin/cp -rf node_modules/backbone/backbone.js common/static/common/js/vendor
/bin/cp -rf node_modules/bootstrap/dist/js/bootstrap.bundle.js common/static/common/js/vendor
/bin/cp -rf node_modules/hls.js/dist/hls.js common/static/common/js/vendor
/bin/cp -rf node_modules/jquery-migrate/dist/jquery-migrate.js common/static/common/js/vendor
/bin/cp -rf node_modules/jquery.scrollto/jquery.scrollTo.js common/static/common/js/vendor
/bin/cp -rf node_modules/jquery/dist/jquery.js common/static/common/js/vendor
/bin/cp -rf node_modules/moment-timezone/builds/moment-timezone-with-data.js common/static/common/js/vendor
/bin/cp -rf node_modules/moment/min/moment-with-locales.js common/static/common/js/vendor
/bin/cp -rf node_modules/picturefill/dist/picturefill.js common/static/common/js/vendor
/bin/cp -rf node_modules/requirejs/require.js common/static/common/js/vendor
/bin/cp -rf node_modules/underscore.string/dist/underscore.string.js common/static/common/js/vendor
/bin/cp -rf node_modules/underscore/underscore.js common/static/common/js/vendor
/bin/cp -rf node_modules/@edx/studio-frontend/dist/courseOutlineHealthCheck.min.css common/static/common/css/vendor
/bin/cp -rf node_modules/@edx/studio-frontend/dist/accessibilityPolicy.min.css common/static/common/css/vendor
/bin/cp -rf node_modules/@edx/studio-frontend/dist/runtime.min.js.map common/static/common/js/vendor
/bin/cp -rf node_modules/@edx/studio-frontend/dist/assets.min.js.map common/static/common/js/vendor
/bin/cp -rf node_modules/@edx/studio-frontend/dist/i18nMessages.min.js.map common/static/common/js/vendor
/bin/cp -rf node_modules/@edx/studio-frontend/dist/common.min.css common/static/common/css/vendor
/bin/cp -rf node_modules/@edx/studio-frontend/dist/courseOutlineHealthCheck.min.js common/static/common/js/vendor
/bin/cp -rf node_modules/@edx/studio-frontend/dist/accessibilityPolicy.min.js.map common/static/common/js/vendor
/bin/cp -rf node_modules/@edx/studio-frontend/dist/editImageModal.min.js common/static/common/js/vendor
/bin/cp -rf node_modules/@edx/studio-frontend/dist/assets.min.js common/static/common/js/vendor
/bin/cp -rf node_modules/@edx/studio-frontend/dist/courseHealthCheck.min.js.map common/static/common/js/vendor
/bin/cp -rf node_modules/@edx/studio-frontend/dist/common.min.js common/static/common/js/vendor
/bin/cp -rf node_modules/@edx/studio-frontend/dist/assets.min.css common/static/common/css/vendor
/bin/cp -rf node_modules/@edx/studio-frontend/dist/common.min.js.map common/static/common/js/vendor
/bin/cp -rf node_modules/@edx/studio-frontend/dist/accessibilityPolicy.min.js common/static/common/js/vendor
/bin/cp -rf node_modules/@edx/studio-frontend/dist/courseHealthCheck.min.css common/static/common/css/vendor
/bin/cp -rf node_modules/@edx/studio-frontend/dist/editImageModal.min.css common/static/common/css/vendor
/bin/cp -rf node_modules/@edx/studio-frontend/dist/runtime.min.js common/static/common/js/vendor
/bin/cp -rf node_modules/@edx/studio-frontend/dist/courseHealthCheck.min.js common/static/common/js/vendor
/bin/cp -rf node_modules/@edx/studio-frontend/dist/i18nMessages.min.js common/static/common/js/vendor
/bin/cp -rf node_modules/@edx/studio-frontend/dist/editImageModal.min.js.map common/static/common/js/vendor
/bin/cp -rf node_modules/@edx/studio-frontend/dist/courseOutlineHealthCheck.min.js.map common/static/common/js/vendor
/bin/cp -rf node_modules/@edx/studio-frontend/dist/i18n/messages/fr.json common/static/common/js/vendor
/bin/cp -rf node_modules/@edx/studio-frontend/dist/i18n/messages/ar.json common/static/common/js/vendor
/bin/cp -rf node_modules/@edx/studio-frontend/dist/i18n/messages/es_419.json common/static/common/js/vendor
/bin/cp -rf node_modules/@edx/studio-frontend/dist/i18n/messages/zh_CN.json common/static/common/js/vendor
/bin/cp -rf node_modules/which-country/index.js common/static/common/js/vendor
/bin/cp -rf node_modules/sinon/pkg/sinon.js common/static/common/js/vendor
/bin/cp -rf node_modules/squirejs/src/Squire.js common/static/common/js/vendor
---> pavelib.assets.webpack
python manage.py lms --settings=production print_setting STATIC_ROOT WEBPACK_CONFIG_PATH 2>/edx/app/edxapp/edx-platform/test_root/log/print_settings.log
python manage.py cms --settings=production print_setting STATIC_ROOT 2>/edx/app/edxapp/edx-platform/test_root/log/print_settings.log
python manage.py cms --settings=production print_setting JS_ENV_EXTRA_CONFIG 2>/edx/app/edxapp/edx-platform/test_root/log/print_settings.log --json
NODE_ENV=production STATIC_ROOT_LMS=/edx/var/edxapp/staticfiles STATIC_ROOT_CMS=/edx/var/edxapp/staticfiles/studio JS_ENV_EXTRA_CONFIG="{}" $(npm bin)/webpack --config=webpack.prod.config.js
python manage.py lms --settings=production compile_sass lms 

Build failed running pavelib.assets.update_assets: Subprocess return code: 1

@kdmccormick
Copy link
Member

kdmccormick commented May 4, 2023

Based on this part of the logs (edited for readability):

mkdir_p path('/edx/app/edxapp/edx-platform/themes/red-theme/lms/static/css')
rtlcss /edx/app/edxapp/edx-platform/themes/red-theme/lms/static/css/bootstrap/lms-main.css /edx/app/edxapp/edx-platform/themes/red-theme/lms/static/css/bootstrap/lms-main-rtl.css
rtlcss /edx/app/edxapp/edx-platform/themes/red-theme/lms/static/css/discussion/lms-discussion-bootstrap.css /edx/app/edxapp/edx-platform/themes/red-theme/lms/static/css/discussion/lms-discussion-bootstrap-rtl.css
Traceback (most recent call last):
  ....
  File "/edx/app/edxapp/edx-platform/pavelib/assets.py", line 495, in compile_sass
    is_successful = _compile_sass(
  File "/edx/app/edxapp/edx-platform/pavelib/assets.py", line 580, in _compile_sass
    sass.compile(
  File "/edx/app/edxapp/venvs/edxapp/lib/python3.8/site-packages/sass.py", line 644, in compile
    raise CompileError(v), sass.CompileError: b"
      Error: File to import not found or unreadable: vendor/bi-app/bi-app-ltr
         Parent style sheet: /edx/app/edxapp/edx-platform/common/static/xmodule/modules/scss/_000-084f4d52cb35d3eb746225bf6e140a50.scss
          on line 21 of common/static/xmodule/modules/scss/_000-084f4d52cb35d3eb746225bf6e140a50.scss
          >> @import 'vendor/bi-app/bi-app-ltr';
             ^"

I believe it's compilation of red-theme that's failing. I would not be surprised if other comprehensive themes would break in the same way.

@andrey-canon We're reverting now to unblock edx.org, but when you have a chance, would you be able to make a patched PR to re-merge this? Tutor comes with an indigo theme plugin install which we could use to test themed CSS.

@connorhaugh connorhaugh merged commit b9be2b1 into master May 4, 2023
@connorhaugh connorhaugh deleted the revert-32018-and/decople_xmodule_styles branch May 4, 2023 13:59
@edx-pipeline-bot
Copy link
Contributor

EdX Release Notice: This PR has been deployed to the staging environment in preparation for a release to production.

@edx-pipeline-bot
Copy link
Contributor

EdX Release Notice: This PR has been deployed to the production environment.

@kdmccormick
Copy link
Member

Will re-merge in: #32188

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.

3 participants