```
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)
```
Bug 1654868 Comment 0 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
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)
```