Files
scst/nightly
Yan Burman 6c2a375768 Merged revisions 5833-5835,5844,5847-5856 via svnmerge from
svn+ssh://yanb123@svn.code.sf.net/p/scst/svn/trunk

........
  r5833 | bvassche | 2014-10-07 08:02:20 +0200 (Tue, 07 Oct 2014) | 1 line
  
  nightly build: Update kernel versions
........
  r5834 | bvassche | 2014-10-10 18:36:24 +0200 (Fri, 10 Oct 2014) | 1 line
  
  nightly build: Update kernel versions
........
  r5835 | bvassche | 2014-10-10 18:36:59 +0200 (Fri, 10 Oct 2014) | 1 line
  
  nightly build: Update kernel versions
........
  r5844 | vlnb | 2014-10-17 04:13:17 +0200 (Fri, 17 Oct 2014) | 3 lines
  
  iSER web updates
........
  r5847 | vlnb | 2014-10-17 04:22:23 +0200 (Fri, 17 Oct 2014) | 19 lines
  
  scst_vdisk: Remove a superfluous cast
  
  The 'iov_base' member of 'struct iovec' is declared in
  <uapi/linux/uio.h> with type 'void __user *'. Adding an integer
  to a void pointer has the same effect as adding an integer to
  a char pointer in the C language. This means that it is safe to
  remove the cast in front of the eiv->iov_base pointer.
  
  Please note that a similar construct already exists in the iSCSI
  target driver. From the nthread.c source file:
  
  			iop->iov_base += rest;
  			iop->iov_len -= rest;
  
  This patch does not change any functionality.
  
  Signed-off-by: Bart Van Assche <bvanassche@acm.org>
........
  r5848 | vlnb | 2014-10-17 04:24:07 +0200 (Fri, 17 Oct 2014) | 12 lines
  
  scst_vdisk: Reduce number of casts
  
  Since 'address' points at kernel space memory, change its type
  from uint8_t __user * into uint8_t *. This change reduces the
  number of casts between uint8_t __user * to uint8_t * in
  fileio_exec_write().
  
  This patch does not change any functionality.
  
  Signed-off-by: Bart Van Assche <bvanassche@acm.org>
........
  r5849 | vlnb | 2014-10-17 04:30:12 +0200 (Fri, 17 Oct 2014) | 10 lines
  
  scst_vdisk, MODE SELECT(10): Interpret both bytes of the BLOCK DESCRIPTOR LENGTH field
  
  While the BLOCK DESCRIPTOR LENGTH field spans a single byte in the
  Mode parameter header(6), the size of this field in the Mode parameter
  header(10) is two bytes. Interpret both bytes while executing a MODE
  SELECT(10) command.
  
  Signed-off-by: Bart Van Assche <bvanassche@acm.org>
........
  r5850 | vlnb | 2014-10-17 04:32:28 +0200 (Fri, 17 Oct 2014) | 8 lines
  
  scst/README: Document the lun<X> sysfs attributes
  
  The sessions/<sess>/lun<X> sysfs attribute "active_commands" is not
  yet documented. Hence add documentation for that sysfs attribute.
  
  Signed-off-by: Bart Van Assche <bvanassche@acm.org>
........
  r5851 | vlnb | 2014-10-17 04:35:01 +0200 (Fri, 17 Oct 2014) | 12 lines
  
  scst, iscsi-scst: Add thread_pid attribute
  
  For SCST devices with a short name determining which SCST command
  threads serve a given LUN requires an (expensive) walk of the
  process table. For SCST devices with a long name it is not possible
  to determine unambiguously which command threads serve a given
  LUN. Hence add a thread_pid sysfs attribute that makes it easy to
  figure out which command threads serve a LUN.
  
  Signed-off-by: Bart Van Assche <bvanassche@acm.org>
........
  r5852 | bvassche | 2014-10-18 10:56:23 +0200 (Sat, 18 Oct 2014) | 5 lines
  
  iscsi-scst: Make iscsi_thread_pool locking more fine-grained
  
  Protect iscsi_thread_pool.threads_list via tp_mutex instead of
  scst_mutex.
........
  r5853 | bvassche | 2014-10-24 09:12:39 +0200 (Fri, 24 Oct 2014) | 1 line
  
  nightly build: Update kernel versions
........
  r5854 | bvassche | 2014-11-01 10:30:20 +0200 (Sat, 01 Nov 2014) | 1 line
  
  nightly build: Update kernel versions
........
  r5855 | vlnb | 2014-11-15 03:44:06 +0200 (Sat, 15 Nov 2014) | 3 lines
  
  Ease severity of reporting unsupported REPORT LUNS SELECT REPORT value
........
  r5856 | vlnb | 2014-11-15 03:55:27 +0200 (Sat, 15 Nov 2014) | 3 lines
  
  Report RX data digest failures by default
........


git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/iser@5873 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-11-16 13:51:38 +00:00
..
2009-04-07 17:28:14 +00:00

This directory (nightly/) contains a simple, automatic build-and-test
system for SCST, intended to be run by cron.

Note (importantly) it doesn't test the sources in the tree of which
this directory is a part (viz, nightly/..).  Instead it checks out
a complete new tree, builds and tests that independently of the
existing tree.

To use, choose a tag, probably a machine name, and run

   bin/nightly <tag>

and supply the following two config files:

- conf/<tag>.conf:  this is sourced by the 'nightly' script, and can define
  any or all of the following environment variables:

  ABT_DETAILS: describes the machine in more detail, eg. the OS.  The default
    is empty.
  ABT_EVAL: if provided, it must be the name of a shell script that executes
    the shell command $1 with arguments $2 .. ${$#}. Allows to compile and
    run the SCST regression tests on another system than the system the
    'nightly' script runs on. It is assumed that the remote system shares the
    local filesystem tree through e.g. NFS. It is the responsibility of the
    shell script to set the remote working directory such that it matches the
    local current directory ($PWD).
  ABT_JOBS: allows parallel builds -- it's passed as the argument to "make
    -j" when building SCST and the tests.  The default is 1.
  ABT_KERNELS: kernel version numbers to test SCST against.
  ABT_TMPDIR: absolute path in which temporary files will be stored.

- conf/<tag>.sendmail:  this should be a script that sends an email to the
  desired recipient (eg. the scst-developers list).  It takes three
  command line arguments.  The first is the email subject line, the second
  is the name of the file containing the email's body (showing the tests
  that failed, and the difference between now and 24 hours ago), the third
  is the name of the file containing all the diffs (which can be made into
  an attachment, for example).

CREDITS

The automatic build-and-test infrastructure for the SCST project reuses some
ideas and shell script code from a similar infrastructure in the Valgrind project.