[tor-bugs] #26535 [Core Tor/TorDNSEL]: Appveyor fails test_ntor.sh and test_hs_ntor.sh

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Jun 27 18:09:59 UTC 2018


#26535: Appveyor fails test_ntor.sh and test_hs_ntor.sh
-----------------------------------+--------------------------------
     Reporter:  asn                |      Owner:  (none)
         Type:  defect             |     Status:  new
     Priority:  Medium             |  Milestone:  Tor: 0.3.4.x-final
    Component:  Core Tor/TorDNSEL  |    Version:
     Severity:  Normal             |   Keywords:  tor-ci appveyor
Actual Points:                     |  Parent ID:
       Points:                     |   Reviewer:
      Sponsor:                     |
-----------------------------------+--------------------------------
 {{{
 FAIL: src/test/test_ntor.sh
 2571===========================
 2572
 2573Traceback (most recent call last):
 2574  File "C:/projects/tor/i686-w64-mingw32/../src/test/ntor_ref.py",
 line 402, in <module>
 2575    test_tor()
 2576  File "C:/projects/tor/i686-w64-mingw32/../src/test/ntor_ref.py",
 line 368, in test_tor
 2577    c2s_msg, c_state = tor_client1(node_id, pubkey_B)
 2578  File "C:/projects/tor/i686-w64-mingw32/../src/test/ntor_ref.py",
 line 347, in tor_client1
 2579    stdout=subprocess.PIPE)
 2580  File "C:\msys64\mingw32\lib\python3.6\subprocess.py", line 709, in
 __init__
 2581    restore_signals, start_new_session)
 2582  File "C:\msys64\mingw32\lib\python3.6\subprocess.py", line 971, in
 _execute_child
 2583    args = list2cmdline(args)
 2584  File "C:\msys64\mingw32\lib\python3.6\subprocess.py", line 461, in
 list2cmdline
 2585    needquote = (" " in arg) or ("\t" in arg) or not arg
 2586TypeError: a bytes-like object is required, not 'str'
 2587OK
 2588FAIL src/test/test_ntor.sh (exit status: 1)
 2589
 2590

 FAIL: src/test/test_hs_ntor.sh
 2591==============================
 2592
 2593DONE: python dance
 [b'Cc\x0e"k\'*\xc4\x8a\x18\xc2\xfcN\xac\x8e(\xaa\x14\xb1\xccqqCN"\x9f\x9b\xd5W@\x94O']
 2594Traceback (most recent call last):
 2595  File "C:/projects/tor/i686-w64-mingw32/../src/test/hs_ntor_ref.py",
 line 424, in <module>
 2596    do_little_t_tor_ntor_test()
 2597  File "C:/projects/tor/i686-w64-mingw32/../src/test/hs_ntor_ref.py",
 line 310, in do_little_t_tor_ntor_test
 2598    client_ephemeral_enc_privkey, subcredential)
 2599  File "C:/projects/tor/i686-w64-mingw32/../src/test/hs_ntor_ref.py",
 line 248, in tor_client1
 2600    stdout=subprocess.PIPE)
 2601  File "C:\msys64\mingw32\lib\python3.6\subprocess.py", line 709, in
 __init__
 2602    restore_signals, start_new_session)
 2603  File "C:\msys64\mingw32\lib\python3.6\subprocess.py", line 971, in
 _execute_child
 2604    args = list2cmdline(args)
 2605  File "C:\msys64\mingw32\lib\python3.6\subprocess.py", line 461, in
 list2cmdline
 2606    needquote = (" " in arg) or ("\t" in arg) or not arg
 2607TypeError: a bytes-like object is required, not 'str'
 2608FAIL src/test/test_hs_ntor.sh (exit status: 1)
 2609
 2610
 }}}

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


More information about the tor-bugs mailing list