Closed Bug 1641742 Opened 6 months ago Closed 6 months ago

error running ./mach reftest on android x64 build in emulator

Categories

(Testing :: Reftest, defect)

defect

Tracking

(firefox76 unaffected, firefox77 unaffected, firefox78 fixed)

RESOLVED FIXED
mozilla78
Tracking Status
firefox76 --- unaffected
firefox77 --- unaffected
firefox78 --- fixed

People

(Reporter: tnikkel, Assigned: bc)

References

(Blocks 1 open bug, Regression)

Details

Attachments

(1 file)

Error running mach:

['reftest']

The error occurred in code that was called by the mach command. This is either
a bug in the called code itself or in the way that mach is calling it.
You can invoke |./mach busted| to check if this issue is already on file. If it
isn't, please use |./mach busted file| to report it. If |./mach busted| is
misbehaving, you can also inspect the dependencies of bug 1543241.

If filing a bug, please include the full output of mach, including this error
message.

The details of the failure are as follows:

TypeError: cannot use a string pattern on a bytes-like object

File "/Users/tim/ffandroid/src/layout/tools/reftest/mach_commands.py", line 208, in run_reftest
return self._run_reftest(**kwargs)
File "/Users/tim/ffandroid/src/layout/tools/reftest/mach_commands.py", line 241, in _run_reftest
return reftest.run_android_test(**kwargs)
File "/Users/tim/ffandroid/src/layout/tools/reftest/mach_commands.py", line 168, in run_android_test
rv = remotereftest.run_test_harness(parser, args)
File "/Users/tim/ffandroid/src/obj-x86_64-unknown-linux-android/_tests/reftest/remotereftest.py", line 402, in run_test_harness
parser.validate_remote(options)
File "/Users/tim/ffandroid/src/layout/tools/reftest/reftestcommandline.py", line 507, in validate_remote
options.remoteWebServer = self.get_ip()
File "/Users/tim/ffandroid/src/layout/tools/reftest/reftestcommandline.py", line 285, in get_ip
return moznetwork.get_ip()
File "/Users/tim/ffandroid/src/testing/mozbase/moznetwork/moznetwork/moznetwork.py", line 145, in get_ip
ip = _parse_ifconfig()
File "/Users/tim/ffandroid/src/testing/mozbase/moznetwork/moznetwork/moznetwork.py", line 77, in _parse_ifconfig
r'interface: (\w+)')
File "/Users/tim/ffandroid/src/testing/mozbase/moznetwork/moznetwork/moznetwork.py", line 66, in _proc_matches
return re.findall(regex, output)
File "/usr/local/Cellar/python/3.7.7/Frameworks/Python.framework/Versions/3.7/lib/python3.7/re.py", line 223, in findall
return _compile(pattern, flags).findall(string)

Component: General → Reftest
Product: Firefox Build System → Testing
Regressed by: 1638981
Assignee: nobody → bob
Status: NEW → ASSIGNED
Pushed by bclary@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/e88606e989ec
mark mach reftest as Python 2 only again, r=gbrown.
Status: ASSIGNED → RESOLVED
Closed: 6 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla78
You need to log in before you can comment on or make changes to this bug.