Revision d2687465

b/snf-tools/Changelog
5 5
*******
6 6

  
7 7
* Initial snf-tools release
8

  
b/snf-tools/README
16 16

  
17 17
Example:
18 18
--------
19
snf-burnin --api=API_URL --token=TOKEN --image-id=IMAGE-ID --log-folder=LOG_FOLDER
19
snf-burnin --api=API_URL --token=TOKEN \
20
    --image-id=IMAGE-ID --log-folder=LOG_FOLDER
20 21

  
21 22

  
22 23
For more options:
......
27 28
Log files
28 29
==========
29 30

  
30
In each run, snf-burnin stores log files in the folder defined in the --log-folder parameter (default is /var/log/burnin) under the folder with the timestamp of the snf-burnin-run and the image used for it. The name prefixes of the log files are:
31
In each run, snf-burnin stores log files in the folder defined in the
32
--log-folder parameter (default is /var/log/burnin) under the folder
33
with the timestamp of the snf-burnin-run and the image used for it.
34
The name prefixes of the log files are:
31 35

  
32 36
- details: Showing the complete log of snf-burnin run.
33 37
- error: Showing the testcases that encountered a runtime error.
......
36 40

  
37 41
Example scripts
38 42
-----------------
39
Under /snf-tools/conf/ you can find example scripts for automating snf-burnin testing using cron.
43
Under /snf-tools/conf/ you can find example scripts for automating
44
snf-burnin testing using cron.
40 45

  
41
- **snf-burnin-run.sh** runs snf-burnin with the given parameters, deletes stale instances (servers, networks) from old runs and delete logs older than a week. It aborts if snf-burnin runs for longer than expected. 
46
- **snf-burnin-run.sh** runs snf-burnin with the given parameters, deletes
47
stale instances (servers, networks) from old runs and delete logs older than
48
a week. It aborts if snf-burnin runs for longer than expected.
42 49
  
43 50
  - **Usage**: ./snf-burnin-run.sh TOKEN IMAGE-ID LOG_FOLDER
44 51

  
45
- **snf-burnin-output.sh** checks for failed snf-burnin tests the last 30 minutes in a given log folder. Exit status is 0 if no failures where encountered, else exit status is 1.
52
- **snf-burnin-output.sh** checks for failed snf-burnin tests the last 30
53
minutes in a given log folder. Exit status is 0 if no failures where
54
encountered, else exit status is 1.
46 55
  
47
  - **Usage**: ./snf-burnin-output.sh LOG_FOLDER
56
  - **Usage**: ./snf-burnin-output.sh LOG_FOLDER

Also available in: Unified diff