Closed Bug 1612005 Opened 4 years ago Closed 4 years ago

run-visual-metrics.py assumes that each video will have a different browsertime.json

Categories

(Testing :: Performance, defect, P1)

Version 3
defect

Tracking

(firefox75 fixed)

RESOLVED FIXED
mozilla75
Tracking Status
firefox75 --- fixed

People

(Reporter: barret, Assigned: barret)

References

Details

Attachments

(1 file)

The script running the visual metrics was expecting the jobs.json to list jobs with different browsertime.json files. It presently extracts the first video path from the list of videos and uses that. However, when generating multiple videos with e.g., -n 15, this will result in processing the same video repeatedly.

The issue is this code.

However, since we are not downloading browsertime.json or video files anymore (as they are coming in a fetch task), we should switch to using just the browsertime.json files and do away with the jobs.json files.

Assignee: nobody → brennie
Status: NEW → ASSIGNED
Priority: -- → P1
Blocks: 1613743

The run-visual-metrics.py script was intended to consume a jobs.json file
containing one browsertime.json per video. However it was not being used as
such and was continuously re-processing the first video specified in the
browsertime.json file. If a job were submitted with a browsertime.json
containing 15 videos and 15 different videos, only the first would be
processed. This leads to us having incorrect metrics because over all runs all
the metrics will be identical.

Now we only specify the browsertime.json in the jobs.json file and extract
the paths to videos from there. Also because we are never downloading inputs
this way, we get to remove some dead code and our dependency on requests.

Pushed by brennie@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/1e26514f1dc3
Do not specifiy individual videos in jobs.json r=tarek,perftest-reviewers,sparky
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla75
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: