forked from drandreaskrueger/chainhammer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tests-with_testrpc-py.log.ansi
146 lines (141 loc) · 27.9 KB
/
tests-with_testrpc-py.log.ansi
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
[1m========================================================================================================= test session starts =========================================================================================================[0m
platform linux -- Python 3.5.3, pytest-4.0.2, py-1.7.0, pluggy-0.8.0 -- /home/andreas/Documents/LiClipseWorkspace/drandreaskrueger/chainhammer/env/bin/python3
cachedir: .pytest_cache
rootdir: /home/andreas/Documents/LiClipseWorkspace/drandreaskrueger/chainhammer, inifile:
plugins: cov-2.6.0
[1mcollecting ... [0m[1mcollecting 0 items [0m[1mcollecting 23 items [0m[1mcollecting 44 items [0m[1mcollected 98 items [0m
tests/test_blocksDB_create.py::test_DB_createTable [32mPASSED[0m[36m [ 1%][0m
tests/test_blocksDB_create.py::test_DB_createTable_ifAlreadyThere [32mPASSED[0m[36m [ 2%][0m
tests/test_blocksDB_create.py::test_DB_dropTable [32mPASSED[0m[36m [ 3%][0m
tests/test_blocksDB_create.py::test_DB_dropTable_whatIfNotThere [32mPASSED[0m[36m [ 4%][0m
tests/test_blocksDB_create.py::test_DB_writeRow_SQL [32mPASSED[0m[36m [ 5%][0m
tests/test_blocksDB_create.py::test_DB_writeRow [32mPASSED[0m[36m [ 6%][0m
tests/test_blocksDB_create.py::test_DB_writeRow_duplicate [32mPASSED[0m[36m [ 7%][0m
tests/test_blocksDB_create.py::test_writeRowIntoFile [32mPASSED[0m[36m [ 8%][0m
tests/test_blocksDB_create.py::test_SQLfileIntoDB [32mPASSED[0m[36m [ 9%][0m
tests/test_blocksDB_create.py::test_SQLfileIntoDB_duplicates_caught [32mPASSED[0m[36m [ 10%][0m
tests/test_blocksDB_create.py::test_DB_query [32mPASSED[0m[36m [ 11%][0m
tests/test_blocksDB_create.py::test_DB_readTable [32mPASSED[0m[36m [ 12%][0m
tests/test_blocksDB_create.py::test_DB_tableSize [32mPASSED[0m[36m [ 13%][0m
tests/test_blocksDB_create.py::test_DB_blocknumberMinMax [32mPASSED[0m[36m [ 14%][0m
tests/test_blocksDB_create.py::test_getBlock [32mPASSED[0m[36m [ 15%][0m
tests/test_blocksDB_create.py::test_getBlock_then_store [32mPASSED[0m[36m [ 16%][0m
tests/test_blocksDB_create.py::test_multithreadedQueue_block0 [32mPASSED[0m[36m [ 17%][0m
tests/test_blocksDB_create.py::test_multithreadedQueue_blocks [32mPASSED[0m[36m [ 18%][0m
tests/test_blocksDB_create.py::test_manyBlocks_multithreaded [32mPASSED[0m[36m [ 19%][0m
tests/test_blocksDB_create.py::test_manyBlocks_singlethreaded [32mPASSED[0m[36m [ 20%][0m
tests/test_blocksDB_create.py::test_DB_newFromFile [32mPASSED[0m[36m [ 21%][0m
tests/test_blocksDB_create.py::test_read_experiment_infofile [32mPASSED[0m[36m [ 22%][0m
tests/test_blocksDB_create.py::test_CLI_params [32mPASSED[0m[36m [ 23%][0m
tests/test_blocksDB_diagramming.py::test_DB_query [32mPASSED[0m[36m [ 24%][0m
tests/test_blocksDB_diagramming.py::test_DB_tableSize [32mPASSED[0m[36m [ 25%][0m
tests/test_blocksDB_diagramming.py::test_check_whether_complete [32mPASSED[0m[36m [ 26%][0m
tests/test_blocksDB_diagramming.py::test_add_colums [32mPASSED[0m[36m [ 27%][0m
tests/test_blocksDB_diagramming.py::test_load_dependencies [32mPASSED[0m[36m [ 28%][0m
tests/test_blocksDB_diagramming.py::test_load_db_and_check_complete [32mPASSED[0m[36m [ 29%][0m
tests/test_blocksDB_diagramming.py::test_simple_stats [32mPASSED[0m[36m [ 30%][0m
tests/test_blocksDB_diagramming.py::test_read_whole_table_into_df [32mPASSED[0m[36m [ 31%][0m
tests/test_blocksDB_diagramming.py::test_check_timestamp_format [32mPASSED[0m[36m [ 32%][0m
tests/test_blocksDB_diagramming.py::test_show_peak_TPS [32mPASSED[0m[36m [ 33%][0m
tests/test_blocksDB_diagramming.py::test_experiment_slice [32mPASSED[0m[36m [ 34%][0m
tests/test_blocksDB_diagramming.py::test_averageTps_wholeExperiment [32mPASSED[0m[36m [ 35%][0m
tests/test_blocksDB_diagramming.py::test_averager [32mPASSED[0m[36m [ 36%][0m
tests/test_blocksDB_diagramming.py::test_avgLine [32mPASSED[0m[36m [ 37%][0m
tests/test_blocksDB_diagramming.py::test_axes_simplifier [32mPASSED[0m[36m [ 38%][0m
tests/test_blocksDB_diagramming.py::test_tps_plotter [32mPASSED[0m[36m [ 39%][0m
tests/test_blocksDB_diagramming.py::test_blocktimes_plotter [32mPASSED[0m[36m [ 40%][0m
tests/test_blocksDB_diagramming.py::test_blocksizes_plotter [32mPASSED[0m[36m [ 41%][0m
tests/test_blocksDB_diagramming.py::test_gas_plotter [32mPASSED[0m[36m [ 42%][0m
tests/test_blocksDB_diagramming.py::test_load_prepare_plot_save [32mPASSED[0m[36m [ 43%][0m
tests/test_blocksDB_diagramming.py::test_CLI_params [32mPASSED[0m[36m [ 44%][0m
tests/test_clienttools.py::test_printVersions [32mPASSED[0m[36m [ 45%][0m
tests/test_clienttools.py::test_web3connection [32mPASSED[0m[36m [ 46%][0m
tests/test_clienttools.py::test_if_poa_then_bugfix_HowtoTestThisNoIdea [32mPASSED[0m[36m [ 47%][0m
tests/test_clienttools.py::test_getBlockTransactionCount [32mPASSED[0m[36m [ 48%][0m
tests/test_clienttools.py::test_unlockAccount [32mPASSED[0m[36m [ 50%][0m
tests/test_clienttype.py::test_simple_web3connection [32mPASSED[0m[36m [ 51%][0m
tests/test_clienttype.py::test_curl_post [32mPASSED[0m[36m [ 52%][0m
tests/test_clienttype.py::test_curl_post_MethodNotExistentError [32mPASSED[0m[36m [ 53%][0m
tests/test_clienttype.py::test_clientType [32mPASSED[0m[36m [ 54%][0m
tests/test_deploy.py::test_compileContract [32mPASSED[0m[36m [ 55%][0m
tests/test_deploy.py::test_deployContract [32mPASSED[0m[36m [ 56%][0m
tests/test_deploy.py::test_contractObject_TestedLaterInCombination [32mPASSED[0m[36m [ 57%][0m
tests/test_deploy.py::test_saveTo_and_loadFromDisk [32mPASSED[0m[36m [ 58%][0m
tests/test_deploy.py::test_contract_CompileDeploySave [32mPASSED[0m[36m [ 59%][0m
tests/test_deploy.py::test_trySmartContractMethods [32mPASSED[0m[36m [ 60%][0m
tests/test_is_up.py::test_call_port__CORRECT__ [32mPASSED[0m[36m [ 61%][0m
tests/test_is_up.py::test_call_port__INCORRECT__ [32mPASSED[0m[36m [ 62%][0m
tests/test_is_up.py::test_simple_RPC_call__CORRECT__ [32mPASSED[0m[36m [ 63%][0m
tests/test_is_up.py::test_simple_RPC_call__INCORRECT__ [32mPASSED[0m[36m [ 64%][0m
tests/test_is_up.py::test_loop_until_is_up [32mPASSED[0m[36m [ 65%][0m
tests/test_page_generator.py::test_readInfofile [32mPASSED[0m[36m [ 66%][0m
tests/test_page_generator.py::test_format_infofile_content [32mPASSED[0m[36m [ 67%][0m
tests/test_page_generator.py::test_readTpsLog [32mPASSED[0m[36m [ 68%][0m
tests/test_page_generator.py::test_title [32mPASSED[0m[36m [ 69%][0m
tests/test_page_generator.py::test_save_page [32mPASSED[0m[36m [ 70%][0m
tests/test_page_generator.py::test_timestamp_humanreadable [32mPASSED[0m[36m [ 71%][0m
tests/test_page_generator.py::test_filename [32mPASSED[0m[36m [ 72%][0m
tests/test_page_generator.py::test_createElements [32mPASSED[0m[36m [ 73%][0m
tests/test_page_generator.py::test_makeAndSave_MarkdownPage [32mPASSED[0m[36m [ 74%][0m
tests/test_page_generator.py::test_makeAndSave_HTMLPage [32mPASSED[0m[36m [ 75%][0m
tests/test_page_generator.py::test_CLI_params [32mPASSED[0m[36m [ 76%][0m
tests/test_send.py::test_initialize_fromAddress [32mPASSED[0m[36m [ 77%][0m
tests/test_send.py::test_contract_set_via_web3 [32mPASSED[0m[36m [ 78%][0m
tests/test_send.py::test_contract_method_ID [32mPASSED[0m[36m [ 79%][0m
tests/test_send.py::test_argument_encoding [32mPASSED[0m[36m [ 80%][0m
tests/test_send.py::test_contract_set_via_RPC [32mPASSED[0m[36m [ 81%][0m
tests/test_send.py::test_many_transactions_consecutive [32mPASSED[0m[36m [ 82%][0m
tests/test_send.py::test_many_transactions_threaded [32mPASSED[0m[36m [ 83%][0m
tests/test_send.py::test_many_transactions_threaded_in_batches [32mPASSED[0m[36m [ 84%][0m
tests/test_send.py::test_controlSample_transactionsSuccessful [32mPASSED[0m[36m [ 85%][0m
tests/test_send.py::test_when_last_ones_mined__give_range_of_block_numbers [32mPASSED[0m[36m [ 86%][0m
tests/test_send.py::test_store_experiment_data [32mPASSED[0m[36m [ 87%][0m
tests/test_send.py::test_wait_some_blocks [32mPASSED[0m[36m [ 88%][0m
tests/test_send.py::test_check_CLI_or_syntax_info_and_exit [32mPASSED[0m[36m [ 89%][0m
tests/test_send.py::test_sendmany_HowtoTestThisNoIdea [32mPASSED[0m[36m [ 90%][0m
tests/test_tps.py::test_loopUntil_NewContract [32mPASSED[0m[36m [ 91%][0m
tests/test_tps.py::test_timestampToSeconds_default [32mPASSED[0m[36m [ 92%][0m
tests/test_tps.py::test_timestampToSeconds_raft [32mPASSED[0m[36m [ 93%][0m
tests/test_tps.py::test_timestampToSeconds_testrpc [32mPASSED[0m[36m [ 94%][0m
tests/test_tps.py::test_analyzeNewBlocks [32mPASSED[0m[36m [ 95%][0m
tests/test_tps.py::test_getNearestEntry [32mPASSED[0m[36m [ 96%][0m
tests/test_tps.py::test_measurement_NotTestableBecauseInfiniteLoop [32mPASSED[0m[36m [ 97%][0m
tests/test_tps.py::test_sendingEndedFiledate [32mPASSED[0m[36m [ 98%][0m
tests/test_tps.py::test_addMeasurementToFile [32mPASSED[0m[36m [100%][0m
[33m========================================================================================================== warnings summary ===========================================================================================================[0m
env/lib/python3.5/site-packages/eth_utils/applicators.py:32
/home/andreas/Documents/LiClipseWorkspace/drandreaskrueger/chainhammer/env/lib/python3.5/site-packages/eth_utils/applicators.py:32: DeprecationWarning: combine_argument_formatters(formatter1, formatter2)([item1, item2])has been deprecated and will be removed in a subsequent major version release of the eth-utils library. Update your calls to use apply_formatters_to_sequence([formatter1, formatter2], [item1, item2]) instead.
"combine_argument_formatters(formatter1, formatter2)([item1, item2])"
-- Docs: https://docs.pytest.org/en/latest/warnings.html
----------- coverage: platform linux, python 3.5.3-final-0 -----------
Name Stmts Miss Cover
--------------------------------------------------------
hammer/__init__.py 0 0 100%
hammer/clienttools.py 80 29 64%
hammer/clienttype.py 121 57 53%
hammer/config.py 26 5 81%
hammer/deploy.py 74 13 82%
hammer/is_up.py 46 12 74%
hammer/send.py 312 106 66%
hammer/tps.py 118 47 60%
reader/__init__.py 0 0 100%
reader/blocksDB_create.py 200 50 75%
reader/blocksDB_diagramming.py 321 75 77%
reader/page_generator.py 91 13 86%
tests/__init__.py 0 0 100%
tests/test_blocksDB_create.py 185 3 98%
tests/test_blocksDB_diagramming.py 145 3 98%
tests/test_clienttools.py 24 1 96%
tests/test_clienttype.py 22 1 95%
tests/test_deploy.py 65 4 94%
tests/test_is_up.py 14 0 100%
tests/test_page_generator.py 49 3 94%
tests/test_send.py 101 6 94%
tests/test_tps.py 81 3 96%
--------------------------------------------------------
TOTAL 2075 431 79%
[1m[33m=============================================================================================== 98 passed, 1 warnings in 13.74 seconds ================================================================================================[0m