← Back to team overview

touch-packages team mailing list archive

[Bug 1411866] Re: Unconstrained download to a directory w/o permission crashes udm

 

I added some debugging; here's how to reproduce:

$ bzr branch lp:system-image $ cd system-image $ tox -e py34-udm --notest -r $
SYSTEMIMAGE_PYCURL=0 SYSTEMIMAGE_DBUS_DAEMON_HUP_SLEEP_SECONDS=2
SYSTEMIMAGE_REACTOR_TIMEOUT=60 .tox/py34-udm/bin/python -m nose2 -vv -P
TestAPI.test_state_machine_exceptions

I am watching the D-Bus signals and all I see is the `started` signal.  After
that, nothing and the dbus loop times out.  It doesn't matter how long I crank
the timeout to, no other signals are ever received.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to ubuntu-download-manager in
Ubuntu.
https://bugs.launchpad.net/bugs/1411866

Title:
  Unconstrained download to a directory w/o permission crashes udm

Status in ubuntu-download-manager package in Ubuntu:
  New

Bug description:
  One of my system-image test suites creates a destination directory
  that is unwritable.  Previously, when UDM tried to download a file to
  this while unconstrained, it would issue an error with "Permission
  denied" in the error output.  Now however, udm appears to either crash
  or freeze.  It becomes unresponsive to D-Bus and the error signal is
  never received, thus failing the test.

  Further, since it usually freezes, this affects future tests because
  udm will not exit when its D-Bus exit method is called.  Eventually it
  gets signal killed and then the tests can proceed.

  For now, I will have to skip these tests when s-i runs under udm.  The
  same tests pass for the curl-based downloader.

  % dpkg-query -W ubuntu-download-manager
  ubuntu-download-manager	0.9+15.04.20141202-0ubuntu1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-download-manager/+bug/1411866/+subscriptions


References