• Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • Windows Server 2012R2
      Jenkins v2.103
      Publish Over CIFS v0.6

      Since the latest Jenkins updates -

      1. Build get stuck when it starts a "Publish over CIFS" build step (I need to kill the Jenkins service to make it stop) - EDIT 2018-02-15 - This is fixed in v0.9 (JENKINS-49010)
      2. If I try to modify a job with a "Publish over CIFS" build step, the "CIFS Share" drop down list is empty even though the configuration looks fine under "Manage Jenkins" and I can successfully test those server entries -
        EDIT 2018-02-15 - This is still occurring in v0.9. 
        EDIT 2018-06-14 - This is fixed in LTS 2.107.3**

      I checked the error logs, but can't see any errors.

          [JENKINS-49211] Build gets stuck on Publish Over CIFS

          framal added a comment - - edited

          Same behaviour after upgrading Plugin from 0.3 to 0.5 and 0.6
          Already existing CIFS shares do not appear in dropdown box.
          After downgrading to 0.3 again it works

          (LTS 2.89.2 && LTS 2.89.3)

          framal added a comment - - edited Same behaviour after upgrading Plugin from 0.3 to 0.5 and 0.6 Already existing CIFS shares do not appear in dropdown box. After downgrading to 0.3 again it works (LTS 2.89.2 && LTS 2.89.3)

          Ken Rachynski added a comment -

          I am also on LTS 2.89.3 and did an upgrade on January 26 from 0.5 to 0.6. Noticing the same behaviour.

          I am copying four files from my job to the network share. The first one gets it's name written in the share but no data. Not sure what else to include.

          Ken Rachynski added a comment - I am also on LTS 2.89.3 and did an upgrade on January 26 from 0.5 to 0.6. Noticing the same behaviour. I am copying four files from my job to the network share. The first one gets it's name written in the share but no data. Not sure what else to include.

          We've observed the same as described by krachynski.
          No errors/warnings in the logs.

          In case it is relevant or helps to reproduce the issue we are copying the following directory structure:

          • topdir
            • dir1
              • file1
              • file2
              • file3
              • ...
            • dir2
              • file1
              • file2
              • file3
              • ...

          Topdir and dir1 get created. file1 also but with zero size and the job hangs at this point until it's stopped.

          Downgrade to 0.5 solved the issue.

          Bernhard Miklautz added a comment - We've observed the same as described by krachynski . No errors/warnings in the logs. In case it is relevant or helps to reproduce the issue we are copying the following directory structure: topdir dir1 file1 file2 file3 ... dir2 file1 file2 file3 ... Topdir and dir1 get created. file1 also but with zero size and the job hangs at this point until it's stopped. Downgrade to 0.5 solved the issue.

          Ken Rachynski added a comment -

          I did have a chance to speak with one of the updaters on IRC and he acknowledged this issue but is currently working on security tasks. The workaround for now is to downgrade.

          Ken Rachynski added a comment - I did have a chance to speak with one of the updaters on IRC and he acknowledged this issue but is currently working on security tasks. The workaround for now is to downgrade.

          Matt Phillips added a comment -

          v0.9 was just released, so I've updated and re-tested

          1. #1 in my original description is now fixed (in JENKINS-49010)
          2. #2 is still a problem - If I try to modify a job with a "Publish over CIFS" build step, the "CIFS Share" drop down list is empty even though the configuration looks fine under "Manage Jenkins" and I can successfully test those server entries

          Matt Phillips added a comment - v0.9 was just released, so I've updated and re-tested #1 in my original description is now fixed (in  JENKINS-49010 ) #2 is still a problem - If I try to modify a job with a "Publish over CIFS" build step, the "CIFS Share" drop down list is empty even though the configuration looks fine under "Manage Jenkins" and I can successfully test those server entries

           

          Hi, I confirm that v0.9 does not work, as indicated by mattphi.

          The down list is empty.

          It's only work in the post build task.

          Giancarlo Valeri added a comment -   Hi, I confirm that v0.9 does not work, as indicated by mattphi . The down list is empty. It's only work in the post build task.

          Hi, the reason for #2 is that the constructor of CifsHostConfiguration has an additional argument bufferSize which is of primitive type int.

          Tobias Getrost added a comment - Hi, the reason for #2 is that the constructor of CifsHostConfiguration has an additional argument bufferSize which is of primitive type int .

          same problem #2 under v0.9 here

          Eric Lemanissier added a comment - same problem #2 under v0.9 here

          For case #2 there is another issue reported, JENKINS-48551

          Also happens to me, on Jenkins v2.89.3, Publish Over CIFS v0.6 and v0.5 (tried downgrading)

          Michael Drygola added a comment - For case #2 there is another issue reported, JENKINS-48551 Also happens to me, on Jenkins v2.89.3, Publish Over CIFS v0.6 and v0.5 (tried downgrading)

          Code changed in jenkins
          User: Alex Earl
          Path:
          src/main/java/jenkins/plugins/publish_over_cifs/CifsBuilderPlugin.java
          http://jenkins-ci.org/commit/publish-over-cifs-plugin/7fe5315e680c671604272ab62af350b4b3cedb03
          Log:
          Merge pull request #9 from Skosnowich/bugfix/JENKINS-49211

          fix empty "CIFS Share" drop down list for build step (JENKINS-49211)

          Compare: https://github.com/jenkinsci/publish-over-cifs-plugin/compare/802515853dec...7fe5315e680c

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Alex Earl Path: src/main/java/jenkins/plugins/publish_over_cifs/CifsBuilderPlugin.java http://jenkins-ci.org/commit/publish-over-cifs-plugin/7fe5315e680c671604272ab62af350b4b3cedb03 Log: Merge pull request #9 from Skosnowich/bugfix/ JENKINS-49211 fix empty "CIFS Share" drop down list for build step ( JENKINS-49211 ) Compare: https://github.com/jenkinsci/publish-over-cifs-plugin/compare/802515853dec...7fe5315e680c

          Chris Fraser added a comment -

          I am still seeing this issue with Jenkins ver. 2.107.3 and Publish over CIFS 0.10

          Is this still in process of being fixed?

          Chris Fraser added a comment - I am still seeing this issue with Jenkins ver. 2.107.3  and Publish over CIFS 0.10 Is this still in process of being fixed?

          Ken Rachynski added a comment -

          This issue has been marked as resolved and several code merges went into 0.10. You might have to add more detail to what you're seeing. I know I haven't seen anything since 0.10 that halts my builds without an explicit error message that can be posted as a separate issue from this one.

           

          Ken Rachynski added a comment - This issue has been marked as resolved and several code merges went into 0.10. You might have to add more detail to what you're seeing. I know I haven't seen anything since 0.10 that halts my builds without an explicit error message that can be posted as a separate issue from this one.  

          Chris Fraser added a comment -

          Not sure if this helps, but this is what I get when trying to configure promotion. Under regular build actions it works fine, when adding the send to cifs promotion action I get the /NaN 404's in developer console. Let me know if you need any other info.

          Chris Fraser added a comment - Not sure if this helps, but this is what I get when trying to configure promotion. Under regular build actions it works fine, when adding the send to cifs promotion action I get the /NaN 404's in developer console. Let me know if you need any other info.

          Alex Earl added a comment -

          cfraser I'm not exactly sure what your issue is. Is the drop down empty?

          Alex Earl added a comment - cfraser I'm not exactly sure what your issue is. Is the drop down empty?

          Chris Fraser added a comment - - edited

          slide_o_mix The settings for the "Send build artifacts to a windows share"  do not appear correctly when selected as a promotion action (they work fine as a normal build step). All of the dropdowns are empty and there are also no labels beside each text field, as well as a link titled 'ERROR' which sends me to [http://my_jenkins_url/job/my_job/NaN
          ]
          Screen Shot 2018-05-30 at 1.26.39 PM.png shows what this looks like.

          Chris Fraser added a comment - - edited slide_o_mix The settings for the "Send build artifacts to a windows share"  do not appear correctly when selected as a promotion action (they work fine as a normal build step). All of the dropdowns are empty and there are also no labels beside each text field, as well as a link titled 'ERROR' which sends me to [http://my_jenkins_url/job/my_job/NaN ] Screen Shot 2018-05-30 at 1.26.39 PM.png shows what this looks like.

          Alex Earl added a comment -

          Ok, sounds like a different issue to this one, so please open a new issue.

          Alex Earl added a comment - Ok, sounds like a different issue to this one, so please open a new issue.

          For your information, all publish-over-cifs component type JENKINS issues related to the Publish Over CIFS plugin have been transferred to Github: https://github.com/jenkinsci/publish-over-cifs-plugin/issues

          Here is the direct link to this issue in Github: https://github.com/jenkinsci/publish-over-cifs-plugin/issues/78
          And here is the link to a search for related issues: https://github.com/jenkinsci/publish-over-cifs-plugin/issues?q=%22JENKINS-49211%22

          (Note: this is an automated bulk comment)

          Gavin McDonald added a comment - For your information, all publish-over-cifs component type JENKINS issues related to the Publish Over CIFS plugin have been transferred to Github: https://github.com/jenkinsci/publish-over-cifs-plugin/issues Here is the direct link to this issue in Github: https://github.com/jenkinsci/publish-over-cifs-plugin/issues/78 And here is the link to a search for related issues: https://github.com/jenkinsci/publish-over-cifs-plugin/issues?q=%22JENKINS-49211%22 (Note: this is an automated bulk comment)

            slide_o_mix Alex Earl
            mattphi Matt Phillips
            Votes:
            4 Vote for this issue
            Watchers:
            15 Start watching this issue

              Created:
              Updated:
              Resolved: