[Openstack-devel] Bug#665036: python-novaclient: FTBFS: TypeError: 'NoneType' object is not callable

Lucas Nussbaum lucas at lucas-nussbaum.net
Thu Mar 22 11:12:08 UTC 2012


Source: python-novaclient
Version: 1:2012.1~rc1-1
Severity: serious
Tags: wheezy sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20120321 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part:
> make[1]: Entering directory `/«PKGBUILDDIR»'
> python setup.py test
> running test
> running egg_info
> creating python_novaclient.egg-info
> writing requirements to python_novaclient.egg-info/requires.txt
> writing python_novaclient.egg-info/PKG-INFO
> writing top-level names to python_novaclient.egg-info/top_level.txt
> writing dependency_links to python_novaclient.egg-info/dependency_links.txt
> writing entry points to python_novaclient.egg-info/entry_points.txt
> writing manifest file 'python_novaclient.egg-info/SOURCES.txt'
> reading manifest file 'python_novaclient.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> writing manifest file 'python_novaclient.egg-info/SOURCES.txt'
> running build_ext
> /usr/lib/python2.7/dist-packages/nose/config.py:259: RuntimeWarning: Option 'cover-package' in config file 'setup.cfg' ignored: excluded by runtime environment
>   warn(msg, RuntimeWarning)
> /usr/lib/python2.7/dist-packages/nose/config.py:259: RuntimeWarning: Option 'cover-html' in config file 'setup.cfg' ignored: excluded by runtime environment
>   warn(msg, RuntimeWarning)
> /usr/lib/python2.7/dist-packages/nose/config.py:259: RuntimeWarning: Option 'cover-erase' in config file 'setup.cfg' ignored: excluded by runtime environment
>   warn(msg, RuntimeWarning)
> /usr/lib/python2.7/dist-packages/nose/config.py:259: RuntimeWarning: Option 'cover-inclusive' in config file 'setup.cfg' ignored: excluded by runtime environment
>   warn(msg, RuntimeWarning)
> test_add_host (tests.v1_1.test_aggregates.AggregatesTest) ... ERROR
> test_create_aggregate (tests.v1_1.test_aggregates.AggregatesTest) ... ERROR
> test_delete_aggregate (tests.v1_1.test_aggregates.AggregatesTest) ... ERROR
> test_get_details (tests.v1_1.test_aggregates.AggregatesTest) ... ok
> test_list_aggregates (tests.v1_1.test_aggregates.AggregatesTest) ... ERROR
> test_remove_host (tests.v1_1.test_aggregates.AggregatesTest) ... ERROR
> test_set_metadata (tests.v1_1.test_aggregates.AggregatesTest) ... ERROR
> test_update (tests.v1_1.test_aggregates.AggregatesTest) ... ok
> test_update_with_availability_zone (tests.v1_1.test_aggregates.AggregatesTest) ... ok
> test_ambiguous_endpoints (tests.v1_1.test_auth.AuthenticateAgainstKeystoneTests) ... ok
> test_auth_redirect (tests.v1_1.test_auth.AuthenticateAgainstKeystoneTests) ... ok
> test_authenticate_failure (tests.v1_1.test_auth.AuthenticateAgainstKeystoneTests) ... ok
> test_authenticate_success (tests.v1_1.test_auth.AuthenticateAgainstKeystoneTests) ... ok
> test_auth_automatic (tests.v1_1.test_auth.AuthenticationTests) ... ok
> test_auth_manual (tests.v1_1.test_auth.AuthenticationTests) ... ok
> test_authenticate_failure (tests.v1_1.test_auth.AuthenticationTests) ... ok
> test_authenticate_success (tests.v1_1.test_auth.AuthenticationTests) ... ok
> test_create_cert (tests.v1_1.test_certs.FlavorsTest) ... ERROR
> test_get_root_cert (tests.v1_1.test_certs.FlavorsTest) ... ok
> test_create (tests.v1_1.test_flavors.FlavorsTest) ... ERROR
> test_create_ephemeral_defaults_to_zero (tests.v1_1.test_flavors.FlavorsTest) ... ERROR
> test_delete (tests.v1_1.test_flavors.FlavorsTest) ... ok
> test_find (tests.v1_1.test_flavors.FlavorsTest) ... ERROR
> test_get_flavor_details (tests.v1_1.test_flavors.FlavorsTest) ... ok
> test_get_flavor_details_diablo (tests.v1_1.test_flavors.FlavorsTest) ... ok
> test_list_flavors (tests.v1_1.test_flavors.FlavorsTest) ... ERROR
> test_list_flavors_undetailed (tests.v1_1.test_flavors.FlavorsTest) ... ERROR
> test_create_private_domain (tests.v1_1.test_floating_ip_dns.FloatingIPDNSDomainTest) ... ok
> test_create_public_domain (tests.v1_1.test_floating_ip_dns.FloatingIPDNSDomainTest) ... ok
> test_delete_domain (tests.v1_1.test_floating_ip_dns.FloatingIPDNSDomainTest) ... ok
> test_dns_domains (tests.v1_1.test_floating_ip_dns.FloatingIPDNSDomainTest) ... ERROR
> test_create_entry (tests.v1_1.test_floating_ip_dns.FloatingIPDNSEntryTest) ... ok
> test_delete_entry (tests.v1_1.test_floating_ip_dns.FloatingIPDNSEntryTest) ... ok
> test_get_dns_entries_by_ip (tests.v1_1.test_floating_ip_dns.FloatingIPDNSEntryTest) ... ERROR
> test_get_dns_entry_by_name (tests.v1_1.test_floating_ip_dns.FloatingIPDNSEntryTest) ... ok
> test_list_floating_ips (tests.v1_1.test_floating_ip_pools.TestFloatingIPPools) ... ERROR
> test_create_floating_ip (tests.v1_1.test_floating_ips.FloatingIPsTest) ... ERROR
> test_create_floating_ip_with_pool (tests.v1_1.test_floating_ips.FloatingIPsTest) ... ERROR
> test_delete_floating_ip (tests.v1_1.test_floating_ips.FloatingIPsTest) ... ERROR
> test_list_floating_ips (tests.v1_1.test_floating_ips.FloatingIPsTest) ... ERROR
> test_describe_resource (tests.v1_1.test_hosts.HostsTest) ... ERROR
> test_host_reboot (tests.v1_1.test_hosts.HostsTest) ... ERROR
> test_host_shutdown (tests.v1_1.test_hosts.HostsTest) ... ERROR
> test_host_startup (tests.v1_1.test_hosts.HostsTest) ... ERROR
> test_update_both (tests.v1_1.test_hosts.HostsTest) ... ERROR
> test_update_enable (tests.v1_1.test_hosts.HostsTest) ... ERROR
> test_update_maintenance (tests.v1_1.test_hosts.HostsTest) ... ERROR
> test_delete_image (tests.v1_1.test_images.ImagesTest) ... ok
> test_delete_meta (tests.v1_1.test_images.ImagesTest) ... ok
> test_find (tests.v1_1.test_images.ImagesTest) ... ERROR
> test_get_image_details (tests.v1_1.test_images.ImagesTest) ... ok
> test_list_images (tests.v1_1.test_images.ImagesTest) ... ERROR
> test_list_images_undetailed (tests.v1_1.test_images.ImagesTest) ... ERROR
> test_set_meta (tests.v1_1.test_images.ImagesTest) ... ERROR
> test_create_keypair (tests.v1_1.test_keypairs.KeypairsTest) ... ERROR
> test_delete_keypair (tests.v1_1.test_keypairs.KeypairsTest) ... ERROR
> test_import_keypair (tests.v1_1.test_keypairs.KeypairsTest) ... ERROR
> test_list_keypairs (tests.v1_1.test_keypairs.KeypairsTest) ... ERROR
> test_absolute_limits (tests.v1_1.test_limits.LimitsTest) ... ok
> test_get_limits (tests.v1_1.test_limits.LimitsTest) ... ok
> test_rate_limits (tests.v1_1.test_limits.LimitsTest) ... ok
> test_refresh_quota (tests.v1_1.test_quotas.QuotaSetsTest) ... ok
> test_tenant_quotas_defaults (tests.v1_1.test_quotas.QuotaSetsTest) ... ok
> test_tenant_quotas_get (tests.v1_1.test_quotas.QuotaSetsTest) ... ok
> test_update_quota (tests.v1_1.test_quotas.QuotaSetsTest) ... ok
> test_create_security_group (tests.v1_1.test_security_group_rules.SecurityGroupRulesTest) ... ERROR
> test_delete_security_group_rule (tests.v1_1.test_security_group_rules.SecurityGroupRulesTest) ... ok
> test_create_security_group (tests.v1_1.test_security_groups.SecurityGroupsTest) ... ERROR
> test_delete_security_group (tests.v1_1.test_security_groups.SecurityGroupsTest) ... ERROR
> test_get_security_groups (tests.v1_1.test_security_groups.SecurityGroupsTest) ... ok
> test_list_security_groups (tests.v1_1.test_security_groups.SecurityGroupsTest) ... ERROR
> test_refresh_security_group (tests.v1_1.test_security_groups.SecurityGroupsTest) ... ok
> test_add_fixed_ip (tests.v1_1.test_servers.ServersTest) ... ok
> test_add_floating_ip (tests.v1_1.test_servers.ServersTest) ... ERROR
> test_confirm_resized_server (tests.v1_1.test_servers.ServersTest) ... ok
> test_create_image (tests.v1_1.test_servers.ServersTest) ... ok
> test_create_server (tests.v1_1.test_servers.ServersTest) ... ERROR
> test_create_server_userdata_file_object (tests.v1_1.test_servers.ServersTest) ... ERROR
> test_delete_server (tests.v1_1.test_servers.ServersTest) ... ok
> test_delete_server_meta (tests.v1_1.test_servers.ServersTest) ... ok
> test_find (tests.v1_1.test_servers.ServersTest) ... ERROR
> test_get_console_output_with_length (tests.v1_1.test_servers.ServersTest) ... ok
> test_get_console_output_without_length (tests.v1_1.test_servers.ServersTest) ... ok
> test_get_server_actions (tests.v1_1.test_servers.ServersTest) ... ERROR
> test_get_server_details (tests.v1_1.test_servers.ServersTest) ... ok
> test_get_server_diagnostics (tests.v1_1.test_servers.ServersTest) ... ok
> test_get_vnc_console (tests.v1_1.test_servers.ServersTest) ... ok
> test_list_servers (tests.v1_1.test_servers.ServersTest) ... ERROR
> test_list_servers_undetailed (tests.v1_1.test_servers.ServersTest) ... ERROR
> test_live_migrate_server (tests.v1_1.test_servers.ServersTest) ... ok
> test_lock (tests.v1_1.test_servers.ServersTest) ... ok
> test_migrate_server (tests.v1_1.test_servers.ServersTest) ... ok
> test_reboot_server (tests.v1_1.test_servers.ServersTest) ... ok
> test_rebuild_server (tests.v1_1.test_servers.ServersTest) ... ok
> test_remove_fixed_ip (tests.v1_1.test_servers.ServersTest) ... ok
> test_remove_floating_ip (tests.v1_1.test_servers.ServersTest) ... ERROR
> test_rescue (tests.v1_1.test_servers.ServersTest) ... ok
> test_resize_server (tests.v1_1.test_servers.ServersTest) ... ok
> test_revert_resized_server (tests.v1_1.test_servers.ServersTest) ... ok
> test_set_server_meta (tests.v1_1.test_servers.ServersTest) ... ERROR
> test_unlock (tests.v1_1.test_servers.ServersTest) ... ok
> test_unrescue (tests.v1_1.test_servers.ServersTest) ... ok
> test_update_server (tests.v1_1.test_servers.ServersTest) ... ok
> test_aggregate_add_host (tests.v1_1.test_shell.ShellTest) ... ok
> test_aggregate_create (tests.v1_1.test_shell.ShellTest) ... ok
> test_aggregate_delete (tests.v1_1.test_shell.ShellTest) ... ok
> test_aggregate_details (tests.v1_1.test_shell.ShellTest) ... ok
> test_aggregate_list (tests.v1_1.test_shell.ShellTest) ... ok
> test_aggregate_remove_host (tests.v1_1.test_shell.ShellTest) ... ok
> test_aggregate_set_metadata (tests.v1_1.test_shell.ShellTest) ... ok
> test_aggregate_update (tests.v1_1.test_shell.ShellTest) ... ok
> test_aggregate_update_with_availability_zone (tests.v1_1.test_shell.ShellTest) ... ok
> test_boot (tests.v1_1.test_shell.ShellTest) ... ok
> test_boot_files (tests.v1_1.test_shell.ShellTest) ... ok
> test_boot_invalid_file (tests.v1_1.test_shell.ShellTest) ... ok
> test_create_image (tests.v1_1.test_shell.ShellTest) ... ok
> test_delete (tests.v1_1.test_shell.ShellTest) ... ok
> test_dns_create (tests.v1_1.test_shell.ShellTest) ... ok
> test_dns_create_private_domain (tests.v1_1.test_shell.ShellTest) ... ok
> test_dns_create_public_domain (tests.v1_1.test_shell.ShellTest) ... ok
> test_dns_delete (tests.v1_1.test_shell.ShellTest) ... ok
> test_dns_delete_domain (tests.v1_1.test_shell.ShellTest) ... ok
> test_dns_domains (tests.v1_1.test_shell.ShellTest) ... ok
> test_dns_list (tests.v1_1.test_shell.ShellTest) ... ok
> test_flavor_create (tests.v1_1.test_shell.ShellTest) ... ok
> test_flavor_delete (tests.v1_1.test_shell.ShellTest) ... ok
> test_flavor_list (tests.v1_1.test_shell.ShellTest) ... ok
> test_host_reboot (tests.v1_1.test_shell.ShellTest) ... ok
> test_host_shutdown (tests.v1_1.test_shell.ShellTest) ... ok
> test_host_startup (tests.v1_1.test_shell.ShellTest) ... ok
> test_host_update_maintenance (tests.v1_1.test_shell.ShellTest) ... ok
> test_host_update_multiple_settings (tests.v1_1.test_shell.ShellTest) ... ok
> test_host_update_status (tests.v1_1.test_shell.ShellTest) ... ok
> test_image_delete (tests.v1_1.test_shell.ShellTest) ... ok
> test_image_list (tests.v1_1.test_shell.ShellTest) ... ok
> test_image_meta_bad_action (tests.v1_1.test_shell.ShellTest) ... ok
> test_image_meta_del (tests.v1_1.test_shell.ShellTest) ... ok
> test_image_meta_set (tests.v1_1.test_shell.ShellTest) ... ok
> test_image_show (tests.v1_1.test_shell.ShellTest) ... ok
> test_list (tests.v1_1.test_shell.ShellTest) ... ok
> test_live_migration (tests.v1_1.test_shell.ShellTest) ... ok
> test_reboot (tests.v1_1.test_shell.ShellTest) ... ok
> test_rebuild (tests.v1_1.test_shell.ShellTest) ... ok
> test_rename (tests.v1_1.test_shell.ShellTest) ... ok
> test_resize (tests.v1_1.test_shell.ShellTest) ... ok
> test_resize_confirm (tests.v1_1.test_shell.ShellTest) ... ok
> test_resize_revert (tests.v1_1.test_shell.ShellTest) ... ok
> test_root_password (tests.v1_1.test_shell.ShellTest) ... ok
> test_set_meta_delete_dict (tests.v1_1.test_shell.ShellTest) ... ok
> test_set_meta_delete_keys (tests.v1_1.test_shell.ShellTest) ... ok
> test_set_meta_set (tests.v1_1.test_shell.ShellTest) ... ok
> test_show (tests.v1_1.test_shell.ShellTest) ... ok
> test_show_bad_id (tests.v1_1.test_shell.ShellTest) ... ok
> test_usage_list (tests.v1_1.test_shell.ShellTest) ... ok
> test_usage_get (tests.v1_1.test_usage.UsageTest) ... ok
> test_usage_list (tests.v1_1.test_usage.UsageTest) ... ERROR
> test_usage_list_detailed (tests.v1_1.test_usage.UsageTest) ... ERROR
> test_eq (tests.test_base.BaseTest) ... ok
> test_findall_invalid_attribute (tests.test_base.BaseTest) ... ERROR
> test_getid (tests.test_base.BaseTest) ... ok
> test_resource_lazy_getattr (tests.test_base.BaseTest) ... ok
> test_resource_repr (tests.test_base.BaseTest) ... ok
> test_get_client_class_unknown (tests.test_client.ClientTest) ... ok
> test_get_client_class_v1_1 (tests.test_client.ClientTest) ... ok
> test_get_client_class_v2 (tests.test_client.ClientTest) ... ok
> test_get_client_class_v2_int (tests.test_client.ClientTest) ... ok
> test_auth_failure (tests.test_http.ClientTest) ... ok
> test_get (tests.test_http.ClientTest) ... ok
> test_post (tests.test_http.ClientTest) ... ok
> test_alternate_service_type (tests.test_service_catalog.ServiceCatalogTest) ... ok
> test_building_a_service_catalog (tests.test_service_catalog.ServiceCatalogTest) ... ok
> test_debug (tests.test_shell.ShellTest) ... ok
> test_help_unknown_command (tests.test_shell.ShellTest) ... ok
> test_find_by_integer_id (tests.test_utils.FindResourceTestCase) ... ok
> test_find_by_str_displayname (tests.test_utils.FindResourceTestCase) ... ok
> test_find_by_str_id (tests.test_utils.FindResourceTestCase) ... ok
> test_find_by_str_name (tests.test_utils.FindResourceTestCase) ... ok
> test_find_by_uuid (tests.test_utils.FindResourceTestCase) ... ok
> test_find_none (tests.test_utils.FindResourceTestCase) ... ok
> 
> ======================================================================
> ERROR: test_add_host (tests.v1_1.test_aggregates.AggregatesTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/«PKGBUILDDIR»/tests/v1_1/test_aggregates.py", line 74, in test_add_host
>     result1 = aggregate.add_host(host)
>   File "/«PKGBUILDDIR»/novaclient/v1_1/aggregates.py", line 32, in add_host
>     return self.manager.add_host(self, host)
>   File "/«PKGBUILDDIR»/novaclient/v1_1/aggregates.py", line 73, in add_host
>     body, "aggregate")
>   File "/«PKGBUILDDIR»/novaclient/base.py", line 161, in _create
>     with self.completion_cache('human_id', self.resource_class, mode="a"):
>   File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
>     return self.gen.next()
>   File "/«PKGBUILDDIR»/novaclient/base.py", line 115, in completion_cache
>     os.makedirs(cache_dir, 0755)
>   File "/usr/lib/python2.7/os.py", line 150, in makedirs
>     makedirs(head, mode)
>   File "/usr/lib/python2.7/os.py", line 150, in makedirs
>     makedirs(head, mode)
>   File "/usr/lib/python2.7/os.py", line 157, in makedirs
>     mkdir(name, mode)
> OSError: [Errno 13] Permission denied: '/sbuild-nonexistent'
> 
> ======================================================================
> ERROR: test_create_aggregate (tests.v1_1.test_aggregates.AggregatesTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/«PKGBUILDDIR»/tests/v1_1/test_aggregates.py", line 34, in test_create_aggregate
>     aggregate = cs.aggregates.create("test", "nova1")
>   File "/«PKGBUILDDIR»/novaclient/v1_1/aggregates.py", line 55, in create
>     return self._create('/os-aggregates', body, 'aggregate')
>   File "/«PKGBUILDDIR»/novaclient/base.py", line 161, in _create
>     with self.completion_cache('human_id', self.resource_class, mode="a"):
>   File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
>     return self.gen.next()
>   File "/«PKGBUILDDIR»/novaclient/base.py", line 115, in completion_cache
>     os.makedirs(cache_dir, 0755)
>   File "/usr/lib/python2.7/os.py", line 150, in makedirs
>     makedirs(head, mode)
>   File "/usr/lib/python2.7/os.py", line 150, in makedirs
>     makedirs(head, mode)
>   File "/usr/lib/python2.7/os.py", line 157, in makedirs
>     mkdir(name, mode)
> OSError: [Errno 13] Permission denied: '/sbuild-nonexistent'
> 
> ======================================================================
> ERROR: test_delete_aggregate (tests.v1_1.test_aggregates.AggregatesTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/«PKGBUILDDIR»/tests/v1_1/test_aggregates.py", line 121, in test_delete_aggregate
>     aggregate = cs.aggregates.list()[0]
>   File "/«PKGBUILDDIR»/novaclient/v1_1/aggregates.py", line 49, in list
>     return self._list('/os-aggregates', 'aggregates')
>   File "/«PKGBUILDDIR»/novaclient/base.py", line 85, in _list
>     with self.completion_cache('human_id', obj_class, mode="w"):
>   File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
>     return self.gen.next()
>   File "/«PKGBUILDDIR»/novaclient/base.py", line 115, in completion_cache
>     os.makedirs(cache_dir, 0755)
>   File "/usr/lib/python2.7/os.py", line 150, in makedirs
>     makedirs(head, mode)
>   File "/usr/lib/python2.7/os.py", line 150, in makedirs
>     makedirs(head, mode)
>   File "/usr/lib/python2.7/os.py", line 157, in makedirs
>     mkdir(name, mode)
> OSError: [Errno 13] Permission denied: '/sbuild-nonexistent'
> 
> ======================================================================
> ERROR: test_list_aggregates (tests.v1_1.test_aggregates.AggregatesTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/«PKGBUILDDIR»/tests/v1_1/test_aggregates.py", line 27, in test_list_aggregates
>     result = cs.aggregates.list()
>   File "/«PKGBUILDDIR»/novaclient/v1_1/aggregates.py", line 49, in list
>     return self._list('/os-aggregates', 'aggregates')
>   File "/«PKGBUILDDIR»/novaclient/base.py", line 85, in _list
>     with self.completion_cache('human_id', obj_class, mode="w"):
>   File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
>     return self.gen.next()
>   File "/«PKGBUILDDIR»/novaclient/base.py", line 115, in completion_cache
>     os.makedirs(cache_dir, 0755)
>   File "/usr/lib/python2.7/os.py", line 150, in makedirs
>     makedirs(head, mode)
>   File "/usr/lib/python2.7/os.py", line 150, in makedirs
>     makedirs(head, mode)
>   File "/usr/lib/python2.7/os.py", line 157, in makedirs
>     mkdir(name, mode)
> OSError: [Errno 13] Permission denied: '/sbuild-nonexistent'
> 
> ======================================================================
> ERROR: test_remove_host (tests.v1_1.test_aggregates.AggregatesTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/«PKGBUILDDIR»/tests/v1_1/test_aggregates.py", line 91, in test_remove_host
>     result1 = aggregate.remove_host(host)
>   File "/«PKGBUILDDIR»/novaclient/v1_1/aggregates.py", line 35, in remove_host
>     return self.manager.remove_host(self, host)
>   File "/«PKGBUILDDIR»/novaclient/v1_1/aggregates.py", line 79, in remove_host
>     body, "aggregate")
>   File "/«PKGBUILDDIR»/novaclient/base.py", line 161, in _create
>     with self.completion_cache('human_id', self.resource_class, mode="a"):
>   File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
>     return self.gen.next()
>   File "/«PKGBUILDDIR»/novaclient/base.py", line 115, in completion_cache
>     os.makedirs(cache_dir, 0755)
>   File "/usr/lib/python2.7/os.py", line 150, in makedirs
>     makedirs(head, mode)
>   File "/usr/lib/python2.7/os.py", line 150, in makedirs
>     makedirs(head, mode)
>   File "/usr/lib/python2.7/os.py", line 157, in makedirs
>     mkdir(name, mode)
> OSError: [Errno 13] Permission denied: '/sbuild-nonexistent'
> 
> ======================================================================
> ERROR: test_set_metadata (tests.v1_1.test_aggregates.AggregatesTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/«PKGBUILDDIR»/tests/v1_1/test_aggregates.py", line 108, in test_set_metadata
>     result1 = aggregate.set_metadata(metadata)
>   File "/«PKGBUILDDIR»/novaclient/v1_1/aggregates.py", line 38, in set_metadata
>     return self.manager.set_metadata(self, metadata)
>   File "/«PKGBUILDDIR»/novaclient/v1_1/aggregates.py", line 85, in set_metadata
>     body, "aggregate")
>   File "/«PKGBUILDDIR»/novaclient/base.py", line 161, in _create
>     with self.completion_cache('human_id', self.resource_class, mode="a"):
>   File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
>     return self.gen.next()
>   File "/«PKGBUILDDIR»/novaclient/base.py", line 115, in completion_cache
>     os.makedirs(cache_dir, 0755)
>   File "/usr/lib/python2.7/os.py", line 150, in makedirs
>     makedirs(head, mode)
>   File "/usr/lib/python2.7/os.py", line 150, in makedirs
>     makedirs(head, mode)
>   File "/usr/lib/python2.7/os.py", line 157, in makedirs
>     mkdir(name, mode)
> OSError: [Errno 13] Permission denied: '/sbuild-nonexistent'
> 
> ======================================================================
> ERROR: test_create_cert (tests.v1_1.test_certs.FlavorsTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/«PKGBUILDDIR»/tests/v1_1/test_certs.py", line 13, in test_create_cert
>     cert = cs.certs.create()
>   File "/«PKGBUILDDIR»/novaclient/v1_1/certs.py", line 42, in create
>     return self._create('/os-certificates', {}, 'certificate')
>   File "/«PKGBUILDDIR»/novaclient/base.py", line 161, in _create
>     with self.completion_cache('human_id', self.resource_class, mode="a"):
>   File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
>     return self.gen.next()
>   File "/«PKGBUILDDIR»/novaclient/base.py", line 115, in completion_cache
>     os.makedirs(cache_dir, 0755)
>   File "/usr/lib/python2.7/os.py", line 150, in makedirs
>     makedirs(head, mode)
>   File "/usr/lib/python2.7/os.py", line 150, in makedirs
>     makedirs(head, mode)
>   File "/usr/lib/python2.7/os.py", line 157, in makedirs
>     mkdir(name, mode)
> OSError: [Errno 13] Permission denied: '/sbuild-nonexistent'
> 
> ======================================================================
> ERROR: test_create (tests.v1_1.test_flavors.FlavorsTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/«PKGBUILDDIR»/tests/v1_1/test_flavors.py", line 49, in test_create
>     f = cs.flavors.create("flavorcreate", 512, 1, 10, 1234, ephemeral=10)
>   File "/«PKGBUILDDIR»/novaclient/v1_1/flavors.py", line 89, in create
>     return self._create("/flavors", body, "flavor")
>   File "/«PKGBUILDDIR»/novaclient/base.py", line 161, in _create
>     with self.completion_cache('human_id', self.resource_class, mode="a"):
>   File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
>     return self.gen.next()
>   File "/«PKGBUILDDIR»/novaclient/base.py", line 115, in completion_cache
>     os.makedirs(cache_dir, 0755)
>   File "/usr/lib/python2.7/os.py", line 150, in makedirs
>     makedirs(head, mode)
>   File "/usr/lib/python2.7/os.py", line 150, in makedirs
>     makedirs(head, mode)
>   File "/usr/lib/python2.7/os.py", line 157, in makedirs
>     mkdir(name, mode)
> OSError: [Errno 13] Permission denied: '/sbuild-nonexistent'
> 
> ======================================================================
> ERROR: test_create_ephemeral_defaults_to_zero (tests.v1_1.test_flavors.FlavorsTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/«PKGBUILDDIR»/tests/v1_1/test_flavors.py", line 68, in test_create_ephemeral_defaults_to_zero
>     f = cs.flavors.create("flavorcreate", 512, 1, 10, 1234)
>   File "/«PKGBUILDDIR»/novaclient/v1_1/flavors.py", line 89, in create
>     return self._create("/flavors", body, "flavor")
>   File "/«PKGBUILDDIR»/novaclient/base.py", line 161, in _create
>     with self.completion_cache('human_id', self.resource_class, mode="a"):
>   File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
>     return self.gen.next()
>   File "/«PKGBUILDDIR»/novaclient/base.py", line 115, in completion_cache
>     os.makedirs(cache_dir, 0755)
>   File "/usr/lib/python2.7/os.py", line 150, in makedirs
>     makedirs(head, mode)
>   File "/usr/lib/python2.7/os.py", line 150, in makedirs
>     makedirs(head, mode)
>   File "/usr/lib/python2.7/os.py", line 157, in makedirs
>     mkdir(name, mode)
> OSError: [Errno 13] Permission denied: '/sbuild-nonexistent'
> 
> ======================================================================
> ERROR: test_find (tests.v1_1.test_flavors.FlavorsTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/«PKGBUILDDIR»/tests/v1_1/test_flavors.py", line 39, in test_find
>     f = cs.flavors.find(ram=256)
>   File "/«PKGBUILDDIR»/novaclient/base.py", line 185, in find
>     rl = self.findall(**kwargs)
>   File "/«PKGBUILDDIR»/novaclient/base.py", line 202, in findall
>     for obj in self.list():
>   File "/«PKGBUILDDIR»/novaclient/v1_1/flavors.py", line 39, in list
>     return self._list("/flavors/detail", "flavors")
>   File "/«PKGBUILDDIR»/novaclient/base.py", line 85, in _list
>     with self.completion_cache('human_id', obj_class, mode="w"):
>   File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
>     return self.gen.next()
>   File "/«PKGBUILDDIR»/novaclient/base.py", line 115, in completion_cache
>     os.makedirs(cache_dir, 0755)
>   File "/usr/lib/python2.7/os.py", line 150, in makedirs
>     makedirs(head, mode)
>   File "/usr/lib/python2.7/os.py", line 150, in makedirs
>     makedirs(head, mode)
>   File "/usr/lib/python2.7/os.py", line 157, in makedirs
>     mkdir(name, mode)
> OSError: [Errno 13] Permission denied: '/sbuild-nonexistent'
> 
> ======================================================================
> ERROR: test_list_flavors (tests.v1_1.test_flavors.FlavorsTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/«PKGBUILDDIR»/tests/v1_1/test_flavors.py", line 13, in test_list_flavors
>     fl = cs.flavors.list()
>   File "/«PKGBUILDDIR»/novaclient/v1_1/flavors.py", line 39, in list
>     return self._list("/flavors/detail", "flavors")
>   File "/«PKGBUILDDIR»/novaclient/base.py", line 85, in _list
>     with self.completion_cache('human_id', obj_class, mode="w"):
>   File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
>     return self.gen.next()
>   File "/«PKGBUILDDIR»/novaclient/base.py", line 115, in completion_cache
>     os.makedirs(cache_dir, 0755)
>   File "/usr/lib/python2.7/os.py", line 150, in makedirs
>     makedirs(head, mode)
>   File "/usr/lib/python2.7/os.py", line 150, in makedirs
>     makedirs(head, mode)
>   File "/usr/lib/python2.7/os.py", line 157, in makedirs
>     mkdir(name, mode)
> OSError: [Errno 13] Permission denied: '/sbuild-nonexistent'
> 
> ======================================================================
> ERROR: test_list_flavors_undetailed (tests.v1_1.test_flavors.FlavorsTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/«PKGBUILDDIR»/tests/v1_1/test_flavors.py", line 18, in test_list_flavors_undetailed
>     fl = cs.flavors.list(detailed=False)
>   File "/«PKGBUILDDIR»/novaclient/v1_1/flavors.py", line 41, in list
>     return self._list("/flavors", "flavors")
>   File "/«PKGBUILDDIR»/novaclient/base.py", line 85, in _list
>     with self.completion_cache('human_id', obj_class, mode="w"):
>   File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
>     return self.gen.next()
>   File "/«PKGBUILDDIR»/novaclient/base.py", line 115, in completion_cache
>     os.makedirs(cache_dir, 0755)
>   File "/usr/lib/python2.7/os.py", line 150, in makedirs
>     makedirs(head, mode)
>   File "/usr/lib/python2.7/os.py", line 150, in makedirs
>     makedirs(head, mode)
>   File "/usr/lib/python2.7/os.py", line 157, in makedirs
>     mkdir(name, mode)
> OSError: [Errno 13] Permission denied: '/sbuild-nonexistent'
> 
> ======================================================================
> ERROR: test_dns_domains (tests.v1_1.test_floating_ip_dns.FloatingIPDNSDomainTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/«PKGBUILDDIR»/tests/v1_1/test_floating_ip_dns.py", line 15, in test_dns_domains
>     domainlist = cs.dns_domains.domains()
>   File "/«PKGBUILDDIR»/novaclient/v1_1/floating_ip_dns.py", line 55, in domains
>     return self._list("/os-floating-ip-dns", "domain_entries")
>   File "/«PKGBUILDDIR»/novaclient/base.py", line 85, in _list
>     with self.completion_cache('human_id', obj_class, mode="w"):
>   File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
>     return self.gen.next()
>   File "/«PKGBUILDDIR»/novaclient/base.py", line 115, in completion_cache
>     os.makedirs(cache_dir, 0755)
>   File "/usr/lib/python2.7/os.py", line 150, in makedirs
>     makedirs(head, mode)
>   File "/usr/lib/python2.7/os.py", line 150, in makedirs
>     makedirs(head, mode)
>   File "/usr/lib/python2.7/os.py", line 157, in makedirs
>     mkdir(name, mode)
> OSError: [Errno 13] Permission denied: '/sbuild-nonexistent'
> 
> ======================================================================
> ERROR: test_get_dns_entries_by_ip (tests.v1_1.test_floating_ip_dns.FloatingIPDNSEntryTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/«PKGBUILDDIR»/tests/v1_1/test_floating_ip_dns.py", line 48, in test_get_dns_entries_by_ip
>     entries = cs.dns_entries.get_for_ip(self.testdomain, ip=self.testip)
>   File "/«PKGBUILDDIR»/novaclient/v1_1/floating_ip_dns.py", line 108, in get_for_ip
>     "dns_entries")
>   File "/«PKGBUILDDIR»/novaclient/base.py", line 85, in _list
>     with self.completion_cache('human_id', obj_class, mode="w"):
>   File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
>     return self.gen.next()
>   File "/«PKGBUILDDIR»/novaclient/base.py", line 115, in completion_cache
>     os.makedirs(cache_dir, 0755)
>   File "/usr/lib/python2.7/os.py", line 150, in makedirs
>     makedirs(head, mode)
>   File "/usr/lib/python2.7/os.py", line 150, in makedirs
>     makedirs(head, mode)
>   File "/usr/lib/python2.7/os.py", line 157, in makedirs
>     mkdir(name, mode)
> OSError: [Errno 13] Permission denied: '/sbuild-nonexistent'
> 
> ======================================================================
> ERROR: test_list_floating_ips (tests.v1_1.test_floating_ip_pools.TestFloatingIPPools)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/«PKGBUILDDIR»/tests/v1_1/test_floating_ip_pools.py", line 28, in test_list_floating_ips
>     fl = cs.floating_ip_pools.list()
>   File "/«PKGBUILDDIR»/novaclient/v1_1/floating_ip_pools.py", line 34, in list
>     return self._list('/os-floating-ip-pools', 'floating_ip_pools')
>   File "/«PKGBUILDDIR»/novaclient/base.py", line 85, in _list
>     with self.completion_cache('human_id', obj_class, mode="w"):
>   File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
>     return self.gen.next()
>   File "/«PKGBUILDDIR»/novaclient/base.py", line 115, in completion_cache
>     os.makedirs(cache_dir, 0755)
>   File "/usr/lib/python2.7/os.py", line 150, in makedirs
>     makedirs(head, mode)
>   File "/usr/lib/python2.7/os.py", line 150, in makedirs
>     makedirs(head, mode)
>   File "/usr/lib/python2.7/os.py", line 157, in makedirs
>     mkdir(name, mode)
> OSError: [Errno 13] Permission denied: '/sbuild-nonexistent'
> 
> ======================================================================
> ERROR: test_create_floating_ip (tests.v1_1.test_floating_ips.FloatingIPsTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/«PKGBUILDDIR»/tests/v1_1/test_floating_ips.py", line 42, in test_create_floating_ip
>     fl = cs.floating_ips.create()
>   File "/«PKGBUILDDIR»/novaclient/v1_1/floating_ips.py", line 41, in create
>     return self._create("/os-floating-ips", {'pool': pool}, "floating_ip")
>   File "/«PKGBUILDDIR»/novaclient/base.py", line 161, in _create
>     with self.completion_cache('human_id', self.resource_class, mode="a"):
>   File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
>     return self.gen.next()
>   File "/«PKGBUILDDIR»/novaclient/base.py", line 115, in completion_cache
>     os.makedirs(cache_dir, 0755)
>   File "/usr/lib/python2.7/os.py", line 150, in makedirs
>     makedirs(head, mode)
>   File "/usr/lib/python2.7/os.py", line 150, in makedirs
>     makedirs(head, mode)
>   File "/usr/lib/python2.7/os.py", line 157, in makedirs
>     mkdir(name, mode)
> OSError: [Errno 13] Permission denied: '/sbuild-nonexistent'
> 
> ======================================================================
> ERROR: test_create_floating_ip_with_pool (tests.v1_1.test_floating_ips.FloatingIPsTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/«PKGBUILDDIR»/tests/v1_1/test_floating_ips.py", line 48, in test_create_floating_ip_with_pool
>     fl = cs.floating_ips.create('foo')
>   File "/«PKGBUILDDIR»/novaclient/v1_1/floating_ips.py", line 41, in create
>     return self._create("/os-floating-ips", {'pool': pool}, "floating_ip")
>   File "/«PKGBUILDDIR»/novaclient/base.py", line 161, in _create
>     with self.completion_cache('human_id', self.resource_class, mode="a"):
>   File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
>     return self.gen.next()
>   File "/«PKGBUILDDIR»/novaclient/base.py", line 115, in completion_cache
>     os.makedirs(cache_dir, 0755)
>   File "/usr/lib/python2.7/os.py", line 150, in makedirs
>     makedirs(head, mode)
>   File "/usr/lib/python2.7/os.py", line 150, in makedirs
>     makedirs(head, mode)
>   File "/usr/lib/python2.7/os.py", line 157, in makedirs
>     mkdir(name, mode)
> OSError: [Errno 13] Permission denied: '/sbuild-nonexistent'
> 
> ======================================================================
> ERROR: test_delete_floating_ip (tests.v1_1.test_floating_ips.FloatingIPsTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/«PKGBUILDDIR»/tests/v1_1/test_floating_ips.py", line 33, in test_delete_floating_ip
>     fl = cs.floating_ips.list()[0]
>   File "/«PKGBUILDDIR»/novaclient/v1_1/floating_ips.py", line 35, in list
>     return self._list("/os-floating-ips", "floating_ips")
>   File "/«PKGBUILDDIR»/novaclient/base.py", line 85, in _list
>     with self.completion_cache('human_id', obj_class, mode="w"):
>   File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
>     return self.gen.next()
>   File "/«PKGBUILDDIR»/novaclient/base.py", line 115, in completion_cache
>     os.makedirs(cache_dir, 0755)
>   File "/usr/lib/python2.7/os.py", line 150, in makedirs
>     makedirs(head, mode)
>   File "/usr/lib/python2.7/os.py", line 150, in makedirs
>     makedirs(head, mode)
>   File "/usr/lib/python2.7/os.py", line 157, in makedirs
>     mkdir(name, mode)
> OSError: [Errno 13] Permission denied: '/sbuild-nonexistent'
> 
> ======================================================================
> ERROR: test_list_floating_ips (tests.v1_1.test_floating_ips.FloatingIPsTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/«PKGBUILDDIR»/tests/v1_1/test_floating_ips.py", line 28, in test_list_floating_ips
>     fl = cs.floating_ips.list()
>   File "/«PKGBUILDDIR»/novaclient/v1_1/floating_ips.py", line 35, in list
>     return self._list("/os-floating-ips", "floating_ips")
>   File "/«PKGBUILDDIR»/novaclient/base.py", line 85, in _list
>     with self.completion_cache('human_id', obj_class, mode="w"):
>   File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
>     return self.gen.next()
>   File "/«PKGBUILDDIR»/novaclient/base.py", line 115, in completion_cache
>     os.makedirs(cache_dir, 0755)
>   File "/usr/lib/python2.7/os.py", line 150, in makedirs
>     makedirs(head, mode)
>   File "/usr/lib/python2.7/os.py", line 150, in makedirs
>     makedirs(head, mode)
>   File "/usr/lib/python2.7/os.py", line 157, in makedirs
>     mkdir(name, mode)
> OSError: [Errno 13] Permission denied: '/sbuild-nonexistent'
> 
> ======================================================================
> ERROR: test_describe_resource (tests.v1_1.test_hosts.HostsTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/«PKGBUILDDIR»/tests/v1_1/test_hosts.py", line 12, in test_describe_resource
>     hs = cs.hosts.get('host')
>   File "/«PKGBUILDDIR»/novaclient/v1_1/hosts.py", line 53, in get
>     return self._list("/os-hosts/%s" % host, "host")
>   File "/«PKGBUILDDIR»/novaclient/base.py", line 85, in _list
>     with self.completion_cache('human_id', obj_class, mode="w"):
>   File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
>     return self.gen.next()
>   File "/«PKGBUILDDIR»/novaclient/base.py", line 115, in completion_cache
>     os.makedirs(cache_dir, 0755)
>   File "/usr/lib/python2.7/os.py", line 150, in makedirs
>     makedirs(head, mode)
>   File "/usr/lib/python2.7/os.py", line 150, in makedirs
>     makedirs(head, mode)
>   File "/usr/lib/python2.7/os.py", line 157, in makedirs
>     mkdir(name, mode)
> OSError: [Errno 13] Permission denied: '/sbuild-nonexistent'
> 
> ======================================================================
> ERROR: test_host_reboot (tests.v1_1.test_hosts.HostsTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/«PKGBUILDDIR»/tests/v1_1/test_hosts.py", line 45, in test_host_reboot
>     host = cs.hosts.get('sample_host')[0]
>   File "/«PKGBUILDDIR»/novaclient/v1_1/hosts.py", line 53, in get
>     return self._list("/os-hosts/%s" % host, "host")
>   File "/«PKGBUILDDIR»/novaclient/base.py", line 85, in _list
>     with self.completion_cache('human_id', obj_class, mode="w"):
>   File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
>     return self.gen.next()
>   File "/«PKGBUILDDIR»/novaclient/base.py", line 115, in completion_cache
>     os.makedirs(cache_dir, 0755)
>   File "/usr/lib/python2.7/os.py", line 150, in makedirs
>     makedirs(head, mode)
>   File "/usr/lib/python2.7/os.py", line 150, in makedirs
>     makedirs(head, mode)
>   File "/usr/lib/python2.7/os.py", line 157, in makedirs
>     mkdir(name, mode)
> OSError: [Errno 13] Permission denied: '/sbuild-nonexistent'
> 
> ======================================================================
> ERROR: test_host_shutdown (tests.v1_1.test_hosts.HostsTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/«PKGBUILDDIR»/tests/v1_1/test_hosts.py", line 51, in test_host_shutdown
>     host = cs.hosts.get('sample_host')[0]
>   File "/«PKGBUILDDIR»/novaclient/v1_1/hosts.py", line 53, in get
>     return self._list("/os-hosts/%s" % host, "host")
>   File "/«PKGBUILDDIR»/novaclient/base.py", line 85, in _list
>     with self.completion_cache('human_id', obj_class, mode="w"):
>   File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
>     return self.gen.next()
>   File "/«PKGBUILDDIR»/novaclient/base.py", line 115, in completion_cache
>     os.makedirs(cache_dir, 0755)
>   File "/usr/lib/python2.7/os.py", line 150, in makedirs
>     makedirs(head, mode)
>   File "/usr/lib/python2.7/os.py", line 150, in makedirs
>     makedirs(head, mode)
>   File "/usr/lib/python2.7/os.py", line 157, in makedirs
>     mkdir(name, mode)
> OSError: [Errno 13] Permission denied: '/sbuild-nonexistent'
> 
> ======================================================================
> ERROR: test_host_startup (tests.v1_1.test_hosts.HostsTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/«PKGBUILDDIR»/tests/v1_1/test_hosts.py", line 39, in test_host_startup
>     host = cs.hosts.get('sample_host')[0]
>   File "/«PKGBUILDDIR»/novaclient/v1_1/hosts.py", line 53, in get
>     return self._list("/os-hosts/%s" % host, "host")
>   File "/«PKGBUILDDIR»/novaclient/base.py", line 85, in _list
>     with self.completion_cache('human_id', obj_class, mode="w"):
>   File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
>     return self.gen.next()
>   File "/«PKGBUILDDIR»/novaclient/base.py", line 115, in completion_cache
>     os.makedirs(cache_dir, 0755)
>   File "/usr/lib/python2.7/os.py", line 150, in makedirs
>     makedirs(head, mode)
>   File "/usr/lib/python2.7/os.py", line 150, in makedirs
>     makedirs(head, mode)
>   File "/usr/lib/python2.7/os.py", line 157, in makedirs
>     mkdir(name, mode)
> OSError: [Errno 13] Permission denied: '/sbuild-nonexistent'
> 
> ======================================================================
> ERROR: test_update_both (tests.v1_1.test_hosts.HostsTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/«PKGBUILDDIR»/tests/v1_1/test_hosts.py", line 31, in test_update_both
>     host = cs.hosts.get('sample_host')[0]
>   File "/«PKGBUILDDIR»/novaclient/v1_1/hosts.py", line 53, in get
>     return self._list("/os-hosts/%s" % host, "host")
>   File "/«PKGBUILDDIR»/novaclient/base.py", line 85, in _list
>     with self.completion_cache('human_id', obj_class, mode="w"):
>   File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
>     return self.gen.next()
>   File "/«PKGBUILDDIR»/novaclient/base.py", line 115, in completion_cache
>     os.makedirs(cache_dir, 0755)
>   File "/usr/lib/python2.7/os.py", line 150, in makedirs
>     makedirs(head, mode)
>   File "/usr/lib/python2.7/os.py", line 150, in makedirs
>     makedirs(head, mode)
>   File "/usr/lib/python2.7/os.py", line 157, in makedirs
>     mkdir(name, mode)
> OSError: [Errno 13] Permission denied: '/sbuild-nonexistent'
> 
> ======================================================================
> ERROR: test_update_enable (tests.v1_1.test_hosts.HostsTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/«PKGBUILDDIR»/tests/v1_1/test_hosts.py", line 17, in test_update_enable
>     host = cs.hosts.get('sample_host')[0]
>   File "/«PKGBUILDDIR»/novaclient/v1_1/hosts.py", line 53, in get
>     return self._list("/os-hosts/%s" % host, "host")
>   File "/«PKGBUILDDIR»/novaclient/base.py", line 85, in _list
>     with self.completion_cache('human_id', obj_class, mode="w"):
>   File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
>     return self.gen.next()
>   File "/«PKGBUILDDIR»/novaclient/base.py", line 115, in completion_cache
>     os.makedirs(cache_dir, 0755)
>   File "/usr/lib/python2.7/os.py", line 150, in makedirs
>     makedirs(head, mode)
>   File "/usr/lib/python2.7/os.py", line 150, in makedirs
>     makedirs(head, mode)
>   File "/usr/lib/python2.7/os.py", line 157, in makedirs
>     mkdir(name, mode)
> OSError: [Errno 13] Permission denied: '/sbuild-nonexistent'
> 
> ======================================================================
> ERROR: test_update_maintenance (tests.v1_1.test_hosts.HostsTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/«PKGBUILDDIR»/tests/v1_1/test_hosts.py", line 24, in test_update_maintenance
>     host = cs.hosts.get('sample_host')[0]
>   File "/«PKGBUILDDIR»/novaclient/v1_1/hosts.py", line 53, in get
>     return self._list("/os-hosts/%s" % host, "host")
>   File "/«PKGBUILDDIR»/novaclient/base.py", line 85, in _list
>     with self.completion_cache('human_id', obj_class, mode="w"):
>   File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
>     return self.gen.next()
>   File "/«PKGBUILDDIR»/novaclient/base.py", line 115, in completion_cache
>     os.makedirs(cache_dir, 0755)
>   File "/usr/lib/python2.7/os.py", line 150, in makedirs
>     makedirs(head, mode)
>   File "/usr/lib/python2.7/os.py", line 150, in makedirs
>     makedirs(head, mode)
>   File "/usr/lib/python2.7/os.py", line 157, in makedirs
>     mkdir(name, mode)
> OSError: [Errno 13] Permission denied: '/sbuild-nonexistent'
> 
> ======================================================================
> ERROR: test_find (tests.v1_1.test_images.ImagesTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/«PKGBUILDDIR»/tests/v1_1/test_images.py", line 42, in test_find
>     i = cs.images.find(name="CentOS 5.2")
>   File "/«PKGBUILDDIR»/novaclient/base.py", line 185, in find
>     rl = self.findall(**kwargs)
>   File "/«PKGBUILDDIR»/novaclient/base.py", line 202, in findall
>     for obj in self.list():
>   File "/«PKGBUILDDIR»/novaclient/v1_1/images.py", line 47, in list
>     return self._list("/images/detail", "images")
>   File "/«PKGBUILDDIR»/novaclient/base.py", line 85, in _list
>     with self.completion_cache('human_id', obj_class, mode="w"):
>   File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
>     return self.gen.next()
>   File "/«PKGBUILDDIR»/novaclient/base.py", line 115, in completion_cache
>     os.makedirs(cache_dir, 0755)
>   File "/usr/lib/python2.7/os.py", line 150, in makedirs
>     makedirs(head, mode)
>   File "/usr/lib/python2.7/os.py", line 150, in makedirs
>     makedirs(head, mode)
>   File "/usr/lib/python2.7/os.py", line 157, in makedirs
>     mkdir(name, mode)
> OSError: [Errno 13] Permission denied: '/sbuild-nonexistent'
> 
> ======================================================================
> ERROR: test_list_images (tests.v1_1.test_images.ImagesTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/«PKGBUILDDIR»/tests/v1_1/test_images.py", line 12, in test_list_images
>     il = cs.images.list()
>   File "/«PKGBUILDDIR»/novaclient/v1_1/images.py", line 47, in list
>     return self._list("/images/detail", "images")
>   File "/«PKGBUILDDIR»/novaclient/base.py", line 85, in _list
>     with self.completion_cache('human_id', obj_class, mode="w"):
>   File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
>     return self.gen.next()
>   File "/«PKGBUILDDIR»/novaclient/base.py", line 115, in completion_cache
>     os.makedirs(cache_dir, 0755)
>   File "/usr/lib/python2.7/os.py", line 150, in makedirs
>     makedirs(head, mode)
>   File "/usr/lib/python2.7/os.py", line 150, in makedirs
>     makedirs(head, mode)
>   File "/usr/lib/python2.7/os.py", line 157, in makedirs
>     mkdir(name, mode)
> OSError: [Errno 13] Permission denied: '/sbuild-nonexistent'
> 
> ======================================================================
> ERROR: test_list_images_undetailed (tests.v1_1.test_images.ImagesTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/«PKGBUILDDIR»/tests/v1_1/test_images.py", line 17, in test_list_images_undetailed
>     il = cs.images.list(detailed=False)
>   File "/«PKGBUILDDIR»/novaclient/v1_1/images.py", line 49, in list
>     return self._list("/images", "images")
>   File "/«PKGBUILDDIR»/novaclient/base.py", line 85, in _list
>     with self.completion_cache('human_id', obj_class, mode="w"):
>   File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
>     return self.gen.next()
>   File "/«PKGBUILDDIR»/novaclient/base.py", line 115, in completion_cache
>     os.makedirs(cache_dir, 0755)
>   File "/usr/lib/python2.7/os.py", line 150, in makedirs
>     makedirs(head, mode)
>   File "/usr/lib/python2.7/os.py", line 150, in makedirs
>     makedirs(head, mode)
>   File "/usr/lib/python2.7/os.py", line 157, in makedirs
>     mkdir(name, mode)
> OSError: [Errno 13] Permission denied: '/sbuild-nonexistent'
> 
> ======================================================================
> ERROR: test_set_meta (tests.v1_1.test_images.ImagesTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/«PKGBUILDDIR»/tests/v1_1/test_images.py", line 37, in test_set_meta
>     cs.images.set_meta(1, {'test_key': 'test_value'})
>   File "/«PKGBUILDDIR»/novaclient/v1_1/images.py", line 71, in set_meta
>     "metadata")
>   File "/«PKGBUILDDIR»/novaclient/base.py", line 161, in _create
>     with self.completion_cache('human_id', self.resource_class, mode="a"):
>   File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
>     return self.gen.next()
>   File "/«PKGBUILDDIR»/novaclient/base.py", line 115, in completion_cache
>     os.makedirs(cache_dir, 0755)
>   File "/usr/lib/python2.7/os.py", line 150, in makedirs
>     makedirs(head, mode)
>   File "/usr/lib/python2.7/os.py", line 150, in makedirs
>     makedirs(head, mode)
>   File "/usr/lib/python2.7/os.py", line 157, in makedirs
>     mkdir(name, mode)
> OSError: [Errno 13] Permission denied: '/sbuild-nonexistent'
> 
> ======================================================================
> ERROR: test_create_keypair (tests.v1_1.test_keypairs.KeypairsTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/«PKGBUILDDIR»/tests/v1_1/test_keypairs.py", line 26, in test_create_keypair
>     kp = cs.keypairs.create("foo")
>   File "/«PKGBUILDDIR»/novaclient/v1_1/keypairs.py", line 58, in create
>     return self._create('/os-keypairs', body, 'keypair')
>   File "/«PKGBUILDDIR»/novaclient/base.py", line 161, in _create
>     with self.completion_cache('human_id', self.resource_class, mode="a"):
>   File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
>     return self.gen.next()
>   File "/«PKGBUILDDIR»/novaclient/base.py", line 115, in completion_cache
>     os.makedirs(cache_dir, 0755)
>   File "/usr/lib/python2.7/os.py", line 150, in makedirs
>     makedirs(head, mode)
>   File "/usr/lib/python2.7/os.py", line 150, in makedirs
>     makedirs(head, mode)
>   File "/usr/lib/python2.7/os.py", line 157, in makedirs
>     mkdir(name, mode)
> OSError: [Errno 13] Permission denied: '/sbuild-nonexistent'
> 
> ======================================================================
> ERROR: test_delete_keypair (tests.v1_1.test_keypairs.KeypairsTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/«PKGBUILDDIR»/tests/v1_1/test_keypairs.py", line 17, in test_delete_keypair
>     kp = cs.keypairs.list()[0]
>   File "/«PKGBUILDDIR»/novaclient/v1_1/keypairs.py", line 72, in list
>     return self._list('/os-keypairs', 'keypairs')
>   File "/«PKGBUILDDIR»/novaclient/base.py", line 85, in _list
>     with self.completion_cache('human_id', obj_class, mode="w"):
>   File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
>     return self.gen.next()
>   File "/«PKGBUILDDIR»/novaclient/base.py", line 115, in completion_cache
>     os.makedirs(cache_dir, 0755)
>   File "/usr/lib/python2.7/os.py", line 150, in makedirs
>     makedirs(head, mode)
>   File "/usr/lib/python2.7/os.py", line 150, in makedirs
>     makedirs(head, mode)
>   File "/usr/lib/python2.7/os.py", line 157, in makedirs
>     mkdir(name, mode)
> OSError: [Errno 13] Permission denied: '/sbuild-nonexistent'
> 
> ======================================================================
> ERROR: test_import_keypair (tests.v1_1.test_keypairs.KeypairsTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/«PKGBUILDDIR»/tests/v1_1/test_keypairs.py", line 31, in test_import_keypair
>     kp = cs.keypairs.create("foo", "fake-public-key")
>   File "/«PKGBUILDDIR»/novaclient/v1_1/keypairs.py", line 58, in create
>     return self._create('/os-keypairs', body, 'keypair')
>   File "/«PKGBUILDDIR»/novaclient/base.py", line 161, in _create
>     with self.completion_cache('human_id', self.resource_class, mode="a"):
>   File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
>     return self.gen.next()
>   File "/«PKGBUILDDIR»/novaclient/base.py", line 115, in completion_cache
>     os.makedirs(cache_dir, 0755)
>   File "/usr/lib/python2.7/os.py", line 150, in makedirs
>     makedirs(head, mode)
>   File "/usr/lib/python2.7/os.py", line 150, in makedirs
>     makedirs(head, mode)
>   File "/usr/lib/python2.7/os.py", line 157, in makedirs
>     mkdir(name, mode)
> OSError: [Errno 13] Permission denied: '/sbuild-nonexistent'
> 
> ======================================================================
> ERROR: test_list_keypairs (tests.v1_1.test_keypairs.KeypairsTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/«PKGBUILDDIR»/tests/v1_1/test_keypairs.py", line 12, in test_list_keypairs
>     kps = cs.keypairs.list()
>   File "/«PKGBUILDDIR»/novaclient/v1_1/keypairs.py", line 72, in list
>     return self._list('/os-keypairs', 'keypairs')
>   File "/«PKGBUILDDIR»/novaclient/base.py", line 85, in _list
>     with self.completion_cache('human_id', obj_class, mode="w"):
>   File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
>     return self.gen.next()
>   File "/«PKGBUILDDIR»/novaclient/base.py", line 115, in completion_cache
>     os.makedirs(cache_dir, 0755)
>   File "/usr/lib/python2.7/os.py", line 150, in makedirs
>     makedirs(head, mode)
>   File "/usr/lib/python2.7/os.py", line 150, in makedirs
>     makedirs(head, mode)
>   File "/usr/lib/python2.7/os.py", line 157, in makedirs
>     mkdir(name, mode)
> OSError: [Errno 13] Permission denied: '/sbuild-nonexistent'
> 
> ======================================================================
> ERROR: test_create_security_group (tests.v1_1.test_security_group_rules.SecurityGroupRulesTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/«PKGBUILDDIR»/tests/v1_1/test_security_group_rules.py", line 15, in test_create_security_group
>     sg = cs.security_group_rules.create(1)
>   File "/«PKGBUILDDIR»/novaclient/v1_1/security_group_rules.py", line 55, in create
>     'security_group_rule')
>   File "/«PKGBUILDDIR»/novaclient/base.py", line 161, in _create
>     with self.completion_cache('human_id', self.resource_class, mode="a"):
>   File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
>     return self.gen.next()
>   File "/«PKGBUILDDIR»/novaclient/base.py", line 115, in completion_cache
>     os.makedirs(cache_dir, 0755)
>   File "/usr/lib/python2.7/os.py", line 150, in makedirs
>     makedirs(head, mode)
>   File "/usr/lib/python2.7/os.py", line 150, in makedirs
>     makedirs(head, mode)
>   File "/usr/lib/python2.7/os.py", line 157, in makedirs
>     mkdir(name, mode)
> OSError: [Errno 13] Permission denied: '/sbuild-nonexistent'
> 
> ======================================================================
> ERROR: test_create_security_group (tests.v1_1.test_security_groups.SecurityGroupsTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/«PKGBUILDDIR»/tests/v1_1/test_security_groups.py", line 31, in test_create_security_group
>     sg = cs.security_groups.create("foo", "foo barr")
>   File "/«PKGBUILDDIR»/novaclient/v1_1/security_groups.py", line 43, in create
>     return self._create('/os-security-groups', body, 'security_group')
>   File "/«PKGBUILDDIR»/novaclient/base.py", line 161, in _create
>     with self.completion_cache('human_id', self.resource_class, mode="a"):
>   File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
>     return self.gen.next()
>   File "/«PKGBUILDDIR»/novaclient/base.py", line 115, in completion_cache
>     os.makedirs(cache_dir, 0755)
>   File "/usr/lib/python2.7/os.py", line 150, in makedirs
>     makedirs(head, mode)
>   File "/usr/lib/python2.7/os.py", line 150, in makedirs
>     makedirs(head, mode)
>   File "/usr/lib/python2.7/os.py", line 157, in makedirs
>     mkdir(name, mode)
> OSError: [Errno 13] Permission denied: '/sbuild-nonexistent'
> 
> ======================================================================
> ERROR: test_delete_security_group (tests.v1_1.test_security_groups.SecurityGroupsTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/«PKGBUILDDIR»/tests/v1_1/test_security_groups.py", line 22, in test_delete_security_group
>     sg = cs.security_groups.list()[0]
>   File "/«PKGBUILDDIR»/novaclient/v1_1/security_groups.py", line 70, in list
>     return self._list("/os-security-groups", "security_groups")
>   File "/«PKGBUILDDIR»/novaclient/base.py", line 85, in _list
>     with self.completion_cache('human_id', obj_class, mode="w"):
>   File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
>     return self.gen.next()
>   File "/«PKGBUILDDIR»/novaclient/base.py", line 115, in completion_cache
>     os.makedirs(cache_dir, 0755)
>   File "/usr/lib/python2.7/os.py", line 150, in makedirs
>     makedirs(head, mode)
>   File "/usr/lib/python2.7/os.py", line 150, in makedirs
>     makedirs(head, mode)
>   File "/usr/lib/python2.7/os.py", line 157, in makedirs
>     mkdir(name, mode)
> OSError: [Errno 13] Permission denied: '/sbuild-nonexistent'
> 
> ======================================================================
> ERROR: test_list_security_groups (tests.v1_1.test_security_groups.SecurityGroupsTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/«PKGBUILDDIR»/tests/v1_1/test_security_groups.py", line 11, in test_list_security_groups
>     sgs = cs.security_groups.list()
>   File "/«PKGBUILDDIR»/novaclient/v1_1/security_groups.py", line 70, in list
>     return self._list("/os-security-groups", "security_groups")
>   File "/«PKGBUILDDIR»/novaclient/base.py", line 85, in _list
>     with self.completion_cache('human_id', obj_class, mode="w"):
>   File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
>     return self.gen.next()
>   File "/«PKGBUILDDIR»/novaclient/base.py", line 115, in completion_cache
>     os.makedirs(cache_dir, 0755)
>   File "/usr/lib/python2.7/os.py", line 150, in makedirs
>     makedirs(head, mode)
>   File "/usr/lib/python2.7/os.py", line 150, in makedirs
>     makedirs(head, mode)
>   File "/usr/lib/python2.7/os.py", line 157, in makedirs
>     mkdir(name, mode)
> OSError: [Errno 13] Permission denied: '/sbuild-nonexistent'
> 
> ======================================================================
> ERROR: test_add_floating_ip (tests.v1_1.test_servers.ServersTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/«PKGBUILDDIR»/tests/v1_1/test_servers.py", line 172, in test_add_floating_ip
>     f = cs.floating_ips.list()[0]
>   File "/«PKGBUILDDIR»/novaclient/v1_1/floating_ips.py", line 35, in list
>     return self._list("/os-floating-ips", "floating_ips")
>   File "/«PKGBUILDDIR»/novaclient/base.py", line 85, in _list
>     with self.completion_cache('human_id', obj_class, mode="w"):
>   File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
>     return self.gen.next()
>   File "/«PKGBUILDDIR»/novaclient/base.py", line 115, in completion_cache
>     os.makedirs(cache_dir, 0755)
>   File "/usr/lib/python2.7/os.py", line 150, in makedirs
>     makedirs(head, mode)
>   File "/usr/lib/python2.7/os.py", line 150, in makedirs
>     makedirs(head, mode)
>   File "/usr/lib/python2.7/os.py", line 157, in makedirs
>     mkdir(name, mode)
> OSError: [Errno 13] Permission denied: '/sbuild-nonexistent'
> 
> ======================================================================
> ERROR: test_create_server (tests.v1_1.test_servers.ServersTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/«PKGBUILDDIR»/tests/v1_1/test_servers.py", line 40, in test_create_server
>     '/tmp/foo.txt': StringIO.StringIO('data'),   # a stream
>   File "/«PKGBUILDDIR»/novaclient/v1_1/servers.py", line 456, in create
>     **boot_kwargs)
>   File "/«PKGBUILDDIR»/novaclient/v1_1/base.py", line 153, in _boot
>     return_raw=return_raw, **kwargs)
>   File "/«PKGBUILDDIR»/novaclient/base.py", line 161, in _create
>     with self.completion_cache('human_id', self.resource_class, mode="a"):
>   File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
>     return self.gen.next()
>   File "/«PKGBUILDDIR»/novaclient/base.py", line 115, in completion_cache
>     os.makedirs(cache_dir, 0755)
>   File "/usr/lib/python2.7/os.py", line 150, in makedirs
>     makedirs(head, mode)
>   File "/usr/lib/python2.7/os.py", line 150, in makedirs
>     makedirs(head, mode)
>   File "/usr/lib/python2.7/os.py", line 157, in makedirs
>     mkdir(name, mode)
> OSError: [Errno 13] Permission denied: '/sbuild-nonexistent'
> 
> ======================================================================
> ERROR: test_create_server_userdata_file_object (tests.v1_1.test_servers.ServersTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/«PKGBUILDDIR»/tests/v1_1/test_servers.py", line 55, in test_create_server_userdata_file_object
>     '/tmp/foo.txt': StringIO.StringIO('data'),   # a stream
>   File "/«PKGBUILDDIR»/novaclient/v1_1/servers.py", line 456, in create
>     **boot_kwargs)
>   File "/«PKGBUILDDIR»/novaclient/v1_1/base.py", line 153, in _boot
>     return_raw=return_raw, **kwargs)
>   File "/«PKGBUILDDIR»/novaclient/base.py", line 161, in _create
>     with self.completion_cache('human_id', self.resource_class, mode="a"):
>   File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
>     return self.gen.next()
>   File "/«PKGBUILDDIR»/novaclient/base.py", line 115, in completion_cache
>     os.makedirs(cache_dir, 0755)
>   File "/usr/lib/python2.7/os.py", line 150, in makedirs
>     makedirs(head, mode)
>   File "/usr/lib/python2.7/os.py", line 150, in makedirs
>     makedirs(head, mode)
>   File "/usr/lib/python2.7/os.py", line 157, in makedirs
>     mkdir(name, mode)
> OSError: [Errno 13] Permission denied: '/sbuild-nonexistent'
> 
> ======================================================================
> ERROR: test_find (tests.v1_1.test_servers.ServersTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/«PKGBUILDDIR»/tests/v1_1/test_servers.py", line 96, in test_find
>     s = cs.servers.find(name='sample-server')
>   File "/«PKGBUILDDIR»/novaclient/base.py", line 185, in find
>     rl = self.findall(**kwargs)
>   File "/«PKGBUILDDIR»/novaclient/base.py", line 202, in findall
>     for obj in self.list():
>   File "/«PKGBUILDDIR»/novaclient/v1_1/servers.py", line 279, in list
>     return self._list("/servers%s%s" % (detail, query_string), "servers")
>   File "/«PKGBUILDDIR»/novaclient/base.py", line 85, in _list
>     with self.completion_cache('human_id', obj_class, mode="w"):
>   File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
>     return self.gen.next()
>   File "/«PKGBUILDDIR»/novaclient/base.py", line 115, in completion_cache
>     os.makedirs(cache_dir, 0755)
>   File "/usr/lib/python2.7/os.py", line 150, in makedirs
>     makedirs(head, mode)
>   File "/usr/lib/python2.7/os.py", line 150, in makedirs
>     makedirs(head, mode)
>   File "/usr/lib/python2.7/os.py", line 157, in makedirs
>     mkdir(name, mode)
> OSError: [Errno 13] Permission denied: '/sbuild-nonexistent'
> 
> ======================================================================
> ERROR: test_get_server_actions (tests.v1_1.test_servers.ServersTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/«PKGBUILDDIR»/tests/v1_1/test_servers.py", line 243, in test_get_server_actions
>     actions = s.actions()
>   File "/«PKGBUILDDIR»/novaclient/v1_1/servers.py", line 146, in actions
>     return self.manager.actions(self)
>   File "/«PKGBUILDDIR»/novaclient/v1_1/servers.py", line 388, in actions
>     "actions")
>   File "/«PKGBUILDDIR»/novaclient/base.py", line 85, in _list
>     with self.completion_cache('human_id', obj_class, mode="w"):
>   File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
>     return self.gen.next()
>   File "/«PKGBUILDDIR»/novaclient/base.py", line 115, in completion_cache
>     os.makedirs(cache_dir, 0755)
>   File "/usr/lib/python2.7/os.py", line 150, in makedirs
>     makedirs(head, mode)
>   File "/usr/lib/python2.7/os.py", line 150, in makedirs
>     makedirs(head, mode)
>   File "/usr/lib/python2.7/os.py", line 157, in makedirs
>     mkdir(name, mode)
> OSError: [Errno 13] Permission denied: '/sbuild-nonexistent'
> 
> ======================================================================
> ERROR: test_list_servers (tests.v1_1.test_servers.ServersTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/«PKGBUILDDIR»/tests/v1_1/test_servers.py", line 14, in test_list_servers
>     sl = cs.servers.list()
>   File "/«PKGBUILDDIR»/novaclient/v1_1/servers.py", line 279, in list
>     return self._list("/servers%s%s" % (detail, query_string), "servers")
>   File "/«PKGBUILDDIR»/novaclient/base.py", line 85, in _list
>     with self.completion_cache('human_id', obj_class, mode="w"):
>   File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
>     return self.gen.next()
>   File "/«PKGBUILDDIR»/novaclient/base.py", line 115, in completion_cache
>     os.makedirs(cache_dir, 0755)
>   File "/usr/lib/python2.7/os.py", line 150, in makedirs
>     makedirs(head, mode)
>   File "/usr/lib/python2.7/os.py", line 150, in makedirs
>     makedirs(head, mode)
>   File "/usr/lib/python2.7/os.py", line 157, in makedirs
>     mkdir(name, mode)
> OSError: [Errno 13] Permission denied: '/sbuild-nonexistent'
> 
> ======================================================================
> ERROR: test_list_servers_undetailed (tests.v1_1.test_servers.ServersTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/«PKGBUILDDIR»/tests/v1_1/test_servers.py", line 19, in test_list_servers_undetailed
>     sl = cs.servers.list(detailed=False)
>   File "/«PKGBUILDDIR»/novaclient/v1_1/servers.py", line 279, in list
>     return self._list("/servers%s%s" % (detail, query_string), "servers")
>   File "/«PKGBUILDDIR»/novaclient/base.py", line 85, in _list
>     with self.completion_cache('human_id', obj_class, mode="w"):
>   File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
>     return self.gen.next()
>   File "/«PKGBUILDDIR»/novaclient/base.py", line 115, in completion_cache
>     os.makedirs(cache_dir, 0755)
>   File "/usr/lib/python2.7/os.py", line 150, in makedirs
>     makedirs(head, mode)
>   File "/usr/lib/python2.7/os.py", line 150, in makedirs
>     makedirs(head, mode)
>   File "/usr/lib/python2.7/os.py", line 157, in makedirs
>     mkdir(name, mode)
> OSError: [Errno 13] Permission denied: '/sbuild-nonexistent'
> 
> ======================================================================
> ERROR: test_remove_floating_ip (tests.v1_1.test_servers.ServersTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/«PKGBUILDDIR»/tests/v1_1/test_servers.py", line 184, in test_remove_floating_ip
>     f = cs.floating_ips.list()[0]
>   File "/«PKGBUILDDIR»/novaclient/v1_1/floating_ips.py", line 35, in list
>     return self._list("/os-floating-ips", "floating_ips")
>   File "/«PKGBUILDDIR»/novaclient/base.py", line 85, in _list
>     with self.completion_cache('human_id', obj_class, mode="w"):
>   File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
>     return self.gen.next()
>   File "/«PKGBUILDDIR»/novaclient/base.py", line 115, in completion_cache
>     os.makedirs(cache_dir, 0755)
>   File "/usr/lib/python2.7/os.py", line 150, in makedirs
>     makedirs(head, mode)
>   File "/usr/lib/python2.7/os.py", line 150, in makedirs
>     makedirs(head, mode)
>   File "/usr/lib/python2.7/os.py", line 157, in makedirs
>     mkdir(name, mode)
> OSError: [Errno 13] Permission denied: '/sbuild-nonexistent'
> 
> ======================================================================
> ERROR: test_set_server_meta (tests.v1_1.test_servers.ServersTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/«PKGBUILDDIR»/tests/v1_1/test_servers.py", line 91, in test_set_server_meta
>     s = cs.servers.set_meta(1234, {'test_key': 'test_value'})
>   File "/«PKGBUILDDIR»/novaclient/v1_1/servers.py", line 572, in set_meta
>     body, "metadata")
>   File "/«PKGBUILDDIR»/novaclient/base.py", line 161, in _create
>     with self.completion_cache('human_id', self.resource_class, mode="a"):
>   File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
>     return self.gen.next()
>   File "/«PKGBUILDDIR»/novaclient/base.py", line 115, in completion_cache
>     os.makedirs(cache_dir, 0755)
>   File "/usr/lib/python2.7/os.py", line 150, in makedirs
>     makedirs(head, mode)
>   File "/usr/lib/python2.7/os.py", line 150, in makedirs
>     makedirs(head, mode)
>   File "/usr/lib/python2.7/os.py", line 157, in makedirs
>     mkdir(name, mode)
> OSError: [Errno 13] Permission denied: '/sbuild-nonexistent'
> 
> ======================================================================
> ERROR: test_usage_list (tests.v1_1.test_usage.UsageTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/«PKGBUILDDIR»/tests/v1_1/test_usage.py", line 15, in test_usage_list
>     usages = cs.usage.list(now, now, detailed)
>   File "/«PKGBUILDDIR»/novaclient/v1_1/usage.py", line 35, in list
>     "tenant_usages")
>   File "/«PKGBUILDDIR»/novaclient/base.py", line 85, in _list
>     with self.completion_cache('human_id', obj_class, mode="w"):
>   File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
>     return self.gen.next()
>   File "/«PKGBUILDDIR»/novaclient/base.py", line 115, in completion_cache
>     os.makedirs(cache_dir, 0755)
>   File "/usr/lib/python2.7/os.py", line 150, in makedirs
>     makedirs(head, mode)
>   File "/usr/lib/python2.7/os.py", line 150, in makedirs
>     makedirs(head, mode)
>   File "/usr/lib/python2.7/os.py", line 157, in makedirs
>     mkdir(name, mode)
> OSError: [Errno 13] Permission denied: '/sbuild-nonexistent'
> 
> ======================================================================
> ERROR: test_usage_list_detailed (tests.v1_1.test_usage.UsageTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/«PKGBUILDDIR»/tests/v1_1/test_usage.py", line 25, in test_usage_list_detailed
>     self.test_usage_list(True)
>   File "/«PKGBUILDDIR»/tests/v1_1/test_usage.py", line 15, in test_usage_list
>     usages = cs.usage.list(now, now, detailed)
>   File "/«PKGBUILDDIR»/novaclient/v1_1/usage.py", line 35, in list
>     "tenant_usages")
>   File "/«PKGBUILDDIR»/novaclient/base.py", line 85, in _list
>     with self.completion_cache('human_id', obj_class, mode="w"):
>   File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
>     return self.gen.next()
>   File "/«PKGBUILDDIR»/novaclient/base.py", line 115, in completion_cache
>     os.makedirs(cache_dir, 0755)
>   File "/usr/lib/python2.7/os.py", line 150, in makedirs
>     makedirs(head, mode)
>   File "/usr/lib/python2.7/os.py", line 150, in makedirs
>     makedirs(head, mode)
>   File "/usr/lib/python2.7/os.py", line 157, in makedirs
>     mkdir(name, mode)
> OSError: [Errno 13] Permission denied: '/sbuild-nonexistent'
> 
> ======================================================================
> ERROR: test_findall_invalid_attribute (tests.test_base.BaseTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/«PKGBUILDDIR»/tests/test_base.py", line 51, in test_findall_invalid_attribute
>     cs.flavors.findall(vegetable='carrot')
>   File "/«PKGBUILDDIR»/novaclient/base.py", line 202, in findall
>     for obj in self.list():
>   File "/«PKGBUILDDIR»/novaclient/v1_1/flavors.py", line 39, in list
>     return self._list("/flavors/detail", "flavors")
>   File "/«PKGBUILDDIR»/novaclient/base.py", line 85, in _list
>     with self.completion_cache('human_id', obj_class, mode="w"):
>   File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
>     return self.gen.next()
>   File "/«PKGBUILDDIR»/novaclient/base.py", line 115, in completion_cache
>     os.makedirs(cache_dir, 0755)
>   File "/usr/lib/python2.7/os.py", line 150, in makedirs
>     makedirs(head, mode)
>   File "/usr/lib/python2.7/os.py", line 150, in makedirs
>     makedirs(head, mode)
>   File "/usr/lib/python2.7/os.py", line 157, in makedirs
>     mkdir(name, mode)
> OSError: [Errno 13] Permission denied: '/sbuild-nonexistent'
> 
> ----------------------------------------------------------------------
> Ran 179 tests in 6.545s
> 
> FAILED (errors=50)
> Error in atexit._run_exitfuncs:
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/atexit.py", line 24, in _run_exitfuncs
>     func(*targs, **kargs)
>   File "/usr/lib/python2.7/multiprocessing/util.py", line 284, in _exit_function
>     info('process shutting down')
> TypeError: 'NoneType' object is not callable
> Error in sys.exitfunc:
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/atexit.py", line 24, in _run_exitfuncs
>     func(*targs, **kargs)
>   File "/usr/lib/python2.7/multiprocessing/util.py", line 284, in _exit_function
>     info('process shutting down')
> TypeError: 'NoneType' object is not callable
> make[1]: *** [override_dh_auto_test] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2012/03/21/python-novaclient_2012.1~rc1-1.log

A list of current common problems and possible solutions is available at 
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on about 50 AMD64 nodes
of the Grid'5000 platform, using a clean chroot.  Internet was not
accessible from the build systems.





More information about the Openstack-devel mailing list