CLDSRV-992: Fix missing s3 logs artifact for cloudserver - #6288
Conversation
) The s3c-ft-tests job runs cloudserver from the plain image, whose CMD is `yarn start` with output left on the container's stdout, so cloudserver's log is never written to /artifacts and never uploaded. Every other functional job already uses the -testcoverage image, whose docker-test-with-coverage.sh runs `nyc yarn start > /artifacts/s3.log 2> /artifacts/s3-stderr.log`. CLDSRV-942 fixed this on development/9.2 and it reached 9.3, 9.4, 9.5 and hotfix/9.3.13, but never this branch. It matters here: CLDSRV-992 row F8's ServiceUnavailable on this branch could not be root-caused because nginx, sproxyd and bucketd all logged clean and cloudserver's own log did not exist. Backport of #6216 Issue: CLDSRV-992
Hello anurag4dsb,My role is to assist you with the merge of this Available options
Available commands
Status report is not available. |
Waiting for approvalThe following approvals are needed before I can proceed with the merge:
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files
@@ Coverage Diff @@
## hotfix/9.2.36 #6288 +/- ##
=================================================
- Coverage 84.37% 84.34% -0.04%
=================================================
Files 204 204
Lines 13162 13162
=================================================
- Hits 11106 11101 -5
- Misses 2056 2061 +5
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
|
/approve |
In the queueThe changeset has received all authorizations and has been added to the The changeset will be merged in:
The following branches will NOT be impacted:
There is no action required on your side. You will be notified here once IMPORTANT Please do not attempt to modify this pull request.
If you need this pull request to be removed from the queue, please contact a The following options are set: approve |
|
I have successfully merged the changeset of this pull request
The following branches have NOT changed:
Please check the status of the associated issue CLDSRV-992. Goodbye anurag4dsb. |
Backport of CLDSRV-942, from #6216 (
30a06a609), cherry-picked unchanged: a one-line switch of the s3c-ft-tests job to the-testcoverageimage. That fix landed on development/9.2 and reached 9.3, 9.4, 9.5 and hotfix/9.3.13, but never this branch.Why it matters here: the plain image runs
yarn startwith output left on the container stdout, so cloudserver's log is never written to/artifactsand never uploaded. The-testcoverageimage runsdocker-test-with-coverage.sh, which doesnyc yarn start > /artifacts/s3.log 2> /artifacts/s3-stderr.log, which is how every other functional job already captures it. Verified on real runs: a development/9.3 s3c bundle contains a 38 MBs3.log; this branch's F8 run (33647777908) uploaded 19 files and none of them was cloudserver's. That is why CLDSRV-992 row F8's ServiceUnavailable could not be root-caused on this branch: nginx, sproxyd and bucketd all logged clean and there was no cloudserver log to read.One behavioural note for the reviewer: this puts the hotfix s3c job on the
nyc-instrumented image, the same one 9.3 and later already run for this job. Nothing else changes.