Closed Bug 775756 Opened 12 years ago Closed 6 years ago

[Tracking] Use Mozbase on Mozilla Central

Categories

(Testing :: Mozbase, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: k0scist, Unassigned)

References

(Depends on 3 open bugs)

Details

(Whiteboard: [mozbase])

See also: https://wiki.mozilla.org/Auto-tools/Projects/MozBase/Roadmap

This is a tracking bug for the first set of things to get the m-c test
harnesses and other applicable python to use mozbase:

https://wiki.mozilla.org/Auto-tools/Projects/MozBase

The goal is improved extensibility and agility, elimination of
repeated code, and generally setting up a solid way of using python in
mozilla-central that makes use of the mozbase modules.  There will be
few direct improvements or features introduced in this round, but it
sets the stage for making it easier to improve and add features across
the board in our test harnesses.

Action items:

* automation.py.in
** remove interpolation of this file
--- https://bugzilla.mozilla.org/show_bug.cgi?id=688665
--- https://bugzilla.mozilla.org/show_bug.cgi?id=746546
*** This is harder than it looks; see
---- https://bugzilla.mozilla.org/show_bug.cgi?id=683397
** convert this file to mozbase
--- https://bugzilla.mozilla.org/show_bug.cgi?id=688667

* port profileserver to mozbase
-- https://bugzilla.mozilla.org/show_bug.cgi?id=746244

* remove duplicate code from m-c
-- https://bugzilla.mozilla.org/show_bug.cgi?id=707976
** two copies of manifest destiny
*** remove duplicate
*** use the version installed in the virtualenv
*** remove manifest destiny tests: http://mxr.mozilla.org/mozilla-central/source/build/tests/
** two copies of mozinfo
*** remove duplicate
*** use the version installed in the virtualenv
** devicemanager in
   http://mxr.mozilla.org/mozilla-central/source/build/mobile/ should
   be moved to use testing/mozbase/devicemanager

* move some subset of our python to a top level directory
-- https://bugzilla.mozilla.org/show_bug.cgi?id=775243

* move everything that rolls its own json de/serializer to use
  simplejson
-- https://bugzilla.mozilla.org/show_bug.cgi?id=769849
** we need to figure out *all* the places that we do this and fix them

* port TPS to modern mozbase
-- https://bugzilla.mozilla.org/show_bug.cgi?id=771554

* port automationutils.py to mozbase
** http://mxr.mozilla.org/mozilla-central/source/build/automationutils.py

* port mochiest to mozbase
-- https://bugzilla.mozilla.org/show_bug.cgi?id=746243

* port reftest to mozbase
-- https://bugzilla.mozilla.org/show_bug.cgi?id=746246

* port xpcshell to mozbase
-- https://bugzilla.mozilla.org/show_bug.cgi?id=771578

* get rid of pythonpath.py
** http://mxr.mozilla.org/mozilla-central/source/config/pythonpath.py
** http://mxr.mozilla.org/mozilla-central/source/js/src/config/pythonpath.py
-- https://bugzilla.mozilla.org/show_bug.cgi?id=774911

== Other considerations ==

We should have an automated way of mirroring between m-c and github:
https://bugzilla.mozilla.org/show_bug.cgi?id=722451 Not a blocker to
any of the above strictly but something to keep in mind
Whiteboard: [mozbase]
Going to add MozTest for results too, though if that doesn't get done in phase 1 its not the end of the world.  Overall the order that things get done is fairly flexible.
Depends on: 774419
I think bug 650880 is the biggest blocker to real progress here. Until we have the test harnesses running from a virtualenv on the test machines, we can't really make them use packages from the virtualenv, because they won't run correctly on tinderbox.
(In reply to Ted Mielczarek [:ted] from comment #2)
> I think bug 650880 is the biggest blocker to real progress here. Until we
> have the test harnesses running from a virtualenv on the test machines, we
> can't really make them use packages from the virtualenv, because they won't
> run correctly on tinderbox.

Agreed, but there is a significant chunk of work that can be done in parallel
Depends on: 650880
Depends on: 793017
Depends on: 793022
Depends on: 835911
Depends on: 837983
Blocks: 845130
No longer blocks: 845130
Depends on: 845130
Summary: Mozbase on Mozilla Central, round 1 → [Tracking] Use Mozbase on Mozilla Central
No longer depends on: 915865
Depends on: 1177545
Mass closing bugs with no activity in 2+ years. If this bug is important to you, please re-open.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.