Open Bug 1454943 Opened 7 years ago Updated 2 years ago

..\testing\mozbase\mozrunner\tests\test_interactive.py [firefox] TEST-UNEXPECTED-FAIL if Unicode in profile name

Categories

(Testing :: Mozbase, defect, P5)

Version 3
All
Windows
defect

Tracking

(Not tracked)

People

(Reporter: intermittent-bug-filer, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: regression, regressionwindow-wanted)

It fails all in Popen and looks to be a recent regression because it was working some days ago: > 10:15:48 INFO - self = <subprocess.Popen object at 0x00000000043B4D30> > 10:15:48 INFO - args = 'z:/build/build/src/obj-firefox\\dist\\bin\\firefox.exe --headless -profile c:\\users\\task_1524041731\\appdata\\local\\temp\\tmp1ertyb.mozrunner\U0001f36a' [..] > 10:15:48 INFO - E UnicodeEncodeError: 'ascii' codec can't encode characters in position 135-136: ordinal not in range(128) > 10:15:48 INFO - c:\mozilla-build\python\Lib\subprocess.py:640: UnicodeEncodeError Andrew, might your large refactoring on bug 1445944 have caused this?
Flags: needinfo?(ahalberstadt)
It's certainly possible, though I don't understand why it would make a difference as far as unicode is concerned. So to clarify it consistently fails when there's unicode in the profile name, but somehow we intermittently have unicode profiles? How does that happen? Or is the "Intermittent" part of this bug just added by the bug filer, and the unicode paths haven't landed yet?
Flags: needinfo?(ahalberstadt)
Right, as long as the patch on bug 918097 cannot land, there will not be a Unicode character present, and the failure is not visible on Treeherder. And I just filed it with the intermittent bug filer based on my try push.
Please note that those failures only happen on Windows in that try build. This is most likely due to bug 1065583.
OS: Unspecified → Windows
Hardware: Unspecified → All
So, it's not intermittent. 100% of the time, if a non-ascii character is in the profile name, we fail. We don't intermittently have one in the profile name, and even if we did randomly include either 0 or 1 non-ascii character in the profile name, it still wouldn't be intermittent.
Summary: Intermittent ..\testing\mozbase\mozrunner\tests\test_interactive.py [firefox] TEST-UNEXPECTED-FAIL if Unicode in profile name → ..\testing\mozbase\mozrunner\tests\test_interactive.py [firefox] TEST-UNEXPECTED-FAIL if Unicode in profile name
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.