Ran the integration test this morning, ran fine: The container is deleted. ... ok A file is written to the container and then read. ... ok The container is renamed. ... ok A container snapshot is made, renamed, and deleted. ... ok The container is updated to a new config. ... /home/ubuntu/python-pylxd-2.0.5/pylxd/deprecation.py:24: DeprecationWarning: update is deprecated; please use save warnings.warn(self.message, DeprecationWarning) ok A list of all containers is returned. ... ok Creates and returns a new container. ... ok A container is fetched by name. ... ok The image is deleted. ... ok The imerage is successfully exported. ... ok The image properties are updated. ... ok A list of all images is returned. ... ok An image is created. ... ok An image is fetched by fingerprint. ... ok A profile is deleted. ... ok A profile is renamed. ... SKIP: Not implemented in LXD A profile is updated. ... ok All profiles are fetched. ... ok A profile is created. ... ok A profile is fetched by name. ... ok test_certificate_operations_1_delete (pylxd.deprecated.tests.test_certificate.LXDAPICertificateTest) ... /home/ubuntu/python-pylxd-2.0.5/pylxd/deprecated/api.py:32: DeprecationWarning: pylxd.api.API is deprecated. Please use pylxd.Client. DeprecationWarning) ok test_certificate_operations_2_create (pylxd.deprecated.tests.test_certificate.LXDAPICertificateTest) ... ok test_certificate_show (pylxd.deprecated.tests.test_certificate.LXDAPICertificateTest) ... ok test_list_certificates (pylxd.deprecated.tests.test_certificate.LXDAPICertificateTest) ... ok test_get_object_1_null (pylxd.deprecated.tests.test_connection.LXDConnectionTest) ... ok test_get_object_2_200 (pylxd.deprecated.tests.test_connection.LXDConnectionTest) ... ok test_get_object_3_202 (pylxd.deprecated.tests.test_connection.LXDConnectionTest) ... ok test_get_object_4_500 (pylxd.deprecated.tests.test_connection.LXDConnectionTest) ... ok test_get_raw_1_null (pylxd.deprecated.tests.test_connection.LXDConnectionTest) ... ok test_get_raw_2_200 (pylxd.deprecated.tests.test_connection.LXDConnectionTest) ... ok test_get_raw_3_500 (pylxd.deprecated.tests.test_connection.LXDConnectionTest) ... ok test_get_status_1_null (pylxd.deprecated.tests.test_connection.LXDConnectionTest) ... ok test_get_status_2_200 (pylxd.deprecated.tests.test_connection.LXDConnectionTest) ... ok test_get_status_3_202 (pylxd.deprecated.tests.test_connection.LXDConnectionTest) ... ok test_get_status_4_200 (pylxd.deprecated.tests.test_connection.LXDConnectionTest) ... ok test_get_status_5_500 (pylxd.deprecated.tests.test_connection.LXDConnectionTest) ... ok test_get_ws_1_fake_host (pylxd.deprecated.tests.test_connection.LXDConnectionTest) ... SKIP: Skip deprecated WebSocketClient tests test_get_ws_2_None (pylxd.deprecated.tests.test_connection.LXDConnectionTest) ... SKIP: Skip deprecated WebSocketClient tests test_get_connection_1_unix (pylxd.deprecated.tests.test_connection.LXDInitConnectionTest) ... ok test_get_connection_2_unix_path (pylxd.deprecated.tests.test_connection.LXDInitConnectionTest) ... ok test_get_connection_3_https (pylxd.deprecated.tests.test_connection.LXDInitConnectionTest) ... ok test_get_connection_4_https_port (pylxd.deprecated.tests.test_connection.LXDInitConnectionTest) ... ok test_http_connection (pylxd.deprecated.tests.test_connection.LXDInitConnectionTest) ... ok test_https_connection (pylxd.deprecated.tests.test_connection.LXDInitConnectionTest) ... ok test_https_proxy_connection (pylxd.deprecated.tests.test_connection.LXDInitConnectionTest) ... ok test_container_actions_1_start (pylxd.deprecated.tests.test_container.LXDAPIContainerTestObject) ... ok test_container_actions_2_stop (pylxd.deprecated.tests.test_container.LXDAPIContainerTestObject) ... ok test_container_actions_3_suspend (pylxd.deprecated.tests.test_container.LXDAPIContainerTestObject) ... ok test_container_actions_4_resume (pylxd.deprecated.tests.test_container.LXDAPIContainerTestObject) ... ok test_container_actions_5_reboot (pylxd.deprecated.tests.test_container.LXDAPIContainerTestObject) ... ok test_container_config (pylxd.deprecated.tests.test_container.LXDAPIContainerTestObject) ... ok test_container_destroy (pylxd.deprecated.tests.test_container.LXDAPIContainerTestObject) ... ok test_container_info (pylxd.deprecated.tests.test_container.LXDAPIContainerTestObject) ... ok test_container_init (pylxd.deprecated.tests.test_container.LXDAPIContainerTestObject) ... ok test_container_log (pylxd.deprecated.tests.test_container.LXDAPIContainerTestObject) ... ok test_container_migrate (pylxd.deprecated.tests.test_container.LXDAPIContainerTestObject) ... ok test_container_publish (pylxd.deprecated.tests.test_container.LXDAPIContainerTestObject) ... ok test_container_put_file (pylxd.deprecated.tests.test_container.LXDAPIContainerTestObject) ... ok test_container_run_command (pylxd.deprecated.tests.test_container.LXDAPIContainerTestObject) ... ok test_container_running_1_STOPPED (pylxd.deprecated.tests.test_container.LXDAPIContainerTestObject) ... ok test_container_running_2_STOPPING (pylxd.deprecated.tests.test_container.LXDAPIContainerTestObject) ... ok test_container_running_3_ABORTING (pylxd.deprecated.tests.test_container.LXDAPIContainerTestObject) ... ok test_container_running_4_RUNNING (pylxd.deprecated.tests.test_container.LXDAPIContainerTestObject) ... ok test_container_running_5_STARTING (pylxd.deprecated.tests.test_container.LXDAPIContainerTestObject) ... ok test_container_running_6_FREEZING (pylxd.deprecated.tests.test_container.LXDAPIContainerTestObject) ... ok test_container_running_7_FROZEN (pylxd.deprecated.tests.test_container.LXDAPIContainerTestObject) ... ok test_container_running_8_THAWED (pylxd.deprecated.tests.test_container.LXDAPIContainerTestObject) ... ok test_container_state (pylxd.deprecated.tests.test_container.LXDAPIContainerTestObject) ... ok test_container_update (pylxd.deprecated.tests.test_container.LXDAPIContainerTestObject) ... ok test_list_containers (pylxd.deprecated.tests.test_container.LXDAPIContainerTestObject) ... ok test_list_snapshots (pylxd.deprecated.tests.test_container.LXDAPIContainerTestObject) ... ok test_snapshot_operations_1_create (pylxd.deprecated.tests.test_container.LXDAPIContainerTestObject) ... ok test_snapshot_operations_2_info (pylxd.deprecated.tests.test_container.LXDAPIContainerTestObject) ... ok test_snapshot_operations_3_rename (pylxd.deprecated.tests.test_container.LXDAPIContainerTestObject) ... ok test_snapshot_operations_4_delete (pylxd.deprecated.tests.test_container.LXDAPIContainerTestObject) ... ok test_container_file (pylxd.deprecated.tests.test_container.LXDAPIContainerTestRaw) ... ok test_container_defined (pylxd.deprecated.tests.test_container.LXDAPIContainerTestStatus) ... ok test_get_host_data_1_lxd_api_compat (pylxd.deprecated.tests.test_host.LXDAPIHostTestObject) ... ok test_get_host_data_2_lxd_host_trust (pylxd.deprecated.tests.test_host.LXDAPIHostTestObject) ... ok test_get_host_data_3_lxd_backing_fs (pylxd.deprecated.tests.test_host.LXDAPIHostTestObject) ... ok test_get_host_data_4_lxd_driver (pylxd.deprecated.tests.test_host.LXDAPIHostTestObject) ... ok test_get_host_data_5_lxc_version (pylxd.deprecated.tests.test_host.LXDAPIHostTestObject) ... ok test_get_host_data_6_lxd_version (pylxd.deprecated.tests.test_host.LXDAPIHostTestObject) ... ok test_get_host_data_7_kernel_version (pylxd.deprecated.tests.test_host.LXDAPIHostTestObject) ... ok test_get_host_data_fail_1_lxd_api_compat (pylxd.deprecated.tests.test_host.LXDAPIHostTestObject) ... ok test_get_host_data_fail_2_lxd_host_trust (pylxd.deprecated.tests.test_host.LXDAPIHostTestObject) ... ok test_get_host_data_fail_3_lxd_backing_fs (pylxd.deprecated.tests.test_host.LXDAPIHostTestObject) ... ok test_get_host_data_fail_4_lxd_driver (pylxd.deprecated.tests.test_host.LXDAPIHostTestObject) ... ok test_get_host_data_fail_5_lxc_version (pylxd.deprecated.tests.test_host.LXDAPIHostTestObject) ... ok test_get_host_data_fail_6_lxd_version (pylxd.deprecated.tests.test_host.LXDAPIHostTestObject) ... ok test_get_host_data_fail_7_kernel_version (pylxd.deprecated.tests.test_host.LXDAPIHostTestObject) ... ok test_get_host_info (pylxd.deprecated.tests.test_host.LXDAPIHostTestObject) ... ok test_get_host_ping_1_True (pylxd.deprecated.tests.test_host.LXDAPIHostTestStatus) ... ok test_get_host_ping_2_False (pylxd.deprecated.tests.test_host.LXDAPIHostTestStatus) ... ok test_get_host_ping_fail (pylxd.deprecated.tests.test_host.LXDAPIHostTestStatus) ... ok test_image_upload_file (pylxd.deprecated.tests.test_image.LXDAPAPIImageTestUpload) ... ok test_info_data_10_architecture_ppc (pylxd.deprecated.tests.test_image.LXDAPIImageInfoTest) ... ok test_info_data_11_architecture_ppc64 (pylxd.deprecated.tests.test_image.LXDAPIImageInfoTest) ... ok test_info_data_12_architecture_ppc64le (pylxd.deprecated.tests.test_image.LXDAPIImageInfoTest) ... ok test_info_data_1_permission_true (pylxd.deprecated.tests.test_image.LXDAPIImageInfoTest) ... ok test_info_data_2_permission_false (pylxd.deprecated.tests.test_image.LXDAPIImageInfoTest) ... ok test_info_data_3_size (pylxd.deprecated.tests.test_image.LXDAPIImageInfoTest) ... ok test_info_data_4_fingerprint (pylxd.deprecated.tests.test_image.LXDAPIImageInfoTest) ... ok test_info_data_5_architecture_Unknown (pylxd.deprecated.tests.test_image.LXDAPIImageInfoTest) ... ok test_info_data_6_architecture_i686 (pylxd.deprecated.tests.test_image.LXDAPIImageInfoTest) ... ok test_info_data_7_architecture_x86_64 (pylxd.deprecated.tests.test_image.LXDAPIImageInfoTest) ... ok test_info_data_8_architecture_armv7l (pylxd.deprecated.tests.test_image.LXDAPIImageInfoTest) ... ok test_info_data_9_architecture_aarch64 (pylxd.deprecated.tests.test_image.LXDAPIImageInfoTest) ... ok test_info_data_fail_1_permission (pylxd.deprecated.tests.test_image.LXDAPIImageInfoTest) ... ok test_info_data_fail_2_size (pylxd.deprecated.tests.test_image.LXDAPIImageInfoTest) ... ok test_info_data_fail_3_size (pylxd.deprecated.tests.test_image.LXDAPIImageInfoTest) ... ok test_info_data_fail_4_fingerprint (pylxd.deprecated.tests.test_image.LXDAPIImageInfoTest) ... ok test_info_data_fail_5_architecture (pylxd.deprecated.tests.test_image.LXDAPIImageInfoTest) ... ok test_info_data_fail_6_architecture_invalid (pylxd.deprecated.tests.test_image.LXDAPIImageInfoTest) ... ok test_info_no_data_1_permission (pylxd.deprecated.tests.test_image.LXDAPIImageInfoTest) ... ok test_info_no_data_2_size (pylxd.deprecated.tests.test_image.LXDAPIImageInfoTest) ... ok test_info_no_data_3_fingerprint (pylxd.deprecated.tests.test_image.LXDAPIImageInfoTest) ... ok test_info_no_data_4_architecture (pylxd.deprecated.tests.test_image.LXDAPIImageInfoTest) ... ok test_info_no_data_fail_1_permission (pylxd.deprecated.tests.test_image.LXDAPIImageInfoTest) ... ok test_info_no_data_fail_2_size (pylxd.deprecated.tests.test_image.LXDAPIImageInfoTest) ... ok test_info_no_data_fail_3_fingerprint (pylxd.deprecated.tests.test_image.LXDAPIImageInfoTest) ... ok test_info_no_data_fail_4_architecture (pylxd.deprecated.tests.test_image.LXDAPIImageInfoTest) ... ok test_image_date_1_upload (pylxd.deprecated.tests.test_image.LXDAPIImageTestObject) ... ok test_image_date_2_create (pylxd.deprecated.tests.test_image.LXDAPIImageTestObject) ... ok test_image_date_3_expire (pylxd.deprecated.tests.test_image.LXDAPIImageTestObject) ... ok test_image_date_fail_1_upload (pylxd.deprecated.tests.test_image.LXDAPIImageTestObject) ... ok test_image_date_fail_2_create (pylxd.deprecated.tests.test_image.LXDAPIImageTestObject) ... ok test_image_date_fail_3_expire (pylxd.deprecated.tests.test_image.LXDAPIImageTestObject) ... ok test_image_defined_1_True (pylxd.deprecated.tests.test_image.LXDAPIImageTestObject) ... ok test_image_defined_2_False (pylxd.deprecated.tests.test_image.LXDAPIImageTestObject) ... ok test_image_defined_fail_1_APIError (pylxd.deprecated.tests.test_image.LXDAPIImageTestObject) ... ok test_image_defined_fail_2_PyLXDException (pylxd.deprecated.tests.test_image.LXDAPIImageTestObject) ... ok test_image_info (pylxd.deprecated.tests.test_image.LXDAPIImageTestObject) ... ok test_image_info_fail (pylxd.deprecated.tests.test_image.LXDAPIImageTestObject) ... ok test_list_images_1_list (pylxd.deprecated.tests.test_image.LXDAPIImageTestObject) ... ok test_list_images_2_search (pylxd.deprecated.tests.test_image.LXDAPIImageTestObject) ... ok test_list_images_fail_1_list (pylxd.deprecated.tests.test_image.LXDAPIImageTestObject) ... ok test_list_images_fail_2_search (pylxd.deprecated.tests.test_image.LXDAPIImageTestObject) ... ok test_image_export (pylxd.deprecated.tests.test_image.LXDAPIImageTestRaw) ... ok test_image_export_fail (pylxd.deprecated.tests.test_image.LXDAPIImageTestRaw) ... ok test_image_operations_1_delete (pylxd.deprecated.tests.test_image.LXDAPIImageTestStatus) ... ok test_image_operations_2_update (pylxd.deprecated.tests.test_image.LXDAPIImageTestStatus) ... ok test_image_operations_3_rename (pylxd.deprecated.tests.test_image.LXDAPIImageTestStatus) ... ok test_image_operations_fail_1_delete (pylxd.deprecated.tests.test_image.LXDAPIImageTestStatus) ... ok test_image_operations_fail_2_update (pylxd.deprecated.tests.test_image.LXDAPIImageTestStatus) ... ok test_image_operations_fail_3_rename (pylxd.deprecated.tests.test_image.LXDAPIImageTestStatus) ... ok test_alias_list (pylxd.deprecated.tests.test_image_alias.LXDAPIImageAliasTestObject) ... ok test_alias_show (pylxd.deprecated.tests.test_image_alias.LXDAPIImageAliasTestObject) ... ok test_alias_defined_1_True (pylxd.deprecated.tests.test_image_alias.LXDAPIImageAliasTestStatus) ... ok test_alias_defined_2_False (pylxd.deprecated.tests.test_image_alias.LXDAPIImageAliasTestStatus) ... ok test_alias_operations_1_create (pylxd.deprecated.tests.test_image_alias.LXDAPIImageAliasTestStatus) ... ok test_alias_operations_2_update (pylxd.deprecated.tests.test_image_alias.LXDAPIImageAliasTestStatus) ... ok test_alias_operations_3_rename (pylxd.deprecated.tests.test_image_alias.LXDAPIImageAliasTestStatus) ... ok test_alias_operations_4_delete (pylxd.deprecated.tests.test_image_alias.LXDAPIImageAliasTestStatus) ... ok test_list_networks (pylxd.deprecated.tests.test_network.LXDAPINetworkTest) ... ok test_network_data_1_name (pylxd.deprecated.tests.test_network.LXDAPINetworkTest) ... ok test_network_data_2_type (pylxd.deprecated.tests.test_network.LXDAPINetworkTest) ... ok test_network_data_3_members (pylxd.deprecated.tests.test_network.LXDAPINetworkTest) ... ok test_network_show (pylxd.deprecated.tests.test_network.LXDAPINetworkTest) ... ok test_list_operations (pylxd.deprecated.tests.test_operation.LXDAPIOperationTestObject) ... ok test_operation_info (pylxd.deprecated.tests.test_operation.LXDAPIOperationTestObject) ... ok test_operation_show_1_create_time (pylxd.deprecated.tests.test_operation.LXDAPIOperationTestObject) ... ok test_operation_show_2_update_time (pylxd.deprecated.tests.test_operation.LXDAPIOperationTestObject) ... ok test_operation_show_3_status (pylxd.deprecated.tests.test_operation.LXDAPIOperationTestObject) ... ok test_operation_actions_1_operation_delete (pylxd.deprecated.tests.test_operation.LXDAPIOperationTestStatus) ... ok test_operation_actions_2_wait_container_operation (pylxd.deprecated.tests.test_operation.LXDAPIOperationTestStatus) ... ok test_list_profiles (pylxd.deprecated.tests.test_profiles.LXDAPIProfilesTestObject) ... ok test_profile_show (pylxd.deprecated.tests.test_profiles.LXDAPIProfilesTestObject) ... ok test_profile_defined_1_True (pylxd.deprecated.tests.test_profiles.LXDAPIProfilesTestStatus) ... ok test_profile_defined_2_False (pylxd.deprecated.tests.test_profiles.LXDAPIProfilesTestStatus) ... ok test_profile_operations_1_create (pylxd.deprecated.tests.test_profiles.LXDAPIProfilesTestStatus) ... ok test_profile_operations_2_update (pylxd.deprecated.tests.test_profiles.LXDAPIProfilesTestStatus) ... ok test_profile_operations_3_rename (pylxd.deprecated.tests.test_profiles.LXDAPIProfilesTestStatus) ... ok test_profile_operations_4_delete (pylxd.deprecated.tests.test_profiles.LXDAPIProfilesTestStatus) ... ok A certificates are returned. ... ok A certificate is created. ... ok A certificate is deleted. ... ok A partial object is fully fetched. ... ok A certificate is retrieved. ... ok Perform a session delete. ... ok Perform a session get. ... ok API Nodes can use object notation for nesting. ... ok API Nodes can use dict notation for nesting. ... ok Perform a session post. ... ok A status code of 200 with async request raises an exception. ... ok A missing response type raises an exception. ... ok Perform a session put. ... ok HTTP nodes return the default requests session. ... ok HTTP nodes return a requests_unixsocket session. ... ok A client is authenticated. ... ok If the client is already authenticated, nothing happens. ... ok If the endpoint 404s, an exception is raised. ... ok If the connection fails, an exception is raised. ... ok Client.trusted is True when certs are untrusted. ... ok Client.trusted is False when certs are untrusted. ... ok Client creation sets default API endpoint. ... ok When LXD_DIR is set, use it in the client. ... ok Explicitly set the client endpoint. ... ok Test with unix socket endpoint. ... ok The default websocket client is returned. ... SKIP: ws4py is not installed An http compatible websocket client is returned. ... SKIP: ws4py is not installed An https compatible websocket client is returned. ... SKIP: ws4py is not installed No ws4py will result in a ValueError. ... ok A unix socket compatible websocket client is returned. ... SKIP: ws4py is not installed Perform a host query. ... ok A `message` attribute of an empty list is created. ... SKIP: ws4py is not installed A json dict is added to the messages attribute. ... SKIP: ws4py is not installed A list of all containers are returned. ... ok A new container is created. ... ok A container is deleted. ... ok A command is executed on a container. ... SKIP: ws4py is not installed If ws4py is not installed, ValueError is raised. ... ok A command passed as string raises a TypeError. ... SKIP: ws4py is not installed A sync updates the properties of a container. ... ok LXDAPIException is raised on error. ... ok LXDAPIException is raised on a 404 for updating container. ... ok Return a container. ... ok LXDAPIException is raised when the LXD API errors. ... ok LXDAPIException is raised when the container doesn't exist. ... ok A container is migrated. ... ok Containers can be published. ... ok test_rename (pylxd.tests.test_container.TestContainer) ... ok A container is updated. ... ok Return all snapshots. ... ok Create a snapshot. ... ok Return a specific snapshot. ... ok A container is suspended. ... ok Return a container. ... ok A container is restarted. ... ok A container is started. ... ok A container is stopped. ... ok A container is resumed. ... ok A file is retrieved from the container. ... ok LXDAPIException is raised on error. ... ok LXDAPIException is raised on bogus filenames. ... ok A file is put on the container. ... ok A snapshot is deleted. ... ok If the response indicates delete failure, raise an exception. ... ok Snapshots can be published. ... ok A snapshot is renamed. ... ok Try to add an alias. ... ok Adding a alias twice should raise an LXDAPIException. ... ok A list of all images is returned. ... ok Try to copy an image to another LXD instance. ... ok Try to copy and don't wait. ... ok Try to copy a public image. ... ok An image is created. ... ok Try to create an image from simplestreams. ... ok Try to create an image from an URL. ... ok An image is deleted. ... ok An image is exported. ... ok LXDAPIException is raised on API error. ... ok LXDAPIException is raised on export of bogus image. ... ok A partial object is fetched and populated. ... ok A 500 error raises LXDAPIException. ... ok A bogus image fetch raises LXDAPIException. ... ok An image is fetched. ... ok test_get_by_alias (pylxd.tests.test_image.TestImage) ... ok LXDAPIException is raised on error. ... ok LXDAPIException is raised when the image isn't found. ... ok Try to remove an-alias. ... ok Try to remove an non existant alias. ... ok Try to remove an alias which is not in the current image. ... ok An image is updated. ... ok The object is deleted, and client is unset. ... ok Changes mark the object as dirty. ... ok Setting unknown attributes raise an exception. ... ok Initial attributes are set. ... ok Unknown attributes aren't set. ... /home/ubuntu/python-pylxd-2.0.5/pylxd/model.py:113: UserWarning: Attempted to set unknown attribute "nonexistent" on instance of "Item" key, self.__class__.__name__ ok TypeError is raised when data can't be converted to type. ... ok Age is set properly to be an int. ... ok The object is marshalled into a dict. ... ok Changes mark the object as dirty. ... ok Rollback resets the object from the server. ... ok Attributes are written to the server; object is marked clean. ... ok A sync will update attributes from the server. ... ok Sync will not overwrite local attribute changes. ... ok Setting unknown attributes raise an exception. ... ok Reading unavailable attributes calls sync. ... ok A list of all networks are returned. ... ok delete is not implemented in networks. ... ok Return a container. ... ok A partial network is synced. ... ok save is not implemented in networks. ... ok Return an operation. ... ok Return an operation even if the full path is specified. ... ok If the operation errors, wait raises an exception. ... ok A list of all profiles is returned. ... ok A new profile is created. ... ok A profile is deleted. ... ok A partially fetched profile is made complete. ... ok LXDAPIException is raised on fetch error. ... ok LXDAPIException is raised on bogus profile fetches. ... ok A profile is fetched. ... ok LXDAPIException is raised on get error. ... ok LXDAPIException is raised on unknown profiles. ... ok A profile is renamed. ... ok A profile is updated. ... ok