[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-bugs] #32705 [Core Tor/Tor]: test_practracker.sh python issues (was: check-local tries to run test_practracker.sh even if we have no python)



#32705: test_practracker.sh python issues
----------------------------------------+----------------------------------
 Reporter:  nickm                       |          Owner:  teor
     Type:  defect                      |         Status:  assigned
 Priority:  Medium                      |      Milestone:  Tor:
                                        |  0.4.3.x-final
Component:  Core Tor/Tor                |        Version:
 Severity:  Normal                      |     Resolution:
 Keywords:  tor-ci-fail jenkins python  |  Actual Points:
Parent ID:                              |         Points:  0.1
 Reviewer:                              |        Sponsor:
----------------------------------------+----------------------------------

Comment (by teor):

 Replying to [comment:3 dgoulet]:
 > So I get this when running
 `scripts/maint/practracker/test_practracker.sh`.
 >
 > {{{
 > ex0:
 > --- /tmp/pracktracker.test.y7DQvj/ex0-received.txt    2019-12-10
 10:04:32.845275565 -0500
 > +++ scripts/maint/practracker/testdata/ex0-expected.txt       2019-12-10
 09:52:26.505312737 -0500
 > @@ -0,0 +1,11 @@
 > +problem file-size a.c 41
 > +problem include-count a.c 6
 > +problem function-size a.c:i_am_a_function() 9
 > +problem function-size a.c:another_function() 12
 > +problem dependency-violation a.c 4
 > +problem file-size b.c 15
 > +problem function-size b.c:foo() 4
 > +problem function-size b.c:bar() 5
 > +problem file-size header.h 8
 > +problem include-count header.h 4
 > +problem dependency-violation header.h 3
 > FAILED
 > }}}
 >
 > Nick asked me to describe my python situation:
 >
 > {{{
 > python --version
 > Python 2.7.17
 > }}}
 >
 > I have python 2.7, 3.7 and 3.8 installed.

 Maybe practracker is broken with one of your python versions? Or maybe it
 produces different output?

 Can you run `scripts/maint/practracker/test_practracker.sh` with this PR:
 * master: https://github.com/torproject/tor/pull/1599

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/32705#comment:6>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs