Page MenuHomePhabricator

integration-zuul-layoutvalidation fails because of python-daemon 2.1
Closed, ResolvedPublic


[integration-zuul-layoutvalidation] $ /bin/bash -xe /tmp/
+ /usr/bin/zuul-server -c /dev/fd/63 -l /mnt/jenkins-workspace/workspace/integration-zuul-layoutvalidation/zuul/layout.yaml
++ echo '[zuul]'
Traceback (most recent call last):
  File "/usr/bin/zuul-server", line 10, in <module>
  File "/usr/share/python/zuul/local/lib/python2.7/site-packages/zuul/cmd/", line 249, in main
    with daemon.DaemonContext(pidfile=pid):
  File "/usr/share/python/zuul/local/lib/python2.7/site-packages/daemon/", line 394, in __enter__
  File "/usr/share/python/zuul/local/lib/python2.7/site-packages/daemon/", line 370, in open
    change_process_owner(self.uid, self.gid, self.initgroups)
  File "/usr/share/python/zuul/local/lib/python2.7/site-packages/daemon/", line 642, in change_process_owner
    raise error
daemon.daemon.DaemonOSEnvironmentError: Unable to change process owner ([Errno 1] Operation not permitted)

python-daemon 2.1.0 got released today and breaks :-(

Event Timeline

hashar raised the priority of this task from to Needs Triage.
hashar updated the task description. (Show Details)
hashar added a subscriber: hashar.
hashar triaged this task as Unbreak Now! priority.
hashar set Security to None.

Change 255656 had a related patch set uploaded (by Hashar):
wmf: pin python-daemon <2.1.0

Change 255657 had a related patch set uploaded (by Hashar):
Pin python-daemon <2.1.0

Change 255656 merged by Hashar:
wmf: pin python-daemon <2.1.0

Change 255657 merged by Hashar:
Pin python-daemon <2.1.0

Solved by pinning python-daemon<2.1.0 which is included in zuul_2.1.0-60-g1cc37f7-wmf4precise1

yup reported and couple patch been send: Constrain python-daemon < 2.1.0 Update python-daemon