[JIRA] (JENKINS-61848) hudson.AbortException: Ansible playbook execution failed

4 views
Skip to first unread message

aniket05gundale@gmail.com (JIRA)

unread,
Apr 8, 2020, 6:01:03 PM4/8/20
to jenkinsc...@googlegroups.com
Aniket Gundale created an issue
 
Jenkins / Bug JENKINS-61848
hudson.AbortException: Ansible playbook execution failed
Issue Type: Bug Bug
Assignee: Unassigned
Components: _unsorted
Created: 2020-04-08 22:00
Priority: Minor Minor
Reporter: Aniket Gundale

I am getting bellow error:

Please give me some hints so that I can resolve the issue:
TASK [dispatcher : Stop service --> Teamcenter Dispatcher*] ********************task path: /jenkinswork/jenkins_slave/workspace/2.DeployJenkinsBuild/roles/dispatcher/tasks/main.yml:2
<segot-s964> ESTABLISH WINRM CONNECTION FOR USER: theorem-dispatcher@auto on PORT 5986 TO segot-s964
/usr/lib/python2.7/site-packages/urllib3/connectionpool.py:769: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.org/en/latest/security.html
InsecureRequestWarning)
EXEC (via pipeline wrapper)
EXEC (via pipeline wrapper)
<segot-s964> PUT "/jenkinswork/jenkins_slave/workspace/2.DeployJenkinsBuild/roles/dispatcher/files/stop_services.ps1" TO "C:\Users\theorem-dispatcher\AppData\Local\Temp\ansible-tmp-1586361377.73-110610725429240'\stop_services.ps1"
The full traceback is:
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/ansible/executor/task_executor.py", line 130, in run
res = self._execute()
File "/usr/lib/python2.7/site-packages/ansible/executor/task_executor.py", line 528, in _execute
result = self._handler.run(task_vars=variables)
File "/usr/lib/python2.7/site-packages/ansible/plugins/action/script.py", line 101, in run
self._transfer_file(source, tmp_src)
File "/usr/lib/python2.7/site-packages/ansible/plugins/action/_init_.py", line 311, in _transfer_file
self._connection.put_file(local_path, remote_path)
File "/usr/lib/python2.7/site-packages/ansible/plugins/connection/winrm.py", line 484, in put_file
put_output = json.loads(result.std_out)
File "/usr/lib64/python2.7/json/_init_.py", line 338, in loads
return _default_decoder.decode(s)
File "/usr/lib64/python2.7/json/decoder.py", line 366, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib64/python2.7/json/decoder.py", line 384, in raw_decode
raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded

fatal: [segot-s964]: FAILED! => {
"msg": "Unexpected failure during module execution.",
"stdout": ""
}
to retry, use: --limit @/jenkinswork/jenkins_slave/workspace/2.DeployJenkinsBuild/tc.retry

PLAY RECAP *********************************************************************
segot-s631 : ok=8 changed=5 unreachable=0 failed=0
segot-s964 : ok=1 changed=0 unreachable=0 failed=1

FATAL: command execution failed
hudson.AbortException: Ansible playbook execution failed
at org.jenkinsci.plugins.ansible.AnsiblePlaybookBuilder.perform(AnsiblePlaybookBuilder.java:226)
at org.jenkinsci.plugins.ansible.AnsiblePlaybookBuilder.perform(AnsiblePlaybookBuilder.java:199)
at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:81)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:736)
at hudson.model.Build$BuildExecution.build(Build.java:206)
at hudson.model.Build$BuildExecution.doRun(Build.java:163)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:496)
at hudson.model.Run.execute(Run.java:1724)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:97)
at hudson.model.Executor.run(Executor.java:421)
ERROR: Ansible playbook execution failed
[description-setter] Description set:
Finished: FAILURE
 
 

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)
Atlassian logo

mark.earl.waite@gmail.com (JIRA)

unread,
Apr 13, 2020, 1:51:02 PM4/13/20
to jenkinsc...@googlegroups.com
Mark Waite closed an issue as Not A Defect
 

Please don't use the Jenkins issue tracker to submit questions. The Jenkins user mailing list and chat channels are much better suited for questions and answers. More people read those locations and more people can help in those locations.

Change By: Mark Waite
Status: Open Closed
Resolution: Not A Defect
Reply all
Reply to author
Forward
0 new messages