Merge lp:~doanac/utah/client-repeat_count into lp:utah
- client-repeat_count
- Merge into dev
Status: | Superseded |
---|---|
Proposed branch: | lp:~doanac/utah/client-repeat_count |
Merge into: | lp:utah |
Diff against target: | 0 lines |
To merge this branch: | bzr merge lp:~doanac/utah/client-repeat_count |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
UTAH Dev | Pending | ||
Review via email:
|
This proposal has been superseded by a proposal from 2013-05-23.
Commit message
Description of the change
These are the changes needed to allow utah to honor the "repeat_count" attribute in a run list. I also made some small fixes in the last 2 revno's for issues I found on the nexus.
This change set is probably easiest to read if no go revno by revno rather than trying to read the whole thing at once.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Max Brustkern (nuclearbob) wrote : | # |
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Andy Doan (doanac) wrote : | # |
On 04/08/2013 09:32 AM, Max Brustkern wrote:
> So when repeat_count is nonzero, we repeat that many times,
yes
> and the YAML record for each time gets a repeat count number that
indicates the number of times after the run that the test should be
repeated,
no - you just have an array of these in the yaml.
> unless one run fails, in which case we stop, and don't repeat?
correct
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Max Brustkern (nuclearbob) wrote : | # |
> On 04/08/2013 09:32 AM, Max Brustkern wrote:
> > So when repeat_count is nonzero, we repeat that many times,
>
> yes
>
> > and the YAML record for each time gets a repeat count number that
> indicates the number of times after the run that the test should be
> repeated,
>
> no - you just have an array of these in the yaml.
Okay, I think I'm confused by the fact that we're calling runner.run(x) for a range of values, but runner is also doing self.repeat_
>
> > unless one run fails, in which case we stop, and don't repeat?
>
> correct
I guess this may be out of scope for what you're doing here, but what would be really great for bootspeed and power is if we could retry failed runs instead of stopping on them. That probably requires further additional configuration to set either a maximum number of tries or a timeout, and to set what the behavior on failure should be (i.e., stop, continue, retry.) As an implementation of the option that we already had, this does seem reasonably complete to me, I'm just thinking about possible future enhancements to serve particular use cases.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Andy Doan (doanac) wrote : | # |
On 04/08/2013 01:09 PM, Max Brustkern wrote:
>> > and the YAML record for each time gets a repeat count number that
>> >indicates the number of times after the run that the test should be
>> >repeated,
>> >
>> >no - you just have an array of these in the yaml.
> Okay, I think I'm confused by the fact that we're calling runner.run(x) for a range of values, but runner is also doing self.repeat_
I'll admit this feels a little awkward. The thing to keep in mind is
that we have to know the *first* time something is run (ie rerun =
False) and also how many times to run it. So you need two variables. I'm
using "iteration" to let us know which run we are doing and, if its 0
know rerun=False. "repeat_count" is used to know how how high
"iterations" should go to and gets persisted.
- 855. By Max Brustkern
-
Merged docstring updates
- 856. By Max Brustkern
-
Adding wait_for_booted change
- 857. By Max Brustkern
-
Deprecated run scripts
- 858. By Max Brustkern
-
Fixed LP #1158743
- 859. By Max Brustkern
-
Fixed issue running nosetests on directory
- 860. By Max Brustkern
-
Added docstring to setup file
- 861. By Max Brustkern
-
Fixing call to sshcheck that doesn't match function signature
- 862. By Max Brustkern
-
Merged iso squashfs validation update
- 863. By Javier Collado
-
Merged documentation string fixes
Source branch: lp:~javier.collado/utah/documentation_fixes
- 864. By Javier Collado
-
Merged changes to validate master runlist before provisioning (LP: #1082087)
Source branch: lp:~javier.collado/utah/bug1082087
- 865. By Javier Collado
-
Fix broken build
The package build is broken because a weird exception:
RuntimeError: sys.path must be a list of directory namesLooking in python source code I see this change:
http://hg.python. org/cpython/ rev/c9bb16b7d14 8 that indeed changes what it was an ImportError to a RuntimeError. However, it's
not clear why PyList_Check(path) is failing because I'm pretty sure that
sys.path is a list (I even tried to filter it with os.path.isdir). Hence, I
guess that path in that code isn't really sys.path under some circumstances.Anyway, catching that exception and handling it the same way as ImportError
works fine. - 866. By Javier Collado
-
Merged changes to use socket timeout in SSH commands instead of SIGALRM (LP: #1169510)
Source branch: lp:~javier.collado/utah/bug1169510
- 867. By Javier Collado
-
Merged changes to make rsyslog timeout error message clearer (LP: #1169846)
Source branch: lp:~javier.collado/utah/bug1169846
- 868. By Javier Collado
-
Merged changes to choose battery implementation for a test run
Source branch: lp:~doanac/utah/pluggable-battery
- 869. By Javier Collado
-
Merged changes to write to log UTAH version as soon as possible (LP: #1152216)
Source branch: lp:~javier.collado/utah/bug1152216
- 870. By Max Brustkern
-
Merged client rsyslog code
- 871. By Max Brustkern
-
Added UEFI tests to image validation
- 872. By Javier Collado
-
Merged changes to verify UTAHTimeout exceptions in rsyslog module
Source branch: lp:~javier.collado/utah/bug1169846-test-case
- 873. By Javier Collado
-
Merged chnages to cleanup server code
Source branch: lp:~doanac/utah/server-cleanups
- 874. By Javier Collado
-
Merged changes to cleanup utah.run code
Source branch: lp:~doanac/utah/run-cleanups
- 875. By Max Brustkern
-
Merged reduced exception catching
- 876. By Andy Doan
-
uuid_check requires ssh so "self.provisioned" must be True
This call was moved into provisioning.py where its a litle
easier to manage it in conjunction with the state the machine
is in. This now means vm's will do the check as well, but that
should be harmless. - 877. By Javier Collado
-
Merged changes to fix help output to use just one runlist (LP: #1112597)
Source branch: lp:~nuclearbob/utah/bug1112597
- 878. By Javier Collado
-
Merged changes to fix DefaultValidator and updated schemas to draftv4 (LP: #1165175)
Source branch: lp:~javier.collado/utah/bug1165175
- 879. By Javier Collado
-
Merged changes to refactor cleanup for the machine class
Source branch: lp:~nuclearbob/utah/cleanup-cleanup
- 880. By Javier Collado
-
Merged changes to use setup rc.local to use output passed via command line (LP: #1155615)
- 881. By Javier Collado
-
Merged changes to consolidate scripts functionality
Source branch: lp:~nuclearbob/utah/consolidate-scripts
- 882. By Javier Collado
-
Updated version number to upload to PPA
- 883. By Javier Collado
-
Merged fixes to make sure ssh client is propertly closed
Source branch: lp:~javier.collado/utah/ssh-client-close
- 884. By Javier Collado
-
Merged fixes to throw exceptions when baremetal support isn't isntalled
Source branch: lp:~nuclearbob/utah/fix-baremetal-import
- 885. By Javier Collado
-
Added saucy to the list of available series by default
- 886. By Max Brustkern
-
Fixed incorrect hasattr usage
- 887. By Javier Collado
-
UTAH 0.12 release
- 888. By Javier Collado
-
Getting ready for UTAH 0.13 release
- 889. By Javier Collado
-
Merged changes to rotate server log files based on time (LP: #1088376)
Source branch: lp:~javier.collado/utah/bug1088376
- 890. By Javier Collado
-
Merged changes to improve error message on kvm support problems (LP: #1174929)
Source branch: lp:~javier.collado/utah/bug1174929
- 891. By Javier Collado
-
Merged changes in logging to print pattern instead of match object (LP: #1176076)
Source branch: lp:~javier.collado/utah/bug1176076
- 892. By Javier Collado
-
Merged changes to set reboot default to 'never' in tc_control schema (LP: #1175809)
Source branch: lp:~javier.collado/utah/bug1175809
- 893. By Javier Collado
-
Merged various fixes
Source branch: lp:~nuclearbob/utah/various-fixes
Changes have been rebased and client deb file has been removed before merging.
- 894. By Javier Collado
-
Merged changes to apply retry strategy to install UTAH client package (LP: #1175732)
Source branch: lp:~javier.collado/utah/bug1175732
- 895. By Javier Collado
-
Merged changes to allow overrides at test level in test suite runlist (LP: #1177787)
Source branch: lp:~javier.collado/utah/bug1177787
- 896. By Javier Collado
-
Merged changes to add phoenix manpage (LP: #1067704)
Source branch: lp:~javier.collado/utah/bug1067704
- 897. By Andy Doan
-
move sbsigntool dependency to server and not client
- 898. By Javier Collado
-
Merged changes to apply all overrides in tslist.run to the test cases (LP: #1178238)
Source branch: lp:~javier.collado/utah/bug1178238
- 899. By Javier Collado
-
Merged changes to use replace error handler in encoding/decoding (LP: #1178193)
Source branch: lp:~javier.collado/utah/bug1178193
- 900. By Javier Collado
-
Merged changes to update schema to allow zero timeout values (LP: #1178185)
Source branch: lp:~javier.collado/utah/bug1178185
- 901. By Javier Collado
-
Merged changes to fix cleanup so VMs are removed if installation fails (LP: #1178241)
Source branch: lp:~nuclearbob/utah/bug1178241
- 902. By Javier Collado
-
Released UTAH 0.12.2
- 903. By Javier Collado
-
Check sftp_client is initialized before closing it (LP: #1178686)
- 904. By Andy Doan
-
Set disksizes default directly instead of via argparse (LP:
#1178367) - 905. By Javier Collado
-
Updated changelog to include 0.12.3
- 906. By Javier Collado
-
Removed unsupported distributions from defaults (LP: #1178650)
Source branch: lp:~javier.collado/utah/bug1178650
- 907. By Andy Doan
-
fix regression in exception handling for is_utah_done
cherry-picked from 0.12 branch
- 908. By Javier Collado
-
Merged change in the exception type
Source branch: lp:~nuclearbob/utah/bug1179531
- 909. By Javier Collado
-
Merged changes to depend on either dl-ubuntu-test-iso or ubuntu-qa-tools (LP: #1100710)
Source branch: lp:~javier.collado/utah/bug1100710
- 910. By Javier Collado
-
Fixed changelog
The changes for bug#1179531 have been released already in 0.12.4
- 911. By Javier Collado
-
Merged changes to set correct permissions on files within utah directories
- 912. By Javier Collado
-
Merged changes to take into account pending vs. current in ISO validation tests
- 913. By Javier Collado
-
Merged changes to check uuid from syslog instead of using an ssh command
Source branch: lp:~doanac/utah/uuid_check_rsyslog
- 914. By Javier Collado
-
Merged changes to fix documentation build
Source branch: lp:~javier.collado/utah/documentation-build-fix
- 915. By Javier Collado
-
Merged changes to update Makefile clean target (LP: #1178657)
Source branch: lp:~nuclearbob/utah/bug1178657
- 916. By Javier Collado
-
Merged fix to take into account that the directory being removed can be empty
Source branch: lp:~nuclearbob/utah/packaging-permissions
- 917. By Javier Collado
-
Merged changes to not create report file until data is ready (LP: #1178665)
Source branch: lp:~javier.collado/utah/bug1178665
- 918. By Javier Collado
-
Merged changes to use internally defined error code for parsing errors (LP: #1163343)
Source branch: lp:~javier.collado/utah/bug1163343
- 919. By Javier Collado
-
Merged changes to write configuration variables to logs (LP: #1095994)
Source branch: lp:~javier.collado/utah/bug1095994
- 920. By Javier Collado
-
Merged changes to gather package information before/after test run and calculate delta
Source branch: lp:~javier.collado/utah/report-installed-packages
- 921. By Javier Collado
-
Merged changes to update timeouts to match slowest ones in use for hardware in lab
Source branch: lp:~nuclearbob/utah/timeout-updates
- 922. By Andy Doan
-
rerun support in test case
This is the first pass for basic support. Its missing logic to deal
with reboots.I also deleted some redundant error checking logic between the
build and setup functions that's not needed due to logic in the
setup function. - 923. By Andy Doan
-
rerun support in testsuite
- 924. By Andy Doan
-
support repeat_count
now that suites can be re-run, we can support the repeat_count
attribute in a runlist - 925. By Andy Doan
-
fix a couple of static analysis warnings
- 926. By Andy Doan
-
more pep257
- 927. By Andy Doan
-
add some documentation about what repeat_count means
So when repeat_count is nonzero, we repeat that many times, and the YAML record for each time gets a repeat count number that indicates the number of times after the run that the test should be repeated, unless one run fails, in which case we stop, and don't repeat?