Closed Bug 1749331 Opened 2 years ago Closed 2 years ago

can failed browsertime tasks upload fewer screenshots?

Categories

(Testing :: Raptor, task, P2)

Firefox 97
task

Tracking

(firefox103 fixed)

RESOLVED FIXED
103 Branch
Tracking Status
firefox103 --- fixed

People

(Reporter: aryx, Assigned: sparky)

References

(Blocks 1 open bug)

Details

(Whiteboard: [fxp])

Attachments

(1 file)

https://treeherder.mozilla.org/logviewer?job_id=363593448&repo=autoland&lineNumber=1078 is a failed browsertime task which uploaded to 1034 artifacts to Taskcluster: 3 logs, 2 videos, 1 config file, 1 performance data summary and 1027 screenshots (continuation token used).

The checked screenshot has 712KB size. The tasks shouldn't upload these by default if the task failed.

Severity: -- → S3
Priority: -- → P3
Whiteboard: [perftest:triage]
Summary: can failed browsertime tasks upload less screenshots? → can failed browsertime tasks upload fewer screenshots?

We'll put this into our pain points work. The issue here is that the results all get stored in the blobber_upload_dir when they should be placed into a temp folder first.

Priority: P3 → P2
Whiteboard: [perftest:triage]

We could remove PNGs/JPEGs in this area before finishing the test: https://searchfox.org/mozilla-central/source/testing/raptor/raptor/perftest.py#470,481

This patch adds some logic to clean up the artifact folder from the hundreds of PNG/JPEGs generated on task failures. It sorts the files and attempts to only keep the 5 newest images so that we can still use them for debugging issues.

Assignee: nobody → gmierz2
Status: NEW → ASSIGNED
Pushed by gmierz2@outlook.com:
https://hg.mozilla.org/integration/autoland/rev/c8ccda3bfa11
Prevent uploading more than 5 PNG/JPEG artifacts. r=perftest-reviewers,kshampur
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 103 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: