Commit Graph

184 Commits

Author SHA1 Message Date
Pedro Algarvio
60f759dc68 Let's be explicit in passed keyword arguments. 2013-12-09 19:54:00 +00:00
Pedro Algarvio
1ef452a03a Try to get the tests suite output streamed. 2013-12-09 19:34:29 +00:00
Pedro Algarvio
a295af62fd Make it run! 2013-12-09 18:20:22 +00:00
Pedro Algarvio
aae6f0c4a1 Migrate the Jenkins script to the new Terminal class. 2013-12-09 17:23:08 +00:00
Pedro Algarvio
d02a2bc224 Include the python encoding file header on tests. 2013-11-27 11:19:24 +00:00
Pedro Algarvio
1a3c11c1ca Logs download should be done in a separate step. 2013-10-03 18:49:34 +01:00
Pedro Algarvio
58b5a85b58 Some sleeping between commands. 2013-10-03 15:08:50 +01:00
Pedro Algarvio
67abab7b21 Set the VM name. 2013-10-03 13:36:08 +01:00
Pedro Algarvio
36e889b8ed Support downloading remote logs in Jenkins. 2013-10-03 12:52:05 +01:00
Pedro Algarvio
1a071c0d2f opts not `options' 2013-09-10 12:21:41 +01:00
Pedro Algarvio
d7c2266eed Set the proper variables to chain the remote reports download. 2013-09-10 12:15:39 +01:00
Pedro Algarvio
ddd68a4dc1 Grab the proper option name 2013-09-10 12:15:19 +01:00
Pedro Algarvio
40ba994141 Support "chained" remote reports download with the test run execution. 2013-09-10 12:05:59 +01:00
Pedro Algarvio
5874f171b5 Re-work the report download steps. 2013-09-09 21:52:58 +01:00
Pedro Algarvio
ab2168885b Pass the parsed options to the methods. 2013-09-09 20:45:57 +01:00
Pedro Algarvio
db017a4edf Support passing the workspace to work in. 2013-09-09 20:43:27 +01:00
Pedro Algarvio
6ef007de78 Typo 2013-09-09 11:56:48 +01:00
Pedro Algarvio
ba276f0b2a More generic error message since the commands continue to execute. 2013-09-09 11:48:59 +01:00
Pedro Algarvio
022fd37cae Remove existing local coverage xml report prior to downloading a new one. 2013-09-09 11:24:58 +01:00
Pedro Algarvio
35fe2cf951 Of course the VM's are always being deleted!!!! 2013-09-09 00:02:08 +01:00
Pedro Algarvio
581f498c9f Are any exceptions being raised? 2013-09-08 23:41:38 +01:00
Pedro Algarvio
6ba8b9efeb Fix removed back slashed single quote. More info displayed. 2013-09-08 18:48:32 +01:00
Pedro Algarvio
d11e9fdc2f Also pipe stdout 2013-09-08 18:18:21 +01:00
Pedro Algarvio
68bcc826c5 Don't split up commands. 2013-09-08 18:14:03 +01:00
Pedro Algarvio
799fa765b9 Add support to download xml coverage reports 2013-09-08 17:43:55 +01:00
Pedro Algarvio
2cc993a0d5 Add code to download XML unit test reports 2013-09-08 16:32:35 +01:00
Pedro Algarvio
5679c04874 Remove the quotes. 2013-09-08 12:07:27 +01:00
Pedro Algarvio
d0e006eff3 Flush output. 2013-09-08 12:07:27 +01:00
Pedro Algarvio
9ca574a2b3 Sleep a little before running the test suite remotely. 2013-09-06 17:36:05 +01:00
Pedro Algarvio
c2fd114496 Better VM name. Zero left padding build numbers. 2013-09-06 17:13:05 +01:00
Pedro Algarvio
23aa412ae2 Random part of VM name from build number if available. 2013-09-06 16:36:26 +01:00
Pedro Algarvio
03491874d0 Get the correct environment variable name. 2013-09-06 14:42:20 +01:00
Pedro Algarvio
3d6debf33a More explicit environment variable names. Detect Jenkins environment. 2013-09-06 14:40:01 +01:00
Pedro Algarvio
63f4dedfa4 Fix script 2013-09-06 12:59:24 +01:00
Pedro Algarvio
768796aab9 Some more env printing 2013-09-06 12:55:27 +01:00
Pedro Algarvio
e7c4d1ca55 Separate output 2013-09-06 12:46:52 +01:00
Pedro Algarvio
3414e6b1f0 Need a peek at the environment for debugging purposes. 2013-09-06 12:45:01 +01:00
Pedro Algarvio
41079433a6 Use the __dict__ attribute. 2013-09-06 12:32:22 +01:00
Pedro Algarvio
363e6fa3d2 Allow for a stepped Jenkins execution. 2013-09-06 12:14:27 +01:00
Pedro Algarvio
2170af5717 Non zero exit codes should be considered errors. 2013-09-05 05:38:07 +01:00
Seth House
1ff3c953e6 Added sls and pillar as params
This change is backward compatible...but untested.
2013-09-04 14:29:41 -06:00
Pedro Algarvio
f9176a9064 Let's try Popen. 2013-08-22 12:27:58 +01:00
Pedro Algarvio
e817f0087a Redirect stderr to stdout. 2013-08-22 11:59:25 +01:00
Pedro Algarvio
0860da1852 Add debug print to check if communicate is doin' the right thing. 2013-08-21 23:41:27 +01:00
Pedro Algarvio
49a6cfdc51 On bootstrap failure, also cleanup. 2013-08-17 07:59:13 +01:00
Pedro Algarvio
d66609c630 Revert "Make salt-cloud run our testrun state to get a streamed output"
This reverts commit d8b011d103.
2013-08-17 06:06:51 +01:00
Pedro Algarvio
09cb137ec7 Revert "salt-call does not support timeout"
This reverts commit 20de21df07.
2013-08-17 06:06:41 +01:00
Pedro Algarvio
2dd1cb2a83 Revert "Let's try to get the test suite output"
This reverts commit 1ab4b0ca7b.
2013-08-17 06:06:29 +01:00
Pedro Algarvio
1ab4b0ca7b Let's try to get the test suite output 2013-08-17 05:40:05 +01:00
Pedro Algarvio
20de21df07 salt-call does not support timeout 2013-08-17 05:32:32 +01:00
Pedro Algarvio
d8b011d103 Make salt-cloud run our testrun state to get a streamed output 2013-08-17 05:26:33 +01:00
Pedro Algarvio
a4ce13a285 The jenkins version of salt does not support log level on the salt binary. 2013-08-14 12:59:55 +01:00
Pedro Algarvio
2334ce41e6 Run salt and salt-cloud with debug logging. 2013-08-14 12:51:12 +01:00
Pedro Algarvio
1f02553ead Some more information about the bootstrap process. 2013-08-14 12:49:40 +01:00
Pedro Algarvio
b51b5cfb9e Flush stdout and say which exit code was thrown. 2013-08-13 15:47:11 +01:00
Pedro Algarvio
fcc74d9c56 Exit if the bootstrap process did not succeed. 2013-08-13 15:33:03 +01:00
Pedro Algarvio
1ad2ceb5e1 Flush print messages. 2013-08-13 11:55:17 +01:00
Pedro Algarvio
acc6286f8a Revert "Allow pip based installations if necessary."
This reverts commit ffaad3dc84.
2013-08-13 11:24:04 +01:00
Pedro Algarvio
ffaad3dc84 Allow pip based installations if necessary. 2013-08-13 10:38:24 +01:00
Pedro Algarvio
32b2705cdd No colored output from the bootstrap script. 2013-08-13 10:38:24 +01:00
Pedro Algarvio
93ab0e9e43 Flush test-suite output before running the cleanup code. 2013-08-13 09:58:01 +01:00
Thomas S Hatch
7c54b25119 Revert "Revert nonblocking commands"
This reverts commit 5176b51b41.
2013-08-12 22:54:47 -06:00
Thomas S Hatch
5176b51b41 Revert nonblocking commands
In an attempt to determine why all tests are failing when they pass
running the commands in the shell and used to pass
2013-08-12 22:00:58 -06:00
Thomas S Hatch
503d56d189 Add a 30 minute timeout to jenkins state run
This lowers the load on the jenkins server and is still accurate because the expected minion to return if finite
2013-08-12 10:32:55 -06:00
Pedro Algarvio
0c9ed627ff If no output, it's also a failure. 2013-08-11 19:22:30 +01:00
Pedro Algarvio
864a69661e Match test suite exit code. 2013-08-11 17:20:43 +01:00
Pedro Algarvio
67a5138a9d Stream jenkins output. 2013-08-11 13:58:42 +01:00
Pedro Algarvio
e902d7c403 Required options should error if not passed. 2013-08-11 12:44:54 +01:00
Chris Rebert
24e903e63a tests/jenkins.py: fix URL; minor copyedits 2013-08-10 22:50:47 -07:00
Thomas S Hatch
e40bd7e4f9 Always name vms with ZZZ in jankins tests
This makes it easier to see them all in the cloud lists
2013-08-10 14:16:55 -06:00
Thomas S Hatch
7ac5b1d400 Always assign retcode 2013-08-10 13:55:18 -06:00
Thomas S Hatch
1e27703f3b PIPE on Popen 2013-08-10 09:33:24 -06:00
Thomas S Hatch
040fe7c943 Caps 2013-08-10 08:58:45 -06:00
Thomas S Hatch
1bdb939bbe Add better detection of state errors 2013-08-10 08:33:19 -06:00
Thomas S Hatch
ebc8256ba2 pass in script args to install the testing commit 2013-08-10 08:21:54 -06:00
Thomas S Hatch
c4a79bbba2 pass through the retcode from the state call 2013-08-10 02:33:58 -06:00
Thomas S Hatch
c43af7cf6f make it --no-clean 2013-08-10 02:06:03 -06:00
Thomas S Hatch
1970cbdce8 Allow builds to not clean up 2013-08-10 02:04:45 -06:00
Thomas S Hatch
b3461f7f06 escape braces from format 2013-08-10 01:53:28 -06:00
Thomas S Hatch
174a1ecdb5 Pass needed args to run funtion 2013-08-10 01:44:28 -06:00
Thomas S Hatch
4b862da662 dict is not callable :) 2013-08-10 01:43:40 -06:00
Thomas S Hatch
c225921821 Pass through the git commit to the pillar 2013-08-10 01:40:47 -06:00
Thomas S Hatch
1f17e10ef7 updates to jenkins test script 2013-08-10 01:23:32 -06:00
Thomas S Hatch
d50d438545 Add initial jenkins python script for jenkins tests 2013-08-10 01:15:30 -06:00