Bug #77243
closedrgw/testing/d4n: error during execution of test_rgw_d4n.py
0%
Description
Here's the runtime error:
2026-06-08T10:05:21.728 INFO:tasks.workunit.client.0.trial049.stderr:Traceback (most recent call last):
2026-06-08T10:05:21.731 INFO:tasks.workunit.client.0.trial049.stderr: File "/home/ubuntu/cephtest/clone.client.0/qa/workunits/rgw/test_rgw_d4n.py", line 433, in <module>
2026-06-08T10:05:21.734 INFO:tasks.workunit.client.0.trial049.stderr: main()
2026-06-08T10:05:21.736 INFO:tasks.workunit.client.0.trial049.stderr: File "/home/ubuntu/cephtest/clone.client.0/qa/workunits/rgw/test_rgw_d4n.py", line 409, in main
2026-06-08T10:05:21.738 INFO:tasks.workunit.client.0.trial049.stderr: test_small_object(r, client, s3)
2026-06-08T10:05:21.740 INFO:tasks.workunit.client.0.trial049.stderr: File "/home/ubuntu/cephtest/clone.client.0/qa/workunits/rgw/test_rgw_d4n.py", line 206, in test_small_object
2026-06-08T10:05:21.741 INFO:tasks.workunit.client.0.trial049.stderr: oid_in_cache = bucketID + "#" + data.get('version') + "test.txt#0" + data.get('size')
2026-06-08T10:05:21.743 INFO:tasks.workunit.client.0.trial049.stderr:TypeError: can only concatenate str (not "NoneType") to str
2026-06-08T10:05:21.745 INFO:tasks.workunit:Stopping ['rgw/run-d4n.sh', 'rgw/test_d4n.sh'] on client.0...
After quite a bit of output, this is found in the logs:
File "/home/teuthworker/src/git.ceph.com_teuthology_2cdf45ce0cbb526f1d09d97e0ac900f15784b1b2/teuthology/orchestra/run.py", line 181, in _raise_for_status
raise CommandFailedError(
teuthology.exceptions.CommandFailedError: Command failed (workunit test rgw/run-d4n.sh) on trial049 with status 1: 'mkdir -p -- /home/ubuntu/cephtest/mnt.0/client.0/tmp && cd -- /home/ubuntu/cephtest/mnt.0/client.0/tmp && CEPH_CLI_TEST_DUP_COMMAND=1 CEPH_REF=d30dcc205dfb5e4456cda43b2699a54c25d2189f TESTDIR="/home/ubuntu/cephtest" CEPH_ARGS="--cluster ceph" CEPH_ID="0" PATH=$PATH:/usr/sbin CEPH_BASE=/home/ubuntu/cephtest/clone.client.0 CEPH_ROOT=/home/ubuntu/cephtest/clone.client.0 CEPH_MNT=/home/ubuntu/cephtest/mnt.0 adjust-ulimits ceph-coverage /home/ubuntu/cephtest/archive/coverage timeout 3h /home/ubuntu/cephtest/clone.client.0/qa/workunits/rgw/run-d4n.sh'
The error can be found in:
https://qa-proxy.ceph.com/teuthology/anuchaithra-2026-06-08_09:54:17-rgw-wip-anrao3-testing-2026-06-05-1849-distro-default-trial/277285/teuthology.log
JI Updated by J. Eric Ivancich 6 months ago
@Samarah Uriarte If there's someone more appropriate to assign this to, please feel free to do so and notify them.
JI Updated by J. Eric Ivancich 6 months ago
- Subject changed from rgw/d4n: errors during execution of test_rgw_d4n.py to rgw/testing/d4n: errors during execution of test_rgw_d4n.py
JI Updated by J. Eric Ivancich 6 months ago
- Subject changed from rgw/testing/d4n: errors during execution of test_rgw_d4n.py to rgw/testing/d4n: error during execution of test_rgw_d4n.py
SU Updated by Samarah Uriarte 6 months ago ยท Edited
After checking out anrao3's testing branch, adding a commit to begin debugging the suite failure, and running the D4N suite against the updated branch, the teuthology results I see are consistent with the issue it experiences on main rather than the error in the logs above. In my run, the D4N suite completes successfully but the job fails and produces a coredump during teardown:
INFO:root:Completed D4N tests ... Found coredumps on [email protected], flagging run as failed
Here are the run's results: https://qa-proxy.ceph.com/teuthology/suriarte-2026-06-10_16:34:59-rgw:d4n-wip-d4n-suite-debugging-distro-default-trial/283290/teuthology.log
The OS type for my run differs from the OS type of the original failure, which may have something to do with this difference. I will retry with a matching OS type.
JI Updated by J. Eric Ivancich 6 months ago
Thanks, Samarah. If you think this is a duplicate of the core dump issue, we can attach that tracker as such and then close this as a duplicate. Let me know if need help with the bookkeeping.
SU Updated by Samarah Uriarte 6 months ago
I ran the suite using the same OS type and again, the tests passed but a core dump was produced: https://qa-proxy.ceph.com/teuthology/suriarte-2026-06-11_18:14:19-rgw-wip-d4n-suite-debugging-distro-default-trial/285311/teuthology.log
I can't reproduce the original error so I believe it's a duplicate of the already existing D4N suite tracker issue, which focuses on the core dump behavior.
JI Updated by J. Eric Ivancich 6 months ago
- Related to Bug #76333: rgw/d4n: rgw_d4ntests produces core dumps added
JI Updated by J. Eric Ivancich 6 months ago
I've added that tracker as related. Does that tracker have a PR that it can link to yet?
SU Updated by Samarah Uriarte 4 months ago
- Status changed from New to Can't reproduce