Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-54557

hudson.AbortException: Ansible playbook execution failed

    Details

    • Similar Issues:

      Description

      Faild always

      Jenkins ver. 2.60.1 under Windows
      jenkins agent under linux:

      ansible 2.7.0
        config file = /etc/ansible/ansible.cfg
        configured module search path = [u'/etc/ansible/my_modules']
        ansible python module location = /usr/lib/python2.7/site-packages/ansible
        executable location = /usr/bin/ansible
        python version = 2.7.5 (default, Aug  4 2017, 00:39:18) [GCC 4.8.5 20150623 (Red Hat 4.8.5-16)]
      

       

      run from jenkins:

       

      // code placeholder
      $ /usr/bin/ansible-playbook /etc/ansible/playbooks/tools/Check_hostname.yml -i host -f 5
      PLAY [all] *********************************************************************
      TASK [Gathering Facts] ********************************************************
      .......
      TASK [Comprobando nombre equipo] ***********************************************
      .....
      PLAY RECAP *********************************************************************
      .......
      w********p           : ok=0    changed=0    unreachable=1    failed=0   
      FATAL: command execution failedhudson.AbortException: Ansible playbook execution failed at org.jenkinsci.plugins.ansible.AnsiblePlaybookBuilder.perform(AnsiblePlaybookBuilder.java:236) at org.jenkinsci.plugins.ansible.AnsiblePlaybookBuilder.perform(AnsiblePlaybookBuilder.java:207) 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:735) 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:490) at hudson.model.Run.execute(Run.java:1735) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:97) at hudson.model.Executor.run(Executor.java:405)
      ERROR: Ansible playbook execution failed
       Archiving artifacts
       Recording test results
       Finished: FAILURE
      

       

       Run in host:

       

      // code placeholder
      $ /usr/bin/ansible-playbook /etc/ansible/playbooks/tools/Check_hostname.yml -i host -f 5
      PLAY [all] *********************************************************************
      TASK [Gathering Facts] ********************************************************
      .......
      TASK [Comprobando nombre equipo] ***********************************************
      .....
      PLAY RECAP *********************************************************************
      .......
      w********p           : ok=0    changed=0    unreachable=1    failed=0   
      #
      

       

       

        Attachments

          Activity

          wowberk Josu Rodriguez created issue -
          wowberk Josu Rodriguez made changes -
          Field Original Value New Value
          Description Faild always

          $ /usr/bin/ansible-playbook /etc/ansible/playbooks/tools/Check_hostname.yml -i host -f 5

          PLAY [all] *********************************************************************

          TASK [Gathering Facts] ********************************************************

          .......

          TASK [Comprobando nombre equipo] ***********************************************

          .....

          PLAY RECAP *********************************************************************

          .......

          w********p           : ok=0    changed=0    unreachable=1    failed=0   


          FATAL: command execution failedhudson.AbortException: Ansible playbook execution failed at org.jenkinsci.plugins.ansible.AnsiblePlaybookBuilder.perform(AnsiblePlaybookBuilder.java:236) at org.jenkinsci.plugins.ansible.AnsiblePlaybookBuilder.perform(AnsiblePlaybookBuilder.java:207) 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:735) 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:490) at hudson.model.Run.execute(Run.java:1735) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:97) at hudson.model.Executor.run(Executor.java:405)

          ERROR: Ansible playbook execution failed
          Archiving artifacts
          Recording test results
          Finished: FAILURE


           
          Faild always
          {code:java}
          // code placeholder
          $ /usr/bin/ansible-playbook /etc/ansible/playbooks/tools/Check_hostname.yml -i host -f 5
          PLAY [all] *********************************************************************
          TASK [Gathering Facts] ********************************************************
          .......
          TASK [Comprobando nombre equipo] ***********************************************
          .....
          PLAY RECAP *********************************************************************
          .......
          w********p           : ok=0    changed=0    unreachable=1    failed=0   
          FATAL: command execution failedhudson.AbortException: Ansible playbook execution failed at org.jenkinsci.plugins.ansible.AnsiblePlaybookBuilder.perform(AnsiblePlaybookBuilder.java:236) at org.jenkinsci.plugins.ansible.AnsiblePlaybookBuilder.perform(AnsiblePlaybookBuilder.java:207) 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:735) 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:490) at hudson.model.Run.execute(Run.java:1735) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:97) at hudson.model.Executor.run(Executor.java:405)
          ERROR: Ansible playbook execution failed
           Archiving artifacts
           Recording test results
           Finished: FAILURE
          {code}
           

           

           
          wowberk Josu Rodriguez made changes -
          Description Faild always
          {code:java}
          // code placeholder
          $ /usr/bin/ansible-playbook /etc/ansible/playbooks/tools/Check_hostname.yml -i host -f 5
          PLAY [all] *********************************************************************
          TASK [Gathering Facts] ********************************************************
          .......
          TASK [Comprobando nombre equipo] ***********************************************
          .....
          PLAY RECAP *********************************************************************
          .......
          w********p           : ok=0    changed=0    unreachable=1    failed=0   
          FATAL: command execution failedhudson.AbortException: Ansible playbook execution failed at org.jenkinsci.plugins.ansible.AnsiblePlaybookBuilder.perform(AnsiblePlaybookBuilder.java:236) at org.jenkinsci.plugins.ansible.AnsiblePlaybookBuilder.perform(AnsiblePlaybookBuilder.java:207) 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:735) 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:490) at hudson.model.Run.execute(Run.java:1735) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:97) at hudson.model.Executor.run(Executor.java:405)
          ERROR: Ansible playbook execution failed
           Archiving artifacts
           Recording test results
           Finished: FAILURE
          {code}
           

           

           
          Faild always

          Jenkins ver. 2.60.1 under Windows
          jenkins agent under linux:


          {code:java}
          ansible 2.7.0
            config file = /etc/ansible/ansible.cfg
            configured module search path = [u'/etc/ansible/my_modules']
            ansible python module location = /usr/lib/python2.7/site-packages/ansible
            executable location = /usr/bin/ansible
            python version = 2.7.5 (default, Aug 4 2017, 00:39:18) [GCC 4.8.5 20150623 (Red Hat 4.8.5-16)]
          {code}
           

          run from jenkins:

           
          {code:java}
          // code placeholder
          $ /usr/bin/ansible-playbook /etc/ansible/playbooks/tools/Check_hostname.yml -i host -f 5
          PLAY [all] *********************************************************************
          TASK [Gathering Facts] ********************************************************
          .......
          TASK [Comprobando nombre equipo] ***********************************************
          .....
          PLAY RECAP *********************************************************************
          .......
          w********p           : ok=0    changed=0    unreachable=1    failed=0   
          FATAL: command execution failedhudson.AbortException: Ansible playbook execution failed at org.jenkinsci.plugins.ansible.AnsiblePlaybookBuilder.perform(AnsiblePlaybookBuilder.java:236) at org.jenkinsci.plugins.ansible.AnsiblePlaybookBuilder.perform(AnsiblePlaybookBuilder.java:207) 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:735) 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:490) at hudson.model.Run.execute(Run.java:1735) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:97) at hudson.model.Executor.run(Executor.java:405)
          ERROR: Ansible playbook execution failed
           Archiving artifacts
           Recording test results
           Finished: FAILURE
          {code}
           

           Run in host:



           
          {code:java}
          // marcador de posición de código

          {code}
           

           
          wowberk Josu Rodriguez made changes -
          Description Faild always

          Jenkins ver. 2.60.1 under Windows
          jenkins agent under linux:


          {code:java}
          ansible 2.7.0
            config file = /etc/ansible/ansible.cfg
            configured module search path = [u'/etc/ansible/my_modules']
            ansible python module location = /usr/lib/python2.7/site-packages/ansible
            executable location = /usr/bin/ansible
            python version = 2.7.5 (default, Aug 4 2017, 00:39:18) [GCC 4.8.5 20150623 (Red Hat 4.8.5-16)]
          {code}
           

          run from jenkins:

           
          {code:java}
          // code placeholder
          $ /usr/bin/ansible-playbook /etc/ansible/playbooks/tools/Check_hostname.yml -i host -f 5
          PLAY [all] *********************************************************************
          TASK [Gathering Facts] ********************************************************
          .......
          TASK [Comprobando nombre equipo] ***********************************************
          .....
          PLAY RECAP *********************************************************************
          .......
          w********p           : ok=0    changed=0    unreachable=1    failed=0   
          FATAL: command execution failedhudson.AbortException: Ansible playbook execution failed at org.jenkinsci.plugins.ansible.AnsiblePlaybookBuilder.perform(AnsiblePlaybookBuilder.java:236) at org.jenkinsci.plugins.ansible.AnsiblePlaybookBuilder.perform(AnsiblePlaybookBuilder.java:207) 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:735) 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:490) at hudson.model.Run.execute(Run.java:1735) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:97) at hudson.model.Executor.run(Executor.java:405)
          ERROR: Ansible playbook execution failed
           Archiving artifacts
           Recording test results
           Finished: FAILURE
          {code}
           

           Run in host:



           
          {code:java}
          // marcador de posición de código

          {code}
           

           
          Faild always

          Jenkins ver. 2.60.1 under Windows
          jenkins agent under linux:


          {code:java}
          ansible 2.7.0
            config file = /etc/ansible/ansible.cfg
            configured module search path = [u'/etc/ansible/my_modules']
            ansible python module location = /usr/lib/python2.7/site-packages/ansible
            executable location = /usr/bin/ansible
            python version = 2.7.5 (default, Aug 4 2017, 00:39:18) [GCC 4.8.5 20150623 (Red Hat 4.8.5-16)]
          {code}
           

          run from jenkins:

           
          {code:java}
          // code placeholder
          $ /usr/bin/ansible-playbook /etc/ansible/playbooks/tools/Check_hostname.yml -i host -f 5
          PLAY [all] *********************************************************************
          TASK [Gathering Facts] ********************************************************
          .......
          TASK [Comprobando nombre equipo] ***********************************************
          .....
          PLAY RECAP *********************************************************************
          .......
          w********p           : ok=0    changed=0    unreachable=1    failed=0   
          FATAL: command execution failedhudson.AbortException: Ansible playbook execution failed at org.jenkinsci.plugins.ansible.AnsiblePlaybookBuilder.perform(AnsiblePlaybookBuilder.java:236) at org.jenkinsci.plugins.ansible.AnsiblePlaybookBuilder.perform(AnsiblePlaybookBuilder.java:207) 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:735) 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:490) at hudson.model.Run.execute(Run.java:1735) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:97) at hudson.model.Executor.run(Executor.java:405)
          ERROR: Ansible playbook execution failed
           Archiving artifacts
           Recording test results
           Finished: FAILURE
          {code}
           

           Run in host:



           
          {code:java}
          // code placeholder
          $ /usr/bin/ansible-playbook /etc/ansible/playbooks/tools/Check_hostname.yml -i host -f 5
          PLAY [all] *********************************************************************
          TASK [Gathering Facts] ********************************************************
          .......
          TASK [Comprobando nombre equipo] ***********************************************
          .....
          PLAY RECAP *********************************************************************
          .......
          w********p           : ok=0    changed=0    unreachable=1    failed=0   
          #
          {code}
           

           
          piipel Nikita Nadezhin made changes -
          Comment [ UPD.

          !Скриншот от 2018-12-28 16-03-56.png! ]
          piipel Nikita Nadezhin made changes -
          Comment [ !Скриншот от 2018-12-28 16-03-56.jpg! ]
          piipel Nikita Nadezhin made changes -
          Priority Minor [ 4 ] Major [ 3 ]
          badies badie saliba made changes -
          Attachment image-2019-03-15-12-50-23-763.png [ 46419 ]
          sb595959 Stanton B made changes -
          Assignee Jean-Christophe Sirot [ sirot ] Stanton B [ sb595959 ]
          sb595959 Stanton B made changes -
          Assignee Stanton B [ sb595959 ] Jean-Christophe Sirot [ sirot ]

            People

            • Assignee:
              sirot Jean-Christophe Sirot
              Reporter:
              wowberk Josu Rodriguez
            • Votes:
              21 Vote for this issue
              Watchers:
              30 Start watching this issue

              Dates

              • Created:
                Updated: