The attempt to merge lp:~ralsina/ubuntu-sso-client/login-user-password into lp:ubuntu-sso-client failed. Below is the output from the failed tests. Running test suite for ubuntu_sso Xlib: extension "RANDR" missing on display ":99". ubuntu_sso.utils.tests.test_ui GetPasswordStrengTestCase test_eight_chars_and_num ... [OK] test_eight_chars_low_and_cap ... [OK] test_eight_chars_low_canp_num ... [OK] test_eight_chars_password ... [OK] test_eiqgh_chars_and_special ... [OK] test_eleven_chars_and_num ... [OK] test_eleven_chars_low_cap ... [OK] test_eleven_num_low_cap ... [OK] test_eleven_num_special ... [OK] test_long_password ... [OK] test_small_password ... [OK] test_too_small_password ... [OK] IsCorrectEmailAddress test_is_correct_email_false ... [OK] test_is_correct_email_true ... [OK] IsMinRequiredPasswordTestCase test_correct_password ... [OK] test_no_enough_chars ... [OK] test_no_number ... [OK] test_no_uppercase ... [OK] ubuntu_sso.utils.tests.test_txsecrets AltItemTestCase test_create_item_four_fields_per_secret ... [OK] test_get_value_four_fields_per_secret ... [OK] BaseTestCase runTest ... [OK] CollectionTestCase test_create_item ... ERROR:dbus.connection:Unable to set arguments ({'org.freedesktop.Secret.Collection.Label': dbus.String(u'sample_keyring', variant_level=1)}, '') according to signature u'a{sv}': : Fewer items found in D-Bus signature than in Python arguments [OK] test_create_item_prompt ... ERROR:dbus.connection:Unable to set arguments ({'org.freedesktop.Secret.Collection.Label': dbus.String(u'sample_keyring', variant_level=1)}, '') according to signature u'a{sv}': : Fewer items found in D-Bus signature than in Python arguments [OK] test_create_item_prompt_dismissed ... ERROR:dbus.connection:Unable to set arguments ({'org.freedesktop.Secret.Collection.Label': dbus.String(u'sample_keyring', variant_level=1)}, '') according to signature u'a{sv}': : Fewer items found in D-Bus signature than in Python arguments [OK] test_create_item_throws_dbus_error ... ERROR:dbus.connection:Unable to set arguments ({'org.freedesktop.Secret.Collection.Label': dbus.String(u'sample_keyring', variant_level=1)}, '') according to signature u'a{sv}': : Fewer items found in D-Bus signature than in Python arguments [OK] test_get_label ... ERROR:dbus.connection:Unable to set arguments ({'org.freedesktop.Secret.Collection.Label': dbus.String(u'sample_keyring', variant_level=1)}, '') according to signature u'a{sv}': : Fewer items found in D-Bus signature than in Python arguments [OK] ubuntuone.devtools.testcase DBusTestCase runTest ... [OK] ubuntu_sso.utils.tests.test_txsecrets ItemTestCase test_delete ... ERROR:dbus.connection:Unable to set arguments ({'org.freedesktop.Secret.Collection.Label': dbus.String(u'sample_keyring', variant_level=1)}, '') according to signature u'a{sv}': : Fewer items found in D-Bus signature than in Python arguments [OK] test_delete_prompt ... ERROR:dbus.connection:Unable to set arguments ({'org.freedesktop.Secret.Collection.Label': dbus.String(u'sample_keyring', variant_level=1)}, '') according to signature u'a{sv}': : Fewer items found in D-Bus signature than in Python arguments [OK] test_delete_prompt_dismissed ... ERROR:dbus.connection:Unable to set arguments ({'org.freedesktop.Secret.Collection.Label': dbus.String(u'sample_keyring', variant_level=1)}, '') according to signature u'a{sv}': : Fewer items found in D-Bus signature than in Python arguments [OK] test_delete_throws_dbus_error ... ERROR:dbus.connection:Unable to set arguments ({'org.freedesktop.Secret.Collection.Label': dbus.String(u'sample_keyring', variant_level=1)}, '') according to signature u'a{sv}': : Fewer items found in D-Bus signature than in Python arguments [OK] test_get_value ... ERROR:dbus.connection:Unable to set arguments ({'org.freedesktop.Secret.Collection.Label': dbus.String(u'sample_keyring', variant_level=1)}, '') according to signature u'a{sv}': : Fewer items found in D-Bus signature than in Python arguments [OK] test_get_value_throws_dbus_error ... ERROR:dbus.connection:Unable to set arguments ({'org.freedesktop.Secret.Collection.Label': dbus.String(u'sample_keyring', variant_level=1)}, '') according to signature u'a{sv}': : Fewer items found in D-Bus signature than in Python arguments [OK] SecretServiceTestCase test_create_collection ... ERROR:dbus.connection:Unable to set arguments ({'org.freedesktop.Secret.Collection.Label': dbus.String(u'sample_keyring', variant_level=1)}, '') according to signature u'a{sv}': : Fewer items found in D-Bus signature than in Python arguments [OK] test_create_collection_prompt ... ERROR:dbus.connection:Unable to set arguments ({'org.freedesktop.Secret.Collection.Label': dbus.String(u'sample_keyring', variant_level=1)}, '') according to signature u'a{sv}': : Fewer items found in D-Bus signature than in Python arguments [OK] test_create_collection_prompt_dismissed ... ERROR:dbus.connection:Unable to set arguments ({'org.freedesktop.Secret.Collection.Label': dbus.String(u'sample_keyring', variant_level=1)}, '') according to signature u'a{sv}': : Fewer items found in D-Bus signature than in Python arguments [OK] test_create_collection_throws_dbus_error ... ERROR:dbus.connection:Unable to set arguments ({'org.freedesktop.Secret.Collection.Label': dbus.String(u'sample_keyring', variant_level=1)}, '') according to signature u'a{sv}': : Fewer items found in D-Bus signature than in Python arguments [OK] test_get_collections ... ERROR:dbus.connection:Unable to set arguments ({'org.freedesktop.Secret.Collection.Label': dbus.String(u'collection1', variant_level=1)}, '') according to signature u'a{sv}': : Fewer items found in D-Bus signature than in Python arguments ERROR:dbus.connection:Unable to set arguments ({'org.freedesktop.Secret.Collection.Label': dbus.String(u'collection2', variant_level=1)}, '') according to signature u'a{sv}': : Fewer items found in D-Bus signature than in Python arguments [OK] test_get_default_collection_created_if_no_default ... ERROR:dbus.connection:Unable to set arguments ({'org.freedesktop.Secret.Collection.Label': dbus.String(u'sample_nondefault_keyring', variant_level=1)}, '') according to signature u'a{sv}': : Fewer items found in D-Bus signature than in Python arguments ERROR:dbus.connection:Unable to set arguments ({'org.freedesktop.Secret.Collection.Label': dbus.String(u'default', variant_level=1)}, '') according to signature u'a{sv}': : Fewer items found in D-Bus signature than in Python arguments [OK] test_get_default_collection_created_if_nonexistent ... ERROR:dbus.connection:Unable to set arguments ({'org.freedesktop.Secret.Collection.Label': dbus.String(u'default', variant_level=1)}, '') according to signature u'a{sv}': : Fewer items found in D-Bus signature than in Python arguments [OK] test_get_default_collection_honours_default_path ... ERROR:dbus.connection:Unable to set arguments ({'org.freedesktop.Secret.Collection.Label': dbus.String(u'sample_default_keyring', variant_level=1)}, '') according to signature u'a{sv}': : Fewer items found in D-Bus signature than in Python arguments [OK] test_get_default_collection_honours_readalias ... ERROR:dbus.connection:Unable to set arguments ({'org.freedesktop.Secret.Collection.Label': dbus.String(u'sample_default_keyring', variant_level=1)}, '') according to signature u'a{sv}': : Fewer items found in D-Bus signature than in Python arguments [OK] test_get_default_collection_is_unlocked_default_path ... ERROR:dbus.connection:Unable to set arguments ({'org.freedesktop.Secret.Collection.Label': dbus.String(u'sample_keyring', variant_level=1)}, '') according to signature u'a{sv}': : Fewer items found in D-Bus signature than in Python arguments [OK] test_get_default_collection_is_unlocked_readalias ... ERROR:dbus.connection:Unable to set arguments ({'org.freedesktop.Secret.Collection.Label': dbus.String(u'sample_keyring', variant_level=1)}, '') according to signature u'a{sv}': : Fewer items found in D-Bus signature than in Python arguments [OK] test_get_default_collection_set_as_default_if_nonexistent ... ERROR:dbus.connection:Unable to set arguments ({'org.freedesktop.Secret.Collection.Label': dbus.String(u'default', variant_level=1)}, '') according to signature u'a{sv}': : Fewer items found in D-Bus signature than in Python arguments [OK] test_open_session ... [OK] test_open_session_fails_before_opening_as_failure ... [OK] test_open_session_throws_dbus_error_as_failure ... [OK] test_prompt_accepted ... [OK] test_prompt_dismissed ... [OK] test_search_items_merges_unlocked_and_locked_items ... ERROR:dbus.connection:Unable to set arguments ({'org.freedesktop.Secret.Collection.Label': dbus.String(u'coll1', variant_level=1)}, '') according to signature u'a{sv}': : Fewer items found in D-Bus signature than in Python arguments ERROR:dbus.connection:Unable to set arguments ({'org.freedesktop.Secret.Collection.Label': dbus.String(u'coll2', variant_level=1)}, '') according to signature u'a{sv}': : Fewer items found in D-Bus signature than in Python arguments [OK] test_search_items_merges_unlocked_locked_and_prompt_items ... ERROR:dbus.connection:Unable to set arguments ({'org.freedesktop.Secret.Collection.Label': dbus.String(u'coll1', variant_level=1)}, '') according to signature u'a{sv}': : Fewer items found in D-Bus signature than in Python arguments ERROR:dbus.connection:Unable to set arguments ({'org.freedesktop.Secret.Collection.Label': dbus.String(u'coll2', variant_level=1)}, '') according to signature u'a{sv}': : Fewer items found in D-Bus signature than in Python arguments ERROR:dbus.connection:Unable to set arguments ({'org.freedesktop.Secret.Collection.Label': dbus.String(u'coll3', variant_level=1)}, '') according to signature u'a{sv}': : Fewer items found in D-Bus signature than in Python arguments [OK] test_search_locked_items ... ERROR:dbus.connection:Unable to set arguments ({'org.freedesktop.Secret.Collection.Label': dbus.String(u'sample_keyring', variant_level=1)}, '') according to signature u'a{sv}': : Fewer items found in D-Bus signature than in Python arguments [OK] test_search_locked_items_prompts ... ERROR:dbus.connection:Unable to set arguments ({'org.freedesktop.Secret.Collection.Label': dbus.String(u'sample_keyring', variant_level=1)}, '') according to signature u'a{sv}': : Fewer items found in D-Bus signature than in Python arguments [OK] test_search_locked_items_prompts_dismissed ... ERROR:dbus.connection:Unable to set arguments ({'org.freedesktop.Secret.Collection.Label': dbus.String(u'sample_keyring', variant_level=1)}, '') according to signature u'a{sv}': : Fewer items found in D-Bus signature than in Python arguments [OK] test_search_unlocked_items ... ERROR:dbus.connection:Unable to set arguments ({'org.freedesktop.Secret.Collection.Label': dbus.String(u'sample_keyring', variant_level=1)}, '') according to signature u'a{sv}': : Fewer items found in D-Bus signature than in Python arguments [OK] ubuntu_sso.utils.tests.test_tcpactivation ActivationClientTestCase test_do_get_active_port_not_running ... [OK] test_do_get_active_port_running ... [OK] test_get_active_port_waits_classwide ... [OK] test_initialization ... [OK] test_spawn_server ... [OK] test_wait_server_active ... [OK] test_wait_server_timeouts ... [OK] ActivationConfigTestCase test_initialization ... [OK] ActivationDetectorTestCase test_initialization ... [OK] test_is_already_running ... [OK] test_is_not_already_running ... [OK] ActivationInstanceTestCase test_get_port ... [OK] test_get_port_fails_if_service_already_started ... [OK] test_initialization ... [OK] AsyncSleepTestCase test_async_sleep_fired_at_the_right_time ... [OK] test_async_sleep_not_fired_immediately ... [OK] test_async_sleep_not_fired_in_a_bit ... [OK] NullProtocolTestCase test_drops_connection ... [OK] PortDetectFactoryTestCase test_connection_failed ... [OK] test_connection_failed_then_lost ... [OK] test_connection_lost ... [OK] test_connection_works_then_lost ... [OK] test_is_listening ... [OK] twisted.trial.unittest TestCase runTest ... [OK] ubuntu_sso.gtk.tests.test_gui BasicTestCase runTest ... [OK] BasicUbuntuSSOClientTestCase test_app_name_is_stored ... [OK] test_bus_interface_is_created ... [OK] test_bus_object_is_created ... [OK] test_cancel_buttons_close_window ... [OK] test_close_callback_if_not_set ... [OK] test_closing_main_window_calls_close_callback ... [OK] test_dbus_signals_are_removed ... [OK] test_entries_activates_default ... [OK] test_finish_error_shows_error_page ... [OK] test_finish_success_shows_success_page ... [OK] test_iface_name_is_correct ... [OK] test_initial_text_for_entries ... [OK] test_label_size_allocated_is_connected ... [OK] test_main_window_is_resizable ... [OK] test_main_window_is_visible_at_startup ... [OK] test_pages_are_packed_into_container ... [OK] test_password_fields_are_password ... [OK] test_session_bus_is_correct ... [OK] test_transient_window_accepts_negative_id ... [OK] test_transient_window_is_correct ... [OK] test_transient_window_is_none_if_window_id_is_zero ... [OK] test_warning_fields_are_cleared ... [OK] test_window_icon ... [OK] CallbacksTestCase test_closing_main_window ... [OK] test_every_cancel_calls_proper_callback ... [OK] test_login_success_even_if_prior_login_error ... [OK] test_on_email_validated_proper_callback_is_called ... [OK] test_on_email_validation_error_proper_callback_is_called ... [OK] test_on_logged_in_proper_callback_is_called ... [OK] test_on_login_error_proper_callback_is_called ... [OK] test_on_user_registration_error_proper_callback_is_called ... [OK] test_registration_success_even_if_prior_registration_error ... [OK] test_user_cancelation_even_if_prior_login_error ... [OK] test_user_cancelation_even_if_prior_registration_error ... [OK] DbusTestCase test_all_the_signals_are_listed ... [OK] test_callbacks_only_log_when_app_name_doesnt_match ... [OK] test_on_captcha_generated_is_not_called ... [OK] test_on_captcha_generation_error_is_not_called ... [OK] test_on_email_validated_is_not_called ... [OK] test_on_email_validation_error_is_not_called ... [OK] test_on_logged_in_is_not_called ... [OK] test_on_login_error_is_not_called ... [OK] test_on_password_change_error_is_not_called ... [OK] test_on_password_changed_is_not_called ... [OK] test_on_password_reset_error_is_not_called ... [OK] test_on_password_reset_token_sent_is_not_called ... [OK] test_on_user_not_validated_is_not_called ... [OK] test_on_user_registered_is_not_called ... [OK] test_on_user_registration_error_is_not_called ... [OK] test_signal_receivers_are_connected ... [OK] DefaultButtonsTestCase test_default_widget_can_default ... [OK] test_pages_have_default_widget_set ... [OK] test_set_current_page_grabs_focus_for_default_button ... [OK] EnterDetailsTestCase test_captcha_filename_is_different_each_time ... [OK] test_captcha_id_is_stored_when_captcha_is_available ... [OK] test_captcha_image_is_a_spinner_at_first ... [OK] test_captcha_image_is_not_visible_at_startup ... [OK] test_captcha_image_is_removed_when_exiting ... [OK] test_captcha_image_is_requested_as_startup ... [OK] test_captcha_is_shown_when_available ... [OK] test_captcha_loading_is_hid_when_captcha_is_available ... [OK] test_captcha_reload_button_has_tooltip ... [OK] test_captcha_reload_button_reloads_captcha ... [OK] test_captcha_reload_button_visible ... [OK] test_captcha_success_after_error ... [OK] test_checkbuttons_are_checked_at_startup ... [OK] test_entries_are_packed_to_ui ... [OK] test_initial_text_for_header_label ... [OK] test_initial_texts_for_checkbuttons ... [OK] test_join_ok_button_clicked ... [OK] test_join_ok_button_clicked_morphs_to_processing_page ... [OK] test_join_ok_button_does_nothing_if_clicked_but_disabled ... [OK] test_join_ok_button_is_disabled_until_captcha_is_available ... [OK] test_join_ok_button_is_enabled_when_captcha_is_available ... [OK] test_login_button_has_correct_wording ... [OK] test_on_captcha_generated_logs_captcha_id_when_none ... [OK] test_on_captcha_generation_error ... [OK] test_processing_vbox_displays_an_active_spinner ... [OK] test_user_and_pass_are_cached ... [OK] test_vboxes_visible_properties ... [OK] LabeledEntryTestCase test_clear_entry_on_focus_in ... [OK] test_clear_warning ... [OK] test_get_text_doesnt_ignore_user_input ... [OK] test_get_text_ignores_empty_input ... [OK] test_get_text_ignores_label ... [OK] test_initial_text ... [OK] test_no_warning_by_default ... [OK] test_preserve_input_on_focus_out_and_in_again ... [OK] test_preserve_input_on_focus_out_if_user_input ... [OK] test_refill_entry_on_focus_out_if_empty_input ... [OK] test_refill_entry_on_focus_out_if_no_input ... [OK] test_set_warning ... [OK] test_text_defaults_to_theme_color_when_focus_in ... [OK] test_tooltip ... [OK] test_width_chars ... [OK] LoginOnlyTestCase test_help_text_is_used ... [OK] test_login_is_first_page ... [OK] test_login_ok_button_has_the_focus ... [OK] test_no_back_button ... [OK] LoginTestCase test_after_login_error_finish_error ... [OK] test_after_login_success_finish_success ... [OK] test_back_to_registration_hides_warning ... [OK] test_entries_are_packed_to_ui_for_login ... [OK] test_entries_are_packed_to_ui_for_request_password_token ... [OK] test_entries_are_packed_to_ui_for_set_new_password ... [OK] test_initial_text_for_header_label ... [OK] test_initial_text_for_help_label ... [OK] test_login_button_clicked_morphs_to_login_page ... [OK] test_login_ok_button_does_nothing_if_clicked_but_disabled ... [OK] test_on_logged_in_morphs_to_finish_page ... [OK] test_on_login_back_button_clicked ... [OK] test_on_login_connect_button_clicked ... [OK] test_on_login_connect_button_clicked_morphs_to_processing_page ... [OK] test_on_login_error_a_warning_is_shown ... [OK] test_on_login_error_morphs_to_login_page ... [OK] test_on_user_not_validated_morphs_to_verify_page ... [OK] test_specific_errors_from_backend_are_shown ... [OK] test_user_and_pass_are_cached ... [OK] LoginValidationTestCase test_no_warning_messages_if_valid_data ... [OK] test_no_warning_messages_if_valid_data_after_invalid_data ... [OK] test_warning_is_shown_if_empty_email ... [OK] test_warning_is_shown_if_empty_password ... [OK] test_warning_is_shown_if_invalid_email ... [OK] NoTermsAndConditionsTestCase test_no_tc_link ... [OK] PasswordLabeledEntryTestCase test_clear_entry_on_focus_in ... [OK] test_clear_warning ... [OK] test_get_text_doesnt_ignore_user_input ... [OK] test_get_text_ignores_empty_input ... [OK] test_get_text_ignores_label ... [OK] test_initial_text ... [OK] test_no_warning_by_default ... [OK] test_password_field_is_visible_if_no_input_and_focus_out ... [OK] test_password_fields_are_not_visible_when_editing ... [OK] test_password_fields_are_visible_at_startup ... [OK] test_preserve_input_on_focus_out_and_in_again ... [OK] test_preserve_input_on_focus_out_if_user_input ... [OK] test_refill_entry_on_focus_out_if_empty_input ... [OK] test_refill_entry_on_focus_out_if_no_input ... [OK] test_set_warning ... [OK] test_text_defaults_to_theme_color_when_focus_in ... [OK] test_tooltip ... [OK] test_width_chars ... [OK] RegistrationErrorTestCase test_captcha_is_reloaded ... [OK] test_previous_page_is_shown ... [OK] test_specific_errors_from_backend_are_shown ... [OK] test_warning_label_is_shown ... [OK] RegistrationValidationTestCase test_no_warning_messages_if_valid_data ... [OK] test_no_warning_messages_if_valid_data_after_invalid_data ... [OK] test_password_help_is_always_shown ... [OK] test_warning_is_shown_if_email_mismatch ... [OK] test_warning_is_shown_if_empty_email ... [OK] test_warning_is_shown_if_invalid_email ... [OK] test_warning_is_shown_if_name_empty ... [OK] test_warning_is_shown_if_not_captcha_solution ... [OK] test_warning_is_shown_if_password_mismatch ... [OK] test_warning_is_shown_if_password_too_weak ... [OK] test_warning_is_shown_if_tc_not_accepted ... [OK] ResetPasswordTestCase test_forgotten_password_button_has_the_proper_wording ... [OK] test_ok_button_does_nothing_if_clicked_but_disabled ... [OK] test_on_forgotten_password_button_clicked_header_label ... [OK] test_on_forgotten_password_button_clicked_help_text ... [OK] test_on_forgotten_password_button_clicked_morphs_window ... [OK] test_on_forgotten_password_button_clicked_ok_button ... [OK] test_on_password_reset_error_shows_login_page ... [OK] test_on_password_reset_token_sent_help_text ... [OK] test_on_password_reset_token_sent_morphs_window ... [OK] test_on_password_reset_token_sent_ok_button ... [OK] test_on_request_password_token_back_button_clicked ... [OK] test_on_request_password_token_ok_button_clicked_calls_backend ... [OK] test_on_request_password_token_ok_button_clicked_morphs_window ... [OK] test_request_password_token_ok_button_disabled_until_email_added ... [OK] test_specific_errors_from_backend_are_shown ... [OK] ResetPasswordValidationTestCase test_no_warning_messages_if_valid_data ... [OK] test_no_warning_messages_if_valid_data_after_invalid_data ... [OK] test_warning_is_shown_if_empty_email ... [OK] test_warning_is_shown_if_invalid_email ... [OK] SetNewPasswordTestCase test_ok_button_does_nothing_if_clicked_but_disabled ... [OK] test_on_password_change_error_shows_login_page ... [OK] test_on_password_changed_shows_login_page ... [OK] test_on_set_new_password_ok_button_clicked_calls_backend ... [OK] test_on_set_new_password_ok_button_clicked_morphs_window ... [OK] test_on_set_new_password_ok_button_disabled ... [OK] test_specific_errors_from_backend_are_shown ... [OK] SetNewPasswordValidationTestCase test_no_warning_messages_if_valid_data ... [OK] test_no_warning_messages_if_valid_data_after_invalid_data ... [OK] test_password_help_is_always_shown ... [OK] test_warning_is_shown_if_password_mismatch ... [OK] test_warning_is_shown_if_password_too_weak ... [OK] test_warning_is_shown_if_reset_code_empty ... [OK] TermsAndConditionsBrowserTestCase test_is_visible ... [OK] test_navigation_requested_connected ... [OK] test_navigation_requested_ignores_clicked_links ... [OK] test_navigation_requested_ignores_for_none ... [OK] test_navigation_requested_opens_links_when_clicked ... [OK] test_navigation_requested_succeeds_for_no_clicking ... [OK] test_notify_load_finished_connected ... [OK] test_notify_load_status_connected ... [SKIPPED] test_settings ... [OK] test_tc_back_clicked_returns_to_previous_page ... [OK] test_tc_browser_is_created_when_tc_page_is_shown ... [OK] test_tc_browser_is_destroyed_when_tc_page_is_hid ... [OK] test_tc_browser_is_removed_when_tc_page_is_hid ... [OK] test_tc_browser_opens_the_proper_url ... [OK] test_tc_button_clicked_morphs_into_processing_page ... [OK] test_tc_button_has_the_proper_wording ... [OK] test_tc_has_no_help_text ... [OK] test_tc_loaded_morphs_into_tc_browser_vbox ... [OK] TermsAndConditionsTestCase test_has_tc_link ... [OK] twisted.trial.unittest TestCase runTest ... [OK] ubuntu_sso.gtk.tests.test_gui UbuntuSSOClientTestCase runTest ... [OK] VerifyEmailLoginOnlyTestCase test_after_registration_error_finish_error ... [OK] test_after_registration_success_finish_success ... [OK] test_error_label_is_correct ... [OK] test_help_label_display_correct_wording ... [OK] test_no_warning_messages_if_valid_data ... [OK] test_on_email_validated_does_not_clear_the_help_text ... [OK] test_on_email_validated_shows_finish_page ... [OK] test_on_email_validation_error_verify_email_is_shown ... [OK] test_on_finish_close_button_clicked_closes_window ... [OK] test_on_verify_token_button_clicked ... [OK] test_on_verify_token_button_clicked_calls_validate_email ... [OK] test_on_verify_token_button_shows_processing_page ... [OK] test_registration_successful_shows_verify_email_vbox ... [OK] test_specific_errors_from_backend_are_shown ... [OK] test_success_label_is_correct ... [OK] test_verify_token_button_does_nothing_if_clicked_but_disabled ... [OK] VerifyEmailTestCase test_after_registration_error_finish_error ... [OK] test_after_registration_success_finish_success ... [OK] test_error_label_is_correct ... [OK] test_help_label_display_correct_wording ... [OK] test_no_warning_messages_if_valid_data ... [OK] test_on_email_validated_does_not_clear_the_help_text ... [OK] test_on_email_validated_shows_finish_page ... [OK] test_on_email_validation_error_verify_email_is_shown ... [OK] test_on_finish_close_button_clicked_closes_window ... [OK] test_on_verify_token_button_clicked ... [OK] test_on_verify_token_button_clicked_calls_validate_email ... [OK] test_on_verify_token_button_shows_processing_page ... [OK] test_registration_successful_shows_verify_email_vbox ... [OK] test_specific_errors_from_backend_are_shown ... [OK] test_success_label_is_correct ... [OK] test_verify_token_button_does_nothing_if_clicked_but_disabled ... [OK] VerifyEmailValidationLoginOnlyTestCase test_no_warning_messages_if_valid_data ... [OK] test_no_warning_messages_if_valid_data_after_invalid_data ... [OK] test_warning_is_shown_if_empty_email_token ... [OK] VerifyEmailValidationTestCase test_no_warning_messages_if_valid_data ... [OK] test_no_warning_messages_if_valid_data_after_invalid_data ... [OK] test_warning_is_shown_if_empty_email_token ... [OK] ubuntu_sso.main.tests.test_common CredentialsManagementMockedTestCase test_clear_credentials ... [OK] test_find_credentials ... [OK] test_login ... [OK] test_login_email_password ... Traceback (most recent call last): File "/usr/lib/python2.7/unittest/case.py", line 321, in run testMethod() File "/usr/lib/pymodules/python2.7/mocker.py", line 146, in test_method_wrapper result = test_method() File "/home/otto/tarmac-builds/ubuntu-sso-client/trunk/ubuntu_sso/main/tests/test_common.py", line 252, in test_login_email_password self.cred.login_email_password(app_name, args) File "/home/otto/tarmac-builds/ubuntu-sso-client/trunk/ubuntu_sso/main/linux.py", line 470, in login_email_password raise NotImplementedError exceptions.NotImplementedError: [ERROR] test_register ... [OK] test_store_credentials ... [OK] EnvironOverridesTestCase test_no_override_ping_url ... [OK] test_override_ping_url ... [OK] SSOCredentialsMockedTestCase test_clear_token ... [OK] test_find_credentials ... [OK] test_login_or_register_to_get_credentials ... [OK] SSOLoginMockedTestCase test_generate_captcha ... [OK] test_login ... [OK] test_register_user ... [OK] test_request_password_reset_token ... [OK] test_set_new_password ... [OK] test_validate_email ... [OK] ubuntu_sso.main.tests.test_linux ApplicationCredentialsClearTokenTestCase test_clear_token ... [OK] ApplicationCredentialsGUITestCase test_login_only ... [OK] test_login_or_register ... [OK] ApplicationCredentialsTestCase test_credentials_not_found ... [OK] test_find_credentials ... [OK] ApplicationCredentialsU1TestCase test_login_only ... [OK] test_login_or_register ... [OK] BlockingFunctionTestCase test_blocking ... [OK] test_blocking_error ... [OK] CredentialsManagementClearTestCase test_clear_credentials ... [OK] test_clear_credentials_does_not_block ... [OK] test_clear_credentials_error ... [OK] test_is_dbus_object ... [OK] CredentialsManagementFindTestCase test_find_credentials ... [OK] test_find_credentials_does_not_block_when_found ... [OK] test_find_credentials_does_not_block_when_not_found ... [OK] test_find_credentials_error ... [OK] test_is_dbus_object ... [OK] CredentialsManagementOpsTestCase test_is_dbus_object ... [OK] test_login ... [OK] test_register ... [OK] CredentialsManagementParamsTestCase test_is_dbus_object ... [OK] test_login ... [OK] test_register ... [OK] CredentialsManagementRefCountingTestCase test_authorization_denied ... [OK] test_autorization_denied_when_ref_count_is_not_positive ... [OK] test_clear_credentials ... [OK] test_credentials_cleared ... [OK] test_credentials_cleared_when_ref_count_is_not_positive ... [OK] test_credentials_error ... [OK] test_credentials_error_when_ref_count_is_not_positive ... [OK] test_credentials_found ... [OK] test_credentials_found_when_ref_count_is_not_positive ... [OK] test_credentials_not_found ... [OK] test_credentials_not_found_when_ref_count_is_not_positive ... [OK] test_credentials_stored ... [OK] test_credentials_stored_when_ref_count_is_not_positive ... [OK] test_find_credentials ... [OK] test_is_dbus_object ... [OK] test_login ... [OK] test_on_non_zero_ref_count_after_zero_do_not_shutdown ... [OK] test_on_non_zero_ref_count_do_not_shutdown ... [OK] test_on_zero_ref_count_shutdown ... [OK] test_ref_counting ... [OK] test_register ... [OK] test_several_requests ... [OK] test_store_credentials ... [OK] test_zero_ref_count_after_zero_do_shutdown ... [OK] CredentialsManagementSignalsTestCase test_authorization_denied ... [OK] test_credentials_cleared ... [OK] test_credentials_error ... [OK] test_credentials_found ... [OK] test_credentials_not_found ... [OK] test_credentials_stored ... [OK] CredentialsManagementStoreTestCase test_is_dbus_object ... [OK] test_store_credentials ... [OK] test_store_credentials_does_not_block ... [OK] test_store_credentials_error ... [OK] CredentialsManagementTestCase test_is_dbus_object ... [OK] EnvironOverridesTestCase test_no_override_ping_url ... [OK] test_override_ping_url ... [OK] ExceptToErrdictTestCase test_first_arg_is_dict ... [OK] test_first_arg_is_str ... [OK] test_first_arg_is_unicode ... [OK] test_no_args_at_all ... [OK] test_some_other_thing_as_first_arg ... [OK] SsoDbusTestCase test_creation ... [OK] test_generate_captcha ... [OK] test_generate_captcha_error ... [OK] test_login ... [OK] test_login_error_get_token_name ... [OK] test_login_error_set_credentials ... [OK] test_login_user_not_validated ... [OK] test_register_user ... [OK] test_register_user_error ... [OK] test_request_password_reset_token ... [OK] test_request_password_reset_token_error ... [OK] test_set_new_password ... [OK] test_set_new_password_error ... [OK] test_validate_email ... [OK] test_validate_email_error ... [OK] ubuntu_sso.tests TestCase runTest ... [OK] twisted.trial.unittest runTest ... [OK] ubuntu_sso.keyring.tests.test_linux TestKeyring test_delete_credentials ... [OK] test_get_credentials ... [OK] test_get_credentials_migrating_token ... [OK] test_get_old_cred_found ... [OK] test_get_old_cred_found_but_not_asked_for ... [OK] test_get_old_cred_not_found ... [OK] test_set_credentials ... [OK] TestTokenNameBuilder test_get_complex_token_name_for_app_name ... [OK] test_get_complex_token_name_for_hostname ... [OK] test_get_simple_token_name ... [OK] ubuntu_sso.tests.test_credentials BasicTestCase runTest ... [OK] ClearCredentialsTestCase test_clear_credentials ... [OK] test_keyring_failure ... [OK] CredentialsAuthDeniedTestCase test_auth_denial_cb ... [OK] CredentialsCallbacksTestCase test_callbacks_are_stored ... [OK] test_callbacks_default_to_no_op ... [OK] test_creation_parameters_are_stored ... [OK] test_error_cb ... [OK] test_help_text_defaults_to_empty_string ... [OK] test_ping_url_defaults_to_none ... [OK] test_success_cb ... [OK] test_tc_url_defaults_to_none ... [OK] test_ui_class_defaults_to_gtk ... [OK] test_ui_module_defaults_to_gtk ... [OK] test_window_id_defaults_to_zero ... [OK] CredentialsLoginSuccessTestCase test_cred_error ... [OK] test_cred_not_found ... [OK] test_no_ping_url_is_success ... [OK] test_ping_error ... [OK] test_ping_success ... [OK] test_pings_url ... [OK] CredentialsTestCase runTest ... [OK] FindCredentialsTestCase test_credentials_not_found ... [OK] test_find_credentials ... [OK] test_keyring_failure ... [OK] LoginTestCase test_connects_gui_signals ... Traceback (most recent call last): File "/usr/lib/python2.7/logging/handlers.py", line 77, in emit if self.shouldRollover(record): File "/usr/lib/python2.7/logging/handlers.py", line 156, in shouldRollover msg = "%s\n" % self.format(record) File "/usr/lib/python2.7/logging/__init__.py", line 719, in format return fmt.format(record) File "/usr/lib/python2.7/logging/__init__.py", line 464, in format record.message = record.getMessage() File "/usr/lib/python2.7/logging/__init__.py", line 328, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Logged from file credentials.py, line 290 Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1020, in _inlineCallbacks result = g.send(result) File "/home/otto/tarmac-builds/ubuntu-sso-client/trunk/ubuntu_sso/tests/test_credentials.py", line 570, in test_connects_gui_signals self.assertEqual(self.obj.gui.login_success_callback, exceptions.AttributeError: 'NoneType' object has no attribute 'login_success_callback' [ERROR] test_gui_is_created ... Traceback (most recent call last): File "/usr/lib/python2.7/logging/handlers.py", line 77, in emit if self.shouldRollover(record): File "/usr/lib/python2.7/logging/handlers.py", line 156, in shouldRollover msg = "%s\n" % self.format(record) File "/usr/lib/python2.7/logging/__init__.py", line 719, in format return fmt.format(record) File "/usr/lib/python2.7/logging/__init__.py", line 464, in format record.message = record.getMessage() File "/usr/lib/python2.7/logging/__init__.py", line 328, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Logged from file credentials.py, line 290 Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1020, in _inlineCallbacks result = g.send(result) File "/home/otto/tarmac-builds/ubuntu-sso-client/trunk/ubuntu_sso/tests/test_credentials.py", line 585, in test_gui_is_created self.assertIsInstance(self.obj.gui, FakedClientGUI) File "/usr/lib/python2.7/dist-packages/twisted/trial/unittest.py", line 504, in failUnlessIsInstance self.fail("%r is not an instance of %s" % (instance, classOrTuple)) twisted.trial.unittest.FailTest: None is not an instance of [FAIL] test_with_exception_on_credentials ... Traceback (most recent call last): File "/usr/lib/python2.7/logging/handlers.py", line 77, in emit if self.shouldRollover(record): File "/usr/lib/python2.7/logging/handlers.py", line 156, in shouldRollover msg = "%s\n" % self.format(record) File "/usr/lib/python2.7/logging/__init__.py", line 719, in format return fmt.format(record) File "/usr/lib/python2.7/logging/__init__.py", line 464, in format record.message = record.getMessage() File "/usr/lib/python2.7/logging/__init__.py", line 328, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Logged from file credentials.py, line 290 Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1020, in _inlineCallbacks result = g.send(result) File "/home/otto/tarmac-builds/ubuntu-sso-client/trunk/ubuntu_sso/tests/test_credentials.py", line 546, in test_with_exception_on_credentials self.assertTrue(self.memento.check_exception(SampleMiscException)) File "/usr/lib/pymodules/python2.7/ubuntuone-dev-tools/ubuntuone/devtools/handlers.py", line 71, in check_exception exception_class == rec.exc_info[0]: exceptions.TypeError: 'NoneType' object is not subscriptable [ERROR] test_with_exception_on_gui ... Traceback (most recent call last): File "/usr/lib/python2.7/logging/handlers.py", line 77, in emit if self.shouldRollover(record): File "/usr/lib/python2.7/logging/handlers.py", line 156, in shouldRollover msg = "%s\n" % self.format(record) File "/usr/lib/python2.7/logging/__init__.py", line 719, in format return fmt.format(record) File "/usr/lib/python2.7/logging/__init__.py", line 464, in format record.message = record.getMessage() File "/usr/lib/python2.7/logging/__init__.py", line 328, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Logged from file credentials.py, line 290 Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1020, in _inlineCallbacks result = g.send(result) File "/home/otto/tarmac-builds/ubuntu-sso-client/trunk/ubuntu_sso/tests/test_credentials.py", line 560, in test_with_exception_on_gui detailed_error=SampleMiscException(err)) File "/home/otto/tarmac-builds/ubuntu-sso-client/trunk/ubuntu_sso/tests/test_credentials.py", line 151, in assert_error_cb_called self.assertEqual(error_dict[ERROR_KEY], msg) twisted.trial.unittest.FailTest: not equal: a = 'Problem while retrieving credentials' b = 'Problem opening the Ubuntu SSO user interface' [FAIL] test_with_existent_token ... Traceback (most recent call last): File "/usr/lib/python2.7/logging/handlers.py", line 77, in emit if self.shouldRollover(record): File "/usr/lib/python2.7/logging/handlers.py", line 156, in shouldRollover msg = "%s\n" % self.format(record) File "/usr/lib/python2.7/logging/__init__.py", line 719, in format return fmt.format(record) File "/usr/lib/python2.7/logging/__init__.py", line 464, in format record.message = record.getMessage() File "/usr/lib/python2.7/logging/__init__.py", line 328, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Logged from file credentials.py, line 290 Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1020, in _inlineCallbacks result = g.send(result) File "/home/otto/tarmac-builds/ubuntu-sso-client/trunk/ubuntu_sso/tests/test_credentials.py", line 523, in test_with_existent_token self.assertEqual(self._called, (('success', APP_NAME, TOKEN), {})) twisted.trial.unittest.FailTest: not equal: a = (('error', 'The Super App!', {'detailed_error': 'Traceback (most recent call last):\n File "/home/otto/tarmac-builds/ubuntu-sso-client/trunk/ubuntu_sso/credentials.py", line 117, in inner\n result = yield f(self, *a, **kw)\nTypeError: not all arguments converted during string formatting\n', 'error_message': 'Problem while retrieving credentials'}), {}) b = (('success', 'The Super App!', {u'consumer_key': u'xQ7xDAz', u'consumer_secret': u'KzCJWCTNbbntwfyCKKjomJDzlgqxLy', u'token': u'GkInOfSMGwTXAUoVQwLUoPxElEEUdhsLVNTPhxHJDUIeHCPNEo', u'token_name': u'test', u'token_secret': u'qFYImEtlczPbsCnYyuwLoPDlPEnvNcIktZphPQklAWrvyfFMV'}), {}) [FAIL] test_without_existent_token ... Traceback (most recent call last): File "/usr/lib/python2.7/logging/handlers.py", line 77, in emit if self.shouldRollover(record): File "/usr/lib/python2.7/logging/handlers.py", line 156, in shouldRollover msg = "%s\n" % self.format(record) File "/usr/lib/python2.7/logging/__init__.py", line 719, in format return fmt.format(record) File "/usr/lib/python2.7/logging/__init__.py", line 464, in format record.message = record.getMessage() File "/usr/lib/python2.7/logging/__init__.py", line 328, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Logged from file credentials.py, line 290 Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1020, in _inlineCallbacks result = g.send(result) File "/home/otto/tarmac-builds/ubuntu-sso-client/trunk/ubuntu_sso/tests/test_credentials.py", line 533, in test_without_existent_token self.assertEqual(self.obj.gui.kwargs, self.ui_kwargs) exceptions.AttributeError: 'NoneType' object has no attribute 'kwargs' [ERROR] LoginUserPasswordTestCase test_with_existent_token ... Traceback (most recent call last): File "/usr/lib/python2.7/logging/handlers.py", line 77, in emit if self.shouldRollover(record): File "/usr/lib/python2.7/logging/handlers.py", line 156, in shouldRollover msg = "%s\n" % self.format(record) File "/usr/lib/python2.7/logging/__init__.py", line 719, in format return fmt.format(record) File "/usr/lib/python2.7/logging/__init__.py", line 464, in format record.message = record.getMessage() File "/usr/lib/python2.7/logging/__init__.py", line 328, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Logged from file credentials.py, line 290 Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1020, in _inlineCallbacks result = g.send(result) File "/home/otto/tarmac-builds/ubuntu-sso-client/trunk/ubuntu_sso/tests/test_credentials.py", line 620, in test_with_existent_token self.assertEqual(self._called, (('success', APP_NAME, TOKEN), {})) twisted.trial.unittest.FailTest: not equal: a = (('error', 'The Super App!', {'detailed_error': 'Traceback (most recent call last):\n File "/home/otto/tarmac-builds/ubuntu-sso-client/trunk/ubuntu_sso/credentials.py", line 117, in inner\n result = yield f(self, *a, **kw)\nTypeError: not all arguments converted during string formatting\n', 'error_message': 'Problem while retrieving credentials'}), {}) b = (('success', 'The Super App!', {u'consumer_key': u'xQ7xDAz', u'consumer_secret': u'KzCJWCTNbbntwfyCKKjomJDzlgqxLy', u'token': u'GkInOfSMGwTXAUoVQwLUoPxElEEUdhsLVNTPhxHJDUIeHCPNEo', u'token_name': u'test', u'token_secret': u'qFYImEtlczPbsCnYyuwLoPDlPEnvNcIktZphPQklAWrvyfFMV'}), {}) [FAIL] test_without_existent_token ... Traceback (most recent call last): File "/usr/lib/python2.7/logging/handlers.py", line 77, in emit if self.shouldRollover(record): File "/usr/lib/python2.7/logging/handlers.py", line 156, in shouldRollover msg = "%s\n" % self.format(record) File "/usr/lib/python2.7/logging/__init__.py", line 719, in format return fmt.format(record) File "/usr/lib/python2.7/logging/__init__.py", line 464, in format record.message = record.getMessage() File "/usr/lib/python2.7/logging/__init__.py", line 328, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Logged from file credentials.py, line 290 Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1020, in _inlineCallbacks result = g.send(result) File "/home/otto/tarmac-builds/ubuntu-sso-client/trunk/ubuntu_sso/tests/test_credentials.py", line 629, in test_without_existent_token self.assertIsInstance(self.obj.login_root, FakedSSOLoginRoot) File "/usr/lib/python2.7/dist-packages/twisted/trial/unittest.py", line 504, in failUnlessIsInstance self.fail("%r is not an instance of %s" % (instance, classOrTuple)) twisted.trial.unittest.FailTest: None is not an instance of [FAIL] PingUrlTestCase test_ping_url ... [OK] test_ping_url_error ... [OK] test_ping_url_if_url_is_none ... [OK] test_request_is_signed_with_credentials ... [OK] RegisterTestCase test_connects_gui_signals ... Traceback (most recent call last): File "/usr/lib/python2.7/logging/handlers.py", line 77, in emit if self.shouldRollover(record): File "/usr/lib/python2.7/logging/handlers.py", line 156, in shouldRollover msg = "%s\n" % self.format(record) File "/usr/lib/python2.7/logging/__init__.py", line 719, in format return fmt.format(record) File "/usr/lib/python2.7/logging/__init__.py", line 464, in format record.message = record.getMessage() File "/usr/lib/python2.7/logging/__init__.py", line 328, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Logged from file credentials.py, line 290 Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1020, in _inlineCallbacks result = g.send(result) File "/home/otto/tarmac-builds/ubuntu-sso-client/trunk/ubuntu_sso/tests/test_credentials.py", line 570, in test_connects_gui_signals self.assertEqual(self.obj.gui.login_success_callback, exceptions.AttributeError: 'NoneType' object has no attribute 'login_success_callback' [ERROR] test_gui_is_created ... Traceback (most recent call last): File "/usr/lib/python2.7/logging/handlers.py", line 77, in emit if self.shouldRollover(record): File "/usr/lib/python2.7/logging/handlers.py", line 156, in shouldRollover msg = "%s\n" % self.format(record) File "/usr/lib/python2.7/logging/__init__.py", line 719, in format return fmt.format(record) File "/usr/lib/python2.7/logging/__init__.py", line 464, in format record.message = record.getMessage() File "/usr/lib/python2.7/logging/__init__.py", line 328, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Logged from file credentials.py, line 290 Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1020, in _inlineCallbacks result = g.send(result) File "/home/otto/tarmac-builds/ubuntu-sso-client/trunk/ubuntu_sso/tests/test_credentials.py", line 585, in test_gui_is_created self.assertIsInstance(self.obj.gui, FakedClientGUI) File "/usr/lib/python2.7/dist-packages/twisted/trial/unittest.py", line 504, in failUnlessIsInstance self.fail("%r is not an instance of %s" % (instance, classOrTuple)) twisted.trial.unittest.FailTest: None is not an instance of [FAIL] test_with_exception_on_credentials ... Traceback (most recent call last): File "/usr/lib/python2.7/logging/handlers.py", line 77, in emit if self.shouldRollover(record): File "/usr/lib/python2.7/logging/handlers.py", line 156, in shouldRollover msg = "%s\n" % self.format(record) File "/usr/lib/python2.7/logging/__init__.py", line 719, in format return fmt.format(record) File "/usr/lib/python2.7/logging/__init__.py", line 464, in format record.message = record.getMessage() File "/usr/lib/python2.7/logging/__init__.py", line 328, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Logged from file credentials.py, line 290 Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1020, in _inlineCallbacks result = g.send(result) File "/home/otto/tarmac-builds/ubuntu-sso-client/trunk/ubuntu_sso/tests/test_credentials.py", line 546, in test_with_exception_on_credentials self.assertTrue(self.memento.check_exception(SampleMiscException)) File "/usr/lib/pymodules/python2.7/ubuntuone-dev-tools/ubuntuone/devtools/handlers.py", line 71, in check_exception exception_class == rec.exc_info[0]: exceptions.TypeError: 'NoneType' object is not subscriptable [ERROR] test_with_exception_on_gui ... Traceback (most recent call last): File "/usr/lib/python2.7/logging/handlers.py", line 77, in emit if self.shouldRollover(record): File "/usr/lib/python2.7/logging/handlers.py", line 156, in shouldRollover msg = "%s\n" % self.format(record) File "/usr/lib/python2.7/logging/__init__.py", line 719, in format return fmt.format(record) File "/usr/lib/python2.7/logging/__init__.py", line 464, in format record.message = record.getMessage() File "/usr/lib/python2.7/logging/__init__.py", line 328, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Logged from file credentials.py, line 290 Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1020, in _inlineCallbacks result = g.send(result) File "/home/otto/tarmac-builds/ubuntu-sso-client/trunk/ubuntu_sso/tests/test_credentials.py", line 560, in test_with_exception_on_gui detailed_error=SampleMiscException(err)) File "/home/otto/tarmac-builds/ubuntu-sso-client/trunk/ubuntu_sso/tests/test_credentials.py", line 151, in assert_error_cb_called self.assertEqual(error_dict[ERROR_KEY], msg) twisted.trial.unittest.FailTest: not equal: a = 'Problem while retrieving credentials' b = 'Problem opening the Ubuntu SSO user interface' [FAIL] test_with_existent_token ... Traceback (most recent call last): File "/usr/lib/python2.7/logging/handlers.py", line 77, in emit if self.shouldRollover(record): File "/usr/lib/python2.7/logging/handlers.py", line 156, in shouldRollover msg = "%s\n" % self.format(record) File "/usr/lib/python2.7/logging/__init__.py", line 719, in format return fmt.format(record) File "/usr/lib/python2.7/logging/__init__.py", line 464, in format record.message = record.getMessage() File "/usr/lib/python2.7/logging/__init__.py", line 328, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Logged from file credentials.py, line 290 Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1020, in _inlineCallbacks result = g.send(result) File "/home/otto/tarmac-builds/ubuntu-sso-client/trunk/ubuntu_sso/tests/test_credentials.py", line 523, in test_with_existent_token self.assertEqual(self._called, (('success', APP_NAME, TOKEN), {})) twisted.trial.unittest.FailTest: not equal: a = (('error', 'The Super App!', {'detailed_error': 'Traceback (most recent call last):\n File "/home/otto/tarmac-builds/ubuntu-sso-client/trunk/ubuntu_sso/credentials.py", line 117, in inner\n result = yield f(self, *a, **kw)\nTypeError: not all arguments converted during string formatting\n', 'error_message': 'Problem while retrieving credentials'}), {}) b = (('success', 'The Super App!', {u'consumer_key': u'xQ7xDAz', u'consumer_secret': u'KzCJWCTNbbntwfyCKKjomJDzlgqxLy', u'token': u'GkInOfSMGwTXAUoVQwLUoPxElEEUdhsLVNTPhxHJDUIeHCPNEo', u'token_name': u'test', u'token_secret': u'qFYImEtlczPbsCnYyuwLoPDlPEnvNcIktZphPQklAWrvyfFMV'}), {}) [FAIL] test_without_existent_token ... Traceback (most recent call last): File "/usr/lib/python2.7/logging/handlers.py", line 77, in emit if self.shouldRollover(record): File "/usr/lib/python2.7/logging/handlers.py", line 156, in shouldRollover msg = "%s\n" % self.format(record) File "/usr/lib/python2.7/logging/__init__.py", line 719, in format return fmt.format(record) File "/usr/lib/python2.7/logging/__init__.py", line 464, in format record.message = record.getMessage() File "/usr/lib/python2.7/logging/__init__.py", line 328, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Logged from file credentials.py, line 290 Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1020, in _inlineCallbacks result = g.send(result) File "/home/otto/tarmac-builds/ubuntu-sso-client/trunk/ubuntu_sso/tests/test_credentials.py", line 533, in test_without_existent_token self.assertEqual(self.obj.gui.kwargs, self.ui_kwargs) exceptions.AttributeError: 'NoneType' object has no attribute 'kwargs' [ERROR] StoreCredentialsTestCase test_keyring_failure ... [OK] test_store_credentials ... [OK] twisted.trial.unittest TestCase runTest ... [OK] ubuntu_sso.tests.test_account AccountTestCase test_generate_captcha ... [OK] test_is_not_validated ... [OK] test_is_not_validated_empty_result ... [OK] test_is_validated ... [OK] test_login_if_http_error ... [OK] test_login_if_no_error ... [OK] test_register_user_checks_valid_email ... [OK] test_register_user_checks_valid_password ... [OK] test_register_user_if_status_error ... [OK] test_register_user_if_status_error_with_string_message ... [OK] test_register_user_if_status_ok ... [OK] test_register_user_if_status_unknown ... [OK] test_request_password_reset_token_if_http_error ... [OK] test_request_password_reset_token_if_status_ok ... [OK] test_request_password_reset_token_if_status_unknown ... [OK] test_set_new_password_if_http_error ... [OK] test_set_new_password_if_status_ok ... [OK] test_set_new_password_if_status_unknown ... [OK] test_validate_email_if_status_error ... [OK] test_validate_email_if_status_error_with_string_message ... [OK] test_validate_email_if_status_ok ... [OK] test_validate_email_if_status_unknown ... [OK] EnvironOverridesTestCase test_no_override_service_url ... [OK] test_override_service_url ... [OK] twisted.trial.unittest TestCase runTest ... [OK] ubuntu_sso.networkstate.tests.test_linux NetworkManagerStateErrorsTestCase test_dbus_problem ... [OK] test_nm_not_running ... [OK] NetworkManagerStateTestCase test_nm_connecting_then_offline ... [OK] test_nm_connecting_then_offline_old ... [OK] test_nm_connecting_then_online ... [OK] test_nm_connecting_then_online_old ... [OK] test_nm_offline ... [OK] test_nm_offline_local ... [OK] test_nm_offline_old ... [OK] test_nm_offline_site ... [OK] test_nm_online_global ... [OK] test_nm_online_old ... [OK] =============================================================================== [SKIPPED] Connecting to notify::load-status makes U1 terms navigation fail. ubuntu_sso.gtk.tests.test_gui.TermsAndConditionsBrowserTestCase.test_notify_load_status_connected =============================================================================== [FAIL] Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1020, in _inlineCallbacks result = g.send(result) File "/home/otto/tarmac-builds/ubuntu-sso-client/trunk/ubuntu_sso/tests/test_credentials.py", line 585, in test_gui_is_created self.assertIsInstance(self.obj.gui, FakedClientGUI) File "/usr/lib/python2.7/dist-packages/twisted/trial/unittest.py", line 504, in failUnlessIsInstance self.fail("%r is not an instance of %s" % (instance, classOrTuple)) twisted.trial.unittest.FailTest: None is not an instance of ubuntu_sso.tests.test_credentials.LoginTestCase.test_gui_is_created ubuntu_sso.tests.test_credentials.RegisterTestCase.test_gui_is_created =============================================================================== [FAIL] Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1020, in _inlineCallbacks result = g.send(result) File "/home/otto/tarmac-builds/ubuntu-sso-client/trunk/ubuntu_sso/tests/test_credentials.py", line 560, in test_with_exception_on_gui detailed_error=SampleMiscException(err)) File "/home/otto/tarmac-builds/ubuntu-sso-client/trunk/ubuntu_sso/tests/test_credentials.py", line 151, in assert_error_cb_called self.assertEqual(error_dict[ERROR_KEY], msg) twisted.trial.unittest.FailTest: not equal: a = 'Problem while retrieving credentials' b = 'Problem opening the Ubuntu SSO user interface' ubuntu_sso.tests.test_credentials.LoginTestCase.test_with_exception_on_gui ubuntu_sso.tests.test_credentials.RegisterTestCase.test_with_exception_on_gui =============================================================================== [FAIL] Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1020, in _inlineCallbacks result = g.send(result) File "/home/otto/tarmac-builds/ubuntu-sso-client/trunk/ubuntu_sso/tests/test_credentials.py", line 523, in test_with_existent_token self.assertEqual(self._called, (('success', APP_NAME, TOKEN), {})) twisted.trial.unittest.FailTest: not equal: a = (('error', 'The Super App!', {'detailed_error': 'Traceback (most recent call last):\n File "/home/otto/tarmac-builds/ubuntu-sso-client/trunk/ubuntu_sso/credentials.py", line 117, in inner\n result = yield f(self, *a, **kw)\nTypeError: not all arguments converted during string formatting\n', 'error_message': 'Problem while retrieving credentials'}), {}) b = (('success', 'The Super App!', {u'consumer_key': u'xQ7xDAz', u'consumer_secret': u'KzCJWCTNbbntwfyCKKjomJDzlgqxLy', u'token': u'GkInOfSMGwTXAUoVQwLUoPxElEEUdhsLVNTPhxHJDUIeHCPNEo', u'token_name': u'test', u'token_secret': u'qFYImEtlczPbsCnYyuwLoPDlPEnvNcIktZphPQklAWrvyfFMV'}), {}) ubuntu_sso.tests.test_credentials.LoginTestCase.test_with_existent_token ubuntu_sso.tests.test_credentials.RegisterTestCase.test_with_existent_token =============================================================================== [FAIL] Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1020, in _inlineCallbacks result = g.send(result) File "/home/otto/tarmac-builds/ubuntu-sso-client/trunk/ubuntu_sso/tests/test_credentials.py", line 620, in test_with_existent_token self.assertEqual(self._called, (('success', APP_NAME, TOKEN), {})) twisted.trial.unittest.FailTest: not equal: a = (('error', 'The Super App!', {'detailed_error': 'Traceback (most recent call last):\n File "/home/otto/tarmac-builds/ubuntu-sso-client/trunk/ubuntu_sso/credentials.py", line 117, in inner\n result = yield f(self, *a, **kw)\nTypeError: not all arguments converted during string formatting\n', 'error_message': 'Problem while retrieving credentials'}), {}) b = (('success', 'The Super App!', {u'consumer_key': u'xQ7xDAz', u'consumer_secret': u'KzCJWCTNbbntwfyCKKjomJDzlgqxLy', u'token': u'GkInOfSMGwTXAUoVQwLUoPxElEEUdhsLVNTPhxHJDUIeHCPNEo', u'token_name': u'test', u'token_secret': u'qFYImEtlczPbsCnYyuwLoPDlPEnvNcIktZphPQklAWrvyfFMV'}), {}) ubuntu_sso.tests.test_credentials.LoginUserPasswordTestCase.test_with_existent_token =============================================================================== [FAIL] Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1020, in _inlineCallbacks result = g.send(result) File "/home/otto/tarmac-builds/ubuntu-sso-client/trunk/ubuntu_sso/tests/test_credentials.py", line 629, in test_without_existent_token self.assertIsInstance(self.obj.login_root, FakedSSOLoginRoot) File "/usr/lib/python2.7/dist-packages/twisted/trial/unittest.py", line 504, in failUnlessIsInstance self.fail("%r is not an instance of %s" % (instance, classOrTuple)) twisted.trial.unittest.FailTest: None is not an instance of ubuntu_sso.tests.test_credentials.LoginUserPasswordTestCase.test_without_existent_token =============================================================================== [ERROR] Traceback (most recent call last): File "/usr/lib/python2.7/unittest/case.py", line 321, in run testMethod() File "/usr/lib/pymodules/python2.7/mocker.py", line 146, in test_method_wrapper result = test_method() File "/home/otto/tarmac-builds/ubuntu-sso-client/trunk/ubuntu_sso/main/tests/test_common.py", line 252, in test_login_email_password self.cred.login_email_password(app_name, args) File "/home/otto/tarmac-builds/ubuntu-sso-client/trunk/ubuntu_sso/main/linux.py", line 470, in login_email_password raise NotImplementedError exceptions.NotImplementedError: ubuntu_sso.main.tests.test_common.CredentialsManagementMockedTestCase.test_login_email_password =============================================================================== [ERROR] Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1020, in _inlineCallbacks result = g.send(result) File "/home/otto/tarmac-builds/ubuntu-sso-client/trunk/ubuntu_sso/tests/test_credentials.py", line 570, in test_connects_gui_signals self.assertEqual(self.obj.gui.login_success_callback, exceptions.AttributeError: 'NoneType' object has no attribute 'login_success_callback' ubuntu_sso.tests.test_credentials.LoginTestCase.test_connects_gui_signals ubuntu_sso.tests.test_credentials.RegisterTestCase.test_connects_gui_signals =============================================================================== [ERROR] Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1020, in _inlineCallbacks result = g.send(result) File "/home/otto/tarmac-builds/ubuntu-sso-client/trunk/ubuntu_sso/tests/test_credentials.py", line 546, in test_with_exception_on_credentials self.assertTrue(self.memento.check_exception(SampleMiscException)) File "/usr/lib/pymodules/python2.7/ubuntuone-dev-tools/ubuntuone/devtools/handlers.py", line 71, in check_exception exception_class == rec.exc_info[0]: exceptions.TypeError: 'NoneType' object is not subscriptable ubuntu_sso.tests.test_credentials.LoginTestCase.test_with_exception_on_credentials ubuntu_sso.tests.test_credentials.RegisterTestCase.test_with_exception_on_credentials =============================================================================== [ERROR] Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1020, in _inlineCallbacks result = g.send(result) File "/home/otto/tarmac-builds/ubuntu-sso-client/trunk/ubuntu_sso/tests/test_credentials.py", line 533, in test_without_existent_token self.assertEqual(self.obj.gui.kwargs, self.ui_kwargs) exceptions.AttributeError: 'NoneType' object has no attribute 'kwargs' ubuntu_sso.tests.test_credentials.LoginTestCase.test_without_existent_token ubuntu_sso.tests.test_credentials.RegisterTestCase.test_without_existent_token ------------------------------------------------------------------------------- Ran 522 tests in 18.687s FAILED (skips=1, failures=8, errors=7, successes=506)