Commit Graph

1164 Commits

Author SHA1 Message Date
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
8100b41c7e Fixed splitting named unittests from named integration tests.
This commit got lost somewhere. I could swear I committed this fix previously...
2013-08-21 19:23:16 +01:00
Pedro Algarvio
bd002f97da Revert "By enforcing absolute imports, there's no need for module name aliases."
This reverts commit a1a2b49a72.
2013-08-20 23:44:05 +01:00
Pedro Algarvio
9353dcafd3 Revert "salt.modules.cmdmod renamed to salt.modules.cmd while enforcing absolute imports."
This reverts commit 3fa341280b.
2013-08-20 23:44:03 +01:00
Pedro Algarvio
d598a8074e Revert "Renamed djangomod module and state to django while enforcing absolute imports."
This reverts commit 2f4d82b295.
2013-08-20 23:43:56 +01:00
Pedro Algarvio
2f4d82b295 Renamed djangomod module and state to django while enforcing absolute imports. 2013-08-19 16:13:38 +01:00
Pedro Algarvio
3fa341280b salt.modules.cmdmod renamed to salt.modules.cmd while enforcing absolute imports. 2013-08-19 13:45:56 +01:00
Pedro Algarvio
a1a2b49a72 By enforcing absolute imports, there's no need for module name aliases. 2013-08-19 13:23:46 +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
0c0751e793 Adapt the test case to the changes introduced in 7e9e889 2013-08-16 20:26:48 +01:00
Pedro Algarvio
2f750ed06c Allow network related tests to be skipped if no network is available. Fixes #6710. 2013-08-16 02:02:37 +01:00
Erik Johnson
945c3a22c8 allow cp.recv to fail integration.modules.sysmod.SysModuleTest 2013-08-14 20:29:31 -05:00
Erik Johnson
176ab16f40 adjust "CLI Example" test 2013-08-14 20:17:39 -05: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
1068406ca5 Fixed integration.states.pip.PipStateTest.test_pip_installed_errors error regex.
It was failing to match on FreeBSD.
2013-08-14 12:29:34 +01:00
Pedro Algarvio
a1cd0ef29d Show what the salt function returned in case of assertion errors. 2013-08-14 00:35:58 +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
90d375d14e If SHELL is not in the environ, the error message is different. 2013-08-13 14:17:41 +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
8856c7a039 Dam! Missing import. 2013-08-13 10:38:37 +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
9d711508f5 Skip running the test is not attached to a TTY. 2013-08-13 10:25:49 +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
4808281594 freebsd uses wheel as well 2013-08-13 01:01:10 -06:00
Thomas S Hatch
bb45a8b9f2 sleep longer for grains test if first return is bad 2013-08-13 00:35:55 -06:00
Thomas S Hatch
33cdd9e760 Don't fail on valid order change 2013-08-13 00:32:32 -06:00
Thomas S Hatch
53f7227fdd Add freebsd to grp covered platforms 2013-08-13 00:27:14 -06:00
Thomas S Hatch
7c54b25119 Revert "Revert nonblocking commands"
This reverts commit 5176b51b41.
2013-08-12 22:54:47 -06:00
Thomas S Hatch
de53840457 Reduce test suite worker threads to 3, the peer system does not
need extra procs anymore
2013-08-12 22:33:59 -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
8a938c9a66 Workaround the stateconf TypeError exceptions under python 2.6
```python
Traceback (most recent call last):
  File "/testing/tests/unit/stateconf_test.py", line 117, in test_state_prefix
    ''', sls='test')
  File "/testing/tests/unit/stateconf_test.py", line 30, in render_sls
    **kws.copy()
  File "/testing/salt/renderers/stateconf.py", line 229, in render
    data = process_sls_data(sls_templ, tmplctx)
  File "/testing/salt/renderers/stateconf.py", line 114, in process_sls_data
    argline=rt_argline.strip(), **kws
  File "/testing/salt/renderers/jinja.py", line 41, in render
    tmp_data.get('data', 'Unknown render error in jinja renderer')
SaltRenderError: Traceback (most recent call last):
  File "/testing/salt/utils/templates.py", line 64, in render_tmpl
    output = render_str(tmplstr, context, tmplpath)
  File "/testing/salt/utils/templates.py", line 102, in render_jinja_tmpl
    loader = JinjaSaltCacheLoader(opts, context['env'])
  File "/testing/salt/utils/jinja.py", line 42, in __init__
    self.searchpath = opts['file_roots'][env]
TypeError: list indices must be integers, not str
```
2013-08-12 13:55:03 +01:00
Pedro Algarvio
799ff82f02 The test case should be executed in the test virtualenv for proper cleanup. 2013-08-12 13:36:52 +01:00
Pedro Algarvio
11060c85be Allow running a group of tests while still providing a test case name from another group. 2013-08-12 11:46:58 +01: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