Closed Bug 1411661 Opened 7 years ago Closed 7 years ago

Our copy of Speedometer is missing statistics.js from a higher directory

Categories

(Firefox Build System :: General, defect)

defect
Not set
normal

Tracking

(firefox58 fixed)

RESOLVED FIXED
mozilla58
Tracking Status
firefox58 --- fixed

People

(Reporter: away, Assigned: away)

References

Details

Attachments

(3 files)

Running tests locally I see a bunch of:
127.0.0.1 - - [25/Oct/2017 12:44:01] code 404, message File not found
127.0.0.1 - - [25/Oct/2017 12:44:01] "GET /resources/statistics.js HTTP/1.1" 404

I started my server in the "speedometer" directory, but index.html does:
<script src="../resources/statistics.js" defer></script>

It means we miss out on the "+/- N" indicator at the end. Also the lack of this code might affect the work the test is doing and make an unrepresentative test (it's unlikely -- my local numbers seem pretty steady -- but who knows).
Attached patch hg mvSplinter Review
This creates a third_party/webkit/ under which we mirror their tree structure. Specifically, Speedometer lives under PerformanceTests/Speedometer.

`hg mv` patch only, the other changes will be in another patch for clarity.
Assignee: nobody → dmajor
Attachment #8921979 - Flags: review?(core-build-config-reviews)
jmaher -- apparently this stuff has changed such that Talos consumes the output nowadays. This change won't break any Talos expectations, right?
Attachment #8921980 - Flags: review?(core-build-config-reviews)
Attachment #8921980 - Flags: feedback?(jmaher)
Blocks: 1356652
Comment on attachment 8921979 [details] [diff] [review]
hg mv

r=me, I guess, but why is this necessary?
Attachment #8921979 - Flags: review?(core-build-config-reviews) → review+
Attachment #8921980 - Flags: review?(core-build-config-reviews) → review+
(In reply to Nathan Froyd [:froydnj] from comment #3)
> Comment on attachment 8921979 [details] [diff] [review]
> hg mv
> 
> r=me, I guess, but why is this necessary?

The minimal fix would be to add third_party/resources/statistics.js, but I didn't want to add this naked "resources" directory without any indication of where it came from.
Comment on attachment 8921980 [details] [diff] [review]
Add resources.js and update PGO paths

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

we copy the speedometer files to testing/talos/talos/tests/:
http://searchfox.org/mozilla-central/source/python/mozbuild/mozbuild/action/test_archive.py#375

can you run this on try with talos? |./mach try fuzzy -q '!pgo linux speedometer'|
Attachment #8921980 - Flags: feedback?(jmaher) → feedback+
Thanks for the pointer, I had missed a couple of Talos files.

Try looks reasonable:

https://treeherder.mozilla.org/#/jobs?repo=try&revision=70ed17157547ac1b3ffc6939e66371ab714645c7&group_state=expanded&selectedJob=139595783

13:45:22     INFO -  PID 13187 | |0;VanillaJS-TodoMVC/Adding100Items/Sync;96.29499999999999;101.31999999999971;95.78499999999985;98.05500000000029;99.875;96.04000000000002;98.55000000000109;100.70000000000073;99.50499999999738;98.49000000000524;98.02000000000001;107.22999999999956;99.06999999999971;98.6050000000032;98.65499999999884;100.125;98.79500000000007;103.38000000000102;101.70499999999447;98.93499999999767;97.965;102.24499999999898;99.20500000000175;99.34500000000116;99.56999999999971
Attachment #8922088 - Flags: review?(jmaher)
Comment on attachment 8922088 [details] [diff] [review]
Fix up Talos files

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

thank you!
Attachment #8922088 - Flags: review?(jmaher) → review+
Pushed by dmajor@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/e3f24e165618
Push Speedometer files down a level so they can refer to "../resources". r=froydnj,jmaher
https://hg.mozilla.org/mozilla-central/rev/e3f24e165618
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla58
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: