SolidCharity / LightBuildServer

LightBuildServer for building rpm and deb packages and running CI scripts, using linux containers
BSD 3-Clause "New" or "Revised" License
11 stars 1 forks source link

put a maximum time limit on a job #70

Closed tpokorra closed 9 years ago

tpokorra commented 10 years ago

configure the time limit in config.yml stop the job after more than 5 minutes without a response. eg http://lbs.solidcharity.com/logs/tbits.net/kolab/xapian-core/master/ubuntu/trusty/amd64/0

tpokorra commented 10 years ago

see http://stackoverflow.com/questions/10756383/timeout-on-subprocess-readline-in-python

tpokorra commented 10 years ago

seems I have this problem again:

[00659] ========= catchall and forwarding tests ===========
[00664] Stopping kolabd: [  OK  ]
[13846] Connection to build02.lbs.solidcharity.com closed by remote host.
[13846] LBSERROR: Setup script did not succeed
[13865] This build took about 231 minutes

Or is cyrus imap so much in trouble, that the machine does not stop?