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

[FSTrigger] Jenkins Freezing after i'm trying to save settings

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Blocker Blocker
    • fstrigger-plugin
    • None
    • Jenkins 2.277.3

      Hello.

      New issue about FSTrigger.

      I am trying to create a multitask with fstrigger enabled and build steps.
      When I only enable FSTrigger it works fine. But when I try to create a new build step and save them together, I get an error in the screenshot.

      Also sometimes Jenkins freezes and I need to restart it.

      Jenkins 2.277.3
      FSTrigger 0.41

       

          [JENKINS-65652] [FSTrigger] Jenkins Freezing after i'm trying to save settings

          Tony Noble added a comment -

          Hi sijay ,

          Not having much luck replicating this one, unfortunately.

          Can you provide more detail?  Versions of the relevant plugins, plus a sample job config that fails (or screenshots of each step)?  Apologies for the requirement, but this one isn't showing for me so far...

           

          Tony Noble added a comment - Hi sijay , Not having much luck replicating this one, unfortunately. Can you provide more detail?  Versions of the relevant plugins, plus a sample job config that fails (or screenshots of each step)?  Apologies for the requirement, but this one isn't showing for me so far...  

          Sergei added a comment - - edited

          stealthdj

          Recorded the video for you. Please, take a look

          https://drive.google.com/file/d/1dY4tVF-7bVWhP6ErX2O2lOa4E7evTlMj/view

          Short story:

          1. I had restart Jenkins and showed you a clean error logs, without major issues
          2. Open Jenkins.
          3. Create a new item like as Free Configuration Mode
          4. Setup FSTrigger and try to save

           

          FSTrigger 0.41

          Jenkins 2.277.3

          EnvInject 2.4.0

           

          Sergei added a comment - - edited stealthdj Recorded the video for you. Please, take a look https://drive.google.com/file/d/1dY4tVF-7bVWhP6ErX2O2lOa4E7evTlMj/view Short story: I had restart Jenkins and showed you a clean error logs, without major issues Open Jenkins. Create a new item like as Free Configuration Mode Setup FSTrigger and try to save   FSTrigger 0.41 Jenkins 2.277.3 EnvInject 2.4.0  

          Tony Noble added a comment -

          Thanks sijay , hopefully that should be enough to pin this one down.

          Tony Noble added a comment - Thanks sijay , hopefully that should be enough to pin this one down.

          Tony Noble added a comment -

          sijay - the video was helpful, though I'm still not able to reproduce the issue.  I note that you're monitoring a network path though - could you also try:

          • Monitoring the contents of a local folder
          • Monitor the contents of a location you specified before, but using the drive identifier rather than the network location

          And let me know what results you see for those?

          The warning message you are seeing is just that, I think - a warning (and generated by the envinject-lib, which shouldn't have changed between releases)

          Thanks,

          Tony

          Tony Noble added a comment - sijay - the video was helpful, though I'm still not able to reproduce the issue.  I note that you're monitoring a network path though - could you also try: Monitoring the contents of a local folder Monitor the contents of a location you specified before, but using the drive identifier rather than the network location And let me know what results you see for those? The warning message you are seeing is just that, I think - a warning (and generated by the envinject-lib, which shouldn't have changed between releases) Thanks, Tony

          Sergei added a comment - - edited

          Hi stealthdj

          You're right. It works as expected, if i monitor a location using the drive identifier.

           

          But what about network location. Will it be work in next releases? If no, i think, this nuance should be noteced in readme.

           

          thanks for your kindness

          Sergei added a comment - - edited Hi  stealthdj You're right. It works as expected, if i monitor a location using the drive identifier.   But what about network location. Will it be work in next releases? If no, i think, this nuance should be noteced in readme.   thanks for your kindness

          Sergei added a comment - - edited

          Wait...

          It works, but i'm getting the message below:

          Trying to monitor the folder 'S:\Builds\Branches\trunk\consultdllrelease'
          The directory 'S:\Builds\Branches\trunk\consultdllrelease' doesn't exist.

          It is network folder.

          But if i save the job config file with this location: "\\KC.KPlus\EtalonS\Builds\Branches\trunk\consultdllrelease\"

          FSTrigger trying to monitor, but after it show me next mess:

          "Polling has not run yet."

           

          Sergei added a comment - - edited Wait... It works, but i'm getting the message below: Trying to monitor the folder 'S:\Builds\Branches\trunk\consultdllrelease' The directory 'S:\Builds\Branches\trunk\consultdllrelease' doesn't exist. It is network folder. But if i save the job config file with this location: "\\KC.KPlus\EtalonS\Builds\Branches\trunk\consultdllrelease\" FSTrigger trying to monitor, but after it show me next mess: "Polling has not run yet."  

          Tony Noble added a comment -

          Hi sijay

          Can you restrict the polling to run on master node only and see if that makes a difference to either of the two methods?

          Apologies for the constant queries - I don't currently have a windows machine with required network setup to test this on.

          Tony Noble added a comment - Hi sijay Can you restrict the polling to run on master node only and see if that makes a difference to either of the two methods? Apologies for the constant queries - I don't currently have a windows machine with required network setup to test this on.

          Sergei added a comment -

          Hi stealthdj

          How can i restrict the polling to run on master node only? Unfortunataly, i didn't find this setting.

          Sergei added a comment - Hi stealthdj How can i restrict the polling to run on master node only? Unfortunataly, i didn't find this setting.

          Sergei added a comment -

          Hi stealthdj

          I can't to choose specific slave for monitor folder by FSTrigger. It is choosing automatically.

          i tried limiting the use of slaves thru Jenkins nodes configuration, but it didn't help.
          What else could i do?

          Sergei added a comment - Hi  stealthdj I can't to choose specific slave for monitor folder by FSTrigger. It is choosing automatically. i tried limiting the use of slaves thru Jenkins nodes configuration, but it didn't help. What else could i do?

          I have exactly the same problem.

          Sergey Beketov added a comment - I have exactly the same problem.

            stealthdj Tony Noble
            sijay Sergei
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: