[M3devel] Hudson errors out of diskspace
Olaf Wagner
wagner at elegosoft.com
Sat Jul 25 13:54:36 CEST 2009
Quoting Jay K <jay.krell at cornell.edu>:
> It seems the Tinderbox stuff always keeps around
> ~/work/cm3-ws/datetime, one for each run?
> I see them accumulating on my machines.
Use cleanup_all <days-to-keep> from scripts/regression/defs.sh.
> Can you send me/all your exact cron entries?
> For Tinderbox and Hudson?
Hudson doesn't have any crontab. It implements cron functionality itself.
> Even what file they are in?
I don't know where personal crontab files are kept (probably implementation
dependent). You just use the crontab command to access them.
> And how cron is enabled in /etc? Just in case?
I don't think there is any system-independent way to enable cron.
Just run the daemon from one of the system startup scripts
(/etc/rc or /etc/rc.d/*).
> Thanks.
Here's the crontab of m3 on birch. Everything is disabled now (moved to
Hudson). I'll add some remarks with -->.
m3 at birch:~$ crontab -l
MAILTO=m3-support at elego.de
TESTHOSTNAME=birch.elegosoft.com
### Note: all these crontab jobs have been moved to the CM3 hudson
instance on birch
# m h dom mon dow command
--> crontabs residing in /etc will likely have another field for the user:
--> # m h dom mon dow user command
#0 2,14 * * * cd ~/cm3 && BUILD_REL=lastok ./tinderbox-build.sh
cm3.build >/dev/null
#0 4,16 * * * cd ~/cm3 && ./tinderbox-build.sh cm3.build >/dev/null
--> These were the release-build and last-ok build when LINUXLIBC6 was
--> the target on birch
#*/30 * * * * cd ~/cm3 && ./cm3/scripts/regression/update_pkg_status.sh
#*/30 * * * * cd ~/cm3 && ./cm3/scripts/regression/update_m3tests.sh
#*/30 * * * * cd ~/cm3 &&
./cm3/scripts/regression/update_snapshot_status.sh
#*/30 * * * * ${HOME}/bin/update_changelog.sh
#*/30 * * * * cd
/var/www/modula3.elegosoft.com/cm3/uploaded-archives &&
./update_download_index.sh
#5 7 * * * cd /var/www/modula3.elegosoft.com/cm3/ && make all >/dev/null
--> old WWW service entries before the crash
# This should work
### 0 14 * * * cd ~/cm3 && BUILD_REL=lastok ./tinderbox-build.sh
cm3.build >/dev/null 2>&1
--> This was run till yesterday, but with additional tests in cm3.build
# Cannot work, no release archives for AMD64_LINUX
#0 4,16 * * * cd ~/cm3 && ./tinderbox-build.sh cm3.build >/dev/null 2>&1
### */30 * * * * cd ~/cm3 &&
./cm3/scripts/regression/update_pkg_status.sh >/dev/null 2>&1
### */30 * * * * cd ~/cm3 &&
./cm3/scripts/regression/update_m3tests.sh >/dev/null 2>&1
### */30 * * * * cd ~/cm3 &&
./cm3/scripts/regression/update_snapshot_status.sh >/dev/null 2>&1
### */60 * * * * ${HOME}/bin/update_changelog.sh >/dev/null 2>&1
### */30 * * * * cd
/var/www/modula3.elegosoft.com/cm3/uploaded-archives &&
./update_download_index.sh >/dev/null 2>&1
### 5 7 * * * cd /var/www/modula3.elegosoft.com/cm3/ && make
all >/dev/null >/dev/null 2>&1
--> entries inserted after the crash, when nothing was working correctly...
Does that help?
If you can run Hudson on any of your systems, I wouldn't bother with
cron.
Olaf
--
Olaf Wagner -- elego Software Solutions GmbH
Gustav-Meyer-Allee 25 / Gebäude 12, 13355 Berlin, Germany
phone: +49 30 23 45 86 96 mobile: +49 177 2345 869 fax: +49 30 23 45 86 95
http://www.elegosoft.com | Geschäftsführer: Olaf Wagner | Sitz: Berlin
Handelregister: Amtsgericht Charlottenburg HRB 77719 | USt-IdNr: DE163214194
More information about the M3devel
mailing list