Open Bug 1605366 Opened 5 years ago Updated 4 years ago

consider running condprof jobs once/day instead of every m-c push

Categories

(Testing :: Performance, task, P3)

task

Tracking

(Not tracked)

People

(Reporter: jmaher, Unassigned)

References

(Depends on 2 open bugs)

Details

we have these cool condprof jobs that generate profiles that are used for raptor runs to make a more realistic perf result.

currently these run for each platform (linux, osx, win, android arm7, android aarch64) on every mozilla-central push as well as a once/day cronjob (which then duplicates the jobs on all 5 platforms.

The original intention was to run this once/day instead of 8-10 times/day. We should ensure there are no other drivers for running this per m-c commit. It could be there are difficulties running jobs only on a crontab and not per m-c commit.

Assuming the original desire of 1x/day holds true, we should figure out a way to have these condprof jobs run only 1x/day. I think maybe a happy medium would be 2x/day on the nightly scheduler if that would be simpler.

Dave and Tarek do you have any feedback regarding this request?

Flags: needinfo?(tarek)
Flags: needinfo?(dave.hunt)

If there's a way to avoid them to run on mozilla-central pushes, happy to change this. As far as I know, these pushes runs everything.

The only cases where we want to have them running are:

  • manual mach try runs (via fuzzy --full)
  • the cron jobs

maybe there's a way to catch some environment info to know that we're doing a m-c push, and discard the run?

Flags: needinfo?(tarek)

can you fix this with run-on-projects: ['try'] ?

As long as there's no significantly increased risk from having the age of the profiles used in perf testing increasing to 24 hours then I have no concerns here. It sounds like we would just need to make these run on try and in the nightly cron.

Flags: needinfo?(dave.hunt)
Priority: -- → P2
Assignee: nobody → marian.raiciof
Status: NEW → ASSIGNED
Priority: P2 → P1
Assignee: marian.raiciof → aionescu

(In reply to Joel Maher ( :jmaher ) (UTC-4) from comment #3)

can you fix this with run-on-projects: ['try'] ?

IIRC a job can be ran on try with the option --full without run-on-projects: ['try']. I am saying this because tarek mentioned this when referring to try.

(In reply to Dave Hunt [:davehunt] [he/him] ⌚BST from comment #4)

As long as there's no significantly increased risk from having the age of the profiles used in perf testing increasing to 24 hours then I have no concerns here. It sounds like we would just need to make these run on try and in the nightly cron.

I see no nightly for android in the cron tasks, only for desktop.
The condprof jobs are:

"condprof-android-hw-g5-7-0-arm7-api-16-fenix",
"condprof-android-hw-g5-7-0-arm7-api-16-fennec68",
"condprof-android-hw-g5-7-0-arm7-api-16-geckoview",
"condprof-android-hw-p2-8-0-aarch64-fenix",
"condprof-android-hw-p2-8-0-aarch64-fennec68",
"condprof-android-hw-p2-8-0-android-aarch64-geckoview",
"condprof-linux64-firefox",
"condprof-macosx64-firefox",
"condprof-windows2012-64-firefox",

I have the feeling that I am missing something.

Flags: needinfo?(dave.hunt)

Please note that with running it only once a day we may hit the update interval for various services like safebrowsing. That could have negative impact on the performance metrics as visible in perfherder.

I think we should make sure to have bug 1626604 (especially comment 13 and following solved first).

(In reply to Alexandru Ionescu (needinfo me) :alexandrui from comment #5)

I have the feeling that I am missing something.

Here's an example where the m-c and cron condprof jobs have occured against the same push: https://treeherder.mozilla.org/#/jobs?repo=mozilla-central&searchStr=condprof&revision=1b10b4ffe94deab9dc1f93e093c64b123cb25072.

As :whimboo suggests, let's wait for bug 1636956 until we work on this. In the meantime, :jmaher could you provide :alexandrui with some direction for where these tasks are scheduled via cron, and where we might make the change to put these on the nightly scheduler?

Depends on: 1636956
Flags: needinfo?(dave.hunt) → needinfo?(jmaher)
Assignee: aionescu → nobody
Severity: normal → S3
Status: ASSIGNED → NEW
Priority: P1 → P2
Version: Version 3 → unspecified

here is the cron.yml file:
https://searchfox.org/mozilla-central/source/.cron.yml#230

plenty of examples in there to figure out changes.

Flags: needinfo?(jmaher)

Thank you, Joel. I got this :) there were some extra places I had to look over.

Depends on: 1626604
Priority: P2 → P3
You need to log in before you can comment on or make changes to this bug.