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
Running tempest with a custom regex filter | |
all create: /opt/stack/new/tempest/.tox/all | |
all installdeps: setuptools, -r/opt/stack/new/tempest/requirements.txt | |
all develop-inst: /opt/stack/new/tempest | |
all runtests: PYTHONHASHSEED='2094521146' | |
all runtests: commands[0] | find . -type f -name *.pyc -delete | |
all runtests: commands[1] | bash tools/pretty_tox.sh --concurrency=1 tempest.api.compute.servers.test_ | |
{0} setUpClass (tempest.api.compute.servers.test_attach_interfaces.AttachInterfacesTestJSON) ... SKIPPED: Neutron is required | |
{0} tempest.api.compute.servers.test_availability_zone.AZV2TestJSON.test_get_availability_zone_list_with_non_admin_user [0.190882s] ... ok | |
{0} tempest.api.compute.servers.test_create_server.ServersTestJSON.test_create_server_with_scheduler_hint_group [5.155298s] ... ok |
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
$ dmesg | |
[ 0.000000] Initializing cgroup subsys cpuset | |
[ 0.000000] Initializing cgroup subsys cpu | |
[ 0.000000] Initializing cgroup subsys cpuacct | |
[ 0.000000] Linux version 3.13.0-43-generic (buildd@tipua) (gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1) ) #72-Ubuntu SMP Mon Dec 8 19:35:06 UTC 2014 (Ubuntu 3.13.0-43.72-generic 3.13.11.11) | |
[ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-3.13.0-43-generic root=/dev/xvda1 ro splash quiet vt.handoff=7 | |
[ 0.000000] KERNEL supported cpus: | |
[ 0.000000] Intel GenuineIntel | |
[ 0.000000] AMD AuthenticAMD | |
[ 0.000000] Centaur CentaurHauls |
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
============================== | |
Failed 1 tests - output below: | |
============================== | |
tempest.api.compute.servers.test_disk_config.ServerDiskConfigTestJSON.test_rebuild_server_with_auto_disk_config[gate] | |
--------------------------------------------------------------------------------------------------------------------- | |
Captured traceback: | |
~~~~~~~~~~~~~~~~~~~ | |
Traceback (most recent call last): |
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') |
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
#! /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
#! /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 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
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
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}' )\" }" |