Commit Graph

10 Commits

Author SHA1 Message Date
Kyr Shatskyy
7f9c3308ef qa/tasks/s3tests_java: use remote.write_file
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
2020-09-04 00:02:15 +02:00
Kefu Chai
dcecf1dbe4 qa/tasks/s3tests_java.py: do not change a dict while iterating it
in Python3, dict.items() returns a view instead of an instance of list,
so we have to materialize the view for changing the dict being iterated.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-04-07 21:51:23 +08:00
Kefu Chai
91b49ab39d qa,test: decode return val of base64.b64encode()
base64.b64encode() returns bytes in Python3, and we will pass it as a
commandline parameter later on, which will be quoted. so the command
line can be consumed by shell. so before sending it to shell, we should
convert it to string.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-04-07 21:51:23 +08:00
Kyr Shatskyy
b0bafd1416 qa/tasks/s3tests_java: get rid of cStringIO
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
2020-03-06 10:19:55 +01:00
Sage Weil
f71bb6c731 qa/tasks/s3tests_java: move to gradle 6.0.1
Also switch to using a stable symlink so that the version is determined by the branch.

Signed-off-by: Sage Weil <sage@redhat.com>
2019-12-18 17:04:20 -06:00
Thomas Bechtold
0127cd1e88 qa: Enable flake8 tox and fix failures
There were a couple of problems found by flake8 in the qa/
directory (most of them fixed now). Enabling flake8 during the usual
check runs hopefully avoids adding new issues in the future.

Signed-off-by: Thomas Bechtold <tbechtold@suse.com>
2019-12-12 10:21:01 +01:00
Kyr Shatskyy
50b1823fac qa: get rid of iteritems for python3 compatibility
Fixes: https://tracker.ceph.com/issues/42267
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
2019-10-15 11:27:39 +02:00
Antoaneta Damyanova
47babdf8a6 minor updates in s3-java task; add log-level option in config
Signed-off-by: Antoaneta Damyanova <adamyanova@gmail.com>
2019-05-08 21:25:24 +02:00
Antoaneta Damyanova
09683dbac8 Updated task functionality
- run tests in groups: AWS4Test, BucketTest,ObjectTest
- do garbage collection via radosgw-admin before and after
each group to remove shadow objects and leftovers from multipart upoload
- add output forwarding of gradle to log and cat log file on completion
- switcehd from teardown to end method
- check for endpoint certificat and add it to the java keystore
- add s3tests-java.yaml task file to qa/suites/rgw/verify/tasks
- remove optional branch and repo and use default at ceph/java_s3tests

Signed-off-by: Antoaneta Damyanova <adamyanova@gmail.com>
2019-05-08 21:25:24 +02:00
Antoaneta Damyanova
c2c5e8dae7 A task to run S3 Java tests against RGW
option to download test suite from a custom repository

import ssl certificates to java keystore

read data from config file and create rgw users

installs required packages and runs the tests

Signed-off-by: Antoaneta Damyanova <adamyanova@gmail.com>
2019-05-08 21:25:24 +02:00