Skip to content

test(ci): validate the batched Pulp delivery under load [do not merge]#6305

Closed
kduret wants to merge 16 commits into
MON-200796-pulp-batch-task-waitfrom
MON-200796-plugins-test-batch-wait
Closed

test(ci): validate the batched Pulp delivery under load [do not merge]#6305
kduret wants to merge 16 commits into
MON-200796-pulp-batch-task-waitfrom
MON-200796-plugins-test-batch-wait

Conversation

@kduret

@kduret kduret commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

⚠️ Temporary test PR — do not merge

Functional + load validation of the batched Pulp task wait (#6304): deliver plugins to Pulp unstable only, with a volume comparable to the develop run where all 8 deliver jobs timed out (~30 packages per distrib).

What it does (on top of #6304)

  • Same TEMP edits as the previous test PR: Artifactory deliver-packages disabled (if: false), deliver-packages-pulp forced to stability: unstable, stability gates dropped (PR = canary) and decoupled from test-plugins.
  • 31 plugins marked (marker files in their packaging dirs) so get-plugins packages ~30 packages per distrib — exercising wait_tasks on a real batch across the 8 parallel deliver jobs.

What to check

  • Each deliver job should log the uploads without per-package waits, then a single Waiting for N upload task(s) to complete, then Packages are available.
  • No did not complete in time failure as long as the pulp task queue keeps draining.

All changes tagged # TEMP(test-pulp-unstable). Refs: MON-200796

kduret added 3 commits July 13, 2026 13:38
TEMP test branch (do not merge). In plugins.yml:
- disable the Artifactory deliver-packages job (if: false)
- force the Pulp deliver to stability: unstable, drop the stability gates
  (a PR runs with canary stability) and decouple the twin from test-plugins
- add a marker file in the os::linux::snmp plugin packaging so get-plugins
  packages something to deliver

All changes tagged TEMP(test-pulp-unstable).

(cherry picked from commit 9174df1)
TEMP(test-pulp-unstable): reproduce the volume of the failed develop run
(~30 packages per distrib) so the batched task wait is validated under a
realistic load.
TEMP(test-pulp-unstable): unit-tests and test-plugins bring nothing to the
batched-delivery validation and would consume up to 25 runners for the 31
marked plugins; fatpacker/package tolerate the skipped dependency.
TEMP(test-pulp-unstable): replace the 31 packaging markers with a touch of
the common packaging template (changes_common=true), so get-plugins lists
all 675 plugins and the batched Pulp delivery is exercised at full nightly
scale (~675 packages per distrib across the 8 parallel deliver jobs).
TEMP(test-pulp-unstable): one rpm and one deb distrib are enough to measure
the delivery with the autoscaled workers (675 packages each).
@kduret

kduret commented Jul 21, 2026

Copy link
Copy Markdown
Contributor Author

Validation complete: full matrix (8 distributions, no concurrency cap), delivery to testing + promotion to stable, 675/675 present · 675/675 resolvable everywhere, zero error (run https://github.com/centreon/centreon-plugins/actions/runs/29748876765). The batched modify method has been ported to the feature PRs (centreon#11039, centreon-collect#3557, centreon-modules#8812, centreon-plugins#6304). Closing this test PR.

@kduret kduret closed this Jul 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant