Skip to content

Instantly share code, notes, and snippets.

@gregdek
Created December 16, 2013 23:35
Show Gist options
  • Save gregdek/7996993 to your computer and use it in GitHub Desktop.
Save gregdek/7996993 to your computer and use it in GitHub Desktop.
Output of jenkins run
Started by user anonymous
[EnvInject] - Loading node environment variables.
Building in workspace /var/lib/jenkins/jenkins-install eustore image-16
[jenkins-install eustore image-16] $ /bin/sh -xe /tmp/hudson7588184812884397489.sh
+ git clone https://github.com/gregdek/eutester.git repo
Initialized empty Git repository in /var/lib/jenkins/jenkins-install eustore image-16/repo/.git/
+ cd repo
+ git checkout testing
Already on 'testing'
+ cd ..
+ mkdir input
+ cat
+ mkdir virtualenv/
+ rsync -va /var/lib/jenkins/share/eutester-base/ virtualenv/
+ cd repo
+ ../virtualenv/bin/python setup.py install
+ ../virtualenv/bin/python testcases/cloud_admin/install_eustore_image.py --config ../input/cloud.conf --password pink4all
setuptestname:None
setup_debugmethod:
testcasename:None
log_level:None
logfile:None
logfile_level:debug
Starting setup_debugmethod, name:install_eustore_image
After populating... setup_debugmethod: testcasename:Nonelog_level:debuglogfile:Nonelogfile_level:debug
[2013-12-16 23:31:16,850] [install_eustore_image] [DEBUG]: install_eustore_image: Eulogger init test message. Init complete
[2013-12-16 23:31:16,855] [install_eustore_image] [DEBUG]: (setuptestcase:335): <pre>
[2013-12-16 23:31:16,859] [install_eustore_image] [DEBUG]: (show_self:1304):
-------------------------------------------------------------------------
TESTCASE INFO:
----------
NAME: --->: install_eustore_image
TEST LIST: --->: []
CONFIG FILES: --->: []
-------------------------------------------------------------------------
[2013-12-16 23:31:16,864] [install_eustore_image] [DEBUG]: (show_args:1325):
-------------------------------------------------------------------------
TEST ARGS: VALUE:
---------- ------
debug_method --->: <bound method TestEustoreImage.debug of <__main__.TestEustoreImage testMethod=install_eustore_image>>
logger --->: <eutester.eulogger.Eulogger object at 0x1abc250>
-------------------------------------------------------------------------
Creating/updating section: DEFAULTS
Adding section:DEFAULTS
setup_debugmethod:
testcasename:None
log_level:None
logfile:None
logfile_level:None
Starting setup_debugmethod, name:install_eustore_image
After populating... setup_debugmethod: testcasename:Nonelog_level:debuglogfile:Nonelogfile_level:debug
[2013-12-16 23:31:16,866] [install_eustore_image] [DEBUG]: install_eustore_image: Eulogger init test message. Init complete
[2013-12-16 23:31:16,871] [install_eustore_image] [DEBUG]: (show_self:1304):
-------------------------------------------------------------------------
TESTCASE INFO:
----------
NAME: --->: install_eustore_image
TEST LIST: --->: []
CONFIG FILES: --->: ['../input/cloud.conf']
-------------------------------------------------------------------------
[2013-12-16 23:31:16,875] [install_eustore_image] [DEBUG]: (show_args:1325):
-------------------------------------------------------------------------
TEST ARGS: VALUE:
---------- ------
args --->: Namespace(config='../input/cloud.conf', config_file='../input/cloud.conf', configblocks=[], configfile='../input/cloud.conf', configsections=['MEMO', 'globals', 'install_eustore_image'], cred_path=None, credpath=None, emi=None, html_anchors=False, ignoreblocks=[], img_repo=None, instance_passsword=None, instance_user='root', keypair=None, log_level='debug', logfile=None, logfile_level='debug', password='pink4all', region=None, tests=[], use_color=False, user_data=None, vmtype='c1.medium', zone=None)
config --->: ../input/cloud.conf
config_file --->: ../input/cloud.conf
configblocks --->: []
configfile --->: ../input/cloud.conf
configsections --->: ['MEMO', 'globals', 'install_eustore_image']
cred_path --->: None
credpath --->: None
debug_method --->: <bound method TestEustoreImage.debug of <__main__.TestEustoreImage testMethod=install_eustore_image>>
emi --->: None
html_anchors --->: False
ignoreblocks --->: []
img_repo --->: None
instance_passsword --->: None
instance_user --->: root
keypair --->: None
log_level --->: debug
logfile --->: None
logfile_level --->: debug
logger --->: <eutester.eulogger.Eulogger object at 0x1abca90>
password --->: pink4all
region --->: None
tests --->: []
use_color --->: False
user_data --->: None
vmtype --->: c1.medium
zone --->: None
-------------------------------------------------------------------------
[2013-12-16 23:31:16,876] [EUCAOPS] [DEBUG]: EUCAOPS: Eulogger init test message. Init complete
[2013-12-16 23:31:16,876] [EUCAOPS] [DEBUG]: Reading config file: ../input/cloud.conf
No config sections for:../input/cloud.conf
[2013-12-16 23:31:16,877] [192.168.1.151:['ui', 'clc', 'ws']] [DEBUG]: 192.168.1.151:['ui', 'clc', 'ws']: Eulogger init test message. Init complete
[2013-12-16 23:31:16,877] [192.168.1.151:['ui', 'clc', 'ws']] [DEBUG]: SSH connection has hostname:192.168.1.151 user:root password:p******l
[2013-12-16 23:31:16,983] [192.168.1.151:['ui', 'clc', 'ws']] [DEBUG]: SSH connection attempt(1 of 3), host:'root@192.168.1.151', using ipv4:192.168.1.151, thru proxy:'None'
[2013-12-16 23:31:17,086] [192.168.1.151:['ui', 'clc', 'ws']] [DEBUG]: SSH - Connected to 192.168.1.151
Creating/updating section: eucalyptus_conf
Adding section:eucalyptus_conf
[2013-12-16 23:31:17,594] [192.168.1.151:['cc00', 'sc00']] [DEBUG]: 192.168.1.151:['cc00', 'sc00']: Eulogger init test message. Init complete
[2013-12-16 23:31:17,595] [192.168.1.151:['cc00', 'sc00']] [DEBUG]: SSH connection has hostname:192.168.1.151 user:root password:p******l
[2013-12-16 23:31:17,686] [192.168.1.151:['cc00', 'sc00']] [DEBUG]: SSH connection attempt(1 of 3), host:'root@192.168.1.151', using ipv4:192.168.1.151, thru proxy:'None'
[2013-12-16 23:31:17,822] [192.168.1.151:['cc00', 'sc00']] [DEBUG]: SSH - Connected to 192.168.1.151
Creating/updating section: eucalyptus_conf
Adding section:eucalyptus_conf
[2013-12-16 23:31:18,350] [EUCAOPS] [DEBUG]: Attempting to get credentials and setup sftp
[2013-12-16 23:31:18,372] [EUCAOPS] [DEBUG]: Starting the process of getting credentials
[2013-12-16 23:31:18,373] [192.168.1.151:['ui', 'clc', 'ws']] [DEBUG]: [root@192.168.1.151]# mkdir eucarc-192.168.1.151-eucalyptus-admin
[2013-12-16 23:31:18,433] [192.168.1.151:['ui', 'clc', 'ws']] [DEBUG]:
mkdir: cannot create directory `eucarc-192.168.1.151-eucalyptus-admin': File exists
[2013-12-16 23:31:18,433] [192.168.1.151:['ui', 'clc', 'ws']] [DEBUG]: done with exec
[2013-12-16 23:31:18,433] [192.168.1.151:['ui', 'clc', 'ws']] [DEBUG]: [root@192.168.1.151]# rm -f eucarc-192.168.1.151-eucalyptus-admin/creds.zip
[2013-12-16 23:31:18,499] [192.168.1.151:['ui', 'clc', 'ws']] [DEBUG]:
[2013-12-16 23:31:18,499] [192.168.1.151:['ui', 'clc', 'ws']] [DEBUG]: done with exec
[2013-12-16 23:31:18,499] [192.168.1.151:['ui', 'clc', 'ws']] [DEBUG]: [root@192.168.1.151]# /opt/eucalyptus/usr/sbin/euca_conf --get-credentials eucarc-192.168.1.151-eucalyptus-admin/creds.zip --cred-user admin --cred-account eucalyptus
[2013-12-16 23:31:18,569] [192.168.1.151:['ui', 'clc', 'ws']] [DEBUG]:
bash: /opt/eucalyptus/usr/sbin/euca_conf: No such file or directory
[2013-12-16 23:31:18,570] [192.168.1.151:['ui', 'clc', 'ws']] [DEBUG]: done with exec
[2013-12-16 23:31:18,570] [192.168.1.151:['ui', 'clc', 'ws']] [DEBUG]: [root@192.168.1.151]# unzip -o eucarc-192.168.1.151-eucalyptus-admin/creds.zip -d eucarc-192.168.1.151-eucalyptus-admin
[2013-12-16 23:31:18,648] [192.168.1.151:['ui', 'clc', 'ws']] [DEBUG]:
unzip: cannot find or open eucarc-192.168.1.151-eucalyptus-admin/creds.zip, eucarc-192.168.1.151-eucalyptus-admin/creds.zip.zip or eucarc-192.168.1.151-eucalyptus-admin/creds.zip.ZIP.
[2013-12-16 23:31:18,648] [192.168.1.151:['ui', 'clc', 'ws']] [DEBUG]: done with exec
[2013-12-16 23:31:18,649] [EUCAOPS] [DEBUG]: Downloading credentials from 192.168.1.151, path:eucarc-192.168.1.151-eucalyptus-admin/creds.zip
[2013-12-16 23:31:18,660] [EUCAOPS] [DEBUG]: Caught an exception when getting credentials from first CLC: [Errno 2] No such file
Traceback (most recent call last):
File "testcases/cloud_admin/install_eustore_image.py", line 40, in <module>
testcase = TestEustoreImage()
File "testcases/cloud_admin/install_eustore_image.py", line 15, in __init__
self.tester = Eucaops( config_file=self.args.config,password=self.args.password)
File "/var/lib/jenkins/jenkins-install eustore image-16/virtualenv/lib/python2.6/site-packages/eutester-0.0.8-py2.6.egg/eucaops/__init__.py", line 121, in __init__
raise Exception(str(tb) + "\nCould not get credentials from first CLC and no other to try")
Exception: Traceback (most recent call last):
File "/var/lib/jenkins/jenkins-install eustore image-16/virtualenv/lib/python2.6/site-packages/eutester-0.0.8-py2.6.egg/eucaops/__init__.py", line 114, in __init__
self.credpath = self.get_credentials(account,user)
File "/var/lib/jenkins/jenkins-install eustore image-16/virtualenv/lib/python2.6/site-packages/eutester-0.0.8-py2.6.egg/eucaops/__init__.py", line 604, in get_credentials
self.download_creds_from_clc(admin_cred_dir)
File "/var/lib/jenkins/jenkins-install eustore image-16/virtualenv/lib/python2.6/site-packages/eutester-0.0.8-py2.6.egg/eucaops/__init__.py", line 630, in download_creds_from_clc
self.sftp.get(admin_cred_dir + "/creds.zip" , admin_cred_dir + "/creds.zip")
File "build/bdist.linux-x86_64/egg/paramiko/sftp_client.py", line 673, in get
file_size = self.stat(remotepath).st_size
File "build/bdist.linux-x86_64/egg/paramiko/sftp_client.py", line 337, in stat
t, msg = self._request(CMD_STAT, path)
File "build/bdist.linux-x86_64/egg/paramiko/sftp_client.py", line 689, in _request
return self._read_response(num)
File "build/bdist.linux-x86_64/egg/paramiko/sftp_client.py", line 736, in _read_response
self._convert_status(msg)
File "build/bdist.linux-x86_64/egg/paramiko/sftp_client.py", line 762, in _convert_status
raise IOError(errno.ENOENT, text)
IOError: [Errno 2] No such file
Could not get credentials from first CLC and no other to try
Build step 'Execute shell' marked build as failure
Deleting project workspace...
done
Finished: FAILURE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment