This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Setting up puppet-common (3.7.3-1puppetlabs1) ... | |
Setting up puppet (3.7.3-1puppetlabs1) ... | |
* Starting puppet agent | |
puppet not configured to start, please edit /etc/default/puppet to enable | |
...done. | |
Processing triggers for libc-bin (2.19-0ubuntu6.4) ... | |
Processing triggers for ureadahead (0.100.0-16) ... | |
Warning: Setting templatedir is deprecated. See http://links.puppetlabs.com/env-settings-deprecations | |
(at /usr/lib/ruby/vendor_ruby/puppet/settings.rb:1139:in `issue_deprecation_warning') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2014-12-04 09:48:35,667 INFO [SSH] Connecting to [email protected]:22 with keyfile ./id_rsa | |
2014-12-04 09:48:50,746 ERROR [paramiko.transport] Exception: Error reading SSH protocol banner | |
2014-12-04 09:48:50,751 ERROR [paramiko.transport] Traceback (most recent call last): | |
2014-12-04 09:48:50,752 ERROR [paramiko.transport] File "/usr/local/lib/python2.7/dist-packages/paramiko/transport.py", line 1412, in run | |
2014-12-04 09:48:50,752 ERROR [paramiko.transport] self._check_banner() | |
2014-12-04 09:48:50,753 ERROR [paramiko.transport] File "/usr/local/lib/python2.7/dist-packages/paramiko/transport.py", line 1539, in _check_banner | |
2014-12-04 09:48:50,754 ERROR [paramiko.transport] raise SSHException('Error reading SSH protocol banner' + str(e)) | |
2014-12-04 09:48:50,755 ERROR [paramiko.transport] SSHException: Error reading SSH protocol banner | |
2014-12-04 09:48:50,756 ERROR [paramiko.transport] | |
2014-12-04 09:48:50,759 ERROR [SSH] Remote execution error: Error reading SSH protocol banner |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env bash | |
# Upgrade the server, install git, update the system clock, set up a | |
# "jenkins" account, add user "jenkins" to sudoers, install pip packages, | |
# add tox via pip (because the packaged version is too old) and reboot to | |
# make sure you're running a current kernel: | |
apt-get update --fix-missing | |
export DEBIAN_FRONTEND=noninteractive | |
echo "debconf debconf/frontend select Noninteractive" | debconf-set-selections | |
apt-get upgrade -o Dpkg::Options::="--force-confnew" --assume-yes --fix-missing |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
puppet apply --modulepath=/root/system-config/modules:/etc/puppet/modules -e \ | |
"class { openstack_project::single_use_slave: install_users => false, ssh_key => \"$( cat /root/.ssh/id_rsa.pub | awk '{print $2}' )\" }" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def wait_for_devstack_gate_to_finish(server): | |
limit = time.time() + 30000 | |
try: | |
while time.time() < limit: | |
time.sleep(20) | |
result = '' | |
try: | |
result = remote(server, user='jenkins', command='[[ -f /tmp/gate-finished ]] && echo done') | |
except Exception as ex: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env ruby | |
require 'pony' | |
def send_email(to, from, subject, message, attachment=nil) | |
begin | |
content = open(attachment, 'rb') { |io| io.read } | |
basename = File.basename(attachment) | |
puts basename | |
mail = Pony.mail( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env jruby | |
require 'pony' | |
def send_email(to, from, subject, message='', attachment=nil) | |
begin | |
options = { | |
:via => :smtp, | |
:via_options => { | |
:address => 'smtp.gmail.com', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env jruby | |
require 'mail' | |
require 'optparse' | |
require 'pony' | |
require 'securerandom' | |
require 'zlib' | |
module Mail | |
class AttachmentsList < Array |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Details: {u'code': 500, u'message': u'No valid host was found. There are not enough hosts available.', u'created': u'2014-12-15T19:09:33Z'} | |
====== | |
Totals | |
====== | |
Run: 64 in 869.690254 sec. | |
- Passed: 29 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
setUpClass (tempest.api.compute.servers.test_servers_negative.ServersNegativeTestJSON) | |
-------------------------------------------------------------------------------------- | |
Captured traceback: | |
~~~~~~~~~~~~~~~~~~~ | |
Traceback (most recent call last): | |
File "tempest/test.py", line 274, in setUpClass | |
cls.resource_setup() | |
File "tempest/api/compute/servers/test_servers_negative.py", line 50, in resource_setup | |
resp, server = cls.create_test_server(wait_until='ACTIVE') |