Open Bug 1436401 Opened 6 years ago Updated 2 years ago

AttributeError: 'Talos' object has no attribute 'suite' when trying to run talos locally

Categories

(Testing :: Talos, defect, P3)

Version 3
defect

Tracking

(Not tracked)

People

(Reporter: Alex_Gaynor, Unassigned)

Details

Attachments

(1 file)

Attached file output.log
When trying to run talos locally (./mach talos-test -t "Paint-In-Time 2") I'm hitting the following error:

11:21:44    FATAL - Uncaught exception: Traceback (most recent call last):
11:21:44    FATAL -   File "/Users/agaynor/projects/mozilla-central/testing/mozharness/mozharness/base/script.py", line 2059, in run
11:21:44    FATAL -     self.run_action(action)
11:21:44    FATAL -   File "/Users/agaynor/projects/mozilla-central/testing/mozharness/mozharness/base/script.py", line 1998, in run_action
11:21:44    FATAL -     self._possibly_run_method(method_name, error_if_missing=True)
11:21:44    FATAL -   File "/Users/agaynor/projects/mozilla-central/testing/mozharness/mozharness/base/script.py", line 1938, in _possibly_run_method
11:21:44    FATAL -     return getattr(self, method_name)()
11:21:44    FATAL -   File "/Users/agaynor/projects/mozilla-central/testing/mozharness/mozharness/mozilla/testing/talos.py", line 406, in populate_webroot
11:21:44    FATAL -     if self.query_pagesets_name():
11:21:44    FATAL -   File "/Users/agaynor/projects/mozilla-central/testing/mozharness/mozharness/mozilla/testing/talos.py", line 280, in query_pagesets_name
11:21:44    FATAL -     if self.query_talos_json_config() and self.suite is not None:
11:21:44    FATAL - AttributeError: 'Talos' object has no attribute 'suite'


It's quite possible I'm invoking talos wrong, however if so it'd be great if there was a clearer error message :-) I've attached the complete log in case anything from there is helpful.
I am not sure what test Paint-In_Time 2 is related to, we have available tests listed in this file:
https://searchfox.org/mozilla-central/source/testing/talos/talos.json

so something like |./mach talos-test -a 'tspaint'| would run a test.

I agree we need a better error message.
Whiteboard: [PI:February]
The thing I actually wanted was --activeTests in the end, however a cleaner error message here would have helped.
Assignee: nobody → jmaher
I am having the same issue, I've been running the devtools suite for testing talos changes with the following command:

./mach talos-test --activeTests damp --subtests custom.debugger --cycles 1 --tppagecycles 1

It looks like things start to break here

changeset:   405529:bd6e200b5a6b
parent:      405496:c4425fcdfb5b
parent:      405528:691c61d4dc61
user:        arthur.iakab <aiakab@mozilla.com>
date:        Tue Feb 27 11:58:55 2018 +0200
summary:     Merge inbound to mozilla-central.  a=merge
Ah my mistake! its working now :'D
I have a WIP for this- just need to spend another hour testing and preparing the patch.
Whiteboard: [PI:February] → [PI:March]
I dropped the ball on this- focused on a few other things in March- this shouldn't be too hard and will pick this up in the coming week or so.
Whiteboard: [PI:March] → [PI:April]
Whiteboard: [PI:April] → [PI:May]
Whiteboard: [PI:May] → [PI:June]
Assignee: jmaher → nobody
Whiteboard: [PI:June]
Priority: -- → P2
Priority: P2 → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: