Project

General

Profile

Bug #22141

rgw: run ../qa/workunits/rgw/run-s3tests.sh in build dir,test_load_graph test not find file; common not import

Added by jianguo bao over 6 years ago. Updated over 6 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
rgw
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

When run ../qa/workunits/rgw/run-s3tests.sh in ceph build dir,
s3tests.fuzz.test.test_fuzzer.test_load_grap need open file request_decision_graph.yml,but cannot found as
"1623 graph_file = open('request_decision_graph.yml', 'r')
1624 IOError: [Errno 2] No such file or directory: 'request_decision_graph.yml'"

When run ../qa/workunits/rgw/run-s3tests.sh in ceph build dir, if terminate the running,leave the tmp s3-test dir exist,
Now if we again run this script,nosetests will find too many testcase in previous tmp s3-test dir, and will have relative
import module error such as 'Failure: ImportError (cannot import name realistic) ... ERROR'

Also available in: Atom PDF