[tor-bugs] #13904 [Stem]: Tests fail on Gentoo

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Dec 10 15:07:54 UTC 2014


#13904: Tests fail on Gentoo
------------------------+----------------------
     Reporter:  toralf  |      Owner:  atagar
         Type:  defect  |     Status:  reopened
     Priority:  normal  |  Milestone:
    Component:  Stem    |    Version:
   Resolution:          |   Keywords:  testing
Actual Points:          |  Parent ID:
       Points:          |
------------------------+----------------------

Comment (by toralf):

 HHm, it hangs here now :
 {{{
 Setting up a test instance...
   making test directory (/var/tmp/portage/net-
 libs/stem-1.2.2_p20141210/work/stem-1.2.2_p20141210/test/data)... skipped
   making control socket directory (/var/tmp/portage/net-
 libs/stem-1.2.2_p20141210/temp/793314d6-6415-4f55-9e41-249e56e26869)...
 done
   configuring logger (/var/tmp/portage/net-
 libs/stem-1.2.2_p20141210/work/stem-1.2.2_p20141210/test/data/log)... done
   writing torrc (/var/tmp/portage/net-
 libs/stem-1.2.2_p20141210/work/stem-1.2.2_p20141210/test/data/torrc)...
 done
     # configuration for stem integration tests
     DataDirectory /var/tmp/portage/net-
 libs/stem-1.2.2_p20141210/work/stem-1.2.2_p20141210/test/data
     SocksListenAddress 127.0.0.1:1112
     DownloadExtraInfo 1
     Log notice stdout
     Log notice file /var/tmp/portage/net-
 libs/stem-1.2.2_p20141210/work/stem-1.2.2_p20141210/test/data/tor_log
     ControlSocket /var/tmp/portage/net-
 libs/stem-1.2.2_p20141210/temp/793314d6-6415-4f55-9e41-249e56e26869/socket
     CookieAuthentication 1

 Starting tor...

   Dec 10 15:42:26.981 [notice] Tor v0.2.5.10 (git-42b42605f8d8eac2)
 running on Linux with Libevent 2.0.21-stable, OpenSSL 1.0.1j and Zlib
 1.2.8.
   Dec 10 15:42:26.981 [notice] Tor can't help you if you use it wrong!
 Learn how to be safe at
 https://www.torproject.org/download/download#warning
   Dec 10 15:42:26.982 [notice] Read configuration file "/var/tmp/portage
 /net-libs/stem-1.2.2_p20141210/work/stem-1.2.2_p20141210/test/data/torrc".
   Dec 10 15:42:26.993 [notice] Opening Socks listener on 127.0.0.1:1112
   Dec 10 15:42:26.993 [notice] Opening Control listener on
 /var/tmp/portage/net-
 libs/stem-1.2.2_p20141210/temp/793314d6-6415-4f55-9e41-249e56e26869/socket
   Dec 10 15:42:26.000 [notice] Parsing GEOIP IPv4 file
 /usr/share/tor/geoip.
   Dec 10 15:42:27.000 [notice] Parsing GEOIP IPv6 file
 /usr/share/tor/geoip6.
   Dec 10 15:42:27.000 [notice] Bootstrapped 0%: Starting
   Dec 10 15:42:27.000 [notice] Bootstrapped 5%: Connecting to directory
 server
   done (0 seconds)

 Running tests...

   util.conf...                                         success (0.00s)
   util.connection...                                   success (0.00s)
   util.proc...                                         success (0.01s)
   util.system...                                       success (0.37s)
   descriptor.remote...                                 success (0.00s)
   descriptor.server_descriptor...                      success (0.00s)
   descriptor.extrainfo_descriptor...                   success (0.00s)
   descriptor.microdescriptor...                        success (0.00s)
   descriptor.networkstatus...                          success (0.00s)
   version...                                           success (0.03s)
   response.protocolinfo...                             success (0.07s)
   process...                                           success (0.00s)
   socket.control_socket...                             success (0.30s)
   socket.control_message...                            success (1.21s)
   connection.authentication...                         success (0.14s)
   connection.connect...                                success (0.01s)
   control.base_controller...                           success (5.21s)
   control.controller...

  }}}and the log file /var/tmp/portage/net-
 libs/stem-1.2.2_p20141210/work/stem-1.2.2_p20141210/test/data/tor_log has
 last lines :

 {{{
 Dec 10 15:42:40.000 [warn] Hidden service ("test_hidden_service_empty/")
 with no ports configured; ignoring.
 Dec 10 15:42:40.000 [notice] Tor 0.2.5.10 (git-42b42605f8d8eac2) opening
 log file.
 Dec 10 15:42:40.000 [warn] Hidden service ("test_hidden_service_empty/")
 with no ports configured; ignoring.
 Dec 10 15:42:40.000 [notice] New control connection opened.
 Dec 10 15:42:40.000 [notice] New control connection opened.
 Dec 10 15:42:40.000 [warn] Controller gave us config file that didn't
 validate: Failed to parse/validate config: While Tor is running, changing
 DataDirectory ("/var/tmp/portage/net-
 libs/stem-1.2.2_p20141210/work/stem-1.2.2_p20141210/test/data"->"/var/tmp/portage
 /net-libs/stem-1.2.2_p20141210/homedir/.tor") is not allowed.
 Dec 10 15:42:40.000 [warn] Controller gave us config file that didn't
 validate: Failed to parse/validate config: Unknown option 'Blahblah'.
 Failing.
 Dec 10 15:42:40.000 [notice] Tor 0.2.5.10 (git-42b42605f8d8eac2) opening
 log file.
 Dec 10 15:42:40.000 [notice] Tor 0.2.5.10 (git-42b42605f8d8eac2) opening
 log file.
 Dec 10 15:42:40.000 [notice] Tor 0.2.5.10 (git-42b42605f8d8eac2) opening
 log file.
 Dec 10 15:42:40.000 [notice] New control connection opened.
 Dec 10 15:42:40.000 [notice] New control connection opened.
 Dec 10 15:42:40.000 [notice] New control connection opened.
 Dec 10 15:42:40.000 [notice] New control connection opened.
 Dec 10 15:42:43.000 [notice] New control connection opened.
 Dec 10 15:42:44.000 [notice] New control connection opened.
 Dec 10 16:00:46.000 [warn] Received http status code 404 ("Not found")
 from server '146.0.42.110:25' while fetching
 "/tor/keys/fp/27B6B5996C426270A5C95488AA5BCEB6BCC86956".
  }}}

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/13904#comment:15>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list