[Buildbot-commits] [buildbot/buildbot] 92f583: unit tests: handle double fork on upstart system

GitHub noreply at github.com
Fri Jul 4 15:22:24 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/buildbot/buildbot
  Commit: 92f583cc256152d033587465747b4aa0e07e2ae7
      https://github.com/buildbot/buildbot/commit/92f583cc256152d033587465747b4aa0e07e2ae7
  Author: Elmir Jagudin <elmir at axis.com>
  Date:   2014-07-04 (Fri, 04 Jul 2014)

  Changed paths:
    M slave/buildslave/test/unit/runprocess-scripts.py

  Log Message:
  -----------
  unit tests: handle double fork on upstart system

Don't assume that when the parent process dies, the child's
ppid will become 1.

This is for example not the case when running unit tests on an
upstart based system (e.g. Ubuntu 13.10) from GUI session.

When a user loggs in into the GUI, a new 'init' process is started
by upstart. That new 'init' process will inherit any orphanded child
processes.


  Commit: d0d68d313742c9957088ebec2ba3468fdb323abd
      https://github.com/buildbot/buildbot/commit/d0d68d313742c9957088ebec2ba3468fdb323abd
  Author: Dustin J. Mitchell <dustin at buildbot.net>
  Date:   2014-07-04 (Fri, 04 Jul 2014)

  Changed paths:
    M slave/buildslave/test/unit/runprocess-scripts.py

  Log Message:
  -----------
  Merge elmirjagudin/buildbot:runprocess-upstart (PR #1173)


Compare: https://github.com/buildbot/buildbot/compare/4993679c6820...d0d68d313742


More information about the Commits mailing list