Closed Bug 1809200 Opened 2 years ago Closed 11 months ago

edge case where we successfully run a manifest of tests, but do not report to errorsummary.json

Categories

(Testing :: General, defect, P3)

Default
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jmaher, Unassigned)

References

(Blocks 1 open bug)

Details

osx xorig:
TEST-START | extensions/formautofill/test/mochitest/test_address_level_1_submission.html

osx regular:
TEST-START | browser/extensions/formautofill/test/mochitest/test_address_level_1_submission.html

so we strip browser/ for xorig, that is probably somewhat related.

ok, this seems to be when the path starts with browser/, all other instances seem to be showing up. I haven't found code that specifically strips this, but there are many layers in manifest parsing, url munging, and then reporting from the test -> js harness -> stdout -> python harness -> different log files.

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)
Severity: -- → S3
Priority: -- → P3
Flags: needinfo?(ahal)

this appears to be fixed; I recall fixing something like this a few months ago, but cannot find the bug/change too easily.

Status: NEW → RESOLVED
Closed: 11 months ago
Resolution: --- → FIXED

Any chance we could add some test case to make this no longer happen?
Can we easily find the changeset that fixed this by looking at past logs?

Flags: needinfo?(jmaher)

this was fixed with Bug 1844880. As for unittests, the fix was:

     TEST_PATH_PREFIXES = [
         r"^/tests/",
-        r"^\w+://[\w\.]+(:\d+)?(/\w+)?/(tests?|a11y|chrome|browser)/",
+        r"^\w+://[\w\.]+(:\d+)?(/\w+)?/(tests?|a11y|chrome)/",
+        r"^\w+://[\w\.]+(:\d+)?(/\w+)?/(tests?|browser)/",
     ]

I am not sure if we could make a foolproof unittest for avoiding namespace conflicts.

Flags: needinfo?(jmaher)
Depends on: 1844880
You need to log in before you can comment on or make changes to this bug.