Closed Bug 1986824 Opened 1 year ago Closed 8 months ago

Ensure PERFHERDER_DATA is also uploaded as perfherder-data.json artifacts across all test harnesses

Categories

(Tree Management :: Perfherder, task)

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: myeongjun.ko, Assigned: myeongjun.ko)

References

Details

(Whiteboard: [fxp])

Attachments

(1 obsolete file)

Currently, several test harnesses (for example, Talos, Raptor) write PERFHERDER_DATA lines into the task log.
However, not all of them also create a corresponding perfherder-data.json artifact.

Having consistent JSON artifacts makes it easier and more reliable for downstream tools to consume performance data, instead of relying only on log parsing.
We should update each harness that outputs PERFHERDER_DATA to also generate and upload a perfherder-data.json artifact for consistency.

I checked all PERFHERDER_DATA on Searchfox (https://searchfox.org/firefox-main/search?q=PERFHERDER_DATA&path=&case=true&regexp=false) and documented any exceptions that create a perfherder-data.json file in the history.

  1. https://searchfox.org/firefox-main/source/build/valgrind/mach_commands.py#197
  • This test script is intended for local use only, so generating a perfherder-data.json artifact is unnecessary.

I wonder if (In reply to Myeongjun Go from comment #1)

I checked all PERFHERDER_DATA on Searchfox (https://searchfox.org/firefox-main/search?q=PERFHERDER_DATA&path=&case=true&regexp=false) and documented any exceptions that create a perfherder-data.json file in the history.

  1. https://searchfox.org/firefox-main/source/build/valgrind/mach_commands.py#197

It seems odd to me that there are local-only PERFHERDER_DATA outputs there. :glandium, can you confirm that this valgrind perfherder data is only output locally or is there a CI task that outputs it?

Flags: needinfo?(mh+mozilla)

It's under if "MOZ_AUTOMATION" in os.environ: so it only shows on CI. And yes it's collected: https://treeherder.mozilla.org/perfherder/graphs?series=autoland,5078829,1,2

Flags: needinfo?(mh+mozilla)

Thanks so much for the patient explanation!
I was misunderstanding it, but I’ve now checked the CI tests and confirmed the logs. Appreciate your time and help :)

We're considering removing the fetch-content perfherder data. :ahal will be checking with his team to see if there is any need/want to keep it around.

:ahal also mentioned to check with you :glandium. Do you use/want/need that fetch-content data for anything? It's not a problem if you want to keep it around.

Flags: needinfo?(mh+mozilla)
Blocks: 1987328
Blocks: 1987331
Blocks: 1987430
Blocks: 1987448

(In reply to Greg Mierzwinski [:sparky] from comment #6)

:ahal also mentioned to check with you :glandium. Do you use/want/need that fetch-content data for anything? It's not a problem if you want to keep it around.

Yes, it's useful to have as a separate metric.

Flags: needinfo?(mh+mozilla)
Blocks: 1987585
Blocks: 1987586
Blocks: 1988102
Blocks: 1988449
Blocks: 1988476
Whiteboard: [fxp]
Status: NEW → ASSIGNED
Blocks: 1988941
Blocks: 1989015
Blocks: 1989198
Blocks: 1992052
Blocks: 1992054
No longer blocks: 1992052
Depends on: 1992052
Blocks: 1994940
Blocks: 1996563
Blocks: 2000512
Blocks: 2000618
Blocks: 2000845
Blocks: 1999975
Blocks: 2001364
Duplicate of this bug: 1892260
Attachment #9511422 - Attachment is obsolete: true
Status: ASSIGNED → RESOLVED
Closed: 8 months ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: