Closed Bug 1679778 Opened 3 years ago Closed 3 years ago

Port bug 1672181 - Run tests with Python 3 by default

Categories

(Thunderbird :: Build Config, task)

Tracking

(thunderbird_esr78 unaffected, thunderbird84 affected)

RESOLVED FIXED
90 Branch
Tracking Status
thunderbird_esr78 --- unaffected
thunderbird84 --- affected

People

(Reporter: rjl, Assigned: justdave)

References

Details

Attachments

(1 file, 1 obsolete file)

Some adjustments to the .yml files under comm/taskcluster/test will be needed.

Assignee: nobody → justdave
Status: NEW → ASSIGNED

Pushed by justdave@thunderbird.net:
https://hg.mozilla.org/comm-central/rev/52311fd71b9b
Run tests with Python 3 by default r=rjl

Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 85 Branch

Backed out on autoland, soon to be on mozilla-central. Bug 1672181 comment 9.

Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Target Milestone: 85 Branch → ---

Tactics are changing on the m-c side, rather than opt-out of python 3 with "force-py2: True", there will be an opt-in with "python-3: True". See bug 1680752.

So far no changes are needed in c-c, but we'll need to keep an eye out for any tests that switch over and update accordingly. Dave, please make sure to follow the testing-py3 metabug so between the two of us we should catch changes as they happen. Bug 1548264.

Leaving this bug open since 1672181 is not yet closed.

See Also: → 1680752
Attachment #9190390 - Attachment is obsolete: true
Attachment #9211582 - Attachment description: Bug 1679778 - Port bug 1695263: Run marionette tests with Python 3. r=justdave → Bug 1679778 - Port bug 1695263: Run marionette tests with Python 3. r=darktrojan

Geoff -- Our marionette tests throw an error when running with Python 3. (Firefox switched Marionette tests to Python 3 a few weeks ago)

TEST-UNEXPECTED-ERROR | comm/mail/test/marionette/test_addressbook.py TestAddressBook.test_addressbook_F6focus | AttributeError: 'NoneType' object has no attribute 'id'

https://treeherder.mozilla.org/jobs?repo=try-comm-central&revision=659933a35a36e3f3ab5f890e49a08279c4aaf72f

I'll try to come back to this a little later. Maybe you know right off what needs changing though.

I don't. Looks like it's falling at the first hurdle and failing to find #abResultsTree in the address book window. Is it looking in the wrong window?

Attachment #9211582 - Attachment description: Bug 1679778 - Port bug 1695263: Run marionette tests with Python 3. r=darktrojan → Bug 1679778 - Port bug 1695263: Run marionette tests with Python 3. r=justdave

Pushed by thunderbird@calypsoblue.org:
https://hg.mozilla.org/comm-central/rev/e786a4bd4951
Port bug 1695263: Run marionette tests with Python 3. r=justdave

Status: REOPENED → RESOLVED
Closed: 3 years ago3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 90 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: