Bug 275777 - ports-mgmt/poudriere: incorrect build queue size after 3.4.0 update
Summary: ports-mgmt/poudriere: incorrect build queue size after 3.4.0 update
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Bryan Drewery
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-15 14:08 UTC by Anton Saietskii
Modified: 2023-12-15 20:39 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (bdrewery)


Attachments
build queue length (23.68 KB, image/png)
2023-12-15 14:08 UTC, Anton Saietskii
no flags Details
builds overview (29.67 KB, image/png)
2023-12-15 14:10 UTC, Anton Saietskii
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Anton Saietskii 2023-12-15 14:08:35 UTC
Created attachment 247062 [details]
build queue length

After 3.4.0 update, build queue size is incorrect in build details -- it's longer than should be.

Here's what I got from console output (snippet):
[00:00:59] Checking packages for incremental rebuild needs
[00:00:59] Deleting android-tools-31.0.3p2.0_13.pkg: new version: 31.0.3p2.0_14
[00:01:04] Deleting libfmt-9.1.0.pkg: new version: 10.1.1
[00:01:10] Deleting protobuf-3.21.12,1.pkg: new version: 24.4,1
[00:01:10] Deleting py39-hatchling-1.18.0.pkg: new version: 1.20.0
[00:01:12] Deleting sudo-1.9.15p2.pkg: new version: 1.9.15p3
[00:01:12] Deleting telegram-desktop-4.12.2.pkg: new version: 4.12.2_2
[00:01:12] Deleting transmission-daemon-4.0.4_4.pkg: new version: 4.0.4_5
[00:01:12] Deleting transmission-utils-4.0.4_4.pkg: new version: 4.0.4_5
[00:01:12] Deleting tremotesf-2.5.0.pkg: new version: 2.5.0_1
[00:01:20] Deleting transmission-4.0.4_4.pkg: missing dependency: transmission-daemon-4.0.4_4
[00:01:24] Deleting stale symlinks... done
[00:01:24] Deleting empty directories... done
[00:01:24] Unqueueing existing packages
[00:01:25] Unqueueing orphaned build dependencies
[00:01:27] Sanity checking build queue
[00:01:27] Processing PRIORITY_BOOST
[00:01:27] Balancing pool
[releng132-default] [2023-12-15_15h44m12s] [balancing_pool] Queued: 9  Built: 0  Failed: 0  Skipped: 0  Ignored: 0  Fetched: 0  Tobuild: 9   Time: 00:01:23
[00:01:27] Recording filesystem state for prepkg... done
[00:01:28] Building 9 packages using up to 1 builders

So, nine packages. However, build details in web GUI lists 65 packages (see the screenshot).
Looks like poudriere started to populate build details with all packages listed in my pkglist despite it actually never builds them all (but 1st time only).
Comment 1 Anton Saietskii 2023-12-15 14:10:27 UTC
Created attachment 247063 [details]
builds overview

However, builds overview page lists correct values -- currently, 9 packages to build.

(I think it should be pretty easy to reproduce, but of course, I can attach logs by request.)
Comment 2 Anton Saietskii 2023-12-15 14:22:06 UTC
Checked all the places where poudriere shows "tobuild" packages. Everything is correct except the "Queued ports" list.