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

TAP plugin is not compatible with JEP-200 in Jenkins 2.102

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Component/s: tap-plugin
    • Labels:
    • Similar Issues:

      Description

      Discovered it while doing PCT for Jenkins 2.102 SNAPSHOT.

      Several classes in Tap use classes from a 3rd-party library, and the serialization to the disk fails. Full log is attached

      java.lang.UnsupportedOperationException: Refusing to marshal org.tap4j.model.TestSet for security reasons; see https://jenkins.io/redirect/class-filter/
      	at hudson.util.XStream2$BlacklistedTypesConverter.marshal(XStream2.java:530)
      	at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69)
      	at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)
      	at com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:84)
      	at hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:265)
      	at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:252)
      Caused: java.lang.RuntimeException: Failed to serialize org.tap4j.plugin.model.TestSetMap#testSet for class org.tap4j.plugin.model.TestSetMap
      	at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:256)
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                oleg_nenashev Oleg Nenashev
                Reporter:
                oleg_nenashev Oleg Nenashev
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: