]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
qa/rgw: fix perl tests missing Amazon::S3 module 63760/head
authorMark Kogan <mkogan@redhat.com>
Wed, 25 Jun 2025 12:21:49 +0000 (12:21 +0000)
committerMark Kogan <mkogan@redhat.com>
Fri, 27 Jun 2025 09:18:11 +0000 (09:18 +0000)
commit7faa23f160c9f4b40d25fe27f2345dbf999b0c84
treea8b3b2d426722a96696cc7ba16cfe3252e7d4ef1
parent95101f0c8a97c80b59a59a506b707e94af26c0be
qa/rgw: fix perl tests missing Amazon::S3 module

and a second case where perl tests can fail without error output

1. fix errors like: `Can't locate Amazon/S3.pm in @INC (you may need to
   install the Amazon::S3 module)`
by priming the perl tests with installing the Amazon::S3 module from cpan

ex:
```
2025-06-23T19:18:40.162 INFO:tasks.workunit.client.0.smithi090.stderr:Can't locate Amazon/S3.pm in @INC (you may need to install the Amazon::S3 module) (@INC contains: /usr/local/lib64/perl5/5.32 ...
```

2. log an error when RGW process is not detected

Fixes: https://tracker.ceph.com/issues/71577
Signed-off-by: Mark Kogan <mkogan@redhat.com>
12 files changed:
qa/suites/rgw/multifs/0-install.yaml
qa/suites/rgw/multifs/tasks/rgw_bucket_quota.yaml
qa/suites/rgw/multifs/tasks/rgw_multipart_upload.yaml
qa/suites/rgw/multifs/tasks/rgw_user_quota.yaml
qa/suites/rgw/thrash/install.yaml
qa/suites/rgw/thrash/workload/rgw_bucket_quota.yaml
qa/suites/rgw/thrash/workload/rgw_multipart_upload.yaml
qa/suites/rgw/thrash/workload/rgw_user_quota.yaml
qa/workunits/rgw/s3_bucket_quota-run.sh [new file with mode: 0755]
qa/workunits/rgw/s3_multipart_upload-run.sh [new file with mode: 0755]
qa/workunits/rgw/s3_user_quota-run.sh [new file with mode: 0755]
qa/workunits/rgw/s3_utilities.pm