Closed
Bug 1113081
Opened 11 years ago
Closed 11 years ago
Remove references to metro mode from talos.py script
Categories
(Release Engineering :: Applications: MozharnessCore, defect)
Release Engineering
Applications: MozharnessCore
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: jmaher, Assigned: ankit.goyal90, Mentored)
Details
(Whiteboard: [good first bug][easier-mozharness][lang=python])
Attachments
(1 file, 1 obsolete file)
|
4.11 KB,
patch
|
jmaher
:
review+
|
Details | Diff | Splinter Review |
We did a lot of great work to get metro support in our product and related infrastructure. It seems that we can clean up our code by removing this since we haven't been running metro mode for a while:
http://hg.mozilla.org/build/mozharness/file/tip/mozharness/mozilla/testing/talos.py
There is one block here:
http://hg.mozilla.org/build/mozharness/file/tip/mozharness/mozilla/testing/talos.py#l226
another here:
http://hg.mozilla.org/build/mozharness/file/tip/mozharness/mozilla/testing/talos.py#l525
and another here:
http://hg.mozilla.org/build/mozharness/file/tip/mozharness/mozilla/testing/talos.py#l593
To get started:
* clone hg.mozilla.org/build/mozharness
* make you changes and submit a patch (diff) to this bug
* run local unittests
| Reporter | ||
Comment 1•11 years ago
|
||
Armen, can you outline how to run unittests from mozharness?
Flags: needinfo?(armenzg)
Comment 2•11 years ago
|
||
To run mozharness unittests just call ./unit.sh
To run talos locally apply the patch from bug 1078619 and follow the steps from comment 2 (You will have to update the URL since we're in a newer version of Firefox).
Flags: needinfo?(armenzg)
| Assignee | ||
Comment 3•11 years ago
|
||
I would like to work on it.
| Reporter | ||
Comment 4•11 years ago
|
||
Ankit, i am excited to see your patch. Do ask questions if you get stuck at all. I am here to help. You can also find me on irc.mozilla.org in #ateam, I am jmaher.
| Assignee | ||
Comment 5•11 years ago
|
||
Build and install process is okay after this test.
| Assignee | ||
Comment 6•11 years ago
|
||
(In reply to Joel Maher (:jmaher) from comment #4)
> Ankit, i am excited to see your patch. Do ask questions if you get stuck at
> all. I am here to help. You can also find me on irc.mozilla.org in #ateam,
> I am jmaher.
I also see a lot of warnings about unused imports and variables. I can also work around that.
| Reporter | ||
Comment 7•11 years ago
|
||
Comment on attachment 8539229 [details] [diff] [review]
Metro references removed from talos.py
Review of attachment 8539229 [details] [diff] [review]:
-----------------------------------------------------------------
one small fixup- lets fix that and try again!
::: mozharness/mozilla/testing/talos.py
@@ -586,5 @@
> if not self.query_tests():
> self.fatal("No tests specified; please specify --tests")
>
> def install(self):
> """decorates TestingMixin.install() to handle win metro browser"""
I believe we don't need this entire function "install" anymore :) at the very least the comment and dirs variable should be removed.
Attachment #8539229 -
Flags: review-
| Assignee | ||
Comment 8•11 years ago
|
||
Attachment #8539229 -
Attachment is obsolete: true
| Reporter | ||
Comment 9•11 years ago
|
||
Comment on attachment 8539918 [details] [diff] [review]
Updated
Review of attachment 8539918 [details] [diff] [review]:
-----------------------------------------------------------------
this looks great, I have ran some local tests and it appears to be fine!
Thanks for working on this!
Attachment #8539918 -
Flags: review+
| Reporter | ||
Comment 10•11 years ago
|
||
landed:
https://hg.mozilla.org/build/mozharness/rev/0424b451c005
Ankit, are you interested in more hacking? Do speak up, there are a lot of things to get involved in and make a difference!
| Assignee | ||
Comment 11•11 years ago
|
||
(In reply to Joel Maher (:jmaher) from comment #10)
> landed:
> https://hg.mozilla.org/build/mozharness/rev/0424b451c005
>
> Ankit, are you interested in more hacking? Do speak up, there are a lot of
> things to get involved in and make a difference!
Yes, i am interested.
And FYI, while we run ./unit.sh there are lot of unused imports and variables.
| Reporter | ||
Comment 12•11 years ago
|
||
Ankit, thanks for mentioning ./unit.sh issues. Actually can you run 'tox' as that is setup for unittests in mozharness?
cd mozharness <- root mozharness directory
hg pull -u
pip install tox
tox
This works for me locally, I get 1 error- lets see if that works for you.
Regarding other projects, we have a lot of them: https://wiki.mozilla.org/Auto-tools/Projects/Everything#Project_Table. I could use some help on alert manager (a python webserver/database tool and a webui in javascript), but just about any project could benefit from help. As it is holiday season, please add me (:jmaher) to the cc line of any bugs you want to take up in case the mentors are really on holiday.
| Assignee | ||
Comment 13•11 years ago
|
||
I am getting errors in building alert manager.
At alert_manager/dockerfiles/alert_manager_db/Dockerfile in:
> RUN apt-get -q -y update && apt-get -q -y upgrade
> RUN apt-get -q -y install mysql-server supervisor
It's weird because they are running fine in terminal by themselves.
I am using Ubuntu 14.04 - x64.
| Assignee | ||
Comment 14•11 years ago
|
||
This is RESOLVED, right?
| Reporter | ||
Comment 15•11 years ago
|
||
Thanks, I had forgotten the basic cleanup!
Assignee: nobody → ankit.goyal90
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Comment 16•11 years ago
|
||
mozharness has been merged to production. patches are live :)
You need to log in
before you can comment on or make changes to this bug.
Description
•