Page MenuHomePhabricator

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

Description

[integration-zuul-layoutvalidation] $ /bin/bash -xe /tmp/hudson1956706006221931851.sh
+ /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>
    sys.exit(main())
  File "/usr/share/python/zuul/local/lib/python2.7/site-packages/zuul/cmd/server.py", line 249, in main
    with daemon.DaemonContext(pidfile=pid):
  File "/usr/share/python/zuul/local/lib/python2.7/site-packages/daemon/daemon.py", line 394, in __enter__
    self.open()
  File "/usr/share/python/zuul/local/lib/python2.7/site-packages/daemon/daemon.py", 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/daemon.py", 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 :-(

Details

Related Gerrit Patches:
integration/zuul : debian/precise-wikimediaPin python-daemon <2.1.0
integration/zuul : patch-queue/debian/precise-wikimediawmf: pin python-daemon <2.1.0

Event Timeline

hashar created this task.Nov 26 2015, 10:12 PM
hashar raised the priority of this task from to Needs Triage.
hashar updated the task description. (Show Details)
hashar added a subscriber: hashar.
Restricted Application added subscribers: StudiesWorld, Aklapper. · View Herald TranscriptNov 26 2015, 10:12 PM
hashar claimed this task.Nov 26 2015, 10:13 PM
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

https://gerrit.wikimedia.org/r/255656

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

https://gerrit.wikimedia.org/r/255657

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

https://gerrit.wikimedia.org/r/255656

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

https://gerrit.wikimedia.org/r/255657

hashar closed this task as Resolved.Nov 26 2015, 10:36 PM

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

jayvdb added a subscriber: jayvdb.Nov 27 2015, 3:22 AM

Has the problem been reported Upstream?

yup reported and couple patch been send:

https://review.openstack.org/#/c/250294/ Constrain python-daemon < 2.1.0

https://review.openstack.org/#/c/250315/ Update python-daemon

:)