Ticket #14111: stem-output.log

File stem-output.log, 15.9 KB (added by nickm, 6 years ago)
Line 
1======================================================================
2                             INITIALISING                             
3======================================================================
4
5  checking stem version...                             1.3.0-dev
6  checking python version...                           2.7.8
7  checking pycrypto version...                         2.6.1
8  checking mock version...                             1.0.1
9  checking pyflakes version...                         0.8.1
10  checking pep8 version...                             1.5.6
11  checking for orphaned .pyc files...                  done
12  checking for unused tests...                         done
13  running pyflakes...                                  done
14  running pep8...                                      done
15
16======================================================================
17                              UNIT TESTS                             
18======================================================================
19
20  util.enum...                                         success (0.00s)
21  util.connection...                                   success (0.06s)
22  util.conf...                                         success (0.00s)
23  util.proc...                                         success (0.02s)
24  util.str_tools...                                    success (0.00s)
25  util.system...                                       success (0.02s)
26  util.tor_tools...                                    success (0.00s)
27  descriptor.export...                                 success (0.01s)
28  descriptor.reader...                                 success (0.50s)
29  descriptor.remote...                                 success (0.01s)
30  descriptor.server_descriptor...                      success (0.09s)
3101/05/2015 11:58:03 [WARNING] Signing key hash: 4f0c867df0ef68160568c826838f482cea7cfe44 != fingerprint: 4f0c867df0ef68160568c826838f482cea7cfe45
32()
33  descriptor.extrainfo_descriptor...                   success (0.10s)
34  descriptor.microdescriptor...                        success (0.00s)
35  descriptor.router_status_entry...                    success (0.03s)
36  descriptor.tordnsel...                               success (0.01s)
37  descriptor.networkstatus.directory_authority...      success (0.01s)
38  descriptor.networkstatus.key_certificate...          success (0.02s)
39  descriptor.networkstatus.document_v2...              success (0.00s)
40  descriptor.networkstatus.document_v3...              success (0.27s)
41  descriptor.networkstatus.bridge_document...          success (0.00s)
42  exit_policy.rule...                                  success (0.01s)
43  exit_policy.policy...                                success (0.18s)
44  version...                                           success (0.01s)
45  tutorial...                                          success (0.07s)
46  tutorial_examples...                                 success (0.05s)
47  response.control_message...                          success (0.01s)
48  response.control_line...                             success (0.00s)
49  response.events...                                   success (0.24s)
50  response.getinfo...                                  success (0.00s)
51  response.getconf...                                  success (0.00s)
52  response.singleline...                               success (0.00s)
53  response.authchallenge...                            success (0.00s)
54  response.protocolinfo...                             success (0.01s)
55  response.mapaddress...                               success (0.00s)
56  connection.authentication...                         success (1.62s)
57  connection.connect...                                success (0.01s)
58  control.controller...                                success (0.03s)
59  interpreter.arguments...                             success (0.01s)
60  interpreter.autocomplete...                          success (0.00s)
61  interpreter.help...                                  success (0.00s)
62  interpreter.commands...                              success (0.01s)
63  doctest...                                           success (0.06s)
64
65======================================================================
66                          INTEGRATION TESTS                           
67======================================================================
68
69Setting up a test instance...
70  making test directory (/home/nickm/src/stem/test/data)... skipped
71  configuring logger (/home/nickm/src/stem/test/data/log)... done
72  writing torrc (/home/nickm/src/stem/test/data/torrc)... done
73    # configuration for stem integration tests
74    DataDirectory /home/nickm/src/stem/test/data
75    SocksListenAddress 127.0.0.1:1112
76    DownloadExtraInfo 1
77    Log notice stdout
78    Log notice file /home/nickm/src/stem/test/data/tor_log
79    ControlPort 1111
80
81Starting tor...
82
83  Jan 05 11:58:06.709 [notice] Tor v0.2.6.2-alpha-dev (git-15f92834dda7c5be) running on Linux with Libevent 2.0.21-stable, OpenSSL 1.0.1j-fips and Zlib 1.2.8.
84  Jan 05 11:58:06.709 [notice] Tor can't help you if you use it wrong! Learn how to be safe at https://www.torproject.org/download/download#warning
85  Jan 05 11:58:06.709 [notice] This version is not a stable Tor release. Expect more bugs than usual.
86  Jan 05 11:58:06.709 [notice] Read configuration file "/home/nickm/src/stem/test/data/torrc".
87  Jan 05 11:58:06.712 [warn] ControlPort is open, but no authentication method has been configured.  This means that any program on your computer can reconfigure your Tor.  That's bad!  You should upgrade your Tor controller as soon as possible.
88  Jan 05 11:58:06.713 [notice] Opening Socks listener on 127.0.0.1:1112
89  Jan 05 11:58:06.713 [notice] Opening Control listener on 127.0.0.1:1111
90  Jan 05 11:58:06.709 [notice] Tor v0.2.6.2-alpha-dev (git-15f92834dda7c5be) running on Linux with Libevent 2.0.21-stable, OpenSSL 1.0.1j-fips and Zlib 1.2.8.
91  Jan 05 11:58:06.709 [notice] Tor can't help you if you use it wrong! Learn how to be safe at https://www.torproject.org/download/download#warning
92  Jan 05 11:58:06.709 [notice] This version is not a stable Tor release. Expect more bugs than usual.
93  Jan 05 11:58:06.709 [notice] Read configuration file "/home/nickm/src/stem/test/data/torrc".
94  Jan 05 11:58:06.712 [warn] ControlPort is open, but no authentication method has been configured.  This means that any program on your computer can reconfigure your Tor.  That's bad!  You should upgrade your Tor controller as soon as possible.
95  Jan 05 11:58:06.713 [notice] Opening Socks listener on 127.0.0.1:1112
96  Jan 05 11:58:06.713 [notice] Opening Control listener on 127.0.0.1:1111
97  Jan 05 11:58:06.000 [notice] We were built to run on a 64-bit CPU, with OpenSSL 1.0.1 or later, but with a version of OpenSSL that apparently lacks accelerated support for the NIST P-224 and P-256 groups. Building openssl with such support (using the enable-ec_nistp_64_gcc_128 option when configuring it) would make ECDH much faster.
98  Jan 05 11:58:06.000 [notice] Bootstrapped 0%: Starting
99  Jan 05 11:58:07.000 [notice] We now have enough directory information to build circuits.
100  Jan 05 11:58:07.000 [notice] Bootstrapped 80%: Connecting to the Tor network
101  done (0 seconds)
102
103Running tests...
104
105  util.conf...                                         success (0.00s)
106  util.connection...                                   success (0.02s)
107  util.proc...                                         failed (0.01s)
108test_connections (DisableDebuggerAttachment is set)          [SKIPPED]
109test_cwd (DisableDebuggerAttachment is set)                  [SKIPPED]
110test_memory_usage                                            [SUCCESS]
111test_stats                                                   [FAILURE]
112test_uid                                                     [SUCCESS]
113
114======================================================================
115FAIL: test_stats
116----------------------------------------------------------------------
117Traceback (most recent call last):
118  File "/home/nickm/src/stem/test/integ/util/proc.py", line 71, in test_stats
119    self.assertEqual('tor', command)
120AssertionError: 'tor' != 'tor-cov'
121
122----------------------------------------------------------------------
123Ran 5 tests in 0.006s
124
125FAILED (failures=1, skipped=2)
126  util.system...                                       failed (0.50s)
127test_bsd_jail_id                                             [SUCCESS]
128test_cwd (DisableDebuggerAttachment is set)                  [SKIPPED]
129test_cwd_lsof (DisableDebuggerAttachment is set)             [SKIPPED]
130test_cwd_pwdx (DisableDebuggerAttachment is set)             [SKIPPED]
131test_expand_path                                             [SUCCESS]
132test_is_available                                            [SUCCESS]
133test_is_running                                              [FAILURE]
134test_pid_by_name                                             [FAILURE]
135test_pid_by_name_lsof                                        [FAILURE]
136test_pid_by_name_pgrep                                       [FAILURE]
137test_pid_by_name_pidof                                       [FAILURE]
138test_pid_by_name_ps_bsd                                      [FAILURE]
139test_pid_by_name_ps_linux                                    [FAILURE]
140test_pid_by_open_file                                        [SUCCESS]
141test_pid_by_port (DisableDebuggerAttachment is set)          [SKIPPED]
142test_pid_by_port_lsof (DisableDebuggerAttachment is set)     [SKIPPED]
143test_pid_by_port_netstat (DisableDebuggerAttachment is set)  [SKIPPED]
144test_pid_by_port_sockstat (sockstat unavailable)             [SKIPPED]
145test_set_process_name                                        [SUCCESS]
146test_start_time_none                                         [SUCCESS]
147test_start_time_proc                                         [SUCCESS]
148test_start_time_ps                                           [SUCCESS]
149test_user_none                                               [SUCCESS]
150test_user_proc                                               [SUCCESS]
151test_user_ps                                                 [SUCCESS]
152
153======================================================================
154ERROR: test_pid_by_name
155----------------------------------------------------------------------
156Traceback (most recent call last):
157  File "/home/nickm/src/stem/test/integ/util/system.py", line 88, in test_pid_by_name
158    elif self._is_extra_tor_running():
159  File "/home/nickm/src/stem/test/integ/util/system.py", line 564, in _is_extra_tor_running
160    pgrep_results = stem.util.system.call(stem.util.system.GET_PID_BY_NAME_PGREP % 'tor')
161  File "/home/nickm/src/stem/stem/util/system.py", line 935, in call
162    raise exc
163OSError: pgrep -x tor returned exit status 1
164
165======================================================================
166ERROR: test_pid_by_name_lsof
167----------------------------------------------------------------------
168Traceback (most recent call last):
169  File "/home/nickm/src/stem/test/integ/util/system.py", line 196, in test_pid_by_name_lsof
170    if self._is_extra_tor_running():
171  File "/home/nickm/src/stem/test/integ/util/system.py", line 564, in _is_extra_tor_running
172    pgrep_results = stem.util.system.call(stem.util.system.GET_PID_BY_NAME_PGREP % 'tor')
173  File "/home/nickm/src/stem/stem/util/system.py", line 935, in call
174    raise exc
175OSError: pgrep -x tor returned exit status 1
176
177======================================================================
178ERROR: test_pid_by_name_pgrep
179----------------------------------------------------------------------
180Traceback (most recent call last):
181  File "/home/nickm/src/stem/test/integ/util/system.py", line 101, in test_pid_by_name_pgrep
182    if self._is_extra_tor_running():
183  File "/home/nickm/src/stem/test/integ/util/system.py", line 564, in _is_extra_tor_running
184    pgrep_results = stem.util.system.call(stem.util.system.GET_PID_BY_NAME_PGREP % 'tor')
185  File "/home/nickm/src/stem/stem/util/system.py", line 935, in call
186    raise exc
187OSError: pgrep -x tor returned exit status 1
188
189======================================================================
190ERROR: test_pid_by_name_pidof
191----------------------------------------------------------------------
192Traceback (most recent call last):
193  File "/home/nickm/src/stem/test/integ/util/system.py", line 123, in test_pid_by_name_pidof
194    if self._is_extra_tor_running():
195  File "/home/nickm/src/stem/test/integ/util/system.py", line 564, in _is_extra_tor_running
196    pgrep_results = stem.util.system.call(stem.util.system.GET_PID_BY_NAME_PGREP % 'tor')
197  File "/home/nickm/src/stem/stem/util/system.py", line 935, in call
198    raise exc
199OSError: pgrep -x tor returned exit status 1
200
201======================================================================
202ERROR: test_pid_by_name_ps_bsd
203----------------------------------------------------------------------
204Traceback (most recent call last):
205  File "/home/nickm/src/stem/test/integ/util/system.py", line 170, in test_pid_by_name_ps_bsd
206    if self._is_extra_tor_running():
207  File "/home/nickm/src/stem/test/integ/util/system.py", line 564, in _is_extra_tor_running
208    pgrep_results = stem.util.system.call(stem.util.system.GET_PID_BY_NAME_PGREP % 'tor')
209  File "/home/nickm/src/stem/stem/util/system.py", line 935, in call
210    raise exc
211OSError: pgrep -x tor returned exit status 1
212
213======================================================================
214ERROR: test_pid_by_name_ps_linux
215----------------------------------------------------------------------
216Traceback (most recent call last):
217  File "/home/nickm/src/stem/test/integ/util/system.py", line 145, in test_pid_by_name_ps_linux
218    if self._is_extra_tor_running():
219  File "/home/nickm/src/stem/test/integ/util/system.py", line 564, in _is_extra_tor_running
220    pgrep_results = stem.util.system.call(stem.util.system.GET_PID_BY_NAME_PGREP % 'tor')
221  File "/home/nickm/src/stem/stem/util/system.py", line 935, in call
222    raise exc
223OSError: pgrep -x tor returned exit status 1
224
225======================================================================
226FAIL: test_is_running
227----------------------------------------------------------------------
228Traceback (most recent call last):
229  File "/home/nickm/src/stem/test/integ/util/system.py", line 76, in test_is_running
230    self.assertTrue(stem.util.system.is_running('tor'))
231AssertionError: False is not true
232
233----------------------------------------------------------------------
234Ran 25 tests in 0.500s
235
236FAILED (failures=1, errors=6, skipped=7)
237  descriptor.remote...                                 success (0.00s)
238  descriptor.server_descriptor...                      success (0.00s)
239  descriptor.extrainfo_descriptor...                   success (0.00s)
240  descriptor.microdescriptor...                        success (2.12s)
241  descriptor.networkstatus...                          success (2.83s)
242  version...                                           success (0.00s)
243  response.protocolinfo...                             success (0.03s)
244  process...                                           success (20.28s)
245  socket.control_socket...                             success (0.26s)
246  socket.control_message...                            success (1.93s)
247  connection.authentication...                         success (0.05s)
248  connection.connect...                                success (0.00s)
249  control.base_controller...                           success (3.59s)
250  control.controller...                                success (11.71s)
251
252Shutting down tor... done
253
254TESTING FAILED (56 seconds)
255  [RUN_OPEN] test_stats (test.integ.util.proc.TestProc) ... FAIL
256  [RUN_OPEN] test_is_running (test.integ.util.system.TestSystem) ... FAIL
257  [RUN_OPEN] test_pid_by_name (test.integ.util.system.TestSystem) ... ERROR
258  [RUN_OPEN] test_pid_by_name_lsof (test.integ.util.system.TestSystem) ... ERROR
259  [RUN_OPEN] test_pid_by_name_pgrep (test.integ.util.system.TestSystem) ... ERROR
260  [RUN_OPEN] test_pid_by_name_pidof (test.integ.util.system.TestSystem) ... ERROR
261  [RUN_OPEN] test_pid_by_name_ps_bsd (test.integ.util.system.TestSystem) ... ERROR
262  [RUN_OPEN] test_pid_by_name_ps_linux (test.integ.util.system.TestSystem) ... ERROR
263Makefile:6110: recipe for target 'test-stem' failed
264make: *** [test-stem] Error 1