user@debian-unstable:~/cloud-init$ tox -e py27 GLOB sdist-make: /home/user/cloud-init/setup.py py27 inst-nodeps: /home/user/cloud-init/.tox/dist/cloud-init-0.7.9.zip py27 installed: certifi==2017.4.17,chardet==3.0.4,cloud-init==0.7.9,configobj==5.0.6,contextlib2==0.5.5,coverage==4.4.1,funcsigs==1.0.2,functools32==3.2.3.post2,httpretty==0.8.14,idna==2.5,Jinja2==2.9.6,jsonpatch==1.16,jsonpointer==1.10,jsonschema==2.6.0,linecache2==1.0.0,MarkupSafe==1.0,mock==2.0.0,nose==1.3.7,oauthlib==2.0.2,pbr==3.1.1,pkg-resources==0.0.0,prettytable==0.7.2,PyYAML==3.12,requests==2.18.1,six==1.10.0,traceback2==1.4.0,unittest2==1.1.0,urllib3==1.21.1 py27 runtests: PYTHONHASHSEED='1463543265' py27 runtests: commands[0] | python -m nose tests/unittests ......................SSSSS...........................................................................................................................................................................................................F..............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................S..................................................................................... ====================================================================== FAIL: test_get_data_returns_false_if_not_on_gce (tests.unittests.test_datasource.test_gce.TestDataSourceGCE) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/user/cloud-init/.tox/py27/local/lib/python2.7/site-packages/httpretty/core.py", line 1146, in wrapper return test(*args, **kw) File "/home/user/cloud-init/tests/unittests/test_datasource/test_gce.py", line 168, in test_get_data_returns_false_if_not_on_gce self.assertEqual(False, self.ds.get_data()) AssertionError: False != True -------------------- >> begin captured logging << -------------------- cloudinit.url_helper: DEBUG: [0/1] open 'http://metadata.google.internal/computeMetadata/v1/instance/id' with {'headers': {'User-Agent': 'Cloud-Init/0.7.9', 'X-Google-Metadata-Request': 'True'}, 'url': 'http://metadata.google.internal/computeMetadata/v1/instance/id', 'method': 'GET', 'allow_redirects': True} configuration urllib3.connectionpool: DEBUG: Starting new HTTP connection (1): metadata.google.internal urllib3.connectionpool: DEBUG: http://metadata.google.internal:80 "GET /computeMetadata/v1/instance/id HTTP/1.1" 302 154 urllib3.connectionpool: DEBUG: Starting new HTTP connection (1): ricerca.wind.it urllib3.connectionpool: DEBUG: http://ricerca.wind.it:80 "GET /?missingurl=metadata.google.internal HTTP/1.1" 200 None cloudinit.url_helper: DEBUG: Read from http://metadata.google.internal/computeMetadata/v1/instance/id (200, 14315b) after 1 attempts cloudinit.url_helper: DEBUG: [0/1] open 'http://metadata.google.internal/computeMetadata/v1/instance/zone' with {'headers': {'User-Agent': 'Cloud-Init/0.7.9', 'X-Google-Metadata-Request': 'True'}, 'url': 'http://metadata.google.internal/computeMetadata/v1/instance/zone', 'method': 'GET', 'allow_redirects': True} configuration urllib3.connectionpool: DEBUG: Starting new HTTP connection (1): metadata.google.internal urllib3.connectionpool: DEBUG: http://metadata.google.internal:80 "GET /computeMetadata/v1/instance/zone HTTP/1.1" 302 154 urllib3.connectionpool: DEBUG: Starting new HTTP connection (1): ricerca.wind.it urllib3.connectionpool: DEBUG: http://ricerca.wind.it:80 "GET /?missingurl=metadata.google.internal HTTP/1.1" 200 None cloudinit.url_helper: DEBUG: Read from http://metadata.google.internal/computeMetadata/v1/instance/zone (200, 14315b) after 1 attempts cloudinit.url_helper: DEBUG: [0/1] open 'http://metadata.google.internal/computeMetadata/v1/instance/hostname' with {'headers': {'User-Agent': 'Cloud-Init/0.7.9', 'X-Google-Metadata-Request': 'True'}, 'url': 'http://metadata.google.internal/computeMetadata/v1/instance/hostname', 'method': 'GET', 'allow_redirects': True} configuration urllib3.connectionpool: DEBUG: Starting new HTTP connection (1): metadata.google.internal urllib3.connectionpool: DEBUG: http://metadata.google.internal:80 "GET /computeMetadata/v1/instance/hostname HTTP/1.1" 302 154 urllib3.connectionpool: DEBUG: Starting new HTTP connection (1): ricerca.wind.it urllib3.connectionpool: DEBUG: http://ricerca.wind.it:80 "GET /?missingurl=metadata.google.internal HTTP/1.1" 200 None cloudinit.url_helper: DEBUG: Read from http://metadata.google.internal/computeMetadata/v1/instance/hostname (200, 14315b) after 1 attempts cloudinit.url_helper: DEBUG: [0/1] open 'http://metadata.google.internal/computeMetadata/v1/project/attributes/sshKeys' with {'headers': {'User-Agent': 'Cloud-Init/0.7.9', 'X-Google-Metadata-Request': 'True'}, 'url': 'http://metadata.google.internal/computeMetadata/v1/project/attributes/sshKeys', 'method': 'GET', 'allow_redirects': True} configuration urllib3.connectionpool: DEBUG: Starting new HTTP connection (1): metadata.google.internal urllib3.connectionpool: DEBUG: http://metadata.google.internal:80 "GET /computeMetadata/v1/project/attributes/sshKeys HTTP/1.1" 302 154 urllib3.connectionpool: DEBUG: Starting new HTTP connection (1): ricerca.wind.it urllib3.connectionpool: DEBUG: http://ricerca.wind.it:80 "GET /?missingurl=metadata.google.internal HTTP/1.1" 200 None cloudinit.url_helper: DEBUG: Read from http://metadata.google.internal/computeMetadata/v1/project/attributes/sshKeys (200, 14315b) after 1 attempts cloudinit.url_helper: DEBUG: [0/1] open 'http://metadata.google.internal/computeMetadata/v1/instance/attributes/ssh-keys' with {'headers': {'User-Agent': 'Cloud-Init/0.7.9', 'X-Google-Metadata-Request': 'True'}, 'url': 'http://metadata.google.internal/computeMetadata/v1/instance/attributes/ssh-keys', 'method': 'GET', 'allow_redirects': True} configuration urllib3.connectionpool: DEBUG: Starting new HTTP connection (1): metadata.google.internal urllib3.connectionpool: DEBUG: http://metadata.google.internal:80 "GET /computeMetadata/v1/instance/attributes/ssh-keys HTTP/1.1" 302 154 urllib3.connectionpool: DEBUG: Starting new HTTP connection (1): ricerca.wind.it urllib3.connectionpool: DEBUG: http://ricerca.wind.it:80 "GET /?missingurl=metadata.google.internal HTTP/1.1" 200 None cloudinit.url_helper: DEBUG: Read from http://metadata.google.internal/computeMetadata/v1/instance/attributes/ssh-keys (200, 14315b) after 1 attempts cloudinit.url_helper: DEBUG: [0/1] open 'http://metadata.google.internal/computeMetadata/v1/instance/attributes/user-data' with {'headers': {'User-Agent': 'Cloud-Init/0.7.9', 'X-Google-Metadata-Request': 'True'}, 'url': 'http://metadata.google.internal/computeMetadata/v1/instance/attributes/user-data', 'method': 'GET', 'allow_redirects': True} configuration urllib3.connectionpool: DEBUG: Starting new HTTP connection (1): metadata.google.internal urllib3.connectionpool: DEBUG: http://metadata.google.internal:80 "GET /computeMetadata/v1/instance/attributes/user-data HTTP/1.1" 302 154 urllib3.connectionpool: DEBUG: Starting new HTTP connection (1): ricerca.wind.it urllib3.connectionpool: DEBUG: http://ricerca.wind.it:80 "GET /?missingurl=metadata.google.internal HTTP/1.1" 200 None cloudinit.url_helper: DEBUG: Read from http://metadata.google.internal/computeMetadata/v1/instance/attributes/user-data (200, 14315b) after 1 attempts cloudinit.url_helper: DEBUG: [0/1] open 'http://metadata.google.internal/computeMetadata/v1/instance/attributes/user-data-encoding' with {'headers': {'User-Agent': 'Cloud-Init/0.7.9', 'X-Google-Metadata-Request': 'True'}, 'url': 'http://metadata.google.internal/computeMetadata/v1/instance/attributes/user-data-encoding', 'method': 'GET', 'allow_redirects': True} configuration urllib3.connectionpool: DEBUG: Starting new HTTP connection (1): metadata.google.internal urllib3.connectionpool: DEBUG: http://metadata.google.internal:80 "GET /computeMetadata/v1/instance/attributes/user-data-encoding HTTP/1.1" 302 154 urllib3.connectionpool: DEBUG: Starting new HTTP connection (1): ricerca.wind.it urllib3.connectionpool: DEBUG: http://ricerca.wind.it:80 "GET /?missingurl=metadata.google.internal HTTP/1.1" 200 None cloudinit.url_helper: DEBUG: Read from http://metadata.google.internal/computeMetadata/v1/instance/attributes/user-data-encoding (200, 14315b) after 1 attempts cloudinit.sources.DataSourceGCE: WARNING: unknown user-data-encoding: Indirizzo non corretto

Pagina non trovata

Il sito che cercavi potrebbe essere non disponibile o non più esistente. Ricerca le informazioni di cui hai bisogno nel web.

, ignoring --------------------- >> end captured logging << --------------------- ---------------------------------------------------------------------- Ran 939 tests in 160.879s FAILED (SKIP=6, failures=1) ERROR: InvocationError: '/home/user/cloud-init/.tox/py27/bin/python -m nose tests/unittests' _____________________________________________________________ summary _____________________________________________________________ ERROR: py27: commands failed