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

Gatling plugin - publisher persists PrintStream to the disk (JEP-200)

      According to the code inspection, there is a JEP-200 issue in the plugin: https://github.com/jenkinsci/gatling-plugin/blob/775b494c4ba020018d0aef24316f844e47e0bb32/src/main/java/io/gatling/jenkins/GatlingPublisher.java#L44

      This code likely causes a JEP-200 issue when the object gets persisted to the disk. "java.io.PrintStream" is not whitelisted in Jenkins for a reason, because loggers are not expected reliably after being deserialized from the disk.

      Useful links about JEP-200:

          [JENKINS-50977] Gatling plugin - publisher persists PrintStream to the disk (JEP-200)

          Oleg Nenashev created issue -
          Oleg Nenashev made changes -
          Labels New: JEP-200
          Oleg Nenashev made changes -
          Link New: This issue relates to JENKINS-51013 [ JENKINS-51013 ]
          Oleg Nenashev made changes -
          Assignee New: Oleg Nenashev [ oleg_nenashev ]
          Oleg Nenashev made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]

          Oleg Nenashev added a comment -

          reproduced the issue in tests

          Oleg Nenashev added a comment - reproduced the issue in tests
          Oleg Nenashev made changes -
          Status Original: In Progress [ 3 ] New: In Review [ 10005 ]
          Oleg Nenashev made changes -
          Remote Link New: This issue links to "https://github.com/jenkinsci/gatling-plugin/pull/16 (Web Link)" [ 20508 ]
          Oleg Nenashev made changes -
          Link New: This issue relates to JENKINS-51014 [ JENKINS-51014 ]

          Oleg Nenashev added a comment -

          Fix has been released in 1.2.3

          Oleg Nenashev added a comment - Fix has been released in 1.2.3
          Oleg Nenashev made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: In Review [ 10005 ] New: Resolved [ 5 ]

            oleg_nenashev Oleg Nenashev
            oleg_nenashev Oleg Nenashev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: