Last modified: 2013-08-01 09:55:00 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T48296, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 46296 - Jenkins: Parsoid server check gets killed because of Jenkins' paranoia (re: file descriptors)
Jenkins: Parsoid server check gets killed because of Jenkins' paranoia (re: f...
Status: RESOLVED WONTFIX
Product: Wikimedia
Classification: Unclassified
Continuous integration (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
https://integration.mediawiki.org/ci/...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-03-18 20:18 UTC by Mark Holmquist
Modified: 2013-08-01 09:55 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Mark Holmquist 2013-03-18 20:18:35 UTC
We have a job that sanity-checks our API server, which is a primary part of our ability to communicate with the VisualEditor. It fails because the process forks off several workers to handle requests, which sets off big red blinking alarms in Jenkins.

Do we need to add in an option to not fork? Do we need to add in some other method of doing this (like a "start a background process" Jenkins builder)? Or can we work around the file descriptor issue?
Comment 1 Antoine "hashar" Musso (WMF) 2013-03-20 18:20:36 UTC
The job dashboard is https://integration.mediawiki.org/ci/view/All/job/parsoid-server-sanity-check/

An example console is https://integration.mediawiki.org/ci/view/All/job/parsoid-server-sanity-check/65/console 

After the worker have been forked, Jenkins detects some file descriptor leakage and cancel the build:

Process leaked file descriptors. See http://wiki.jenkins-ci.org/display/JENKINS/Spawning+processes+from+build for more information

They point to http://software.clapper.org/daemonize/ .  But maybe we can use /usr/bin/daemon for the same effect.
Comment 2 Mark Holmquist 2013-03-20 18:44:25 UTC
daemon seems to have broken it further, though I'm not sure why. I tried letting the server get set up, and I tried making sure my options were correct, but the parsoid server doesn't seem to like being run with daemon.
Comment 3 Krinkle 2013-06-25 18:46:05 UTC
The tests seem to be working now. Has this been fixed or have certain testing paths been disabled?

Is there something we can do on our end?
Comment 4 Mark Holmquist 2013-06-25 18:51:09 UTC
Yeah, we disabled it because there was no point in keeping it around.

There's some hacky workaround, but it seemed really complicated and not worth the work at that time.
Comment 5 Antoine "hashar" Musso (WMF) 2013-08-01 09:55:00 UTC
Job got deleted, I guess we can forget this bug for now.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links