[tor-bugs] #17154 [Tor]: FAIL: src/test/test_keygen.sh running "make V=1 check" using BSD make

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Sep 25 00:29:08 UTC 2015


#17154: FAIL: src/test/test_keygen.sh running "make V=1 check" using BSD make
---------------------+------------------------------------
 Reporter:  saper    |          Owner:
     Type:  defect   |         Status:  new
 Priority:  trivial  |      Milestone:  Tor: 0.2.???
Component:  Tor      |        Version:  Tor: 0.2.7.2-alpha
 Keywords:           |  Actual Points:
Parent ID:           |         Points:
---------------------+------------------------------------
 BSD make:

 {{{
 m> make V=1 check
 rm -f micro-revision.tmp;  if test -d "./.git" &&  test -x "`which git
 2>&1;true`"; then  HASH="`cd "." && git rev-parse --short=16 HEAD`";  echo
 \"$HASH\" > micro-revision.tmp;  fi;  if test ! -f micro-revision.tmp;
 then  if test ! -f micro-revision.i; then  echo '""' > micro-revision.i;
 fi;  elif test ! -f micro-revision.i ||  test x"`cat micro-revision.tmp`"
 != x"`cat micro-revision.i`"; then  mv micro-revision.tmp micro-
 revision.i;  fi;  rm -f micro-revision.tmp;  true
 chmod u+x src/test/test_zero_length_keys.sh src/test/test_ntor.sh
 src/test/test_bt.sh
 make  check-TESTS
 rm -f micro-revision.tmp;  if test -d "./.git" &&  test -x "`which git
 2>&1;true`"; then  HASH="`cd "." && git rev-parse --short=16 HEAD`";  echo
 \"$HASH\" > micro-revision.tmp;  fi;  if test ! -f micro-revision.tmp;
 then  if test ! -f micro-revision.i; then  echo '""' > micro-revision.i;
 fi;  elif test ! -f micro-revision.i ||  test x"`cat micro-revision.tmp`"
 != x"`cat micro-revision.i`"; then  mv micro-revision.tmp micro-
 revision.i;  fi;  rm -f micro-revision.tmp;  true
 PASS: src/test/test
 PASS: src/test/test-slow
 PASS: src/test/test-memwipe
 ^APASS: src/test/test_workqueue
 FAIL: src/test/test_keygen.sh
 PASS: src/test/test_zero_length_keys.sh
 PASS: src/test/test_ntor.sh
 FAIL: src/test/test_bt.sh
 ============================================================================
 Testsuite summary for tor 0.2.7.3-rc
 ============================================================================
 # TOTAL: 8
 # PASS:  6
 # SKIP:  0
 # XFAIL: 0
 # FAIL:  2
 # XPASS: 0
 # ERROR: 0
 ============================================================================
 See ./test-suite.log
 ============================================================================
 *** Error code 1

 Stop.
 make[2]: stopped in /home/saper/sw/tor
 *** Error code 1

 Stop.
 make[1]: stopped in /home/saper/sw/tor
 *** Error code 1

 Stop.
 make: stopped in /home/saper/sw/tor
 m> cat src/test/test_keygen.sh.log
 Usage: ./src/test/test_keygen.sh PATH_TO_TOR [case-number]
 FAIL src/test/test_keygen.sh (exit status: 1)
 }}}



 gmake V=1 check

 {{{
 m> gmake V=1 check
 rm -f micro-revision.tmp; \
 if test -d "./.git" && \
                 test -x "`which git 2>&1;true`"; then \
         HASH="`cd "." && git rev-parse --short=16 HEAD`"; \
         echo \"$HASH\" > micro-revision.tmp; \
 fi; \
 if test ! -f micro-revision.tmp; then \
         if test ! -f micro-revision.i; then \
                 echo '""' > micro-revision.i; \
         fi; \
 elif test ! -f micro-revision.i || \
                 test x"`cat micro-revision.tmp`" != x"`cat micro-
 revision.i`"; then \
         mv micro-revision.tmp micro-revision.i; \
 fi; \
 rm -f micro-revision.tmp; \
 true
 chmod u+x src/test/test_zero_length_keys.sh src/test/test_ntor.sh
 src/test/test_bt.sh
 gmake  check-TESTS
 gmake[1]: Entering directory '/home/saper/sw/tor'
 gmake[2]: Entering directory '/home/saper/sw/tor'
 rm -f micro-revision.tmp; \
 if test -d "./.git" && \
                 test -x "`which git 2>&1;true`"; then \
         HASH="`cd "." && git rev-parse --short=16 HEAD`"; \
         echo \"$HASH\" > micro-revision.tmp; \
 fi; \
 if test ! -f micro-revision.tmp; then \
         if test ! -f micro-revision.i; then \
                 echo '""' > micro-revision.i; \
         fi; \
 elif test ! -f micro-revision.i || \
                 test x"`cat micro-revision.tmp`" != x"`cat micro-
 revision.i`"; then \
         mv micro-revision.tmp micro-revision.i; \
 fi; \
 rm -f micro-revision.tmp; \
 true
 PASS: src/test/test
 PASS: src/test/test-slow
 PASS: src/test/test-memwipe
 PASS: src/test/test_workqueue
 PASS: src/test/test_keygen.sh
 PASS: src/test/test_zero_length_keys.sh
 PASS: src/test/test_ntor.sh
 FAIL: src/test/test_bt.sh
 ============================================================================
 Testsuite summary for tor 0.2.7.3-rc
 ============================================================================
 # TOTAL: 8
 # PASS:  7
 # SKIP:  0
 # XFAIL: 0
 # FAIL:  1
 # XPASS: 0
 # ERROR: 0
 ============================================================================
 See ./test-suite.log
 ============================================================================
 Makefile:6247: recipe for target 'test-suite.log' failed
 gmake[2]: *** [test-suite.log] Error 1
 gmake[2]: Leaving directory '/home/saper/sw/tor'
 Makefile:6353: recipe for target 'check-TESTS' failed
 gmake[1]: *** [check-TESTS] Error 2
 gmake[1]: Leaving directory '/home/saper/sw/tor'
 Makefile:6608: recipe for target 'check-am' failed
 gmake: *** [check-am] Error 2
 }}}

 (I have opened https://trac.torproject.org/projects/tor/ticket/17151 to
 track failure of test_bt)

 According to the manpage:

 {{{
      .export variable ...
              Export the specified global variable.  If no variable list is
              provided, all globals are exported except for internal
 variables
              (those that start with `.').  This is not affected by the -X
              flag, so should be used with caution.  For compatibility with
              other make programs `export variable=value' is also accepted.
 }}}

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


More information about the tor-bugs mailing list