[Bug 1710296] Re: script hangs and never finishes

Brian Murray brian at ubuntu.com
Mon Aug 14 20:01:47 UTC 2017


Thanks for reporting this issue, what does /etc/update-manager/release-
upgrades contain?

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-release-upgrader in
Ubuntu.
https://bugs.launchpad.net/bugs/1710296

Title:
  script hangs and never finishes

Status in ubuntu-release-upgrader package in Ubuntu:
  New

Bug description:
  The /usr/bin/python3 /usr/lib/ubuntu-release-upgrader/check-new-release -q
  job that runs weekly appears to hang and never complets, slowly building up the number of hanging processes

  user at archive:~$ ps -ef | grep check-new
  root      1618     1  0 Feb26 ?        00:00:00 /usr/bin/python3 /usr/lib/ubuntu-release-upgrader/check-new-release -q
  root      3489     1  0 Jul09 ?        00:00:00 /usr/bin/python3 /usr/lib/ubuntu-release-upgrader/check-new-release -q
  root      5951     1  0 Mar19 ?        00:00:00 /usr/bin/python3 /usr/lib/ubuntu-release-upgrader/check-new-release -q
  root     14385     1  0 Apr02 ?        00:00:00 /usr/bin/python3 /usr/lib/ubuntu-release-upgrader/check-new-release -q
  root     14490     1  0 Jul23 ?        00:00:00 /usr/bin/python3 /usr/lib/ubuntu-release-upgrader/check-new-release -q
  root     15157     1  0 Apr30 ?        00:00:00 /usr/bin/python3 /usr/lib/ubuntu-release-upgrader/check-new-release -q
  root     17853     1  0 Jun04 ?        00:00:00 /usr/bin/python3 /usr/lib/ubuntu-release-upgrader/check-new-release -q
  root     21845     1  0 Jun11 ?        00:00:00 /usr/bin/python3 /usr/lib/ubuntu-release-upgrader/check-new-release -q
  root     22240     1  0 May21 ?        00:00:00 /usr/bin/python3 /usr/lib/ubuntu-release-upgrader/check-new-release -q
  root     22607     1  0 Jul02 ?        00:00:00 /usr/bin/python3 /usr/lib/ubuntu-release-upgrader/check-new-release -q
  root     23452     1  0 Apr16 ?        00:00:00 /usr/bin/python3 /usr/lib/ubuntu-release-upgrader/check-new-release -q
  root     27171     1  0 Feb19 ?        00:00:00 /usr/bin/python3 /usr/lib/ubuntu-release-upgrader/check-new-release -q
  root     28447     1  0 Jun18 ?        00:00:00 /usr/bin/python3 /usr/lib/ubuntu-release-upgrader/check-new-release -q
  root     29531     1  0 Mar05 ?        00:00:00 /usr/bin/python3 /usr/lib/ubuntu-release-upgrader/check-new-release -q
  root     30531     1  0 Jun25 ?        00:00:00 /usr/bin/python3 /usr/lib/ubuntu-release-upgrader/check-new-release -q
  root     31763     1  0 May14 ?        00:00:00 /usr/bin/python3 /usr/lib/ubuntu-release-upgrader/check-new-release -q
  root     32360     1  0 May07 ?        00:00:00 /usr/bin/python3 /usr/lib/ubuntu-release-upgrader/check-new-release -q

  user at archive:~$ sudo strace -p 32360
  Process 32360 attached
  futex(0x27b0fd0, FUTEX_WAIT_PRIVATE, 0, NULL

  Running Trusty

  user at archive:~$ lsb_release -d
  Description:    Ubuntu 14.04.5 LTS

  user at archive:~$ dpkg -l | grep ubuntu-re
  ii  ubuntu-release-upgrader-core       1:0.220.9                           all          manage release upgrades

  user at archive:~$ apt-cache policy ubuntu-release-upgrader-core
  ubuntu-release-upgrader-core:
    Installed: 1:0.220.9
    Candidate: 1:0.220.9
    Version table:
   *** 1:0.220.9 0
          500 http://ca.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages
          100 /var/lib/dpkg/status
       1:0.220.2 0
          500 http://ca.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages


  Any assistance in resolving these hanging processes that grow for no apparent reason.
  I could simply disable the cron job, but i am trying to get to the root of the issues and resolve it.

  Expected behaviour:
  The script should terminate and close the process.

  what happened:
  the script hang and runs in background forever.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1710296/+subscriptions



More information about the foundations-bugs mailing list