Closed Bug 1193493 Opened 9 years ago Closed 9 years ago

Test video with network bandwidth limited

Categories

(Testing :: General, defect)

All
Other
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: sydpolk, Assigned: sydpolk)

References

Details

Attachments

(1 file)

>>Problem:
We would like to test youtube, netflix and other video services in constrained network conditions.

>>Solution:
I will integrate browsermobproxy into existing network tests.

>>Mozilla Top Level Goal:
Platform Engineering 2015 Strategic Plan

>>Existing Bug:
No bug

>>Per-Commit:
This will be run per-release on the pf-jenkins instance.

>>Data other than Pass/Fail:
No

>>Prototype Date:
2015-06-30

>>Production Date:
2015-09-30

>>Most Valuable Piece:
Not provided

>>Responsible Engineer:
spolk@mozilla.com

>>Manager:
dburns@mozilla.com

>>Other Teams/External Dependencies:
Media Team

>>Additional Info:
Not provided
Assignee: jgriffin → spolk
Summary: Test video with varying network characteristics, i.e., limiting bandwidth → Test video with network bandwidth limited
Attachment #8654391 - Flags: review?(mjzffr)
Comment on attachment 8654391 [details] [review]
Add tests for limiting bandwidth.

The patch looks good, just please rebase onto latest master so that I can merge cleanly.
Attachment #8654391 - Flags: review?(mjzffr) → review+
I tried the setup in a Win 7 VM using mozilla-build bash and I think I was able to get browsermob-proxy to run. I get the following output:

> Running BrowserMob Proxy using legacy implementation. To enable the LittleProxy
> implementation, run the proxy with the command-line option '--use-littleproxy tr
> ue'.
> [INFO  2015-09-02T08:49:24,606 net.lightbody.bmp.proxy.Main] (main) Starting Bro
> wserMob Proxy version 2.1.0-beta-2
> [INFO  2015-09-02T08:49:24,684 org.eclipse.jetty.util.log] (main) jetty-7.x.y-SN
> APSHOT
> [INFO  2015-09-02T08:49:24,808 org.eclipse.jetty.util.log] (main) started o.e.j.
> s.ServletContextHandler{/,null}
> [INFO  2015-09-02T08:49:25,183 org.eclipse.jetty.util.log] (main) Started Select
> ChannelConnector@0.0.0.0:8080

However, the tests still raise 'Exception: Can't connect to Browsermob-Proxy' in
marionette\runner\mixins\browsermob.py", line 47, in setUp at self.browsermob_server.start()
https://github.com/mjzffr/firefox-media-tests/commit/7ee79ad4c02956f2d890d4991ef93899b0aa1edc

Merged with pf-jenkins branch.

However, no jobs are set up to run this test; browsermob proxy needs to be set up on the builders. Syd, I leave it up to you do decide whether to close the bug now or close it after you set up the builders/jobs.
Flags: needinfo?(spolk)
Yes, this needs to stay open until the Jenkins jobs are created.
Flags: needinfo?(spolk)
Depends on: 1209998
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: