octopus: qa/tasks: teuthology octopus backport#46149
Conversation
This commit adds the file path of ceph log directories to the job's info.yaml log file. The motivation behind this is, in case of job timeout, the logs would still be tranferred to teuthology host before nuking test machines using these ceph log directory paths in job's info.yaml log file. Signed-off-by: Shraddha Agrawal <shraddha.agrawal000@gmail.com> (cherry picked from commit e991f04)
|
jenkins test make check |
|
@ljflores do you want to test this PR with your reproducer for https://tracker.ceph.com/issues/51076, which we know results in dead jobs? |
|
The Docs build failure is waiting on #45972, which I am also testing. |
|
jenkins retest this please |
for better readability also update the comment in `ceph_crash()` to reflect the changed settings Signed-off-by: Kefu Chai <kchai@redhat.com> (cherry picked from commit 43f2738)
97eb206 to
f272477
Compare
|
@ljflores how's testing looking on this? |
|
@neha-ojha I ran a reproducer awhile ago to see if this fixed the absence of remote logs, but I have a vague memory of it not working. That was some time ago though, so let me try and run another reproducer. Will update this with the results. This test was an example of a dead job not collecting remote logs, so I will run this test and see if I can get it to die while collecting remote logs: http://pulpito.front.sepia.ceph.com/yuriw-2022-05-09_21:42:51-rados-wip-yuri2-testing-2022-04-26-1132-octopus-distro-default-smithi/6829091/. Reproducer here. I will check the results of this to see if we've successfully captured logs for a dead job: http://pulpito.front.sepia.ceph.com/lflores-2022-06-28_19:36:24-rados:thrash-erasure-code-wip-yuri5-testing-2022-06-27-0923-octopus-distro-default-smithi/ |
|
Dead jobs now have captured logs. Merging! |
|
jenkins test api |
Backport of #36718 and #37928.
Contribution Guidelines
To sign and title your commits, please refer to Submitting Patches to Ceph.
If you are submitting a fix for a stable branch (e.g. "pacific"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.
Checklist
Show available Jenkins commands
jenkins retest this pleasejenkins test classic perfjenkins test crimson perfjenkins test signedjenkins test make checkjenkins test make check arm64jenkins test submodulesjenkins test dashboardjenkins test dashboard cephadmjenkins test apijenkins test docsjenkins render docsjenkins test ceph-volume alljenkins test ceph-volume toxjenkins test windows