Replying to all, sorry asac
On Thu, 3 May 2012 16:27:10 +0200, Alexander Sack asac@linaro.org wrote:
On Thu, May 3, 2012 at 2:40 PM, Dave Pigott dave.pigott@linaro.org wrote:
Hi Alexandros,
On 3 May 2012, at 13:02, Alexandros Frantzis wrote:
the Graphics WG needs to run daily graphics-oriented test jobs (actually, we only need to run them whenever something changes, but I think this is not implemented yet). We had previously scheduled a daily job as a cron job in the lab, but it seems that that got lost at some point.
Do you know who set the cron job up? If it's still there I'm sure we can restart it. If not, do you have the details of what tests were run?
can we get the cron job config file maintained in bzr (or any other VCS) and ensure that we don't manually set things up, but rather regularly pull updates from bzr? In this way we can get people submit their changes and we would create transparency of what is done atm.
The cronjobs are run by the lava-auto user in the lab.
They are in bzr already as it happens, although they are at the admittedly random location on LP of:
http://bazaar.launchpad.net/~pwlars/%2Bjunk/generate/
According to crontab -l as lava-auto, we're running
0 9 * * * /home/lava-auto/auto/generate/gwg-daily.sh
ahh, they've been failing with
Traceback (most recent call last): File "./mod-template", line 23, in <module> rootfs_id, rootfs_url = find_latest_rootfs(imagetype) File "/home/lava-auto/auto/generate/find_latest_oneiric.py", line 90, in find_latest_rootfs build_id, filename = find_latest(imageurl, extrapath) File "/home/lava-auto/auto/generate/find_latest_oneiric.py", line 79, in find_latest build_id = "%s.%s" % (lastdate,lastbuild) UnboundLocalError: local variable 'lastdate' referenced before assignment ERROR: <Fault 400: 'Decoding JSON failed: No JSON object could be decoded: line 1 column 0 (char 0).'> EXPERIMENTAL - SUBJECT TO CHANGE (See --experimental-notice for more info)
-- I guess we should set things up so mail from these cronjobs goes somewhere that people actually read...
Also, what other pieces in LAVA lab are we currently hacking manually that isn't managed through a VCS? I think having an effort to get everything VCS managed etc. might be good.
Michael/Andy: Ideas? Maybe systematically document all the configs etc. we maintain in the lab and review at connect what we do about them?
-- Alexander Sack Technical Director, Linaro Platform Teams http://www.linaro.org | Open source software for ARM SoCs http://twitter.com/#%21/linaroorg - http://www.linaro.org/linaro-blog