Skip to content
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

Make mod_auth_token and mod_keystore multitenancy ready #3262

Merged
merged 1 commit into from
Sep 13, 2021

Conversation

NelsonVides
Copy link
Collaborator

As in title.

@mongoose-im

This comment has been minimized.

@codecov
Copy link

codecov bot commented Sep 10, 2021

Codecov Report

Merging #3262 (cdb10a9) into master (7942d44) will decrease coverage by 0.12%.
The diff coverage is 98.33%.

❗ Current head cdb10a9 differs from pull request most recent head 459278a. Consider uploading reports for the commit 459278a to get more accurate results
Impacted file tree graph

@@            Coverage Diff             @@
##           master    #3262      +/-   ##
==========================================
- Coverage   80.20%   80.07%   -0.13%     
==========================================
  Files         398      398              
  Lines       32562    32563       +1     
==========================================
- Hits        26117    26076      -41     
- Misses       6445     6487      +42     
Impacted Files Coverage Δ
src/mod_keystore_mnesia.erl 78.57% <ø> (ø)
src/mod_auth_token.erl 82.35% <97.36%> (+0.77%) ⬆️
src/mod_auth_token_rdbms.erl 100.00% <100.00%> (ø)
src/mod_keystore.erl 89.28% <100.00%> (-0.19%) ⬇️
src/sasl/cyrsasl_oauth.erl 100.00% <100.00%> (ø)
src/rdbms/mongoose_rdbms_mysql.erl 34.48% <0.00%> (-58.63%) ⬇️
src/rdbms/rdbms_queries.erl 82.95% <0.00%> (-7.96%) ⬇️
src/elasticsearch/mongoose_elasticsearch.erl 76.92% <0.00%> (-7.70%) ⬇️
src/jingle_sip/mod_jingle_sip_backend.erl 80.00% <0.00%> (-5.00%) ⬇️
src/mod_smart_markers_rdbms.erl 89.74% <0.00%> (-2.57%) ⬇️
... and 17 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7942d44...459278a. Read the comment docs.

@mongoose-im

This comment has been minimized.

Copy link
Member

@chrzaszcz chrzaszcz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The code looks good in general, I have a few comments.

big_tests/tests/mongoose_helper.erl Outdated Show resolved Hide resolved
big_tests/tests/oauth_SUITE.erl Outdated Show resolved Hide resolved
big_tests/tests/oauth_SUITE.erl Outdated Show resolved Hide resolved
@@ -32,6 +32,11 @@
[[host_config]]
host_type = \"test type\"

[host_config.access]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note: if we merge #3261 first, no changes would be needed in this file.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apply all other changes except this one, let's merge that other PR first then.

src/mod_auth_token.erl Outdated Show resolved Hide resolved
@mongoose-im

This comment has been minimized.

@vkatsuba
Copy link
Contributor

Please resolve conflicts in rel/mim1.vars-toml.config.

@vkatsuba
Copy link
Contributor

Do we need keep three commits or we can simple squash them into one commit?

@mongoose-im

This comment has been minimized.

@mongoose-im
Copy link
Collaborator

mongoose-im commented Sep 13, 2021

small_tests_24 / small_tests / 459278a
Reports root / small


internal_mnesia_24 / internal_mnesia / 459278a
Reports root/ big
OK: 1589 / Failed: 0 / User-skipped: 290 / Auto-skipped: 0


small_tests_22 / small_tests / 459278a
Reports root / small


dynamic_domains_24 / pgsql_mnesia / 459278a
Reports root/ big
OK: 2113 / Failed: 0 / User-skipped: 128 / Auto-skipped: 0


small_tests_23 / small_tests / 459278a
Reports root / small


dynamic_domains_23 / pgsql_mnesia / 459278a
Reports root/ big
OK: 2113 / Failed: 0 / User-skipped: 128 / Auto-skipped: 0


ldap_mnesia_24 / ldap_mnesia / 459278a
Reports root/ big
OK: 1516 / Failed: 0 / User-skipped: 363 / Auto-skipped: 0


ldap_mnesia_23 / ldap_mnesia / 459278a
Reports root/ big
OK: 1516 / Failed: 0 / User-skipped: 363 / Auto-skipped: 0


ldap_mnesia_22 / ldap_mnesia / 459278a
Reports root/ big
OK: 1516 / Failed: 0 / User-skipped: 363 / Auto-skipped: 0


elasticsearch_and_cassandra_24 / elasticsearch_and_cassandra_mnesia / 459278a
Reports root/ big
OK: 1892 / Failed: 0 / User-skipped: 286 / Auto-skipped: 0


pgsql_mnesia_22 / pgsql_mnesia / 459278a
Reports root/ big
OK: 3091 / Failed: 0 / User-skipped: 184 / Auto-skipped: 0


pgsql_mnesia_24 / pgsql_mnesia / 459278a
Reports root/ big
OK: 3090 / Failed: 1 / User-skipped: 184 / Auto-skipped: 0

amp_big_SUITE:mam:mam_success:notify_deliver_to_stranger_test
{error,
  {function_clause,
    [{exml_query,attr,[undefined,<<"type">>,undefined],[]},
     {amp_big_SUITE,contains_error,3,
       [{file,"/home/circleci/app/big_tests/tests/amp_big_SUITE.erl"},
        {line,916}]},
     {escalus_new_assert,assert,3,
       [{file,
          "/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_new_assert.erl"},
        {line,37}]},
     {amp_big_SUITE,'-notify_deliver_to_stranger_test/1-fun-0-',2,
       [{file,"/home/circleci/app/big_tests/tests/amp_big_SUITE.erl"},
        {line,453}]},
     {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,run_test_case_eval1,6,
       [{file,"test_server.erl"},{line,1292}]},
     {test_server,run_test_case_eval,9,
       [{file,"test_server.erl"},{line,1224}]}]}}

Report log


pgsql_mnesia_23 / pgsql_mnesia / 459278a
Reports root/ big
OK: 3091 / Failed: 0 / User-skipped: 184 / Auto-skipped: 0


mssql_mnesia_24 / odbc_mssql_mnesia / 459278a
Reports root/ big
OK: 3091 / Failed: 0 / User-skipped: 184 / Auto-skipped: 0


mysql_redis_24 / mysql_redis / 459278a
Reports root/ big
OK: 3102 / Failed: 37 / User-skipped: 202 / Auto-skipped: 136

mod_event_pusher_rabbit_SUITE:group_chat_message_publish:group_chat_message_sent_event
{error,
  {{assertReceivedMatch_failed,
     [{module,mod_event_pusher_rabbit_SUITE},
      {line,354},
      {expected,
        "{ # 'basic.deliver' { routing_key = BobGroupChatMsgSentRK } , # amqp_msg { } }"},
      {value,timeout}]},
   [{mod_event_pusher_rabbit_SUITE,
      '-group_chat_message_sent_event/1-fun-1-',2,
      [{file,
         "/home/circleci/app/big_tests/tests/mod_event_pusher_rabbit_SUITE.erl"},
       {line,354}]},
    {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,run_test_case_eval1,6,
      [{file,"test_server.erl"},{line,1292}]},
    {test_server,run_test_case_eval,9,
      [{file,"test_server.erl"},{line,1224}]}]}}

Report log

mod_event_pusher_rabbit_SUITE:group_chat_message_publish:group_chat_message_sent_event_properly_formatted
{error,{test_case_failed,[84,105,109,101,111,117,116,32,119,104,101,110,32,
              100,101,99,111,100,105,110,103,32,109,101,115,115,
              97,103,101,44,32,114,107,61,
              [60,60,
               "\"bob_unnamed_41.238515@localhost.custom_group_chat_msg_sent_topic\"",
               62,62]]}}

Report log

mod_ping_SUITE:server_ping:server_ping_pong
{error,
  {timeout_when_waiting_for_stanza,
    [{escalus_client,wait_for_stanza,
       [{client,<<"alicE_server_ping_pong_77.597494@localhost/res5">>,
          escalus_tcp,<0.15260.1>,
          [{event_manager,<0.15255.1>},
           {server,<<"localhost">>},
           {username,<<"alicE_server_ping_pong_77.597494">>},
           {resource,<<"res5">>}],
          [{event_client,
             [{event_manager,<0.15255.1>},
            {server,<<"localhost">>},
            {username,<<"alicE_server_ping_pong_77.597494">>},
            {resource,<<"res5">>}]},
           {resource,<<"res5">>},
           {username,<<"alicE_server_ping_pong_77.597494">>},
           {server,<<"localhost">>},
           {host,<<"localhost">>},
           {port,5222},
           {auth,{escalus_auth,auth_plain}},
           {wspath,undefined},
           {username,<<"alicE_server_ping_pong_77.597494">>},
           {server,<<"localhost">>},
           {password,<<"matygrysa">>},
           {stream_id,<<"1861bba952ad0020">>}]},
        10000],
       [{file,
          "/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
        {line,136}]},
     {mod_ping_SUITE,wait_for_ping_req,1,
       [{file,"/home/circleci/app/big_tests/tests/mod_ping_SUITE.erl"},
        {line,265}]},
     {mod_ping_SUITE,'-server_ping_pong/1-fun-0-',1,
       [{file,"/home/circleci/app/big_tests/tests/mod_ping_SUITE.erl"},
        {line,230}]},
     {lists,foreach,2,[{file,"lists.erl"},{line...

Report log

mod_ping_SUITE:server_ping:server_ping_pang
{error,{{badmatch,[{[<<"localhost">>,mod_ping,ping_response_timeout],
          {expected_diff,1},
          {before_story,0},
          {after_story,0}}]},
    [{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}]}]}}

Report log

mod_ping_SUITE:server_ping:server_ping_pang
{error,
  {timeout_when_waiting_for_stanza,
    [{escalus_client,wait_for_stanza,
       [{client,<<"alicE_server_ping_pang_8.656527@localhost/res1">>,
          escalus_tcp,<0.15406.1>,
          [{event_manager,<0.15405.1>},
           {server,<<"localhost">>},
           {username,<<"alicE_server_ping_pang_8.656527">>},
           {resource,<<"res1">>}],
          [{event_client,
             [{event_manager,<0.15405.1>},
            {server,<<"localhost">>},
            {username,<<"alicE_server_ping_pang_8.656527">>},
            {resource,<<"res1">>}]},
           {resource,<<"res1">>},
           {username,<<"alicE_server_ping_pang_8.656527">>},
           {server,<<"localhost">>},
           {host,<<"localhost">>},
           {port,5222},
           {auth,{escalus_auth,auth_plain}},
           {wspath,undefined},
           {username,<<"alicE_server_ping_pang_8.656527">>},
           {server,<<"localhost">>},
           {password,<<"matygrysa">>},
           {stream_id,<<"7b3b0c0d4b24dfef">>}]},
        10000],
       [{file,
          "/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
        {line,136}]},
     {mod_ping_SUITE,wait_for_ping_req,1,
       [{file,"/home/circleci/app/big_tests/tests/mod_ping_SUITE.erl"},
        {line,265}]},
     {mod_ping_SUITE,'-server_ping_pang/1-fun-0-',2,
       [{file,"/home/circleci/app/big_tests/tests/mod_ping_SUITE.erl"},
        {line,247}]},
     {escalus_story,story,4,
       [{file,
        ...

Report log

mod_ping_SUITE:server_ping:server_ping_pang
{error,{{badmatch,[{[<<"localhost">>,mod_ping,ping_response_timeout],
          {expected_diff,1},
          {before_story,1},
          {after_story,5}}]},
    [{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}]}]}}

Report log

mod_ping_SUITE:server_ping_kill:server_ping_pang
{error,{{badmatch,true},
    [{mod_ping_SUITE,check_connection,2,
             [{file,"/home/circleci/app/big_tests/tests/mod_ping_SUITE.erl"},
              {line,260}]},
     {mod_ping_SUITE,'-server_ping_pang/1-fun-0-',2,
             [{file,"/home/circleci/app/big_tests/tests/mod_ping_SUITE.erl"},
              {line,251}]},
     {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,run_test_case_eval1,6,
            [{file,"test_server.erl"},{line,1292}]},
     {test_server,run_test_case_eval,9,
            [{file,"test_server.erl"},{line,1224}]}]}}

Report log

mod_ping_SUITE:server_ping_kill:server_ping_pang
{error,
  {timeout_when_waiting_for_stanza,
    [{escalus_client,wait_for_stanza,
       [{client,<<"alicE_server_ping_pang_84.924478@localhost/res1">>,
          escalus_tcp,<0.15785.1>,
          [{event_manager,<0.15784.1>},
           {server,<<"localhost">>},
           {username,<<"alicE_server_ping_pang_84.924478">>},
           {resource,<<"res1">>}],
          [{event_client,
             [{event_manager,<0.15784.1>},
            {server,<<"localhost">>},
            {username,<<"alicE_server_ping_pang_84.924478">>},
            {resource,<<"res1">>}]},
           {resource,<<"res1">>},
           {username,<<"alicE_server_ping_pang_84.924478">>},
           {server,<<"localhost">>},
           {host,<<"localhost">>},
           {port,5222},
           {auth,{escalus_auth,auth_plain}},
           {wspath,undefined},
           {username,<<"alicE_server_ping_pang_84.924478">>},
           {server,<<"localhost">>},
           {password,<<"matygrysa">>},
           {stream_id,<<"3b3d5859fe0ac0fa">>}]},
        10000],
       [{file,
          "/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
        {line,136}]},
     {mod_ping_SUITE,wait_for_ping_req,1,
       [{file,"/home/circleci/app/big_tests/tests/mod_ping_SUITE.erl"},
        {line,265}]},
     {mod_ping_SUITE,'-server_ping_pang/1-fun-0-',2,
       [{file,"/home/circleci/app/big_tests/tests/mod_ping_SUITE.erl"},
        {line,247}]},
     {escalus_story,story,4,
       [{file,
   ...

Report log

mod_ping_SUITE:server_ping_kill:server_ping_pang
{error,{{badmatch,true},
    [{mod_ping_SUITE,check_connection,2,
             [{file,"/home/circleci/app/big_tests/tests/mod_ping_SUITE.erl"},
              {line,260}]},
     {mod_ping_SUITE,'-server_ping_pang/1-fun-0-',2,
             [{file,"/home/circleci/app/big_tests/tests/mod_ping_SUITE.erl"},
              {line,251}]},
     {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,run_test_case_eval1,6,
            [{file,"test_server.erl"},{line,1292}]},
     {test_server,run_test_case_eval,9,
            [{file,"test_server.erl"},{line,1224}]}]}}

Report log

muc_SUITE:admin:admin_member_list_allowed
{error,
  {timeout_when_waiting_for_stanza,
    [{escalus_client,wait_for_stanza,
       [{client,
          <<"alicE_admin_member_list_allowed_31.39659@localhost/res1">>,
          escalus_tcp,<0.18006.1>,
          [{event_manager,<0.17937.1>},
           {server,<<"localhost">>},
           {username,<<"alicE_admin_member_list_allowed_31.39659">>},
           {resource,<<"res1">>}],
          [{event_client,
             [{event_manager,<0.17937.1>},
            {server,<<"localhost">>},
            {username,
              <<"alicE_admin_member_list_allowed_31.39659">>},
            {resource,<<"res1">>}]},
           {resource,<<"res1">>},
           {username,<<"alicE_admin_member_list_allowed_31.39659">>},
           {server,<<"localhost">>},
           {host,<<"localhost">>},
           {port,5222},
           {auth,{escalus_auth,auth_plain}},
           {wspath,undefined},
           {username,<<"alicE_admin_member_list_allowed_31.39659">>},
           {server,<<"localhost">>},
           {password,<<"matygrysa">>},
           {stream_id,<<"6e2f381484bd2a29">>}]},
        5000],
       [{file,
          "/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
        {line,136}]},
     {muc_SUITE,check_memberlist,3,
       [{file,"/home/circleci/app/big_tests/tests/muc_SUITE.erl"},
        {line,1453}]},
     {muc_SUITE,'-admin_member_list_allowed/1-fun-0-',4,
       [{file,"/home/circleci/app/big_tests/tests/muc_SUITE.erl"},
        {line,1...

Report log

muc_SUITE:admin:admin_member_list_allowed
{error,{thrown,{timeout,stream_end}}}

Report log

muc_SUITE:admin:admin_member_list_allowed
{error,
  {timeout_when_waiting_for_stanza,
    [{escalus_client,wait_for_stanza,
       [{client,
          <<"alicE_admin_member_list_allowed_60.94791@localhost/res1">>,
          escalus_tcp,<0.18677.1>,
          [{event_manager,<0.18599.1>},
           {server,<<"localhost">>},
           {username,<<"alicE_admin_member_list_allowed_60.94791">>},
           {resource,<<"res1">>}],
          [{event_client,
             [{event_manager,<0.18599.1>},
            {server,<<"localhost">>},
            {username,
              <<"alicE_admin_member_list_allowed_60.94791">>},
            {resource,<<"res1">>}]},
           {resource,<<"res1">>},
           {username,<<"alicE_admin_member_list_allowed_60.94791">>},
           {server,<<"localhost">>},
           {host,<<"localhost">>},
           {port,5222},
           {auth,{escalus_auth,auth_plain}},
           {wspath,undefined},
           {username,<<"alicE_admin_member_list_allowed_60.94791">>},
           {server,<<"localhost">>},
           {password,<<"matygrysa">>},
           {stream_id,<<"424fb85821487682">>}]},
        5000],
       [{file,
          "/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
        {line,136}]},
     {muc_SUITE,check_memberlist,3,
       [{file,"/home/circleci/app/big_tests/tests/muc_SUITE.erl"},
        {line,1453}]},
     {muc_SUITE,'-admin_member_list_allowed/1-fun-0-',4,
       [{file,"/home/circleci/app/big_tests/tests/muc_SUITE.erl"},
        {line,1...

Report log

pubsub_SUITE:dag+basic:subscribe_options_test
{error,{thrown,{timeout,stream_end}}}

Report log

pubsub_SUITE:dag+basic:subscribe_options_separate_request_test
{error,{thrown,{timeout,stream_end}}}

Report log

pubsub_SUITE:dag+basic:subscribe_options_separate_request_test
{error,
  {timeout_when_waiting_for_stanza,
    [{escalus_client,wait_for_stanza,
       [{client,
          <<"alicE_subscribe_options_separate_request_test_45.665544@localhost/res1">>,
          escalus_tcp,<0.27172.1>,
          [{event_manager,<0.27171.1>},
           {server,<<"localhost">>},
           {username,
             <<"alicE_subscribe_options_separate_request_test_45.665544">>},
           {resource,<<"res1">>}],
          [{event_client,
             [{event_manager,<0.27171.1>},
            {server,<<"localhost">>},
            {username,
              <<"alicE_subscribe_options_separate_request_test_45.665544">>},
            {resource,<<"res1">>}]},
           {resource,<<"res1">>},
           {username,
             <<"alicE_subscribe_options_separate_request_test_45.665544">>},
           {server,<<"localhost">>},
           {host,<<"localhost">>},
           {port,5222},
           {auth,{escalus_auth,auth_plain}},
           {wspath,undefined},
           {username,
             <<"alicE_subscribe_options_separate_request_test_45.665544">>},
           {server,<<"localhost">>},
           {password,<<"matygrysa">>},
           {stream_id,<<"369371b29c86634e">>}]},
        5000],
       [{file,
          "/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
        {line,136}]},
     {pubsub_tools,receive_response,3,
       [{file,"/home/circleci/app/big_tests/tests/pubsub_tools.erl"},
        {line,479}]},
     {pubsub_tool...

Report log

pubsub_SUITE:dag+manage_subscriptions:retrieve_pending_subscription_requests_test
{error,
  {timeout_when_waiting_for_stanza,
    [{escalus_client,wait_for_stanza,
       [{client,
          <<"alicE_retrieve_pending_subscription_requests_test_59.589509@localhost/res1">>,
          escalus_tcp,<0.27528.1>,
          [{event_manager,<0.27517.1>},
           {server,<<"localhost">>},
           {username,
             <<"alicE_retrieve_pending_subscription_requests_test_59.589509">>},
           {resource,<<"res1">>}],
          [{event_client,
             [{event_manager,<0.27517.1>},
            {server,<<"localhost">>},
            {username,
              <<"alicE_retrieve_pending_subscription_requests_test_59.589509">>},
            {resource,<<"res1">>}]},
           {resource,<<"res1">>},
           {username,
             <<"alicE_retrieve_pending_subscription_requests_test_59.589509">>},
           {server,<<"localhost">>},
           {host,<<"localhost">>},
           {port,5222},
           {auth,{escalus_auth,auth_plain}},
           {wspath,undefined},
           {username,
             <<"alicE_retrieve_pending_subscription_requests_test_59.589509">>},
           {server,<<"localhost">>},
           {password,<<"matygrysa">>},
           {stream_id,<<"dc261cc9ec367c2f">>}]},
        5000],
       [{file,
          "/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
        {line,136}]},
     {pubsub_tools,receive_response,3,
       [{file,"/home/circleci/app/big_tests/tests/pubsub_tools.erl"},
        {line,479}]...

Report log

pubsub_SUITE:dag+manage_subscriptions:process_subscription_requests_test
{error,
  {timeout_when_waiting_for_stanza,
    [{escalus_client,wait_for_stanza,
       [{client,
          <<"alicE_process_subscription_requests_test_59.592766@localhost/res1">>,
          escalus_tcp,<0.27526.1>,
          [{event_manager,<0.27522.1>},
           {server,<<"localhost">>},
           {username,
             <<"alicE_process_subscription_requests_test_59.592766">>},
           {resource,<<"res1">>}],
          [{event_client,
             [{event_manager,<0.27522.1>},
            {server,<<"localhost">>},
            {username,
              <<"alicE_process_subscription_requests_test_59.592766">>},
            {resource,<<"res1">>}]},
           {resource,<<"res1">>},
           {username,
             <<"alicE_process_subscription_requests_test_59.592766">>},
           {server,<<"localhost">>},
           {host,<<"localhost">>},
           {port,5222},
           {auth,{escalus_auth,auth_plain}},
           {wspath,undefined},
           {username,
             <<"alicE_process_subscription_requests_test_59.592766">>},
           {server,<<"localhost">>},
           {password,<<"matygrysa">>},
           {stream_id,<<"f55ee081e24a4374">>}]},
        5000],
       [{file,
          "/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
        {line,136}]},
     {pubsub_tools,receive_response,3,
       [{file,"/home/circleci/app/big_tests/tests/pubsub_tools.erl"},
        {line,479}]},
     {pubsub_tools,receive_and_check_respo...

Report log

pubsub_SUITE:dag+manage_subscriptions:modify_node_subscriptions_test
{error,
  {timeout_when_waiting_for_stanza,
    [{escalus_client,wait_for_stanza,
       [{client,
          <<"alicE_modify_node_subscriptions_test_59.565792@localhost/res1">>,
          escalus_tcp,<0.27523.1>,
          [{event_manager,<0.27493.1>},
           {server,<<"localhost">>},
           {username,
             <<"alicE_modify_node_subscriptions_test_59.565792">>},
           {resource,<<"res1">>}],
          [{event_client,
             [{event_manager,<0.27493.1>},
            {server,<<"localhost">>},
            {username,
              <<"alicE_modify_node_subscriptions_test_59.565792">>},
            {resource,<<"res1">>}]},
           {resource,<<"res1">>},
           {username,
             <<"alicE_modify_node_subscriptions_test_59.565792">>},
           {server,<<"localhost">>},
           {host,<<"localhost">>},
           {port,5222},
           {auth,{escalus_auth,auth_plain}},
           {wspath,undefined},
           {username,
             <<"alicE_modify_node_subscriptions_test_59.565792">>},
           {server,<<"localhost">>},
           {password,<<"matygrysa">>},
           {stream_id,<<"5f9301d76140aa25">>}]},
        5000],
       [{file,
          "/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
        {line,136}]},
     {pubsub_tools,receive_response,3,
       [{file,"/home/circleci/app/big_tests/tests/pubsub_tools.erl"},
        {line,479}]},
     {pubsub_tools,receive_and_check_response,4,
       [{file...

Report log

pubsub_SUITE:dag+collection:collection_delete_makes_leaf_parentless
{error,{thrown,{timeout,stream_end}}}

Report log

pubsub_SUITE:dag+collection:collection_delete_makes_leaf_parentless
{error,{thrown,{timeout,stream_end}}}

Report log

pubsub_SUITE:dag+collection:notify_collection_test
{error,
  {timeout_when_waiting_for_stanza,
    [{escalus_client,wait_for_stanza,
       [{client,
          <<"alicE_notify_collection_test_84.934760@localhost/res1">>,
          escalus_tcp,<0.27867.1>,
          [{event_manager,<0.27866.1>},
           {server,<<"localhost">>},
           {username,<<"alicE_notify_collection_test_84.934760">>},
           {resource,<<"res1">>}],
          [{event_client,
             [{event_manager,<0.27866.1>},
            {server,<<"localhost">>},
            {username,
              <<"alicE_notify_collection_test_84.934760">>},
            {resource,<<"res1">>}]},
           {resource,<<"res1">>},
           {username,<<"alicE_notify_collection_test_84.934760">>},
           {server,<<"localhost">>},
           {host,<<"localhost">>},
           {port,5222},
           {auth,{escalus_auth,auth_plain}},
           {wspath,undefined},
           {username,<<"alicE_notify_collection_test_84.934760">>},
           {server,<<"localhost">>},
           {password,<<"matygrysa">>},
           {stream_id,<<"e01856f630715b1f">>}]},
        5000],
       [{file,
          "/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
        {line,136}]},
     {pubsub_tools,receive_response,3,
       [{file,"/home/circleci/app/big_tests/tests/pubsub_tools.erl"},
        {line,479}]},
     {pubsub_tools,receive_and_check_response,4,
       [{file,"/home/circleci/app/big_tests/tests/pubsub_tools.erl"},
        {line,470}]},
   ...

Report log

pubsub_SUITE:dag+collection_config:disable_persist_items_leaf_test
{error,
  {timeout_when_waiting_for_stanza,
    [{escalus_client,wait_for_stanza,
       [{client,
          <<"alicE_disable_persist_items_leaf_test_90.281013@localhost/res1">>,
          escalus_tcp,<0.27919.1>,
          [{event_manager,<0.27914.1>},
           {server,<<"localhost">>},
           {username,
             <<"alicE_disable_persist_items_leaf_test_90.281013">>},
           {resource,<<"res1">>}],
          [{event_client,
             [{event_manager,<0.27914.1>},
            {server,<<"localhost">>},
            {username,
              <<"alicE_disable_persist_items_leaf_test_90.281013">>},
            {resource,<<"res1">>}]},
           {resource,<<"res1">>},
           {username,
             <<"alicE_disable_persist_items_leaf_test_90.281013">>},
           {server,<<"localhost">>},
           {host,<<"localhost">>},
           {port,5222},
           {auth,{escalus_auth,auth_plain}},
           {wspath,undefined},
           {username,
             <<"alicE_disable_persist_items_leaf_test_90.281013">>},
           {server,<<"localhost">>},
           {password,<<"matygrysa">>},
           {stream_id,<<"96c237123feefceb">>}]},
        5000],
       [{file,
          "/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
        {line,136}]},
     {pubsub_tools,receive_response,3,
       [{file,"/home/circleci/app/big_tests/tests/pubsub_tools.erl"},
        {line,479}]},
     {pubsub_tools,receive_and_check_response,4,
       [...

Report log

pubsub_SUITE:dag+collection_config:disable_payload_leaf_test
{error,
  {timeout_when_waiting_for_stanza,
    [{escalus_client,wait_for_stanza,
       [{client,
          <<"alicE_disable_payload_leaf_test_90.262752@localhost/res1">>,
          escalus_tcp,<0.27918.1>,
          [{event_manager,<0.27903.1>},
           {server,<<"localhost">>},
           {username,<<"alicE_disable_payload_leaf_test_90.262752">>},
           {resource,<<"res1">>}],
          [{event_client,
             [{event_manager,<0.27903.1>},
            {server,<<"localhost">>},
            {username,
              <<"alicE_disable_payload_leaf_test_90.262752">>},
            {resource,<<"res1">>}]},
           {resource,<<"res1">>},
           {username,<<"alicE_disable_payload_leaf_test_90.262752">>},
           {server,<<"localhost">>},
           {host,<<"localhost">>},
           {port,5222},
           {auth,{escalus_auth,auth_plain}},
           {wspath,undefined},
           {username,<<"alicE_disable_payload_leaf_test_90.262752">>},
           {server,<<"localhost">>},
           {password,<<"matygrysa">>},
           {stream_id,<<"a46fb9a533069111">>}]},
        5000],
       [{file,
          "/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
        {line,136}]},
     {pubsub_tools,receive_response,3,
       [{file,"/home/circleci/app/big_tests/tests/pubsub_tools.erl"},
        {line,479}]},
     {pubsub_tools,receive_and_check_response,4,
       [{file,"/home/circleci/app/big_tests/tests/pubsub_tools.erl"},
        {l...

Report log

pubsub_SUITE:dag+collection_config:disable_notifications_leaf_test
{error,
  {timeout_when_waiting_for_stanza,
    [{escalus_client,wait_for_stanza,
       [{client,
          <<"alicE_disable_notifications_leaf_test_90.283902@localhost/res1">>,
          escalus_tcp,<0.27920.1>,
          [{event_manager,<0.27917.1>},
           {server,<<"localhost">>},
           {username,
             <<"alicE_disable_notifications_leaf_test_90.283902">>},
           {resource,<<"res1">>}],
          [{event_client,
             [{event_manager,<0.27917.1>},
            {server,<<"localhost">>},
            {username,
              <<"alicE_disable_notifications_leaf_test_90.283902">>},
            {resource,<<"res1">>}]},
           {resource,<<"res1">>},
           {username,
             <<"alicE_disable_notifications_leaf_test_90.283902">>},
           {server,<<"localhost">>},
           {host,<<"localhost">>},
           {port,5222},
           {auth,{escalus_auth,auth_plain}},
           {wspath,undefined},
           {username,
             <<"alicE_disable_notifications_leaf_test_90.283902">>},
           {server,<<"localhost">>},
           {password,<<"matygrysa">>},
           {stream_id,<<"cd37c8548218f628">>}]},
        5000],
       [{file,
          "/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
        {line,136}]},
     {pubsub_tools,receive_response,3,
       [{file,"/home/circleci/app/big_tests/tests/pubsub_tools.erl"},
        {line,479}]},
     {pubsub_tools,receive_and_check_response,4,
       [...

Report log

pubsub_SUITE:tree+basic:subscribe_options_separate_request_test
{error,
  {timeout_when_waiting_for_stanza,
    [{escalus_client,wait_for_stanza,
       [{client,
          <<"alicE_subscribe_options_separate_request_test_16.323540@localhost/res1">>,
          escalus_tcp,<0.28318.1>,
          [{event_manager,<0.28317.1>},
           {server,<<"localhost">>},
           {username,
             <<"alicE_subscribe_options_separate_request_test_16.323540">>},
           {resource,<<"res1">>}],
          [{event_client,
             [{event_manager,<0.28317.1>},
            {server,<<"localhost">>},
            {username,
              <<"alicE_subscribe_options_separate_request_test_16.323540">>},
            {resource,<<"res1">>}]},
           {resource,<<"res1">>},
           {username,
             <<"alicE_subscribe_options_separate_request_test_16.323540">>},
           {server,<<"localhost">>},
           {host,<<"localhost">>},
           {port,5222},
           {auth,{escalus_auth,auth_plain}},
           {wspath,undefined},
           {username,
             <<"alicE_subscribe_options_separate_request_test_16.323540">>},
           {server,<<"localhost">>},
           {password,<<"matygrysa">>},
           {stream_id,<<"0328749f581bf2d2">>}]},
        5000],
       [{file,
          "/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
        {line,136}]},
     {pubsub_tools,receive_response,3,
       [{file,"/home/circleci/app/big_tests/tests/pubsub_tools.erl"},
        {line,479}]},
     {pubsub_tool...

Report log

12 errors were truncated


riak_mnesia_24 / riak_mnesia / 459278a
Reports root/ big
OK: 1745 / Failed: 1 / User-skipped: 289 / Auto-skipped: 0

offline_SUITE:mod_offline_tests:max_offline_messages_reached
{error,
  {{assertion_failed,assert_many,false,
     [is_presence,#Fun<offline_SUITE.10.51946424>,
      #Fun<offline_SUITE.10.51946424>,#Fun<offline_SUITE.10.51946424>,
      #Fun<offline_SUITE.10.51946424>,#Fun<offline_SUITE.10.51946424>,
      #Fun<offline_SUITE.10.51946424>,#Fun<offline_SUITE.10.51946424>,
      #Fun<offline_SUITE.10.51946424>,#Fun<offline_SUITE.10.51946424>,
      #Fun<offline_SUITE.10.51946424>,#Fun<offline_SUITE.10.51946424>,
      #Fun<offline_SUITE.10.51946424>,#Fun<offline_SUITE.10.51946424>,
      #Fun<offline_SUITE.10.51946424>,#Fun<offline_SUITE.10.51946424>,
      #Fun<offline_SUITE.10.51946424>,#Fun<offline_SUITE.10.51946424>,
      #Fun<offline_SUITE.10.51946424>,#Fun<offline_SUITE.10.51946424>,
      #Fun<offline_SUITE.10.51946424>,#Fun<offline_SUITE.10.51946424>,
      #Fun<offline_SUITE.10.51946424>,#Fun<offline_SUITE.10.51946424>,
      #Fun<offline_SUITE.10.51946424>,#Fun<offline_SUITE.10.51946424>,
      #Fun<offline_SUITE.10.51946424>,#Fun<offline_SUITE.10.51946424>,
      #Fun<offline_SUITE.10.51946424>,#Fun<offline_SUITE.10.51946424>,
      #Fun<offline_SUITE.10.51946424>,#Fun<offline_SUITE.10.51946424>,
      #Fun<offline_SUITE.10.51946424>,#Fun<offline_SUITE.10.51946424>,
      #Fun<offline_SUITE.10.51946424>,#Fun<offline_SUITE.10.51946424>,
      #Fun<offline_SUITE.10.51946424>,#Fun<offline_SUITE.10.51946424>,
      #Fun<offline_SUITE.10.51946424>,#Fun<offline_SUITE.10.51946424>,
      #Fun<offline_SUITE.10.51946424>,#Fun<offline_S...

Report log


pgsql_mnesia_24 / pgsql_mnesia / 459278a
Reports root/ big
OK: 3091 / Failed: 0 / User-skipped: 184 / Auto-skipped: 0


mysql_redis_24 / mysql_redis / 459278a
Reports root/ big
OK: 3074 / Failed: 0 / User-skipped: 201 / Auto-skipped: 0

@chrzaszcz chrzaszcz merged commit 755b360 into master Sep 13, 2021
@chrzaszcz chrzaszcz deleted the multitenancy/mod_keystore branch September 13, 2021 11:27
@Premwoik Premwoik added this to the 5.0.0 milestone Oct 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants