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

Experimenting with alternative SM mechanisms #3574

Closed
wants to merge 10 commits into from
Closed

Conversation

arcusfelis
Copy link
Contributor

@arcusfelis arcusfelis commented Mar 6, 2022

This PR addresses "I have nothing to do on Sunday".

Proposed changes include:

  • My own replication layer for ETS tables ;)
  • WIP and experimental (I wanna run tests on CI)

Modules:

  • stream management
  • session manager

TODO:

  • discuss
  • I have no idea what mongoose_session:merge_info does
  • tests, review, load tests
  • docs for disco.txt. Maybe making the path configurable.

Profits:

  • This backend stores a list of nodes in a text file (reloadable).
  • Automatically joins new nodes.
  • Probably less bugs (?) comparing to mnesia ;)

Mnesia has few "fun" bugs which are pretty hard to debug:

  • wrong table cookies bug at the start.
  • "nowhere to copy data from" bug at the start.
  • dirty_write could stuck and never return if a remote node disappears and appears again.

Though, Mnesia works very good, once everything is started and no netsplits :)

Weird behaviours:

  • joining two nodes means one node needs to be restarted
  • you actually need to call join_cluster...
  • schema files are hard to store in Docker.
  • The usual way to solve issues is "erase" schema directory... not nice.
  • Nodes would not join again after a net-split, once reachable again.

Trying to keep it simple, so no easy solution for some questions. Could be good enough though:

  • it is still one process per table. I.e. could be a bottleneck (but it is one process in mnesia for all tables though, so less "bottlenecky"). I was thinking to add segments support, but it is not KISS :)
  • There is no protection against a "slow" node (but there is no protection in Mnesia too). We could add pings between nodes, but the behaviour in case a slow node rejoins is not clear (i.e. not KISS).
  • ejabberd_node_id and s2s still use Mnesia (possible to convent, but discussion first. But they would need a backend support first for sure). Also, this PR removes mnesia from IQ request tracking Don't use mnesia for IQ response tracking #3560

@codecov
Copy link

codecov bot commented Mar 6, 2022

Codecov Report

Merging #3574 (912bf6a) into master (b52c96d) will increase coverage by 0.10%.
The diff coverage is 91.30%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #3574      +/-   ##
==========================================
+ Coverage   81.00%   81.11%   +0.10%     
==========================================
  Files         424      426       +2     
  Lines       32294    32386      +92     
==========================================
+ Hits        26161    26269     +108     
+ Misses       6133     6117      -16     
Impacted Files Coverage Δ
src/ejabberd_sm.erl 84.59% <ø> (ø)
...c/stream_management/mod_stream_management_kiss.erl 83.33% <83.33%> (ø)
src/ejabberd_ctl.erl 18.86% <85.71%> (+2.14%) ⬆️
src/ejabberd_sm_kiss.erl 100.00% <100.00%> (ø)
src/ejabberd_sup.erl 87.50% <100.00%> (+1.78%) ⬆️
src/mod_private.erl 80.00% <0.00%> (-3.34%) ⬇️
src/domain/mongoose_domain_loader.erl 89.28% <0.00%> (-0.90%) ⬇️
src/mod_muc_log.erl 78.11% <0.00%> (ø)
src/mod_muc_room.erl 77.26% <0.00%> (+0.17%) ⬆️
src/mod_roster.erl 78.75% <0.00%> (+0.23%) ⬆️
... and 11 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 b52c96d...912bf6a. Read the comment docs.

@mongoose-im
Copy link
Collaborator

mongoose-im commented Mar 6, 2022

small_tests_24 / small_tests / 2a3a429
Reports root / small


small_tests_23 / small_tests / 2a3a429
Reports root / small


dynamic_domains_pgsql_mnesia_24 / pgsql_mnesia / 2a3a429
Reports root/ big
OK: 2721 / Failed: 0 / User-skipped: 239 / Auto-skipped: 0


dynamic_domains_pgsql_mnesia_23 / pgsql_mnesia / 2a3a429
Reports root/ big
OK: 2721 / Failed: 0 / User-skipped: 239 / Auto-skipped: 0


dynamic_domains_mssql_mnesia_24 / odbc_mssql_mnesia / 2a3a429
Reports root/ big
OK: 2721 / Failed: 0 / User-skipped: 239 / Auto-skipped: 0


ldap_mnesia_24 / ldap_mnesia / 2a3a429
Reports root/ big
OK: 1510 / Failed: 0 / User-skipped: 390 / Auto-skipped: 0


ldap_mnesia_23 / ldap_mnesia / 2a3a429
Reports root/ big
OK: 1510 / Failed: 0 / User-skipped: 390 / Auto-skipped: 0


internal_kiss_24 / internal_kiss / 2a3a429
Reports root/ big
OK: 1514 / Failed: 4 / User-skipped: 386 / Auto-skipped: 0

component_SUITE:distributed:register_in_cluster
{error,
  {timeout_when_waiting_for_stanza,
    [{escalus_client,wait_for_stanza,
       [{client,<<"clusterguy@localhost/res1">>,escalus_tcp,
          <0.10250.0>,
          [{event_manager,<0.10245.0>},
           {server,<<"localhost">>},
           {username,<<"clusterguy">>},
           {resource,<<"res1">>}],
          [{event_client,
             [{event_manager,<0.10245.0>},
            {server,<<"localhost">>},
            {username,<<"clusterguy">>},
            {resource,<<"res1">>}]},
           {resource,<<"res1">>},
           {username,<<"clusterguy">>},
           {server,<<"localhost">>},
           {host,<<"localhost">>},
           {port,5232},
           {auth,{escalus_auth,auth_plain}},
           {wspath,undefined},
           {username,<<"clusterguy">>},
           {server,<<"localhost">>},
           {host,<<"localhost">>},
           {password,<<"distributionftw">>},
           {port,5232},
           {stream_id,<<"d77f6d7cae32e076">>}]},
        5000],
       [{file,
          "/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
        {line,136}]},
     {component_SUITE,do_chat_with_component,3,
       [{file,
          "/home/circleci/project/big_tests/tests/component_SUITE.erl"},
        {line,421}]},
     {component_SUITE,'-register_in_cluster/1-fun-0-',5,
       [{file,
          "/home/circleci/project/big_tests/tests/component_SUITE.erl"},
        {line,368}]},
     {escalus_story,story,4,
       [{file,
   ...

Report log

component_SUITE:distributed:register_in_cluster
{error,
  {timeout_when_waiting_for_stanza,
    [{escalus_client,wait_for_stanza,
       [{client,<<"clusterguy@localhost/res1">>,escalus_tcp,
          <0.10329.0>,
          [{event_manager,<0.10324.0>},
           {server,<<"localhost">>},
           {username,<<"clusterguy">>},
           {resource,<<"res1">>}],
          [{event_client,
             [{event_manager,<0.10324.0>},
            {server,<<"localhost">>},
            {username,<<"clusterguy">>},
            {resource,<<"res1">>}]},
           {resource,<<"res1">>},
           {username,<<"clusterguy">>},
           {server,<<"localhost">>},
           {host,<<"localhost">>},
           {port,5232},
           {auth,{escalus_auth,auth_plain}},
           {wspath,undefined},
           {username,<<"clusterguy">>},
           {server,<<"localhost">>},
           {host,<<"localhost">>},
           {password,<<"distributionftw">>},
           {port,5232},
           {stream_id,<<"865092bdb876d51e">>}]},
        5000],
       [{file,
          "/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
        {line,136}]},
     {component_SUITE,do_chat_with_component,3,
       [{file,
          "/home/circleci/project/big_tests/tests/component_SUITE.erl"},
        {line,421}]},
     {component_SUITE,'-register_in_cluster/1-fun-0-',5,
       [{file,
          "/home/circleci/project/big_tests/tests/component_SUITE.erl"},
        {line,368}]},
     {escalus_story,story,4,
       [{file,
   ...

Report log

component_SUITE:distributed:register_in_cluster
{error,
  {timeout_when_waiting_for_stanza,
    [{escalus_client,wait_for_stanza,
       [{client,<<"clusterguy@localhost/res1">>,escalus_tcp,
          <0.10409.0>,
          [{event_manager,<0.10404.0>},
           {server,<<"localhost">>},
           {username,<<"clusterguy">>},
           {resource,<<"res1">>}],
          [{event_client,
             [{event_manager,<0.10404.0>},
            {server,<<"localhost">>},
            {username,<<"clusterguy">>},
            {resource,<<"res1">>}]},
           {resource,<<"res1">>},
           {username,<<"clusterguy">>},
           {server,<<"localhost">>},
           {host,<<"localhost">>},
           {port,5232},
           {auth,{escalus_auth,auth_plain}},
           {wspath,undefined},
           {username,<<"clusterguy">>},
           {server,<<"localhost">>},
           {host,<<"localhost">>},
           {password,<<"distributionftw">>},
           {port,5232},
           {stream_id,<<"cd69115c17f1f97f">>}]},
        5000],
       [{file,
          "/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
        {line,136}]},
     {component_SUITE,do_chat_with_component,3,
       [{file,
          "/home/circleci/project/big_tests/tests/component_SUITE.erl"},
        {line,421}]},
     {component_SUITE,'-register_in_cluster/1-fun-0-',5,
       [{file,
          "/home/circleci/project/big_tests/tests/component_SUITE.erl"},
        {line,368}]},
     {escalus_story,story,4,
       [{file,
   ...

Report log

dynamic_domains_SUITE:pm_messages
{error,
  {timeout_when_waiting_for_stanza,
    [{escalus_client,wait_for_stanza,
       [{client,<<"[email protected]/res1">>,escalus_tcp,<0.22556.1>,
          [{event_manager,<0.22554.1>},
           {server,<<"example.org">>},
           {username,<<"bob">>},
           {resource,<<"res1">>}],
          [{event_client,
             [{event_manager,<0.22554.1>},
            {server,<<"example.org">>},
            {username,<<"bob">>},
            {resource,<<"res1">>}]},
           {resource,<<"res1">>},
           {username,<<"bob">>},
           {server,<<"example.org">>},
           {host,<<"localhost">>},
           {port,5232},
           {auth,{escalus_auth,auth_plain}},
           {wspath,undefined},
           {username,<<"bob">>},
           {server,<<"example.org">>},
           {host,<<"localhost">>},
           {password,<<"makota3">>},
           {port,5232},
           {stream_id,<<"1cdd6e4abc93e654">>}]},
        5000],
       [{file,
          "/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
        {line,136}]},
     {dynamic_domains_SUITE,'-pm_messages/1-fun-0-',2,
       [{file,
          "/home/circleci/project/big_tests/tests/dynamic_domains_SUITE.erl"},
        {line,80}]},
     {escalus_story,story,4,
       [{file,
          "/home/circleci/project/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,...

Report log


internal_mnesia_24 / internal_mnesia / 2a3a429
Reports root/ big
OK: 1551 / Failed: 0 / User-skipped: 349 / Auto-skipped: 0


dynamic_domains_mysql_redis_24 / mysql_redis / 2a3a429
Reports root/ big
OK: 2704 / Failed: 0 / User-skipped: 256 / Auto-skipped: 0


pgsql_mnesia_23 / pgsql_mnesia / 2a3a429
Reports root/ big
OK: 3095 / Failed: 0 / User-skipped: 248 / Auto-skipped: 0


elasticsearch_and_cassandra_24 / elasticsearch_and_cassandra_mnesia / 2a3a429
Reports root/ big
OK: 1685 / Failed: 0 / User-skipped: 369 / Auto-skipped: 0


pgsql_mnesia_24 / pgsql_mnesia / 2a3a429
Reports root/ big
OK: 3095 / Failed: 0 / User-skipped: 248 / Auto-skipped: 0


mssql_mnesia_24 / odbc_mssql_mnesia / 2a3a429
Reports root/ big
OK: 3095 / Failed: 0 / User-skipped: 248 / Auto-skipped: 0


riak_mnesia_24 / riak_mnesia / 2a3a429
Reports root/ big
OK: 1690 / Failed: 0 / User-skipped: 364 / Auto-skipped: 0

@mongoose-im
Copy link
Collaborator

mongoose-im commented Mar 7, 2022

small_tests_24 / small_tests / 5ec847c
Reports root / small


small_tests_23 / small_tests / 5ec847c
Reports root / small


dynamic_domains_pgsql_mnesia_23 / pgsql_mnesia / 5ec847c
Reports root/ big
OK: 2721 / Failed: 0 / User-skipped: 239 / Auto-skipped: 0


dynamic_domains_pgsql_mnesia_24 / pgsql_mnesia / 5ec847c
Reports root/ big
OK: 2721 / Failed: 0 / User-skipped: 239 / Auto-skipped: 0


dynamic_domains_mssql_mnesia_24 / odbc_mssql_mnesia / 5ec847c
Reports root/ big
OK: 2721 / Failed: 0 / User-skipped: 239 / Auto-skipped: 0


dynamic_domains_mysql_redis_24 / mysql_redis / 5ec847c
Reports root/ big
OK: 2704 / Failed: 0 / User-skipped: 256 / Auto-skipped: 0


ldap_mnesia_24 / ldap_mnesia / 5ec847c
Reports root/ big
OK: 1510 / Failed: 0 / User-skipped: 390 / Auto-skipped: 0


ldap_mnesia_23 / ldap_mnesia / 5ec847c
Reports root/ big
OK: 1510 / Failed: 0 / User-skipped: 390 / Auto-skipped: 0


internal_kiss_24 / internal_kiss / 5ec847c
Reports root/ big
OK: 1529 / Failed: 5 / User-skipped: 386 / Auto-skipped: 0

component_SUITE:distributed:register_in_cluster
{error,
  {timeout_when_waiting_for_stanza,
    [{escalus_client,wait_for_stanza,
       [{client,<<"clusterguy@localhost/res1">>,escalus_tcp,
          <0.10191.0>,
          [{event_manager,<0.10186.0>},
           {server,<<"localhost">>},
           {username,<<"clusterguy">>},
           {resource,<<"res1">>}],
          [{event_client,
             [{event_manager,<0.10186.0>},
            {server,<<"localhost">>},
            {username,<<"clusterguy">>},
            {resource,<<"res1">>}]},
           {resource,<<"res1">>},
           {username,<<"clusterguy">>},
           {server,<<"localhost">>},
           {host,<<"localhost">>},
           {port,5232},
           {auth,{escalus_auth,auth_plain}},
           {wspath,undefined},
           {username,<<"clusterguy">>},
           {server,<<"localhost">>},
           {host,<<"localhost">>},
           {password,<<"distributionftw">>},
           {port,5232},
           {stream_id,<<"28c74871127bc644">>}]},
        5000],
       [{file,
          "/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
        {line,136}]},
     {component_SUITE,do_chat_with_component,3,
       [{file,
          "/home/circleci/project/big_tests/tests/component_SUITE.erl"},
        {line,421}]},
     {component_SUITE,'-register_in_cluster/1-fun-0-',5,
       [{file,
          "/home/circleci/project/big_tests/tests/component_SUITE.erl"},
        {line,368}]},
     {escalus_story,story,4,
       [{file,
   ...

Report log

component_SUITE:distributed:register_in_cluster
{error,
  {timeout_when_waiting_for_stanza,
    [{escalus_client,wait_for_stanza,
       [{client,<<"clusterguy@localhost/res1">>,escalus_tcp,
          <0.10271.0>,
          [{event_manager,<0.10266.0>},
           {server,<<"localhost">>},
           {username,<<"clusterguy">>},
           {resource,<<"res1">>}],
          [{event_client,
             [{event_manager,<0.10266.0>},
            {server,<<"localhost">>},
            {username,<<"clusterguy">>},
            {resource,<<"res1">>}]},
           {resource,<<"res1">>},
           {username,<<"clusterguy">>},
           {server,<<"localhost">>},
           {host,<<"localhost">>},
           {port,5232},
           {auth,{escalus_auth,auth_plain}},
           {wspath,undefined},
           {username,<<"clusterguy">>},
           {server,<<"localhost">>},
           {host,<<"localhost">>},
           {password,<<"distributionftw">>},
           {port,5232},
           {stream_id,<<"ce7958c24336ce37">>}]},
        5000],
       [{file,
          "/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
        {line,136}]},
     {component_SUITE,do_chat_with_component,3,
       [{file,
          "/home/circleci/project/big_tests/tests/component_SUITE.erl"},
        {line,421}]},
     {component_SUITE,'-register_in_cluster/1-fun-0-',5,
       [{file,
          "/home/circleci/project/big_tests/tests/component_SUITE.erl"},
        {line,368}]},
     {escalus_story,story,4,
       [{file,
   ...

Report log

component_SUITE:distributed:register_in_cluster
{error,
  {timeout_when_waiting_for_stanza,
    [{escalus_client,wait_for_stanza,
       [{client,<<"clusterguy@localhost/res1">>,escalus_tcp,
          <0.10350.0>,
          [{event_manager,<0.10345.0>},
           {server,<<"localhost">>},
           {username,<<"clusterguy">>},
           {resource,<<"res1">>}],
          [{event_client,
             [{event_manager,<0.10345.0>},
            {server,<<"localhost">>},
            {username,<<"clusterguy">>},
            {resource,<<"res1">>}]},
           {resource,<<"res1">>},
           {username,<<"clusterguy">>},
           {server,<<"localhost">>},
           {host,<<"localhost">>},
           {port,5232},
           {auth,{escalus_auth,auth_plain}},
           {wspath,undefined},
           {username,<<"clusterguy">>},
           {server,<<"localhost">>},
           {host,<<"localhost">>},
           {password,<<"distributionftw">>},
           {port,5232},
           {stream_id,<<"0d34ed700c1a9f9d">>}]},
        5000],
       [{file,
          "/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
        {line,136}]},
     {component_SUITE,do_chat_with_component,3,
       [{file,
          "/home/circleci/project/big_tests/tests/component_SUITE.erl"},
        {line,421}]},
     {component_SUITE,'-register_in_cluster/1-fun-0-',5,
       [{file,
          "/home/circleci/project/big_tests/tests/component_SUITE.erl"},
        {line,368}]},
     {escalus_story,story,4,
       [{file,
   ...

Report log

mod_global_distrib_SUITE:mod_global_distrib:test_pm_between_users_at_different_locations
{error,
  {timeout_when_waiting_for_stanza,
    [{escalus_client,wait_for_stanza,
       [{client,
          <<"alicE_test_pm_between_users_at_different_locations_652@localhost/res1">>,
          escalus_tcp,<0.19491.0>,
          [{event_manager,<0.19487.0>},
           {server,<<"localhost">>},
           {username,
             <<"alicE_test_pm_between_users_at_different_locations_652">>},
           {resource,<<"res1">>}],
          [{event_client,
             [{event_manager,<0.19487.0>},
            {server,<<"localhost">>},
            {username,
              <<"alicE_test_pm_between_users_at_different_locations_652">>},
            {resource,<<"res1">>}]},
           {resource,<<"res1">>},
           {username,
             <<"alicE_test_pm_between_users_at_different_locations_652">>},
           {server,<<"localhost">>},
           {host,<<"localhost">>},
           {port,5222},
           {auth,{escalus_auth,auth_plain}},
           {wspath,undefined},
           {username,
             <<"alicE_test_pm_between_users_at_different_locations_652">>},
           {server,<<"localhost">>},
           {password,<<"matygrysa">>},
           {stream_id,<<"23bb73fbee3862b2">>}]},
        15000],
       [{file,
          "/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
        {line,136}]},
     {mod_global_distrib_SUITE,test_two_way_pm,2,
       [{file,
          "/home/circleci/project/big_tests/tests/mod_global_distrib_SUITE.erl"},
 ...

Report log

dynamic_domains_SUITE:pm_messages
{error,
  {timeout_when_waiting_for_stanza,
    [{escalus_client,wait_for_stanza,
       [{client,<<"[email protected]/res1">>,escalus_tcp,<0.23503.1>,
          [{event_manager,<0.23501.1>},
           {server,<<"example.org">>},
           {username,<<"bob">>},
           {resource,<<"res1">>}],
          [{event_client,
             [{event_manager,<0.23501.1>},
            {server,<<"example.org">>},
            {username,<<"bob">>},
            {resource,<<"res1">>}]},
           {resource,<<"res1">>},
           {username,<<"bob">>},
           {server,<<"example.org">>},
           {host,<<"localhost">>},
           {port,5232},
           {auth,{escalus_auth,auth_plain}},
           {wspath,undefined},
           {username,<<"bob">>},
           {server,<<"example.org">>},
           {host,<<"localhost">>},
           {password,<<"makota3">>},
           {port,5232},
           {stream_id,<<"9ba32c36d3168f08">>}]},
        5000],
       [{file,
          "/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
        {line,136}]},
     {dynamic_domains_SUITE,'-pm_messages/1-fun-0-',2,
       [{file,
          "/home/circleci/project/big_tests/tests/dynamic_domains_SUITE.erl"},
        {line,80}]},
     {escalus_story,story,4,
       [{file,
          "/home/circleci/project/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,...

Report log


internal_mnesia_24 / internal_mnesia / 5ec847c
Reports root/ big
OK: 1551 / Failed: 0 / User-skipped: 349 / Auto-skipped: 0


elasticsearch_and_cassandra_24 / elasticsearch_and_cassandra_mnesia / 5ec847c
Reports root/ big
OK: 1685 / Failed: 0 / User-skipped: 369 / Auto-skipped: 0


pgsql_mnesia_24 / pgsql_mnesia / 5ec847c
Reports root/ big
OK: 3095 / Failed: 0 / User-skipped: 248 / Auto-skipped: 0


mysql_redis_24 / mysql_redis / 5ec847c
Reports root/ big
OK: 3090 / Failed: 0 / User-skipped: 253 / Auto-skipped: 0


mssql_mnesia_24 / odbc_mssql_mnesia / 5ec847c
Reports root/ big
OK: 3095 / Failed: 0 / User-skipped: 248 / Auto-skipped: 0


riak_mnesia_24 / riak_mnesia / 5ec847c
Reports root/ big
OK: 1690 / Failed: 0 / User-skipped: 364 / Auto-skipped: 0

@mongoose-im
Copy link
Collaborator

mongoose-im commented Mar 7, 2022

small_tests_24 / small_tests / 64c1047
Reports root / small


small_tests_23 / small_tests / 64c1047
Reports root / small


dynamic_domains_pgsql_mnesia_23 / pgsql_mnesia / 64c1047
Reports root/ big
OK: 2721 / Failed: 0 / User-skipped: 239 / Auto-skipped: 0


dynamic_domains_mysql_redis_24 / mysql_redis / 64c1047
Reports root/ big
OK: 2704 / Failed: 0 / User-skipped: 256 / Auto-skipped: 0


dynamic_domains_pgsql_mnesia_24 / pgsql_mnesia / 64c1047
Reports root/ big
OK: 2721 / Failed: 0 / User-skipped: 239 / Auto-skipped: 0


dynamic_domains_mssql_mnesia_24 / odbc_mssql_mnesia / 64c1047
Reports root/ big
OK: 2721 / Failed: 0 / User-skipped: 239 / Auto-skipped: 0


internal_kiss_24 / internal_kiss / 64c1047
Reports root/ big
OK: 1514 / Failed: 0 / User-skipped: 386 / Auto-skipped: 0


ldap_mnesia_24 / ldap_mnesia / 64c1047
Reports root/ big
OK: 1510 / Failed: 0 / User-skipped: 390 / Auto-skipped: 0


ldap_mnesia_23 / ldap_mnesia / 64c1047
Reports root/ big
OK: 1510 / Failed: 0 / User-skipped: 390 / Auto-skipped: 0


internal_mnesia_24 / internal_mnesia / 64c1047
Reports root/ big
OK: 1551 / Failed: 0 / User-skipped: 349 / Auto-skipped: 0


elasticsearch_and_cassandra_24 / elasticsearch_and_cassandra_mnesia / 64c1047
Reports root/ big
OK: 1685 / Failed: 0 / User-skipped: 369 / Auto-skipped: 0


pgsql_mnesia_23 / pgsql_mnesia / 64c1047
Reports root/ big
OK: 3095 / Failed: 0 / User-skipped: 248 / Auto-skipped: 0


pgsql_mnesia_24 / pgsql_mnesia / 64c1047
Reports root/ big
OK: 3095 / Failed: 0 / User-skipped: 248 / Auto-skipped: 0


mysql_redis_24 / mysql_redis / 64c1047
Reports root/ big
OK: 3090 / Failed: 0 / User-skipped: 253 / Auto-skipped: 0


mssql_mnesia_24 / odbc_mssql_mnesia / 64c1047
Reports root/ big
OK: 3095 / Failed: 0 / User-skipped: 248 / Auto-skipped: 0


riak_mnesia_24 / riak_mnesia / 64c1047
Reports root/ big
OK: 1690 / Failed: 0 / User-skipped: 364 / Auto-skipped: 0

@mongoose-im
Copy link
Collaborator

mongoose-im commented Mar 7, 2022

small_tests_24 / small_tests / ecea572
Reports root / small


small_tests_23 / small_tests / ecea572
Reports root / small


dynamic_domains_pgsql_mnesia_23 / pgsql_mnesia / ecea572
Reports root/ big
OK: 2721 / Failed: 0 / User-skipped: 240 / Auto-skipped: 0


dynamic_domains_mssql_mnesia_24 / odbc_mssql_mnesia / ecea572
Reports root/ big
OK: 2721 / Failed: 0 / User-skipped: 240 / Auto-skipped: 0


dynamic_domains_mysql_redis_24 / mysql_redis / ecea572
Reports root/ big
OK: 2704 / Failed: 0 / User-skipped: 257 / Auto-skipped: 0


dynamic_domains_pgsql_mnesia_24 / pgsql_mnesia / ecea572
Reports root/ big
OK: 2721 / Failed: 0 / User-skipped: 240 / Auto-skipped: 0


internal_kiss_24 / internal_kiss / ecea572
Reports root/ big
OK: 1515 / Failed: 0 / User-skipped: 386 / Auto-skipped: 0


internal_mnesia_24 / internal_mnesia / ecea572
Reports root/ big
OK: 1551 / Failed: 0 / User-skipped: 350 / Auto-skipped: 0


elasticsearch_and_cassandra_24 / elasticsearch_and_cassandra_mnesia / ecea572
Reports root/ big
OK: 1685 / Failed: 0 / User-skipped: 370 / Auto-skipped: 0


ldap_mnesia_24 / ldap_mnesia / ecea572
Reports root/ big
OK: 1510 / Failed: 0 / User-skipped: 391 / Auto-skipped: 0


mssql_mnesia_24 / odbc_mssql_mnesia / ecea572
Reports root/ big
OK: 3095 / Failed: 0 / User-skipped: 249 / Auto-skipped: 0


pgsql_mnesia_24 / pgsql_mnesia / ecea572
Reports root/ big
OK: 3095 / Failed: 0 / User-skipped: 249 / Auto-skipped: 0


mysql_redis_24 / mysql_redis / ecea572
Reports root/ big
OK: 3090 / Failed: 0 / User-skipped: 254 / Auto-skipped: 0


pgsql_mnesia_23 / pgsql_mnesia / ecea572
Reports root/ big
OK: 3095 / Failed: 0 / User-skipped: 249 / Auto-skipped: 0


riak_mnesia_24 / riak_mnesia / ecea572
Reports root/ big
OK: 1690 / Failed: 0 / User-skipped: 365 / Auto-skipped: 0

@arcusfelis arcusfelis force-pushed the mu-kiss-sm branch 2 times, most recently from 7568c56 to 7a91d32 Compare March 7, 2022 16:36
@mongoose-im
Copy link
Collaborator

mongoose-im commented Mar 7, 2022

small_tests_24 / small_tests / 7a91d32
Reports root / small


small_tests_23 / small_tests / 7a91d32
Reports root / small


dynamic_domains_pgsql_mnesia_24 / pgsql_mnesia / 7a91d32
Reports root/ big
OK: 2773 / Failed: 0 / User-skipped: 134 / Auto-skipped: 0


dynamic_domains_mysql_redis_24 / mysql_redis / 7a91d32
Reports root/ big
OK: 2756 / Failed: 0 / User-skipped: 151 / Auto-skipped: 0


dynamic_domains_pgsql_mnesia_23 / pgsql_mnesia / 7a91d32
Reports root/ big
OK: 2773 / Failed: 0 / User-skipped: 134 / Auto-skipped: 0


dynamic_domains_mssql_mnesia_24 / odbc_mssql_mnesia / 7a91d32
Reports root/ big
OK: 2773 / Failed: 0 / User-skipped: 134 / Auto-skipped: 0


internal_kiss_24 / internal_kiss / 7a91d32
Reports root/ big
OK: 1463 / Failed: 1 / User-skipped: 395 / Auto-skipped: 45

sm_SUITE:parallel:init_per_group
{'EXIT',
  {{badrpc,
     {'EXIT',
       {function_clause,
         [{proplists,get_value,
            [enabled,
             #{enabled => false,geriatric => 3600,
             repeat_after => 1800},
             false],
            [{file,"proplists.erl"},{line,216}]},
          {mod_stream_management_kiss,maybe_init_stale_h,1,
            [{file,
               "/home/circleci/project/src/stream_management/mod_stream_management_kiss.erl"},
             {line,41}]},
          {mod_stream_management_kiss,init,2,
            [{file,
               "/home/circleci/project/src/stream_management/mod_stream_management_kiss.erl"},
             {line,36}]},
          {mod_stream_management,start,2,
            [{file,
               "/home/circleci/project/src/stream_management/mod_stream_management.erl"},
             {line,50}]},
          {gen_mod,start_module_for_host_type,3,
            [{file,"/home/circleci/project/src/gen_mod.erl"},
             {line,111}]},
          {mongoose_modules,start_module,4,
            [{file,
               "/home/circleci/project/src/mongoose_modules.erl"},
             {line,95}]},
          {mongoose_modules,ensure_started,3,
            [{file,
               "/home/circleci/project/src/mongoose_modules.erl"},
             {line,81}]},
          {mongoose_modules,'-replace_modules/3-lc$^1/1-1-',2,
            [{file,
               "/home/circleci/project/src/mongoose_modules.erl"},
             {line,50}]}]}}},
   [{distributed_helper,rpc,...

Report log

sm_SUITE:parallel_manual_ack_freq_1:init_per_group
{'EXIT',
  {{badrpc,
     {'EXIT',
       {function_clause,
         [{proplists,get_value,
            [enabled,
             #{enabled => false,geriatric => 3600,
             repeat_after => 1800},
             false],
            [{file,"proplists.erl"},{line,216}]},
          {mod_stream_management_kiss,maybe_init_stale_h,1,
            [{file,
               "/home/circleci/project/src/stream_management/mod_stream_management_kiss.erl"},
             {line,41}]},
          {mod_stream_management_kiss,init,2,
            [{file,
               "/home/circleci/project/src/stream_management/mod_stream_management_kiss.erl"},
             {line,36}]},
          {mod_stream_management,start,2,
            [{file,
               "/home/circleci/project/src/stream_management/mod_stream_management.erl"},
             {line,50}]},
          {gen_mod,start_module_for_host_type,3,
            [{file,"/home/circleci/project/src/gen_mod.erl"},
             {line,111}]},
          {mongoose_modules,start_module,4,
            [{file,
               "/home/circleci/project/src/mongoose_modules.erl"},
             {line,95}]},
          {mongoose_modules,ensure_started,3,
            [{file,
               "/home/circleci/project/src/mongoose_modules.erl"},
             {line,81}]},
          {mongoose_modules,'-replace_modules/3-lc$^1/1-1-',2,
            [{file,
               "/home/circleci/project/src/mongoose_modules.erl"},
             {line,50}]}]}}},
   [{distributed_helper,rpc,...

Report log

sm_SUITE:manual_ack_freq_2:init_per_group
{'EXIT',
  {{badrpc,
     {'EXIT',
       {function_clause,
         [{proplists,get_value,
            [enabled,
             #{enabled => false,geriatric => 3600,
             repeat_after => 1800},
             false],
            [{file,"proplists.erl"},{line,216}]},
          {mod_stream_management_kiss,maybe_init_stale_h,1,
            [{file,
               "/home/circleci/project/src/stream_management/mod_stream_management_kiss.erl"},
             {line,41}]},
          {mod_stream_management_kiss,init,2,
            [{file,
               "/home/circleci/project/src/stream_management/mod_stream_management_kiss.erl"},
             {line,36}]},
          {mod_stream_management,start,2,
            [{file,
               "/home/circleci/project/src/stream_management/mod_stream_management.erl"},
             {line,50}]},
          {gen_mod,start_module_for_host_type,3,
            [{file,"/home/circleci/project/src/gen_mod.erl"},
             {line,111}]},
          {mongoose_modules,start_module,4,
            [{file,
               "/home/circleci/project/src/mongoose_modules.erl"},
             {line,95}]},
          {mongoose_modules,ensure_started,3,
            [{file,
               "/home/circleci/project/src/mongoose_modules.erl"},
             {line,81}]},
          {mongoose_modules,'-replace_modules/3-lc$^1/1-1-',2,
            [{file,
               "/home/circleci/project/src/mongoose_modules.erl"},
             {line,50}]}]}}},
   [{distributed_helper,rpc,...

Report log

sm_SUITE:parallel_unacknowledged_message_hook:init_per_group
{'EXIT',
  {{badrpc,
     {'EXIT',
       {function_clause,
         [{proplists,get_value,
            [enabled,
             #{enabled => false,geriatric => 3600,
             repeat_after => 1800},
             false],
            [{file,"proplists.erl"},{line,216}]},
          {mod_stream_management_kiss,maybe_init_stale_h,1,
            [{file,
               "/home/circleci/project/src/stream_management/mod_stream_management_kiss.erl"},
             {line,41}]},
          {mod_stream_management_kiss,init,2,
            [{file,
               "/home/circleci/project/src/stream_management/mod_stream_management_kiss.erl"},
             {line,36}]},
          {mod_stream_management,start,2,
            [{file,
               "/home/circleci/project/src/stream_management/mod_stream_management.erl"},
             {line,50}]},
          {gen_mod,start_module_for_host_type,3,
            [{file,"/home/circleci/project/src/gen_mod.erl"},
             {line,111}]},
          {mongoose_modules,start_module,4,
            [{file,
               "/home/circleci/project/src/mongoose_modules.erl"},
             {line,95}]},
          {mongoose_modules,ensure_started,3,
            [{file,
               "/home/circleci/project/src/mongoose_modules.erl"},
             {line,81}]},
          {mongoose_modules,'-replace_modules/3-lc$^1/1-1-',2,
            [{file,
               "/home/circleci/project/src/mongoose_modules.erl"},
             {line,50}]}]}}},
   [{distributed_helper,rpc,...

Report log

xep_0352_csi_SUITE:basic:alice_is_inactive_but_sends_sm_req_and_recives_ack
{error,
  {timeout_when_waiting_for_stanza,
    [{escalus_client,wait_for_stanza,
       [{client,
          <<"alicE_alice_is_inactive_but_sends_sm_req_and_recives_ack_1350@localhost/res1">>,
          escalus_tcp,<0.19937.1>,
          [{event_manager,<0.19886.1>},
           {server,<<"localhost">>},
           {username,
             <<"alicE_alice_is_inactive_but_sends_sm_req_and_recives_ack_1350">>},
           {resource,<<"res1">>}],
          [{event_client,
             [{event_manager,<0.19886.1>},
            {server,<<"localhost">>},
            {username,
              <<"alicE_alice_is_inactive_but_sends_sm_req_and_recives_ack_1350">>},
            {resource,<<"res1">>}]},
           {resource,<<"res1">>},
           {username,
             <<"alicE_alice_is_inactive_but_sends_sm_req_and_recives_ack_1350">>},
           {server,<<"localhost">>},
           {host,<<"localhost">>},
           {port,5222},
           {auth,{escalus_auth,auth_plain}},
           {wspath,undefined},
           {username,
             <<"alicE_alice_is_inactive_but_sends_sm_req_and_recives_ack_1350">>},
           {server,<<"localhost">>},
           {password,<<"matygrysa">>},
           {stream_management,true},
           {stream_id,<<"b1851ada030800a2">>}]},
        5000],
       [{file,
          "/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
        {line,136}]},
     {xep_0352_csi_SUITE,
       '-alice_is_inactive_but_sends_sm_req_and_rec...

Report log


ldap_mnesia_24 / ldap_mnesia / 7a91d32
Reports root/ big
OK: 1504 / Failed: 0 / User-skipped: 400 / Auto-skipped: 0


ldap_mnesia_23 / ldap_mnesia / 7a91d32
Reports root/ big
OK: 1504 / Failed: 0 / User-skipped: 400 / Auto-skipped: 0


internal_mnesia_24 / internal_mnesia / 7a91d32
Reports root/ big
OK: 1545 / Failed: 0 / User-skipped: 359 / Auto-skipped: 0


pgsql_mnesia_23 / pgsql_mnesia / 7a91d32
Reports root/ big
OK: 3147 / Failed: 0 / User-skipped: 143 / Auto-skipped: 0


elasticsearch_and_cassandra_24 / elasticsearch_and_cassandra_mnesia / 7a91d32
Reports root/ big
OK: 1846 / Failed: 0 / User-skipped: 367 / Auto-skipped: 0


pgsql_mnesia_24 / pgsql_mnesia / 7a91d32
Reports root/ big
OK: 3147 / Failed: 0 / User-skipped: 143 / Auto-skipped: 0


mysql_redis_24 / mysql_redis / 7a91d32
Reports root/ big
OK: 3142 / Failed: 0 / User-skipped: 148 / Auto-skipped: 0


mssql_mnesia_24 / odbc_mssql_mnesia / 7a91d32
Reports root/ big
OK: 3147 / Failed: 0 / User-skipped: 143 / Auto-skipped: 0


riak_mnesia_24 / riak_mnesia / 7a91d32
Reports root/ big
OK: 1692 / Failed: 0 / User-skipped: 366 / Auto-skipped: 0

@mongoose-im
Copy link
Collaborator

mongoose-im commented Mar 7, 2022

small_tests_24 / small_tests / 90491ed
Reports root / small


small_tests_23 / small_tests / 90491ed
Reports root / small


dynamic_domains_pgsql_mnesia_23 / pgsql_mnesia / 90491ed
Reports root/ big
OK: 2773 / Failed: 0 / User-skipped: 134 / Auto-skipped: 0


dynamic_domains_pgsql_mnesia_24 / pgsql_mnesia / 90491ed
Reports root/ big
OK: 2773 / Failed: 0 / User-skipped: 134 / Auto-skipped: 0


dynamic_domains_mysql_redis_24 / mysql_redis / 90491ed
Reports root/ big
OK: 2756 / Failed: 0 / User-skipped: 151 / Auto-skipped: 0


dynamic_domains_mssql_mnesia_24 / odbc_mssql_mnesia / 90491ed
Reports root/ big
OK: 2773 / Failed: 0 / User-skipped: 134 / Auto-skipped: 0


internal_kiss_24 / internal_kiss / 90491ed
Reports root/ big
OK: 1509 / Failed: 0 / User-skipped: 395 / Auto-skipped: 0


ldap_mnesia_24 / ldap_mnesia / 90491ed
Reports root/ big
OK: 1504 / Failed: 0 / User-skipped: 400 / Auto-skipped: 0


ldap_mnesia_23 / ldap_mnesia / 90491ed
Reports root/ big
OK: 1504 / Failed: 0 / User-skipped: 400 / Auto-skipped: 0


internal_mnesia_24 / internal_mnesia / 90491ed
Reports root/ big
OK: 1545 / Failed: 0 / User-skipped: 359 / Auto-skipped: 0


elasticsearch_and_cassandra_24 / elasticsearch_and_cassandra_mnesia / 90491ed
Reports root/ big
OK: 1846 / Failed: 0 / User-skipped: 367 / Auto-skipped: 0


mysql_redis_24 / mysql_redis / 90491ed
Reports root/ big
OK: 3142 / Failed: 0 / User-skipped: 148 / Auto-skipped: 0


pgsql_mnesia_23 / pgsql_mnesia / 90491ed
Reports root/ big
OK: 3147 / Failed: 0 / User-skipped: 143 / Auto-skipped: 0


pgsql_mnesia_24 / pgsql_mnesia / 90491ed
Reports root/ big
OK: 3147 / Failed: 0 / User-skipped: 143 / Auto-skipped: 0


mssql_mnesia_24 / odbc_mssql_mnesia / 90491ed
Reports root/ big
OK: 3147 / Failed: 0 / User-skipped: 143 / Auto-skipped: 0


riak_mnesia_24 / riak_mnesia / 90491ed
Reports root/ big
OK: 1692 / Failed: 0 / User-skipped: 366 / Auto-skipped: 0

@mongoose-im
Copy link
Collaborator

mongoose-im commented Mar 7, 2022

small_tests_24 / small_tests / 2a6eb46
Reports root / small


small_tests_23 / small_tests / 2a6eb46
Reports root / small


dynamic_domains_pgsql_mnesia_23 / pgsql_mnesia / 2a6eb46
Reports root/ big
OK: 2773 / Failed: 0 / User-skipped: 134 / Auto-skipped: 0


dynamic_domains_mysql_redis_24 / mysql_redis / 2a6eb46
Reports root/ big
OK: 2756 / Failed: 0 / User-skipped: 151 / Auto-skipped: 0


dynamic_domains_pgsql_mnesia_24 / pgsql_mnesia / 2a6eb46
Reports root/ big
OK: 2773 / Failed: 0 / User-skipped: 134 / Auto-skipped: 0


ldap_mnesia_23 / ldap_mnesia / 2a6eb46
Reports root/ big
OK: 1504 / Failed: 0 / User-skipped: 400 / Auto-skipped: 0


dynamic_domains_mssql_mnesia_24 / odbc_mssql_mnesia / 2a6eb46
Reports root/ big
OK: 2773 / Failed: 0 / User-skipped: 134 / Auto-skipped: 0


internal_kiss_24 / internal_kiss / 2a6eb46
Reports root/ big
OK: 1509 / Failed: 0 / User-skipped: 395 / Auto-skipped: 0


ldap_mnesia_24 / ldap_mnesia / 2a6eb46
Reports root/ big
OK: 1504 / Failed: 0 / User-skipped: 400 / Auto-skipped: 0


internal_mnesia_24 / internal_mnesia / 2a6eb46
Reports root/ big
OK: 1545 / Failed: 0 / User-skipped: 359 / Auto-skipped: 0


pgsql_mnesia_23 / pgsql_mnesia / 2a6eb46
Reports root/ big
OK: 3147 / Failed: 0 / User-skipped: 143 / Auto-skipped: 0


elasticsearch_and_cassandra_24 / elasticsearch_and_cassandra_mnesia / 2a6eb46
Reports root/ big
OK: 1846 / Failed: 0 / User-skipped: 367 / Auto-skipped: 0


pgsql_mnesia_24 / pgsql_mnesia / 2a6eb46
Reports root/ big
OK: 3147 / Failed: 0 / User-skipped: 143 / Auto-skipped: 0


mysql_redis_24 / mysql_redis / 2a6eb46
Reports root/ big
OK: 3142 / Failed: 0 / User-skipped: 148 / Auto-skipped: 0


mssql_mnesia_24 / odbc_mssql_mnesia / 2a6eb46
Reports root/ big
OK: 3147 / Failed: 0 / User-skipped: 143 / Auto-skipped: 0


riak_mnesia_24 / riak_mnesia / 2a6eb46
Reports root/ big
OK: 1692 / Failed: 0 / User-skipped: 366 / Auto-skipped: 0

@mongoose-im
Copy link
Collaborator

mongoose-im commented Mar 9, 2022

small_tests_24 / small_tests / 912bf6a
Reports root / small


small_tests_23 / small_tests / 912bf6a
Reports root / small


dynamic_domains_pgsql_mnesia_24 / pgsql_mnesia / 912bf6a
Reports root/ big
OK: 2773 / Failed: 0 / User-skipped: 134 / Auto-skipped: 0


dynamic_domains_mysql_redis_24 / mysql_redis / 912bf6a
Reports root/ big
OK: 2756 / Failed: 0 / User-skipped: 151 / Auto-skipped: 0


dynamic_domains_pgsql_mnesia_23 / pgsql_mnesia / 912bf6a
Reports root/ big
OK: 2773 / Failed: 0 / User-skipped: 134 / Auto-skipped: 0


internal_kiss_24 / internal_kiss / 912bf6a
Reports root/ big
OK: 1509 / Failed: 0 / User-skipped: 395 / Auto-skipped: 0


dynamic_domains_mssql_mnesia_24 / odbc_mssql_mnesia / 912bf6a
Reports root/ big
OK: 2773 / Failed: 0 / User-skipped: 134 / Auto-skipped: 0


ldap_mnesia_24 / ldap_mnesia / 912bf6a
Reports root/ big
OK: 1504 / Failed: 0 / User-skipped: 400 / Auto-skipped: 0


internal_mnesia_24 / internal_mnesia / 912bf6a
Reports root/ big
OK: 1545 / Failed: 0 / User-skipped: 359 / Auto-skipped: 0


ldap_mnesia_23 / ldap_mnesia / 912bf6a
Reports root/ big
OK: 1504 / Failed: 0 / User-skipped: 400 / Auto-skipped: 0


elasticsearch_and_cassandra_24 / elasticsearch_and_cassandra_mnesia / 912bf6a
Reports root/ big
OK: 1846 / Failed: 0 / User-skipped: 367 / Auto-skipped: 0


pgsql_mnesia_23 / pgsql_mnesia / 912bf6a
Reports root/ big
OK: 3147 / Failed: 0 / User-skipped: 143 / Auto-skipped: 0


pgsql_mnesia_24 / pgsql_mnesia / 912bf6a
Reports root/ big
OK: 3147 / Failed: 0 / User-skipped: 143 / Auto-skipped: 0


mysql_redis_24 / mysql_redis / 912bf6a
Reports root/ big
OK: 3142 / Failed: 0 / User-skipped: 148 / Auto-skipped: 0


riak_mnesia_24 / riak_mnesia / 912bf6a
Reports root/ big
OK: 1692 / Failed: 0 / User-skipped: 366 / Auto-skipped: 0


mssql_mnesia_24 / odbc_mssql_mnesia / 912bf6a
Reports root/ big
OK: 3147 / Failed: 0 / User-skipped: 143 / Auto-skipped: 0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants