[tor-bugs] #20462 [Core Tor/Tor]: Make test failures/bugs on Raspberry Pi 3

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Nov 9 10:58:47 UTC 2016


#20462: Make test failures/bugs on Raspberry Pi 3
-------------------------------------------+-------------------------------
 Reporter:  cypherpunks                    |          Owner:
     Type:  defect                         |         Status:  new
 Priority:  Medium                         |      Milestone:  Tor:
                                           |  0.2.9.x-final
Component:  Core Tor/Tor                   |        Version:
 Severity:  Normal                         |     Resolution:
 Keywords:  regression, TorCoreTeam201611  |  Actual Points:
Parent ID:                                 |         Points:
 Reviewer:                                 |        Sponsor:
-------------------------------------------+-------------------------------

Old description:

> Three test failures and some [warn] bugs on a raspberry pi 3 (Raspbian):
>
> control/rend_service_parse_port_config:
>   FAIL src/test/test_controller.c:190: assert(!cfg)
>   [rend_service_parse_port_config FAILED]
>
> options/validate__authdir: [forking]
>   FAIL src/test/test_options.c:660: assert(msg OP_EQ "Failed to
> resolve/guess local address. See logs for" " details."): <<NULL>> vs
> <Failed to resolve/guess local address. See logs for details.>
>   [validate__authdir FAILED]
>
> util/socketpair_ersatz: [forking]
>   FAIL src/test/test_util.c:5188: assert(0 OP_EQ socketpair_result): 0 vs
> -111
>   [socketpair_ersatz FAILED]
>

> util/time: Oct 25 18:17:48.092 [warn] tor_timegm(): Bug: Result does not
> fit in tor_timegm (on Tor 0.2.9.4-alpha 8b0755c9bb296ae2)
> Oct 25 18:17:48.093 [warn] tor_timegm(): Bug: Result does not fit in
> tor_timegm (on Tor 0.2.9.4-alpha 8b0755c9bb296ae2)
> Oct 25 18:17:48.093 [warn] tor_timegm(): Bug: Result does not fit in
> tor_timegm (on Tor 0.2.9.4-alpha 8b0755c9bb296ae2)
> OK
> util/parse_http_time: Oct 25 18:17:48.093 [warn] tor_timegm(): Bug:
> Result does not fit in tor_timegm (on Tor 0.2.9.4-alpha 8b0755c9bb296ae2)
>
> I've attached the buildlog - gcc -v:
>
> Using built-in specs.
> COLLECT_GCC=gcc
> COLLECT_LTO_WRAPPER=/usr/lib/gcc/arm-linux-gnueabihf/4.9/lto-wrapper
> Target: arm-linux-gnueabihf
> Configured with: ../src/configure -v --with-pkgversion='Raspbian
> 4.9.2-10' --with-bugurl=file:///usr/share/doc/gcc-4.9/README.Bugs
> --enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr
> --program-suffix=-4.9 --enable-shared --enable-linker-build-id
> --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix
> --with-gxx-include-dir=/usr/include/c++/4.9 --libdir=/usr/lib --enable-
> nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug
> --enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-libitm
> --disable-libquadmath --enable-plugin --with-system-zlib --disable-
> browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-
> home=/usr/lib/jvm/java-1.5.0-gcj-4.9-armhf/jre --enable-java-home --with-
> jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.9-armhf --with-jvm-jar-
> dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.9-armhf --with-arch-
> directory=arm --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-
> objc-gc --enable-multiarch --disable-sjlj-exceptions --with-arch=armv6
> --with-fpu=vfp --with-float=hard --enable-checking=release --build=arm-
> linux-gnueabihf --host=arm-linux-gnueabihf --target=arm-linux-gnueabihf
> Thread model: posix
> gcc version 4.9.2 (Raspbian 4.9.2-10)

New description:

 Three test failures and some [warn] bugs on a raspberry pi 3 (Raspbian):

 {{{
 control/rend_service_parse_port_config:
   FAIL src/test/test_controller.c:190: assert(!cfg)
   [rend_service_parse_port_config FAILED]
 }}}

 {{{
 options/validate__authdir: [forking]
   FAIL src/test/test_options.c:660: assert(msg OP_EQ "Failed to
 resolve/guess local address. See logs for" " details."): <<NULL>> vs
 <Failed to resolve/guess local address. See logs for details.>
   [validate__authdir FAILED]
 }}}

 {{{
 util/socketpair_ersatz: [forking]
   FAIL src/test/test_util.c:5188: assert(0 OP_EQ socketpair_result): 0 vs
 -111
   [socketpair_ersatz FAILED]
 }}}

 {{{
 util/time: Oct 25 18:17:48.092 [warn] tor_timegm(): Bug: Result does not
 fit in tor_timegm (on Tor 0.2.9.4-alpha 8b0755c9bb296ae2)
 Oct 25 18:17:48.093 [warn] tor_timegm(): Bug: Result does not fit in
 tor_timegm (on Tor 0.2.9.4-alpha 8b0755c9bb296ae2)
 Oct 25 18:17:48.093 [warn] tor_timegm(): Bug: Result does not fit in
 tor_timegm (on Tor 0.2.9.4-alpha 8b0755c9bb296ae2)
 OK
 util/parse_http_time: Oct 25 18:17:48.093 [warn] tor_timegm(): Bug: Result
 does not fit in tor_timegm (on Tor 0.2.9.4-alpha 8b0755c9bb296ae2)
 }}}

 I've attached the buildlog - gcc -v:

 {{{
 Using built-in specs.
 COLLECT_GCC=gcc
 COLLECT_LTO_WRAPPER=/usr/lib/gcc/arm-linux-gnueabihf/4.9/lto-wrapper
 Target: arm-linux-gnueabihf
 Configured with: ../src/configure -v --with-pkgversion='Raspbian 4.9.2-10'
 --with-bugurl=file:///usr/share/doc/gcc-4.9/README.Bugs --enable-
 languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-
 suffix=-4.9 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib
 --without-included-gettext --enable-threads=posix --with-gxx-include-
 dir=/usr/include/c++/4.9 --libdir=/usr/lib --enable-nls --with-sysroot=/
 --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes
 --enable-gnu-unique-object --disable-libitm --disable-libquadmath
 --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-
 awt=gtk --enable-gtk-cairo --with-java-
 home=/usr/lib/jvm/java-1.5.0-gcj-4.9-armhf/jre --enable-java-home --with-
 jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.9-armhf --with-jvm-jar-
 dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.9-armhf --with-arch-
 directory=arm --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-
 objc-gc --enable-multiarch --disable-sjlj-exceptions --with-arch=armv6
 --with-fpu=vfp --with-float=hard --enable-checking=release --build=arm-
 linux-gnueabihf --host=arm-linux-gnueabihf --target=arm-linux-gnueabihf
 Thread model: posix
 gcc version 4.9.2 (Raspbian 4.9.2-10)
 }}}

--

Comment (by arma):

 (cleaning up formatting of original ticket)

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


More information about the tor-bugs mailing list