Closed Bug 1238629 Opened 4 years ago Closed 4 years ago

Setup requirements for packaging to use pypi when run externally and use a different mechanism when run by buildbot/jenkins/taskcluster

Categories

(Testing Graveyard :: external-media-tests, defect)

defect
Not set

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: sydpolk, Assigned: sydpolk)

References

Details

No description provided.
The topic does not really reflect the goal of it as we discussed in the vidyo chat. The problem right now is the github repository. Once tests are run via the test package and the github repo is deleted, you want a requirements config for all in-tree packages under testing/configs/. This would ensure that everything gets installed from the test package and not by a mixture from test package and PyPI.
Blocks: 1238648
Just to make sure we're clear on this: The current version of firefox_media_tests.py in m-c is set up to skip downloading test packages (common.tests.zip), which causes it to grab dependencies from pypi (so in-tree marionette-* is not used) [1,2]. This behaviour is introduced by bug 1230279. 

This is fine for now, because buildbot checks out an old media-tests commit from the github repo.

[1] https://dxr.mozilla.org/mozilla-central/rev/6764bc656c1d146962d53710d734c2ac87c2306f/testing/mozharness/mozharness/mozilla/testing/firefox_media_tests.py#172-181
This is fixed. The buildbot mozharness script uses mozilla-central/testing/config/external-media-tests-requirements.txt.
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Assignee: nobody → spolk
Product: Testing → Testing Graveyard
You need to log in before you can comment on or make changes to this bug.