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

Multitenancy/privacy #3189

Merged
merged 13 commits into from
Jul 27, 2021
Merged

Multitenancy/privacy #3189

merged 13 commits into from
Jul 27, 2021

Conversation

NelsonVides
Copy link
Collaborator

@NelsonVides NelsonVides commented Jul 20, 2021

This also takes the chance that we're modifying the default config to enable mod_cache_users, which wasn't enabled before.

@mongoose-im

This comment has been minimized.

@codecov
Copy link

codecov bot commented Jul 20, 2021

Codecov Report

Merging #3189 (a9c7461) into master (a4d7d2f) will increase coverage by 0.00%.
The diff coverage is 91.71%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #3189   +/-   ##
=======================================
  Coverage   80.28%   80.29%           
=======================================
  Files         397      397           
  Lines       32430    32447   +17     
=======================================
+ Hits        26037    26052   +15     
- Misses       6393     6395    +2     
Impacted Files Coverage Δ
src/mod_private.erl 84.21% <ø> (ø)
src/privacy/mod_privacy_mnesia.erl 78.26% <60.00%> (ø)
src/privacy/mod_privacy_riak.erl 78.43% <78.43%> (ø)
src/mod_blocking.erl 86.84% <100.00%> (+0.54%) ⬆️
src/mongoose_hooks.erl 95.10% <100.00%> (ø)
src/privacy/mod_privacy.erl 86.61% <100.00%> (ø)
src/privacy/mod_privacy_rdbms.erl 80.51% <100.00%> (ø)
src/auth/ejabberd_auth_internal.erl 86.11% <0.00%> (-1.86%) ⬇️
src/global_distrib/mod_global_distrib_utils.erl 64.48% <0.00%> (-0.94%) ⬇️
... and 13 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 a4d7d2f...a9c7461. Read the comment docs.

@mongoose-im

This comment has been minimized.

@mongoose-im

This comment has been minimized.

@mongoose-im

This comment has been minimized.

@mongoose-im

This comment has been minimized.

@mongoose-im

This comment has been minimized.

@mongoose-im

This comment has been minimized.

@mongoose-im

This comment has been minimized.

@NelsonVides NelsonVides force-pushed the multitenancy/privacy branch 2 times, most recently from add5d5f to 5d5f5e7 Compare July 21, 2021 14:47
@mongoose-im

This comment has been minimized.

@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.

I debugged the big test failures and found an issue. I am not sure if it is the only one, please make sure there are no more things like this one. Maybe we could just omit the dependency change in this PR and do it separately?

Comment on lines 40 to 41
deps(_HostType, Opts) ->
[{mod_privacy, Opts, hard}].
Copy link
Member

@chrzaszcz chrzaszcz Jul 26, 2021

Choose a reason for hiding this comment

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

Some tests stop mod_privacy without stopping mod_blocking, e.g. mod_global_distrib_SUITE in line 196:

ModulesToStop = [mod_offline, mod_privacy, mod_roster, mod_last],

After that, modules are started with gen_mod_deps, which does not start mod_privacy as it is a dependency of mod_blocking. This makes big tests fail.

@mongoose-im

This comment has been minimized.

@mongoose-im
Copy link
Collaborator

mongoose-im commented Jul 26, 2021

small_tests_24 / small_tests / 7db8730
Reports root / small


internal_mnesia_24 / internal_mnesia / 7db8730
Reports root/ big
OK: 1588 / Failed: 0 / User-skipped: 286 / Auto-skipped: 0


dynamic_domains_24 / pgsql_mnesia / 7db8730
Reports root/ big
OK: 1615 / Failed: 0 / User-skipped: 111 / Auto-skipped: 0


dynamic_domains_23 / pgsql_mnesia / 7db8730
Reports root/ big
OK: 1615 / Failed: 0 / User-skipped: 111 / Auto-skipped: 0


small_tests_22 / small_tests / 7db8730
Reports root / small


small_tests_23 / small_tests / 7db8730
Reports root / small


ldap_mnesia_24 / ldap_mnesia / 7db8730
Reports root/ big
OK: 1515 / Failed: 0 / User-skipped: 359 / Auto-skipped: 0


ldap_mnesia_22 / ldap_mnesia / 7db8730
Reports root/ big
OK: 1515 / Failed: 0 / User-skipped: 359 / Auto-skipped: 0


ldap_mnesia_23 / ldap_mnesia / 7db8730
Reports root/ big
OK: 1515 / Failed: 0 / User-skipped: 359 / Auto-skipped: 0


pgsql_mnesia_24 / pgsql_mnesia / 7db8730
Reports root/ big
OK: 3103 / Failed: 1 / User-skipped: 184 / Auto-skipped: 0

jingle_SUITE:all:resp_4xx_from_sip_proxy_results_in_session_terminate
{error,
  {{assertion_failed,assert,is_iq_result,
     {xmlel,<<"iq">>,
       [{<<"from">>,<<"error.480@localhost">>},
        {<<"to">>,
         <<"alice_resp_4xx_from_sip_proxy_results_in_session_terminate_94.137345@localhost/res1">>},
        {<<"id">>,<<"ca3d6b5e-a84c-4127-9fb4-4017280a2bc1">>},
        {<<"type">>,<<"set">>}],
       [{xmlel,<<"jingle">>,
          [{<<"xmlns">>,<<"urn:xmpp:jingle:1">>},
           {<<"action">>,<<"session-terminate">>},
           {<<"sid">>,<<"112694e8-2e01-4ddd-ab75-70fd040daf8e">>}],
          [{xmlel,<<"reason">>,[],
             [{xmlel,<<"general-error">>,[],[]},
            {xmlel,<<"sip-error">>,
              [{<<"code">>,<<"480">>}],
              [{xmlcdata,<<"Temporarily Unavailable">>}]}]}]}]},
     "<iq from='error.480@localhost' to='alice_resp_4xx_from_sip_proxy_results_in_session_terminate_94.137345@localhost/res1' id='ca3d6b5e-a84c-4127-9fb4-4017280a2bc1' type='set'><jingle xmlns='urn:xmpp:jingle:1' action='session-terminate' sid='112694e8-2e01-4ddd-ab75-70fd040daf8e'><reason><general-error/><sip-error code='480'>Temporarily Unavailable</sip-error></reason></jingle></iq>"},
   [{escalus_new_assert,assert_true,2,
      [{file,
         "/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_new_assert.erl"},
       {line,84}]},
    {jingle_SUITE,send_initiate_and_wait_for_first_iq_set,2,
      [{file,"/home/circleci/app/big_tests/tests/jingle_SUITE.erl"},
       {line,393}]},
    {jingle_SUITE,
      '-res...

Report log


elasticsearch_and_cassandra_24 / elasticsearch_and_cassandra_mnesia / 7db8730
Reports root/ big
OK: 1891 / Failed: 0 / User-skipped: 282 / Auto-skipped: 0


pgsql_mnesia_22 / pgsql_mnesia / 7db8730
Reports root/ big
OK: 3085 / Failed: 0 / User-skipped: 184 / Auto-skipped: 0


mysql_redis_24 / mysql_redis / 7db8730
Reports root/ big
OK: 3074 / Failed: 1 / User-skipped: 201 / Auto-skipped: 0

mam_SUITE:rdbms_async_pool_prefs_cases:messages_filtered_when_prefs_default_policy_is_roster
{error,{test_case_failed,"ASSERT EQUAL\n\tExpected []\n\tValue [ok]\n"}}

Report log


pgsql_mnesia_23 / pgsql_mnesia / 7db8730
Reports root/ big
OK: 3085 / Failed: 0 / User-skipped: 184 / Auto-skipped: 0


mssql_mnesia_24 / odbc_mssql_mnesia / 7db8730
Reports root/ big
OK: 3085 / Failed: 0 / User-skipped: 184 / Auto-skipped: 0


riak_mnesia_24 / riak_mnesia / 7db8730
Reports root/ big
OK: 1738 / Failed: 0 / User-skipped: 285 / Auto-skipped: 0

@NelsonVides NelsonVides marked this pull request as ready for review July 26, 2021 09:55
),
mongoose_riak:delete(?BKT_LISTS_NAMES(HostType), key(LUser, LServer)).

%% TODO
Copy link
Contributor

Choose a reason for hiding this comment

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

This TODO stuff should be implemented in other PR?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yeah, unless anybody know how to implement this for riak, in riak keys are the whole jid as a binary, I don't know how to tell riak to remove keys by a pattern-match 🤔

Copy link
Contributor

Choose a reason for hiding this comment

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

For this case when those keys will not deleted from riak - what will happens if we will try to put duplicate keys? It's can be provide tests for such a case and make sure that it does not break logic in other places?
Other question is - if we do not delete the keys, does this mean that the keys will be stored forever and gradually clutter up the space?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Keys are the entire jid of the user, so reinserting it would mean I guess reinserting this user's configuration. This hasn't changed, if the old logic was correct, the new one is as well, all that has changed is the key name.
This new hook remove_domain is related to multitenancy, and no modules had it a month ago. I just don't know how to implement such thing for riak in this case, but I'm pretty confident riak and mod_privacy is not used by anyone, so I wasn't in a hurry to implement this new callback. Still, we should investigate how to delete keys based on a pattern for riak.

Copy link
Contributor

@vkatsuba vkatsuba left a comment

Choose a reason for hiding this comment

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

LGTM.

Copy link
Contributor

@arcusfelis arcusfelis left a comment

Choose a reason for hiding this comment

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

added some comments

big_tests/tests/privacy_SUITE.erl Outdated Show resolved Hide resolved
big_tests/tests/privacy_SUITE.erl Outdated Show resolved Hide resolved
priv/pg.sql Outdated Show resolved Hide resolved
src/privacy/mod_privacy.erl Outdated Show resolved Hide resolved
priv/mysql.sql Outdated Show resolved Hide resolved
priv/mssql2012.sql Outdated Show resolved Hide resolved
@mongoose-im
Copy link
Collaborator

mongoose-im commented Jul 26, 2021

small_tests_24 / small_tests / 190e39b
Reports root / small


small_tests_22 / small_tests / 190e39b
Reports root / small


dynamic_domains_24 / pgsql_mnesia / 190e39b
Reports root/ big
OK: 1615 / Failed: 0 / User-skipped: 111 / Auto-skipped: 0


dynamic_domains_23 / pgsql_mnesia / 190e39b
Reports root/ big
OK: 1615 / Failed: 0 / User-skipped: 111 / Auto-skipped: 0


internal_mnesia_24 / internal_mnesia / 190e39b
Reports root/ big
OK: 1588 / Failed: 0 / User-skipped: 286 / Auto-skipped: 0


small_tests_23 / small_tests / 190e39b
Reports root / small


ldap_mnesia_22 / ldap_mnesia / 190e39b
Reports root/ big
OK: 1515 / Failed: 0 / User-skipped: 359 / Auto-skipped: 0


ldap_mnesia_24 / ldap_mnesia / 190e39b
Reports root/ big
OK: 1515 / Failed: 0 / User-skipped: 359 / Auto-skipped: 0


ldap_mnesia_23 / ldap_mnesia / 190e39b
Reports root/ big
OK: 1515 / Failed: 0 / User-skipped: 359 / Auto-skipped: 0


elasticsearch_and_cassandra_24 / elasticsearch_and_cassandra_mnesia / 190e39b
Reports root/ big
OK: 1891 / Failed: 0 / User-skipped: 282 / Auto-skipped: 0


mssql_mnesia_24 / odbc_mssql_mnesia / 190e39b
Reports root/ big
OK: 3103 / Failed: 1 / User-skipped: 184 / Auto-skipped: 0

jingle_SUITE:all:resp_4xx_from_sip_proxy_results_in_session_terminate
{error,
  {{assertion_failed,assert,is_iq_result,
     {xmlel,<<"iq">>,
       [{<<"from">>,<<"error.480@localhost">>},
        {<<"to">>,
         <<"alice_resp_4xx_from_sip_proxy_results_in_session_terminate_35.142848@localhost/res1">>},
        {<<"id">>,<<"5e3a396b-396b-4311-a1c0-6d9673034dc8">>},
        {<<"type">>,<<"set">>}],
       [{xmlel,<<"jingle">>,
          [{<<"xmlns">>,<<"urn:xmpp:jingle:1">>},
           {<<"action">>,<<"session-terminate">>},
           {<<"sid">>,<<"d9a1f71c-903b-4713-b0b2-c538cfcb951a">>}],
          [{xmlel,<<"reason">>,[],
             [{xmlel,<<"general-error">>,[],[]},
            {xmlel,<<"sip-error">>,
              [{<<"code">>,<<"480">>}],
              [{xmlcdata,<<"Temporarily Unavailable">>}]}]}]}]},
     "<iq from='error.480@localhost' to='alice_resp_4xx_from_sip_proxy_results_in_session_terminate_35.142848@localhost/res1' id='5e3a396b-396b-4311-a1c0-6d9673034dc8' type='set'><jingle xmlns='urn:xmpp:jingle:1' action='session-terminate' sid='d9a1f71c-903b-4713-b0b2-c538cfcb951a'><reason><general-error/><sip-error code='480'>Temporarily Unavailable</sip-error></reason></jingle></iq>"},
   [{escalus_new_assert,assert_true,2,
      [{file,
         "/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_new_assert.erl"},
       {line,84}]},
    {jingle_SUITE,send_initiate_and_wait_for_first_iq_set,2,
      [{file,"/home/circleci/app/big_tests/tests/jingle_SUITE.erl"},
       {line,393}]},
    {jingle_SUITE,
      '-res...

Report log


pgsql_mnesia_24 / pgsql_mnesia / 190e39b
Reports root/ big
OK: 3085 / Failed: 0 / User-skipped: 184 / Auto-skipped: 0


pgsql_mnesia_22 / pgsql_mnesia / 190e39b
Reports root/ big
OK: 3085 / Failed: 0 / User-skipped: 184 / Auto-skipped: 0


mysql_redis_24 / mysql_redis / 190e39b
Reports root/ big
OK: 3074 / Failed: 1 / User-skipped: 201 / Auto-skipped: 0

mam_SUITE:rdbms_simple_prefs_cases:messages_filtered_when_prefs_default_policy_is_never
{error,{test_case_failed,"ASSERT EQUAL\n\tExpected []\n\tValue [ok]\n"}}

Report log


pgsql_mnesia_23 / pgsql_mnesia / 190e39b
Reports root/ big
OK: 3150 / Failed: 1 / User-skipped: 184 / Auto-skipped: 0

amp_big_SUITE:basic:error_deliver_to_stranger_test
{error,
  {test_case_failed,
    {has_stanzas_but_shouldnt,
      {client,
        <<"alicE_error_deliver_to_stranger_test_69.415217@localhost/res1">>,
        escalus_tcp,<0.2870.0>,
        [{event_manager,<0.2745.0>},
         {server,<<"localhost">>},
         {username,
           <<"alicE_error_deliver_to_stranger_test_69.415217">>},
         {resource,<<"res1">>}],
        [{event_client,
           [{event_manager,<0.2745.0>},
            {server,<<"localhost">>},
            {username,
              <<"alicE_error_deliver_to_stranger_test_69.415217">>},
            {resource,<<"res1">>}]},
         {resource,<<"res1">>},
         {username,
           <<"alicE_error_deliver_to_stranger_test_69.415217">>},
         {server,<<"localhost">>},
         {host,<<"localhost">>},
         {port,5222},
         {auth,{escalus_auth,auth_plain}},
         {wspath,undefined},
         {username,
           <<"alicE_error_deliver_to_stranger_test_69.415217">>},
         {server,<<"localhost">>},
         {password,<<"matygrysa">>},
         {stream_id,<<"aea6a540e8a8bc81">>}]},
      [{xmlel,<<"stream:error">>,[],
         [{xmlel,<<"conflict">>,
            [{<<"xmlns">>,
            <<"urn:ietf:params:xml:ns:xmpp-streams">>}],
            []},
          {xmlel,<<"text">>,
            [{<<"xml:lang">>,<<"en">>},
             {<<"xmlns">>,
            <<"urn:ietf:params:xml:ns:xmpp-streams">>}],
            [{xmlcdata,<<"Replaced by new connection">>}]}]},
       {xmlstreamend,<<...

Report log


riak_mnesia_24 / riak_mnesia / 190e39b
Reports root/ big
OK: 1738 / Failed: 0 / User-skipped: 285 / Auto-skipped: 0

Copy link
Contributor

@arcusfelis arcusfelis left a comment

Choose a reason for hiding this comment

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

good :)

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.

Good changes, I like that migrations are already included.
I have a few minor comments.

big_tests/tests/privacy_SUITE.erl Outdated Show resolved Hide resolved
Comment on lines +64 to +66
[
block_jid_message,
Copy link
Member

Choose a reason for hiding this comment

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

Minor: no reason to change this, especially that other lists do not contain such extra newlines.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

That was for me to be able to comment out test cases easily, without removing the list opening bracket. I have it like that in many other test suites.

Comment on lines +32 to +33
[
{group, management},
Copy link
Member

Choose a reason for hiding this comment

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

Minor: no reason to change this, especially that other lists do not contain such extra newlines.

include/mod_privacy.hrl Outdated Show resolved Hide resolved
include/mod_privacy.hrl Outdated Show resolved Hide resolved
@@ -181,11 +181,12 @@ GO
SET ANSI_PADDING ON
GO
CREATE TABLE [dbo].[privacy_default_list](
[server] [nvarchar](250) NOT NULL,
Copy link
Member

Choose a reason for hiding this comment

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

Note: the PRIMARY KEY constraint below implies NOT NULL for both columns.

Comment on lines +142 to +143
server varchar(250) NOT NULL,
username varchar(250) NOT NULL,
Copy link
Member

Choose a reason for hiding this comment

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

Note: the PRIMARY KEY constraint below implies NOT NULL for both columns.

@@ -200,6 +201,7 @@ GO
SET ANSI_PADDING ON
GO
CREATE TABLE [dbo].[privacy_list](
[server] [nvarchar](250) NOT NULL,
Copy link
Member

Choose a reason for hiding this comment

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

Note: for other DBs we have a primary key here. Maybe it would be good to add it for MS SQL as well for consistency.

);

CREATE TABLE privacy_list (
server varchar(250) NOT NULL,
Copy link
Member

Choose a reason for hiding this comment

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

Minor, note: PRIMARY KEY implies NOT NULL.

updated_list(_, #userlist{name = SameName}, #userlist{name = SameName} = New) -> New;
updated_list(_, Old, _) -> Old.


%% ------------------------------------------------------------------
Copy link
Member

Choose a reason for hiding this comment

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

Minor: I like the single lines more, less clutter in the code.

@mongoose-im
Copy link
Collaborator

mongoose-im commented Jul 27, 2021

small_tests_24 / small_tests / b02ac0c
Reports root / small


internal_mnesia_24 / internal_mnesia / b02ac0c
Reports root/ big
OK: 1588 / Failed: 0 / User-skipped: 286 / Auto-skipped: 0


small_tests_22 / small_tests / b02ac0c
Reports root / small


dynamic_domains_24 / pgsql_mnesia / b02ac0c
Reports root/ big
OK: 1615 / Failed: 0 / User-skipped: 111 / Auto-skipped: 0


dynamic_domains_23 / pgsql_mnesia / b02ac0c
Reports root/ big
OK: 1615 / Failed: 0 / User-skipped: 111 / Auto-skipped: 0


small_tests_23 / small_tests / b02ac0c
Reports root / small


ldap_mnesia_22 / ldap_mnesia / b02ac0c
Reports root/ big
OK: 1515 / Failed: 0 / User-skipped: 359 / Auto-skipped: 0


ldap_mnesia_24 / ldap_mnesia / b02ac0c
Reports root/ big
OK: 1515 / Failed: 0 / User-skipped: 359 / Auto-skipped: 0


ldap_mnesia_23 / ldap_mnesia / b02ac0c
Reports root/ big
OK: 1515 / Failed: 0 / User-skipped: 359 / Auto-skipped: 0


pgsql_mnesia_22 / pgsql_mnesia / b02ac0c
Reports root/ big
OK: 3085 / Failed: 0 / User-skipped: 184 / Auto-skipped: 0


elasticsearch_and_cassandra_24 / elasticsearch_and_cassandra_mnesia / b02ac0c
Reports root/ big
OK: 1891 / Failed: 0 / User-skipped: 282 / Auto-skipped: 0


pgsql_mnesia_23 / pgsql_mnesia / b02ac0c
Reports root/ big
OK: 3085 / Failed: 0 / User-skipped: 184 / Auto-skipped: 0


pgsql_mnesia_24 / pgsql_mnesia / b02ac0c
Reports root/ big
OK: 3085 / Failed: 0 / User-skipped: 184 / Auto-skipped: 0


mysql_redis_24 / mysql_redis / b02ac0c
Reports root/ big
OK: 3068 / Failed: 0 / User-skipped: 201 / Auto-skipped: 0


mssql_mnesia_24 / odbc_mssql_mnesia / b02ac0c
Reports root/ big
OK: 3085 / Failed: 0 / User-skipped: 184 / Auto-skipped: 0


riak_mnesia_24 / riak_mnesia / b02ac0c
Reports root/ big
OK: 1737 / Failed: 1 / User-skipped: 285 / Auto-skipped: 0

dynamic_domains_SUITE:with_mod_dynamic_domains_test:packet_handling_for_subdomain
{error,
  {{badrpc,
     {'EXIT',
       {timeout,
         [{meck_proc,wait,6,
            [{file,
               "/home/circleci/app/_build/default/lib/meck/src/meck_proc.erl"},
             {line,171}]},
          {meck,wait,5,[]}]}}},
   [{distributed_helper,rpc,
      [#{node => mongooseim@localhost},
       meck,wait,
       [3,mod_dynamic_domains_test,process_packet,5,500]],
      [{file,"/home/circleci/app/big_tests/tests/distributed_helper.erl"},
       {line,117}]},
    {dynamic_domains_SUITE,'-packet_handling_for_subdomain/1-fun-3-',1,
      [{file,
         "/home/circleci/app/big_tests/tests/dynamic_domains_SUITE.erl"},
       {line,113}]},
    {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

@mongoose-im
Copy link
Collaborator

mongoose-im commented Jul 27, 2021

small_tests_24 / small_tests / a9c7461
Reports root / small


internal_mnesia_24 / internal_mnesia / a9c7461
Reports root/ big
OK: 1588 / Failed: 0 / User-skipped: 286 / Auto-skipped: 0


small_tests_22 / small_tests / a9c7461
Reports root / small


dynamic_domains_24 / pgsql_mnesia / a9c7461
Reports root/ big
OK: 1615 / Failed: 0 / User-skipped: 111 / Auto-skipped: 0


dynamic_domains_23 / pgsql_mnesia / a9c7461
Reports root/ big
OK: 1615 / Failed: 0 / User-skipped: 111 / Auto-skipped: 0


small_tests_23 / small_tests / a9c7461
Reports root / small


ldap_mnesia_22 / ldap_mnesia / a9c7461
Reports root/ big
OK: 1515 / Failed: 0 / User-skipped: 359 / Auto-skipped: 0


ldap_mnesia_24 / ldap_mnesia / a9c7461
Reports root/ big
OK: 1515 / Failed: 0 / User-skipped: 359 / Auto-skipped: 0


ldap_mnesia_23 / ldap_mnesia / a9c7461
Reports root/ big
OK: 1515 / Failed: 0 / User-skipped: 359 / Auto-skipped: 0


pgsql_mnesia_24 / pgsql_mnesia / a9c7461
Reports root/ big
OK: 3085 / Failed: 0 / User-skipped: 184 / Auto-skipped: 0


elasticsearch_and_cassandra_24 / elasticsearch_and_cassandra_mnesia / a9c7461
Reports root/ big
OK: 1891 / Failed: 0 / User-skipped: 282 / Auto-skipped: 0


mssql_mnesia_24 / odbc_mssql_mnesia / a9c7461
Reports root/ big
OK: 3085 / Failed: 0 / User-skipped: 184 / Auto-skipped: 0


pgsql_mnesia_22 / pgsql_mnesia / a9c7461
Reports root/ big
OK: 3085 / Failed: 0 / User-skipped: 184 / Auto-skipped: 0


mysql_redis_24 / mysql_redis / a9c7461
Reports root/ big
OK: 3071 / Failed: 1 / User-skipped: 201 / Auto-skipped: 0

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">> => <<"[email protected]">>,
        <<"message">> => <<>>,
        <<"to_user_id">> =>
          <<"alice_unnamed_66.369271@localhost/res1">>}}]},
   [{mod_event_pusher_rabbit_SUITE,
      '-group_chat_message_received_event_properly_formatted/1-fun-1-',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,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 / a9c7461
Reports root/ big
OK: 3085 / Failed: 0 / User-skipped: 184 / Auto-skipped: 0


riak_mnesia_24 / riak_mnesia / a9c7461
Reports root/ big
OK: 1750 / Failed: 2 / User-skipped: 285 / Auto-skipped: 0

mod_ping_SUITE:server_ping:server_ping_pong
{error,{{badmatch,[{[<<"localhost">>,mod_ping,ping_response],
          {expected_diff,5},
          {before_story,0},
          {after_story,4}}]},
    [{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_pong
{error,{{badmatch,[{[<<"localhost">>,mod_ping,ping_response],
          {expected_diff,5},
          {before_story,10},
          {after_story,14}}]},
    [{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

@chrzaszcz chrzaszcz merged commit f351a3d into master Jul 27, 2021
@chrzaszcz chrzaszcz deleted the multitenancy/privacy branch July 27, 2021 08:52
@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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants