-
Notifications
You must be signed in to change notification settings - Fork 429
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add mod_auth_token_backend
#3336
Add mod_auth_token_backend
#3336
Conversation
small_tests_24 / small_tests / 9ad06c0 internal_mnesia_24 / internal_mnesia / 9ad06c0 small_tests_23 / small_tests / 9ad06c0 dynamic_domains_pgsql_mnesia_24 / pgsql_mnesia / 9ad06c0 ldap_mnesia_24 / ldap_mnesia / 9ad06c0 dynamic_domains_pgsql_mnesia_23 / pgsql_mnesia / 9ad06c0 dynamic_domains_mysql_redis_24 / mysql_redis / 9ad06c0 mam_SUITE:rdbms_simple_prefs_cases:messages_filtered_when_prefs_default_policy_is_roster{error,{test_case_failed,"ASSERT EQUAL\n\tExpected []\n\tValue [ok]\n"}} ldap_mnesia_23 / ldap_mnesia / 9ad06c0 dynamic_domains_mssql_mnesia_24 / odbc_mssql_mnesia / 9ad06c0 amp_big_SUITE:offline:offline_success:notify_deliver_to_offline_user_recipient_privacy_test{error,
{test_case_failed,
{has_stanzas_but_shouldnt,
{client,
<<"alicE_notify_deliver_to_offline_user_recipient_privacy_test_76.699602@domain.example.com/res1">>,
escalus_tcp,<0.6175.0>,
[{event_manager,<0.5891.0>},
{server,<<"domain.example.com">>},
{username,
<<"alicE_notify_deliver_to_offline_user_recipient_privacy_test_76.699602">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.5891.0>},
{server,<<"domain.example.com">>},
{username,
<<"alicE_notify_deliver_to_offline_user_recipient_privacy_test_76.699602">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,
<<"alicE_notify_deliver_to_offline_user_recipient_privacy_test_76.699602">>},
{server,<<"domain.example.com">>},
{host,<<"localhost">>},
{port,5222},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,
<<"alicE_notify_deliver_to_offline_user_recipient_privacy_test_76.699602">>},
{server,<<"domain.example.com">>},
{host,<<"localhost">>},
{password,<<"matygrysa">>},
{stream_id,<<"ee94a3bc04ddb34f">>}]},
[{xmlel,<<"stream:error">>,[],
[{xmlel,<<"conflict">>,
[{<<"xmlns">>,
<<"urn:ietf:params:xml:ns:xmpp-streams">>}],
[]},
{xmlel,<<"text">>,
[{<<... pgsql_mnesia_24 / pgsql_mnesia / 9ad06c0 pgsql_mnesia_23 / pgsql_mnesia / 9ad06c0 elasticsearch_and_cassandra_24 / elasticsearch_and_cassandra_mnesia / 9ad06c0 mssql_mnesia_24 / odbc_mssql_mnesia / 9ad06c0 riak_mnesia_24 / riak_mnesia / 9ad06c0 |
Codecov Report
@@ Coverage Diff @@
## without-dynamic-backend-modules #3336 +/- ##
===================================================================
- Coverage 80.76% 80.71% -0.06%
===================================================================
Files 399 400 +1
Lines 32472 32480 +8
===================================================================
- Hits 26227 26216 -11
- Misses 6245 6264 +19
Continue to review full report at Codecov.
|
small_tests_24 / small_tests / 7923887 internal_mnesia_24 / internal_mnesia / 7923887 |
small_tests_24 / small_tests / a23fcaa internal_mnesia_24 / internal_mnesia / a23fcaa small_tests_23 / small_tests / a23fcaa dynamic_domains_pgsql_mnesia_24 / pgsql_mnesia / a23fcaa ldap_mnesia_24 / ldap_mnesia / a23fcaa ldap_mnesia_23 / ldap_mnesia / a23fcaa mod_event_pusher_rabbit_SUITE:group_chat_message_publish:group_chat_message_received_event_properly_formatted{error,
{{assertMatch,
[{module,mod_event_pusher_rabbit_SUITE},
{line,435},
{expression,
"get_decoded_message_from_rabbit ( AliceGroupChatMsgRecvRK )"},
{pattern,
"# { << \"from_user_id\" >> := BobRoomJID , << \"to_user_id\" >> := AliceFullJID , << \"message\" >> := Message }"},
{value,
#{<<"from_user_id">> => <<"muc_publish@muc.localhost">>,
<<"message">> => <<>>,
<<"to_user_id">> =>
<<"alice_unnamed_21.519699@localhost/res1">>}}]},
[{mod_event_pusher_rabbit_SUITE,
'-group_chat_message_received_event_properly_formatted/1-fun-0-',3,
[{file,
"/home/circleci/app/big_tests/tests/mod_event_pusher_rabbit_SUITE.erl"},
{line,435}]},
{escalus_story,story,4,
[{file,
"/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
{line,72}]},
{test_server,ts_tc,3,[{file,"test_server.erl"},{line,1784}]},
{test_server,run_test_case_eval1,6,
[{file,"test_server.erl"},{line,1293}]},
{test_server,run_test_case_eval,9,
[{file,"test_server.erl"},{line,1225}]}]}} dynamic_domains_mssql_mnesia_24 / odbc_mssql_mnesia / a23fcaa inbox_SUITE:muclight:leave_and_remove_conversation{error,{{badrpc,timeout},
[{escalus_rpc,call_with_cookie_match,
[mongooseim@localhost,ejabberd_admin,register,
[<<"alicE_leave_and_remove_conversation_65.961631">>,
<<"domain.example.com">>,<<"matygrysa">>],
3000,ejabberd],
[{file,"/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_rpc.erl"},
{line,34}]},
{lists,foreach,2,[{file,"lists.erl"},{line,1342}]},
{escalus_ejabberd,create_users,2,
[{file,"/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_ejabberd.erl"},
{line,211}]},
{escalus_fresh,create_users,2,
[{file,"/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_fresh.erl"},
{line,62}]},
{escalus_fresh,story,3,
[{file,"/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_fresh.erl"},
{line,27}]},
{test_server,ts_tc,3,[{file,"test_server.erl"},{line,1783}]},
{test_server,run_test_case_eval1,6,
[{file,"test_server.erl"},{line,1292}]},
{test_server,run_test_case_eval,9,
[{file,"test_server.erl"},{line,1224}]}]}} inbox_SUITE:muclight:groupchat_reset_stanza_resets_inbox{error,{{badrpc,timeout},
[{escalus_rpc,call_with_cookie_match,
[mongooseim@localhost,ejabberd_admin,register,
[<<"bOb_groupchat_reset_stanza_resets_inbox_65.961619">>,
<<"domain.example.com">>,<<"makrolika">>],
3000,ejabberd],
[{file,"/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_rpc.erl"},
{line,34}]},
{lists,foreach,2,[{file,"lists.erl"},{line,1342}]},
{escalus_ejabberd,create_users,2,
[{file,"/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_ejabberd.erl"},
{line,211}]},
{escalus_fresh,create_users,2,
[{file,"/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_fresh.erl"},
{line,62}]},
{escalus_fresh,story,3,
[{file,"/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_fresh.erl"},
{line,27}]},
{test_server,ts_tc,3,[{file,"test_server.erl"},{line,1783}]},
{test_server,run_test_case_eval1,6,
[{file,"test_server.erl"},{line,1292}]},
{test_server,run_test_case_eval,9,
[{file,"test_server.erl"},{line,1224}]}]}} inbox_SUITE:muclight:advanced_groupchat_stored_in_all_inbox{error,{{badrpc,timeout},
[{escalus_rpc,call_with_cookie_match,
[mongooseim@localhost,ejabberd_admin,register,
[<<"bOb_advanced_groupchat_stored_in_all_inbox_65.954528">>,
<<"domain.example.com">>,<<"makrolika">>],
3000,ejabberd],
[{file,"/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_rpc.erl"},
{line,34}]},
{lists,foreach,2,[{file,"lists.erl"},{line,1342}]},
{escalus_ejabberd,create_users,2,
[{file,"/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_ejabberd.erl"},
{line,211}]},
{escalus_fresh,create_users,2,
[{file,"/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_fresh.erl"},
{line,62}]},
{escalus_fresh,story,3,
[{file,"/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_fresh.erl"},
{line,27}]},
{test_server,ts_tc,3,[{file,"test_server.erl"},{line,1783}]},
{test_server,run_test_case_eval1,6,
[{file,"test_server.erl"},{line,1292}]},
{test_server,run_test_case_eval,9,
[{file,"test_server.erl"},{line,1224}]}]}} dynamic_domains_mysql_redis_24 / mysql_redis / a23fcaa mam_SUITE:rdbms_async_cache_prefs_cases:messages_filtered_when_prefs_default_policy_is_never{error,{test_case_failed,"ASSERT EQUAL\n\tExpected []\n\tValue [ok]\n"}} dynamic_domains_pgsql_mnesia_23 / pgsql_mnesia / a23fcaa pgsql_mnesia_24 / pgsql_mnesia / a23fcaa elasticsearch_and_cassandra_24 / elasticsearch_and_cassandra_mnesia / a23fcaa mysql_redis_24 / mysql_redis / a23fcaa mam_SUITE:rdbms_async_cache_prefs_cases:messages_filtered_when_prefs_default_policy_is_roster{error,{test_case_failed,"ASSERT EQUAL\n\tExpected []\n\tValue [ok]\n"}} pgsql_mnesia_23 / pgsql_mnesia / a23fcaa mssql_mnesia_24 / odbc_mssql_mnesia / a23fcaa riak_mnesia_24 / riak_mnesia / a23fcaa mod_ping_SUITE:server_ping_kill:server_ping_pong{error,{{badmatch,[{[<<"localhost">>,mod_ping,ping_response],
{expected_diff,5},
{before_story,5},
{after_story,9}}]},
[{escalus_mongooseim,post_story_check_metrics,1,
[{file,"/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_mongooseim.erl"},
{line,74}]},
{escalus_mongooseim,maybe_check_metrics_post_story,1,
[{file,"/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_mongooseim.erl"},
{line,51}]},
{escalus_story,story,4,
[{file,"/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
{line,75}]},
{test_server,ts_tc,3,[{file,"test_server.erl"},{line,1783}]},
{test_server,run_test_case_eval1,6,
[{file,"test_server.erl"},{line,1292}]},
{test_server,run_test_case_eval,9,
[{file,"test_server.erl"},{line,1224}]}]}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please don't forgot also remove mod_auth_token_backend
from https://github.com/esl/MongooseIM/blob/master/rebar.config#L23.
a23fcaa
to
76d351a
Compare
small_tests_24 / small_tests / 76d351a internal_mnesia_24 / internal_mnesia / 76d351a small_tests_23 / small_tests / 76d351a dynamic_domains_pgsql_mnesia_24 / pgsql_mnesia / 76d351a dynamic_domains_mysql_redis_24 / mysql_redis / 76d351a vcard_SUITE:ro_no:search_not_allowed{error,
{timeout_when_waiting_for_stanza,
[{escalus_client,wait_for_stanza,
[{client,<<"alicE@domain.example.com/res1">>,escalus_tcp,
<0.32072.1>,
[{event_manager,<0.32071.1>},
{server,<<"domain.example.com">>},
{username,<<"alicE">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.32071.1>},
{server,<<"domain.example.com">>},
{username,<<"alicE">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,<<"alicE">>},
{server,<<"domain.example.com">>},
{host,<<"localhost">>},
{port,5222},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,<<"alicE">>},
{server,<<"domain.example.com">>},
{host,<<"localhost">>},
{password,<<"matygrysa">>},
{stream_id,<<"30a8a60b5ce8da50">>}]},
5000],
[{file,
"/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
{line,136}]},
{vcard_SUITE,'-search_not_allowed/1-fun-1-',2,
[{file,"/home/circleci/app/big_tests/tests/vcard_SUITE.erl"},
{line,968}]},
{escalus_story,story,4,
[{file,
"/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
{line,72}]},
{test_server,ts_tc,3,[{file,"test_server.erl"},{line,1783}]},
{test_server,r... ldap_mnesia_24 / ldap_mnesia / 76d351a dynamic_domains_pgsql_mnesia_23 / pgsql_mnesia / 76d351a dynamic_domains_mssql_mnesia_24 / odbc_mssql_mnesia / 76d351a inbox_SUITE:muclight:groupchat_markers_one_reset{error,
{timeout_when_waiting_for_stanza,
[{escalus_client,wait_for_stanza,
[{client,
<<"kate_groupchat_markers_one_reset_64.301127@domain.example.com/res1">>,
escalus_tcp,<0.16738.0>,
[{event_manager,<0.16706.0>},
{server,<<"domain.example.com">>},
{username,<<"kate_groupchat_markers_one_reset_64.301127">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.16706.0>},
{server,<<"domain.example.com">>},
{username,
<<"kate_groupchat_markers_one_reset_64.301127">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,<<"kate_groupchat_markers_one_reset_64.301127">>},
{server,<<"domain.example.com">>},
{host,<<"localhost">>},
{port,5222},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,<<"kate_groupchat_markers_one_reset_64.301127">>},
{server,<<"domain.example.com">>},
{host,<<"localhost">>},
{password,<<"makrowe;p">>},
{stream_id,<<"50a8e4e2629ee4e5">>}]},
5000],
[{file,
"/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
{line,136}]},
{inbox_helper,mark_last_muclight_system_message,3,
[{file,"/home/circleci/app/big_tests/tests/inbox_helper.erl"},
{line,579}]},
{inbox_helper,'-create... ldap_mnesia_23 / ldap_mnesia / 76d351a pgsql_mnesia_24 / pgsql_mnesia / 76d351a elasticsearch_and_cassandra_24 / elasticsearch_and_cassandra_mnesia / 76d351a mysql_redis_24 / mysql_redis / 76d351a pgsql_mnesia_23 / pgsql_mnesia / 76d351a mssql_mnesia_24 / odbc_mssql_mnesia / 76d351a riak_mnesia_24 / riak_mnesia / 76d351a dynamic_domains_mysql_redis_24 / mysql_redis / 76d351a vcard_SUITE:ro_no:search_not_allowed{error,
{timeout_when_waiting_for_stanza,
[{escalus_client,wait_for_stanza,
[{client,<<"alicE@domain.example.com/res1">>,escalus_tcp,
<0.32026.1>,
[{event_manager,<0.32025.1>},
{server,<<"domain.example.com">>},
{username,<<"alicE">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.32025.1>},
{server,<<"domain.example.com">>},
{username,<<"alicE">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,<<"alicE">>},
{server,<<"domain.example.com">>},
{host,<<"localhost">>},
{port,5222},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,<<"alicE">>},
{server,<<"domain.example.com">>},
{host,<<"localhost">>},
{password,<<"matygrysa">>},
{stream_id,<<"9e984d49843a3575">>}]},
5000],
[{file,
"/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
{line,136}]},
{vcard_SUITE,'-search_not_allowed/1-fun-1-',2,
[{file,"/home/circleci/app/big_tests/tests/vcard_SUITE.erl"},
{line,968}]},
{escalus_story,story,4,
[{file,
"/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
{line,72}]},
{test_server,ts_tc,3,[{file,"test_server.erl"},{line,1783}]},
{test_server,r... dynamic_domains_mssql_mnesia_24 / odbc_mssql_mnesia / 76d351a dynamic_domains_mysql_redis_24 / mysql_redis / 76d351a |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
Part of removing dynamically compiled modules