Open Bug 1974708 Opened 1 year ago Updated 1 year ago

Lando patch failed to apply with accent characters

Categories

(Developer Infrastructure :: Try, defect)

defect

Tracking

(Not tracked)

People

(Reporter: eri, Unassigned)

References

(Blocks 1 open bug)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:139.0) Gecko/20100101 Firefox/139.0

Steps to reproduce:

Create a change including accent characters (or changing them, since they would also be part of the diff), for example:

--- a/testing/web-platform/tests/mathml/presentation-markup/mrow/dynamic-mrow-like-001.html
+++ b/testing/web-platform/tests/mathml/presentation-markup/mrow/dynamic-mrow-like-001.html
@@ -67,6 +67,8 @@
     <li><math><none class="testedElement"><mn>X</mn><mn>p</mn><mn>É</mn></none></math></li>
     <li><math><mprescripts class="testedElement"></mprescripts></math></li>
     <li><math><mprescripts class="testedElement"><mn>X</mn><mn>p</mn><mn>É</mn></mprescripts></math></li>
+    <li><math><mfenced class="testedElement"></mfenced></math></li>
+    <li><math><mfenced class="testedElement"><mn>X</mn><mn>p</mn><mn>É</mn></mfenced></math></li>
   </ol>
 </body>
 </html>

Then send it to the try server with mach try.

Actual results:

The job fails (see https://treeherder.mozilla.org/jobs?repo=try&landoCommitID=139772), and an email containing an error is sent. This is the same email as https://bugzilla.mozilla.org/show_bug.cgi?id=1970501.

Your request to land try push with tip commit 'Bug 1958853 - Render unknown MathML elements as an mrow. r?fredw' failed.

Reason:
Problem while applying patch in revision None:

hg error in cmd: hg import --no-commit -s 95 /tmp/tmp57ddqz1u: applying /tmp/tmp57ddqz1u

patching file testing/web-platform/tests/mathml/presentation-markup/mrow/dynamic-mrow-like-001.html
Hunk #1 FAILED at 66
1 out of 1 hunks FAILED -- saving rejects to file testing/web-platform/tests/mathml/presentation-markup/mrow/dynamic-mrow-like-001.html.rej
abort: patch failed to apply

Expected results:

The patch should apply correctly with non-ascii characters and the test should run.

The severity field is not set for this bug.
:marco, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(mcastelluccio)
Severity: -- → S3
Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: needinfo?(mcastelluccio)
You need to log in before you can comment on or make changes to this bug.