Closed Bug 1219082 Opened 4 years ago Closed 4 years ago

[mach try] AttributeError: 'AutoTry' object has no attribute 'resolver_func'

Categories

(Testing :: General, defect)

defect
Not set

Tracking

(firefox44 fixed)

RESOLVED FIXED
mozilla44
Tracking Status
firefox44 --- fixed

People

(Reporter: gerald, Unassigned)

References

Details

Attachments

(1 file)

> ./mach try --no-push -b do -p all dom/media/test

gives the following output:

> mach try is under development, please file bugs blocking 1149670.
> From _tests: Kept 41643 existing; Added/updated 0; Removed 0 files and 0 directories.
> Error running mach:
> 
>     ['try', '--no-push', '-b', 'do', '-p', 'all', 'dom/media/test']
> 
> 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:
> 
> AttributeError: 'AutoTry' object has no attribute 'resolver_func'
> 
>   File "testing/mach_commands.py", line 639, in autotry
>     paths_by_flavor = at.paths_by_flavor(paths=paths, tags=tags)
>   File "testing/tools/autotry/autotry.py", line 251, in paths_by_flavor
>     tests = list(self.resolver.resolve_tests(paths=paths,
>   File "testing/tools/autotry/autotry.py", line 188, in resolver
>     self._resolver = self.resolver_func
Bug 1219082 - Fix reference to "resolver_func" in mach try. r=jgraham
Attachment #8679764 - Flags: review?(james)
Wow, super quick!
I've tried your fix locally and it did the trick splendidly, thank you.
Attachment #8679764 - Flags: review?(james) → review+
Comment on attachment 8679764 [details]
MozReview Request: Bug 1219082 - Fix reference to "resolver_func" in mach try. r=jgraham

https://reviewboard.mozilla.org/r/23527/#review20973

Oh wow.
https://hg.mozilla.org/mozilla-central/rev/a161ee010607
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla44
You need to log in before you can comment on or make changes to this bug.