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

FSTrigger Polling not working because of SecurityException

      Polling from a slave does not seem to work anymore because of a SecurityException (Probably JEP-200).

      ...

      Polling remotely on BuildSlave

      Trying to monitor the folder '//server/builds/libs'
      [ERROR] - Polling error...
      [ERROR] - Error message: java.io.IOException: remote file operation failed: C:\jenkins at hudson.remoting.Channel@ffce84:JNLP4-connect connection from atfkjb01/10.10.250.142:3413: java.io.IOException: Failed to deserialize response to UserRequest:org.jenkinsci.plugins.fstrigger.triggers.FolderContentTrigger$1@57dea97f: java.lang.SecurityException: Rejected: org.jenkinsci.lib.xtrigger.AbstractTrigger; see https://jenkins.io/redirect/class-filter/
      [ERROR] - Error cause: remote file operation failed: C:\jenkins at hudson.remoting.Channel@ffce84:JNLP4-connect connection from atfkjb01/10.10.250.142:3413: java.io.IOException: Failed to deserialize response to UserRequest:org.jenkinsci.plugins.fstrigger.triggers.FolderContentTrigger$1@57dea97f: java.lang.SecurityException: Rejected: org.jenkinsci.lib.xtrigger.AbstractTrigger; see https://jenkins.io/redirect/class-filter/

          [JENKINS-51211] FSTrigger Polling not working because of SecurityException

          chris_mh3 created issue -
          chris_mh3 made changes -
          Description Original: Polling from a slave does not seem to work anymore because of a SecurityException (Probably JEP-200).

           

          {{...}}{{Polling remotely on BuildSlave Trying to monitor the folder '//server/builds/libs' [ERROR] - Polling error... [ERROR] - Error message: java.io.IOException: remote file operation failed: C:\jenkins at hudson.remoting.Channel@ffce84:JNLP4-connect connection from atfkjb01/10.10.250.142:3413: java.io.IOException: Failed to deserialize response to UserRequest:org.jenkinsci.plugins.fstrigger.triggers.FolderContentTrigger$1@692f8122: java.lang.SecurityException: Rejected: org.jenkinsci.lib.xtrigger.AbstractTrigger; see }}{{[https://jenkins.io/redirect/class-filter/]}}{{[ERROR] - Error cause: remote file operation failed: C:\jenkins at hudson.remoting.Channel@ffce84:JNLP4-connect connection from atfkjb01/10.10.250.142:3413: java.io.IOException: Failed to deserialize response to UserRequest:org.jenkinsci.plugins.fstrigger.triggers.FolderContentTrigger$1@692f8122: java.lang.SecurityException: Rejected: org.jenkinsci.lib.xtrigger.AbstractTrigger; see }}{{[https://jenkins.io/redirect/class-filter/]}}
          New: Polling from a slave does not seem to work anymore because of a SecurityException (Probably JEP-200).

           

          {{...}}

          {{Polling remotely on BuildSlave }}

          {{Trying to monitor the folder '//server/builds/libs' }}
          {{[ERROR] - Polling error... }}
          {{[ERROR] - Error message: java.io.IOException: remote file operation failed: C:\jenkins at hudson.remoting.Channel@ffce84:JNLP4-connect connection from atfkjb01/10.10.250.142:3413: java.io.IOException: Failed to deserialize response to UserRequest:org.jenkinsci.plugins.fstrigger.triggers.FolderContentTrigger$1@692f8122: java.lang.SecurityException: Rejected: org.jenkinsci.lib.xtrigger.AbstractTrigger; see }}\{\{[https://jenkins.io/redirect/class-filter/
          ]}}{{[ERROR] - Error cause: remote file operation failed: C:\jenkins at hudson.remoting.Channel@ffce84:JNLP4-connect connection from atfkjb01/10.10.250.142:3413: java.io.IOException: Failed to deserialize response to UserRequest:org.jenkinsci.plugins.fstrigger.triggers.FolderContentTrigger$1@692f8122: java.lang.SecurityException: Rejected: org.jenkinsci.lib.xtrigger.AbstractTrigger; see }}\{\{[https://jenkins.io/redirect/class-filter/]}}
          chris_mh3 made changes -
          Description Original: Polling from a slave does not seem to work anymore because of a SecurityException (Probably JEP-200).

           

          {{...}}

          {{Polling remotely on BuildSlave }}

          {{Trying to monitor the folder '//server/builds/libs' }}
          {{[ERROR] - Polling error... }}
          {{[ERROR] - Error message: java.io.IOException: remote file operation failed: C:\jenkins at hudson.remoting.Channel@ffce84:JNLP4-connect connection from atfkjb01/10.10.250.142:3413: java.io.IOException: Failed to deserialize response to UserRequest:org.jenkinsci.plugins.fstrigger.triggers.FolderContentTrigger$1@692f8122: java.lang.SecurityException: Rejected: org.jenkinsci.lib.xtrigger.AbstractTrigger; see }}\{\{[https://jenkins.io/redirect/class-filter/
          ]}}{{[ERROR] - Error cause: remote file operation failed: C:\jenkins at hudson.remoting.Channel@ffce84:JNLP4-connect connection from atfkjb01/10.10.250.142:3413: java.io.IOException: Failed to deserialize response to UserRequest:org.jenkinsci.plugins.fstrigger.triggers.FolderContentTrigger$1@692f8122: java.lang.SecurityException: Rejected: org.jenkinsci.lib.xtrigger.AbstractTrigger; see }}\{\{[https://jenkins.io/redirect/class-filter/]}}
          New: Polling from a slave does not seem to work anymore because of a SecurityException (Probably JEP-200).

          ...

          Polling remotely on BuildSlave

          Trying to monitor the folder '//server/builds/libs'
          [ERROR] - Polling error...
          [ERROR] - Error message: java.io.IOException: remote file operation failed: C:\jenkins at hudson.remoting.Channel@ffce84:JNLP4-connect connection from atfkjb01/10.10.250.142:3413: java.io.IOException: Failed to deserialize response to UserRequest:org.jenkinsci.plugins.fstrigger.triggers.FolderContentTrigger$1@57dea97f: java.lang.SecurityException: Rejected: org.jenkinsci.lib.xtrigger.AbstractTrigger; see https://jenkins.io/redirect/class-filter/
          [ERROR] - Error cause: remote file operation failed: C:\jenkins at hudson.remoting.Channel@ffce84:JNLP4-connect connection from atfkjb01/10.10.250.142:3413: java.io.IOException: Failed to deserialize response to UserRequest:org.jenkinsci.plugins.fstrigger.triggers.FolderContentTrigger$1@57dea97f: java.lang.SecurityException: Rejected: org.jenkinsci.lib.xtrigger.AbstractTrigger; see https://jenkins.io/redirect/class-filter/
          Oleg Nenashev made changes -
          Assignee Original: Gregory Boissinot [ gbois ]

          Oleg Nenashev added a comment -

          I confirm the issue. Ideally XTrigger Lib should be refactored to the plugin so that the classes get whitelisted automatically. CC colmelvin who was considering taking ownership of the lib.

          I will add the issue to https://wiki.jenkins.io/display/JENKINS/Plugins+affected+by+fix+for+JEP-200, but I have no plans to work on it so far

          Oleg Nenashev added a comment - I confirm the issue. Ideally XTrigger Lib should be refactored to the plugin so that the classes get whitelisted automatically. CC colmelvin who was considering taking ownership of the lib. I will add the issue to https://wiki.jenkins.io/display/JENKINS/Plugins+affected+by+fix+for+JEP-200 , but I have no plans to work on it so far
          Oleg Nenashev made changes -
          Labels Original: JEP-200 New: JEP-200 xtrigger-lib
          Oleg Nenashev made changes -
          Component/s New: xtrigger-plugin [ 15907 ]
          Oleg Nenashev made changes -
          Link New: This issue blocks JENKINS-51728 [ JENKINS-51728 ]

          Eduard Albach added a comment -

          Is there a workaround for this problem?

          Eduard Albach added a comment - Is there a workaround for this problem?

          Oleg Nenashev added a comment -

          Not that I know of. Somebody has to fix the plugin

           

          Oleg Nenashev added a comment - Not that I know of. Somebody has to fix the plugin  

            Unassigned Unassigned
            chris_mh3 chris_mh3
            Votes:
            7 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated: