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

Refactored hook handlers in ejabberd_ctl #3887

Merged
merged 2 commits into from
Dec 7, 2022
Merged

Conversation

pawlooss1
Copy link
Member

This PR changes all hook handlers in ejabberd_ctl to gen_hook format.

@mongoose-im

This comment was marked as outdated.

@codecov
Copy link

codecov bot commented Dec 1, 2022

Codecov Report

Base: 83.13% // Head: 83.15% // Increases project coverage by +0.02% 🎉

Coverage data is based on head (4deb53f) compared to base (83ed0f6).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3887      +/-   ##
==========================================
+ Coverage   83.13%   83.15%   +0.02%     
==========================================
  Files         535      535              
  Lines       34200    34183      -17     
==========================================
- Hits        28431    28426       -5     
+ Misses       5769     5757      -12     
Impacted Files Coverage Δ
src/ejabberd_app.erl 94.44% <ø> (-0.08%) ⬇️
src/ejabberd_hooks.erl 61.53% <ø> (ø)
src/gen_hook.erl 86.90% <ø> (ø)
src/mongoose_hooks.erl 96.13% <ø> (-0.01%) ⬇️
src/vcard/mod_vcard.erl 81.06% <ø> (ø)
src/ejabberd_ctl.erl 55.90% <100.00%> (+1.62%) ⬆️
src/mod_roster.erl 78.89% <100.00%> (+0.10%) ⬆️
src/ejabberd.erl 45.00% <0.00%> (-10.00%) ⬇️
src/smart_markers/mod_smart_markers_rdbms.erl 91.66% <0.00%> (-3.34%) ⬇️
src/inbox/mod_inbox_rdbms_async.erl 70.58% <0.00%> (-2.95%) ⬇️
... and 4 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@mongoose-im

This comment was marked as outdated.

@mongoose-im

This comment was marked as outdated.

@mongoose-im

This comment was marked as outdated.

@pawlooss1 pawlooss1 marked this pull request as ready for review December 2, 2022 13:18
Copy link
Collaborator

@NelsonVides NelsonVides left a comment

Choose a reason for hiding this comment

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

Minor comment on style, otherwise good cleanup 😄

src/vcard/mod_vcard.erl Show resolved Hide resolved
src/mod_roster.erl Outdated Show resolved Hide resolved
@mongoose-im
Copy link
Collaborator

mongoose-im commented Dec 5, 2022

small_tests_24 / small_tests / 389cb78
Reports root / small


small_tests_25 / small_tests / 389cb78
Reports root / small


ldap_mnesia_24 / ldap_mnesia / 389cb78
Reports root/ big
OK: 2169 / Failed: 0 / User-skipped: 818 / Auto-skipped: 0


dynamic_domains_pgsql_mnesia_24 / pgsql_mnesia / 389cb78
Reports root/ big
OK: 4118 / Failed: 0 / User-skipped: 88 / Auto-skipped: 0


dynamic_domains_pgsql_mnesia_25 / pgsql_mnesia / 389cb78
Reports root/ big
OK: 4118 / Failed: 0 / User-skipped: 88 / Auto-skipped: 0


dynamic_domains_mysql_redis_25 / mysql_redis / 389cb78
Reports root/ big
OK: 4092 / Failed: 0 / User-skipped: 114 / Auto-skipped: 0


ldap_mnesia_25 / ldap_mnesia / 389cb78
Reports root/ big
OK: 2169 / Failed: 0 / User-skipped: 818 / Auto-skipped: 0


dynamic_domains_mssql_mnesia_25 / odbc_mssql_mnesia / 389cb78
Reports root/ big
OK: 4118 / Failed: 0 / User-skipped: 88 / Auto-skipped: 0


pgsql_mnesia_24 / pgsql_mnesia / 389cb78
Reports root/ big
OK: 4492 / Failed: 0 / User-skipped: 97 / Auto-skipped: 0


internal_mnesia_25 / internal_mnesia / 389cb78
Reports root/ big
OK: 2311 / Failed: 0 / User-skipped: 676 / Auto-skipped: 0


riak_mnesia_24 / riak_mnesia / 389cb78
Reports root/ big
OK: 2505 / Failed: 0 / User-skipped: 651 / Auto-skipped: 0


elasticsearch_and_cassandra_25 / elasticsearch_and_cassandra_mnesia / 389cb78
Reports root/ big
OK: 2664 / Failed: 0 / User-skipped: 662 / Auto-skipped: 0


pgsql_mnesia_25 / pgsql_mnesia / 389cb78
Reports root/ big
OK: 4492 / Failed: 0 / User-skipped: 97 / Auto-skipped: 0


mysql_redis_25 / mysql_redis / 389cb78
Reports root/ big
OK: 4478 / Failed: 0 / User-skipped: 111 / Auto-skipped: 0


mssql_mnesia_25 / odbc_mssql_mnesia / 389cb78
Reports root/ big
OK: 4492 / Failed: 0 / User-skipped: 97 / Auto-skipped: 0

src/mod_roster.erl Outdated Show resolved Hide resolved
Co-authored-by: Nelson Vides <nelson.vides@erlang-solutions.com>
Copy link
Collaborator

@NelsonVides NelsonVides left a comment

Choose a reason for hiding this comment

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

👌🏽

@mongoose-im
Copy link
Collaborator

mongoose-im commented Dec 5, 2022

small_tests_24 / small_tests / 4deb53f
Reports root / small


small_tests_25 / small_tests / 4deb53f
Reports root / small


ldap_mnesia_24 / ldap_mnesia / 4deb53f
Reports root/ big
OK: 2169 / Failed: 0 / User-skipped: 818 / Auto-skipped: 0


dynamic_domains_pgsql_mnesia_24 / pgsql_mnesia / 4deb53f
Reports root/ big
OK: 4118 / Failed: 0 / User-skipped: 88 / Auto-skipped: 0


dynamic_domains_pgsql_mnesia_25 / pgsql_mnesia / 4deb53f
Reports root/ big
OK: 4118 / Failed: 0 / User-skipped: 88 / Auto-skipped: 0


ldap_mnesia_25 / ldap_mnesia / 4deb53f
Reports root/ big
OK: 2169 / Failed: 0 / User-skipped: 818 / Auto-skipped: 0


dynamic_domains_mysql_redis_25 / mysql_redis / 4deb53f
Reports root/ big
OK: 4092 / Failed: 0 / User-skipped: 114 / Auto-skipped: 0


pgsql_mnesia_24 / pgsql_mnesia / 4deb53f
Reports root/ big
OK: 4492 / Failed: 0 / User-skipped: 97 / Auto-skipped: 0


internal_mnesia_25 / internal_mnesia / 4deb53f
Reports root/ big
OK: 2311 / Failed: 0 / User-skipped: 676 / Auto-skipped: 0


dynamic_domains_mssql_mnesia_25 / odbc_mssql_mnesia / 4deb53f
Reports root/ big
OK: 4118 / Failed: 0 / User-skipped: 88 / Auto-skipped: 0


elasticsearch_and_cassandra_25 / elasticsearch_and_cassandra_mnesia / 4deb53f
Reports root/ big
OK: 2664 / Failed: 0 / User-skipped: 662 / Auto-skipped: 0


riak_mnesia_24 / riak_mnesia / 4deb53f
Reports root/ big
OK: 2505 / Failed: 0 / User-skipped: 651 / Auto-skipped: 0


mysql_redis_25 / mysql_redis / 4deb53f
Reports root/ big
OK: 4478 / Failed: 0 / User-skipped: 111 / Auto-skipped: 0


pgsql_mnesia_25 / pgsql_mnesia / 4deb53f
Reports root/ big
OK: 4492 / Failed: 0 / User-skipped: 97 / Auto-skipped: 0


mssql_mnesia_25 / odbc_mssql_mnesia / 4deb53f
Reports root/ big
OK: 4487 / Failed: 5 / User-skipped: 97 / Auto-skipped: 0

smart_markers_SUITE:regular:one2one:marker_for_thread_can_be_fetched
{error,{{badmatch,0},
    [{escalus_story,drop_presences,2,
            [{file,"/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
             {line,191}]},
     {escalus_story,'-start_ready_clients/2-fun-0-',3,
            [{file,"/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
             {line,135}]},
     {lists,foldl,3,[{file,"lists.erl"},{line,1350}]},
     {escalus_story,start_ready_clients,2,
            [{file,"/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
             {line,128}]},
     {lists,flatmap_1,2,[{file,"lists.erl"},{line,1335}]},
     {lists,flatmap_1,2,[{file,"lists.erl"},{line,1335}]},
     {escalus_story,story,4,
            [{file,"/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
             {line,69}]},
     {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1782}]}]}}

Report log

smart_markers_SUITE:regular:one2one:remove_markers_when_removed_user
{error,{{badrpc,timeout},
    [{distributed_helper,rpc,
               [#{node => mongooseim@localhost},
                ejabberd_auth,remove_user,
                [{jid,<<"bob_remove_markers_when_removed_user_3343">>,
                  <<"localhost">>,<<>>}]],
               [{file,"/home/circleci/project/big_tests/tests/distributed_helper.erl"},
                {line,121}]},
     {smart_markers_SUITE,'-remove_markers_when_removed_user/1-fun-2-',2,
                [{file,"/home/circleci/project/big_tests/tests/smart_markers_SUITE.erl"},
                 {line,245}]},
     {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,1782}]},
     {test_server,run_test_case_eval1,6,
            [{file,"test_server.erl"},{line,1291}]},
     {test_server,run_test_case_eval,9,
            [{file,"test_server.erl"},{line,1223}]}]}}

Report log

smart_markers_SUITE:regular:one2one:repeated_markers_produce_no_warnings
{error,
  {timeout_when_waiting_for_stanza,
    [{escalus_client,wait_for_stanza,
       [{client,
          <<"alice_repeated_markers_produce_no_warnings_3344@localhost/res1">>,
          escalus_tcp,<0.8904.3>,
          [{event_manager,<0.8873.3>},
           {server,<<"localhost">>},
           {username,
             <<"alicE_repeated_markers_produce_no_warnings_3344">>},
           {resource,<<"res1">>}],
          [{event_client,
             [{event_manager,<0.8873.3>},
            {server,<<"localhost">>},
            {username,
              <<"alicE_repeated_markers_produce_no_warnings_3344">>},
            {resource,<<"res1">>}]},
           {resource,<<"res1">>},
           {username,
             <<"alice_repeated_markers_produce_no_warnings_3344">>},
           {server,<<"localhost">>},
           {host,<<"localhost">>},
           {port,5222},
           {auth,{escalus_auth,auth_plain}},
           {wspath,undefined},
           {username,
             <<"alicE_repeated_markers_produce_no_warnings_3344">>},
           {server,<<"localhost">>},
           {password,<<"matygrysa">>},
           {stream_id,<<"6e72f1b5ecc311b8">>}]},
        5000],
       [{file,
          "/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
        {line,136}]},
     {smart_markers_SUITE,
       '-repeated_markers_produce_no_warnings/1-fun-1-',2,
       [{file,
          "/home/circleci/project/big_tests/tests/smart_markers_SUITE.erl"},
        {...

Report log

smart_markers_SUITE:regular:one2one:marker_after_timestamp_can_be_fetched
{error,
  {timeout_when_waiting_for_stanza,
    [{escalus_client,wait_for_stanza,
       [{client,
          <<"alice_marker_after_timestamp_can_be_fetched_3341@localhost/res1">>,
          escalus_tcp,<0.8889.3>,
          [{event_manager,<0.8852.3>},
           {server,<<"localhost">>},
           {username,
             <<"alicE_marker_after_timestamp_can_be_fetched_3341">>},
           {resource,<<"res1">>}],
          [{event_client,
             [{event_manager,<0.8852.3>},
            {server,<<"localhost">>},
            {username,
              <<"alicE_marker_after_timestamp_can_be_fetched_3341">>},
            {resource,<<"res1">>}]},
           {resource,<<"res1">>},
           {username,
             <<"alice_marker_after_timestamp_can_be_fetched_3341">>},
           {server,<<"localhost">>},
           {host,<<"localhost">>},
           {port,5222},
           {auth,{escalus_auth,auth_plain}},
           {wspath,undefined},
           {username,
             <<"alicE_marker_after_timestamp_can_be_fetched_3341">>},
           {server,<<"localhost">>},
           {password,<<"matygrysa">>},
           {stream_id,<<"dcc0808ae20d840f">>}]},
        5000],
       [{file,
          "/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
        {line,136}]},
     {smart_markers_SUITE,
       '-marker_after_timestamp_can_be_fetched/1-fun-0-',2,
       [{file,
          "/home/circleci/project/big_tests/tests/smart_markers_SUITE.erl"},
   ...

Report log

smart_markers_SUITE:regular:one2one:marker_after_timestamp_for_threadid_can_be_fetched
{error,
 {{fetch_marker,ok,
   [{times,1,
   {error,timeout_when_waiting_for_stanza,
    [{escalus_client,wait_for_stanza,
    [{client,
      <<"bob_marker_after_timestamp_for_threadid_can_be_fetched_3342@localhost/res1">>,
      escalus_tcp,<0.8906.3>,
      [{event_manager,<0.8859.3>},
       {server,<<"localhost">>},
       {username,
      <<"bOb_marker_after_timestamp_for_threadid_can_be_fetched_3342">>},
       {resource,<<"res1">>}],
      [{event_client,
      [{event_manager,<0.8859.3>},
       {server,<<"localhost">>},
       {username,
        <<"bOb_marker_after_timestamp_for_threadid_can_be_fetched_3342">>},
       {resource,<<"res1">>}]},
       {resource,<<"res1">>},
       {username,
      <<"bob_marker_after_timestamp_for_threadid_can_be_fetched_3342">>},
       {server,<<"localhost">>},
       {host,<<"localhost">>},
       {port,5222},
       {auth,{escalus_auth,auth_plain}},
       {wspath,undefined},
       {username,
      <<"bOb_marker_after_timestamp_for_threadid_can_be_fetched_3342">>},
       {server,<<"localhost">>},
       {password,<<"makrolika">>},
       {stream_id,<<"e368e46eb307f92a">>}]},
     5000],
    [{file,
      "/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
     {line,136}]},
     {smart_markers_SUITE,'-verify_marker_fetch/4-fun-6-',3,
    [{file,
      "/home/circleci/project/big_tests/tests/smart_markers_SUITE.erl"},
     {line,403}]},
     {mongoose_helper,do_wait_until,2,
    [{file,"/home/c...

Report log


mssql_mnesia_25 / odbc_mssql_mnesia / 4deb53f
Reports root/ big
OK: 4491 / Failed: 1 / User-skipped: 97 / Auto-skipped: 0

muc_SUITE:hibernation:hibernated_room_can_be_queried_for_archive
{error,{{assertion_failed,assert,is_groupchat_message,
              [<<"Restorable message">>],
              undefined,"undefined"},
    [{escalus_new_assert,assert_true,2,
               [{file,"/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_new_assert.erl"},
                {line,84}]},
     {muc_SUITE,wait_for_mam_result,3,
          [{file,"/home/circleci/project/big_tests/tests/muc_SUITE.erl"},
           {line,4394}]},
     {muc_SUITE,'-hibernated_room_can_be_queried_for_archive/1-fun-0-',3,
          [{file,"/home/circleci/project/big_tests/tests/muc_SUITE.erl"},
           {line,4130}]},
     {escalus_story,story,4,
            [{file,"/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
             {line,72}]},
     {muc_SUITE,hibernated_room_can_be_queried_for_archive,1,
          [{file,"/home/circleci/project/big_tests/tests/muc_SUITE.erl"},
           {line,4126}]},
     {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1782}]},
     {test_server,run_test_case_eval1,6,
            [{file,"test_server.erl"},{line,1291}]},
     {test_server,run_test_case_eval,9,
            [{file,"test_server.erl"},{line,1223}]}]}}

Report log


mssql_mnesia_25 / odbc_mssql_mnesia / 4deb53f
Reports root/ big
OK: 4486 / Failed: 6 / User-skipped: 97 / Auto-skipped: 0

inbox_SUITE:async_pools:muclight_config:system_message_is_correctly_avoided
{error,
  {{inbox_size,1,
     [{times,50,
        {error,
          #{check_params => #{},error => function_clause,
          expected_items =>
            [#{content => <<"How are you?">>,
               from =>
                 <<"system_message_is_correctly_avoided@muclight.localhost/bob@localhost">>,
               to => <<"alice@localhost">>,unread => 1,
               verify => #Fun<inbox_SUITE.84.91825257>}],
          inbox_items => [],query_params => #{},
          reason => inbox_mismatch,
          stacktrace =>
            [{lists,zip,
               [[],
                [{conv,1,
                   <<"system_message_is_correctly_avoided@muclight.localhost/bob@localhost">>,
                   <<"alice@localhost">>,<<"How are you?">>,
                   #Fun<inbox_SUITE.84.91825257>,undefined}]],
               [{file,"lists.erl"},{line,419}]},
             {inbox_helper,check_inbox_result,5,
               [{file,
                  "/home/circleci/project/big_tests/tests/inbox_helper.erl"},
                {line,221}]},
             {inbox_helper,do_check_inbox,5,
               [{file,
                  "/home/circleci/project/big_tests/tests/inbox_helper.erl"},
                {line,208}]},
             {inbox_helper,'-check_inbox/4-fun-0-',5,
               [{file,
                  "/home/circleci/project/big_tests/tests/inbox_helper.erl"},
                {line,201}]},
             {mongoose_helper,do_wait_until,2,
               [{file,
                  "/...

Report log

inbox_extensions_SUITE:regular:one_to_one:pagination:max_queries_can_be_limited
{error,
  {timeout_when_waiting_for_stanza,
    [{escalus_client,wait_for_stanza,
       [{client,
          <<"kate_max_queries_can_be_limited_1539@localhost/res1">>,
          escalus_tcp,<0.10207.1>,
          [{event_manager,<0.10172.1>},
           {server,<<"localhost">>},
           {username,<<"kate_max_queries_can_be_limited_1539">>},
           {resource,<<"res1">>}],
          [{event_client,
             [{event_manager,<0.10172.1>},
            {server,<<"localhost">>},
            {username,<<"kate_max_queries_can_be_limited_1539">>},
            {resource,<<"res1">>}]},
           {resource,<<"res1">>},
           {username,<<"kate_max_queries_can_be_limited_1539">>},
           {server,<<"localhost">>},
           {host,<<"localhost">>},
           {port,5222},
           {auth,{escalus_auth,auth_plain}},
           {wspath,undefined},
           {username,<<"kate_max_queries_can_be_limited_1539">>},
           {server,<<"localhost">>},
           {password,<<"makrowe;p">>},
           {stream_id,<<"c541babdc41e505a">>}]},
        5000],
       [{file,
          "/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
        {line,136}]},
     {inbox_helper,'-given_conversations_between/2-fun-1-',4,
       [{file,"/home/circleci/project/big_tests/tests/inbox_helper.erl"},
        {line,543}]},
     {lists,foldl_1,3,[{file,"lists.erl"},{line,1355}]},
     {inbox_extensions_SUITE,'-max_queries_can_be_limited/1-fun-0-',4,
       [{f...

Report log

inbox_extensions_SUITE:regular:one_to_one:pagination:pagination_overrides_form
{error,
  {timeout_when_waiting_for_stanza,
    [{escalus_client,wait_for_stanza,
       [{client,
          <<"kate_pagination_overrides_form_1538@localhost/res1">>,
          escalus_tcp,<0.10208.1>,
          [{event_manager,<0.10165.1>},
           {server,<<"localhost">>},
           {username,<<"kate_pagination_overrides_form_1538">>},
           {resource,<<"res1">>}],
          [{event_client,
             [{event_manager,<0.10165.1>},
            {server,<<"localhost">>},
            {username,<<"kate_pagination_overrides_form_1538">>},
            {resource,<<"res1">>}]},
           {resource,<<"res1">>},
           {username,<<"kate_pagination_overrides_form_1538">>},
           {server,<<"localhost">>},
           {host,<<"localhost">>},
           {port,5222},
           {auth,{escalus_auth,auth_plain}},
           {wspath,undefined},
           {username,<<"kate_pagination_overrides_form_1538">>},
           {server,<<"localhost">>},
           {password,<<"makrowe;p">>},
           {stream_id,<<"b924a0d496e40eef">>}]},
        5000],
       [{file,
          "/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
        {line,136}]},
     {inbox_helper,'-given_conversations_between/2-fun-1-',4,
       [{file,"/home/circleci/project/big_tests/tests/inbox_helper.erl"},
        {line,543}]},
     {lists,foldl_1,3,[{file,"lists.erl"},{line,1355}]},
     {inbox_extensions_SUITE,'-pagination_overrides_form/1-fun-0-',4,
       [{file,
 ...

Report log

inbox_extensions_SUITE:regular:one_to_one:pagination:can_paginate_forwards
{error,
  {timeout_when_waiting_for_stanza,
    [{escalus_client,wait_for_stanza,
       [{client,<<"kate_can_paginate_forwards_1541@localhost/res1">>,
          escalus_tcp,<0.10206.1>,
          [{event_manager,<0.10186.1>},
           {server,<<"localhost">>},
           {username,<<"kate_can_paginate_forwards_1541">>},
           {resource,<<"res1">>}],
          [{event_client,
             [{event_manager,<0.10186.1>},
            {server,<<"localhost">>},
            {username,<<"kate_can_paginate_forwards_1541">>},
            {resource,<<"res1">>}]},
           {resource,<<"res1">>},
           {username,<<"kate_can_paginate_forwards_1541">>},
           {server,<<"localhost">>},
           {host,<<"localhost">>},
           {port,5222},
           {auth,{escalus_auth,auth_plain}},
           {wspath,undefined},
           {username,<<"kate_can_paginate_forwards_1541">>},
           {server,<<"localhost">>},
           {password,<<"makrowe;p">>},
           {stream_id,<<"ed2f2ddd197d66ac">>}]},
        5000],
       [{file,
          "/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
        {line,136}]},
     {inbox_helper,'-given_conversations_between/2-fun-1-',4,
       [{file,"/home/circleci/project/big_tests/tests/inbox_helper.erl"},
        {line,543}]},
     {lists,foldl_1,3,[{file,"lists.erl"},{line,1355}]},
     {inbox_extensions_SUITE,'-can_paginate_forwards/1-fun-0-',4,
       [{file,
          "/home/circleci/project/bi...

Report log

inbox_extensions_SUITE:regular:one_to_one:pagination:can_paginate_backwards
{error,
  {timeout_when_waiting_for_stanza,
    [{escalus_client,wait_for_stanza,
       [{client,<<"kate_can_paginate_backwards_1540@localhost/res1">>,
          escalus_tcp,<0.10209.1>,
          [{event_manager,<0.10179.1>},
           {server,<<"localhost">>},
           {username,<<"kate_can_paginate_backwards_1540">>},
           {resource,<<"res1">>}],
          [{event_client,
             [{event_manager,<0.10179.1>},
            {server,<<"localhost">>},
            {username,<<"kate_can_paginate_backwards_1540">>},
            {resource,<<"res1">>}]},
           {resource,<<"res1">>},
           {username,<<"kate_can_paginate_backwards_1540">>},
           {server,<<"localhost">>},
           {host,<<"localhost">>},
           {port,5222},
           {auth,{escalus_auth,auth_plain}},
           {wspath,undefined},
           {username,<<"kate_can_paginate_backwards_1540">>},
           {server,<<"localhost">>},
           {password,<<"makrowe;p">>},
           {stream_id,<<"6dc6934a632c679a">>}]},
        5000],
       [{file,
          "/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
        {line,136}]},
     {inbox_helper,'-given_conversations_between/2-fun-1-',4,
       [{file,"/home/circleci/project/big_tests/tests/inbox_helper.erl"},
        {line,543}]},
     {lists,foldl_1,3,[{file,"lists.erl"},{line,1355}]},
     {inbox_extensions_SUITE,'-can_paginate_backwards/1-fun-0-',4,
       [{file,
          "/home/circleci/proj...

Report log

inbox_extensions_SUITE:regular:one_to_one:pagination:max_queries_can_fetch_ahead
{error,
  {timeout_when_waiting_for_stanza,
    [{escalus_client,wait_for_stanza,
       [{client,
          <<"mike_max_queries_can_fetch_ahead_1542@localhost/res1">>,
          escalus_tcp,<0.10210.1>,
          [{event_manager,<0.10193.1>},
           {server,<<"localhost">>},
           {username,<<"mike_max_queries_can_fetch_ahead_1542">>},
           {resource,<<"res1">>}],
          [{event_client,
             [{event_manager,<0.10193.1>},
            {server,<<"localhost">>},
            {username,<<"mike_max_queries_can_fetch_ahead_1542">>},
            {resource,<<"res1">>}]},
           {resource,<<"res1">>},
           {username,<<"mike_max_queries_can_fetch_ahead_1542">>},
           {server,<<"localhost">>},
           {host,<<"localhost">>},
           {port,5222},
           {auth,{escalus_auth,auth_plain}},
           {wspath,undefined},
           {username,<<"mike_max_queries_can_fetch_ahead_1542">>},
           {server,<<"localhost">>},
           {password,<<"nicniema">>},
           {stream_id,<<"b5fad9e3004a5693">>}]},
        5000],
       [{file,
          "/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
        {line,136}]},
     {inbox_helper,'-given_conversations_between/2-fun-1-',4,
       [{file,"/home/circleci/project/big_tests/tests/inbox_helper.erl"},
        {line,543}]},
     {lists,foldl_1,3,[{file,"lists.erl"},{line,1355}]},
     {inbox_extensions_SUITE,'-max_queries_can_fetch_ahead/1-fun-0-',4,
     ...

Report log


mssql_mnesia_25 / odbc_mssql_mnesia / 4deb53f
Reports root/ big
OK: 4510 / Failed: 3 / User-skipped: 97 / Auto-skipped: 0

disco_and_caps_SUITE:disco_with_caps:user_cannot_query_friend_resources_with_unknown_node
{error,{{assertion_failed,assert_many,false,[is_presence],[],[]},
    [{escalus_new_assert,assert_true,2,
               [{file,"/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_new_assert.erl"},
                {line,84}]},
     {escalus_story,'-make_all_clients_friends/1-fun-0-',2,
            [{file,"/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
             {line,109}]},
     {escalus_utils,'-each_with_index/3-fun-0-',3,
            [{file,"/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_utils.erl"},
             {line,87}]},
     {lists,foldl_1,3,[{file,"lists.erl"},{line,1355}]},
     {escalus_utils,'-each_with_index/3-fun-0-',3,
            [{file,"/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_utils.erl"},
             {line,87}]},
     {lists,foldl,3,[{file,"lists.erl"},{line,1350}]},
     {escalus_utils,distinct_pairs,2,
            [{file,"/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_utils.erl"},
             {line,60}]},
     {escalus_story,make_all_clients_friends,1,
            [{file,"/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
             {line,106}]}]}}

Report log

muc_SUITE:hibernation:hibernated_room_can_be_queried_for_archive
{error,{{assertion_failed,assert,is_groupchat_message,
              [<<"Restorable message">>],
              undefined,"undefined"},
    [{escalus_new_assert,assert_true,2,
               [{file,"/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_new_assert.erl"},
                {line,84}]},
     {muc_SUITE,wait_for_mam_result,3,
          [{file,"/home/circleci/project/big_tests/tests/muc_SUITE.erl"},
           {line,4394}]},
     {muc_SUITE,'-hibernated_room_can_be_queried_for_archive/1-fun-0-',3,
          [{file,"/home/circleci/project/big_tests/tests/muc_SUITE.erl"},
           {line,4130}]},
     {escalus_story,story,4,
            [{file,"/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
             {line,72}]},
     {muc_SUITE,hibernated_room_can_be_queried_for_archive,1,
          [{file,"/home/circleci/project/big_tests/tests/muc_SUITE.erl"},
           {line,4126}]},
     {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1782}]},
     {test_server,run_test_case_eval1,6,
            [{file,"test_server.erl"},{line,1291}]},
     {test_server,run_test_case_eval,9,
            [{file,"test_server.erl"},{line,1223}]}]}}

Report log

pep_SUITE:pep_tests:send_caps_after_login_test
{error,{{assertion_failed,assert_many,false,
              [is_roster_set,is_presence,is_presence],
              [{xmlel,<<"presence">>,
                  [{<<"from">>,
                  <<"bob_send_caps_after_login_test_2643@localhost/res1">>},
                   {<<"to">>,
                  <<"alice_send_caps_after_login_test_2643@localhost/res1">>},
                   {<<"xml:lang">>,<<"en">>}],
                  []}],
              "   <presence from='bob_send_caps_after_login_test_2643@localhost/res1' to='alice_send_caps_after_login_test_2643@localhost/res1' xml:lang='en'/>"},
    [{escalus_new_assert,assert_true,2,
               [{file,"/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_new_assert.erl"},
                {line,84}]},
     {escalus_story,'-make_all_clients_friends/1-fun-0-',2,
            [{file,"/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
             {line,114}]},
     {escalus_utils,'-each_with_index/3-fun-0-',3,
            [{file,"/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_utils.erl"},
             {line,87}]},
     {lists,foldl_1,3,[{file,"lists.erl"},{line,1355}]},
     {escalus_utils,'-each_with_index/3-fun-0-',3,
            [{file,"/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_utils.erl"},
             {line,87}]},
     {lists,foldl,3,[{file,"lists.erl"},{line,1350}]},
     {escalus_utils,distinct_pairs,2,
            [{file,"/h...

Report log


mssql_mnesia_25 / odbc_mssql_mnesia / 4deb53f
Reports root/ big
OK: 4492 / Failed: 0 / User-skipped: 97 / Auto-skipped: 0

@pawlooss1 pawlooss1 merged commit 64edde9 into master Dec 7, 2022
@pawlooss1 pawlooss1 deleted the hooks/ejabberd_ctl branch December 7, 2022 09:03
@chrzaszcz chrzaszcz added this to the 6.0.0 milestone Dec 12, 2022
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.

None yet

4 participants