Mike Place
d9a96c0e4c
Merge pull request #33431 from s-schweer/rabbitmq_user_2
...
fix difference between tag output of rabbitmq 2 and 3
2016-05-25 11:16:13 -07:00
Stefan Schweer
a6c9f2b120
added missing whitespaces
2016-05-25 19:56:00 +02:00
Mike Place
0187d0e87e
Merge pull request #33108 from s0undt3ch/features/cli-deamons-runtests
...
[WIP] runtests.py CLI deamons
2016-05-25 10:20:57 -07:00
Stefan Schweer
169dec76b7
improved tests
2016-05-25 10:23:14 +02:00
Stefan Schweer
f84740957a
rebased on develop
2016-05-25 10:22:10 +02:00
Mike Place
a4abcc3d03
Remove rabbitmq unit tests ( #33451 )
...
* Remove completely pointless RabbitMQ unit test
Why would we even write tests to check to see if a mocked object
returns a string and then assert against that string?! This is absurd.
* Spurious print
2016-05-23 13:57:22 -07:00
Pedro Algarvio
e1587261c9
The scripts directory is now a subdirectory of TMP so it gets cleaned up.
2016-05-23 18:04:47 +01:00
Pedro Algarvio
580271d966
First get a new port, then close the offending.
2016-05-23 16:33:29 +01:00
Pedro Algarvio
15b0a399cb
If psutil is available, make sure we kill all process children
2016-05-23 15:40:50 +01:00
Pedro Algarvio
320dc0b606
Turn subprocesses logging proxying back on.
...
Make sure none of the hard coded ports are used when grabbing an unused port
2016-05-23 13:57:22 +01:00
Pedro Algarvio
17798f7b69
We need to use a multiprocessing Queue
2016-05-23 13:57:22 +01:00
Pedro Algarvio
d2b696ba8b
We don't currently support colors on windows
2016-05-23 13:57:22 +01:00
Pedro Algarvio
3a755208f4
Var typo
2016-05-23 13:57:22 +01:00
Pedro Algarvio
85f83c773e
Fix extension modules path
2016-05-23 13:57:22 +01:00
Pedro Algarvio
76c5e105b0
More conf fixes
2016-05-23 13:57:21 +01:00
Pedro Algarvio
3adf8e286e
Some more test suite run fixes
...
* Allow more time for the daemons to react to the signals sent
* Fix configuration
* More logging
2016-05-23 13:57:21 +01:00
twangboy
66e3624f2b
Fix YAML error on minion start
2016-05-23 13:56:56 +01:00
Pedro Algarvio
57fbe717b9
This seems like a cleaner shutdown
2016-05-23 13:56:07 +01:00
twangboy
fdc3835318
Fix some lint
2016-05-23 13:56:07 +01:00
twangboy
766549ed65
Remove type
2016-05-23 13:56:06 +01:00
twangboy
b60bc974a0
Fix clean function for windows
2016-05-23 13:56:06 +01:00
Pedro Algarvio
fca093580c
Disable logging forwarding for now.
2016-05-23 13:56:06 +01:00
Pedro Algarvio
84e04884aa
errno typo
2016-05-23 13:56:06 +01:00
Pedro Algarvio
3aae5a9c28
Check for connection reset errors on windows
2016-05-23 13:56:06 +01:00
Pedro Algarvio
7a9146981e
CLI test config fixes
2016-05-23 13:56:05 +01:00
Pedro Algarvio
73165d8701
Break on broken pipe
2016-05-23 13:56:05 +01:00
Pedro Algarvio
4db35067e1
Refactor the get script path routine into a mix in class
2016-05-23 13:56:05 +01:00
Pedro Algarvio
a17aefd04a
Handle connection errors
2016-05-23 13:56:05 +01:00
Pedro Algarvio
11793aff30
More test scripts fixes
2016-05-23 13:56:05 +01:00
Pedro Algarvio
a51e69f001
Make the generated scripts more windows friendly
2016-05-23 13:56:04 +01:00
Pedro Algarvio
e0b177a493
We need to import logging within the threaded call
2016-05-23 13:56:04 +01:00
Pedro Algarvio
0a40765136
Better exception handling
2016-05-23 13:56:04 +01:00
Pedro Algarvio
cdfd5224c8
log was out of scope, better use the module
2016-05-23 13:56:04 +01:00
Pedro Algarvio
d0c79c4333
Check all ports on the salt-master
2016-05-23 13:56:04 +01:00
Pedro Algarvio
004c7f340b
Disable minion keep alive on linux
2016-05-23 13:56:04 +01:00
twangboy
893894ee70
Add handling to the script template for windows
2016-05-23 13:56:03 +01:00
Pedro Algarvio
e8d3713e6c
More windows friendly. Don't rely on PYTOHNPATH
2016-05-23 13:56:03 +01:00
Pedro Algarvio
c6612482c0
Windows raises EACCES
2016-05-23 13:56:03 +01:00
Pedro Algarvio
eb82b8d229
Remove unnecessary logic
2016-05-23 13:56:03 +01:00
Pedro Algarvio
177d9c4ead
Don't traceback if the process is no longer running.
2016-05-23 13:56:03 +01:00
Pedro Algarvio
e1e1aeb3d7
Keep ports open throughout the tests execution
2016-05-23 13:56:02 +01:00
Pedro Algarvio
5e014d59eb
We're not in a IOLoop
2016-05-23 13:56:02 +01:00
Pedro Algarvio
0a3f5dfbdd
Make sure we're not getting the same port over and over again.
2016-05-23 13:56:02 +01:00
Pedro Algarvio
84861197bb
VT is not available for windows
2016-05-23 13:56:02 +01:00
Pedro Algarvio
50a4fd1dd1
Lint fixes
2016-05-23 13:56:02 +01:00
Pedro Algarvio
f69dc8ef7f
Fix variable reference
2016-05-23 13:56:02 +01:00
Pedro Algarvio
7a8460856c
Define IDs and ports on sample configs
2016-05-23 13:56:01 +01:00
Pedro Algarvio
ca93b6421c
CLI daemons improvements
2016-05-23 13:56:01 +01:00
Pedro Algarvio
c264600738
Provide some feedback of whats happening.
2016-05-23 13:56:01 +01:00
Pedro Algarvio
184c3c83ad
Run the test daemons from CLI
...
This should help running the test suite on Windows machines
2016-05-23 13:56:00 +01:00