Bug 2013416

Summary: Multiple assets emit different content to the same filename
Product: OpenShift Container Platform Reporter: ralpert
Component: Management ConsoleAssignee: Cyril <cajieh>
Status: CLOSED ERRATA QA Contact: Yanping Zhang <yanpzhan>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.10CC: aos-bugs, cajieh, spadgett, yapei
Target Milestone: ---   
Target Release: 4.10.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-03-10 16:18:42 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description ralpert 2021-10-12 19:38:22 UTC
Description of problem:
When running yarn run dev, any updates to the code cause the following error messages on the command line, as well as on the UI of OpenShift:
WARNING in Conflict: Multiple assets emit different content to the same filename app-bundle.6b84b2fcf514c70faeb2.css.map

WARNING in Conflict: Multiple assets emit different content to the same filename app-bundle.c96f6392f57648b732df.css.map

WARNING in Conflict: Multiple assets emit different content to the same filename app-bundle.a2cc99bf07991a527fe0.css.map

WARNING in Conflict: Multiple assets emit different content to the same filename app-bundle.ddc1cc802dfb73589528.css.map

WARNING in Conflict: Multiple assets emit different content to the same filename app-bundle.fe3a9ffe8f185357842b.css.map

WARNING in Conflict: Multiple assets emit different content to the same filename app-bundle.3378bc3bf3c652e8733d.css.map

WARNING in Conflict: Multiple assets emit different content to the same filename app-bundle.0cfe74c2f4ee7c361b3f.css.map

WARNING in Conflict: Multiple assets emit different content to the same filename app-bundle.159bf3eafa8a73cd185a.css.map

WARNING in Conflict: Multiple assets emit different content to the same filename app-bundle.91cfc2c690a339ee0bb4.css.map

WARNING in Conflict: Multiple assets emit different content to the same filename app-bundle.172facb356843f1e312d.css.map

It makes it very difficult to develop since I have to restart yarn run dev whenever these messages appear.

Version-Release number of selected component (if applicable):
4.10

How reproducible:
Always

Steps to Reproduce:
1. Run yarn run dev
2. Make a code change

Actual results:
Error messages in command line and UI

Expected results:
No error messages

Additional info:
Jon Jackson said it seems to be an issue with the .css.map files generated  by mini-css-extract-plugin.

Comment 1 Jakub Hadvig 2021-10-13 07:27:41 UTC
This commit might be related to the issue https://github.com/openshift/console/commit/4116eb49f21e04b25f5c7bf5c1c5dbd7bba79c64

Comment 3 Yanping Zhang 2021-10-19 06:20:36 UTC
The fix is not included in payload 4.10.0-0.nightly-2021-10-16-173656 yet. Waiting for newer build.

Comment 4 Yanping Zhang 2021-10-26 13:40:54 UTC
No need to check the bug with nightly build. Pull console master branch code, then tested in console repo:
1. Run yarn run dev
2. Make a code change
Observe yarn command output, there is not warning:"WARNING in Conflict: Multiple assets emit different content to the same filename"

Comment 8 errata-xmlrpc 2022-03-10 16:18:42 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: OpenShift Container Platform 4.10.3 security update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2022:0056