[tor-bugs] #31293 [Applications/Tor Browser]: tor-android-service gradle failure when probing network interfaces

Tor Bug Tracker & Wiki blackhole at torproject.org
Sun Aug 11 03:21:18 UTC 2019


#31293: tor-android-service gradle failure when probing network interfaces
--------------------------------------+--------------------------
 Reporter:  sysrqb                    |          Owner:  tbb-team
     Type:  defect                    |         Status:  new
 Priority:  High                      |      Milestone:
Component:  Applications/Tor Browser  |        Version:
 Severity:  Normal                    |     Resolution:
 Keywords:  tbb-rbm                   |  Actual Points:
Parent ID:                            |         Points:
 Reviewer:                            |        Sponsor:
--------------------------------------+--------------------------

Comment (by sisbell):

 I wasn't able to reproduce this with older versions, but it just started
 up with the very latest of master.

 What I found was that is I added 'ip addr show' in the build script prior
 to running the gradle command, there is only one interface, the loopback
 and it is in a DOWN state.


 {{{
 1: lo: <LOOPBACK> mtu 65536 qdisc noop state DOWN group default qlen 1000
     link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00

 }}}

 When gradle starts, it throws an NPE due to not finding an interface.

 I tried sleeping the build for up to 5 minutes prior to running gradle but
 the lo interface was still down.

 I went through the rbm.conf files and project config back through April
 and didn't see any changes that would appear to cause this behavior.

 The debug shell shows everything as normal


 {{{
 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group
 default qlen 1000
     link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
     inet 127.0.0.1/8 scope host lo
        valid_lft forever preferred_lft forever
     inet6 ::1/128 scope host
        valid_lft forever preferred_lft forever
 }}}


 So what I can determine is:
 * Its not an IPv6 issue. It appears the lo interface is not coming up on
 start of the container
 * It is not a gradle issue

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


More information about the tor-bugs mailing list