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

Unable to connect to jenkins slave running on ARM platform

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Major Major
    • slave-setup-plugin
    • None
    • pandaboard, ARM platform

      I am trying to setup a jenkins slave that is running on a pandaboard. I have Ubuntu 11.10 oneiric installed, and I am using OpenJDK Runtime Environment (IcedTea6 1.11pre).

      I am getting a "Invalid encoded sequence encountered" error when attempting to connect to the slave via ssh:

      [02/22/12 16:45:41] [SSH] Opening SSH connection to panda-devboard:22.
      6:45:47] [SSH] Authentication successful.
      [02/22/12 16:45:47] [SSH] The remote users environment is:
      BASH=/bin/bash
      BASHOPTS=cmdhist:extquote:force_fignore:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath
      BASH_ALIASES=()
      BASH_ARGC=()
      BASH_ARGV=()
      BASH_CMDS=()
      BASH_EXECUTION_STRING=set
      BASH_LINENO=()
      BASH_SOURCE=()
      BASH_VERSINFO=([0]="4" [1]="2" [2]="10" [3]="1" [4]="release" [5]="arm-unknown-linux-gnueabi")
      BASH_VERSION='4.2.10(1)-release'
      DIRSTACK=()
      EUID=4086
      GROUPS=()
      HOME=/home/release
      HOSTNAME=panda-devboard
      HOSTTYPE=arm
      IFS=$' \t\n'
      LANG=en_CA.UTF-8
      LOGNAME=release
      MACHTYPE=arm-unknown-linux-gnueabi
      MAIL=/var/mail/release
      OPTERR=1
      OPTIND=1
      OSTYPE=linux-gnueabi
      PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
      PIPESTATUS=([0]="0")
      PPID=10358
      PS4='+ '
      PWD=/home/release
      SHELL=/bin/bash
      SHELLOPTS=braceexpand:hashall:interactive-comments
      SHLVL=1
      SSH_CLIENT='10.1.0.195 4050 22'
      SSH_CONNECTION='10.1.0.195 4050 10.1.124.85 22'
      TERM=dumb
      UID=4086
      USER=release
      XDG_SESSION_COOKIE=5c9ceadb707acb8eae13745b00000009-1329957946.802516-2119305671
      _=']'
      [02/22/12 16:45:47] [SSH] Checking java version of java
      [02/22/12 16:45:48] [SSH] java -version returned 1.6.0_23.
      [02/22/12 16:45:48] [SSH] Starting sftp client.
      [02/22/12 16:45:48] [SSH] Copying latest slave.jar...
      [02/22/12 16:45:48] [SSH] Copied 257,564 bytes.
      [02/22/12 16:45:48] [SSH] Starting slave process: cd '/var/hudson' && java -jar slave.jar -text
      Running in text mode
      <===[JENKINS REMOTING CAPACITY]===><===[HUDSON TRANSMISSION BEGINS]===channel started
      Slave.jar version: 2.12
      This is a Unix slave
      Copied maven-agent.jar
      Copied maven3-agent.jar
      Copied maven3-interceptor.jar
      Copied maven-interceptor.jar
      Copied maven2.1-interceptor.jar
      Copied plexus-classworld.jar
      Copied classworlds.jar
      Slave successfully connected and online
      [02/22/12 16:45:54] [SSH] Opening SSH connection to panda-devboard:22.
      ERROR: Connection terminated
      java.io.IOException: Invalid encoded sequence encountered: 6A 6D 6D 5F 19 EB 4C 7A 6A 2B C9 4B 1A
      at hudson.remoting.BinarySafeStream$1._read(BinarySafeStream.java:194)
      at hudson.remoting.BinarySafeStream$1.read(BinarySafeStream.java:80)
      at java.io.ObjectInputStream$PeekInputStream.peek(Unknown Source)
      at java.io.ObjectInputStream$BlockDataInputStream.peek(Unknown Source)
      at java.io.ObjectInputStream$BlockDataInputStream.peekByte(Unknown Source)
      at java.io.ObjectInputStream.readObject0(Unknown Source)
      at java.io.ObjectInputStream.readObject(Unknown Source)
      at hudson.remoting.Channel$ReaderThread.run(Channel.java:1127)

          [JENKINS-12866] Unable to connect to jenkins slave running on ARM platform

          Is this really related to the slave setup plugin? Which version did you use? I am missing the line "Copying setup script files" in your log that should appear after the line "Copied classworlds.jar" and before the line "Slave successfully connected and online". Is this issue still a problem? If not, please close this issue. Thanks.

          Frederik Fromm added a comment - Is this really related to the slave setup plugin? Which version did you use? I am missing the line "Copying setup script files" in your log that should appear after the line "Copied classworlds.jar" and before the line "Slave successfully connected and online". Is this issue still a problem? If not, please close this issue. Thanks.

          Please have a look at the comments. If you agree you may close the issue. Thanks.

          Frederik Fromm added a comment - Please have a look at the comments. If you agree you may close the issue. Thanks.

          Eric Huang added a comment -

          I am using Jenkins SSH Slaves plugin version 0.21, and yes this is still an issues for us.

          Is there suppose to be a "Copying setup script files" in the log?

          I took a look at another working slave connection I have and did not see that line as well.

          Eric Huang added a comment - I am using Jenkins SSH Slaves plugin version 0.21, and yes this is still an issues for us. Is there suppose to be a "Copying setup script files" in the log? I took a look at another working slave connection I have and did not see that line as well.

          Mark Waite added a comment -

          Jenkins agents run on ARM very well.

          Mark Waite added a comment - Jenkins agents run on ARM very well.

            erichuang Eric Huang
            erichuang Eric Huang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: