Details
-
Type:
Bug
-
Status: Closed (View Workflow)
-
Priority:
Blocker
-
Resolution: Cannot Reproduce
-
Component/s: saltstack-plugin
-
Labels:None
-
Similar Issues:
Description
I . get this error
Started by user anonymous
Building in workspace /var/lib/jenkins/jobs/salt-test/workspace
ERROR: {
"_links":
,
"return": [{}]
}
ERROR:
Response on test.ping for '*':
[{}]
Build step 'Send a message to Salt API' changed build result to FAILURE
Finished: FAILURE
Odd, I am not able to replicate. Can you submit the response from the debug logs?
Does different output get reported without the 'wait for completion' checkbox checked?
Here's what I get from a test with 'wait for completion' checked when trying to run a cmd.run for 'sleep 25; ls -la'
Sending JSON: {"client":"local","tgt":"*","expr_form":"glob","fun":"cmd.run","arg":"sleep 25; ls -la","kwarg":{}}
Received response: [\{"master":"total 20\ndrwx------ 3 root root 4096 Oct 8 17:02 .\ndrwxr-xr-x 25 root root 4096 Mar 5 19:05 ..\n-rw-r--r-- 1 root root 3106 Oct 22 2015 .bashrc\n-rw-r--r-- 1 root root 148 Aug 17 2015 .profile\ndrwx------ 2 root root 4096 Oct 8 17:02 .ssh"}]
Another thing to check is that the salt-api responds properly to the call being sent. See this gist for an example api login and then call to the salt-api