Expect 48 files in pmm-admin summary zip (sep-provision.log) - #1166
Draft
claude[bot] wants to merge 1 commit into
Draft
Expect 48 files in pmm-admin summary zip (sep-provision.log)#1166claude[bot] wants to merge 1 commit into
claude[bot] wants to merge 1 commit into
Conversation
percona/pmm#5755 adds a sep-provision supervisord program whose stdout log, /srv/logs/sep-provision.log, is collected into the server's logs.zip. The @Generic summary test still expects 47 files, so it fails with 48 on any build carrying that change - first seen on the PMM-15205 SEP feature build. Signed-off-by: Claude <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Failures fixed (investigator)
mainyet.cli/tests/generic.spec.ts:190/@generic— "run pmm-admin summary --server-url --server-insecure-tls with https"What failed
CLI / Integration / Genericwas the only red job in that run, and its ownRun CLI testsstep reported success — the failure surfaced one step later, whenlaunchable gateexited 1 onActionable Failures | 1:Root cause — a stale count in our test, not a product bug
The 48th file in the summary archive is
server/sep-provision.log.percona/pmm#5755 (PMM-15280, part of the
PMM-15205 SEP stack this FB builds) adds a
sep-provisionsupervisord program whose stdoutgoes to
/srv/logs/sep-provision.log. PMM Server'slogs.zip— and thereforepmm-admin summary— now carries one more file.It is not gated on SEP being enabled: the program is
autostart = trueand merely exitsearly when
PMM_ENABLE_SEPis unset, so supervisord creates the log either way. The CI jobstarts the server with no SEP variables at all and still got 48.
That PR already updated PMM's own copy of this expectation (
api-tests/server/logs_test.gogained
"sep-provision.log"); the hard-coded47here was the last stale copy.Verification
Reproduced and fixed on a throwaway Linode VM following
.github/workflows/runner-integration-cli-tests.ymlstep for step — FB server imageperconalab/pmm-server-fb:PR-4500-38283f6(the PR's current head build, one commit newerthan the failing run's
d9f3741), the matching FB client tarball, and the same--database pdpgsql=16 --database ps,ENCRYPTED_CLIENT_CONFIG=truesetup:/srv/logs/on the FB server containssep-provision.logwith SEP disabled.Before (spec at
main):1 failed—Expected length: 47 / Received length: 48,the same assertion and the same numbers as CI. Reading the archive directly confirmed the
delta:
After (this branch, same VM): the test passes (
1 passed). A full--grep "@generic|@unregister"run on this branch gave43 passed, 13 skipped, 1 failed,the single failure being
PMM-T2227 - Verify tarball upgradereadingprocess.env.PMM_CLIENT_VERSIONas undefined — a variable my repro shell had not exportedand CI does set; that test passed in the CI run this fix comes from, and this change cannot
affect it.
The archive's other counted assertions are untouched and unaffected: the
10- and8-fileones are
--skip-server(client-only), and the two43-file ones sit inside permanentlytest.skip(true, …)--pproftests.What this does and does not prove
The count is verified against a build that carries #5755. Until that PR merges,
mainstillproduces 47 files, so this test is expected to fail on
main— hence the draft status.The gate for flipping it to ready is #5755 landing, after which the normal CLI runs confirm
it.
Generated by Claude Code