-
Bug
-
Resolution: Unresolved
-
Blocker
-
None
-
Jenkins 2.277.3
-
Powered by SuggestiMate
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
Hi sijay ,
I've been unable to reproduce this locally, to start with, could you please detail:
- The exact steps (including project type) you followed to cause this behaviour
- Any errors or stacktrace seen in the Jenkins log when this occurs
Thanks,
Tony
Hi stealthdj
I am trying to clone one project (I think it is multijob: there are many build steps, svn clone and other steps) and include FSTrigger. After that Jenkins freezes.
In Jenkins logs I am getting below warning:
2021-05-18 19:56:53.237+0000 [id=25028] WARNING o.j.r.u.AnonymousClassWarnings#warn: Attempt to (de-)serialize anonymous class org.jenkinsci.lib.envinject.service.EnvVarsResolver$1 in file:/D:/Jenkins/plugins/fstrigger/WEB-INF/lib/envinject-lib-1.19.jar; see: https://jenkins.io/redirect/serialization-of-anonymous-classes/2021-05-18 19:56:53.237+0000 [id=25028] WARNING o.j.r.u.AnonymousClassWarnings#warn: Attempt to (de-)serialize anonymous class org.jenkinsci.lib.envinject.service.EnvVarsResolver$1 in file:/D:/Jenkins/plugins/fstrigger/WEB-INF/lib/envinject-lib-1.19.jar; see: https://jenkins.io/redirect/serialization-of-anonymous-classes/
I tried to create a new multi-job with only FSTrigger plugin enabled.
And got warning (with Jenkins freezing):
2021-05-18 20:12:28.299+0000 [id=224] WARNING o.j.r.u.AnonymousClassWarnings#warn: Attempt to (de-)serialize anonymous class org.jenkinsci.plugins.fstrigger.triggers.FolderContentTrigger$1 in file:/D:/Jenkins/plugins/fstrigger/WEB-INF/lib/fstrigger.jar; see: https://jenkins.io/redirect/serialization-of-anonymous-classes/2021-05-18 20:12:28.299+0000 [id=224] WARNING o.j.r.u.AnonymousClassWarnings#warn: Attempt to (de-)serialize anonymous class org.jenkinsci.plugins.fstrigger.triggers.FolderContentTrigger$1 in file:/D:/Jenkins/plugins/fstrigger/WEB-INF/lib/fstrigger.jar; see: https://jenkins.io/redirect/serialization-of-anonymous-classes/
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...
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
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
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
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."
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.
Hi stealthdj
How can i restrict the polling to run on master node only? Unfortunataly, i didn't find this setting.
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?
Hi stealthdj
Could you please take a look a new issue. If you need some info, please ping me there.
And sorry for foreng language on screenshot.
Thank you