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

Child job finishes with "SUCCESS" status even before copy-to-plugin finishes copying files from slave to master

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Major
    • Resolution: Fixed
    • copy-to-slave-plugin
    • None
    • Jenkins version - 1.523
      Master OS - Ubuntu 12.04
      Slave OS - Windows 7
      Copy To Slave Plugin - 1.4

    Description

      Scenario:

      I have jenkins installed (debian package) as master in Ubuntu, have 2 slaves for 32/64 bit Windows 7. I run some test cases in the slave windows OS' and use this plugin to get back the test case results to master.

      This is a multi configuration job and after child jobs (1 child job each for 2 slaves) are finished I publish combined HTML reports in the parent job.

      Now the problem that I face here is, the child job finishes with "SUCCESS" without waiting for the copy-to-plugin post build action to finish. So the HTML Publisher in the parent job fails as the files are not yet copied to the master.

      Note 1 : - Though the child job finishes, the copy-to-slave plugin continues to work and files are successfully copied to the master.

      Note 2 : - The child job finishes before the post build action only for copy-to-plugin, it waits till the post build actions are finished for other plugins.

      Attachments

        Issue Links

          Activity

            svvivek Vivekanand SV created issue -
            svvivek Vivekanand SV made changes -
            Field Original Value New Value
            Description Scenario:

            I have jenkins installed (debian package) as master in Ubuntu, have 2 slaves for 32/64 bit Windows 7. I run some test cases in the slave windows OS' and use the use this plugin to get back the files to master.

            This is a multi configuration job and after child jobs (1 child job each for 2 slaves) are finished I publish combined HTML reports in the parent job.

            Now the problem that I face here is, the child job finishes with "SUCCESS" without waiting for the copy-to-plugin post build action to finish. So the HTML Publisher in the parent job fails as the files are not yet copied to the master.

            *Note 1* : - Though the child job finishes, the copy-to-slave plugin continues to work and files are successfully copied to the master.

            *Note 2* : - The child job finishes before the post build action only for copy-to-plugin, it waits till the post build actions are finished for other plugins.
            Scenario:

            I have jenkins installed (debian package) as master in Ubuntu, have 2 slaves for 32/64 bit Windows 7. I run some test cases in the slave windows OS' and use this plugin to get back the test case results to master.

            This is a multi configuration job and after child jobs (1 child job each for 2 slaves) are finished I publish combined HTML reports in the parent job.

            Now the problem that I face here is, the child job finishes with "SUCCESS" without waiting for the copy-to-plugin post build action to finish. So the HTML Publisher in the parent job fails as the files are not yet copied to the master.

            *Note 1* : - Though the child job finishes, the copy-to-slave plugin continues to work and files are successfully copied to the master.

            *Note 2* : - The child job finishes before the post build action only for copy-to-plugin, it waits till the post build actions are finished for other plugins.
            svvivek Vivekanand SV made changes -
            Assignee Daniel Petisme [ danielpetisme ] Vivekanand SV [ svvivek ]
            svvivek Vivekanand SV made changes -
            Link This issue is related to JENKINS-16818 [ JENKINS-16818 ]
            svvivek Vivekanand SV made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            svvivek Vivekanand SV made changes -
            Resolution Fixed [ 1 ]
            Status In Progress [ 3 ] Resolved [ 5 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 150346 ] JNJira + In-Review [ 193480 ]

            People

              svvivek Vivekanand SV
              svvivek Vivekanand SV
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: