esl / MongooseIM

MongooseIM is Erlang Solutions' robust, scalable and efficient XMPP server, aimed at large installations. Specifically designed for enterprise purposes, it is fault-tolerant and can utilise the resources of multiple clustered machines.
Other
1.64k stars 422 forks source link

Document muc online backend / move files #4181

Closed arcusfelis closed 5 months ago

arcusfelis commented 5 months ago

Proposed changes include:

Addresses MIM-2105

mongoose-im commented 5 months ago

elasticsearch_and_cassandra_26 / elasticsearch_and_cassandra_mnesia / bd38ca9ac4e23150eadb98f160171bf712859935 Reports root/ big OK: 368 / Failed: 0 / User-skipped: 38 / Auto-skipped: 0


small_tests_25 / small_tests / bd38ca9ac4e23150eadb98f160171bf712859935 Reports root / small


small_tests_26 / small_tests / bd38ca9ac4e23150eadb98f160171bf712859935 Reports root / small


small_tests_26_arm64 / small_tests / bd38ca9ac4e23150eadb98f160171bf712859935 Reports root / small


dynamic_domains_mysql_redis_26 / mysql_redis / bd38ca9ac4e23150eadb98f160171bf712859935 Reports root/ big OK: 4192 / Failed: 0 / User-skipped: 135 / Auto-skipped: 0


ldap_mnesia_25 / ldap_mnesia / bd38ca9ac4e23150eadb98f160171bf712859935 Reports root/ big OK: 2268 / Failed: 0 / User-skipped: 847 / Auto-skipped: 0


ldap_mnesia_26 / ldap_mnesia / bd38ca9ac4e23150eadb98f160171bf712859935 Reports root/ big OK: 2268 / Failed: 0 / User-skipped: 847 / Auto-skipped: 0


dynamic_domains_pgsql_mnesia_26 / pgsql_mnesia / bd38ca9ac4e23150eadb98f160171bf712859935 Reports root/ big OK: 4225 / Failed: 0 / User-skipped: 102 / Auto-skipped: 0


dynamic_domains_pgsql_mnesia_25 / pgsql_mnesia / bd38ca9ac4e23150eadb98f160171bf712859935 Reports root/ big OK: 4225 / Failed: 0 / User-skipped: 102 / Auto-skipped: 0


dynamic_domains_mssql_mnesia_26 / odbc_mssql_mnesia / bd38ca9ac4e23150eadb98f160171bf712859935 Reports root/ big OK: 4222 / Failed: 0 / User-skipped: 105 / Auto-skipped: 0

graphql_muc_light_SUITE:domain_admin:domain_admin_muc_light:end_per_group ```erlang {error, {{unregistering_failed, {amount,2}, {unregistered_items, [{{<<"_domain_admin_create_room_no_permission_1090">>, [{escalus_event_mgr,<0.24525.0>}, {tc_name,domain_admin_create_room_no_permission}, {escalus_cleaner,<0.24524.0>}, {watchdog,<0.24523.0>}, {muc_light_host,<<"muclight.domain.example.com">>}, {secondary_muc_light_host,<<"muclight.domain.example.org">>}, {protocol,http}, {domain_admin,{<<"admin@domain.example.com">>,<<"275f95f607524f80">>}}, {schema_endpoint,domain_admin}, {{ejabberd_cwd,mongooseim@localhost}, "/home/circleci/project/_build/mim1/rel/mongooseim"}, {preset,"odbc_mssql_mnesia"}, {mim_data_dir, "/home/circleci/project/big_tests/tests/graphql_muc_light_SUITE_data"}, {tc_logfile, "https://circleci-mim-results.s3.eu-central-1.amazonaws.com/PR/4181/201451/odbc_mssql_mnesia.26.1.2-amd64/big/ct_run.test%4067864236aefa.2023-12-01_16.22.35/big_tests.tests.graphql_muc_light_SUITE.logs/run.2023-12-01_16.26.46/graphql_muc_light_suite.domain_admin_create_room_no_permission.html"}, {tc_group_properties,[{name,domain_admin_muc_light}]}, {tc_group_path,[[{name,domain_admin}]]}, {data_dir, "/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/graphql_muc_light_SUITE_data/"}, {priv_dir, "https://circleci-mim-results.s3.eu-central-1.amazonaws.com/PR/4181/201451/odbc_mssql_mnesia.26.1.2-amd64/big/ct_run.test%4067864236aefa.2023-12-01_16.22.35/big_tests.tests.graphql_muc_light_SUITE.logs/run.2023-12-01_16.26.46/log_private/"}, {{saved_modules,mongooseim@localhost,<<"test type"... ``` [Report log](https://circleci-mim-results.s3.eu-central-1.amazonaws.com/PR/4181/201451/odbc_mssql_mnesia.26.1.2-amd64/big/ct_run.test%4067864236aefa.2023-12-01_16.22.35/big_tests.tests.graphql_muc_light_SUITE.logs/run.2023-12-01_16.26.46/graphql_muc_light_suite.end_per_group.28932.html)

internal_mnesia_26 / internal_mnesia / bd38ca9ac4e23150eadb98f160171bf712859935 Reports root/ big OK: 2408 / Failed: 0 / User-skipped: 707 / Auto-skipped: 0


pgsql_cets_26 / pgsql_cets / bd38ca9ac4e23150eadb98f160171bf712859935 Reports root/ big OK: 4273 / Failed: 0 / User-skipped: 110 / Auto-skipped: 0


mysql_redis_26 / mysql_redis / bd38ca9ac4e23150eadb98f160171bf712859935 Reports root/ big OK: 4592 / Failed: 1 / User-skipped: 130 / Auto-skipped: 0

carboncopy_SUITE:one2one:dropped_client_doesnt_create_duplicate_carbons ```erlang {error, {{badmatch, [{xmlel,<<"message">>, [{<<"from">>, <<"alice_dropped_client_doesnt_create_duplicate_carbons_582@localhost">>}, {<<"to">>, <<"alice_dropped_client_doesnt_create_duplicate_carbons_582@localhost/res2">>}, {<<"xmlns">>,<<"jabber:client">>}, {<<"type">>,<<"chat">>}], [{xmlel,<<"sent">>, [{<<"xmlns">>,<<"urn:xmpp:carbons:2">>}], [{xmlel,<<"forwarded">>, [{<<"xmlns">>,<<"urn:xmpp:forward:0">>}], [{xmlel,<<"message">>, [{<<"from">>, <<"alice_dropped_client_doesnt_create_duplicate_carbons_582@localhost/res1">>}, {<<"type">>,<<"chat">>}, {<<"to">>, <<"bob_dropped_client_doesnt_create_duplicate_carbons_582@localhost/res1">>}, {<<"xmlns">>,<<"jabber:client">>}], [{xmlel,<<"body">>,[], [{xmlcdata, <<"And pious action">>}]}]}]}]}]}]}, [{carboncopy_SUITE, '-dropped_client_doesnt_create_duplicate_carbons/1-fun-0-',4, [{file, "/home/circleci/project/big_tests/tests/carboncopy_SUITE.erl"}, {line,189}]}, {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,1793}]}, {test_server,run_test_case_eval1,6, [{file,"test_serv... ``` [Report log](https://circleci-mim-results.s3.eu-central-1.amazonaws.com/PR/4181/201454/mysql_redis.26.1.2-amd64/big/ct_run.test%40b36d4933414c.2023-12-01_16.22.23/big_tests.tests.carboncopy_SUITE.logs/run.2023-12-01_16.23.10/carboncopy_suite.dropped_client_doesnt_create_duplicate_carbons.12676.html)

pgsql_mnesia_25 / pgsql_mnesia / bd38ca9ac4e23150eadb98f160171bf712859935 Reports root/ big OK: 4614 / Failed: 0 / User-skipped: 109 / Auto-skipped: 0


pgsql_mnesia_26 / pgsql_mnesia / bd38ca9ac4e23150eadb98f160171bf712859935 Reports root/ big OK: 4614 / Failed: 0 / User-skipped: 109 / Auto-skipped: 0


mssql_mnesia_26 / odbc_mssql_mnesia / bd38ca9ac4e23150eadb98f160171bf712859935 Reports root/ big OK: 4611 / Failed: 0 / User-skipped: 112 / Auto-skipped: 0

codecov[bot] commented 5 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (44b57e6) 84.28% compared to head (4e94945) 84.28%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #4181 +/- ## ========================================== - Coverage 84.28% 84.28% -0.01% ========================================== Files 551 551 Lines 33467 33467 ========================================== - Hits 28208 28206 -2 - Misses 5259 5261 +2 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

mongoose-im commented 5 months ago

elasticsearch_and_cassandra_26 / elasticsearch_and_cassandra_mnesia / b63071354ba78ca945bf00e4bbaaa59d5a0c2996 Reports root/ big OK: 368 / Failed: 0 / User-skipped: 38 / Auto-skipped: 0


small_tests_25 / small_tests / b63071354ba78ca945bf00e4bbaaa59d5a0c2996 Reports root / small


small_tests_26 / small_tests / b63071354ba78ca945bf00e4bbaaa59d5a0c2996 Reports root / small


small_tests_26_arm64 / small_tests / b63071354ba78ca945bf00e4bbaaa59d5a0c2996 Reports root / small


ldap_mnesia_25 / ldap_mnesia / b63071354ba78ca945bf00e4bbaaa59d5a0c2996 Reports root/ big OK: 2268 / Failed: 0 / User-skipped: 847 / Auto-skipped: 0


dynamic_domains_mysql_redis_26 / mysql_redis / b63071354ba78ca945bf00e4bbaaa59d5a0c2996 Reports root/ big OK: 4192 / Failed: 0 / User-skipped: 135 / Auto-skipped: 0


ldap_mnesia_26 / ldap_mnesia / b63071354ba78ca945bf00e4bbaaa59d5a0c2996 Reports root/ big OK: 2268 / Failed: 0 / User-skipped: 847 / Auto-skipped: 0


dynamic_domains_pgsql_mnesia_26 / pgsql_mnesia / b63071354ba78ca945bf00e4bbaaa59d5a0c2996 Reports root/ big OK: 4225 / Failed: 0 / User-skipped: 102 / Auto-skipped: 0


internal_mnesia_26 / internal_mnesia / b63071354ba78ca945bf00e4bbaaa59d5a0c2996 Reports root/ big OK: 2408 / Failed: 0 / User-skipped: 707 / Auto-skipped: 0


pgsql_mnesia_25 / pgsql_mnesia / b63071354ba78ca945bf00e4bbaaa59d5a0c2996 Reports root/ big OK: 4614 / Failed: 0 / User-skipped: 109 / Auto-skipped: 0


dynamic_domains_mssql_mnesia_26 / odbc_mssql_mnesia / b63071354ba78ca945bf00e4bbaaa59d5a0c2996 Reports root/ big OK: 4222 / Failed: 0 / User-skipped: 105 / Auto-skipped: 0


pgsql_cets_26 / pgsql_cets / b63071354ba78ca945bf00e4bbaaa59d5a0c2996 Reports root/ big OK: 4273 / Failed: 0 / User-skipped: 110 / Auto-skipped: 0


mysql_redis_26 / mysql_redis / b63071354ba78ca945bf00e4bbaaa59d5a0c2996 Reports root/ big OK: 4593 / Failed: 0 / User-skipped: 130 / Auto-skipped: 0


pgsql_mnesia_26 / pgsql_mnesia / b63071354ba78ca945bf00e4bbaaa59d5a0c2996 Reports root/ big OK: 4614 / Failed: 0 / User-skipped: 109 / Auto-skipped: 0


mssql_mnesia_26 / odbc_mssql_mnesia / b63071354ba78ca945bf00e4bbaaa59d5a0c2996 Reports root/ big OK: 4611 / Failed: 0 / User-skipped: 112 / Auto-skipped: 0

mongoose-im commented 5 months ago

elasticsearch_and_cassandra_26 / elasticsearch_and_cassandra_mnesia / 4e949455af7fcaafe5682cb90fea7c416925cbbc Reports root/ big OK: 368 / Failed: 0 / User-skipped: 38 / Auto-skipped: 0


small_tests_25 / small_tests / 4e949455af7fcaafe5682cb90fea7c416925cbbc Reports root / small


small_tests_26 / small_tests / 4e949455af7fcaafe5682cb90fea7c416925cbbc Reports root / small


small_tests_26_arm64 / small_tests / 4e949455af7fcaafe5682cb90fea7c416925cbbc Reports root / small


ldap_mnesia_25 / ldap_mnesia / 4e949455af7fcaafe5682cb90fea7c416925cbbc Reports root/ big OK: 2268 / Failed: 0 / User-skipped: 847 / Auto-skipped: 0


dynamic_domains_pgsql_mnesia_25 / pgsql_mnesia / 4e949455af7fcaafe5682cb90fea7c416925cbbc Reports root/ big OK: 4225 / Failed: 0 / User-skipped: 102 / Auto-skipped: 0


ldap_mnesia_26 / ldap_mnesia / 4e949455af7fcaafe5682cb90fea7c416925cbbc Reports root/ big OK: 2268 / Failed: 0 / User-skipped: 847 / Auto-skipped: 0


dynamic_domains_mysql_redis_26 / mysql_redis / 4e949455af7fcaafe5682cb90fea7c416925cbbc Reports root/ big OK: 4192 / Failed: 0 / User-skipped: 135 / Auto-skipped: 0


dynamic_domains_pgsql_mnesia_26 / pgsql_mnesia / 4e949455af7fcaafe5682cb90fea7c416925cbbc Reports root/ big OK: 4225 / Failed: 0 / User-skipped: 102 / Auto-skipped: 0


internal_mnesia_26 / internal_mnesia / 4e949455af7fcaafe5682cb90fea7c416925cbbc Reports root/ big OK: 2408 / Failed: 0 / User-skipped: 707 / Auto-skipped: 0


pgsql_cets_26 / pgsql_cets / 4e949455af7fcaafe5682cb90fea7c416925cbbc Reports root/ big OK: 4273 / Failed: 0 / User-skipped: 110 / Auto-skipped: 0


dynamic_domains_mssql_mnesia_26 / odbc_mssql_mnesia / 4e949455af7fcaafe5682cb90fea7c416925cbbc Reports root/ big OK: 4222 / Failed: 0 / User-skipped: 105 / Auto-skipped: 0

graphql_muc_light_SUITE:admin_cli:admin_muc_light:end_per_group ```erlang {error, {{unregistering_failed, {amount,1}, {unregistered_items, [{{<<"_admin_create_room_non_existent_domain_1077">>, [{escalus_event_mgr,<0.24075.0>}, {tc_name,admin_create_room_non_existent_domain}, {escalus_cleaner,<0.24074.0>}, {watchdog,<0.24073.0>}, {muc_light_host,<<"muclight.domain.example.com">>}, {secondary_muc_light_host,<<"muclight.domain.example.org">>}, {protocol,cli}, {schema_endpoint,admin}, {{ejabberd_cwd,mongooseim@localhost}, "/home/circleci/project/_build/mim1/rel/mongooseim"}, {preset,"odbc_mssql_mnesia"}, {mim_data_dir, "/home/circleci/project/big_tests/tests/graphql_muc_light_SUITE_data"}, {tc_logfile, "https://circleci-mim-results.s3.eu-central-1.amazonaws.com/PR/4181/201555/odbc_mssql_mnesia.26.1.2-amd64/big/ct_run.test%409745c9249d13.2023-12-01_17.57.32/big_tests.tests.graphql_muc_light_SUITE.logs/run.2023-12-01_18.01.50/graphql_muc_light_suite.admin_create_room_non_existent_domain.39939.html"}, {tc_group_properties,[{name,admin_muc_light}]}, {tc_group_path,[[{name,admin_cli}]]}, {data_dir, "/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/graphql_muc_light_SUITE_data/"}, {priv_dir, "https://circleci-mim-results.s3.eu-central-1.amazonaws.com/PR/4181/201555/odbc_mssql_mnesia.26.1.2-amd64/big/ct_run.test%409745c9249d13.2023-12-01_17.57.32/big_tests.tests.graphql_muc_light_SUITE.logs/run.2023-12-01_18.01.50/log_private/"}, {{saved_modules,mongooseim@localhost,<<"test type">>}, #{mod_vcard => #{matches => 30, host => {prefix,<<"vjud.">>}, ... ``` [Report log](https://circleci-mim-results.s3.eu-central-1.amazonaws.com/PR/4181/201555/odbc_mssql_mnesia.26.1.2-amd64/big/ct_run.test%409745c9249d13.2023-12-01_17.57.32/big_tests.tests.graphql_muc_light_SUITE.logs/run.2023-12-01_18.01.50/graphql_muc_light_suite.end_per_group.56450.html)

pgsql_mnesia_25 / pgsql_mnesia / 4e949455af7fcaafe5682cb90fea7c416925cbbc Reports root/ big OK: 4614 / Failed: 0 / User-skipped: 109 / Auto-skipped: 0


pgsql_mnesia_26 / pgsql_mnesia / 4e949455af7fcaafe5682cb90fea7c416925cbbc Reports root/ big OK: 4614 / Failed: 0 / User-skipped: 109 / Auto-skipped: 0


mysql_redis_26 / mysql_redis / 4e949455af7fcaafe5682cb90fea7c416925cbbc Reports root/ big OK: 4593 / Failed: 0 / User-skipped: 130 / Auto-skipped: 0


mssql_mnesia_26 / odbc_mssql_mnesia / 4e949455af7fcaafe5682cb90fea7c416925cbbc Reports root/ big OK: 4611 / Failed: 0 / User-skipped: 112 / Auto-skipped: 0