Module Import alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias identifier ImportFrom alias identifier Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad For NameStore Call AttributeLoad NameLoad attr body If CompareNotIn Str NameLoad body Continue Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index SubscriptLoad NameLoad Index Str Index SubscriptLoad NameLoad Index Str Index SubscriptLoad NameLoad Index Str attr NameLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad Assign NameStore ListLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword Str Assign SubscriptStore NameLoad Index NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword Str Assign SubscriptStore NameLoad Index NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad For NameStore Call AttributeLoad NameLoad attr body If BoolOpAnd CompareIn Str NameLoad CompareIn Str SubscriptLoad NameLoad Index SubscriptLoad NameLoad Index Str body Expr Call AttributeLoad SubscriptLoad NameLoad Index SubscriptLoad NameLoad Index Str attr NameLoad Assign NameStore ListLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body For NameStore SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Str body AugAssignAdd NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body If NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMult Str Num For NameStore NameLoad body Assign NameStore BinOpAdd BinOpAdd Call NameLoad AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad BinOpMod Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpMult Str Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call NameLoad NameLoad Return ListComp Call NameLoad keyword SubscriptLoad AttributeLoad NameLoad attr Index Str keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr comprehension NameStore NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad Str attr ListComp Call NameLoad Call AttributeLoad NameLoad attr NameLoad comprehension NameStore ListLoad Str Str Str Str Str Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore NameLoad Assign NameStore Dict AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Str TryFinally body TryExcept body Assign NameStore Call NameLoad NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Assign NameStore BinOpAdd BinOpAdd Call NameLoad AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr If CompareNotEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr keyword NameLoad keyword Str keyword Str keyword NameLoad keyword Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr keyword NameLoad keyword Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr Str NameLoad finalbody If NameLoad body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad BoolOpOr NameLoad Str Expr Call NameLoad SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Assign SubscriptStore NameLoad Index Str Call NameLoad NameLoad If NameLoad body Expr Call NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword Str keyword Str keyword Str Assign SubscriptStore AttributeLoad NameLoad attr Index Str AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad NameLoad attr Index Str Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword Num keyword NameLoad Assign NameStore Lambda arguments args NameParam defaults BinOpAdd AttributeLoad NameLoad attr BinOpMod Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad keyword NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr Str NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args defaults body Expr Call AttributeLoad NameLoad attr BinOpAdd AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call NameLoad NameLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list If CompareEq NameLoad Str body Expr Call NameLoad
N/A N/A collections N/A functools N/A json N/A jinja2 oslo_config cfg oslo_log log logging subunit v2 subunit_v2 N/A yaml shaker.engine aggregators shaker.engine config shaker.engine sla shaker.engine utils shaker.engine writer N/A LOG N/A N/A logging getLogger __name__ calculate_stats N/A N/A records tests N/A N/A N/A rec_map N/A N/A collections defaultdict N/A N/A functools partial N/A collections defaultdict N/A N/A functools partial N/A collections defaultdict list N/A record N/A N/A records values N/A N/A N/A test record N/A N/A N/A aggregator N/A N/A aggregators get_aggregator N/A tests N/A N/A record N/A test N/A N/A N/A aggregator record_summary record N/A N/A N/A N/A N/A N/A rec_map N/A N/A record N/A scenario N/A N/A record N/A test N/A N/A record N/A concurrency append record N/A N/A scenario per_scenario N/A N/A rec_map items N/A N/A N/A test per_test N/A N/A per_scenario items N/A N/A aggregator N/A N/A aggregators get_aggregator N/A tests N/A test N/A concurrency_aggregates N/A N/A N/A concurrency per_concurrency N/A N/A per_test items N/A N/A summary N/A N/A aggregator concurrency_summary per_concurrency N/A summary N/A N/A record_id N/A N/A utils make_record_id N/A N/A N/A summary update N/A dict id record_id scenario scenario test test concurrency concurrency type concurrency N/A N/A records N/A record_id summary N/A N/A N/A concurrency_aggregates append summary N/A per_test_summary N/A N/A aggregator test_summary concurrency_aggregates N/A per_test_summary N/A N/A record_id N/A N/A utils make_record_id N/A N/A N/A per_test_summary update N/A dict id record_id scenario scenario test test type test N/A N/A records N/A record_id per_test_summary N/A verify_sla N/A N/A records tests N/A N/A N/A record_map N/A N/A collections defaultdict list N/A r N/A N/A records values N/A N/A N/A N/A test r N/A sla N/A tests N/A N/A r N/A test N/A N/A N/A N/A N/A record_map N/A N/A r N/A test append r N/A sla_records N/A N/A N/A test_id records_per_test N/A N/A record_map items N/A N/A sla_expr N/A N/A tests N/A test_id N/A sla N/A N/A sla_records N/A N/A sla eval_expr sla_expr records_per_test N/A sla_records N/A log_sla N/A N/A sla_records N/A N/A N/A sla_records N/A N/A N/A N/A LOG info N/A * 80 N/A item sla_records N/A N/A test_id N/A N/A N/A _get_location N/A item record : N/A item expression N/A N/A N/A LOG info N/A %-73s %7s N/A test_id N/A [%s] N/A item state N/A N/A N/A LOG info N/A * 80 N/A output_sla N/A N/A sla_records N/A N/A N/A N/A log_sla sla_records N/A N/A N/A dict record N/A N/A item record N/A id state N/A item state expression N/A item expression N/A item sla_records N/A _get_location N/A N/A record N/A N/A N/A N/A N/A . join N/A N/A str N/A N/A record get s N/A s N/A scenario test concurrency node agent_id N/A N/A record get s N/A save_to_subunit N/A N/A sla_records subunit_filename N/A N/A N/A N/A N/A LOG debug Writing subunit stream to: %s subunit_filename N/A fd None N/A state2subunit N/A N/A sla STATE_TRUE N/A sla STATE_FALSE success fail N/A N/A N/A N/A N/A fd N/A open subunit_filename w N/A output N/A N/A subunit_v2 StreamResultToBytes fd N/A item sla_records N/A N/A N/A N/A output startTestRun N/A test_id N/A N/A N/A _get_location N/A item record : N/A item expression N/A N/A N/A item state N/A sla STATE_TRUE N/A N/A N/A N/A output status test_id test_id file_name results mime_type text/plain; charset="utf8" eof True file_bytes N/A N/A yaml safe_dump N/A item record default_flow_style False N/A N/A N/A output status test_id test_id test_status N/A N/A state2subunit get N/A item state skip N/A N/A N/A output stopTestRun N/A N/A N/A LOG info Subunit stream saved to: %s subunit_filename N/A N/A N/A IOError N/A e N/A N/A N/A N/A LOG error Error writing subunit stream: %s e N/A N/A fd N/A N/A N/A N/A fd close N/A generate_report N/A N/A data report_template report_filename subunit_filename book_folder N/A None N/A N/A N/A N/A LOG debug Generating report, template: %s, output: %s report_template N/A report_filename <dummy> N/A N/A calculate_stats N/A data N/A records N/A data N/A tests N/A sla_records N/A verify_sla N/A data N/A records N/A data N/A tests N/A N/A data N/A sla N/A output_sla sla_records N/A subunit_filename N/A N/A N/A save_to_subunit sla_records subunit_filename N/A jinja_env N/A N/A jinja2 Environment variable_start_string [[[ variable_end_string ]]] comment_start_string [[# comment_end_string #]] N/A N/A N/A jinja_env filters N/A json N/A json dumps N/A N/A N/A jinja_env filters N/A yaml N/A N/A functools partial N/A yaml safe_dump indent 2 default_flow_style False N/A alias_mapper N/A N/A N/A f N/A N/A N/A config REPORT_TEMPLATES N/A %s.html f N/A template N/A N/A utils read_file report_template alias_mapper alias_mapper N/A compiled_template N/A N/A jinja_env from_string template N/A rendered_template N/A N/A compiled_template render N/A dict report data N/A report_filename N/A N/A N/A N/A LOG debug Writing report to: %s report_filename N/A N/A N/A N/A N/A utils write_file rendered_template report_filename N/A N/A N/A LOG info Report saved to: %s report_filename N/A N/A N/A IOError N/A e N/A N/A N/A N/A LOG error Failed to write report file: %s e N/A book_folder N/A N/A N/A N/A writer write_book book_folder data N/A main N/A N/A N/A N/A N/A N/A N/A utils init_config_and_logging N/A N/A config REPORT_OPTS N/A config INPUT_OPTS N/A N/A N/A LOG debug Reading JSON data from: %s N/A N/A cfg CONF input N/A report_data N/A N/A json loads N/A N/A utils read_file N/A N/A cfg CONF input N/A N/A generate_report report_data N/A N/A cfg CONF report_template N/A N/A cfg CONF report N/A N/A cfg CONF subunit N/A N/A cfg CONF book N/A N/A N/A __name__ __main__ N/A N/A N/A main