Quantcast

[JIRA] (JENKINS-12176) Unable to delete a job that has a fstrigger

classic Classic list List threaded Threaded
24 messages Options
12
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-12176) Unable to delete a job that has a fstrigger

JIRA noreply@jenkins-ci.org
Jim Searle created JENKINS-12176:
------------------------------------

             Summary: Unable to delete a job that has a fstrigger
                 Key: JENKINS-12176
                 URL: https://issues.jenkins-ci.org/browse/JENKINS-12176
             Project: Jenkins
          Issue Type: Bug
          Components: fstrigger
            Reporter: Jim Searle
            Assignee: gbois


I have a fstrigger that polls every minute, and most of the time when I try to delete the job I get an error:
java.io.IOException: Unable to delete /some/path/.nfs00000000018e26ca00236d2f

so I look at that file, and it contains the fstrigger polling log.

If I disable the fstrigger, then I am able to delete the job.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-12176) Unable to delete a job that has a fstrigger

JIRA noreply@jenkins-ci.org

     [ https://issues.jenkins-ci.org/browse/JENKINS-12176?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on JENKINS-12176 started by gbois.

> Unable to delete a job that has a fstrigger
> -------------------------------------------
>
>                 Key: JENKINS-12176
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-12176
>             Project: Jenkins
>          Issue Type: Bug
>          Components: fstrigger
>            Reporter: Jim Searle
>            Assignee: gbois
>
> I have a fstrigger that polls every minute, and most of the time when I try to delete the job I get an error:
> java.io.IOException: Unable to delete /some/path/.nfs00000000018e26ca00236d2f
> so I look at that file, and it contains the fstrigger polling log.
> If I disable the fstrigger, then I am able to delete the job.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-12176) Unable to delete a job that has a fstrigger

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

    [ https://issues.jenkins-ci.org/browse/JENKINS-12176?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=157035#comment-157035 ]

gbois commented on JENKINS-12176:
---------------------------------

Thanks for raising this issue.
Could you give your Jenkins core version and the fstrigger Jenkins plugin version you are using.

Additionally, is '/some/path' a directory polled by the FSTrigger plugin?
               

> Unable to delete a job that has a fstrigger
> -------------------------------------------
>
>                 Key: JENKINS-12176
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-12176
>             Project: Jenkins
>          Issue Type: Bug
>          Components: fstrigger
>            Reporter: Jim Searle
>            Assignee: gbois
>
> I have a fstrigger that polls every minute, and most of the time when I try to delete the job I get an error:
> java.io.IOException: Unable to delete /some/path/.nfs00000000018e26ca00236d2f
> so I look at that file, and it contains the fstrigger polling log.
> If I disable the fstrigger, then I am able to delete the job.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-12176) Unable to delete a job that has a fstrigger

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

    [ https://issues.jenkins-ci.org/browse/JENKINS-12176?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=157055#comment-157055 ]

Jim Searle commented on JENKINS-12176:
--------------------------------------

Jenkins version 1.436
The /some/path is /JENKINS_HOME/JOB_NAME directory.

thanks for looking into it.

               

> Unable to delete a job that has a fstrigger
> -------------------------------------------
>
>                 Key: JENKINS-12176
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-12176
>             Project: Jenkins
>          Issue Type: Bug
>          Components: fstrigger
>            Reporter: Jim Searle
>            Assignee: gbois
>
> I have a fstrigger that polls every minute, and most of the time when I try to delete the job I get an error:
> java.io.IOException: Unable to delete /some/path/.nfs00000000018e26ca00236d2f
> so I look at that file, and it contains the fstrigger polling log.
> If I disable the fstrigger, then I am able to delete the job.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-12176) Unable to delete a job that has a fstrigger

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

    [ https://issues.jenkins-ci.org/browse/JENKINS-12176?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=157055#comment-157055 ]

Jim Searle edited comment on JENKINS-12176 at 12/22/11 12:26 AM:
-----------------------------------------------------------------

Jenkins version 1.436
fstrigger version 1.18
The /some/path is /JENKINS_HOME/JOB_NAME directory.

thanks for looking into it.

               
      was (Author: jimsearle):
    Jenkins version 1.436
The /some/path is /JENKINS_HOME/JOB_NAME directory.

thanks for looking into it.

                 

> Unable to delete a job that has a fstrigger
> -------------------------------------------
>
>                 Key: JENKINS-12176
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-12176
>             Project: Jenkins
>          Issue Type: Bug
>          Components: fstrigger
>            Reporter: Jim Searle
>            Assignee: gbois
>
> I have a fstrigger that polls every minute, and most of the time when I try to delete the job I get an error:
> java.io.IOException: Unable to delete /some/path/.nfs00000000018e26ca00236d2f
> so I look at that file, and it contains the fstrigger polling log.
> If I disable the fstrigger, then I am able to delete the job.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-12176) Unable to delete a job that has a fstrigger

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

    [ https://issues.jenkins-ci.org/browse/JENKINS-12176?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=157158#comment-157158 ]

gbois commented on JENKINS-12176:
---------------------------------

Your monitored folder is the job folder itself. Therefore when you delete the job, it must not have left active processes on this folder.
I think it should be fixed with FSTrigger 0.21. Before this version, there were left processes because they were not properly closed.
Could you upgrade the plugin and test it?


               

> Unable to delete a job that has a fstrigger
> -------------------------------------------
>
>                 Key: JENKINS-12176
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-12176
>             Project: Jenkins
>          Issue Type: Bug
>          Components: fstrigger
>            Reporter: Jim Searle
>            Assignee: gbois
>
> I have a fstrigger that polls every minute, and most of the time when I try to delete the job I get an error:
> java.io.IOException: Unable to delete /some/path/.nfs00000000018e26ca00236d2f
> so I look at that file, and it contains the fstrigger polling log.
> If I disable the fstrigger, then I am able to delete the job.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-12176) Unable to delete a job that has a fstrigger

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

    [ https://issues.jenkins-ci.org/browse/JENKINS-12176?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=157161#comment-157161 ]

Jim Searle commented on JENKINS-12176:
--------------------------------------

The monitored folder is not the job folder, it is a different path.  The file that is locked is the trigger-polling-files.log file in the job workspace.

But, I will try the 0.21 to see if that solves the problem.

               

> Unable to delete a job that has a fstrigger
> -------------------------------------------
>
>                 Key: JENKINS-12176
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-12176
>             Project: Jenkins
>          Issue Type: Bug
>          Components: fstrigger
>            Reporter: Jim Searle
>            Assignee: gbois
>
> I have a fstrigger that polls every minute, and most of the time when I try to delete the job I get an error:
> java.io.IOException: Unable to delete /some/path/.nfs00000000018e26ca00236d2f
> so I look at that file, and it contains the fstrigger polling log.
> If I disable the fstrigger, then I am able to delete the job.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-12176) Unable to delete a job that has a fstrigger

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

     [ https://issues.jenkins-ci.org/browse/JENKINS-12176?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

gbois resolved JENKINS-12176.
-----------------------------

    Resolution: Fixed

Should be fixed.
The issue was certainly of the same reasons of JENKINS-11907 for an another XTrigger plugin.
               

> Unable to delete a job that has a fstrigger
> -------------------------------------------
>
>                 Key: JENKINS-12176
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-12176
>             Project: Jenkins
>          Issue Type: Bug
>          Components: fstrigger
>            Reporter: Jim Searle
>            Assignee: gbois
>
> I have a fstrigger that polls every minute, and most of the time when I try to delete the job I get an error:
> java.io.IOException: Unable to delete /some/path/.nfs00000000018e26ca00236d2f
> so I look at that file, and it contains the fstrigger polling log.
> If I disable the fstrigger, then I am able to delete the job.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-12176) Unable to delete a job that has a fstrigger

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

     [ https://issues.jenkins-ci.org/browse/JENKINS-12176?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jim Searle reopened JENKINS-12176:
----------------------------------


We are debugging a "too many open files" issue, and following the instructions here: https://wiki.jenkins-ci.org/display/JENKINS/I'm+getting+too+many+open+files+error

I do a: ls -la /proc/2141/fd
on our jenkins machine, and it looks like every single job that uses the fstrigger keeps it's log file open all the time:
/<jenkins_home>/jobs/<job_name>/trigger-polling-files.log

               

> Unable to delete a job that has a fstrigger
> -------------------------------------------
>
>                 Key: JENKINS-12176
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-12176
>             Project: Jenkins
>          Issue Type: Bug
>          Components: fstrigger
>            Reporter: Jim Searle
>            Assignee: Gregory Boissinot
>
> I have a fstrigger that polls every minute, and most of the time when I try to delete the job I get an error:
> java.io.IOException: Unable to delete /some/path/.nfs00000000018e26ca00236d2f
> so I look at that file, and it contains the fstrigger polling log.
> If I disable the fstrigger, then I am able to delete the job.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-12176) Unable to delete a job that has a fstrigger

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

     [ https://issues.jenkins-ci.org/browse/JENKINS-12176?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gregory Boissinot closed JENKINS-12176.
---------------------------------------

    Resolution: Cannot Reproduce

I tested. I cannot reproduce.
Could you check with a clean environment and the last version.
Thanks
               

> Unable to delete a job that has a fstrigger
> -------------------------------------------
>
>                 Key: JENKINS-12176
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-12176
>             Project: Jenkins
>          Issue Type: Bug
>          Components: fstrigger
>            Reporter: Jim Searle
>            Assignee: Gregory Boissinot
>
> I have a fstrigger that polls every minute, and most of the time when I try to delete the job I get an error:
> java.io.IOException: Unable to delete /some/path/.nfs00000000018e26ca00236d2f
> so I look at that file, and it contains the fstrigger polling log.
> If I disable the fstrigger, then I am able to delete the job.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-12176) Unable to delete a job that has a fstrigger

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

     [ https://issues.jenkins-ci.org/browse/JENKINS-12176?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jim Searle reopened JENKINS-12176:
----------------------------------


The file handles plugin reports that it is coming from xtrigger:


#4 /projects/brcm/bcg/jenkins/jobs/chip-import-cycloneA0-mem-memory_isb/trigger-polling-files.log by thread:Jenkins cron thread on Mon Jun 04 17:25:00 PDT 2012
        at java.io.FileOutputStream.<init>(FileOutputStream.java:181)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
        at hudson.util.StreamTaskListener.<init>(StreamTaskListener.java:97)
        at hudson.util.StreamTaskListener.<init>(StreamTaskListener.java:90)
        at org.jenkinsci.lib.xtrigger.AbstractTrigger.run(AbstractTrigger.java:130)
        at hudson.triggers.Trigger.checkTriggers(Trigger.java:259)
        at hudson.triggers.Trigger$Cron.doRun(Trigger.java:207)
        at hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:54)
        at java.util.TimerThread.mainLoop(Timer.java:512)
        at java.util.TimerThread.run(Timer.java:462)

               

> Unable to delete a job that has a fstrigger
> -------------------------------------------
>
>                 Key: JENKINS-12176
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-12176
>             Project: Jenkins
>          Issue Type: Bug
>          Components: fstrigger
>            Reporter: Jim Searle
>            Assignee: Gregory Boissinot
>
> I have a fstrigger that polls every minute, and most of the time when I try to delete the job I get an error:
> java.io.IOException: Unable to delete /some/path/.nfs00000000018e26ca00236d2f
> so I look at that file, and it contains the fstrigger polling log.
> If I disable the fstrigger, then I am able to delete the job.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-12176) Unable to delete a job that has a fstrigger

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

     [ https://issues.jenkins-ci.org/browse/JENKINS-12176?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jim Searle updated JENKINS-12176:
---------------------------------

    Component/s: xtrigger
                     (was: fstrigger)
   

> Unable to delete a job that has a fstrigger
> -------------------------------------------
>
>                 Key: JENKINS-12176
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-12176
>             Project: Jenkins
>          Issue Type: Bug
>          Components: xtrigger
>            Reporter: Jim Searle
>            Assignee: Gregory Boissinot
>
> I have a fstrigger that polls every minute, and most of the time when I try to delete the job I get an error:
> java.io.IOException: Unable to delete /some/path/.nfs00000000018e26ca00236d2f
> so I look at that file, and it contains the fstrigger polling log.
> If I disable the fstrigger, then I am able to delete the job.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-12176) Unable to delete a job that has a fstrigger

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

    [ https://issues.jenkins-ci.org/browse/JENKINS-12176?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=163515#comment-163515 ]

Jim Searle edited comment on JENKINS-12176 at 6/5/12 7:57 PM:
--------------------------------------------------------------

The file handles plugin reports that it is coming from xtrigger:


#4 $JENKINS_HOM/jobs/$JOB_NAME/trigger-polling-files.log by thread:Jenkins cron thread on Mon Jun 04 17:25:00 PDT 2012
        at java.io.FileOutputStream.<init>(FileOutputStream.java:181)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
        at hudson.util.StreamTaskListener.<init>(StreamTaskListener.java:97)
        at hudson.util.StreamTaskListener.<init>(StreamTaskListener.java:90)
        at org.jenkinsci.lib.xtrigger.AbstractTrigger.run(AbstractTrigger.java:130)
        at hudson.triggers.Trigger.checkTriggers(Trigger.java:259)
        at hudson.triggers.Trigger$Cron.doRun(Trigger.java:207)
        at hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:54)
        at java.util.TimerThread.mainLoop(Timer.java:512)
        at java.util.TimerThread.run(Timer.java:462)

               
      was (Author: jimsearle):
    The file handles plugin reports that it is coming from xtrigger:


#4 /projects/brcm/bcg/jenkins/jobs/chip-import-cycloneA0-mem-memory_isb/trigger-polling-files.log by thread:Jenkins cron thread on Mon Jun 04 17:25:00 PDT 2012
        at java.io.FileOutputStream.<init>(FileOutputStream.java:181)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
        at hudson.util.StreamTaskListener.<init>(StreamTaskListener.java:97)
        at hudson.util.StreamTaskListener.<init>(StreamTaskListener.java:90)
        at org.jenkinsci.lib.xtrigger.AbstractTrigger.run(AbstractTrigger.java:130)
        at hudson.triggers.Trigger.checkTriggers(Trigger.java:259)
        at hudson.triggers.Trigger$Cron.doRun(Trigger.java:207)
        at hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:54)
        at java.util.TimerThread.mainLoop(Timer.java:512)
        at java.util.TimerThread.run(Timer.java:462)

                 

> Unable to delete a job that has a fstrigger
> -------------------------------------------
>
>                 Key: JENKINS-12176
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-12176
>             Project: Jenkins
>          Issue Type: Bug
>          Components: xtrigger
>            Reporter: Jim Searle
>            Assignee: Gregory Boissinot
>
> I have a fstrigger that polls every minute, and most of the time when I try to delete the job I get an error:
> java.io.IOException: Unable to delete /some/path/.nfs00000000018e26ca00236d2f
> so I look at that file, and it contains the fstrigger polling log.
> If I disable the fstrigger, then I am able to delete the job.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-12176) Unable to delete a job that has a fstrigger

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

    [ https://issues.jenkins-ci.org/browse/JENKINS-12176?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=163518#comment-163518 ]

Gregory Boissinot commented on JENKINS-12176:
---------------------------------------------

I'm afraid I can't reproduce.
I did in my environment lsof | grep 'trigger-polling-folder.log' and nothing appends.

Maybe it occurs for special use cases when there are problems.
Do you have other input in order I try to reproduce it?
               

> Unable to delete a job that has a fstrigger
> -------------------------------------------
>
>                 Key: JENKINS-12176
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-12176
>             Project: Jenkins
>          Issue Type: Bug
>          Components: xtrigger
>            Reporter: Jim Searle
>            Assignee: Gregory Boissinot
>
> I have a fstrigger that polls every minute, and most of the time when I try to delete the job I get an error:
> java.io.IOException: Unable to delete /some/path/.nfs00000000018e26ca00236d2f
> so I look at that file, and it contains the fstrigger polling log.
> If I disable the fstrigger, then I am able to delete the job.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-12176) Unable to delete a job that has a fstrigger

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

     [ https://issues.jenkins-ci.org/browse/JENKINS-12176?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gregory Boissinot updated JENKINS-12176:
----------------------------------------

    Component/s: fstrigger
                     (was: xtrigger)
   

> Unable to delete a job that has a fstrigger
> -------------------------------------------
>
>                 Key: JENKINS-12176
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-12176
>             Project: Jenkins
>          Issue Type: Bug
>          Components: fstrigger
>            Reporter: Jim Searle
>            Assignee: Gregory Boissinot
>
> I have a fstrigger that polls every minute, and most of the time when I try to delete the job I get an error:
> java.io.IOException: Unable to delete /some/path/.nfs00000000018e26ca00236d2f
> so I look at that file, and it contains the fstrigger polling log.
> If I disable the fstrigger, then I am able to delete the job.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-12176) Unable to delete a job that has a fstrigger

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

    [ https://issues.jenkins-ci.org/browse/JENKINS-12176?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=163523#comment-163523 ]

Jim Searle commented on JENKINS-12176:
--------------------------------------


What about:
lsof | grep 'trigger-polling-files.log'
But that doesn't show anything for me either...

But this currently shows 603 lines for me:
ls -la /proc/5498/fd | grep trigger-polling-files.log
where 5498 is the jenkins process id, and I don't have 603 jobs using fstrigger.  I see a duplicates for some jobs.

Actually, I was looking at the duplicates, I didn't look at every one, but those that I did look at, the job is disabled!
The trigger-polling-files.log says: "The job is not buildable. Activate it to poll again."
Hopefully that will help you debug?

Sorry my responses are slow, but for some reason jira is not notifying me of comments, so I have to keep checking.

               

> Unable to delete a job that has a fstrigger
> -------------------------------------------
>
>                 Key: JENKINS-12176
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-12176
>             Project: Jenkins
>          Issue Type: Bug
>          Components: fstrigger
>            Reporter: Jim Searle
>            Assignee: Gregory Boissinot
>
> I have a fstrigger that polls every minute, and most of the time when I try to delete the job I get an error:
> java.io.IOException: Unable to delete /some/path/.nfs00000000018e26ca00236d2f
> so I look at that file, and it contains the fstrigger polling log.
> If I disable the fstrigger, then I am able to delete the job.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-12176) Unable to delete a job that has a fstrigger

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

    [ https://issues.jenkins-ci.org/browse/JENKINS-12176?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=163527#comment-163527 ]

Gregory Boissinot commented on JENKINS-12176:
---------------------------------------------

I am on a MacOSX system.
What is /proc?
               

> Unable to delete a job that has a fstrigger
> -------------------------------------------
>
>                 Key: JENKINS-12176
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-12176
>             Project: Jenkins
>          Issue Type: Bug
>          Components: fstrigger
>            Reporter: Jim Searle
>            Assignee: Gregory Boissinot
>
> I have a fstrigger that polls every minute, and most of the time when I try to delete the job I get an error:
> java.io.IOException: Unable to delete /some/path/.nfs00000000018e26ca00236d2f
> so I look at that file, and it contains the fstrigger polling log.
> If I disable the fstrigger, then I am able to delete the job.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-12176) Unable to delete a job that has a fstrigger

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

    [ https://issues.jenkins-ci.org/browse/JENKINS-12176?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=163528#comment-163528 ]

Jim Searle commented on JENKINS-12176:
--------------------------------------

It's a UNIX thing, there is a directory in /proc for each process id, and /proc/<pid>/fd contains a list of all files opened by that <pid>.  Sorry, I don't know OSX at all...

I was following the instructions here:
https://wiki.jenkins-ci.org/display/JENKINS/I'm+getting+too+many+open+files+error

Can you see anything in the code where if a job is disabled it might not close the file?

               

> Unable to delete a job that has a fstrigger
> -------------------------------------------
>
>                 Key: JENKINS-12176
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-12176
>             Project: Jenkins
>          Issue Type: Bug
>          Components: fstrigger
>            Reporter: Jim Searle
>            Assignee: Gregory Boissinot
>
> I have a fstrigger that polls every minute, and most of the time when I try to delete the job I get an error:
> java.io.IOException: Unable to delete /some/path/.nfs00000000018e26ca00236d2f
> so I look at that file, and it contains the fstrigger polling log.
> If I disable the fstrigger, then I am able to delete the job.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-12176) Unable to delete a job that has a fstrigger

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

    [ https://issues.jenkins-ci.org/browse/JENKINS-12176?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=163673#comment-163673 ]

Jim Searle commented on JENKINS-12176:
--------------------------------------

Any clue what is going on here?
               

> Unable to delete a job that has a fstrigger
> -------------------------------------------
>
>                 Key: JENKINS-12176
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-12176
>             Project: Jenkins
>          Issue Type: Bug
>          Components: fstrigger
>            Reporter: Jim Searle
>            Assignee: Gregory Boissinot
>
> I have a fstrigger that polls every minute, and most of the time when I try to delete the job I get an error:
> java.io.IOException: Unable to delete /some/path/.nfs00000000018e26ca00236d2f
> so I look at that file, and it contains the fstrigger polling log.
> If I disable the fstrigger, then I am able to delete the job.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-12176) Unable to delete a job that has a fstrigger

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

    [ https://issues.jenkins-ci.org/browse/JENKINS-12176?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=163701#comment-163701 ]

Gregory Boissinot commented on JENKINS-12176:
---------------------------------------------

I tested with the File Leak Detector Plugin and nothing appends in my environment.
I've got not way to reproduce and anyway to fix it.
Feel free to look at the source code if you have any Java skills.
               

> Unable to delete a job that has a fstrigger
> -------------------------------------------
>
>                 Key: JENKINS-12176
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-12176
>             Project: Jenkins
>          Issue Type: Bug
>          Components: fstrigger
>            Reporter: Jim Searle
>            Assignee: Gregory Boissinot
>
> I have a fstrigger that polls every minute, and most of the time when I try to delete the job I get an error:
> java.io.IOException: Unable to delete /some/path/.nfs00000000018e26ca00236d2f
> so I look at that file, and it contains the fstrigger polling log.
> If I disable the fstrigger, then I am able to delete the job.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
12
Loading...