freebsd / poudriere

Port/Package build and test system
https://github.com/freebsd/poudriere/wiki
BSD 2-Clause "Simplified" License
396 stars 164 forks source link

Track build time and show estimated in job status #498

Open bdrewery opened 7 years ago

bdrewery commented 7 years ago

Like Jenkins...

gessel commented 3 months ago

I was looking for this request though I'm not familiar with Jenkins.

I don't see another ticket describing this request, I apologize that wasn't a comprehensive search.

Keep statistics for per-port build times. Use this data provide per-port estimates of build time and remaining build time estimates in the web UI. This is useful for having useful, data-driven, realistic estimates suitable for answering critical questions such as "is this a coffee break or a lunch break or am I done for the day?" It can also provide data for tweakers and tuners who might be curious if a new optimization or optane helps or hurts.

Poudriere bulk results for FBSD_14-1-R-default 2024-09-03_05h24m30s Screenshot

Per port timing is a nice to have

Poudriere_jobs_time_remaining

Queued Jobs would show the estimated build time for each pending job as a clickable link. Clicking would bring up a stats table - Poudriere Queued Jobs_est build time

Completed jobs would just be modified to link to the per port build stats:

Poudriere built_ports

The linked table would show stats per build so one could track the evolution over builds, which might be useful for evaluating hardware, code, or build environment changes. Poudriere_Timing_Stats