Skip to content

Instantly share code, notes, and snippets.

@jwasinger
Created January 7, 2015 23:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jwasinger/f1b311d002a5d26ca956 to your computer and use it in GitHub Desktop.
Save jwasinger/f1b311d002a5d26ca956 to your computer and use it in GitHub Desktop.
======================================================================
ERROR: Test that adding data triggers a rebuild
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/jared/projects/cyder/cyder/cydhcp/build/tests/build_tests.py", line 66, in test_build_and_push
self.builder.build()
File "/home/jared/projects/cyder/cyder/cydhcp/build/builder.py", line 114, in build
self.check_syntax()
File "/home/jared/projects/cyder/cyder/cydhcp/build/builder.py", line 140, in check_syntax
self.dhcpd, os.path.join(self.stage_dir, self.check_file)
File "/home/jared/projects/cyder/cyder/base/utils.py", line 55, in run_command
out, err, returncode = shell_out(command)
File "/home/jared/projects/cyder/cyder/base/utils.py", line 34, in shell_out
stdout=subprocess.PIPE)
File "/usr/lib/python2.7/subprocess.py", line 709, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1326, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
======================================================================
ERROR: Test that the sanity check fails when too many lines are changed
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/jared/projects/cyder/cyder/cydhcp/build/tests/build_tests.py", line 98, in test_sanity_check1
self.builder.build()
File "/home/jared/projects/cyder/cyder/cydhcp/build/builder.py", line 114, in build
self.check_syntax()
File "/home/jared/projects/cyder/cyder/cydhcp/build/builder.py", line 140, in check_syntax
self.dhcpd, os.path.join(self.stage_dir, self.check_file)
File "/home/jared/projects/cyder/cyder/base/utils.py", line 55, in run_command
out, err, returncode = shell_out(command)
File "/home/jared/projects/cyder/cyder/base/utils.py", line 34, in shell_out
stdout=subprocess.PIPE)
File "/usr/lib/python2.7/subprocess.py", line 709, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1326, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
======================================================================
ERROR: Test that the sanity check fails when too many lines are removed
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/jared/projects/cyder/cyder/cydhcp/build/tests/build_tests.py", line 118, in test_sanity_check2
self.builder.build()
File "/home/jared/projects/cyder/cyder/cydhcp/build/builder.py", line 114, in build
self.check_syntax()
File "/home/jared/projects/cyder/cyder/cydhcp/build/builder.py", line 140, in check_syntax
self.dhcpd, os.path.join(self.stage_dir, self.check_file)
File "/home/jared/projects/cyder/cyder/base/utils.py", line 55, in run_command
out, err, returncode = shell_out(command)
File "/home/jared/projects/cyder/cyder/base/utils.py", line 34, in shell_out
stdout=subprocess.PIPE)
File "/usr/lib/python2.7/subprocess.py", line 709, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1326, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
======================================================================
ERROR: Test that the sanity check succeeds when changes are sane
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/jared/projects/cyder/cyder/cydhcp/build/tests/build_tests.py", line 134, in test_sanity_check3
self.builder.build()
File "/home/jared/projects/cyder/cyder/cydhcp/build/builder.py", line 114, in build
self.check_syntax()
File "/home/jared/projects/cyder/cyder/cydhcp/build/builder.py", line 140, in check_syntax
self.dhcpd, os.path.join(self.stage_dir, self.check_file)
File "/home/jared/projects/cyder/cyder/base/utils.py", line 55, in run_command
out, err, returncode = shell_out(command)
File "/home/jared/projects/cyder/cyder/base/utils.py", line 34, in shell_out
stdout=subprocess.PIPE)
File "/usr/lib/python2.7/subprocess.py", line 709, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1326, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
======================================================================
ERROR: Detail view.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/jared/projects/cyder/cyder/base/tests/test_views_base.py", line 177, in test_detail_get
follow=True)
File "/home/jared/projects/cyder/.env/local/lib/python2.7/site-packages/django/test/client.py", line 439, in get
response = super(Client, self).get(path, data=data, **extra)
File "/home/jared/projects/cyder/.env/local/lib/python2.7/site-packages/django/test/client.py", line 244, in get
return self.request(**r)
File "/home/jared/projects/cyder/.env/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 111, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/home/jared/projects/cyder/cyder/cydhcp/network/views.py", line 16, in network_detail
}, obj=network)
File "/home/jared/projects/cyder/cyder/base/views.py", line 344, in cy_detail
}.items() + kwargs.items()))
File "/home/jared/projects/cyder/.env/local/lib/python2.7/site-packages/django/shortcuts/__init__.py", line 44, in render
return HttpResponse(loader.render_to_string(*args, **kwargs),
File "/home/jared/projects/cyder/.env/local/lib/python2.7/site-packages/django/template/loader.py", line 176, in render_to_string
return t.render(context_instance)
File "/home/jared/projects/cyder/vendor/src/jingo/jingo/__init__.py", line 189, in render
return super(Template, self).render(context_dict)
File "/home/jared/projects/cyder/.env/local/lib/python2.7/site-packages/jinja2/environment.py", line 891, in render
return self.environment.handle_exception(exc_info, True)
File "/home/jared/projects/cyder/cyder/templates/network/network_detail.html", line 3, in top-level template code
{% from "base/utility.html" import create_button %}
File "/home/jared/projects/cyder/cyder/templates/cydhcp/cydhcp_detail.html", line 1, in top-level template code
{% extends "base/detail.html" %}
File "/home/jared/projects/cyder/cyder/templates/base/detail.html", line 4, in top-level template code
{% set obj_type_perm = request.user.get_profile().has_perm(request, 2, obj=obj) %}
File "/home/jared/projects/cyder/cyder/templates/base/base.html", line 131, in top-level template code
{% block extra_action_bar %}{% endblock %}
File "/home/jared/projects/cyder/cyder/templates/network/network_detail.html", line 15, in block "extra_action_bar"
<a class="btn" href="{{ url('build-network', obj.pk) }}">DHCP Build Output</a>
File "/home/jared/projects/cyder/vendor/src/jingo/jingo/__init__.py", line 138, in wrapper
return f(*args, **kw)
File "/home/jared/projects/cyder/vendor/src/jingo/jingo/helpers.py", line 82, in url
return reverse(viewname, args=args, kwargs=kwargs)
File "/home/jared/projects/cyder/.env/local/lib/python2.7/site-packages/django/core/urlresolvers.py", line 476, in reverse
return iri_to_uri(resolver._reverse_with_prefix(view, prefix, *args, **kwargs))
File "/home/jared/projects/cyder/.env/local/lib/python2.7/site-packages/django/core/urlresolvers.py", line 396, in _reverse_with_prefix
"arguments '%s' not found." % (lookup_view_s, args, kwargs))
NoReverseMatch: Reverse for 'build-network' with arguments '(Undefined,)' and keyword arguments '{}' not found.
======================================================================
ERROR: Test that the build queue works
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/jared/projects/cyder/cyder/cydns/cybind/tests/build_tests.py", line 87, in test_build_queue
self.builder.build(force=True)
File "/home/jared/projects/cyder/cyder/cydns/cybind/builder.py", line 492, in build
self.error()
File "/home/jared/projects/cyder/cyder/cydns/cybind/builder.py", line 488, in build
force=force))
File "/home/jared/projects/cyder/cyder/cydns/cybind/builder.py", line 420, in build_zone_files
root_domain)
File "/home/jared/projects/cyder/cyder/cydns/cybind/builder.py", line 180, in run_checkzone
.format(root_domain.name)
File "/home/jared/projects/cyder/cyder/cydns/cybind/builder.py", line 93, in run_command
failure_msg=failure_msg)
File "/home/jared/projects/cyder/cyder/base/utils.py", line 55, in run_command
out, err, returncode = shell_out(command)
File "/home/jared/projects/cyder/cyder/base/utils.py", line 34, in shell_out
stdout=subprocess.PIPE)
File "/usr/lib/python2.7/subprocess.py", line 709, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1326, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
======================================================================
ERROR: Test that the 'force' argument works
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/jared/projects/cyder/cyder/cydns/cybind/tests/build_tests.py", line 66, in test_force
self.builder.build(force=True)
File "/home/jared/projects/cyder/cyder/cydns/cybind/builder.py", line 492, in build
self.error()
File "/home/jared/projects/cyder/cyder/cydns/cybind/builder.py", line 488, in build
force=force))
File "/home/jared/projects/cyder/cyder/cydns/cybind/builder.py", line 420, in build_zone_files
root_domain)
File "/home/jared/projects/cyder/cyder/cydns/cybind/builder.py", line 180, in run_checkzone
.format(root_domain.name)
File "/home/jared/projects/cyder/cyder/cydns/cybind/builder.py", line 93, in run_command
failure_msg=failure_msg)
File "/home/jared/projects/cyder/cyder/base/utils.py", line 55, in run_command
out, err, returncode = shell_out(command)
File "/home/jared/projects/cyder/cyder/base/utils.py", line 34, in shell_out
stdout=subprocess.PIPE)
File "/usr/lib/python2.7/subprocess.py", line 709, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1326, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
======================================================================
ERROR: Test that the sanity check fails when too many lines are changed
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/jared/projects/cyder/cyder/cydns/cybind/tests/build_tests.py", line 108, in test_sanity_check1
self.builder.build(force=True)
File "/home/jared/projects/cyder/cyder/cydns/cybind/builder.py", line 492, in build
self.error()
File "/home/jared/projects/cyder/cyder/cydns/cybind/builder.py", line 488, in build
force=force))
File "/home/jared/projects/cyder/cyder/cydns/cybind/builder.py", line 420, in build_zone_files
root_domain)
File "/home/jared/projects/cyder/cyder/cydns/cybind/builder.py", line 180, in run_checkzone
.format(root_domain.name)
File "/home/jared/projects/cyder/cyder/cydns/cybind/builder.py", line 93, in run_command
failure_msg=failure_msg)
File "/home/jared/projects/cyder/cyder/base/utils.py", line 55, in run_command
out, err, returncode = shell_out(command)
File "/home/jared/projects/cyder/cyder/base/utils.py", line 34, in shell_out
stdout=subprocess.PIPE)
File "/usr/lib/python2.7/subprocess.py", line 709, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1326, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
======================================================================
ERROR: Test that the sanity check fails when too many lines are removed
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/jared/projects/cyder/cyder/cydns/cybind/tests/build_tests.py", line 133, in test_sanity_check2
self.builder.build(force=True)
File "/home/jared/projects/cyder/cyder/cydns/cybind/builder.py", line 492, in build
self.error()
File "/home/jared/projects/cyder/cyder/cydns/cybind/builder.py", line 488, in build
force=force))
File "/home/jared/projects/cyder/cyder/cydns/cybind/builder.py", line 420, in build_zone_files
root_domain)
File "/home/jared/projects/cyder/cyder/cydns/cybind/builder.py", line 180, in run_checkzone
.format(root_domain.name)
File "/home/jared/projects/cyder/cyder/cydns/cybind/builder.py", line 93, in run_command
failure_msg=failure_msg)
File "/home/jared/projects/cyder/cyder/base/utils.py", line 55, in run_command
out, err, returncode = shell_out(command)
File "/home/jared/projects/cyder/cyder/base/utils.py", line 34, in shell_out
stdout=subprocess.PIPE)
File "/usr/lib/python2.7/subprocess.py", line 709, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1326, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
======================================================================
ERROR: Test that the sanity check succeeds when changes are sane
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/jared/projects/cyder/cyder/cydns/cybind/tests/build_tests.py", line 150, in test_sanity_check3
self.builder.build(force=True)
File "/home/jared/projects/cyder/cyder/cydns/cybind/builder.py", line 492, in build
self.error()
File "/home/jared/projects/cyder/cyder/cydns/cybind/builder.py", line 488, in build
force=force))
File "/home/jared/projects/cyder/cyder/cydns/cybind/builder.py", line 420, in build_zone_files
root_domain)
File "/home/jared/projects/cyder/cyder/cydns/cybind/builder.py", line 180, in run_checkzone
.format(root_domain.name)
File "/home/jared/projects/cyder/cyder/cydns/cybind/builder.py", line 93, in run_command
failure_msg=failure_msg)
File "/home/jared/projects/cyder/cyder/base/utils.py", line 55, in run_command
out, err, returncode = shell_out(command)
File "/home/jared/projects/cyder/cyder/base/utils.py", line 34, in shell_out
stdout=subprocess.PIPE)
File "/usr/lib/python2.7/subprocess.py", line 709, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1326, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
----------------------------------------------------------------------
Ran 784 tests in 208.866s
FAILED (SKIP=1, errors=10)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment