Closed Bug 1371833 Opened 2 years ago Closed 2 years ago

sllight issue with mach test-info, most likely related to running on windows 10

Categories

(Testing :: General, defect)

defect
Not set

Tracking

(firefox56 fixed)

RESOLVED FIXED
mozilla56
Tracking Status
firefox56 --- fixed

People

(Reporter: jmaher, Assigned: gbrown)

Details

Attachments

(1 file)

$ ./mach test-info layout/xul/test/test_bug467442.xul
===== layout/xul/test/test_bug467442.xul =====
Found layout\xul\test\test_bug467442.xul in source control.
cat: backend.TestManifestBackend.in: No such file or directory
Build configuration changed. Regenerating backend.
layout\xul\test\test_bug467442.xul found in manifest layout/xul/test/chrome.ini
  flavor: chrome
  skip-if: os == 'android'
Querying ActiveData...
Error running mach:

    ['test-info', 'layout/xul/test/test_bug467442.xul']

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 should consider filing a bug for this issue.

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

The details of the failure are as follows:

error: bogus escape: u'\\x'

  File "c:\Users\elvis\mozilla-inbound\testing/mach_commands.py", line 961, in test_info
    self.set_test_name()
  File "c:\Users\elvis\mozilla-inbound\testing/mach_commands.py", line 1093, in set_test_name
    if re.match(p+"$", d['result']['test'])
  File "c:\mozilla-build\python\lib\re.py", line 141, in match
    return _compile(pattern, flags).match(string)
  File "c:\mozilla-build\python\lib\re.py", line 251, in _compile
    raise error, v # invalid expression

elvis@JMAHER-WIN10 ~/mozilla-inbound
Assignee: nobody → gbrown
This does no harm on linux.

Does it fix the issue for you, on Windows?
Attachment #8879737 - Flags: review?(jmaher)
Comment on attachment 8879737 [details] [diff] [review]
convert full test name to posix

Review of attachment 8879737 [details] [diff] [review]:
-----------------------------------------------------------------

nice
Attachment #8879737 - Flags: review?(jmaher) → review+
Pushed by gbrown@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/8d01b03df8f8
In 'mach test-info', use posix paths for queries; r=jmaher
https://hg.mozilla.org/mozilla-central/rev/8d01b03df8f8
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla56
You need to log in before you can comment on or make changes to this bug.