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

BFA fails to catch pipeline related exceptions

    XMLWordPrintable

    Details

    • Similar Issues:
    • Released As:
      1.23.0-beta-1

      Description

      Here is an interesting bug related to BFA and pipelines.

      When the job runs BFA fails to spot the exception as this exceptions seems to reach stdout after BFA runs.

      If I force the BFA to rescan the builds it will spot it.

      I find this behaviour confusing, can we fix it?

       

      [Pipeline] }
      [Pipeline] // timestamps
      [Pipeline] End of Pipeline
      [BFA] Scanning build for known causes...
      [BFA] No failure causes found
      [BFA] Done. 0s
      org.jenkinsci.plugins.scriptsecurity.sandbox.RejectedAccessException: Scripts not permitted to use method groovy.lang.GroovyObject invokeMethod java.lang.String java.lang.Object (org.jenkinsci.plugins.workflow.cps.CpsClosure2 scm java.util.LinkedHashMap)
      	at org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists.StaticWhitelist.rejectMethod(StaticWhitelist.java:183)
      	at 
      

        Attachments

          Issue Links

            Activity

            ssbarnea Sorin Sbarnea created issue -
            emanuelez emanuelez made changes -
            Field Original Value New Value
            Issue Type Improvement [ 4 ] Bug [ 1 ]
            emanuelez emanuelez made changes -
            Priority Critical [ 2 ] Major [ 3 ]
            zovitsadam Adam Zovits made changes -
            Link This issue duplicates JENKINS-47607 [ JENKINS-47607 ]
            ssbarnea Sorin Sbarnea made changes -
            Link This issue is duplicated by JENKINS-47607 [ JENKINS-47607 ]
            ssbarnea Sorin Sbarnea made changes -
            Link This issue duplicates JENKINS-47607 [ JENKINS-47607 ]
            timja Tim Jacomb made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            timja Tim Jacomb made changes -
            Status In Progress [ 3 ] In Review [ 10005 ]
            timja Tim Jacomb made changes -
            Released As 1.23.0-beta-1
            Resolution Fixed [ 1 ]
            Status In Review [ 10005 ] Resolved [ 5 ]
            timja Tim Jacomb made changes -
            Status Resolved [ 5 ] Closed [ 6 ]

              People

              Assignee:
              t_westling Tomas Westling
              Reporter:
              ssbarnea Sorin Sbarnea
              Votes:
              12 Vote for this issue
              Watchers:
              13 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: