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

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Oct 1 06:59:44 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, TorBrowserTeam201908  |  Actual Points:
Parent ID:                                 |         Points:
 Reviewer:                                 |        Sponsor:
-------------------------------------------+--------------------------

Comment (by gk):

 So, I asked pospeselr to try again with latest `master` and interestingly
 enough the build proceeds until the firefox project there it is failing
 early with the following log output (which I suspect is related to this
 issue):
 {{{
  0:08.30 Traceback (most recent call last):
  0:08.30   File "/usr/lib/python2.7/runpy.py", line 174, in
 _run_module_as_main
  0:08.30     "__main__", fname, loader, pkg_name)
  0:08.30   File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
  0:08.30     exec code in run_globals
  0:08.30   File "/var/tmp/build/firefox-
 8fe3191e67d0/python/mozbuild/mozbuild/action/file_generate.py", line 120,
 in <module>
  0:08.30     sys.exit(main(sys.argv[1:]))
  0:08.30   File "/var/tmp/build/firefox-
 8fe3191e67d0/python/mozbuild/mozbuild/action/file_generate.py", line 71,
 in main
  0:08.30     ret = module.__dict__[method](output,
 *args.additional_arguments, **kwargs)
  0:08.30   File "/var/tmp/build/firefox-
 8fe3191e67d0/mobile/android/gradle.py", line 46, in assemble_app
  0:08.30     return android('assemble-app')
  0:08.30   File "/var/tmp/build/firefox-
 8fe3191e67d0/mobile/android/gradle.py", line 38, in android
  0:08.30     subprocess.check_call(cmd, env=env)
  0:08.30   File "/usr/lib/python2.7/subprocess.py", line 186, in
 check_call
  0:08.30     raise CalledProcessError(retcode, cmd)
  0:08.30 subprocess.CalledProcessError: Command '['/var/tmp/build/firefox-
 8fe3191e67d0/obj-arm-linux-androideabi/_virtualenvs/init/bin/python',
 u'/var/tmp/build/firefox-8fe3191e67d0/mach', 'android', 'assemble-app']'
 returned non-zero exit status 1
  0:08.31 backend.mk:64: recipe for target '.deps/android_apks.stub' failed
  0:08.31 make[4]: *** [.deps/android_apks.stub] Error 1
 }}}
 What is failing after looking more closely is gradle-related again:
 {{{
  0:07.62 FAILURE: Build failed with an exception.
  0:07.62 * What went wrong:
  0:07.62 Could not connect to the Gradle daemon.
  0:07.62 Daemon uid: 4615d007-b627-4f79-a0e8-d4c768e8b71e with
 diagnostics:
  0:07.62 Daemon pid: 4031
  0:07.62   log file: /var/tmp/dist/android-
 toolchain/gradle/daemon/4.10.2/daemon-4031.out.log
 }}}
 Looking at the gradle log, though, does not ring a bell immediately (see
 attachment)

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


More information about the tbb-bugs mailing list