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

Fix dropped_client_doesnt_create_duplicate_carbons flaky test #4423

Merged
merged 1 commit into from
Dec 12, 2024

Conversation

gustawlippa
Copy link
Contributor

@gustawlippa gustawlippa commented Dec 6, 2024

carboncopy_SUITE:dropped_client_doesnt_create_duplicate_carbons is one of the flaky tests (failed run on GH Actions: https://github.com/esl/MongooseIM/actions/runs/12253944118/job/34183783884, failed run on CircleCI: https://app.circleci.com/pipelines/github/esl/MongooseIM/13363/workflows/761201e1-fae8-4792-a5df-051914a41ae6/jobs/248193).

The test:

  1. Disconnects one of two user's resources,
  2. waits for presence unavailable on the remaining resource,
  3. after receiving the presence, sends a message from the remaining resource,
  4. checks to make sure that the disconnected resource didn't get a carboncopy of the message.
    However, sometimes the disconnected resource would actually get the stanza, resulting in a flaky test.

I think the issue comes from a race condition between sending the unavailable stanza on behalf of the user, and calling the unset_presence hook. To illustrate the point, I've tested a commit almost ensuring that the issue will appear by making MIM slower in the problematic place: https://github.com/esl/MongooseIM/commits/deab685f495bf73cec5409fc873f98ba75d168d0. The tests have failed as was suspected: https://github.com/esl/MongooseIM/runs/34035992149. I think that the dropped_client_doesnt_create_duplicate_carbons test is correct, and while it is unlikely that a user would notice this behaviour, it's probably still better to fix the implementation instead of changing the testcase.

The fix required changing the order: First, removing the session, and later broadcasting the unavailable presence. I also changed the direct hook call to a call through ejabberd_sm, which additionally sets priority for the disconnected resource to undefined. The session would be removed anyway by mongoose_c2s, but now there is less chance of a similar issue from different modules which would listen to unset_presence hook. mod_presence:presence_update_to_unavailable/6 function also calls this hook through ejabberd_sm.
Perhaps it would be better to change the ejabberd_sm:(un)set_presence/5 functions to be handlers of the unset_presence hook, and make sure only mod_presence is responsible for calling it, but I decided this rework was out of scope of this PR.

I've run the GH Actions manually for this PR, and there are still flaky tests, but the carboncopy case is not one of them: https://github.com/esl/MongooseIM/actions/runs/12278680395. Of course it is tricky to test that the test is not flaky any more, since it may pass by chance.

@mongoose-im
Copy link
Collaborator

mongoose-im commented Dec 6, 2024

elasticsearch_and_cassandra_27 / elasticsearch_and_cassandra_mnesia / deab685
Reports root/ big
OK: 473 / Failed: 0 / User-skipped: 49 / Auto-skipped: 0


small_tests_26 / small_tests / deab685
Reports root / small


small_tests_27 / small_tests / deab685
Reports root / small


small_tests_27_arm64 / small_tests / deab685
Reports root / small


ldap_mnesia_26 / ldap_mnesia / deab685
Reports root/ big
OK: 2329 / Failed: 20 / User-skipped: 912 / Auto-skipped: 3

carboncopy_SUITE:one2one:dropped_client_doesnt_create_duplicate_carbons
{error,
 {test_case_failed,
  {has_stanzas_but_shouldnt,
   {client,
  <<"alice_dropped_client_doesnt_create_duplicate_carbons_471@localhost/res1">>,
  escalus_tcp,<0.10431.0>,
  [{event_manager,<0.10306.0>},
   {server,<<"localhost">>},
   {username,<<"alicE_dropped_client_doesnt_create_duplicate_carbons_471">>},
   {resource,<<"res1">>}],
  [{event_client,
    [{event_manager,<0.10306.0>},
     {server,<<"localhost">>},
     {username,
    <<"alicE_dropped_client_doesnt_create_duplicate_carbons_471">>},
     {resource,<<"res1">>}]},
   {resource,<<"res1">>},
   {username,<<"alice_dropped_client_doesnt_create_duplicate_carbons_471">>},
   {server,<<"localhost">>},
   {host,<<"localhost">>},
   {port,5222},
   {auth,{escalus_auth,auth_plain}},
   {wspath,undefined},
   {username,<<"alicE_dropped_client_doesnt_create_duplicate_carbons_471">>},
   {server,<<"localhost">>},
   {password,<<"matygrysa">>},
   {stream_id,<<"d5ee7818834704a3">>}]},
   [{xmlel,<<"message">>,
   [{<<"from">>,
     <<"alice_dropped_client_doesnt_create_duplicate_carbons_471@localhost">>},
    {<<"to">>,
     <<"alice_dropped_client_doesnt_create_duplicate_carbons_471@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_c...

Report log

graphql_session_SUITE:admin_session:admin_session_http:admin_list_sessions
{error,
  {{assertEqual,
     [{module,graphql_session_SUITE},
      {line,299},
      {expression,"length ( Sessions )"},
      {expected,3},
      {value,9}]},
   [{graphql_session_SUITE,admin_list_sessions_story,4,
      [{file,
         "/home/circleci/project/big_tests/tests/graphql_session_SUITE.erl"},
       {line,299}]},
    {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_server.erl"},{line,1302}]},
    {test_server,run_test_case_eval,9,
      [{file,"test_server.erl"},{line,1234}]}]}}

Report log

graphql_session_SUITE:admin_session:admin_session_http:admin_count_sessions
{error,
  {{assertEqual,
     [{module,graphql_session_SUITE},
      {line,321},
      {expression,"Number"},
      {expected,3},
      {value,12}]},
   [{graphql_session_SUITE,admin_count_sessions_story,4,
      [{file,
         "/home/circleci/project/big_tests/tests/graphql_session_SUITE.erl"},
       {line,321}]},
    {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_server.erl"},{line,1302}]},
    {test_server,run_test_case_eval,9,
      [{file,"test_server.erl"},{line,1234}]}]}}

Report log

graphql_session_SUITE:admin_session:admin_session_http:admin_kick_user_session
{error,
  {function_clause,
    [{graphql_helper,get_error,
       [1,
        {{exit_status,0},
         #{<<"data">> =>
           #{<<"session">> =>
               #{<<"kickUserSession">> =>
                 #{<<"code">> => null,
                   <<"jid">> =>
                     <<"alice_admin_kick_user_session_941@localhost/res1">>,
                   <<"kicked">> => true,
                   <<"message">> => <<"Session kicked">>}}}}}],
       []},
     {graphql_helper,get_err_msg,2,
       [{file,
          "/home/circleci/project/big_tests/tests/graphql_helper.erl"},
        {line,229}]},
     {graphql_session_SUITE,admin_kick_user_session_story,3,
       [{file,
          "/home/circleci/project/big_tests/tests/graphql_session_SUITE.erl"},
        {line,441}]},
     {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_server.erl"},{line,1302}]},
     {test_server,run_test_case_eval,9,
       [{file,"test_server.erl"},{line,1234}]}]}}

Report log

graphql_session_SUITE:admin_session:admin_session_cli:admin_list_sessions
{error,
  {{assertEqual,
     [{module,graphql_session_SUITE},
      {line,299},
      {expression,"length ( Sessions )"},
      {expected,3},
      {value,7}]},
   [{graphql_session_SUITE,admin_list_sessions_story,4,
      [{file,
         "/home/circleci/project/big_tests/tests/graphql_session_SUITE.erl"},
       {line,299}]},
    {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_server.erl"},{line,1302}]},
    {test_server,run_test_case_eval,9,
      [{file,"test_server.erl"},{line,1234}]}]}}

Report log

graphql_session_SUITE:admin_session:admin_session_cli:admin_count_sessions
{error,
  {{assertEqual,
     [{module,graphql_session_SUITE},
      {line,321},
      {expression,"Number"},
      {expected,3},
      {value,9}]},
   [{graphql_session_SUITE,admin_count_sessions_story,4,
      [{file,
         "/home/circleci/project/big_tests/tests/graphql_session_SUITE.erl"},
       {line,321}]},
    {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_server.erl"},{line,1302}]},
    {test_server,run_test_case_eval,9,
      [{file,"test_server.erl"},{line,1234}]}]}}

Report log

graphql_session_SUITE:admin_session:admin_session_cli:admin_kick_user_session
{error,
  {function_clause,
    [{graphql_helper,get_error,
       [1,
        {{<<"200">>,<<"OK">>},
         #{<<"data">> =>
           #{<<"session">> =>
               #{<<"kickUserSession">> =>
                 #{<<"code">> => null,
                   <<"jid">> =>
                     <<"alice_admin_kick_user_session_953@localhost/res1">>,
                   <<"kicked">> => true,
                   <<"message">> => <<"Session kicked">>}}}}}],
       []},
     {graphql_helper,get_err_msg,2,
       [{file,
          "/home/circleci/project/big_tests/tests/graphql_helper.erl"},
        {line,229}]},
     {graphql_session_SUITE,admin_kick_user_session_story,3,
       [{file,
          "/home/circleci/project/big_tests/tests/graphql_session_SUITE.erl"},
        {line,441}]},
     {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_server.erl"},{line,1302}]},
     {test_server,run_test_case_eval,9,
       [{file,"test_server.erl"},{line,1234}]}]}}

Report log

graphql_stats_SUITE:admin_stats_http:admin_stats_domain_test
{error,{{assertMatch,[{module,graphql_stats_SUITE},
            {line,104},
            {expression,"Result1"},
            {pattern,"# { << \"registeredUsers\" >> := 0 , << \"onlineUsers\" >> := 0 }"},
            {value,#{<<"onlineUsers">> => 1,
                 <<"registeredUsers">> => 0}}]},
    [{graphql_stats_SUITE,admin_stats_domain_test,1,
                [{file,"/home/circleci/project/big_tests/tests/graphql_stats_SUITE.erl"},
                 {line,104}]},
     {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1793}]},
     {test_server,run_test_case_eval1,6,
            [{file,"test_server.erl"},{line,1302}]},
     {test_server,run_test_case_eval,9,
            [{file,"test_server.erl"},{line,1234}]}]}}

Report log

graphql_stats_SUITE:admin_stats_http:admin_stats_domain_with_users_test
{error,{{assertMatch,[{module,graphql_stats_SUITE},
            {line,113},
            {expression,"Result1"},
            {pattern,"# { << \"registeredUsers\" >> := 1 , << \"onlineUsers\" >> := 1 }"},
            {value,#{<<"onlineUsers">> => 2,
                 <<"registeredUsers">> => 1}}]},
    [{graphql_stats_SUITE,admin_stats_domain_with_users_test,2,
                [{file,"/home/circleci/project/big_tests/tests/graphql_stats_SUITE.erl"},
                 {line,113}]},
     {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_server.erl"},{line,1302}]},
     {test_server,run_test_case_eval,9,
            [{file,"test_server.erl"},{line,1234}]}]}}

Report log

graphql_stats_SUITE:admin_stats_cli:admin_stats_global_test
{error,{{assertEqual,[{module,graphql_stats_SUITE},
            {line,82},
            {expression,"OnlineUsersNode"},
            {expected,0},
            {value,2}]},
    [{graphql_stats_SUITE,admin_stats_global_test,1,
                [{file,"/home/circleci/project/big_tests/tests/graphql_stats_SUITE.erl"},
                 {line,82}]},
     {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1793}]},
     {test_server,run_test_case_eval1,6,
            [{file,"test_server.erl"},{line,1302}]},
     {test_server,run_test_case_eval,9,
            [{file,"test_server.erl"},{line,1234}]}]}}

Report log

graphql_stats_SUITE:admin_stats_cli:admin_stats_global_with_users_test
{error,{{assertEqual,[{module,graphql_stats_SUITE},
            {line,97},
            {expression,"OnlineUsersNode"},
            {expected,1},
            {value,3}]},
    [{graphql_stats_SUITE,admin_stats_global_with_users_test,2,
                [{file,"/home/circleci/project/big_tests/tests/graphql_stats_SUITE.erl"},
                 {line,97}]},
     {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_server.erl"},{line,1302}]},
     {test_server,run_test_case_eval,9,
            [{file,"test_server.erl"},{line,1234}]}]}}

Report log

graphql_stats_SUITE:admin_stats_cli:admin_stats_domain_test
{error,{{assertMatch,[{module,graphql_stats_SUITE},
            {line,104},
            {expression,"Result1"},
            {pattern,"# { << \"registeredUsers\" >> := 0 , << \"onlineUsers\" >> := 0 }"},
            {value,#{<<"onlineUsers">> => 1,
                 <<"registeredUsers">> => 0}}]},
    [{graphql_stats_SUITE,admin_stats_domain_test,1,
                [{file,"/home/circleci/project/big_tests/tests/graphql_stats_SUITE.erl"},
                 {line,104}]},
     {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1793}]},
     {test_server,run_test_case_eval1,6,
            [{file,"test_server.erl"},{line,1302}]},
     {test_server,run_test_case_eval,9,
            [{file,"test_server.erl"},{line,1234}]}]}}

Report log

graphql_stats_SUITE:admin_stats_cli:admin_stats_domain_with_users_test
{error,{{assertMatch,[{module,graphql_stats_SUITE},
            {line,113},
            {expression,"Result1"},
            {pattern,"# { << \"registeredUsers\" >> := 1 , << \"onlineUsers\" >> := 1 }"},
            {value,#{<<"onlineUsers">> => 2,
                 <<"registeredUsers">> => 1}}]},
    [{graphql_stats_SUITE,admin_stats_domain_with_users_test,2,
                [{file,"/home/circleci/project/big_tests/tests/graphql_stats_SUITE.erl"},
                 {line,113}]},
     {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_server.erl"},{line,1302}]},
     {test_server,run_test_case_eval,9,
            [{file,"test_server.erl"},{line,1234}]}]}}

Report log

last_SUITE:valid_queries:last_offline_user
{error,{{badmatch,<<"Shutdown by reason: stream_end">>},
    [{last_SUITE,'-last_offline_user/1-fun-0-',2,
           [{file,"/home/circleci/project/big_tests/tests/last_SUITE.erl"},
            {line,146}]},
     {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_server.erl"},{line,1302}]},
     {test_server,run_test_case_eval,9,
            [{file,"test_server.erl"},{line,1234}]}]}}

Report log

metrics_api_SUITE:metrics:one_client_just_logs_in
{error,{{unexpected_values,'sm_session.logouts',
               [{48,47},{48,47},{49,48},{49,48}]},
    [{metrics_api_SUITE,assert_counter_inc,4,
              [{file,"/home/circleci/project/big_tests/tests/metrics_api_SUITE.erl"},
               {line,461}]},
     {metrics_api_SUITE,'-instrumented_story/4-lc$^0/1-0-',3,
              [{file,"/home/circleci/project/big_tests/tests/metrics_api_SUITE.erl"},
               {line,357}]},
     {metrics_api_SUITE,instrumented_story,4,
              [{file,"/home/circleci/project/big_tests/tests/metrics_api_SUITE.erl"},
               {line,358}]},
     {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1793}]},
     {test_server,run_test_case_eval1,6,
            [{file,"test_server.erl"},{line,1302}]},
     {test_server,run_test_case_eval,9,
            [{file,"test_server.erl"},{line,1234}]}]}}

Report log

metrics_api_SUITE:metrics:two_clients_just_log_in
{error,{{unexpected_values,'sm_session.logouts',
               [{50,48},{50,48},{51,49},{51,49}]},
    [{metrics_api_SUITE,assert_counter_inc,4,
              [{file,"/home/circleci/project/big_tests/tests/metrics_api_SUITE.erl"},
               {line,461}]},
     {metrics_api_SUITE,'-instrumented_story/4-lc$^0/1-0-',3,
              [{file,"/home/circleci/project/big_tests/tests/metrics_api_SUITE.erl"},
               {line,357}]},
     {metrics_api_SUITE,instrumented_story,4,
              [{file,"/home/circleci/project/big_tests/tests/metrics_api_SUITE.erl"},
               {line,358}]},
     {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1793}]},
     {test_server,run_test_case_eval1,6,
            [{file,"test_server.erl"},{line,1302}]},
     {test_server,run_test_case_eval,9,
            [{file,"test_server.erl"},{line,1234}]}]}}

Report log

metrics_api_SUITE:all_metrics_are_global:one_client_just_logs_in
{error,{{unexpected_values,'sm_session.logouts',[{1,0},{1,0}]},
    [{metrics_api_SUITE,assert_counter_inc,4,
              [{file,"/home/circleci/project/big_tests/tests/metrics_api_SUITE.erl"},
               {line,461}]},
     {metrics_api_SUITE,'-instrumented_story/4-lc$^0/1-0-',3,
              [{file,"/home/circleci/project/big_tests/tests/metrics_api_SUITE.erl"},
               {line,357}]},
     {metrics_api_SUITE,instrumented_story,4,
              [{file,"/home/circleci/project/big_tests/tests/metrics_api_SUITE.erl"},
               {line,358}]},
     {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1793}]},
     {test_server,run_test_case_eval1,6,
            [{file,"test_server.erl"},{line,1302}]},
     {test_server,run_test_case_eval,9,
            [{file,"test_server.erl"},{line,1234}]}]}}

Report log

metrics_api_SUITE:all_metrics_are_global:two_clients_just_log_in
{error,{{unexpected_values,'sm_session.logouts',[{2,0},{2,0}]},
    [{metrics_api_SUITE,assert_counter_inc,4,
              [{file,"/home/circleci/project/big_tests/tests/metrics_api_SUITE.erl"},
               {line,461}]},
     {metrics_api_SUITE,'-instrumented_story/4-lc$^0/1-0-',3,
              [{file,"/home/circleci/project/big_tests/tests/metrics_api_SUITE.erl"},
               {line,357}]},
     {metrics_api_SUITE,instrumented_story,4,
              [{file,"/home/circleci/project/big_tests/tests/metrics_api_SUITE.erl"},
               {line,358}]},
     {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1793}]},
     {test_server,run_test_case_eval1,6,
            [{file,"test_server.erl"},{line,1302}]},
     {test_server,run_test_case_eval,9,
            [{file,"test_server.erl"},{line,1234}]}]}}

Report log

metrics_api_SUITE:global:session_counters
{error,{{'sm_unique_sessions.count',[2,2],[{times,50,[3,3]}],undefined},
    [{wait_helper,do_wait_until,1,
            [{file,"/home/circleci/project/big_tests/_build/default/lib/wait_helper/src/wait_helper.erl"},
             {line,127}]},
     {metrics_api_SUITE,'-session_counters/1-fun-0-',4,
              [{file,"/home/circleci/project/big_tests/tests/metrics_api_SUITE.erl"},
               {line,238}]},
     {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_server.erl"},{line,1302}]},
     {test_server,run_test_case_eval,9,
            [{file,"test_server.erl"},{line,1234}]}]}}

Report log

metrics_session_SUITE:session_global:session_global
{error,{test_case_failed,"Incorrect number of instrumentation events - matched: 0, expected: positive"}}

Report log

metrics_session_SUITE:end_per_suite
{error,{test_case_failed,"Instrumentation events that were logged, but not tested:\n[{sm_node_sessions,#{}},{sm_total_sessions,#{}},{sm_unique_sessions,#{}}]\nYou need to test them with instrument_helper:assert/3"}}

Report log


ldap_mnesia_27 / ldap_mnesia / deab685
Reports root/ big
OK: 2328 / Failed: 21 / User-skipped: 912 / Auto-skipped: 3

carboncopy_SUITE:one2one:dropped_client_doesnt_create_duplicate_carbons
{error,
 {test_case_failed,
  {has_stanzas_but_shouldnt,
   {client,
  <<"alice_dropped_client_doesnt_create_duplicate_carbons_486@localhost/res1">>,
  escalus_tcp,<0.10440.0>,
  [{event_manager,<0.10339.0>},
   {server,<<"localhost">>},
   {username,<<"alicE_dropped_client_doesnt_create_duplicate_carbons_486">>},
   {resource,<<"res1">>}],
  [{event_client,
    [{event_manager,<0.10339.0>},
     {server,<<"localhost">>},
     {username,
    <<"alicE_dropped_client_doesnt_create_duplicate_carbons_486">>},
     {resource,<<"res1">>}]},
   {resource,<<"res1">>},
   {username,<<"alice_dropped_client_doesnt_create_duplicate_carbons_486">>},
   {server,<<"localhost">>},
   {host,<<"localhost">>},
   {port,5222},
   {auth,{escalus_auth,auth_plain}},
   {wspath,undefined},
   {username,<<"alicE_dropped_client_doesnt_create_duplicate_carbons_486">>},
   {server,<<"localhost">>},
   {password,<<"matygrysa">>},
   {stream_id,<<"54b4b4bb66e3e9d3">>}]},
   [{xmlel,<<"message">>,
   [{<<"from">>,
     <<"alice_dropped_client_doesnt_create_duplicate_carbons_486@localhost">>},
    {<<"to">>,
     <<"alice_dropped_client_doesnt_create_duplicate_carbons_486@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_c...

Report log

graphql_session_SUITE:admin_session:admin_session_http:admin_list_sessions
{error,
  {{assertEqual,
     [{module,graphql_session_SUITE},
      {line,299},
      {expression,"length ( Sessions )"},
      {expected,3},
      {value,9}]},
   [{graphql_session_SUITE,admin_list_sessions_story,4,
      [{file,
         "/home/circleci/project/big_tests/tests/graphql_session_SUITE.erl"},
       {line,299}]},
    {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,1794}]},
    {test_server,run_test_case_eval1,6,
      [{file,"test_server.erl"},{line,1303}]},
    {test_server,run_test_case_eval,9,
      [{file,"test_server.erl"},{line,1235}]}]}}

Report log

graphql_session_SUITE:admin_session:admin_session_http:admin_count_sessions
{error,
  {{assertEqual,
     [{module,graphql_session_SUITE},
      {line,321},
      {expression,"Number"},
      {expected,3},
      {value,12}]},
   [{graphql_session_SUITE,admin_count_sessions_story,4,
      [{file,
         "/home/circleci/project/big_tests/tests/graphql_session_SUITE.erl"},
       {line,321}]},
    {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,1794}]},
    {test_server,run_test_case_eval1,6,
      [{file,"test_server.erl"},{line,1303}]},
    {test_server,run_test_case_eval,9,
      [{file,"test_server.erl"},{line,1235}]}]}}

Report log

graphql_session_SUITE:admin_session:admin_session_http:admin_kick_user_session
{error,
  {function_clause,
    [{graphql_helper,get_error,
       [1,
        {{exit_status,0},
         #{<<"data">> =>
           #{<<"session">> =>
               #{<<"kickUserSession">> =>
                 #{<<"code">> => null,
                   <<"jid">> =>
                     <<"alice_admin_kick_user_session_952@localhost/res1">>,
                   <<"kicked">> => true,
                   <<"message">> => <<"Session kicked">>}}}}}],
       []},
     {graphql_helper,get_err_msg,2,
       [{file,
          "/home/circleci/project/big_tests/tests/graphql_helper.erl"},
        {line,229}]},
     {graphql_session_SUITE,admin_kick_user_session_story,3,
       [{file,
          "/home/circleci/project/big_tests/tests/graphql_session_SUITE.erl"},
        {line,441}]},
     {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,1794}]},
     {test_server,run_test_case_eval1,6,
       [{file,"test_server.erl"},{line,1303}]},
     {test_server,run_test_case_eval,9,
       [{file,"test_server.erl"},{line,1235}]}]}}

Report log

graphql_session_SUITE:admin_session:admin_session_cli:admin_list_sessions
{error,
  {{assertEqual,
     [{module,graphql_session_SUITE},
      {line,299},
      {expression,"length ( Sessions )"},
      {expected,3},
      {value,7}]},
   [{graphql_session_SUITE,admin_list_sessions_story,4,
      [{file,
         "/home/circleci/project/big_tests/tests/graphql_session_SUITE.erl"},
       {line,299}]},
    {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,1794}]},
    {test_server,run_test_case_eval1,6,
      [{file,"test_server.erl"},{line,1303}]},
    {test_server,run_test_case_eval,9,
      [{file,"test_server.erl"},{line,1235}]}]}}

Report log

graphql_session_SUITE:admin_session:admin_session_cli:admin_count_sessions
{error,
  {{assertEqual,
     [{module,graphql_session_SUITE},
      {line,321},
      {expression,"Number"},
      {expected,3},
      {value,10}]},
   [{graphql_session_SUITE,admin_count_sessions_story,4,
      [{file,
         "/home/circleci/project/big_tests/tests/graphql_session_SUITE.erl"},
       {line,321}]},
    {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,1794}]},
    {test_server,run_test_case_eval1,6,
      [{file,"test_server.erl"},{line,1303}]},
    {test_server,run_test_case_eval,9,
      [{file,"test_server.erl"},{line,1235}]}]}}

Report log

graphql_session_SUITE:admin_session:admin_session_cli:admin_kick_user_session
{error,
  {function_clause,
    [{graphql_helper,get_error,
       [1,
        {{<<"200">>,<<"OK">>},
         #{<<"data">> =>
           #{<<"session">> =>
               #{<<"kickUserSession">> =>
                 #{<<"code">> => null,
                   <<"jid">> =>
                     <<"alice_admin_kick_user_session_964@localhost/res1">>,
                   <<"kicked">> => true,
                   <<"message">> => <<"Session kicked">>}}}}}],
       []},
     {graphql_helper,get_err_msg,2,
       [{file,
          "/home/circleci/project/big_tests/tests/graphql_helper.erl"},
        {line,229}]},
     {graphql_session_SUITE,admin_kick_user_session_story,3,
       [{file,
          "/home/circleci/project/big_tests/tests/graphql_session_SUITE.erl"},
        {line,441}]},
     {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,1794}]},
     {test_server,run_test_case_eval1,6,
       [{file,"test_server.erl"},{line,1303}]},
     {test_server,run_test_case_eval,9,
       [{file,"test_server.erl"},{line,1235}]}]}}

Report log

graphql_stats_SUITE:admin_stats_http:admin_stats_domain_test
{error,{{assertMatch,[{module,graphql_stats_SUITE},
            {line,104},
            {expression,"Result1"},
            {pattern,"# { << \"registeredUsers\" >> := 0 , << \"onlineUsers\" >> := 0 }"},
            {value,#{<<"onlineUsers">> => 1,
                 <<"registeredUsers">> => 0}}]},
    [{graphql_stats_SUITE,admin_stats_domain_test,1,
                [{file,"/home/circleci/project/big_tests/tests/graphql_stats_SUITE.erl"},
                 {line,104}]},
     {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1794}]},
     {test_server,run_test_case_eval1,6,
            [{file,"test_server.erl"},{line,1303}]},
     {test_server,run_test_case_eval,9,
            [{file,"test_server.erl"},{line,1235}]}]}}

Report log

graphql_stats_SUITE:admin_stats_http:admin_stats_domain_with_users_test
{error,{{assertMatch,[{module,graphql_stats_SUITE},
            {line,113},
            {expression,"Result1"},
            {pattern,"# { << \"registeredUsers\" >> := 1 , << \"onlineUsers\" >> := 1 }"},
            {value,#{<<"onlineUsers">> => 2,
                 <<"registeredUsers">> => 1}}]},
    [{graphql_stats_SUITE,admin_stats_domain_with_users_test,2,
                [{file,"/home/circleci/project/big_tests/tests/graphql_stats_SUITE.erl"},
                 {line,113}]},
     {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,1794}]},
     {test_server,run_test_case_eval1,6,
            [{file,"test_server.erl"},{line,1303}]},
     {test_server,run_test_case_eval,9,
            [{file,"test_server.erl"},{line,1235}]}]}}

Report log

graphql_stats_SUITE:admin_stats_cli:admin_stats_global_test
{error,{{assertEqual,[{module,graphql_stats_SUITE},
            {line,82},
            {expression,"OnlineUsersNode"},
            {expected,0},
            {value,2}]},
    [{graphql_stats_SUITE,admin_stats_global_test,1,
                [{file,"/home/circleci/project/big_tests/tests/graphql_stats_SUITE.erl"},
                 {line,82}]},
     {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1794}]},
     {test_server,run_test_case_eval1,6,
            [{file,"test_server.erl"},{line,1303}]},
     {test_server,run_test_case_eval,9,
            [{file,"test_server.erl"},{line,1235}]}]}}

Report log

graphql_stats_SUITE:admin_stats_cli:admin_stats_global_with_users_test
{error,{{assertEqual,[{module,graphql_stats_SUITE},
            {line,97},
            {expression,"OnlineUsersNode"},
            {expected,1},
            {value,3}]},
    [{graphql_stats_SUITE,admin_stats_global_with_users_test,2,
                [{file,"/home/circleci/project/big_tests/tests/graphql_stats_SUITE.erl"},
                 {line,97}]},
     {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,1794}]},
     {test_server,run_test_case_eval1,6,
            [{file,"test_server.erl"},{line,1303}]},
     {test_server,run_test_case_eval,9,
            [{file,"test_server.erl"},{line,1235}]}]}}

Report log

graphql_stats_SUITE:admin_stats_cli:admin_stats_domain_test
{error,{{assertMatch,[{module,graphql_stats_SUITE},
            {line,104},
            {expression,"Result1"},
            {pattern,"# { << \"registeredUsers\" >> := 0 , << \"onlineUsers\" >> := 0 }"},
            {value,#{<<"onlineUsers">> => 2,
                 <<"registeredUsers">> => 0}}]},
    [{graphql_stats_SUITE,admin_stats_domain_test,1,
                [{file,"/home/circleci/project/big_tests/tests/graphql_stats_SUITE.erl"},
                 {line,104}]},
     {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1794}]},
     {test_server,run_test_case_eval1,6,
            [{file,"test_server.erl"},{line,1303}]},
     {test_server,run_test_case_eval,9,
            [{file,"test_server.erl"},{line,1235}]}]}}

Report log

graphql_stats_SUITE:admin_stats_cli:admin_stats_domain_with_users_test
{error,{{assertMatch,[{module,graphql_stats_SUITE},
            {line,113},
            {expression,"Result1"},
            {pattern,"# { << \"registeredUsers\" >> := 1 , << \"onlineUsers\" >> := 1 }"},
            {value,#{<<"onlineUsers">> => 2,
                 <<"registeredUsers">> => 1}}]},
    [{graphql_stats_SUITE,admin_stats_domain_with_users_test,2,
                [{file,"/home/circleci/project/big_tests/tests/graphql_stats_SUITE.erl"},
                 {line,113}]},
     {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,1794}]},
     {test_server,run_test_case_eval1,6,
            [{file,"test_server.erl"},{line,1303}]},
     {test_server,run_test_case_eval,9,
            [{file,"test_server.erl"},{line,1235}]}]}}

Report log

last_SUITE:valid_queries:last_offline_user
{error,{{badmatch,false},
    [{last_SUITE,'-last_offline_user/1-fun-0-',2,
           [{file,"/home/circleci/project/big_tests/tests/last_SUITE.erl"},
            {line,145}]},
     {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,1794}]},
     {test_server,run_test_case_eval1,6,
            [{file,"test_server.erl"},{line,1303}]},
     {test_server,run_test_case_eval,9,
            [{file,"test_server.erl"},{line,1235}]}]}}

Report log

metrics_api_SUITE:metrics:one_client_just_logs_in
{error,{{unexpected_values,'sm_session.logouts',
               [{48,47},{48,47},{49,48},{49,48}]},
    [{metrics_api_SUITE,assert_counter_inc,4,
              [{file,"/home/circleci/project/big_tests/tests/metrics_api_SUITE.erl"},
               {line,461}]},
     {metrics_api_SUITE,'-instrumented_story/4-lc$^0/1-0-',3,
              [{file,"/home/circleci/project/big_tests/tests/metrics_api_SUITE.erl"},
               {line,357}]},
     {metrics_api_SUITE,instrumented_story,4,
              [{file,"/home/circleci/project/big_tests/tests/metrics_api_SUITE.erl"},
               {line,358}]},
     {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1794}]},
     {test_server,run_test_case_eval1,6,
            [{file,"test_server.erl"},{line,1303}]},
     {test_server,run_test_case_eval,9,
            [{file,"test_server.erl"},{line,1235}]}]}}

Report log

metrics_api_SUITE:metrics:two_clients_just_log_in
{error,{{unexpected_values,'sm_session.logouts',
               [{49,47},{49,47},{50,48},{50,49}]},
    [{metrics_api_SUITE,assert_counter_inc,4,
              [{file,"/home/circleci/project/big_tests/tests/metrics_api_SUITE.erl"},
               {line,461}]},
     {metrics_api_SUITE,'-instrumented_story/4-lc$^0/1-0-',3,
              [{file,"/home/circleci/project/big_tests/tests/metrics_api_SUITE.erl"},
               {line,357}]},
     {metrics_api_SUITE,instrumented_story,4,
              [{file,"/home/circleci/project/big_tests/tests/metrics_api_SUITE.erl"},
               {line,358}]},
     {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1794}]},
     {test_server,run_test_case_eval1,6,
            [{file,"test_server.erl"},{line,1303}]},
     {test_server,run_test_case_eval,9,
            [{file,"test_server.erl"},{line,1235}]}]}}

Report log

metrics_api_SUITE:all_metrics_are_global:one_client_just_logs_in
{error,{{unexpected_values,'sm_session.logouts',[{1,0},{1,0}]},
    [{metrics_api_SUITE,assert_counter_inc,4,
              [{file,"/home/circleci/project/big_tests/tests/metrics_api_SUITE.erl"},
               {line,461}]},
     {metrics_api_SUITE,'-instrumented_story/4-lc$^0/1-0-',3,
              [{file,"/home/circleci/project/big_tests/tests/metrics_api_SUITE.erl"},
               {line,357}]},
     {metrics_api_SUITE,instrumented_story,4,
              [{file,"/home/circleci/project/big_tests/tests/metrics_api_SUITE.erl"},
               {line,358}]},
     {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1794}]},
     {test_server,run_test_case_eval1,6,
            [{file,"test_server.erl"},{line,1303}]},
     {test_server,run_test_case_eval,9,
            [{file,"test_server.erl"},{line,1235}]}]}}

Report log

metrics_api_SUITE:all_metrics_are_global:two_clients_just_log_in
{error,{{unexpected_values,'sm_session.logouts',[{2,0},{2,0}]},
    [{metrics_api_SUITE,assert_counter_inc,4,
              [{file,"/home/circleci/project/big_tests/tests/metrics_api_SUITE.erl"},
               {line,461}]},
     {metrics_api_SUITE,'-instrumented_story/4-lc$^0/1-0-',3,
              [{file,"/home/circleci/project/big_tests/tests/metrics_api_SUITE.erl"},
               {line,357}]},
     {metrics_api_SUITE,instrumented_story,4,
              [{file,"/home/circleci/project/big_tests/tests/metrics_api_SUITE.erl"},
               {line,358}]},
     {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1794}]},
     {test_server,run_test_case_eval1,6,
            [{file,"test_server.erl"},{line,1303}]},
     {test_server,run_test_case_eval,9,
            [{file,"test_server.erl"},{line,1235}]}]}}

Report log

metrics_api_SUITE:global:session_counters
{error,{{'sm_unique_sessions.count',[2,2],[{times,50,[3,3]}],undefined},
    [{wait_helper,do_wait_until,1,
            [{file,"/home/circleci/project/big_tests/_build/default/lib/wait_helper/src/wait_helper.erl"},
             {line,127}]},
     {metrics_api_SUITE,'-session_counters/1-fun-0-',4,
              [{file,"/home/circleci/project/big_tests/tests/metrics_api_SUITE.erl"},
               {line,238}]},
     {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,1794}]},
     {test_server,run_test_case_eval1,6,
            [{file,"test_server.erl"},{line,1303}]},
     {test_server,run_test_case_eval,9,
            [{file,"test_server.erl"},{line,1235}]}]}}

Report log

metrics_session_SUITE:session_global:session_global
{error,{test_case_failed,"Incorrect number of instrumentation events - matched: 0, expected: positive"}}

Report log

metrics_session_SUITE:end_per_suite
{error,{test_case_failed,"Instrumentation events that were logged, but not tested:\n[{sm_node_sessions,#{}},{sm_total_sessions,#{}},{sm_unique_sessions,#{}}]\nYou need to test them with instrument_helper:assert/3"}}

Report log

dynamic_domains_SUITE:with_mod_dynamic_domains_test:iq_handling_for_domain
{error,
  {{assertion_failed,assert,is_error,
     [<<"cancel">>,<<"remote-server-not-found">>],
     {xmlel,<<"presence">>,
       [{<<"from">>,<<"[email protected]/res1">>},
        {<<"to">>,<<"[email protected]/res1">>},
        {<<"type">>,<<"unavailable">>}],
       [{xmlel,<<"status">>,[],
          [{xmlcdata,<<"Shutdown by reason: stream_end">>}]}]},
     "<presence from='[email protected]/res1' to='[email protected]/res1' type='unavailable'><status>Shutdown by reason: stream_end</status></presence>"},
   [{escalus_new_assert,assert_true,2,
      [{file,
         "/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_new_assert.erl"},
       {line,84}]},
    {dynamic_domains_SUITE,'-iq_handling_for_domain/1-fun-2-',1,
      [{file,
         "/home/circleci/project/big_tests/tests/dynamic_domains_SUITE.erl"},
       {line,192}]},
    {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,1794}]},
    {test_server,run_test_case_eval1,6,
      [{file,"test_server.erl"},{line,1303}]},
    {test_server,run_test_case_eval,9,
      [{file,"test_server.erl"},{line,1235}]}]}}

Report log


dynamic_domains_mysql_redis_27 / mysql_redis / deab685
Reports root/ big
OK: 4697 / Failed: 25 / User-skipped: 154 / Auto-skipped: 2

carboncopy_SUITE:one2one:dropped_client_doesnt_create_duplicate_carbons
{error,
 {test_case_failed,
  {has_stanzas_but_shouldnt,
   {client,
  <<"alice_dropped_client_doesnt_create_duplicate_carbons_591@domain.example.com/res1">>,
  escalus_tcp,<0.12882.0>,
  [{event_manager,<0.12804.0>},
   {server,<<"domain.example.com">>},
   {username,<<"alicE_dropped_client_doesnt_create_duplicate_carbons_591">>},
   {resource,<<"res1">>}],
  [{event_client,
    [{event_manager,<0.12804.0>},
     {server,<<"domain.example.com">>},
     {username,
    <<"alicE_dropped_client_doesnt_create_duplicate_carbons_591">>},
     {resource,<<"res1">>}]},
   {resource,<<"res1">>},
   {username,<<"alice_dropped_client_doesnt_create_duplicate_carbons_591">>},
   {server,<<"domain.example.com">>},
   {host,<<"localhost">>},
   {port,5222},
   {auth,{escalus_auth,auth_plain}},
   {wspath,undefined},
   {username,<<"alicE_dropped_client_doesnt_create_duplicate_carbons_591">>},
   {server,<<"domain.example.com">>},
   {host,<<"localhost">>},
   {password,<<"matygrysa">>},
   {stream_id,<<"fbae031eaa1d5e91">>}]},
   [{xmlel,<<"message">>,
   [{<<"from">>,
     <<"alice_dropped_client_doesnt_create_duplicate_carbons_591@domain.example.com">>},
    {<<"to">>,
     <<"alice_dropped_client_doesnt_create_duplicate_carbons_591@domain.example.com/res2">>},
    {<<"xmlns">>,<<"jabber:client">>},
    {<<"type">>,<<"chat">>}],
   [{xmlel,<<"sent">>,
     [{<<"xmlns">>,<<"urn:xmpp:carbons:2">>}],
     [{xmlel,<<"forwarded">>,
     [{<<"xmlns">>,<<"urn:xmpp:forward:0">>}],
     [{xmlel,<<...

Report log

graphql_session_SUITE:admin_session:admin_session_http:admin_list_sessions
{error,
  {{assertEqual,
     [{module,graphql_session_SUITE},
      {line,299},
      {expression,"length ( Sessions )"},
      {expected,3},
      {value,9}]},
   [{graphql_session_SUITE,admin_list_sessions_story,4,
      [{file,
         "/home/circleci/project/big_tests/tests/graphql_session_SUITE.erl"},
       {line,299}]},
    {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,1794}]},
    {test_server,run_test_case_eval1,6,
      [{file,"test_server.erl"},{line,1303}]},
    {test_server,run_test_case_eval,9,
      [{file,"test_server.erl"},{line,1235}]}]}}

Report log

graphql_session_SUITE:admin_session:admin_session_http:admin_count_sessions
{error,
  {{assertEqual,
     [{module,graphql_session_SUITE},
      {line,321},
      {expression,"Number"},
      {expected,3},
      {value,12}]},
   [{graphql_session_SUITE,admin_count_sessions_story,4,
      [{file,
         "/home/circleci/project/big_tests/tests/graphql_session_SUITE.erl"},
       {line,321}]},
    {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,1794}]},
    {test_server,run_test_case_eval1,6,
      [{file,"test_server.erl"},{line,1303}]},
    {test_server,run_test_case_eval,9,
      [{file,"test_server.erl"},{line,1235}]}]}}

Report log

graphql_session_SUITE:admin_session:admin_session_http:admin_kick_user_session
{error,
  {function_clause,
    [{graphql_helper,get_error,
       [1,
        {{exit_status,0},
         #{<<"data">> =>
           #{<<"session">> =>
               #{<<"kickUserSession">> =>
                 #{<<"code">> => null,
                   <<"jid">> =>
                     <<"[email protected]/res1">>,
                   <<"kicked">> => true,
                   <<"message">> => <<"Session kicked">>}}}}}],
       []},
     {graphql_helper,get_err_msg,2,
       [{file,
          "/home/circleci/project/big_tests/tests/graphql_helper.erl"},
        {line,229}]},
     {graphql_session_SUITE,admin_kick_user_session_story,3,
       [{file,
          "/home/circleci/project/big_tests/tests/graphql_session_SUITE.erl"},
        {line,441}]},
     {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,1794}]},
     {test_server,run_test_case_eval1,6,
       [{file,"test_server.erl"},{line,1303}]},
     {test_server,run_test_case_eval,9,
       [{file,"test_server.erl"},{line,1235}]}]}}

Report log

graphql_session_SUITE:admin_session:admin_session_cli:admin_list_sessions
{error,
  {{assertEqual,
     [{module,graphql_session_SUITE},
      {line,299},
      {expression,"length ( Sessions )"},
      {expected,3},
      {value,7}]},
   [{graphql_session_SUITE,admin_list_sessions_story,4,
      [{file,
         "/home/circleci/project/big_tests/tests/graphql_session_SUITE.erl"},
       {line,299}]},
    {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,1794}]},
    {test_server,run_test_case_eval1,6,
      [{file,"test_server.erl"},{line,1303}]},
    {test_server,run_test_case_eval,9,
      [{file,"test_server.erl"},{line,1235}]}]}}

Report log

graphql_session_SUITE:admin_session:admin_session_cli:admin_count_sessions
{error,
  {{assertEqual,
     [{module,graphql_session_SUITE},
      {line,321},
      {expression,"Number"},
      {expected,3},
      {value,10}]},
   [{graphql_session_SUITE,admin_count_sessions_story,4,
      [{file,
         "/home/circleci/project/big_tests/tests/graphql_session_SUITE.erl"},
       {line,321}]},
    {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,1794}]},
    {test_server,run_test_case_eval1,6,
      [{file,"test_server.erl"},{line,1303}]},
    {test_server,run_test_case_eval,9,
      [{file,"test_server.erl"},{line,1235}]}]}}

Report log

graphql_session_SUITE:admin_session:admin_session_cli:admin_kick_user_session
{error,
  {function_clause,
    [{graphql_helper,get_error,
       [1,
        {{<<"200">>,<<"OK">>},
         #{<<"data">> =>
           #{<<"session">> =>
               #{<<"kickUserSession">> =>
                 #{<<"code">> => null,
                   <<"jid">> =>
                     <<"[email protected]/res1">>,
                   <<"kicked">> => true,
                   <<"message">> => <<"Session kicked">>}}}}}],
       []},
     {graphql_helper,get_err_msg,2,
       [{file,
          "/home/circleci/project/big_tests/tests/graphql_helper.erl"},
        {line,229}]},
     {graphql_session_SUITE,admin_kick_user_session_story,3,
       [{file,
          "/home/circleci/project/big_tests/tests/graphql_session_SUITE.erl"},
        {line,441}]},
     {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,1794}]},
     {test_server,run_test_case_eval1,6,
       [{file,"test_server.erl"},{line,1303}]},
     {test_server,run_test_case_eval,9,
       [{file,"test_server.erl"},{line,1235}]}]}}

Report log

graphql_session_SUITE:domain_admin_session:domain_admin_list_sessions
{error,
  {{assertEqual,
     [{module,graphql_session_SUITE},
      {line,155},
      {expression,"length ( Sessions )"},
      {expected,2},
      {value,11}]},
   [{graphql_session_SUITE,domain_admin_list_sessions_story,4,
      [{file,
         "/home/circleci/project/big_tests/tests/graphql_session_SUITE.erl"},
       {line,155}]},
    {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,1794}]},
    {test_server,run_test_case_eval1,6,
      [{file,"test_server.erl"},{line,1303}]},
    {test_server,run_test_case_eval,9,
      [{file,"test_server.erl"},{line,1235}]}]}}

Report log

graphql_session_SUITE:domain_admin_session:domain_admin_count_sessions
{error,
  {{assertEqual,
     [{module,graphql_session_SUITE},
      {line,174},
      {expression,"Number"},
      {expected,2},
      {value,13}]},
   [{graphql_session_SUITE,domain_admin_count_sessions_story,4,
      [{file,
         "/home/circleci/project/big_tests/tests/graphql_session_SUITE.erl"},
       {line,174}]},
    {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,1794}]},
    {test_server,run_test_case_eval1,6,
      [{file,"test_server.erl"},{line,1303}]},
    {test_server,run_test_case_eval,9,
      [{file,"test_server.erl"},{line,1235}]}]}}

Report log

graphql_session_SUITE:domain_admin_session:admin_kick_user_session
{error,
  {function_clause,
    [{graphql_helper,get_error,
       [1,
        {{<<"200">>,<<"OK">>},
         #{<<"data">> =>
           #{<<"session">> =>
               #{<<"kickUserSession">> =>
                 #{<<"code">> => null,
                   <<"jid">> =>
                     <<"[email protected]/res1">>,
                   <<"kicked">> => true,
                   <<"message">> => <<"Session kicked">>}}}}}],
       []},
     {graphql_helper,get_err_msg,2,
       [{file,
          "/home/circleci/project/big_tests/tests/graphql_helper.erl"},
        {line,229}]},
     {graphql_session_SUITE,admin_kick_user_session_story,3,
       [{file,
          "/home/circleci/project/big_tests/tests/graphql_session_SUITE.erl"},
        {line,441}]},
     {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,1794}]},
     {test_server,run_test_case_eval1,6,
       [{file,"test_server.erl"},{line,1303}]},
     {test_server,run_test_case_eval,9,
       [{file,"test_server.erl"},{line,1235}]}]}}

Report log

graphql_stats_SUITE:admin_stats_http:admin_stats_domain_test
{error,{{assertMatch,[{module,graphql_stats_SUITE},
            {line,104},
            {expression,"Result1"},
            {pattern,"# { << \"registeredUsers\" >> := 0 , << \"onlineUsers\" >> := 0 }"},
            {value,#{<<"onlineUsers">> => 1,
                 <<"registeredUsers">> => 0}}]},
    [{graphql_stats_SUITE,admin_stats_domain_test,1,
                [{file,"/home/circleci/project/big_tests/tests/graphql_stats_SUITE.erl"},
                 {line,104}]},
     {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1794}]},
     {test_server,run_test_case_eval1,6,
            [{file,"test_server.erl"},{line,1303}]},
     {test_server,run_test_case_eval,9,
            [{file,"test_server.erl"},{line,1235}]}]}}

Report log

graphql_stats_SUITE:admin_stats_http:admin_stats_domain_with_users_test
{error,{{assertMatch,[{module,graphql_stats_SUITE},
            {line,113},
            {expression,"Result1"},
            {pattern,"# { << \"registeredUsers\" >> := 1 , << \"onlineUsers\" >> := 1 }"},
            {value,#{<<"onlineUsers">> => 2,
                 <<"registeredUsers">> => 1}}]},
    [{graphql_stats_SUITE,admin_stats_domain_with_users_test,2,
                [{file,"/home/circleci/project/big_tests/tests/graphql_stats_SUITE.erl"},
                 {line,113}]},
     {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,1794}]},
     {test_server,run_test_case_eval1,6,
            [{file,"test_server.erl"},{line,1303}]},
     {test_server,run_test_case_eval,9,
            [{file,"test_server.erl"},{line,1235}]}]}}

Report log

graphql_stats_SUITE:admin_stats_cli:admin_stats_global_test
{error,{{assertEqual,[{module,graphql_stats_SUITE},
            {line,82},
            {expression,"OnlineUsersNode"},
            {expected,0},
            {value,3}]},
    [{graphql_stats_SUITE,admin_stats_global_test,1,
                [{file,"/home/circleci/project/big_tests/tests/graphql_stats_SUITE.erl"},
                 {line,82}]},
     {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1794}]},
     {test_server,run_test_case_eval1,6,
            [{file,"test_server.erl"},{line,1303}]},
     {test_server,run_test_case_eval,9,
            [{file,"test_server.erl"},{line,1235}]}]}}

Report log

graphql_stats_SUITE:admin_stats_cli:admin_stats_global_with_users_test
{error,{{assertEqual,[{module,graphql_stats_SUITE},
            {line,97},
            {expression,"OnlineUsersNode"},
            {expected,1},
            {value,4}]},
    [{graphql_stats_SUITE,admin_stats_global_with_users_test,2,
                [{file,"/home/circleci/project/big_tests/tests/graphql_stats_SUITE.erl"},
                 {line,97}]},
     {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,1794}]},
     {test_server,run_test_case_eval1,6,
            [{file,"test_server.erl"},{line,1303}]},
     {test_server,run_test_case_eval,9,
            [{file,"test_server.erl"},{line,1235}]}]}}

Report log

graphql_stats_SUITE:admin_stats_cli:admin_stats_domain_test
{error,{{assertMatch,[{module,graphql_stats_SUITE},
            {line,104},
            {expression,"Result1"},
            {pattern,"# { << \"registeredUsers\" >> := 0 , << \"onlineUsers\" >> := 0 }"},
            {value,#{<<"onlineUsers">> => 3,
                 <<"registeredUsers">> => 0}}]},
    [{graphql_stats_SUITE,admin_stats_domain_test,1,
                [{file,"/home/circleci/project/big_tests/tests/graphql_stats_SUITE.erl"},
                 {line,104}]},
     {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1794}]},
     {test_server,run_test_case_eval1,6,
            [{file,"test_server.erl"},{line,1303}]},
     {test_server,run_test_case_eval,9,
            [{file,"test_server.erl"},{line,1235}]}]}}

Report log

graphql_stats_SUITE:admin_stats_cli:admin_stats_domain_with_users_test
{error,{{assertMatch,[{module,graphql_stats_SUITE},
            {line,113},
            {expression,"Result1"},
            {pattern,"# { << \"registeredUsers\" >> := 1 , << \"onlineUsers\" >> := 1 }"},
            {value,#{<<"onlineUsers">> => 2,
                 <<"registeredUsers">> => 1}}]},
    [{graphql_stats_SUITE,admin_stats_domain_with_users_test,2,
                [{file,"/home/circleci/project/big_tests/tests/graphql_stats_SUITE.erl"},
                 {line,113}]},
     {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,1794}]},
     {test_server,run_test_case_eval1,6,
            [{file,"test_server.erl"},{line,1303}]},
     {test_server,run_test_case_eval,9,
            [{file,"test_server.erl"},{line,1235}]}]}}

Report log

graphql_stats_SUITE:domain_admin_stats:admin_stats_domain_test
{error,{{assertMatch,[{module,graphql_stats_SUITE},
            {line,104},
            {expression,"Result1"},
            {pattern,"# { << \"registeredUsers\" >> := 0 , << \"onlineUsers\" >> := 0 }"},
            {value,#{<<"onlineUsers">> => 2,
                 <<"registeredUsers">> => 0}}]},
    [{graphql_stats_SUITE,admin_stats_domain_test,1,
                [{file,"/home/circleci/project/big_tests/tests/graphql_stats_SUITE.erl"},
                 {line,104}]},
     {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1794}]},
     {test_server,run_test_case_eval1,6,
            [{file,"test_server.erl"},{line,1303}]},
     {test_server,run_test_case_eval,9,
            [{file,"test_server.erl"},{line,1235}]}]}}

Report log

graphql_stats_SUITE:domain_admin_stats:admin_stats_domain_with_users_test
{error,{{assertMatch,[{module,graphql_stats_SUITE},
            {line,113},
            {expression,"Result1"},
            {pattern,"# { << \"registeredUsers\" >> := 1 , << \"onlineUsers\" >> := 1 }"},
            {value,#{<<"onlineUsers">> => 3,
                 <<"registeredUsers">> => 1}}]},
    [{graphql_stats_SUITE,admin_stats_domain_with_users_test,2,
                [{file,"/home/circleci/project/big_tests/tests/graphql_stats_SUITE.erl"},
                 {line,113}]},
     {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,1794}]},
     {test_server,run_test_case_eval1,6,
            [{file,"test_server.erl"},{line,1303}]},
     {test_server,run_test_case_eval,9,
            [{file,"test_server.erl"},{line,1235}]}]}}

Report log

last_SUITE:valid_queries:last_offline_user
{error,{{badmatch,false},
    [{last_SUITE,'-last_offline_user/1-fun-0-',2,
           [{file,"/home/circleci/project/big_tests/tests/last_SUITE.erl"},
            {line,145}]},
     {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,1794}]},
     {test_server,run_test_case_eval1,6,
            [{file,"test_server.erl"},{line,1303}]},
     {test_server,run_test_case_eval,9,
            [{file,"test_server.erl"},{line,1235}]}]}}

Report log

metrics_session_SUITE:session_global:session_unique
{error,{test_case_failed,"Incorrect number of instrumentation events - matched: 0, expected: positive"}}

Report log

metrics_session_SUITE:end_per_suite
{error,{test_case_failed,"Instrumentation events that were logged, but not tested:\n[{sm_node_sessions,#{}},{sm_unique_sessions,#{}}]\nYou need to test them with instrument_helper:assert/3"}}

Report log

metrics_api_SUITE:metrics:one_client_just_logs_in
{error,{{unexpected_values,'sm_session.logouts',
               [{4428,4427},{4428,4427},{4435,4434},{4435,4434}]},
    [{metrics_api_SUITE,assert_counter_inc,4,
              [{file,"/home/circleci/project/big_tests/tests/metrics_api_SUITE.erl"},
               {line,461}]},
     {metrics_api_SUITE,'-instrumented_story/4-lc$^0/1-0-',3,
              [{file,"/home/circleci/project/big_tests/tests/metrics_api_SUITE.erl"},
               {line,357}]},
     {metrics_api_SUITE,instrumented_story,4,
              [{file,"/home/circleci/project/big_tests/tests/metrics_api_SUITE.erl"},
               {line,358}]},
     {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1794}]},
     {test_server,run_test_case_eval1,6,
            [{file,"test_server.erl"},{line,1303}]},
     {test_server,run_test_case_eval,9,
            [{file,"test_server.erl"},{line,1235}]}]}}

Report log

metrics_api_SUITE:metrics:two_clients_just_log_in
{error,{{unexpected_values,'sm_session.logouts',
               [{4429,4427},{4429,4427},{4436,4434},{4436,4434}]},
    [{metrics_api_SUITE,assert_counter_inc,4,
              [{file,"/home/circleci/project/big_tests/tests/metrics_api_SUITE.erl"},
               {line,461}]},
     {metrics_api_SUITE,'-instrumented_story/4-lc$^0/1-0-',3,
              [{file,"/home/circleci/project/big_tests/tests/metrics_api_SUITE.erl"},
               {line,357}]},
     {metrics_api_SUITE,instrumented_story,4,
              [{file,"/home/circleci/project/big_tests/tests/metrics_api_SUITE.erl"},
               {line,358}]},
     {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1794}]},
     {test_server,run_test_case_eval1,6,
            [{file,"test_server.erl"},{line,1303}]},
     {test_server,run_test_case_eval,9,
            [{file,"test_server.erl"},{line,1235}]}]}}

Report log

metrics_api_SUITE:all_metrics_are_global:one_client_just_logs_in
{error,{{unexpected_values,'sm_session.logouts',[{1,0},{1,0}]},
    [{metrics_api_SUITE,assert_counter_inc,4,
              [{file,"/home/circleci/project/big_tests/tests/metrics_api_SUITE.erl"},
               {line,461}]},
     {metrics_api_SUITE,'-instrumented_story/4-lc$^0/1-0-',3,
              [{file,"/home/circleci/project/big_tests/tests/metrics_api_SUITE.erl"},
               {line,357}]},
     {metrics_api_SUITE,instrumented_story,4,
              [{file,"/home/circleci/project/big_tests/tests/metrics_api_SUITE.erl"},
               {line,358}]},
     {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1794}]},
     {test_server,run_test_case_eval1,6,
            [{file,"test_server.erl"},{line,1303}]},
     {test_server,run_test_case_eval,9,
            [{file,"test_server.erl"},{line,1235}]}]}}

Report log

metrics_api_SUITE:all_metrics_are_global:two_clients_just_log_in
{error,{{unexpected_values,'sm_session.logouts',[{2,0},{2,0}]},
    [{metrics_api_SUITE,assert_counter_inc,4,
              [{file,"/home/circleci/project/big_tests/tests/metrics_api_SUITE.erl"},
               {line,461}]},
     {metrics_api_SUITE,'-instrumented_story/4-lc$^0/1-0-',3,
              [{file,"/home/circleci/project/big_tests/tests/metrics_api_SUITE.erl"},
               {line,357}]},
     {metrics_api_SUITE,instrumented_story,4,
              [{file,"/home/circleci/project/big_tests/tests/metrics_api_SUITE.erl"},
               {line,358}]},
     {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1794}]},
     {test_server,run_test_case_eval1,6,
            [{file,"test_server.erl"},{line,1303}]},
     {test_server,run_test_case_eval,9,
            [{file,"test_server.erl"},{line,1235}]}]}}

Report log

1 errors were truncated


dynamic_domains_pgsql_mnesia_27 / pgsql_mnesia / deab685
Reports root/ big
OK: 4730 / Failed: 26 / User-skipped: 119 / Auto-skipped: 3

carboncopy_SUITE:one2one:dropped_client_doesnt_create_duplicate_carbons
{error,
 {test_case_failed,
  {has_stanzas_but_shouldnt,
   {client,
  <<"alice_dropped_client_doesnt_create_duplicate_carbons_595@domain.example.com/res1">>,
  escalus_tcp,<0.12683.0>,
  [{event_manager,<0.12609.0>},
   {server,<<"domain.example.com">>},
   {username,<<"alicE_dropped_client_doesnt_create_duplicate_carbons_595">>},
   {resource,<<"res1">>}],
  [{event_client,
    [{event_manager,<0.12609.0>},
     {server,<<"domain.example.com">>},
     {username,
    <<"alicE_dropped_client_doesnt_create_duplicate_carbons_595">>},
     {resource,<<"res1">>}]},
   {resource,<<"res1">>},
   {username,<<"alice_dropped_client_doesnt_create_duplicate_carbons_595">>},
   {server,<<"domain.example.com">>},
   {host,<<"localhost">>},
   {port,5222},
   {auth,{escalus_auth,auth_plain}},
   {wspath,undefined},
   {username,<<"alicE_dropped_client_doesnt_create_duplicate_carbons_595">>},
   {server,<<"domain.example.com">>},
   {host,<<"localhost">>},
   {password,<<"matygrysa">>},
   {stream_id,<<"545c2fb471d619de">>}]},
   [{xmlel,<<"message">>,
   [{<<"from">>,
     <<"alice_dropped_client_doesnt_create_duplicate_carbons_595@domain.example.com">>},
    {<<"to">>,
     <<"alice_dropped_client_doesnt_create_duplicate_carbons_595@domain.example.com/res2">>},
    {<<"xmlns">>,<<"jabber:client">>},
    {<<"type">>,<<"chat">>}],
   [{xmlel,<<"sent">>,
     [{<<"xmlns">>,<<"urn:xmpp:carbons:2">>}],
     [{xmlel,<<"forwarded">>,
     [{<<"xmlns">>,<<"urn:xmpp:forward:0">>}],
     [{xmlel,<<...

Report log

dynamic_domains_SUITE:with_mod_dynamic_domains_test:packet_handling_for_subdomain
{error,
  {{badmatch,
     [{xmlel,<<"presence">>,
        [{<<"from">>,<<"[email protected]/res1">>},
         {<<"to">>,<<"[email protected]/res1">>},
         {<<"type">>,<<"unavailable">>}],
        [{xmlel,<<"status">>,[],
           [{xmlcdata,<<"Shutdown by reason: stream_end">>}]}]}]},
   [{dynamic_domains_SUITE,'-packet_handling_for_subdomain/1-fun-3-',1,
      [{file,
         "/home/circleci/project/big_tests/tests/dynamic_domains_SUITE.erl"},
       {line,153}]},
    {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,1794}]},
    {test_server,run_test_case_eval1,6,
      [{file,"test_server.erl"},{line,1303}]},
    {test_server,run_test_case_eval,9,
      [{file,"test_server.erl"},{line,1235}]}]}}

Report log

graphql_session_SUITE:admin_session:admin_session_http:admin_list_sessions
{error,
  {{assertEqual,
     [{module,graphql_session_SUITE},
      {line,299},
      {expression,"length ( Sessions )"},
      {expected,3},
      {value,9}]},
   [{graphql_session_SUITE,admin_list_sessions_story,4,
      [{file,
         "/home/circleci/project/big_tests/tests/graphql_session_SUITE.erl"},
       {line,299}]},
    {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,1794}]},
    {test_server,run_test_case_eval1,6,
      [{file,"test_server.erl"},{line,1303}]},
    {test_server,run_test_case_eval,9,
      [{file,"test_server.erl"},{line,1235}]}]}}

Report log

graphql_session_SUITE:admin_session:admin_session_http:admin_count_sessions
{error,
  {{assertEqual,
     [{module,graphql_session_SUITE},
      {line,321},
      {expression,"Number"},
      {expected,3},
      {value,12}]},
   [{graphql_session_SUITE,admin_count_sessions_story,4,
      [{file,
         "/home/circleci/project/big_tests/tests/graphql_session_SUITE.erl"},
       {line,321}]},
    {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,1794}]},
    {test_server,run_test_case_eval1,6,
      [{file,"test_server.erl"},{line,1303}]},
    {test_server,run_test_case_eval,9,
      [{file,"test_server.erl"},{line,1235}]}]}}

Report log

graphql_session_SUITE:admin_session:admin_session_http:admin_kick_user_session
{error,
  {function_clause,
    [{graphql_helper,get_error,
       [1,
        {{exit_status,0},
         #{<<"data">> =>
           #{<<"session">> =>
               #{<<"kickUserSession">> =>
                 #{<<"code">> => null,
                   <<"jid">> =>
                     <<"[email protected]/res1">>,
                   <<"kicked">> => true,
                   <<"message">> => <<"Session kicked">>}}}}}],
       []},
     {graphql_helper,get_err_msg,2,
       [{file,
          "/home/circleci/project/big_tests/tests/graphql_helper.erl"},
        {line,229}]},
     {graphql_session_SUITE,admin_kick_user_session_story,3,
       [{file,
          "/home/circleci/project/big_tests/tests/graphql_session_SUITE.erl"},
        {line,441}]},
     {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,1794}]},
     {test_server,run_test_case_eval1,6,
       [{file,"test_server.erl"},{line,1303}]},
     {test_server,run_test_case_eval,9,
       [{file,"test_server.erl"},{line,1235}]}]}}

Report log

graphql_session_SUITE:admin_session:admin_session_cli:admin_list_sessions
{error,
  {{assertEqual,
     [{module,graphql_session_SUITE},
      {line,299},
      {expression,"length ( Sessions )"},
      {expected,3},
      {value,7}]},
   [{graphql_session_SUITE,admin_list_sessions_story,4,
      [{file,
         "/home/circleci/project/big_tests/tests/graphql_session_SUITE.erl"},
       {line,299}]},
    {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,1794}]},
    {test_server,run_test_case_eval1,6,
      [{file,"test_server.erl"},{line,1303}]},
    {test_server,run_test_case_eval,9,
      [{file,"test_server.erl"},{line,1235}]}]}}

Report log

graphql_session_SUITE:admin_session:admin_session_cli:admin_count_sessions
{error,
  {{assertEqual,
     [{module,graphql_session_SUITE},
      {line,321},
      {expression,"Number"},
      {expected,3},
      {value,10}]},
   [{graphql_session_SUITE,admin_count_sessions_story,4,
      [{file,
         "/home/circleci/project/big_tests/tests/graphql_session_SUITE.erl"},
       {line,321}]},
    {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,1794}]},
    {test_server,run_test_case_eval1,6,
      [{file,"test_server.erl"},{line,1303}]},
    {test_server,run_test_case_eval,9,
      [{file,"test_server.erl"},{line,1235}]}]}}

Report log

graphql_session_SUITE:admin_session:admin_session_cli:admin_kick_user_session
{error,
  {function_clause,
    [{graphql_helper,get_error,
       [1,
        {{<<"200">>,<<"OK">>},
         #{<<"data">> =>
           #{<<"session">> =>
               #{<<"kickUserSession">> =>
                 #{<<"code">> => null,
                   <<"jid">> =>
                     <<"[email protected]/res1">>,
                   <<"kicked">> => true,
                   <<"message">> => <<"Session kicked">>}}}}}],
       []},
     {graphql_helper,get_err_msg,2,
       [{file,
          "/home/circleci/project/big_tests/tests/graphql_helper.erl"},
        {line,229}]},
     {graphql_session_SUITE,admin_kick_user_session_story,3,
       [{file,
          "/home/circleci/project/big_tests/tests/graphql_session_SUITE.erl"},
        {line,441}]},
     {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,1794}]},
     {test_server,run_test_case_eval1,6,
       [{file,"test_server.erl"},{line,1303}]},
     {test_server,run_test_case_eval,9,
       [{file,"test_server.erl"},{line,1235}]}]}}

Report log

graphql_session_SUITE:domain_admin_session:domain_admin_list_sessions
{error,
  {{assertEqual,
     [{module,graphql_session_SUITE},
      {line,155},
      {expression,"length ( Sessions )"},
      {expected,2},
      {value,11}]},
   [{graphql_session_SUITE,domain_admin_list_sessions_story,4,
      [{file,
         "/home/circleci/project/big_tests/tests/graphql_session_SUITE.erl"},
       {line,155}]},
    {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,1794}]},
    {test_server,run_test_case_eval1,6,
      [{file,"test_server.erl"},{line,1303}]},
    {test_server,run_test_case_eval,9,
      [{file,"test_server.erl"},{line,1235}]}]}}

Report log

graphql_session_SUITE:domain_admin_session:domain_admin_count_sessions
{error,
  {{assertEqual,
     [{module,graphql_session_SUITE},
      {line,174},
      {expression,"Number"},
      {expected,2},
      {value,13}]},
   [{graphql_session_SUITE,domain_admin_count_sessions_story,4,
      [{file,
         "/home/circleci/project/big_tests/tests/graphql_session_SUITE.erl"},
       {line,174}]},
    {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,1794}]},
    {test_server,run_test_case_eval1,6,
      [{file,"test_server.erl"},{line,1303}]},
    {test_server,run_test_case_eval,9,
      [{file,"test_server.erl"},{line,1235}]}]}}

Report log

graphql_session_SUITE:domain_admin_session:admin_kick_user_session
{error,
  {function_clause,
    [{graphql_helper,get_error,
       [1,
        {{<<"200">>,<<"OK">>},
         #{<<"data">> =>
           #{<<"session">> =>
               #{<<"kickUserSession">> =>
                 #{<<"code">> => null,
                   <<"jid">> =>
                     <<"[email protected]/res1">>,
                   <<"kicked">> => true,
                   <<"message">> => <<"Session kicked">>}}}}}],
       []},
     {graphql_helper,get_err_msg,2,
       [{file,
          "/home/circleci/project/big_tests/tests/graphql_helper.erl"},
        {line,229}]},
     {graphql_session_SUITE,admin_kick_user_session_story,3,
       [{file,
          "/home/circleci/project/big_tests/tests/graphql_session_SUITE.erl"},
        {line,441}]},
     {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,1794}]},
     {test_server,run_test_case_eval1,6,
       [{file,"test_server.erl"},{line,1303}]},
     {test_server,run_test_case_eval,9,
       [{file,"test_server.erl"},{line,1235}]}]}}

Report log

graphql_stats_SUITE:admin_stats_http:admin_stats_domain_test
{error,{{assertMatch,[{module,graphql_stats_SUITE},
            {line,104},
            {expression,"Result1"},
            {pattern,"# { << \"registeredUsers\" >> := 0 , << \"onlineUsers\" >> := 0 }"},
            {value,#{<<"onlineUsers">> => 1,
                 <<"registeredUsers">> => 0}}]},
    [{graphql_stats_SUITE,admin_stats_domain_test,1,
                [{file,"/home/circleci/project/big_tests/tests/graphql_stats_SUITE.erl"},
                 {line,104}]},
     {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1794}]},
     {test_server,run_test_case_eval1,6,
            [{file,"test_server.erl"},{line,1303}]},
     {test_server,run_test_case_eval,9,
            [{file,"test_server.erl"},{line,1235}]}]}}

Report log

graphql_stats_SUITE:admin_stats_http:admin_stats_domain_with_users_test
{error,{{assertMatch,[{module,graphql_stats_SUITE},
            {line,113},
            {expression,"Result1"},
            {pattern,"# { << \"registeredUsers\" >> := 1 , << \"onlineUsers\" >> := 1 }"},
            {value,#{<<"onlineUsers">> => 2,
                 <<"registeredUsers">> => 1}}]},
    [{graphql_stats_SUITE,admin_stats_domain_with_users_test,2,
                [{file,"/home/circleci/project/big_tests/tests/graphql_stats_SUITE.erl"},
                 {line,113}]},
     {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,1794}]},
     {test_server,run_test_case_eval1,6,
            [{file,"test_server.erl"},{line,1303}]},
     {test_server,run_test_case_eval,9,
            [{file,"test_server.erl"},{line,1235}]}]}}

Report log

graphql_stats_SUITE:admin_stats_cli:admin_stats_global_test
{error,{{assertEqual,[{module,graphql_stats_SUITE},
            {line,82},
            {expression,"OnlineUsersNode"},
            {expected,0},
            {value,3}]},
    [{graphql_stats_SUITE,admin_stats_global_test,1,
                [{file,"/home/circleci/project/big_tests/tests/graphql_stats_SUITE.erl"},
                 {line,82}]},
     {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1794}]},
     {test_server,run_test_case_eval1,6,
            [{file,"test_server.erl"},{line,1303}]},
     {test_server,run_test_case_eval,9,
            [{file,"test_server.erl"},{line,1235}]}]}}

Report log

graphql_stats_SUITE:admin_stats_cli:admin_stats_global_with_users_test
{error,{{assertEqual,[{module,graphql_stats_SUITE},
            {line,97},
            {expression,"OnlineUsersNode"},
            {expected,1},
            {value,4}]},
    [{graphql_stats_SUITE,admin_stats_global_with_users_test,2,
                [{file,"/home/circleci/project/big_tests/tests/graphql_stats_SUITE.erl"},
                 {line,97}]},
     {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,1794}]},
     {test_server,run_test_case_eval1,6,
            [{file,"test_server.erl"},{line,1303}]},
     {test_server,run_test_case_eval,9,
            [{file,"test_server.erl"},{line,1235}]}]}}

Report log

graphql_stats_SUITE:admin_stats_cli:admin_stats_domain_test
{error,{{assertMatch,[{module,graphql_stats_SUITE},
            {line,104},
            {expression,"Result1"},
            {pattern,"# { << \"registeredUsers\" >> := 0 , << \"onlineUsers\" >> := 0 }"},
            {value,#{<<"onlineUsers">> => 4,
                 <<"registeredUsers">> => 0}}]},
    [{graphql_stats_SUITE,admin_stats_domain_test,1,
                [{file,"/home/circleci/project/big_tests/tests/graphql_stats_SUITE.erl"},
                 {line,104}]},
     {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1794}]},
     {test_server,run_test_case_eval1,6,
            [{file,"test_server.erl"},{line,1303}]},
     {test_server,run_test_case_eval,9,
            [{file,"test_server.erl"},{line,1235}]}]}}

Report log

graphql_stats_SUITE:admin_stats_cli:admin_stats_domain_with_users_test
{error,{{assertMatch,[{module,graphql_stats_SUITE},
            {line,113},
            {expression,"Result1"},
            {pattern,"# { << \"registeredUsers\" >> := 1 , << \"onlineUsers\" >> := 1 }"},
            {value,#{<<"onlineUsers">> => 2,
                 <<"registeredUsers">> => 1}}]},
    [{graphql_stats_SUITE,admin_stats_domain_with_users_test,2,
                [{file,"/home/circleci/project/big_tests/tests/graphql_stats_SUITE.erl"},
                 {line,113}]},
     {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,1794}]},
     {test_server,run_test_case_eval1,6,
            [{file,"test_server.erl"},{line,1303}]},
     {test_server,run_test_case_eval,9,
            [{file,"test_server.erl"},{line,1235}]}]}}

Report log

graphql_stats_SUITE:domain_admin_stats:admin_stats_domain_test
{error,{{assertMatch,[{module,graphql_stats_SUITE},
            {line,104},
            {expression,"Result1"},
            {pattern,"# { << \"registeredUsers\" >> := 0 , << \"onlineUsers\" >> := 0 }"},
            {value,#{<<"onlineUsers">> => 3,
                 <<"registeredUsers">> => 0}}]},
    [{graphql_stats_SUITE,admin_stats_domain_test,1,
                [{file,"/home/circleci/project/big_tests/tests/graphql_stats_SUITE.erl"},
                 {line,104}]},
     {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1794}]},
     {test_server,run_test_case_eval1,6,
            [{file,"test_server.erl"},{line,1303}]},
     {test_server,run_test_case_eval,9,
            [{file,"test_server.erl"},{line,1235}]}]}}

Report log

graphql_stats_SUITE:domain_admin_stats:admin_stats_domain_with_users_test
{error,{{assertMatch,[{module,graphql_stats_SUITE},
            {line,113},
            {expression,"Result1"},
            {pattern,"# { << \"registeredUsers\" >> := 1 , << \"onlineUsers\" >> := 1 }"},
            {value,#{<<"onlineUsers">> => 4,
                 <<"registeredUsers">> => 1}}]},
    [{graphql_stats_SUITE,admin_stats_domain_with_users_test,2,
                [{file,"/home/circleci/project/big_tests/tests/graphql_stats_SUITE.erl"},
                 {line,113}]},
     {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,1794}]},
     {test_server,run_test_case_eval1,6,
            [{file,"test_server.erl"},{line,1303}]},
     {test_server,run_test_case_eval,9,
            [{file,"test_server.erl"},{line,1235}]}]}}

Report log

last_SUITE:valid_queries:last_offline_user
{error,{{badmatch,false},
    [{last_SUITE,'-last_offline_user/1-fun-0-',2,
           [{file,"/home/circleci/project/big_tests/tests/last_SUITE.erl"},
            {line,145}]},
     {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,1794}]},
     {test_server,run_test_case_eval1,6,
            [{file,"test_server.erl"},{line,1303}]},
     {test_server,run_test_case_eval,9,
            [{file,"test_server.erl"},{line,1235}]}]}}

Report log

metrics_session_SUITE:session_global:session_global
{error,{test_case_failed,"Incorrect number of instrumentation events - matched: 0, expected: positive"}}

Report log

metrics_session_SUITE:end_per_suite
{error,{test_case_failed,"Instrumentation events that were logged, but not tested:\n[{sm_node_sessions,#{}},{sm_total_sessions,#{}},{sm_unique_sessions,#{}}]\nYou need to test them with instrument_helper:assert/3"}}

Report log

metrics_api_SUITE:metrics:one_client_just_logs_in
{error,{{unexpected_values,'sm_session.logouts',
               [{2993,2992},{2993,2992},{2993,2992},{2993,2992}]},
    [{metrics_api_SUITE,assert_counter_inc,4,
              [{file,"/home/circleci/project/big_tests/tests/metrics_api_SUITE.erl"},
               {line,461}]},
     {metrics_api_SUITE,'-instrumented_story/4-lc$^0/1-0-',3,
              [{file,"/home/circleci/project/big_tests/tests/metrics_api_SUITE.erl"},
               {line,357}]},
     {metrics_api_SUITE,instrumented_story,4,
              [{file,"/home/circleci/project/big_tests/tests/metrics_api_SUITE.erl"},
               {line,358}]},
     {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1794}]},
     {test_server,run_test_case_eval1,6,
            [{file,"test_server.erl"},{line,1303}]},
     {test_server,run_test_case_eval,9,
            [{file,"test_server.erl"},{line,1235}]}]}}

Report log

metrics_api_SUITE:metrics:two_clients_just_log_in
{error,{{unexpected_values,'sm_session.logouts',
               [{2994,2992},{2994,2992},{2994,2992},{2994,2992}]},
    [{metrics_api_SUITE,assert_counter_inc,4,
              [{file,"/home/circleci/project/big_tests/tests/metrics_api_SUITE.erl"},
               {line,461}]},
     {metrics_api_SUITE,'-instrumented_story/4-lc$^0/1-0-',3,
              [{file,"/home/circleci/project/big_tests/tests/metrics_api_SUITE.erl"},
               {line,357}]},
     {metrics_api_SUITE,instrumented_story,4,
              [{file,"/home/circleci/project/big_tests/tests/metrics_api_SUITE.erl"},
               {line,358}]},
     {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1794}]},
     {test_server,run_test_case_eval1,6,
            [{file,"test_server.erl"},{line,1303}]},
     {test_server,run_test_case_eval,9,
            [{file,"test_server.erl"},{line,1235}]}]}}

Report log

metrics_api_SUITE:all_metrics_are_global:one_client_just_logs_in
{error,{{unexpected_values,'sm_session.logouts',[{1,0},{1,0}]},
    [{metrics_api_SUITE,assert_counter_inc,4,
              [{file,"/home/circleci/project/big_tests/tests/metrics_api_SUITE.erl"},
               {line,461}]},
     {metrics_api_SUITE,'-instrumented_story/4-lc$^0/1-0-',3,
              [{file,"/home/circleci/project/big_tests/tests/metrics_api_SUITE.erl"},
               {line,357}]},
     {metrics_api_SUITE,instrumented_story,4,
              [{file,"/home/circleci/project/big_tests/tests/metrics_api_SUITE.erl"},
               {line,358}]},
     {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1794}]},
     {test_server,run_test_case_eval1,6,
            [{file,"test_server.erl"},{line,1303}]},
     {test_server,run_test_case_eval,9,
            [{file,"test_server.erl"},{line,1235}]}]}}

Report log

2 errors were truncated

Copy link

codecov bot commented Dec 6, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 85.38%. Comparing base (3b5713a) to head (381a483).
Report is 5 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4423      +/-   ##
==========================================
- Coverage   85.38%   85.38%   -0.01%     
==========================================
  Files         549      549              
  Lines       33861    33863       +2     
==========================================
  Hits        28913    28913              
- Misses       4948     4950       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@mongoose-im
Copy link
Collaborator

mongoose-im commented Dec 9, 2024

elasticsearch_and_cassandra_27 / elasticsearch_and_cassandra_mnesia / 79c9d49
Reports root/ big
OK: 473 / Failed: 0 / User-skipped: 49 / Auto-skipped: 0


small_tests_26 / small_tests / 79c9d49
Reports root / small


small_tests_27 / small_tests / 79c9d49
Reports root / small


small_tests_27_arm64 / small_tests / 79c9d49
Reports root / small


ldap_mnesia_26 / ldap_mnesia / 79c9d49
Reports root/ big
OK: 2352 / Failed: 0 / User-skipped: 912 / Auto-skipped: 0


dynamic_domains_mysql_redis_27 / mysql_redis / 79c9d49
Reports root/ big
OK: 4724 / Failed: 0 / User-skipped: 154 / Auto-skipped: 0


ldap_mnesia_27 / ldap_mnesia / 79c9d49
Reports root/ big
OK: 2352 / Failed: 0 / User-skipped: 912 / Auto-skipped: 0


internal_mnesia_27 / internal_mnesia / 79c9d49
Reports root/ big
OK: 2493 / Failed: 1 / User-skipped: 770 / Auto-skipped: 0

pubsub_SUITE:tree+basic:request_particular_item_test
{error,{{badmatch,false},
    [{pubsub_tools,check_response,2,
             [{file,"/home/circleci/project/big_tests/tests/pubsub_tools.erl"},
            {line,444}]},
     {pubsub_tools,receive_response,3,
             [{file,"/home/circleci/project/big_tests/tests/pubsub_tools.erl"},
            {line,434}]},
     {pubsub_tools,receive_and_check_response,4,
             [{file,"/home/circleci/project/big_tests/tests/pubsub_tools.erl"},
            {line,424}]},
     {pubsub_SUITE,'-request_particular_item_test/1-fun-0-',2,
             [{file,"/home/circleci/project/big_tests/tests/pubsub_SUITE.erl"},
            {line,574}]},
     {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,1794}]},
     {test_server,run_test_case_eval1,6,
            [{file,"test_server.erl"},{line,1303}]},
     {test_server,run_test_case_eval,9,
            [{file,"test_server.erl"},{line,1235}]}]}}

Report log


dynamic_domains_pgsql_mnesia_26 / pgsql_mnesia / 79c9d49
Reports root/ big
OK: 4759 / Failed: 0 / User-skipped: 119 / Auto-skipped: 0


dynamic_domains_pgsql_mnesia_27 / pgsql_mnesia / 79c9d49
Reports root/ big
OK: 4759 / Failed: 0 / User-skipped: 119 / Auto-skipped: 0


dynamic_domains_mssql_mnesia_27 / odbc_mssql_mnesia / 79c9d49
Reports root/ big
OK: 4754 / Failed: 0 / User-skipped: 124 / Auto-skipped: 0


pgsql_cets_27 / pgsql_cets / 79c9d49
Reports root/ big
OK: 4849 / Failed: 0 / User-skipped: 188 / Auto-skipped: 0


mysql_redis_27 / mysql_redis / 79c9d49
Reports root/ big
OK: 5129 / Failed: 0 / User-skipped: 149 / Auto-skipped: 0


mssql_mnesia_27 / odbc_mssql_mnesia / 79c9d49
Reports root/ big
OK: 5145 / Failed: 0 / User-skipped: 133 / Auto-skipped: 0


cockroachdb_cets_27 / cockroachdb_cets / 79c9d49
Reports root/ big
OK: 4849 / Failed: 0 / User-skipped: 188 / Auto-skipped: 0


pgsql_mnesia_27 / pgsql_mnesia / 79c9d49
Reports root/ big
OK: 5150 / Failed: 0 / User-skipped: 128 / Auto-skipped: 0


pgsql_mnesia_26 / pgsql_mnesia / 79c9d49
Reports root/ big
OK: 5150 / Failed: 0 / User-skipped: 128 / Auto-skipped: 0


internal_mnesia_27 / internal_mnesia / 79c9d49
Reports root/ big
OK: 117 / Failed: 0 / User-skipped: 2 / Auto-skipped: 0

@gustawlippa gustawlippa force-pushed the carboncopy-flaky-race branch from 79c9d49 to e9885f1 Compare December 11, 2024 11:54
First, remove the session using ejabberd_sm, so that stanzas are not routed to
the terminating user. Only after that send the `unavailable` stanza.
@gustawlippa gustawlippa force-pushed the carboncopy-flaky-race branch from e9885f1 to 381a483 Compare December 11, 2024 11:56
@mongoose-im
Copy link
Collaborator

mongoose-im commented Dec 11, 2024

elasticsearch_and_cassandra_27 / elasticsearch_and_cassandra_mnesia / 381a483
Reports root/ big
OK: 472 / Failed: 0 / User-skipped: 49 / Auto-skipped: 0


small_tests_26 / small_tests / 381a483
Reports root / small


small_tests_27 / small_tests / 381a483
Reports root / small


small_tests_27_arm64 / small_tests / 381a483
Reports root / small


ldap_mnesia_26 / ldap_mnesia / 381a483
Reports root/ big
OK: 1119 / Failed: 14 / User-skipped: 479 / Auto-skipped: 1653

graphql_server_SUITE:admin_http:clustering_http_tests:remove_dead_from_cluster_http
{error,{{wait_for_start_mim3,true,[{times,100,false}],undefined},
    [{wait_helper,do_wait_until,1,
            [{file,"/home/circleci/project/big_tests/_build/default/lib/wait_helper/src/wait_helper.erl"},
             {line,127}]},
     {graphql_server_SUITE,remove_dead_from_cluster_http,1,
                 [{file,"/home/circleci/project/big_tests/tests/graphql_server_SUITE.erl"},
                {line,272}]},
     {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1793}]},
     {test_server,run_test_case_eval1,6,
            [{file,"test_server.erl"},{line,1302}]},
     {test_server,run_test_case_eval,9,
            [{file,"test_server.erl"},{line,1234}]}]}}

Report log

graphql_server_SUITE:admin_http:clustering_http_tests:remove_alive_from_cluster_http
{error,{{badrpc,timeout},
    [{distributed_helper,rpc,
               [#{timeout => 60000,
                node => mongooseim3@localhost},
                mongoose_cluster,join,
                [mongooseim@localhost]],
               [{file,"/home/circleci/project/big_tests/../test/common/distributed_helper.erl"},
                {line,140}]},
     {graphql_server_SUITE,remove_alive_from_cluster_http,1,
                 [{file,"/home/circleci/project/big_tests/tests/graphql_server_SUITE.erl"},
                {line,283}]},
     {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1793}]},
     {test_server,run_test_case_eval1,6,
            [{file,"test_server.erl"},{line,1302}]},
     {test_server,run_test_case_eval,9,
            [{file,"test_server.erl"},{line,1234}]}]}}

Report log

graphql_server_SUITE:admin_http:clustering_http_tests:remove_node_test
{error,{{badmatch,{error,econnrefused}},
    [{rest_helper,fusco_request,7,
            [{file,"/home/circleci/project/big_tests/tests/rest_helper.erl"},
             {line,191}]},
     {rest_helper,make_request,1,
            [{file,"/home/circleci/project/big_tests/tests/rest_helper.erl"},
             {line,114}]},
     {rest_helper,make_request,1,
            [{file,"/home/circleci/project/big_tests/tests/rest_helper.erl"},
             {line,121}]},
     {graphql_server_SUITE,remove_node_test,1,
                 [{file,"/home/circleci/project/big_tests/tests/graphql_server_SUITE.erl"},
                {line,225}]},
     {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1793}]},
     {test_server,run_test_case_eval1,6,
            [{file,"test_server.erl"},{line,1302}]},
     {test_server,run_test_case_eval,9,
            [{file,"test_server.erl"},{line,1234}]}]}}

Report log

graphql_server_SUITE:admin_http:clustering_http_tests:stop_node_test
{error,{{badmatch,{error,econnrefused}},
    [{rest_helper,fusco_request,7,
            [{file,"/home/circleci/project/big_tests/tests/rest_helper.erl"},
             {line,191}]},
     {rest_helper,make_request,1,
            [{file,"/home/circleci/project/big_tests/tests/rest_helper.erl"},
             {line,114}]},
     {rest_helper,make_request,1,
            [{file,"/home/circleci/project/big_tests/tests/rest_helper.erl"},
             {line,121}]},
     {graphql_server_SUITE,stop_node_test,1,
                 [{file,"/home/circleci/project/big_tests/tests/graphql_server_SUITE.erl"},
                {line,230}]},
     {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1793}]},
     {test_server,run_test_case_eval1,6,
            [{file,"test_server.erl"},{line,1302}]},
     {test_server,run_test_case_eval,9,
            [{file,"test_server.erl"},{line,1234}]}]}}

Report log

graphql_server_SUITE:admin_cli:clustering_tests:join_successful
{error,{#{what => invalid_response_code,
      response_code => {exit_status,1},
      expected_type => ok},
    [{graphql_helper,assert_response_code,2,
             [{file,"/home/circleci/project/big_tests/tests/graphql_helper.erl"},
              {line,258}]},
     {graphql_helper,get_ok_value,2,
             [{file,"/home/circleci/project/big_tests/tests/graphql_helper.erl"},
              {line,241}]},
     {graphql_server_SUITE,join_successful,1,
                 [{file,"/home/circleci/project/big_tests/tests/graphql_server_SUITE.erl"},
                {line,153}]},
     {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1793}]},
     {test_server,run_test_case_eval1,6,
            [{file,"test_server.erl"},{line,1302}]},
     {test_server,run_test_case_eval,9,
            [{file,"test_server.erl"},{line,1234}]}]}}

Report log

graphql_server_SUITE:admin_cli:clustering_tests:leave_successful
{error,{#{what => invalid_response_code,
      response_code => {exit_status,1},
      expected_type => ok},
    [{graphql_helper,assert_response_code,2,
             [{file,"/home/circleci/project/big_tests/tests/graphql_helper.erl"},
              {line,258}]},
     {graphql_helper,get_ok_value,2,
             [{file,"/home/circleci/project/big_tests/tests/graphql_helper.erl"},
              {line,241}]},
     {graphql_server_SUITE,leave_successful,1,
                 [{file,"/home/circleci/project/big_tests/tests/graphql_server_SUITE.erl"},
                {line,159}]},
     {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1793}]},
     {test_server,run_test_case_eval1,6,
            [{file,"test_server.erl"},{line,1302}]},
     {test_server,run_test_case_eval,9,
            [{file,"test_server.erl"},{line,1234}]}]}}

Report log

graphql_server_SUITE:admin_cli:clustering_tests:join_unsuccessful
{error,{{verify_result,[],
             [{times,20,
                 [{#{node => mongooseim2@localhost},
                 [mongooseim2@localhost,mongooseim@localhost],
                 false},
                {#{node => mongooseim@localhost},
                 [mongooseim@localhost,mongooseim2@localhost],
                 false}]}],
             undefined},
    [{wait_helper,do_wait_until,1,
            [{file,"/home/circleci/project/big_tests/_build/default/lib/wait_helper/src/wait_helper.erl"},
             {line,127}]},
     {distributed_helper,verify_result,2,
               [{file,"/home/circleci/project/big_tests/../test/common/distributed_helper.erl"},
                {line,72}]},
     {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1793}]},
     {test_server,run_test_case_eval1,6,
            [{file,"test_server.erl"},{line,1302}]},
     {test_server,run_test_case_eval,9,
            [{file,"test_server.erl"},{line,1234}]}]}}

Report log

graphql_server_SUITE:admin_cli:clustering_tests:leave_but_no_cluster
{error,{{verify_result,[],
             [{times,20,
                 [{#{node => mongooseim2@localhost},
                 [mongooseim2@localhost,mongooseim@localhost],
                 false},
                {#{node => mongooseim@localhost},
                 [mongooseim@localhost,mongooseim2@localhost],
                 false}]}],
             undefined},
    [{wait_helper,do_wait_until,1,
            [{file,"/home/circleci/project/big_tests/_build/default/lib/wait_helper/src/wait_helper.erl"},
             {line,127}]},
     {distributed_helper,verify_result,2,
               [{file,"/home/circleci/project/big_tests/../test/common/distributed_helper.erl"},
                {line,72}]},
     {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1793}]},
     {test_server,run_test_case_eval1,6,
            [{file,"test_server.erl"},{line,1302}]},
     {test_server,run_test_case_eval,9,
            [{file,"test_server.erl"},{line,1234}]}]}}

Report log

graphql_server_SUITE:admin_cli:clustering_tests:join_twice
{error,{#{what => invalid_response_code,
      response_code => {exit_status,1},
      expected_type => ok},
    [{graphql_helper,assert_response_code,2,
             [{file,"/home/circleci/project/big_tests/tests/graphql_helper.erl"},
              {line,258}]},
     {graphql_helper,get_ok_value,2,
             [{file,"/home/circleci/project/big_tests/tests/graphql_helper.erl"},
              {line,241}]},
     {graphql_server_SUITE,join_twice,1,
                 [{file,"/home/circleci/project/big_tests/tests/graphql_server_SUITE.erl"},
                {line,174}]},
     {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1793}]},
     {test_server,run_test_case_eval1,6,
            [{file,"test_server.erl"},{line,1302}]},
     {test_server,run_test_case_eval,9,
            [{file,"test_server.erl"},{line,1234}]}]}}

Report log

graphql_server_SUITE:admin_cli:clustering_tests:leave_twice
{error,{#{what => invalid_response_code,
      response_code => {exit_status,1},
      expected_type => ok},
    [{graphql_helper,assert_response_code,2,
             [{file,"/home/circleci/project/big_tests/tests/graphql_helper.erl"},
              {line,258}]},
     {graphql_helper,get_ok_value,2,
             [{file,"/home/circleci/project/big_tests/tests/graphql_helper.erl"},
              {line,241}]},
     {graphql_server_SUITE,leave_twice,1,
                 [{file,"/home/circleci/project/big_tests/tests/graphql_server_SUITE.erl"},
                {line,181}]},
     {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1793}]},
     {test_server,run_test_case_eval1,6,
            [{file,"test_server.erl"},{line,1302}]},
     {test_server,run_test_case_eval,9,
            [{file,"test_server.erl"},{line,1234}]}]}}

Report log

graphql_server_SUITE:admin_cli:clustering_tests:remove_dead_from_cluster
{error,{{badrpc,timeout},
    [{distributed_helper,rpc,
               [#{timeout => 60000,
                node => mongooseim3@localhost},
                mongoose_cluster,join,
                [mongooseim@localhost]],
               [{file,"/home/circleci/project/big_tests/../test/common/distributed_helper.erl"},
                {line,140}]},
     {graphql_server_SUITE,remove_dead_from_cluster,1,
                 [{file,"/home/circleci/project/big_tests/tests/graphql_server_SUITE.erl"},
                {line,192}]},
     {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1793}]},
     {test_server,run_test_case_eval1,6,
            [{file,"test_server.erl"},{line,1302}]},
     {test_server,run_test_case_eval,9,
            [{file,"test_server.erl"},{line,1234}]}]}}

Report log

graphql_server_SUITE:admin_cli:clustering_tests:remove_alive_from_cluster
{error,{{badrpc,timeout},
    [{distributed_helper,rpc,
               [#{timeout => 60000,
                node => mongooseim3@localhost},
                mongoose_cluster,join,
                [mongooseim@localhost]],
               [{file,"/home/circleci/project/big_tests/../test/common/distributed_helper.erl"},
                {line,140}]},
     {graphql_server_SUITE,remove_alive_from_cluster,1,
                 [{file,"/home/circleci/project/big_tests/tests/graphql_server_SUITE.erl"},
                {line,214}]},
     {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1793}]},
     {test_server,run_test_case_eval1,6,
            [{file,"test_server.erl"},{line,1302}]},
     {test_server,run_test_case_eval,9,
            [{file,"test_server.erl"},{line,1234}]}]}}

Report log

graphql_server_SUITE:admin_cli:clustering_tests:remove_node_test
{error,{#{what => invalid_response_code,
      response_code => {exit_status,3},
      expected_type => ok},
    [{graphql_helper,assert_response_code,2,
             [{file,"/home/circleci/project/big_tests/tests/graphql_helper.erl"},
              {line,258}]},
     {graphql_helper,get_ok_value,2,
             [{file,"/home/circleci/project/big_tests/tests/graphql_helper.erl"},
              {line,241}]},
     {graphql_server_SUITE,remove_node_test,1,
                 [{file,"/home/circleci/project/big_tests/tests/graphql_server_SUITE.erl"},
                {line,225}]},
     {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1793}]},
     {test_server,run_test_case_eval1,6,
            [{file,"test_server.erl"},{line,1302}]},
     {test_server,run_test_case_eval,9,
            [{file,"test_server.erl"},{line,1234}]}]}}

Report log

graphql_server_SUITE:admin_cli:clustering_tests:stop_node_test
{error,{#{what => invalid_response_code,
      response_code => {exit_status,3},
      expected_type => ok},
    [{graphql_helper,assert_response_code,2,
             [{file,"/home/circleci/project/big_tests/tests/graphql_helper.erl"},
              {line,258}]},
     {graphql_helper,get_ok_value,2,
             [{file,"/home/circleci/project/big_tests/tests/graphql_helper.erl"},
              {line,241}]},
     {graphql_server_SUITE,stop_node_test,1,
                 [{file,"/home/circleci/project/big_tests/tests/graphql_server_SUITE.erl"},
                {line,230}]},
     {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1793}]},
     {test_server,run_test_case_eval1,6,
            [{file,"test_server.erl"},{line,1302}]},
     {test_server,run_test_case_eval,9,
            [{file,"test_server.erl"},{line,1234}]}]}}

Report log

graphql_metric_SUITE:init_per_suite
{fail,[{validate_node_failed,mongooseim_not_running,mongooseim3@localhost}]}

Report log

jingle_SUITE:init_per_suite
{fail,[{validate_node_failed,mongooseim_not_running,mongooseim3@localhost}]}

Report log

last_SUITE:init_per_suite
{fail,[{validate_node_failed,mongooseim_not_running,mongooseim3@localhost}]}

Report log

login_SUITE:init_per_suite
{fail,[{validate_node_failed,mongooseim_not_running,mongooseim3@localhost}]}

Report log

mam_proper_SUITE:init_per_suite
{fail,[{validate_node_failed,mongooseim_not_running,mongooseim3@localhost}]}

Report log

mam_send_message_SUITE:init_per_suite
{fail,[{validate_node_failed,mongooseim_not_running,mongooseim3@localhost}]}

Report log

metrics_api_SUITE:init_per_suite
{fail,[{validate_node_failed,mongooseim_not_running,mongooseim3@localhost}]}

Report log

metrics_c2s_SUITE:init_per_suite
{fail,[{validate_node_failed,mongooseim_not_running,mongooseim3@localhost}]}

Report log

metrics_roster_SUITE:init_per_suite
{fail,[{validate_node_failed,mongooseim_not_running,mongooseim3@localhost}]}

Report log

metrics_session_SUITE:init_per_suite
{fail,[{validate_node_failed,mongooseim_not_running,mongooseim3@localhost}]}

Report log

mod_blocking_SUITE:init_per_suite
{fail,[{validate_node_failed,mongooseim_not_running,mongooseim3@localhost}]}

Report log

57 errors were truncated


ldap_mnesia_27 / ldap_mnesia / 381a483
Reports root/ big
OK: 2353 / Failed: 0 / User-skipped: 912 / Auto-skipped: 0


dynamic_domains_mysql_redis_27 / mysql_redis / 381a483
Reports root/ big
OK: 4726 / Failed: 0 / User-skipped: 154 / Auto-skipped: 0


dynamic_domains_pgsql_mnesia_27 / pgsql_mnesia / 381a483
Reports root/ big
OK: 4761 / Failed: 0 / User-skipped: 119 / Auto-skipped: 0


internal_mnesia_27 / internal_mnesia / 381a483
Reports root/ big
OK: 2495 / Failed: 0 / User-skipped: 770 / Auto-skipped: 0


dynamic_domains_pgsql_mnesia_26 / pgsql_mnesia / 381a483
Reports root/ big
OK: 4761 / Failed: 0 / User-skipped: 119 / Auto-skipped: 0


dynamic_domains_mssql_mnesia_27 / odbc_mssql_mnesia / 381a483
Reports root/ big
OK: 4756 / Failed: 0 / User-skipped: 124 / Auto-skipped: 0


pgsql_cets_27 / pgsql_cets / 381a483
Reports root/ big
OK: 4850 / Failed: 0 / User-skipped: 188 / Auto-skipped: 0


mysql_redis_27 / mysql_redis / 381a483
Reports root/ big
OK: 5130 / Failed: 0 / User-skipped: 149 / Auto-skipped: 0


pgsql_mnesia_27 / pgsql_mnesia / 381a483
Reports root/ big
OK: 5151 / Failed: 0 / User-skipped: 128 / Auto-skipped: 0


pgsql_mnesia_26 / pgsql_mnesia / 381a483
Reports root/ big
OK: 5151 / Failed: 0 / User-skipped: 128 / Auto-skipped: 0


cockroachdb_cets_27 / cockroachdb_cets / 381a483
Reports root/ big
OK: 4939 / Failed: 7 / User-skipped: 189 / Auto-skipped: 0

pubsub_SUITE:dag+basic:publish_test
{error,
  {timeout_when_waiting_for_stanza,
    [{escalus_client,wait_for_stanza,
       [{client,<<"alice_publish_test_2986@localhost/res1">>,
          escalus_tcp,<0.108273.0>,
          [{event_manager,<0.108132.0>},
           {server,<<"localhost">>},
           {username,<<"alicE_publish_test_2986">>},
           {resource,<<"res1">>}],
          [{event_client,
             [{event_manager,<0.108132.0>},
            {server,<<"localhost">>},
            {username,<<"alicE_publish_test_2986">>},
            {resource,<<"res1">>}]},
           {resource,<<"res1">>},
           {username,<<"alice_publish_test_2986">>},
           {server,<<"localhost">>},
           {host,<<"localhost">>},
           {port,5222},
           {auth,{escalus_auth,auth_plain}},
           {wspath,undefined},
           {username,<<"alicE_publish_test_2986">>},
           {server,<<"localhost">>},
           {password,<<"matygrysa">>},
           {stream_id,<<"dddee2321885405a">>}]},
        5000],
       [{file,
          "/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
        {line,136}]},
     {pubsub_tools,receive_response,3,
       [{file,"/home/circleci/project/big_tests/tests/pubsub_tools.erl"},
        {line,433}]},
     {pubsub_tools,receive_and_check_response,4,
       [{file,"/home/circleci/project/big_tests/tests/pubsub_tools.erl"},
        {line,424}]},
     {pubsub_SUITE,'-publish_test/1-fun-0-',1,
       [{file,"/home/circleci/project/big_...

Report log

pubsub_SUITE:dag+basic:create_node_errors_test
{error,
  {timeout_when_waiting_for_stanza,
    [{escalus_client,wait_for_stanza,
       [{client,
          <<"alice_create_node_errors_test_3003@localhost/res1">>,
          escalus_tcp,<0.108723.0>,
          [{event_manager,<0.108558.0>},
           {server,<<"localhost">>},
           {username,<<"alicE_create_node_errors_test_3003">>},
           {resource,<<"res1">>}],
          [{event_client,
             [{event_manager,<0.108558.0>},
            {server,<<"localhost">>},
            {username,<<"alicE_create_node_errors_test_3003">>},
            {resource,<<"res1">>}]},
           {resource,<<"res1">>},
           {username,<<"alice_create_node_errors_test_3003">>},
           {server,<<"localhost">>},
           {host,<<"localhost">>},
           {port,5222},
           {auth,{escalus_auth,auth_plain}},
           {wspath,undefined},
           {username,<<"alicE_create_node_errors_test_3003">>},
           {server,<<"localhost">>},
           {password,<<"matygrysa">>},
           {stream_id,<<"b102f8ae3202477d">>}]},
        5000],
       [{file,
          "/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
        {line,136}]},
     {pubsub_tools,receive_response,3,
       [{file,"/home/circleci/project/big_tests/tests/pubsub_tools.erl"},
        {line,433}]},
     {pubsub_tools,receive_and_check_response,4,
       [{file,"/home/circleci/project/big_tests/tests/pubsub_tools.erl"},
        {line,424}]},
     {escalus_story,sto...

Report log

pubsub_SUITE:dag+basic:purge_all_items_test
{error,
  {timeout_when_waiting_for_stanza,
    [{escalus_client,wait_for_stanza,
       [{client,<<"alice_purge_all_items_test_3019@localhost/res1">>,
          escalus_tcp,<0.108772.0>,
          [{event_manager,<0.108702.0>},
           {server,<<"localhost">>},
           {username,<<"alicE_purge_all_items_test_3019">>},
           {resource,<<"res1">>}],
          [{event_client,
             [{event_manager,<0.108702.0>},
            {server,<<"localhost">>},
            {username,<<"alicE_purge_all_items_test_3019">>},
            {resource,<<"res1">>}]},
           {resource,<<"res1">>},
           {username,<<"alice_purge_all_items_test_3019">>},
           {server,<<"localhost">>},
           {host,<<"localhost">>},
           {port,5222},
           {auth,{escalus_auth,auth_plain}},
           {wspath,undefined},
           {username,<<"alicE_purge_all_items_test_3019">>},
           {server,<<"localhost">>},
           {password,<<"matygrysa">>},
           {stream_id,<<"7f6fa038e6589bff">>}]},
        5000],
       [{file,
          "/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
        {line,136}]},
     {pubsub_tools,receive_response,3,
       [{file,"/home/circleci/project/big_tests/tests/pubsub_tools.erl"},
        {line,433}]},
     {pubsub_tools,receive_and_check_response,4,
       [{file,"/home/circleci/project/big_tests/tests/pubsub_tools.erl"},
        {line,424}]},
     {pubsub_SUITE,'-purge_all_items_test/1-fun-0...

Report log

pubsub_SUITE:dag+basic:retract_test
{error,
  {timeout_when_waiting_for_stanza,
    [{escalus_client,wait_for_stanza,
       [{client,<<"alice_retract_test_3036@localhost/res1">>,
          escalus_tcp,<0.109216.0>,
          [{event_manager,<0.109133.0>},
           {server,<<"localhost">>},
           {username,<<"alicE_retract_test_3036">>},
           {resource,<<"res1">>}],
          [{event_client,
             [{event_manager,<0.109133.0>},
            {server,<<"localhost">>},
            {username,<<"alicE_retract_test_3036">>},
            {resource,<<"res1">>}]},
           {resource,<<"res1">>},
           {username,<<"alice_retract_test_3036">>},
           {server,<<"localhost">>},
           {host,<<"localhost">>},
           {port,5222},
           {auth,{escalus_auth,auth_plain}},
           {wspath,undefined},
           {username,<<"alicE_retract_test_3036">>},
           {server,<<"localhost">>},
           {password,<<"matygrysa">>},
           {stream_id,<<"d91e3132e491588c">>}]},
        5000],
       [{file,
          "/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
        {line,136}]},
     {pubsub_tools,receive_response,3,
       [{file,"/home/circleci/project/big_tests/tests/pubsub_tools.erl"},
        {line,433}]},
     {pubsub_tools,receive_and_check_response,4,
       [{file,"/home/circleci/project/big_tests/tests/pubsub_tools.erl"},
        {line,424}]},
     {escalus_story,story,4,
       [{file,
          "/home/circleci/project/big_tests/_...

Report log

pubsub_SUITE:dag+basic:create_delete_node_test
{error,
  {timeout_when_waiting_for_stanza,
    [{escalus_client,wait_for_stanza,
       [{client,
          <<"alice_create_delete_node_test_3047@localhost/res1">>,
          escalus_tcp,<0.109634.0>,
          [{event_manager,<0.109504.0>},
           {server,<<"localhost">>},
           {username,<<"alicE_create_delete_node_test_3047">>},
           {resource,<<"res1">>}],
          [{event_client,
             [{event_manager,<0.109504.0>},
            {server,<<"localhost">>},
            {username,<<"alicE_create_delete_node_test_3047">>},
            {resource,<<"res1">>}]},
           {resource,<<"res1">>},
           {username,<<"alice_create_delete_node_test_3047">>},
           {server,<<"localhost">>},
           {host,<<"localhost">>},
           {port,5222},
           {auth,{escalus_auth,auth_plain}},
           {wspath,undefined},
           {username,<<"alicE_create_delete_node_test_3047">>},
           {server,<<"localhost">>},
           {password,<<"matygrysa">>},
           {stream_id,<<"640b2a3814aa5329">>}]},
        5000],
       [{file,
          "/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
        {line,136}]},
     {pubsub_tools,receive_response,3,
       [{file,"/home/circleci/project/big_tests/tests/pubsub_tools.erl"},
        {line,433}]},
     {pubsub_tools,receive_and_check_response,4,
       [{file,"/home/circleci/project/big_tests/tests/pubsub_tools.erl"},
        {line,424}]},
     {escalus_story,sto...

Report log

pubsub_SUITE:dag+node_config:disable_payload_test
{error,
  {timeout_when_waiting_for_stanza,
    [{escalus_client,wait_for_stanza,
       [{client,<<"alice_disable_payload_test_3091@localhost/res1">>,
          escalus_tcp,<0.110459.0>,
          [{event_manager,<0.110433.0>},
           {server,<<"localhost">>},
           {username,<<"alicE_disable_payload_test_3091">>},
           {resource,<<"res1">>}],
          [{event_client,
             [{event_manager,<0.110433.0>},
            {server,<<"localhost">>},
            {username,<<"alicE_disable_payload_test_3091">>},
            {resource,<<"res1">>}]},
           {resource,<<"res1">>},
           {username,<<"alice_disable_payload_test_3091">>},
           {server,<<"localhost">>},
           {host,<<"localhost">>},
           {port,5222},
           {auth,{escalus_auth,auth_plain}},
           {wspath,undefined},
           {username,<<"alicE_disable_payload_test_3091">>},
           {server,<<"localhost">>},
           {password,<<"matygrysa">>},
           {stream_id,<<"a153f994b4e47915">>}]},
        5000],
       [{file,
          "/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
        {line,136}]},
     {pubsub_tools,receive_response,3,
       [{file,"/home/circleci/project/big_tests/tests/pubsub_tools.erl"},
        {line,433}]},
     {pubsub_tools,receive_and_check_response,4,
       [{file,"/home/circleci/project/big_tests/tests/pubsub_tools.erl"},
        {line,424}]},
     {escalus_story,story,4,
       [{file,
     ...

Report log

pubsub_SUITE:dag+manage_subscriptions:modify_node_subscriptions_test
{error,
  {timeout_when_waiting_for_stanza,
    [{escalus_client,wait_for_stanza,
       [{client,
          <<"alice_modify_node_subscriptions_test_3111@localhost/res1">>,
          escalus_tcp,<0.110954.0>,
          [{event_manager,<0.110931.0>},
           {server,<<"localhost">>},
           {username,<<"alicE_modify_node_subscriptions_test_3111">>},
           {resource,<<"res1">>}],
          [{event_client,
             [{event_manager,<0.110931.0>},
            {server,<<"localhost">>},
            {username,
              <<"alicE_modify_node_subscriptions_test_3111">>},
            {resource,<<"res1">>}]},
           {resource,<<"res1">>},
           {username,<<"alice_modify_node_subscriptions_test_3111">>},
           {server,<<"localhost">>},
           {host,<<"localhost">>},
           {port,5222},
           {auth,{escalus_auth,auth_plain}},
           {wspath,undefined},
           {username,<<"alicE_modify_node_subscriptions_test_3111">>},
           {server,<<"localhost">>},
           {password,<<"matygrysa">>},
           {stream_id,<<"2f6ede4e48b77faa">>}]},
        5000],
       [{file,
          "/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
        {line,136}]},
     {pubsub_tools,receive_response,3,
       [{file,"/home/circleci/project/big_tests/tests/pubsub_tools.erl"},
        {line,433}]},
     {pubsub_tools,receive_and_check_response,4,
       [{file,"/home/circleci/project/big_tests/tests/pubsub_tools.er...

Report log


mssql_mnesia_27 / odbc_mssql_mnesia / 381a483
Reports root/ big
OK: 5146 / Failed: 0 / User-skipped: 133 / Auto-skipped: 0


ldap_mnesia_26 / ldap_mnesia / 381a483
Reports root/ big
OK: 19 / Failed: 3 / User-skipped: 0 / Auto-skipped: 0

graphql_server_SUITE:admin_cli:clustering_tests:remove_dead_from_cluster
{failed,
  {graphql_server_SUITE,end_per_testcase,
    {'EXIT',
      {{badrpc,timeout},
       [{distributed_helper,rpc,
          [#{timeout => 30000,node => mongooseim2@localhost},
           mongoose_cluster,leave,[]],
          [{file,
             "/home/circleci/project/big_tests/../test/common/distributed_helper.erl"},
           {line,140}]},
        {distributed_helper,remove_node_from_cluster,2,
          [{file,
             "/home/circleci/project/big_tests/../test/common/distributed_helper.erl"},
           {line,55}]},
        {graphql_server_SUITE,end_per_testcase,2,
          [{file,
             "/home/circleci/project/big_tests/tests/graphql_server_SUITE.erl"},
           {line,120}]},
        {test_server,do_end_per_testcase,4,
          [{file,"test_server.erl"},{line,1637}]},
        {test_server,run_test_case_eval1,6,
          [{file,"test_server.erl"},{line,1345}]},
        {test_server,run_test_case_eval,9,
          [{file,"test_server.erl"},{line,1234}]}]}}}}

Report log

graphql_server_SUITE:admin_cli:clustering_tests:remove_alive_from_cluster
{error,{{badrpc,timeout},
    [{distributed_helper,rpc,
               [#{timeout => 60000,
                node => mongooseim2@localhost},
                mongoose_cluster,join,
                [mongooseim@localhost]],
               [{file,"/home/circleci/project/big_tests/../test/common/distributed_helper.erl"},
                {line,140}]},
     {graphql_server_SUITE,remove_alive_from_cluster,1,
                 [{file,"/home/circleci/project/big_tests/tests/graphql_server_SUITE.erl"},
                {line,213}]},
     {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1793}]},
     {test_server,run_test_case_eval1,6,
            [{file,"test_server.erl"},{line,1302}]},
     {test_server,run_test_case_eval,9,
            [{file,"test_server.erl"},{line,1234}]}]}}

Report log

graphql_server_SUITE:admin_cli:clustering_tests:remove_node_test
{error,{#{expected_type => ok,
      response_code => {exit_status,3},
      what => invalid_response_code},
    [{graphql_helper,assert_response_code,2,
             [{file,"/home/circleci/project/big_tests/tests/graphql_helper.erl"},
              {line,258}]},
     {graphql_helper,get_ok_value,2,
             [{file,"/home/circleci/project/big_tests/tests/graphql_helper.erl"},
              {line,241}]},
     {graphql_server_SUITE,remove_node_test,1,
                 [{file,"/home/circleci/project/big_tests/tests/graphql_server_SUITE.erl"},
                {line,225}]},
     {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1793}]},
     {test_server,run_test_case_eval1,6,
            [{file,"test_server.erl"},{line,1302}]},
     {test_server,run_test_case_eval,9,
            [{file,"test_server.erl"},{line,1234}]}]}}

Report log

graphql_server_SUITE:admin_cli:clustering_tests:stop_node_test
{error,{#{expected_type => ok,
      response_code => {exit_status,3},
      what => invalid_response_code},
    [{graphql_helper,assert_response_code,2,
             [{file,"/home/circleci/project/big_tests/tests/graphql_helper.erl"},
              {line,258}]},
     {graphql_helper,get_ok_value,2,
             [{file,"/home/circleci/project/big_tests/tests/graphql_helper.erl"},
              {line,241}]},
     {graphql_server_SUITE,stop_node_test,1,
                 [{file,"/home/circleci/project/big_tests/tests/graphql_server_SUITE.erl"},
                {line,230}]},
     {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1793}]},
     {test_server,run_test_case_eval1,6,
            [{file,"test_server.erl"},{line,1302}]},
     {test_server,run_test_case_eval,9,
            [{file,"test_server.erl"},{line,1234}]}]}}

Report log


ldap_mnesia_26 / ldap_mnesia / 381a483
Reports root/ big
OK: 5 / Failed: 4 / User-skipped: 0 / Auto-skipped: 13

graphql_server_SUITE:admin_http:clustering_http_tests:join_successful_http
{error,{{verify_result,[],
             [{times,20,
                 [{#{node => mongooseim2@localhost},
                 [mongooseim@localhost],
                 true},
                {#{node => mongooseim@localhost},
                 [mongooseim2@localhost],
                 true}]}],
             undefined},
    [{wait_helper,do_wait_until,1,
            [{file,"/home/circleci/project/big_tests/_build/default/lib/wait_helper/src/wait_helper.erl"},
             {line,127}]},
     {distributed_helper,verify_result,2,
               [{file,"/home/circleci/project/big_tests/../test/common/distributed_helper.erl"},
                {line,72}]},
     {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1793}]},
     {test_server,run_test_case_eval1,6,
            [{file,"test_server.erl"},{line,1302}]},
     {test_server,run_test_case_eval,9,
            [{file,"test_server.erl"},{line,1234}]}]}}

Report log

graphql_server_SUITE:admin_http:clustering_http_tests:leave_successful_http
{error,{{badmatch,{error,econnrefused}},
    [{rest_helper,fusco_request,7,
            [{file,"/home/circleci/project/big_tests/tests/rest_helper.erl"},
             {line,191}]},
     {rest_helper,make_request,1,
            [{file,"/home/circleci/project/big_tests/tests/rest_helper.erl"},
             {line,114}]},
     {rest_helper,make_request,1,
            [{file,"/home/circleci/project/big_tests/tests/rest_helper.erl"},
             {line,121}]},
     {graphql_server_SUITE,leave_successful_http,1,
                 [{file,"/home/circleci/project/big_tests/tests/graphql_server_SUITE.erl"},
                {line,245}]},
     {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1793}]},
     {test_server,run_test_case_eval1,6,
            [{file,"test_server.erl"},{line,1302}]},
     {test_server,run_test_case_eval,9,
            [{file,"test_server.erl"},{line,1234}]}]}}

Report log

graphql_server_SUITE:admin_http:clustering_http_tests:remove_dead_from_cluster_http
{error,
  {{badrpc,
     {'EXIT',
       {{add_table_copy_error,
          {{vcard,disc_only_copies},
           {aborted,
             {system_limit,vcard,
               {mongooseim2@localhost,none_active}}}},
          {{vcard,disc_only_copies},
           {aborted,
             {system_limit,vcard,
               {mongooseim2@localhost,none_active}}}}},
        [{mongoose_cluster,check_if_successful_copied,1,
           [{file,"/home/circleci/project/src/mongoose_cluster.erl"},
          {line,142}]},
         {lists,foreach_1,2,[{file,"lists.erl"},{line,1686}]},
         {mongoose_cluster,unsafe_join,2,
           [{file,"/home/circleci/project/src/mongoose_cluster.erl"},
          {line,122}]},
         {mongoose_cluster,with_app_stopped,2,
           [{file,"/home/circleci/project/src/mongoose_cluster.erl"},
          {line,219}]},
         {global,trans,4,[{file,"global.erl"},{line,477}]},
         {mongoose_cluster,join,1,[]}]}}},
   [{distributed_helper,rpc,
      [#{timeout => 60000,node => mongooseim2@localhost},
       mongoose_cluster,join,
       [mongooseim@localhost]],
      [{file,
         "/home/circleci/project/big_tests/../test/common/distributed_helper.erl"},
       {line,140}]},
    {graphql_server_SUITE,remove_dead_from_cluster_http,1,
      [{file,
         "/home/circleci/project/big_tests/tests/graphql_server_SUITE.erl"},
       {line,256}]},
    {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1793}]},
    {test_server,run_test_case_eval1,6,
 ...

Report log

graphql_server_SUITE:admin_http:clustering_http_tests:remove_alive_from_cluster_http
{error,
  {{badrpc,
     {'EXIT',
       {{add_table_copy_error,
          {{vcard,disc_only_copies},
           {aborted,
             {system_limit,vcard,
               {mongooseim2@localhost,none_active}}}},
          {{vcard,disc_only_copies},
           {aborted,
             {system_limit,vcard,
               {mongooseim2@localhost,none_active}}}}},
        [{mongoose_cluster,check_if_successful_copied,1,
           [{file,"/home/circleci/project/src/mongoose_cluster.erl"},
          {line,142}]},
         {lists,foreach_1,2,[{file,"lists.erl"},{line,1686}]},
         {mongoose_cluster,unsafe_join,2,
           [{file,"/home/circleci/project/src/mongoose_cluster.erl"},
          {line,122}]},
         {mongoose_cluster,with_app_stopped,2,
           [{file,"/home/circleci/project/src/mongoose_cluster.erl"},
          {line,219}]},
         {global,trans,4,[{file,"global.erl"},{line,477}]},
         {mongoose_cluster,join,1,[]}]}}},
   [{distributed_helper,rpc,
      [#{timeout => 60000,node => mongooseim2@localhost},
       mongoose_cluster,join,
       [mongooseim@localhost]],
      [{file,
         "/home/circleci/project/big_tests/../test/common/distributed_helper.erl"},
       {line,140}]},
    {graphql_server_SUITE,remove_alive_from_cluster_http,1,
      [{file,
         "/home/circleci/project/big_tests/tests/graphql_server_SUITE.erl"},
       {line,282}]},
    {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1793}]},
    {test_server,run_test_case_eval1,6,
...

Report log

graphql_server_SUITE:admin_cli:init_per_group
{'EXIT',
  {{badrpc,
     {'EXIT',
       {noproc,{gen_server,call,[admin_schema_ep,get_endpoint_ctx]}}}},
   [{distributed_helper,rpc,
      [#{node => mongooseim@localhost},
       mongoose_graphql_commands,build_specs,
       [admin]],
      [{file,
         "/home/circleci/project/big_tests/../test/common/distributed_helper.erl"},
       {line,140}]},
    {graphql_helper,add_specs,1,
      [{file,"/home/circleci/project/big_tests/tests/graphql_helper.erl"},
       {line,183}]},
    {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1793}]},
    {test_server,run_test_case_eval1,6,
      [{file,"test_server.erl"},{line,1390}]},
    {test_server,run_test_case_eval,9,
      [{file,"test_server.erl"},{line,1234}]}]}}

Report log


ldap_mnesia_26 / ldap_mnesia / 381a483
Reports root/ big
OK: 22 / Failed: 0 / User-skipped: 0 / Auto-skipped: 0

@gustawlippa gustawlippa changed the title WIP Fix dropped_client_doesnt_create_duplicate_carbons flaky test Fix dropped_client_doesnt_create_duplicate_carbons flaky test Dec 11, 2024
@gustawlippa gustawlippa marked this pull request as ready for review December 11, 2024 15:10
Copy link
Collaborator

@jacekwegr jacekwegr left a comment

Choose a reason for hiding this comment

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

Looks good to me! 👍

@jacekwegr jacekwegr merged commit 91cdfa1 into master Dec 12, 2024
18 of 23 checks passed
@jacekwegr jacekwegr deleted the carboncopy-flaky-race branch December 12, 2024 13:12
NelsonVides added a commit that referenced this pull request Dec 17, 2024
Unflake the`dropped_client_doesnt_create_duplicate_carbons` test

The description of #4423 was not entirely correct, and this PR should unlflake the tests for good. The reason why the tests are changed, and not the implementation is because the underlying race condition is a bit tricky to fix elegantly.

mod_carboncopy:remove_connection is a handler for the unset_presence hook, and it removes CC state from the ejabberd_sm info field in the session record. This is however done in an async manner by the C2S process, and when the user terminates, the request is never handled. This doesn't matter much, as the user process exits shortly, and is removed from ejabberd_sm altogether. However, if they receives a message in this short time, CC might run, and see the process still with the CC state in the ejabberd_sm info field. This results in a CC copy sent on behalf of this exiting process. Since a fix would be overly complicated, and to proceed with unflaking the tests, the test will now wait for C2S process exit.
@jacekwegr jacekwegr added this to the 6.3.1 milestone Dec 23, 2024
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.

3 participants