Skip to content

Instantly share code, notes, and snippets.

@harlowja
Created September 29, 2016 22:08
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 harlowja/62315edad713304076f35ff40ac9c4f1 to your computer and use it in GitHub Desktop.
Save harlowja/62315edad713304076f35ff40ac9c4f1 to your computer and use it in GitHub Desktop.
$ remote_tester
----------------------------------------------------------------------
Connecting to jxharlow@testr-1.cloud.phx3.gdg...
Tarring up /Users/jxharlow/Dev/cloud-test -> /var/folders/xj/fl7mwgh55hxclltynvxr4k9jp5tcyl/T/tmp3O05tY.cloud-test.tar...
Removing old /home/jxharlow/cloud-test...
Copying /var/folders/xj/fl7mwgh55hxclltynvxr4k9jp5tcyl/T/tmp3O05tY.cloud-test.tar to /home/jxharlow/cloud-test/tmp3O05tY.cloud-test.tar...
Extracting /home/jxharlow/cloud-test/tmp3O05tY.cloud-test.tar...
Running tox with venv py27...
----------------------------------------------------------------------
GLOB sdist-make: /home/jxharlow/cloud-test/setup.py
py27 create: /home/jxharlow/cloud-test/.tox/py27
py27 installdeps: -r/home/jxharlow/cloud-test/test-requirements.txt, -r/home/jxharlow/cloud-test/requirements.txt
py27 inst: /home/jxharlow/cloud-test/.tox/dist/cloud-init-0.7.8.zip
py27 runtests: commands[0] | python -m nose tests
|...................SSSS/...-...\....|........................./...........-...............\.................................|...................../..................-......................\...|.........../..............-.....\.|....../....-..\..........................|............./.....-....\.................................................|...../......................./home/jxharlow/cloud-test/.tox/py27/lib/python2.7/site-packages/Cheetah/Compiler.py:1509: UserWarning:
You don't have the C version of NameMapper installed! I'm disabling Cheetah's useStackFrames option as it is painfully slow with the Python version of NameMapper. You should get a copy of Cheetah with the compiled C version of NameMapper.
"\nYou don't have the C version of NameMapper installed! "
....-..........................\.......F...............................|..................................../..................................-....................................................................\..............|.........../-..................................................\.....................................................................|............
======================================================================
FAIL: test_apt_v3_mirror_search_dns - Test searching dns patterns
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/jxharlow/cloud-test/tests/unittests/test_handler/test_handler_apt_source_v3.py", line 986, in test_apt_v3_mirror_search_dns
mockse.assert_has_calls(calls)
File "/home/jxharlow/cloud-test/.tox/py27/lib/python2.7/site-packages/mock/mock.py", line 969, in assert_has_calls
), cause)
File "/home/jxharlow/cloud-test/.tox/py27/lib/python2.7/site-packages/six.py", line 718, in raise_from
raise value
AssertionError: Calls not found.
Expected: [call(None),
call(['http://ubuntu-mirror.localdomain/ubuntu', 'http://ubuntu-mirror/ubuntu']),
call(None),
call(['http://ubuntu-security-mirror.localdomain/ubuntu', 'http://ubuntu-security-mirror/ubuntu'])]
Actual: [call(None),
call(['http://ubuntu-mirror.cloud.phx3.gdg/ubuntu', 'http://ubuntu-mirror.localdomain/ubuntu', 'http://ubuntu-mirror/ubuntu']),
call(None),
call(['http://ubuntu-security-mirror.cloud.phx3.gdg/ubuntu', 'http://ubuntu-security-mirror.localdomain/ubuntu', 'http://ubuntu-security-mirror/ubuntu'])]
-------------------- >> begin captured logging << --------------------
tests.unittests.test_handler.test_handler_apt_configure_sources_list_v3: DEBUG: got primary mirror: http://mocked/foo
tests.unittests.test_handler.test_handler_apt_configure_sources_list_v3: DEBUG: got security mirror: http://mocked/foo
tests.unittests.test_handler.test_handler_apt_configure_sources_list_v3: DEBUG: got primary mirror: http://mocked/foo
tests.unittests.test_handler.test_handler_apt_configure_sources_list_v3: DEBUG: got security mirror: http://mocked/foo
cloudinit.util: DEBUG: Reading from /tmp/tmpDOeVX6/etc/hosts (quiet=False)
cloudinit.util: DEBUG: Reading from /tmp/tmpDOeVX6/etc/hosts (quiet=False)
tests.unittests.test_handler.test_handler_apt_configure_sources_list_v3: DEBUG: got primary mirror: phit
cloudinit.util: DEBUG: Reading from /tmp/tmpDOeVX6/etc/hosts (quiet=False)
cloudinit.util: DEBUG: Reading from /tmp/tmpDOeVX6/etc/hosts (quiet=False)
tests.unittests.test_handler.test_handler_apt_configure_sources_list_v3: DEBUG: got security mirror: shit
--------------------- >> end captured logging << ---------------------
----------------------------------------------------------------------
Ran 748 tests in 3.723s
FAILED (SKIP=5, failures=1)
ERROR: InvocationError: '/home/jxharlow/cloud-test/.tox/py27/bin/python -m nose tests'
___________________________________ summary ____________________________________
ERROR: py27: commands failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment