Incoming buildbots alerts for ZTK 1.0dev and Bluebream
Hi, The afpy buildbots are now enough stable and I've now configured email alerts to the zope-tests list. The two buildbots are : - ZTK 1.0 dev - BlueBream template http://buildbot.afpy.org/ The definition of the "ZTK 1.0dev" is: "all the development branches of the packages in the ZTK 1.0", as defined in the buildout of the zopetoolkit package. Currently they all point to the package trunks, but as soon as the ZTK 1.0 will be released, they should point to the maintenance branches. Christophe PS : I've seen that /tmp is filled with a LOT of tmp folders, so there is something wrong with tests somewhere.
On 04/11/2010 03:59 AM, Christophe Combelles wrote:
Hi,
The afpy buildbots are now enough stable and I've now configured email alerts to the zope-tests list.
The two buildbots are : - ZTK 1.0 dev - BlueBream template
The definition of the "ZTK 1.0dev" is:
"all the development branches of the packages in the ZTK 1.0", as defined in the buildout of the zopetoolkit package. Currently they all point to the package trunks, but as soon as the ZTK 1.0 will be released, they should point to the maintenance branches.
Christophe
PS : I've seen that /tmp is filled with a LOT of tmp folders, so there is something wrong with tests somewhere.
One of my feature wishes (and pet peeves) for the zope.testing runner was to monitor file creation and missing deletion and maybe sandboxing. Christian -- Christian Theune · ct@gocept.com gocept gmbh & co. kg · forsterstraße 29 · 06112 halle (saale) · germany http://gocept.com · tel +49 345 1229889 0 · fax +49 345 1229889 1 Zope and Plone consulting and development
Hello Christian, Monday, April 12, 2010, 9:28:00 AM, you wrote: CT> One of my feature wishes (and pet peeves) for the zope.testing runner CT> was to monitor file creation and missing deletion and maybe sandboxing. CT> Christian Tinkering about this, what about doing os.environ['tmp'] = os.environ['tmp'] + '/' + somerandom run the tests check for anything left in os.environ['tmp'] With some luck os.environ should be passed to subprocesses. -- Best regards, Adam GROSZER mailto:agroszer@gmail.com -- Quote of the day: There's no point in burying the hatchet if you're going to put up a marker on the site. - Sydney J. Harris
On 04/12/2010 10:38 AM, Adam GROSZER wrote:
Hello Christian,
Monday, April 12, 2010, 9:28:00 AM, you wrote:
CT> One of my feature wishes (and pet peeves) for the zope.testing runner CT> was to monitor file creation and missing deletion and maybe sandboxing.
CT> Christian
Tinkering about this, what about doing os.environ['tmp'] = os.environ['tmp'] + '/' + somerandom run the tests check for anything left in os.environ['tmp']
Could be. I've also found tests writing to arbitrary other locations or using the working directory. Christian -- Christian Theune · ct@gocept.com gocept gmbh & co. kg · forsterstraße 29 · 06112 halle (saale) · germany http://gocept.com · tel +49 345 1229889 0 · fax +49 345 1229889 1 Zope and Plone consulting and development
On Mon, Apr 12, 2010 at 10:40:25AM +0200, Christian Theune wrote:
On 04/12/2010 10:38 AM, Adam GROSZER wrote:
Hello Christian,
Monday, April 12, 2010, 9:28:00 AM, you wrote:
CT> One of my feature wishes (and pet peeves) for the zope.testing runner CT> was to monitor file creation and missing deletion and maybe sandboxing.
CT> Christian
Tinkering about this, what about doing os.environ['tmp'] = os.environ['tmp'] + '/' + somerandom run the tests check for anything left in os.environ['tmp']
Could be. I've also found tests writing to arbitrary other locations or using the working directory.
I ended up doing this for the 3.4 KGS buildbot: vi /var/lib/buildbot/slaves/zope-kgs/buildbot.tac added import os os.environ['TMPDIR'] = tmpdir = '/tmp/buildbot.zope-kgs' if not os.path.exists(tmpdir): os.mkdir(tmpdir) to top vi /etc/cron.daily/clean-up-buildbot-tmp created file: find /tmp/buildbot.* -mindepth 1 -type f -mtime +1 -exec rm -f {} + find /tmp/buildbot.* -mindepth 1 -type d -empty -exec rmdir {} + chmod +x /etc/cron.daily/clean-up-buildbot-tmp Marius Gedminas -- http://pov.lt/ -- Zope 3 consulting and development
participants (4)
-
Adam GROSZER -
Christian Theune -
Christophe Combelles -
Marius Gedminas