Closed Bug 1757776 Opened 3 years ago Closed 3 years ago

"mach firefox-ui-functional" fails with "TypeError: argument of type 'NoneType' is not iterable"

Categories

(Testing :: Firefox UI Tests, defect, P2)

Default
defect
Points:
2

Tracking

(firefox-esr91 unaffected, firefox98 unaffected, firefox99 wontfix, firefox100 fixed)

RESOLVED FIXED
Tracking Status
firefox-esr91 --- unaffected
firefox98 --- unaffected
firefox99 --- wontfix
firefox100 --- fixed

People

(Reporter: whimboo, Assigned: whimboo)

References

(Regression)

Details

(Keywords: regression, Whiteboard: [bidi-m3-mvp])

Currently the code to set the MOZ_DISABLE_NONLOCAL_CONNECTIONS environment variable expects that test_tags are always set, but this is not the case when just running ./mach firefox-ui-functional:

➜  mach firefox-ui-functional                                                                                                                                                                           $(git_super_status)
Error running mach:

    ['firefox-ui-functional']

The error occurred in the implementation of the invoked mach command.

This should never occur and is likely a bug in the implementation of that
command.
You can invoke |./mach busted| to check if this issue is already on file. If it
isn't, please use |./mach busted file firefox-ui-functional| 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: argument of type 'NoneType' is not iterable

  File "/Users/henrik/code/gecko/testing/firefox-ui/mach_commands.py", line 115, in run_firefox_ui_functional
    return run_firefox_ui_test(
  File "/Users/henrik/code/gecko/testing/firefox-ui/mach_commands.py", line 68, in run_firefox_ui_test
    if "test_tags" in kwargs and "remote" not in kwargs.get("test_tags"):

Sentry event ID: 750cc53a4d194be1b069f671ff70d991
Sentry is attempting to send 0 pending error messages
Waiting up to 2 seconds
Press Ctrl-C to quit

When not specifying a tag with --tag [remote|local] the default applies and tests will get their tag assigned via the manifest file.

Maybe we should get the remaining local tests finally ported to Marionette tests (bug 1573410) and keep the remote ones only in firefox-ui. That way we won't have to make that decision based on test tag.

Depends on: 1573410
See Also: 1573410

Will be fixed soon by the upcoming patches on bug 1573410.

Assignee: nobody → hskupin
Points: --- → 2
Priority: -- → P2
Whiteboard: [bidi-m3-mvp]
Has Regression Range: --- → yes

The severity field is not set for this bug.
:whimboo, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(hskupin)
Status: NEW → ASSIGNED
Severity: -- → S3
Flags: needinfo?(hskupin)

Fixed by the refactoring of the firefox-ui harness on bug 1573410.

Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.