hudson.remoting.ChannelClosedException: channel is already closed

Jenkins JIRA | Sam Xiao | 4 years ago
  1. 0

    Failure log {quote} 20:36:06 [android] Using Android SDK: /home/jenkins/client-tools/symlinks/sdk_for_gerrit_client_android_test 20:36:06 [android] Creating Android AVD: /home/jenkins/.android/avd/hudson_en-US_160_WVGA_Google_Inc._Google_APIs_7.avd 20:36:06 [android] /home/jenkins/client-tools/symlinks/sdk_for_gerrit_client_android_test/tools/android create avd -f -a -c 128M -s WVGA800 -n hudson_en-US_160_WVGA_Google_Inc._Google_APIs_7 -t "Google Inc.:Google APIs:7" 20:36:07 [android] Setting hardware properties: 20:36:07 hw.audioOutput: no 20:36:07 hw.audioInput: no 20:36:07 hw.ramSize: 512 20:36:07 vm.heapSize: 32 20:36:07 $ /home/jenkins/client-tools/symlinks/sdk_for_gerrit_client_android_test/platform-tools/adb start-server 20:36:07 $ /home/jenkins/client-tools/symlinks/sdk_for_gerrit_client_android_test/tools/emulator -snapshot-list -no-window -avd hudson_en-US_160_WVGA_Google_Inc._Google_APIs_7 20:36:07 [android] Starting Android emulator and creating initial snapshot 20:36:07 $ /home/jenkins/client-tools/symlinks/sdk_for_gerrit_client_android_test/tools/emulator -no-boot-anim -ports 32814,35961 -prop persist.sys.language=en -prop persist.sys.country=US -avd hudson_en-US_160_WVGA_Google_Inc._Google_APIs_7 -no-snapshot-load -no-snapshot-save -wipe-data -no-window -no-snapshot-update-time 20:36:10 * daemon not running. starting it now on port 34404 * 20:36:10 * daemon started successfully * 20:36:12 $ /home/jenkins/client-tools/symlinks/sdk_for_gerrit_client_android_test/platform-tools/adb connect localhost:35961 20:36:12 [android] Waiting for emulator to finish booting... 20:36:12 $ /home/jenkins/client-tools/symlinks/sdk_for_gerrit_client_android_test/platform-tools/adb -s localhost:35961 shell getprop dev.bootcomplete 20:36:12 $ /home/jenkins/client-tools/symlinks/sdk_for_gerrit_client_android_test/platform-tools/adb connect localhost:35961 20:36:26 $ /home/jenkins/client-tools/symlinks/sdk_for_gerrit_client_android_test/platform-tools/adb -s localhost:35961 shell getprop dev.bootcomplete 20:36:26 $ /home/jenkins/client-tools/symlinks/sdk_for_gerrit_client_android_test/platform-tools/adb connect localhost:35961 20:36:27 [android] Interrupted while waiting for emulator to finish booting. 20:36:27 [android] Emulator was shut down before it finished booting 20:36:27 FATAL: channel is already closed 20:36:27 hudson.remoting.ChannelClosedException: channel is already closed 20:36:27 at hudson.remoting.Channel.send(Channel.java:494) 20:36:27 at hudson.remoting.Request.call(Request.java:129) 20:36:27 at hudson.remoting.Channel.call(Channel.java:672) 20:36:27 at hudson.Launcher$RemoteLauncher.launch(Launcher.java:852) 20:36:27 at hudson.Launcher$ProcStarter.start(Launcher.java:353) 20:36:27 at hudson.plugins.android_emulator.AndroidEmulator.disconnectEmulator(AndroidEmulator.java:520) 20:36:27 at hudson.plugins.android_emulator.AndroidEmulator.cleanUp(AndroidEmulator.java:572) 20:36:27 at hudson.plugins.android_emulator.AndroidEmulator.cleanUp(AndroidEmulator.java:553) 20:36:27 at hudson.plugins.android_emulator.AndroidEmulator.doSetUp(AndroidEmulator.java:392) 20:36:27 at hudson.plugins.android_emulator.AndroidEmulator.setUp(AndroidEmulator.java:257) 20:36:27 at hudson.model.Build$BuildExecution.doRun(Build.java:154) 20:36:27 at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:580) 20:36:27 at hudson.model.Run.execute(Run.java:1575) 20:36:27 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) 20:36:27 at hudson.model.ResourceController.execute(ResourceController.java:88) 20:36:27 at hudson.model.Executor.run(Executor.java:237) 20:36:27 Caused by: java.io.IOException 20:36:27 at hudson.remoting.Channel.close(Channel.java:910) 20:36:27 at hudson.remoting.Channel.close(Channel.java:892) 20:36:27 at hudson.slaves.SlaveComputer.closeChannel(SlaveComputer.java:615) 20:36:27 at hudson.slaves.SlaveComputer.kill(SlaveComputer.java:596) 20:36:27 at hudson.model.AbstractCIBase.killComputer(AbstractCIBase.java:85) 20:36:27 at jenkins.model.Jenkins.cleanUp(Jenkins.java:2652) 20:36:27 at hudson.WebAppMain.contextDestroyed(WebAppMain.java:337) 20:36:27 at winstone.WebAppConfiguration.destroy(WebAppConfiguration.java:1167) 20:36:27 at winstone.HostConfiguration.destroyWebApp(HostConfiguration.java:148) 20:36:27 at winstone.HostConfiguration.destroy(HostConfiguration.java:156) 20:36:27 at winstone.HostGroup.destroy(HostGroup.java:77) 20:36:27 at winstone.Launcher.shutdown(Launcher.java:337) 20:36:27 at winstone.ShutdownHook.run(ShutdownHook.java:25) {quote}

    Jenkins JIRA | 4 years ago | Sam Xiao
    hudson.remoting.ChannelClosedException: channel is already closed
  2. 0

    [JENKINS-17435] FATAL: channel is already closed on Android Emulator launch - Jenkins JIRA

    jenkins-ci.org | 5 months ago
    hudson.remoting.ChannelClosedException: channel is already closed
  3. 0

    Failure log {quote} 20:36:06 [android] Using Android SDK: /home/jenkins/client-tools/symlinks/sdk_for_gerrit_client_android_test 20:36:06 [android] Creating Android AVD: /home/jenkins/.android/avd/hudson_en-US_160_WVGA_Google_Inc._Google_APIs_7.avd 20:36:06 [android] /home/jenkins/client-tools/symlinks/sdk_for_gerrit_client_android_test/tools/android create avd -f -a -c 128M -s WVGA800 -n hudson_en-US_160_WVGA_Google_Inc._Google_APIs_7 -t "Google Inc.:Google APIs:7" 20:36:07 [android] Setting hardware properties: 20:36:07 hw.audioOutput: no 20:36:07 hw.audioInput: no 20:36:07 hw.ramSize: 512 20:36:07 vm.heapSize: 32 20:36:07 $ /home/jenkins/client-tools/symlinks/sdk_for_gerrit_client_android_test/platform-tools/adb start-server 20:36:07 $ /home/jenkins/client-tools/symlinks/sdk_for_gerrit_client_android_test/tools/emulator -snapshot-list -no-window -avd hudson_en-US_160_WVGA_Google_Inc._Google_APIs_7 20:36:07 [android] Starting Android emulator and creating initial snapshot 20:36:07 $ /home/jenkins/client-tools/symlinks/sdk_for_gerrit_client_android_test/tools/emulator -no-boot-anim -ports 32814,35961 -prop persist.sys.language=en -prop persist.sys.country=US -avd hudson_en-US_160_WVGA_Google_Inc._Google_APIs_7 -no-snapshot-load -no-snapshot-save -wipe-data -no-window -no-snapshot-update-time 20:36:10 * daemon not running. starting it now on port 34404 * 20:36:10 * daemon started successfully * 20:36:12 $ /home/jenkins/client-tools/symlinks/sdk_for_gerrit_client_android_test/platform-tools/adb connect localhost:35961 20:36:12 [android] Waiting for emulator to finish booting... 20:36:12 $ /home/jenkins/client-tools/symlinks/sdk_for_gerrit_client_android_test/platform-tools/adb -s localhost:35961 shell getprop dev.bootcomplete 20:36:12 $ /home/jenkins/client-tools/symlinks/sdk_for_gerrit_client_android_test/platform-tools/adb connect localhost:35961 20:36:26 $ /home/jenkins/client-tools/symlinks/sdk_for_gerrit_client_android_test/platform-tools/adb -s localhost:35961 shell getprop dev.bootcomplete 20:36:26 $ /home/jenkins/client-tools/symlinks/sdk_for_gerrit_client_android_test/platform-tools/adb connect localhost:35961 20:36:27 [android] Interrupted while waiting for emulator to finish booting. 20:36:27 [android] Emulator was shut down before it finished booting 20:36:27 FATAL: channel is already closed 20:36:27 hudson.remoting.ChannelClosedException: channel is already closed 20:36:27 at hudson.remoting.Channel.send(Channel.java:494) 20:36:27 at hudson.remoting.Request.call(Request.java:129) 20:36:27 at hudson.remoting.Channel.call(Channel.java:672) 20:36:27 at hudson.Launcher$RemoteLauncher.launch(Launcher.java:852) 20:36:27 at hudson.Launcher$ProcStarter.start(Launcher.java:353) 20:36:27 at hudson.plugins.android_emulator.AndroidEmulator.disconnectEmulator(AndroidEmulator.java:520) 20:36:27 at hudson.plugins.android_emulator.AndroidEmulator.cleanUp(AndroidEmulator.java:572) 20:36:27 at hudson.plugins.android_emulator.AndroidEmulator.cleanUp(AndroidEmulator.java:553) 20:36:27 at hudson.plugins.android_emulator.AndroidEmulator.doSetUp(AndroidEmulator.java:392) 20:36:27 at hudson.plugins.android_emulator.AndroidEmulator.setUp(AndroidEmulator.java:257) 20:36:27 at hudson.model.Build$BuildExecution.doRun(Build.java:154) 20:36:27 at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:580) 20:36:27 at hudson.model.Run.execute(Run.java:1575) 20:36:27 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) 20:36:27 at hudson.model.ResourceController.execute(ResourceController.java:88) 20:36:27 at hudson.model.Executor.run(Executor.java:237) 20:36:27 Caused by: java.io.IOException 20:36:27 at hudson.remoting.Channel.close(Channel.java:910) 20:36:27 at hudson.remoting.Channel.close(Channel.java:892) 20:36:27 at hudson.slaves.SlaveComputer.closeChannel(SlaveComputer.java:615) 20:36:27 at hudson.slaves.SlaveComputer.kill(SlaveComputer.java:596) 20:36:27 at hudson.model.AbstractCIBase.killComputer(AbstractCIBase.java:85) 20:36:27 at jenkins.model.Jenkins.cleanUp(Jenkins.java:2652) 20:36:27 at hudson.WebAppMain.contextDestroyed(WebAppMain.java:337) 20:36:27 at winstone.WebAppConfiguration.destroy(WebAppConfiguration.java:1167) 20:36:27 at winstone.HostConfiguration.destroyWebApp(HostConfiguration.java:148) 20:36:27 at winstone.HostConfiguration.destroy(HostConfiguration.java:156) 20:36:27 at winstone.HostGroup.destroy(HostGroup.java:77) 20:36:27 at winstone.Launcher.shutdown(Launcher.java:337) 20:36:27 at winstone.ShutdownHook.run(ShutdownHook.java:25) {quote}

    Jenkins JIRA | 4 years ago | Sam Xiao
    hudson.remoting.ChannelClosedException: channel is already closed
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Stuck SSH slave?

    Google Groups | 4 years ago | Andrew Melo
    hudson.util.IOException2: remote file operation failed: /jenkins/workspace/WMCore-UnitTests-try at hudson.remoting.Channel@19119a16:dmwm-slave01
  6. 0

    Job requires a second svn working copy

    Google Groups | 6 years ago | David Aldrich
    hudson.util.IOException2: remote file operation failed: /home/hudson/ci/hudson/slaves/SolarisServer2/workspace/my_nightly2 at hudson.remoting.Channel@1be7b9b:SolarisServer2

    3 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.io.IOException

      No message provided

      at hudson.remoting.Channel.close()
    2. Hudson :: Remoting Layer
      Channel.close
      1. hudson.remoting.Channel.close(Channel.java:910)
      2. hudson.remoting.Channel.close(Channel.java:892)
      2 frames
    3. Hudson
      AbstractCIBase.killComputer
      1. hudson.slaves.SlaveComputer.closeChannel(SlaveComputer.java:615)
      2. hudson.slaves.SlaveComputer.kill(SlaveComputer.java:596)
      3. hudson.model.AbstractCIBase.killComputer(AbstractCIBase.java:85)
      3 frames
    4. jenkins.model
      Jenkins.cleanUp
      1. jenkins.model.Jenkins.cleanUp(Jenkins.java:2652)
      1 frame
    5. Hudson
      WebAppMain.contextDestroyed
      1. hudson.WebAppMain.contextDestroyed(WebAppMain.java:337)
      1 frame
    6. winstone
      ShutdownHook.run
      1. winstone.WebAppConfiguration.destroy(WebAppConfiguration.java:1167)
      2. winstone.HostConfiguration.destroyWebApp(HostConfiguration.java:148)
      3. winstone.HostConfiguration.destroy(HostConfiguration.java:156)
      4. winstone.HostGroup.destroy(HostGroup.java:77)
      5. winstone.Launcher.shutdown(Launcher.java:337)
      6. winstone.ShutdownHook.run(ShutdownHook.java:25)
      6 frames