On Tue, 20 Mar 2001 18:51:02 +0000, Alan Burlison <[EMAIL PROTECTED]> wrote: > "H.Merijn Brand" wrote: > > > > Automated smoke report for patch 9171 > > Can you give me a pointer to the latest version of the smoke scripts? http://home.hccnet.nl/h.m.brand/smoke-5.7.1.tgz http://home.hccnet.nl/h.m.brand/smoke-5.6.1.tgz # tgz t /tmp/smoke-5.7.1.tgz rw-rw-rw- 1 merijn softwr 5991 Mar 21 10:38 /tmp/smoke-5.7.1.tgz gzip -d </tmp/smoke-5.7.1.tgz | /pro/bin/ntar -t -v -f - -rwxr-xr-x merijn/softwr 466 2001-03-13 18:27:07 Rsync -rwxr-xr-x merijn/softwr 928 2001-03-01 07:56:38 Xsync -rwxr-xr-x merijn/softwr 6029 2001-03-06 15:53:18 mktest -rwxr-xr-x merijn/softwr 2787 2001-03-15 13:57:03 mkovz.pl -rwxr-xr-x merijn/softwr 4830 2001-03-02 11:10:51 smoke.env -rwxr-xr-x merijn/softwr 376 2001-03-02 11:11:12 smoke.sh -rwxrwxrwx merijn/softwr 1119 2001-02-26 11:32:27 smokingjacket.pl # tgz t /tmp/smoke-5.6.1.tgz rw-rw-rw- 1 merijn softwr 4859 Mar 21 10:38 /tmp/smoke-5.6.1.tgz gzip -d </tmp/smoke-5.6.1.tgz | /pro/bin/ntar -t -v -f - -rwxr-xr-x merijn/softwr 59 2001-02-02 11:22:34 Rsync -rwxr-xr-x merijn/softwr 931 2001-03-14 15:55:06 Xsync -rwxr-xr-x merijn/softwr 5174 2001-02-28 11:27:01 mktest -rwxr-xr-x merijn/softwr 2134 2001-03-15 14:06:18 mkovz.pl -rwxr-xr-x merijn/softwr 4830 2001-03-02 11:10:51 smoke.env -rwxr-xr-x merijn/softwr 271 2001-03-02 11:12:48 smoke.sh # Here's my scene. I've got 5 systems in a NFS cross-mounted configuration. a cron job starts smoke.sh for both 5.6.1. and 5.7.1 at night, just after the backup. smoke.sh reads the environment from smoke.env to reflect a situation as would it just be my current daytime shell environment (except that with 'at' or 'cron' the STDIN is not a tty, so -t tests would probably fail (see sigaction.t change)) smoke.sh first rsyncs with the latest patches on the primary target machine that has internet capabilities (and rsync installed), then Xsyncs the secondary targets in the NFS to the rsynced version (Xsync is a perl script that 'pushes' the changes files over the NFS, where rsync pulls from the source). Xsync is not perfect for this, cause it (still) fails to detect newly created directories in the latest situation, making all configurations fail if some files of the MANIFEST are therefor not pushed and cannot be found by Configure. This will change. Change smoke.sh on the secondary targets to not rsync if you use my Xsync approach. After all that syncing, smoke.sh starts the (perl) script mktest and puts the results in mktest.out (short) and mktest.log (long) and creates prepared OK and Not OK messages in perl.ok and perl.nok that can be posted to perlbug, which I don't. Early in the morning (assuming all tests are done), another cron job starts mkovz.pl to gather all mktest.out reports over the NFS and create the mktest.rpt report, the list I post here on a regular basis. Files you will have to change, if you use my approach, are smoke.env (just do something like 'env >smoke.env' and edit it to reflect the correct at-shell syntax. Be sure to put 'export SMOKING=YES' in there if you want to rsync), Xsync to reflect your NFS situation (you might instead want to start rsync on the other systems, pulling the latest source tree from either activestate or the primary target) and mkovz.pl to format for the systems you test. mkovz.pl now scans the reports directly over the NFS, but if you change all the smoke.sh scripts on the secondary target machines to rcp the report to the gathering machine, it can fetch the data from e.g. /tmp. Now when I come in in the morning, I just do # cd p7 # less mktest.rpt to see what the night has brought me. (p6 and p7 together will do about 200 configuration tests if I enable all, but my dec is soooo slow, that it won't even complete p6 in one night. Drat) BTW, smokingjacket in this distribution is Michael Schwern's start of the daily-build process. > Thanks, > > Alan Burlison -- H.Merijn Brand Amsterdam Perl Mongers (http://www.amsterdam.pm.org/) using perl-5.005.03, 5.6.0, 5.6.1, 5.7.1 & 623 on HP-UX 10.20 & 11.00, AIX 4.2 AIX 4.3, WinNT 4, Win2K pro & WinCE 2.11 often with Tk800.022 &/| DBD-Unify ftp://ftp.funet.fi/pub/languages/perl/CPAN/authors/id/H/HM/HMBRAND/
