Module Import alias ImportFrom alias identifier Import alias identifier Import alias identifier Import alias identifier ImportFrom alias ImportFrom alias ImportFrom alias identifier Import alias Expr Call AttributeLoad Call AttributeLoad NameLoad attr Str attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad ClassDef bases AttributeLoad NameLoad attr AttributeLoad NameLoad attr body ClassDef bases body Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad AttributeLoad NameLoad attr attr keyword TupleLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Str Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr keyword AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad decorator_list NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad Return AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Str If CompareGt Call NameLoad NameLoad Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr body Return Num If CompareLt Call NameLoad NameLoad Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr body Return Num Return Num decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr BinOpSub NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd BinOpAdd NameLoad Str Call NameLoad AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr If CompareIsNot NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd Str Call NameLoad SubscriptLoad NameLoad Index Num Str Str Call NameLoad SubscriptLoad NameLoad Index Num Str Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad SubscriptLoad NameLoad Index Num BinOpAdd BinOpAdd BinOpAdd Call NameLoad AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index Num Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str If CompareIs AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Raise Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Assign NameStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str Assign AttributeStore AttributeLoad NameLoad attr attr Call AttributeLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr BinOpAdd Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr BinOpAdd Str NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr BinOpAdd BinOpAdd Str NameLoad Str Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr keyword Str FunctionDef arguments args NameParam defaults body Expr Str If CompareIs AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Raise Call AttributeLoad NameLoad attr Str If UnaryOpNot AttributeLoad AttributeLoad NameLoad attr attr body Raise Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str Assign NameStore BinOpMult Num Call NameLoad AttributeLoad NameLoad attr For NameStore Call NameLoad Call NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr BinOpAdd BinOpAdd BinOpAdd Str Call NameLoad NameLoad Str Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr keyword Str FunctionDef arguments args NameParam defaults body Expr Str If CompareIs AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Raise Call AttributeLoad NameLoad attr Str If UnaryOpNot AttributeLoad AttributeLoad NameLoad attr attr body Raise Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr Str Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr keyword Str FunctionDef arguments args NameParam defaults body Expr Str If CompareIs AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Raise Call AttributeLoad NameLoad attr Str If CompareIs AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Raise Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Assign NameStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad keyword AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr keyword Str FunctionDef arguments args NameParam defaults body Expr Str If CompareIs AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Raise Call AttributeLoad NameLoad attr Str If UnaryOpNot AttributeLoad AttributeLoad NameLoad attr attr body Raise Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr keyword Str decorator_list
N/A N/A time testtools content test_content N/A tempest.cloudscaling.base base N/A tempest.cloudscaling.thirdparty.scenario.aws_compat.base aws_base N/A tempest.cloudscaling.utils utils tempest.common.utils.linux remote_client tempest test tempest.thirdparty.boto.utils wait boto_wait N/A logging N/A N/A N/A N/A N/A logging getLogger boto setLevel N/A logging CRITICAL N/A LOG N/A N/A logging getLogger __name__ VolumeBenchmarkTest N/A N/A base BaseBenchmarkTest N/A aws_base BaseAWSTest N/A Context N/A N/A N/A instance None N/A ssh None N/A volume None N/A part_lines None N/A volume_ready False N/A volume_filled False N/A snapshot None N/A setUpClass N/A N/A cls N/A N/A N/A N/A N/A N/A super VolumeBenchmarkTest cls setUpClass N/A N/A N/A cls _load_benchmark_data VolumeBenchmarkTest N/A cfg N/A N/A cls config cloudscaling N/A image_name N/A cfg general_image_name N/A N/A cls ssh_user N/A cfg general_ssh_user_name N/A N/A cls volume_size N/A cfg volume_benchmark_volume_size_gb N/A N/A cls volume_fill N/A cfg volume_benchmark_volume_fill_percent N/A N/A cls volume_attach_name sdh N/A N/A cls ctx N/A N/A cls Context N/A N/A cls image_id N/A N/A cls _prepare_image_id image_name N/A N/A cls keypair N/A N/A cls _prepare_key_pair N/A sg N/A N/A cls _prepare_security_group N/A N/A cls sec_group_name N/A sg name N/A reservation N/A N/A N/A cls ec2_client run_instances N/A cls image_id instance_type N/A cls instance_type key_name N/A N/A cls keypair name security_groups N/A N/A cls sec_group_name N/A N/A N/A cls addResourceCleanUp N/A cls destroy_reservation reservation N/A instance N/A N/A reservation instances N/A 0 N/A N/A N/A LOG info state: %s N/A instance state N/A N/A N/A cls _wait_instance_state instance running N/A N/A N/A cls ctx instance instance N/A ip_address N/A N/A cls _prepare_public_ip instance N/A ssh N/A N/A remote_client RemoteClient ip_address N/A cls ssh_user pkey N/A N/A cls keypair material N/A N/A N/A cls ctx ssh ssh N/A classmethod N/A test safe_setup _volume_state N/A N/A self N/A N/A N/A N/A N/A N/A N/A self ctx volume update validate True N/A N/A N/A N/A self ctx volume status N/A _part_state N/A N/A self N/A N/A N/A current N/A N/A N/A N/A N/A N/A self ctx ssh get_partitions split N/A N/A N/A len current N/A len N/A N/A self ctx part_lines N/A N/A 1 N/A N/A N/A len current N/A len N/A N/A self ctx part_lines N/A N/A -1 N/A 0 N/A _start_test N/A N/A self N/A N/A N/A N/A self start_time N/A N/A time time N/A _end_test N/A N/A self detail_description N/A N/A N/A end_time N/A N/A time time N/A N/A self test_time N/A end_time N/A self start_time N/A content N/A N/A test_content text_content N/A N/A N/A detail_description  time:  N/A str N/A self test_time s N/A N/A N/A self addDetail Current content N/A reference_time N/A N/A self _get_benchmark_result N/A N/A reference_time None N/A N/A content N/A N/A test_content text_content N/A N/A N/A N/A N/A Min time:  N/A str N/A reference_time N/A 0 s,  Max time:  N/A str N/A reference_time N/A 1 s N/A N/A N/A self addDetail AWS content N/A _check_test N/A N/A self N/A N/A N/A reference_time N/A N/A self _get_benchmark_result N/A N/A reference_time None N/A N/A N/A N/A self assertLessEqual N/A self test_time N/A float N/A reference_time N/A 1 N/A N/A N/A N/A str N/A self test_time s (current) >  N/A reference_time N/A 1 s (AWS) N/A test_001_attach_volume N/A N/A self N/A N/A N/A Attach volume N/A N/A N/A N/A self ctx ssh None N/A N/A N/A N/A self skipException Booting failed N/A N/A N/A self _start_test N/A zone N/A N/A N/A self ctx instance placement N/A volume N/A N/A N/A self ec2_client create_volume N/A self volume_size zone N/A N/A N/A self addResourceCleanUp N/A self destroy_volume_wait volume N/A N/A N/A self ctx volume volume N/A N/A N/A self assertVolumeStatusWait volume available N/A N/A N/A self ctx part_lines N/A N/A N/A N/A N/A N/A self ctx ssh get_partitions split N/A N/A N/A volume attach N/A N/A N/A self ctx instance id N/A /dev/ N/A self volume_attach_name N/A N/A N/A self assertVolumeStatusWait N/A self _volume_state in-use N/A N/A N/A boto_wait re_search_wait N/A self _volume_state in-use N/A N/A N/A boto_wait state_wait N/A self _part_state 1 N/A part_lines_new N/A N/A N/A N/A N/A N/A self ctx ssh get_partitions split N/A volume_name N/A N/A utils detect_new_volume N/A N/A self ctx part_lines part_lines_new N/A N/A N/A self ctx part_lines part_lines_new N/A N/A N/A self _end_test Create and attach volume N/A N/A N/A N/A N/A self ctx ssh exec_command N/A PATH=$PATH:/usr/sbin:/usr/bin && sudo mkfs.ext3 /dev/ volume_name N/A N/A N/A N/A N/A self ctx ssh exec_command N/A N/A sudo mkdir -m 777 /vol && sudo mount /dev/ volume_name  /vol N/A N/A N/A self ctx volume_ready True N/A N/A N/A self _check_test N/A N/A N/A test attr type benchmark test_002_fill_volume N/A N/A self N/A N/A N/A Fill volume with data N/A N/A N/A N/A self ctx ssh None N/A N/A N/A N/A self skipException Booting failed N/A N/A N/A N/A self ctx volume_ready N/A N/A N/A N/A self skipException Volume preparation failed N/A N/A N/A self _start_test N/A N/A N/A N/A N/A self ctx ssh exec_command sudo mkdir -m 777 /vol/data N/A file_lines N/A 102 N/A int N/A self volume_size N/A i N/A xrange N/A int N/A self volume_fill N/A N/A N/A N/A N/A N/A self ctx ssh exec_command N/A N/A N/A cat /dev/urandom | tr -d -c 'a-zA-Z0-9' | fold -w 1020 | head -n  N/A str file_lines  > /vol/data/file N/A str i N/A N/A N/A self _end_test Volume filling N/A N/A N/A self ctx volume_filled True N/A N/A N/A self _check_test N/A N/A N/A test attr type benchmark test_003_snapshot_volume N/A N/A self N/A N/A N/A Snapshot volume N/A N/A N/A N/A self ctx ssh None N/A N/A N/A N/A self skipException Booting failed N/A N/A N/A N/A self ctx volume_filled N/A N/A N/A N/A self skipException Volume filling failed N/A N/A N/A self _start_test N/A snapshot N/A N/A N/A self ec2_client create_snapshot N/A N/A N/A self ctx volume id N/A N/A N/A self addResourceCleanUp N/A self destroy_snapshot_wait snapshot N/A N/A N/A self assertSnapshotStatusWait snapshot completed N/A N/A N/A self _end_test Snapshot creation N/A N/A N/A self ctx snapshot snapshot N/A N/A N/A self _check_test N/A N/A N/A test attr type benchmark test_004_clone_volume_snapshot N/A N/A self N/A N/A N/A Clone volume N/A N/A N/A N/A self ctx ssh None N/A N/A N/A N/A self skipException Booting failed N/A N/A N/A N/A self ctx snapshot None N/A N/A N/A N/A self skipException Snapshot of volume failed N/A N/A N/A self _start_test N/A zone N/A N/A N/A self ctx instance placement N/A volume2 N/A N/A N/A self ec2_client create_volume N/A self volume_size zone snapshot N/A N/A self ctx snapshot N/A N/A N/A self addResourceCleanUp N/A self destroy_volume_wait volume2 N/A N/A N/A self assertVolumeStatusWait volume2 available N/A N/A N/A self _end_test Volume creation by snapshot N/A N/A N/A self _check_test N/A N/A N/A test attr type benchmark test_005_detach_volume N/A N/A self N/A N/A N/A Detach volume N/A N/A N/A N/A self ctx ssh None N/A N/A N/A N/A self skipException Booting failed N/A N/A N/A N/A self ctx volume_ready N/A N/A N/A N/A self skipException Volume preparation failed N/A N/A N/A self _start_test N/A N/A N/A N/A N/A self ctx ssh exec_command sudo umount /vol N/A N/A N/A N/A N/A self ctx volume detach N/A N/A N/A self assertVolumeStatusWait N/A self _volume_state available N/A N/A N/A boto_wait re_search_wait N/A self _volume_state available N/A N/A N/A self _end_test Detach volume N/A N/A N/A boto_wait state_wait N/A self _part_state -1 N/A N/A N/A self _check_test N/A N/A N/A test attr type benchmark N/A