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

ChannelClosedException in Maven channel

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • maven-plugin
    • None

      After upgrading jenkins from 2.89.4 to 2.138.1, I am seeing the below errors in the logs.  Please note i have upgraded all my plugins to latest version.

      Sep 07, 2018 12:23:23 PM org.jenkinsci.remoting.util.AnonymousClassWarnings warn
      WARNING: Attempt to (de-)serialize anonymous class hudson.FilePath$28 in file:/var/lib/tomcat7/webapps/ROOT/WEB-INF/lib/jenkins-core-2.121.3.jar; see: https://jenkins.io/redirect/serialization-of-anonymous-classes/
      Sep 07, 2018 12:23:24 PM org.jenkinsci.remoting.util.AnonymousClassWarnings warn
      WARNING: Attempt to (de-)serialize anonymous class org.jenkinsci.plugins.gitclient.Git$1 in file:/var/hudson/master/plugins/git-client/WEB-INF/lib/git-client.jar; see: https://jenkins.io/redirect/serialization-of-anonymous-classes/
      Sep 07, 2018 12:23:25 PM org.jenkinsci.remoting.util.AnonymousClassWarnings warn
      WARNING: Attempt to (de-)serialize anonymous class org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1 in file:/var/hudson/master/plugins/git-client/WEB-INF/lib/git-client.jar; see: https://jenkins.io/redirect/serialization-of-anonymous-classes/
      Sep 07, 2018 12:23:36 PM org.jenkinsci.remoting.util.AnonymousClassWarnings warn
      WARNING: Attempt to (de-)serialize anonymous class hudson.FilePath$27 in file:/var/lib/tomcat7/webapps/ROOT/WEB-INF/lib/jenkins-core-2.121.3.jar; see: https://jenkins.io/redirect/serialization-of-anonymous-classes/
      Sep 07, 2018 12:23:52 PM org.jenkinsci.remoting.util.AnonymousClassWarnings warn
      WARNING: Attempt to (de-)serialize anonymous class hudson.maven.reporters.MavenArtifactArchiver$2 in file:/var/hudson/master/plugins/maven-plugin/WEB-INF/lib/maven-plugin.jar; see: https://jenkins.io/redirect/serialization-of-anonymous-classes/
      Sep 07, 2018 12:23:53 PM org.jenkinsci.remoting.util.AnonymousClassWarnings warn
      WARNING: Attempt to (de-)serialize anonymous class org.whitesource.jenkins.extractor.maven.MavenDependenciesRecorder$1 in file:/var/hudson/master/plugins/whitesource/WEB-INF/lib/whitesource.jar; see: https://jenkins.io/redirect/serialization-of-anonymous-classes/
      Sep 07, 2018 12:23:53 PM org.jenkinsci.remoting.util.AnonymousClassWarnings warn
      WARNING: Attempt to (de-)serialize anonymous class org.jfrog.hudson.maven2.MavenDependenciesRecorder$1 in file:/var/hudson/master/plugins/artifactory/WEB-INF/lib/artifactory.jar; see: https://jenkins.io/redirect/serialization-of-anonymous-classes/
      Sep 07, 2018 12:23:54 PM org.jenkinsci.remoting.util.AnonymousClassWarnings warn
      WARNING: Attempt to (de-)serialize anonymous class hudson.maven.reporters.MavenFingerprinter$1 in file:/var/hudson/master/plugins/maven-plugin/WEB-INF/lib/maven-plugin.jar; see: https://jenkins.io/redirect/serialization-of-anonymous-classes/
      Sep 07, 2018 12:23:57 PM org.jenkinsci.remoting.util.AnonymousClassWarnings warn
      WARNING: Attempt to (de-)serialize anonymous class hudson.plugins.global_build_stats.model.BuildResult$2 in file:/var/hudson/master/plugins/global-build-stats/WEB-INF/lib/global-build-stats.jar; see: https://jenkins.io/redirect/serialization-of-anonymous-classes/
      Sep 07, 2018 12:24:03 PM hudson.remoting.Request$2 run
      INFO: Failed to send back a reply to the request hudson.remoting.Request$2@46011678: hudson.remoting.ChannelClosedException: Channel "hudson.remoting.Channel@a52f63c:Channel to Maven [java, -Xmx2g, -XX:MaxPermSize=196m, -Duser.country=GB, -Duser.language=en, -Dfile.encoding=ISO-8859-1, -Dencoding=ISO-8859-1, -cp, /var/hudson/maven33-agent.jar:/var/hudson/tools/apache-maven-3.3.9/boot/plexus-classworlds-2.5.2.jar:/var/hudson/tools/apache-maven-3.3.9/conf/logging, jenkins.maven3.agent.Maven33Main, /var/hudson/tools/apache-maven-3.3.9, /var/hudson/remoting.jar, /var/hudson/maven33-interceptor.jar, /var/hudson/maven3-interceptor-commons.jar, 32891]": channel is already closed
      Sep 07, 2018 12:24:03 PM hudson.model.Run execute
      INFO: devtools-maven-build-test #25 main build action completed: FAILURE

       

      How am I suppose to resolve this issue ?

            Unassigned Unassigned
            sakshisood sakshi sood
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: