Closed
Bug 1654868
Opened 5 years ago
Closed 5 years ago
Can't run geckoview-junit on mac
Categories
(Testing :: Mozbase, defect, P2)
Testing
Mozbase
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1656412
People
(Reporter: agi, Unassigned)
Details
(Whiteboard: [dev-prod-2020])
Running ./mach geckoview-junit org.mozilla.geckoview.test.WebExtensionTest I get the following error:
TypeError: cannot use a string pattern on a bytes-like object
File "/Users/asferro/workspace/mozilla-central/testing/mochitest/mach_commands.py", line 497, in run_junit
return mochitest.run_geckoview_junit_test(self._mach_context, **kwargs)
File "/Users/asferro/workspace/mozilla-central/testing/mochitest/mach_commands.py", line 186, in run_geckoview_junit_test
return runjunit.run_test_harness(parser, options)
File "/Users/asferro/workspace/mozilla-central/objdir/_tests/testing/mochitest/runjunit.py", line 533, in run_test_harness
runner = JUnitTestRunner(log, options)
File "/Users/asferro/workspace/mozilla-central/objdir/_tests/testing/mochitest/runjunit.py", line 73, in __init__
self.server_init()
File "/Users/asferro/workspace/mozilla-central/objdir/_tests/testing/mochitest/runjunit.py", line 95, in server_init
self.options.remoteWebServer = moznetwork.get_ip()
File "/Users/asferro/workspace/mozilla-central/testing/mozbase/moznetwork/moznetwork/moznetwork.py", line 145, in get_ip
ip = _parse_ifconfig()
File "/Users/asferro/workspace/mozilla-central/testing/mozbase/moznetwork/moznetwork/moznetwork.py", line 76, in _parse_ifconfig
default_iface = _proc_matches(['route', '-n', 'get', 'default'],
File "/Users/asferro/workspace/mozilla-central/testing/mozbase/moznetwork/moznetwork/moznetwork.py", line 66, in _proc_matches
return re.findall(regex, output)
File "/usr/local/Cellar/python@3.8/3.8.3_2/Frameworks/Python.framework/Versions/3.8/lib/python3.8/re.py", line 241, in findall
return _compile(pattern, flags).findall(string)
Updated•5 years ago
|
Component: Mach Core → Mochitest
Product: Firefox Build System → Testing
Comment 1•5 years ago
|
||
The severity field is not set for this bug.
:ahal, could you have a look please?
For more information, please visit auto_nag documentation.
Flags: needinfo?(ahal)
Comment 2•5 years ago
|
||
Looks like it might be an issue in moznetwork.
Severity: -- → S3
Component: Mochitest → Mozbase
Flags: needinfo?(ahal)
Priority: -- → P2
Whiteboard: [dev-prod-2020]
Comment 3•5 years ago
|
||
Fixed by Bug 1656412 ? Agi: Can you confirm if this is fixed?
Flags: needinfo?(agi)
| Reporter | ||
Comment 4•5 years ago
|
||
it fixed! thank you.
Status: NEW → RESOLVED
Closed: 5 years ago
Flags: needinfo?(agi)
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•