简体   繁体   English

出现错误tput:尝试从jenkins连接到jmeter服务器时,没有指定$ TERM值,也没有指定-T

[英]getting error tput: No value for $TERM and no -T specified when trying to connect from jenkins to jmeter servers

i am using distributed framework for performance testing where i have 1 controller jmeter machine and 2 jmeter machines are working as load generators.I am trying to connect all the machines from jenkins server and executing shell script on controller machine to execute the test.Setup was working fine but from last couple of days i start getting following error 我正在使用分布式框架进行性能测试,其中有1台控制器jmeter机器和2台jmeter机器用作负载生成器。我正在尝试连接jenkins服务器上的所有机器并在控制器机器上执行shell脚本以执行测试。工作正常,但从最近几天开始,我开始出现以下错误

tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified

Below are the shell scripts, i am executing from jenkins server 以下是我从jenkins服务器执行的shell脚本

#!/bin/bash
USERNAME=jmeter
HOSTS="jmeter01.com jmeter02.com"

#SCRIPT="source .bash_profile; alias ; pwd"

for HOSTNAME in ${HOSTS} ; do
  echo "Connecting with host name : ${HOSTNAME}"
  ssh -T -o StrictHostKeyChecking=no ${USERNAME}@${HOSTNAME}  "${SCRIPT}" 
  echo "ssh connection successful with ${HOSTNAME} "
done

尝试用“ t”代替“ T”

ssh -t -o StrictHostKeyChecking=no ${USERNAME}@${HOSTNAME}  "${SCRIPT}" 

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 “tput: No value for $TERM and no -T specified” CRON 进程记录的错误 - “tput: No value for $TERM and no -T specified ” error logged by CRON process 从 jenkins jmeter.log 进行午餐测试时访问 jmeter.log 文件(权限被拒绝)java.io.FileNotFoundException:错误 - access jmeter.log file when lunching test from jenkins jmeter.log (Permission denied) java.io.FileNotFoundException: error 从SecureCRT调用时,脚本在调用tput的行上退出 - Script exits on line calling tput when invoked from SecureCRT Jenkins 错误 sh: 0: 无法打开标签:/ sh: 0: 无法打开脚本:尝试执行 SOAPUI 命令行时 - Jenkins error sh: 0: Can't open label:/ sh: 0: Can't open script: when trying to execute SOAPUI commandline Jenkins错误128 / Git错误403:Jenkins无法连接到我的Bitbucket存储库 - Jenkins Error 128 / Git Error 403: Jenkins can't connect to my Bitbucket repository 尝试使用python连接到TCP服务器时拒绝连接 - Getting connection refused when trying to connect to a tcp server with python 从 Jenkins 执行分布式负载测试时出现错误(InvalidClassException) - Getting an error(InvalidClassException) while executing a distributed load test from Jenkins 尝试连接到iSCSI驱动器时来自iSCSI的错误消息 - Error message from iscsiadm while trying to connect to a iscsi drive Jenkins 无法连接到 github 存储库 - Jenkins can't connect to github repo 无法从 jenkins 连接到 AWS ec2 服务器 - Not able to make connection from jenkins to AWS ec2 servers
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM