Closed Bug 1204247 Opened 9 years ago Closed 5 years ago

Remove code supporting metro under testing/

Categories

(Testing :: General, defect)

defect
Not set
normal

Tracking

(firefox66 fixed)

RESOLVED FIXED
mozilla66
Tracking Status
firefox66 --- fixed

People

(Reporter: chmanchester, Assigned: spiro, Mentored)

References

Details

(Keywords: good-first-bug, Whiteboard: [good first bug][lang=python])

Attachments

(3 files)

Bug 1039866 got most of it out of m-c, there's further to go in mochitest (and a bit in mozbase and mozharness).

https://dxr.mozilla.org/mozilla-central/search?q=path%3Atesting+metro

for a start, and anything mentioning immersiveMode.
Mentor: sledru
Keywords: good-first-bug
Whiteboard: [good first bug][lang=python]
I want to work on this issue how can I get started?
Flags: needinfo?(sledru)
:sylvestre 

What to do exactly in this? 

Need to remove all these lines?
https://dxr.mozilla.org/mozilla-central/search?q=path%3Atesting+metro
Flags: needinfo?(sledru)
Most of them, yes!
Flags: needinfo?(sledru)
If no one is assigned on this work. I would like to work on this issue.
Sure, I will assign it to the first person who reported a good first patch!
OkayThanks
Hi, 
I have never contributed to an Open Source before, but willing to be a part of it. Can anyone please help me, where do I work, and how do I start ? I did read a few documentations but still haven't been able to figure things out. 
Also, I don't seem to find any bugs to work on. I am trying to do something in python but looks like all bugs are assigned. What do I do ?
Thank you,
Try IRC, #Introduction channel.

also look for 'Good-First-Bug'

(In reply to JJ from comment #8)
> Hi, 
> I have never contributed to an Open Source before, but willing to be a part
> of it. Can anyone please help me, where do I work, and how do I start ? I
> did read a few documentations but still haven't been able to figure things
> out. 
> Also, I don't seem to find any bugs to work on. I am trying to do something
> in python but looks like all bugs are assigned. What do I do ?
> Thank you,
im new to here. how do i get started to fix bug? i have checked doc and i still have no clue.
Hi
I would like to work on this bug! Could you please point me in the right direction of how to start.
https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Introduction and https://whatcanidoformozilla.org/#!/progornoprog/proglang/py will help.

do you know metro? -  https://en.wikipedia.org/wiki/Metro_(design_language)

https://dxr.mozilla.org/mozilla-central/search?q=path%3Atesting+metro
if the code there looks like handling metro-specific thing, it needs to be removed.

Also for the  quick guidance ask your queries in IRC #Introduction

(In reply to Devika Sugathan from comment #12)
> Hi
> I would like to work on this bug! Could you please point me in the right
> direction of how to start.
Attached patch New.patchSplinter Review
Attachment #9006882 - Flags: review?(sledru)
Could you please use phabricator?

By the way, you don't want to do this change:

 suggested_reviewers:
-  - metromoxie

This isn't about Windows Metro
Attached patch Updated.patchSplinter Review
Sorry, I had faced an error while using phabricator. Can I submit the patch here?
Attachment #9007132 - Flags: review?(dminor)
What was the error you had with phabricator?
Attachment #9006882 - Flags: review?(sledru)
Comment on attachment 9007132 [details] [diff] [review]
Updated.patch

Review of attachment 9007132 [details] [diff] [review]:
-----------------------------------------------------------------

This seems reasonable to me, but it's been a while since I've really looked at the testing code. Redirecting to :jmaher :)
Attachment #9007132 - Flags: review?(dminor) → review?(jmaher)
Comment on attachment 9007132 [details] [diff] [review]
Updated.patch

Review of attachment 9007132 [details] [diff] [review]:
-----------------------------------------------------------------

I am fine using splinter, but please make sure you test your changes- I do not see how |./mach mochitest| will run, let alone the sunspider test in talos now.  I look forward to a cleaned up patch!

::: testing/mochitest/mochitest_options.py
@@ +791,4 @@
>          if options.immersiveMode:
>              if not mozinfo.isWin:
>                  parser.error("immersive is only supported on Windows 8 and up.")
> +            

nit: you have a blank line with whitespace here, please remove the whitespace

::: testing/mochitest/runtests.py
@@ +894,1 @@
>          self.browserProcessId = None

we removed the comment, do we need browserProcessId?  I would recommend searching for uses of this and looking at the history in case other scenarios use it.

@@ +1077,3 @@
>              self.testRoot = options.flavor
>  
>              if options.flavor == 'browser' and options.immersiveMode:

please remove the if statement, this is invalid syntax.

@@ +2935,4 @@
>              self.lsanLeaks = lsanLeaks
>              self.bisectChunk = bisectChunk
>  
> +            

nit: another line with just whitespace.

@@ +2939,1 @@
>              # output which we need to pick up on and parse out. This variable tracks the real

removing 2 lines doesn't necessarily work here- the comment is not useful.  In fact, this leads up to the question do we need browserProcessId?

::: testing/talos/talos/tests/dromaeo/tests/sunspider-string-tagcloud.html
@@ +24,4 @@
>   * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
>   * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
>   * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
> + * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

please do not change anything in this file- there is reference to the 5 characters 'metro' in here, but it is part of a larger word and this is a specific benchmark.
Attachment #9007132 - Flags: review?(jmaher) → review-
Hi,

Is there still more work to be done on this? I'd be happy to take a look at finishing it up if so.

Thanks!
Bug 1204247: Remove code supporting metro under testing/
Pushed by sledru@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/c06f16a4668c
Remove code supporting metro under testing/ r=jmaher
Hi Joel.

What's the status of my diff?
Flags: needinfo?(jmaher)
this has been landed- we are waiting for it the merge to mainline mozilla-central branch which usually happens twice/day, I think in the next 3-4 hours.
Flags: needinfo?(jmaher)
https://hg.mozilla.org/mozilla-central/rev/c06f16a4668c
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla66
Assignee: nobody → sharma.divyansh.501
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: