-
Bug
-
Resolution: Unresolved
-
Minor
-
System Properties
Name ↓
Value
awt.toolkit sun.awt.X11.XToolkit
com.sun.akuma.Daemon daemonized
executable-war /usr/lib/jenkins/jenkins.war
file.encoding UTF-8
file.encoding.pkg sun.io
file.separator /
hudson.diyChunking false
java.awt.graphicsenv sun.awt.X11GraphicsEnvironment
java.awt.headless true
java.awt.printerjob sun.print.PSPrinterJob
java.class.path /usr/lib/jenkins/jenkins.war
java.class.version 51.0
java.endorsed.dirs /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.65.x86_64/jre/lib/endorsed
java.ext.dirs /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.65.x86_64/jre/lib/ext:/usr/java/packages/lib/ext
java.home /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.65.x86_64/jre
java.io.tmpdir /tmp
java.library.path /usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
java.runtime.name OpenJDK Runtime Environment
java.runtime.version 1.7.0_65-mockbuild_2014_07_16_06_06-b00
java.specification.name Java Platform API Specification
java.specification.vendor Oracle Corporation
java.specification.version 1.7
java.vendor Oracle Corporation
java.vendor.url http://java.oracle.com/
java.vendor.url.bug http://bugreport.sun.com/bugreport/
java.version 1.7.0_65
java.vm.info mixed mode
java.vm.name OpenJDK 64-Bit Server VM
java.vm.specification.name Java Virtual Machine Specification
java.vm.specification.vendor Oracle Corporation
java.vm.specification.version 1.7
java.vm.vendor Oracle Corporation
java.vm.version 24.65-b04
javax.accessibility.assistive_technologies org.GNOME.Accessibility.JavaBridge
JENKINS_HOME /var/lib/jenkins
jna.platform.library.path /usr/lib64:/lib64:/usr/lib:/lib
jnidispatch.path /tmp/jna--396385912/jna1572316159307417758.tmp
line.separator
mail.smtp.sendpartial true
mail.smtps.sendpartial true
os.arch amd64
os.name Linux
os.version 3.12.0-1.el6.x86_64
path.separator :
sun.arch.data.model 64
sun.boot.class.path /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.65.x86_64/jre/lib/resources.jar:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.65.x86_64/jre/lib/rt.jar:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.65.x86_64/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.65.x86_64/jre/lib/jsse.jar:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.65.x86_64/jre/lib/jce.jar:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.65.x86_64/jre/lib/charsets.jar:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.65.x86_64/jre/lib/rhino.jar:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.65.x86_64/jre/lib/jfr.jar:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.65.x86_64/jre/classes
sun.boot.library.path /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.65.x86_64/jre/lib/amd64
sun.cpu.endian little
sun.cpu.isalist
sun.font.fontmanager sun.awt.X11FontManager
sun.io.unicode.encoding UnicodeLittle
sun.java.command /usr/lib/jenkins/jenkins.war --logfile=/var/log/jenkins/jenkins.log --webroot=/var/cache/jenkins/war --daemon --httpPort=8080 --ajp13Port=8009 --debug=5 --handlerCountMax=100 --handlerCountMaxIdle=20
sun.java.launcher SUN_STANDARD
sun.jnu.encoding UTF-8
sun.management.compiler HotSpot 64-Bit Tiered Compilers
sun.os.patch.level unknown
svnkit.http.methods Digest,Basic,NTLM,Negotiate
svnkit.ssh2.persistent false
user.country US
user.dir /
user.home /users/ponaidu
user.language en
user.name ponaidu
user.timezone America/Los_Angeles
Environment Variables
Name ↓
Value
_ /etc/alternatives/java
HOME /users/..........
LANG en_US.UTF-8
LOGNAME ponaidu
NLSPATH /usr/dt/lib/nls/msg/%L/%N.cat
PATH /sbin:/usr/sbin:/bin:/usr/bin
PWD /
SHELL /bin/bash
SHLVL 3
TERM xterm
USER ponaidu
XFILESEARCHPATH /usr/dt/app-defaults/%L/Dt
Plugins
Name ↓
Version
Enabled
Pinned
ant 1.2 true false
antisamy-markup-formatter 1.1 true false
async-http-client 1.7.8 true false
build-with-parameters 1.3 true false
cloudbees-registration 3.14 false false
cloudbees-wasted-minutes-tracker 3.7 true false
credentials 1.22 true true
cvs 2.11 true false
deployed-on-column 1.7 true false
deployer-framework 1.0 true false
email-ext 2.39 true false
emotional-jenkins-plugin 1.2 true false
Exclusion 0.10 true false
external-monitor-job 1.4 true false
git 2.3.5 true false
git-client 1.16.1 true false
global-variable-string-parameter 1.2 true false
groovy 1.24 true false
groovy-remote 0.2 true false
javadoc 1.1 true false
junit 1.2-beta-4 true false
ldap 1.6 true false
mailer 1.11 true false
matrix-auth 1.1 true false
matrix-project 1.4 true true
maven-plugin 2.7.1 true false
naginator 1.14 true false
pam-auth 1.1 true false
python 1.2 true false
rundeck 3.3 true false
scm-api 0.2 true false
script-security 1.13 true false
ssh 2.4 true false
ssh-credentials 1.10 true false
ssh-slaves 1.9 true false
subversion 1.54 true false
testlink 3.10 true false
token-macro 1.10 true false
translation 1.10 true false
view-job-filters 1.26 true false
windows-slaves 1.0 true false
System Properties Name ↓ Value awt.toolkit sun.awt.X11.XToolkit com.sun.akuma.Daemon daemonized executable-war /usr/lib/jenkins/jenkins.war file.encoding UTF-8 file.encoding.pkg sun.io file.separator / hudson.diyChunking false java.awt.graphicsenv sun.awt.X11GraphicsEnvironment java.awt.headless true java.awt.printerjob sun.print.PSPrinterJob java.class.path /usr/lib/jenkins/jenkins.war java.class.version 51.0 java.endorsed.dirs /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.65.x86_64/jre/lib/endorsed java.ext.dirs /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.65.x86_64/jre/lib/ext:/usr/java/packages/lib/ext java.home /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.65.x86_64/jre java.io.tmpdir /tmp java.library.path /usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib java.runtime.name OpenJDK Runtime Environment java.runtime.version 1.7.0_65-mockbuild_2014_07_16_06_06-b00 java.specification.name Java Platform API Specification java.specification.vendor Oracle Corporation java.specification.version 1.7 java.vendor Oracle Corporation java.vendor.url http://java.oracle.com/ java.vendor.url.bug http://bugreport.sun.com/bugreport/ java.version 1.7.0_65 java.vm.info mixed mode java.vm.name OpenJDK 64-Bit Server VM java.vm.specification.name Java Virtual Machine Specification java.vm.specification.vendor Oracle Corporation java.vm.specification.version 1.7 java.vm.vendor Oracle Corporation java.vm.version 24.65-b04 javax.accessibility.assistive_technologies org.GNOME.Accessibility.JavaBridge JENKINS_HOME /var/lib/jenkins jna.platform.library.path /usr/lib64:/lib64:/usr/lib:/lib jnidispatch.path /tmp/jna--396385912/jna1572316159307417758.tmp line.separator mail.smtp.sendpartial true mail.smtps.sendpartial true os.arch amd64 os.name Linux os.version 3.12.0-1.el6.x86_64 path.separator : sun.arch.data.model 64 sun.boot.class.path /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.65.x86_64/jre/lib/resources.jar:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.65.x86_64/jre/lib/rt.jar:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.65.x86_64/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.65.x86_64/jre/lib/jsse.jar:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.65.x86_64/jre/lib/jce.jar:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.65.x86_64/jre/lib/charsets.jar:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.65.x86_64/jre/lib/rhino.jar:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.65.x86_64/jre/lib/jfr.jar:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.65.x86_64/jre/classes sun.boot.library.path /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.65.x86_64/jre/lib/amd64 sun.cpu.endian little sun.cpu.isalist sun.font.fontmanager sun.awt.X11FontManager sun.io.unicode.encoding UnicodeLittle sun.java.command /usr/lib/jenkins/jenkins.war --logfile=/var/log/jenkins/jenkins.log --webroot=/var/cache/jenkins/war --daemon --httpPort=8080 --ajp13Port=8009 --debug=5 --handlerCountMax=100 --handlerCountMaxIdle=20 sun.java.launcher SUN_STANDARD sun.jnu.encoding UTF-8 sun.management.compiler HotSpot 64-Bit Tiered Compilers sun.os.patch.level unknown svnkit.http.methods Digest,Basic,NTLM,Negotiate svnkit.ssh2.persistent false user.country US user.dir / user.home /users/ponaidu user.language en user.name ponaidu user.timezone America/Los_Angeles Environment Variables Name ↓ Value _ /etc/alternatives/java HOME /users/.......... LANG en_US.UTF-8 LOGNAME ponaidu NLSPATH /usr/dt/lib/nls/msg/%L/%N.cat PATH /sbin:/usr/sbin:/bin:/usr/bin PWD / SHELL /bin/bash SHLVL 3 TERM xterm USER ponaidu XFILESEARCHPATH /usr/dt/app-defaults/%L/Dt Plugins Name ↓ Version Enabled Pinned ant 1.2 true false antisamy-markup-formatter 1.1 true false async-http-client 1.7.8 true false build-with-parameters 1.3 true false cloudbees-registration 3.14 false false cloudbees-wasted-minutes-tracker 3.7 true false credentials 1.22 true true cvs 2.11 true false deployed-on-column 1.7 true false deployer-framework 1.0 true false email-ext 2.39 true false emotional-jenkins-plugin 1.2 true false Exclusion 0.10 true false external-monitor-job 1.4 true false git 2.3.5 true false git-client 1.16.1 true false global-variable-string-parameter 1.2 true false groovy 1.24 true false groovy-remote 0.2 true false javadoc 1.1 true false junit 1.2-beta-4 true false ldap 1.6 true false mailer 1.11 true false matrix-auth 1.1 true false matrix-project 1.4 true true maven-plugin 2.7.1 true false naginator 1.14 true false pam-auth 1.1 true false python 1.2 true false rundeck 3.3 true false scm-api 0.2 true false script-security 1.13 true false ssh 2.4 true false ssh-credentials 1.10 true false ssh-slaves 1.9 true false subversion 1.54 true false testlink 3.10 true false token-macro 1.10 true false translation 1.10 true false view-job-filters 1.26 true false windows-slaves 1.0 true false
There is a variable in the build configuration named "topo_name".
This 'topo_name' variable to be argument of the shell script to be run on the remote server. (Here it is simplified to echo $topo_name).
Since the remote shell is C shell, it fails to get the argument.
https://issues.jenkins-ci.org/browse/JENKINS-15265 - fix does NOT solve this.
Is there any other solution/workaround?
Logs:
=====
Started by user anonymous
Building in workspace /var/lib/jenkins/jobs/test_ssh/workspace
executing script:
SHELL="/bin/bash"
topo_name="testing" (Fix of JENKINS-15265)
whoami
env
hostname
echo $SHELL
echo ${topo_name}
SHELL=/bin/bash: Command not found. !!! C shell does NOT take the command !!!
topo_name=testing: Command not found. !!! C shell does NOT take the command !!!
topo_name: Undefined variable. !!! C shell does NOT take the command !!!
nkaliape
USER=nkaliape
LOGNAME=nkaliape