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

Removing non-serializable member from CucumberTestResultsAction

      In some cases executing workflow job with calling to gherkingPublisher is ended with floowing exception which cause to job be in failed status.

       

       

      Unexpected exception in CPS VM thread: CpsFlowExecutionOwner[lgolug625/xhome_web_automation/reddy1/14:lgolug625/xhome_web_automation/reddy1 #14]

      java.lang.IllegalStateException: Can't send a remote FilePath to a different remote channel

              at hudson.FilePath.writeObject(FilePath.java:2993)

              at sun.reflect.GeneratedMethodAccessor120.invoke(Unknown Source)

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

              at java.lang.reflect.Method.invoke(Method.java:498)

              at com.thoughtworks.xstream.converters.reflection.SerializationMethodInvoker.callWriteObject(SerializationMethodInvoker.java:135)

      Caused: com.thoughtworks.xstream.converters.ConversionException: Could not call hudson.FilePath.writeObject() : Can't send a remote FilePath to a different remote channel

      ---- Debugging information ----

      message             : Could not call hudson.FilePath.writeObject()

      cause-exception     : java.lang.IllegalStateException

      cause-message       : Can't send a remote FilePath to a different remote channel

      -------------------------------

              at com.thoughtworks.xstream.converters.reflection.SerializationMethodInvoker.callWriteObject(SerializationMethodInvoker.java:141)

              at com.thoughtworks.xstream.converters.reflection.SerializableConverter.doMarshal(SerializableConverter.java:259)

              at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.marshal(AbstractReflectionConverter.java:83)

              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 com.microfocus.application.automation.tools.octane.actions.cucumber.CucumberTestResultsAction#workspace for class com.microfocus.application.automation.tools.octane.actions.cucumber.CucumberTestResultsAction

              at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:256)

          [JENKINS-59571] Removing non-serializable member from CucumberTestResultsAction

          Radi Berkovich created issue -
          Radi Berkovich made changes -
          Summary Original: Removing non-serailizable member from CucumberTestResultsAction New: Removing non-serializable member from CucumberTestResultsAction
          Radi Berkovich made changes -
          Description New: In some cases executing workflow job with calling to gherkingPublisher is ended with floowing exception which cause to job be in failed status.

           

           

          Unexpected exception in CPS VM thread: CpsFlowExecution[Owner[lgolug625/xhome_web_automation/reddy1/14:lgolug625/xhome_web_automation/reddy1 #14]]

          java.lang.IllegalStateException: Can't send a remote FilePath to a different remote channel

                  at hudson.FilePath.writeObject(FilePath.java:2993)

                  at sun.reflect.GeneratedMethodAccessor120.invoke(Unknown Source)

                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

                  at java.lang.reflect.Method.invoke(Method.java:498)

                  at com.thoughtworks.xstream.converters.reflection.SerializationMethodInvoker.callWriteObject(SerializationMethodInvoker.java:135)

          Caused: com.thoughtworks.xstream.converters.ConversionException: Could not call hudson.FilePath.writeObject() : Can't send a remote FilePath to a different remote channel

          ---- Debugging information ----

          message             : Could not call hudson.FilePath.writeObject()

          cause-exception     : java.lang.IllegalStateException

          cause-message       : Can't send a remote FilePath to a different remote channel

          -------------------------------

                  at com.thoughtworks.xstream.converters.reflection.SerializationMethodInvoker.callWriteObject(SerializationMethodInvoker.java:141)

                  at com.thoughtworks.xstream.converters.reflection.SerializableConverter.doMarshal(SerializableConverter.java:259)

                  at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.marshal(AbstractReflectionConverter.java:83)

                  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 com.microfocus.application.automation.tools.octane.actions.cucumber.CucumberTestResultsAction#workspace for class com.microfocus.application.automation.tools.octane.actions.cucumber.CucumberTestResultsAction

                  at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:256)
          Maria Narcisa Galan made changes -
          Labels New: Octane
          Radi Berkovich made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Fixed but Unreleased [ 10203 ]
          Radi Berkovich made changes -
          Labels Original: Octane New: 5.9.1 Octane
          Radi Berkovich made changes -
          Status Original: Fixed but Unreleased [ 10203 ] New: Closed [ 6 ]

            radislavb Radi Berkovich
            radislavb Radi Berkovich
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: