Skip to content

CLDSRV-992: Capture cloudserver's log on the s3c functional jobs - #6283

Draft
anurag4DSB wants to merge 1 commit into
development/9.3from
improvement/CLDSRV-992-capture-cloudserver-log-s3c
Draft

CLDSRV-992: Capture cloudserver's log on the s3c functional jobs#6283
anurag4DSB wants to merge 1 commit into
development/9.3from
improvement/CLDSRV-992-capture-cloudserver-log-s3c

Conversation

@anurag4DSB

@anurag4DSB anurag4DSB commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

The s3c-ft-tests jobs upload sproxyd, bucketd, repd and vault logs but never cloudserver's own, because its output goes to the container's stdout and is discarded. Any failure originating in cloudserver on these jobs is therefore undiagnosable after the fact, and that is currently blocking three CLDSRV-992 rows rather than being hypothetical.

Chasing a fresh occurrence of F8's ServiceUnavailable through the artifacts that do exist: nginx logged zero 5xx, sproxyd zero errors, and bucketd zero 503s with its only connection errors at a single startup instant. So cloudserver produced that 503 itself and nothing recorded why. Same for F4's and F8's 40s fixture timeouts, where the same fixture builds three or four times per run and stalls once, which is a stall rather than slow work.

The job now dumps cloudserver's container log to its artifacts directory before teardown, while the containers still exist. The step is if: always() and ends in || true, so it runs on failure, which is when it matters, and can never itself fail a job; a passing run pays one docker compose logs call. If it were wrong we would see an empty or missing s3.log in the very next run's artifacts.

The s3c-ft-tests jobs run cloudserver as a container and upload sproxyd,
bucketd, repd and vault logs, but never cloudserver's own. Its output goes to
the container's stdout and is discarded, so any failure that originates in
cloudserver on these jobs is undiagnosable after the fact.

That is not hypothetical. Three CLDSRV-992 rows sit on these jobs and are all
stuck for exactly this reason:

- F8's ServiceUnavailable on "should get the body of part 8 when ordered MPU".
  Chasing a fresh occurrence showed nginx with zero 5xx, sproxyd with zero
  errors, and bucketd with zero 503s and its only connection errors at a single
  startup instant. The 503 was therefore generated by cloudserver itself, and
  there is no log to say why.
- F4 and F8's 40s timeouts in the uploadPartCopy fixtures. The same fixture
  builds successfully three or four times per run and then stalls once, so it is
  an intermittent stall rather than slow work, and again nothing records it.

Dump the container's log to the job's artifacts directory before teardown, while
the containers still exist. The step is if: always() and ends in `|| true`, so it
runs on failure -- which is when it matters -- and can never itself fail a job.
A passing run pays one docker compose logs call.

Issue: CLDSRV-992
@bert-e

bert-e commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

Hello anurag4dsb,

My role is to assist you with the merge of this
pull request. Please type @bert-e help to get information
on this process, or consult the user documentation.

Available options
name description privileged authored
/after_pull_request Wait for the given pull request id to be merged before continuing with the current one.
/bypass_author_approval Bypass the pull request author's approval
/bypass_build_status Bypass the build and test status
/bypass_commit_size Bypass the check on the size of the changeset TBA
/bypass_incompatible_branch Bypass the check on the source branch prefix
/bypass_jira_check Bypass the Jira issue check
/bypass_peer_approval Bypass the pull request peers' approval
/bypass_leader_approval Bypass the pull request leaders' approval
/bypass_source_branch_lineage Bypass the cross-branch contamination check
/approve Instruct Bert-E that the author has approved the pull request. ✍️
/create_pull_requests Allow the creation of integration pull requests.
/create_integration_branches Allow the creation of integration branches.
/no_octopus Prevent Wall-E from doing any octopus merge and use multiple consecutive merge instead
/unanimity Change review acceptance criteria from one reviewer at least to all reviewers
/wait Instruct Bert-E not to run until further notice.
Available commands
name description privileged
/help Print Bert-E's manual in the pull request.
/status Print Bert-E's current status in the pull request.
/clear Remove all comments from Bert-E from the history TBA
/retry Re-start a fresh build TBA
/build Re-start a fresh build TBA
/force_reset Delete integration branches & pull requests, and restart merge process from the beginning.
/reset Try to remove integration branches unless there are commits on them which do not appear on the source branch.

Status report is not available.

@bert-e

bert-e commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

Incorrect fix version

The Fix Version/s in issue CLDSRV-992 contains:

  • None

Considering where you are trying to merge, I ignored possible hotfix versions and I expected to find:

  • 9.3.21

  • 9.4.4

  • 9.5.0

Please check the Fix Version/s of CLDSRV-992, or the target
branch of this pull request.

@codecov

codecov Bot commented Sep 8, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 85.28%. Comparing base (4628dd2) to head (f0431e8).
✅ All tests successful. No failed tests found.

Additional details and impacted files

Impacted file tree graph
see 1 file with indirect coverage changes

@@                 Coverage Diff                 @@
##           development/9.3    #6283      +/-   ##
===================================================
- Coverage            85.31%   85.28%   -0.03%     
===================================================
  Files                  206      206              
  Lines                13435    13435              
===================================================
- Hits                 11462    11458       -4     
- Misses                1973     1977       +4     
Flag Coverage Δ
file-ft-tests 68.35% <ø> (-0.06%) ⬇️
file-ft-tests-null-compat 68.86% <ø> (ø)
kmip-ft-tests 28.35% <ø> (ø)
mongo-v0-ft-tests 69.62% <ø> (ø)
mongo-v1-ft-tests 69.54% <ø> (-0.06%) ⬇️
multiple-backend 36.82% <ø> (ø)
s3c-ft-tests-v0 64.00% <ø> (-0.02%) ⬇️
s3c-ft-tests-v0-null-compat 64.06% <ø> (ø)
s3c-ft-tests-v1 63.98% <ø> (ø)
sur-tests 35.96% <ø> (-0.03%) ⬇️
sur-tests-inflights 37.81% <ø> (ø)
unit 71.27% <ø> (ø)
utapi-v2-tests 34.61% <ø> (-0.03%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@anurag4DSB
anurag4DSB marked this pull request as draft September 8, 2026 13:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants