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

Simplify time-unit convertions #3405

Merged
merged 1 commit into from
Nov 17, 2021
Merged

Conversation

NelsonVides
Copy link
Collaborator

Just do one single time conversion here.

Copy link
Contributor

@gustawlippa gustawlippa left a comment

Choose a reason for hiding this comment

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

Cool! 👍

@codecov
Copy link

codecov bot commented Nov 17, 2021

Codecov Report

Merging #3405 (2b1b7f7) into master (149d75c) will increase coverage by 20.25%.
The diff coverage is 100.00%.

Impacted file tree graph

@@             Coverage Diff             @@
##           master    #3405       +/-   ##
===========================================
+ Coverage   60.65%   80.90%   +20.25%     
===========================================
  Files         414      414               
  Lines       32403    32436       +33     
===========================================
+ Hits        19653    26243     +6590     
+ Misses      12750     6193     -6557     
Impacted Files Coverage Δ
src/inbox/mod_inbox_entries.erl 96.66% <100.00%> (+96.66%) ⬆️
src/ejabberd_ctl.erl 16.72% <0.00%> (-0.11%) ⬇️
src/pubsub/node_flat.erl 74.20% <0.00%> (-0.10%) ⬇️
src/config/mongoose_config_spec.erl 98.55% <0.00%> (+<0.01%) ⬆️
src/pubsub/mod_pubsub_db_mnesia.erl 92.43% <0.00%> (+0.03%) ⬆️
src/muc_light/mod_muc_light_room.erl 93.82% <0.00%> (+0.07%) ⬆️
src/mod_revproxy.erl 86.70% <0.00%> (+0.08%) ⬆️
src/pubsub/mod_pubsub.erl 73.13% <0.00%> (+0.11%) ⬆️
src/mongoose_scram.erl 72.22% <0.00%> (+0.31%) ⬆️
src/mod_muc_log.erl 78.11% <0.00%> (+0.36%) ⬆️
... and 168 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 149d75c...2b1b7f7. Read the comment docs.

@mongoose-im
Copy link
Collaborator

mongoose-im commented Nov 17, 2021

small_tests_24 / small_tests / 2b1b7f7
Reports root / small


internal_mnesia_24 / internal_mnesia / 2b1b7f7
Reports root/ big
OK: 1587 / Failed: 0 / User-skipped: 297 / Auto-skipped: 0


small_tests_23 / small_tests / 2b1b7f7
Reports root / small


dynamic_domains_pgsql_mnesia_24 / pgsql_mnesia / 2b1b7f7
Reports root/ big
OK: 2722 / Failed: 0 / User-skipped: 186 / Auto-skipped: 0


dynamic_domains_mysql_redis_24 / mysql_redis / 2b1b7f7
Reports root/ big
OK: 2711 / Failed: 1 / User-skipped: 203 / Auto-skipped: 0

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

Report log


dynamic_domains_mssql_mnesia_24 / odbc_mssql_mnesia / 2b1b7f7
Reports root/ big
OK: 2722 / Failed: 0 / User-skipped: 186 / Auto-skipped: 0


ldap_mnesia_24 / ldap_mnesia / 2b1b7f7
Reports root/ big
OK: 1514 / Failed: 0 / User-skipped: 370 / Auto-skipped: 0


dynamic_domains_pgsql_mnesia_23 / pgsql_mnesia / 2b1b7f7
Reports root/ big
OK: 2722 / Failed: 0 / User-skipped: 186 / Auto-skipped: 0


ldap_mnesia_23 / ldap_mnesia / 2b1b7f7
Reports root/ big
OK: 1514 / Failed: 0 / User-skipped: 370 / Auto-skipped: 0


pgsql_mnesia_24 / pgsql_mnesia / 2b1b7f7
Reports root/ big
OK: 3120 / Failed: 1 / User-skipped: 183 / Auto-skipped: 0

service_domain_db_SUITE:db:db_reinserted_from_one_node_while_service_disabled_on_another
{error,
  {{badmatch,{ok,<<"dbgroup2">>}},
   [{service_domain_db_SUITE,
      db_reinserted_from_one_node_while_service_disabled_on_another,1,
      [{file,
         "/home/circleci/app/big_tests/tests/service_domain_db_SUITE.erl"},
       {line,547}]},
    {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1783}]},
    {test_server,run_test_case_eval1,6,
      [{file,"test_server.erl"},{line,1292}]},
    {test_server,run_test_case_eval,9,
      [{file,"test_server.erl"},{line,1224}]}]}}

Report log


elasticsearch_and_cassandra_24 / elasticsearch_and_cassandra_mnesia / 2b1b7f7
Reports root/ big
OK: 1892 / Failed: 0 / User-skipped: 297 / Auto-skipped: 0


mysql_redis_24 / mysql_redis / 2b1b7f7
Reports root/ big
OK: 3104 / Failed: 0 / User-skipped: 200 / Auto-skipped: 0


pgsql_mnesia_23 / pgsql_mnesia / 2b1b7f7
Reports root/ big
OK: 3121 / Failed: 0 / User-skipped: 183 / Auto-skipped: 0


riak_mnesia_24 / riak_mnesia / 2b1b7f7
Reports root/ big
OK: 1766 / Failed: 1 / User-skipped: 298 / Auto-skipped: 0

sm_SUITE:parallel:messages_are_properly_flushed_during_resumption_p1_fsm_old
{error,
  {{badmatch,
     {error,
       {connection_step_failed,
         {#Fun<sm_SUITE.11.149602>,
          {client,
            <<"alicE_messages_are_properly_flushed_during_resumption_p1_fsm_old_67.245704@localhost">>,
            escalus_tcp,<0.23213.1>,undefined,
            [{username,
               <<"alicE_messages_are_properly_flushed_during_resumption_p1_fsm_old_67.245704">>},
             {server,<<"localhost">>},
             {password,<<"matygrysa">>},
             {stream_management,true},
             {host,<<"localhost">>},
             {stream_id,<<"0cc4aef8f5fa3f92">>}]},
          [{compression,[<<"zlib">>]},
           {starttls,true},
           {stream_management,true},
           {advanced_message_processing,true},
           {client_state_indication,false},
           {sasl_mechanisms,[<<"SCRAM-SHA-256">>,<<"PLAIN">>]},
           {caps,undefined}]},
         {timeout,get_resumed}}}},
   [{sm_SUITE,
      '-messages_are_properly_flushed_during_resumption_p1_fsm_old/1-fun-1-',
      3,
      [{file,"/home/circleci/app/big_tests/tests/sm_SUITE.erl"},
       {line,1270}]},
    {escalus_story,story,4,
      [{file,
         "/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
       {line,72}]},
    {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1783}]},
    {test_server,run_test_case_eval1,6,
      [{file,"test_server.erl"},{line,1292}]},
    {test_server,run_test_case_eval,9,
      [{file,"test_server.erl"},{line,1...

Report log


mssql_mnesia_24 / odbc_mssql_mnesia / 2b1b7f7
Reports root/ big
OK: 2805 / Failed: 42 / User-skipped: 174 / Auto-skipped: 453

mod_event_pusher_http_SUITE:with_prefix:simple_message_no_listener
{error,{thrown,{timeout,stream_end}}}

Report log

mod_global_distrib_SUITE:mod_global_distrib:test_component_disconnect
{error,
  {timeout_when_waiting_for_stanza,
    [{escalus_client,wait_for_stanza,
       [{client,
          <<"alicE_test_component_disconnect_20.280731@localhost/res1">>,
          escalus_tcp,<0.14606.1>,
          [{event_manager,<0.14602.1>},
           {server,<<"localhost">>},
           {username,<<"alicE_test_component_disconnect_20.280731">>},
           {resource,<<"res1">>}],
          [{event_client,
             [{event_manager,<0.14602.1>},
            {server,<<"localhost">>},
            {username,
              <<"alicE_test_component_disconnect_20.280731">>},
            {resource,<<"res1">>}]},
           {resource,<<"res1">>},
           {username,<<"alicE_test_component_disconnect_20.280731">>},
           {server,<<"localhost">>},
           {host,<<"localhost">>},
           {port,5222},
           {auth,{escalus_auth,auth_plain}},
           {wspath,undefined},
           {username,<<"alicE_test_component_disconnect_20.280731">>},
           {server,<<"localhost">>},
           {password,<<"matygrysa">>},
           {stream_id,<<"e931ae3bc78224c4">>}]},
        5000],
       [{file,
          "/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
        {line,136}]},
     {mod_global_distrib_SUITE,'-test_component_disconnect/1-fun-0-',2,
       [{file,
          "/home/circleci/app/big_tests/tests/mod_global_distrib_SUITE.erl"},
        {line,598}]},
     {escalus_story,story,4,
       [{file,
          "/home/circleci/app...

Report log

mod_global_distrib_SUITE:mod_global_distrib:test_pm_with_disconnection_on_other_server
{error,
  {timeout_when_waiting_for_stanza,
    [{escalus_client,wait_for_stanza,
       [{client,
          <<"alicE_test_pm_with_disconnection_on_other_server_36.48457@localhost/res1">>,
          escalus_tcp,<0.14786.1>,
          [{event_manager,<0.14782.1>},
           {server,<<"localhost">>},
           {username,
             <<"alicE_test_pm_with_disconnection_on_other_server_36.48457">>},
           {resource,<<"res1">>}],
          [{event_client,
             [{event_manager,<0.14782.1>},
            {server,<<"localhost">>},
            {username,
              <<"alicE_test_pm_with_disconnection_on_other_server_36.48457">>},
            {resource,<<"res1">>}]},
           {resource,<<"res1">>},
           {username,
             <<"alicE_test_pm_with_disconnection_on_other_server_36.48457">>},
           {server,<<"localhost">>},
           {host,<<"localhost">>},
           {port,5222},
           {auth,{escalus_auth,auth_plain}},
           {wspath,undefined},
           {username,
             <<"alicE_test_pm_with_disconnection_on_other_server_36.48457">>},
           {server,<<"localhost">>},
           {password,<<"matygrysa">>},
           {stream_id,<<"d2b657cb651be4b0">>}]},
        15000],
       [{file,
          "/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
        {line,136}]},
     {mod_global_distrib_SUITE,
       '-test_pm_with_disconnection_on_other_server/1-fun-0-',2,
       [{file,
          "/home/circleci...

Report log

mod_global_distrib_SUITE:mod_global_distrib:test_update_senders_host
{error,
  {timeout_when_waiting_for_stanza,
    [{escalus_client,wait_for_stanza,
       [{client,
          <<"eve_test_update_senders_host_58.613298@localhost/res1">>,
          escalus_tcp,<0.15193.1>,
          [{event_manager,<0.15188.1>},
           {server,<<"localhost">>},
           {username,<<"eve_test_update_senders_host_58.613298">>},
           {resource,<<"res1">>}],
          [{event_client,
             [{event_manager,<0.15188.1>},
            {server,<<"localhost">>},
            {username,
              <<"eve_test_update_senders_host_58.613298">>},
            {resource,<<"res1">>}]},
           {resource,<<"res1">>},
           {username,<<"eve_test_update_senders_host_58.613298">>},
           {server,<<"localhost">>},
           {host,<<"localhost">>},
           {port,5252},
           {auth,{escalus_auth,auth_plain}},
           {wspath,undefined},
           {username,<<"eve_test_update_senders_host_58.613298">>},
           {server,<<"localhost">>},
           {password,<<"password">>},
           {port,5252},
           {stream_id,<<"0296983187db6ec4">>}]},
        5000],
       [{file,
          "/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
        {line,136}]},
     {mod_global_distrib_SUITE,'-test_update_senders_host/1-fun-0-',2,
       [{file,
          "/home/circleci/app/big_tests/tests/mod_global_distrib_SUITE.erl"},
        {line,882}]},
     {escalus_story,story,4,
       [{file,
          "/home/circl...

Report log

mod_global_distrib_SUITE:mod_global_distrib:test_muc_conversation_on_one_host
{error,
  {timeout_when_waiting_for_stanza,
    [{escalus_client,wait_for_stanza,
       [{client,
          <<"alicE_test_muc_conversation_on_one_host_17.252844@localhost/res1">>,
          escalus_tcp,<0.15284.1>,
          [{event_manager,<0.15278.1>},
           {server,<<"localhost">>},
           {username,
             <<"alicE_test_muc_conversation_on_one_host_17.252844">>},
           {resource,<<"res1">>}],
          [{event_client,
             [{event_manager,<0.15278.1>},
            {server,<<"localhost">>},
            {username,
              <<"alicE_test_muc_conversation_on_one_host_17.252844">>},
            {resource,<<"res1">>}]},
           {resource,<<"res1">>},
           {username,
             <<"alicE_test_muc_conversation_on_one_host_17.252844">>},
           {server,<<"localhost">>},
           {host,<<"localhost">>},
           {port,5222},
           {auth,{escalus_auth,auth_plain}},
           {wspath,undefined},
           {username,
             <<"alicE_test_muc_conversation_on_one_host_17.252844">>},
           {server,<<"localhost">>},
           {password,<<"matygrysa">>},
           {stream_id,<<"ab3e75da8b5018a3">>}]},
        5000],
       [{file,
          "/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
        {line,136}]},
     {mod_global_distrib_SUITE,
       '-test_muc_conversation_on_one_host/1-fun-0-',3,
       [{file,
          "/home/circleci/app/big_tests/tests/mod_global_distrib_SUITE.erl"...

Report log

mod_global_distrib_SUITE:mod_global_distrib:test_component_disconnect
{error,
  {timeout_when_waiting_for_stanza,
    [{escalus_client,wait_for_stanza,
       [{client,
          <<"alicE_test_component_disconnect_24.824730@localhost/res1">>,
          escalus_tcp,<0.15565.1>,
          [{event_manager,<0.15561.1>},
           {server,<<"localhost">>},
           {username,<<"alicE_test_component_disconnect_24.824730">>},
           {resource,<<"res1">>}],
          [{event_client,
             [{event_manager,<0.15561.1>},
            {server,<<"localhost">>},
            {username,
              <<"alicE_test_component_disconnect_24.824730">>},
            {resource,<<"res1">>}]},
           {resource,<<"res1">>},
           {username,<<"alicE_test_component_disconnect_24.824730">>},
           {server,<<"localhost">>},
           {host,<<"localhost">>},
           {port,5222},
           {auth,{escalus_auth,auth_plain}},
           {wspath,undefined},
           {username,<<"alicE_test_component_disconnect_24.824730">>},
           {server,<<"localhost">>},
           {password,<<"matygrysa">>},
           {stream_id,<<"230cb494a48002f1">>}]},
        5000],
       [{file,
          "/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
        {line,136}]},
     {mod_global_distrib_SUITE,'-test_component_disconnect/1-fun-0-',2,
       [{file,
          "/home/circleci/app/big_tests/tests/mod_global_distrib_SUITE.erl"},
        {line,598}]},
     {escalus_story,story,4,
       [{file,
          "/home/circleci/app...

Report log

mod_global_distrib_SUITE:mod_global_distrib:test_component_on_one_host
{error,
  {{badmatch,0},
   [{escalus_story,drop_presences,2,
      [{file,
         "/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
       {line,191}]},
    {escalus_story,'-start_ready_clients/2-fun-0-',3,
      [{file,
         "/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
       {line,135}]},
    {lists,foldl,3,[{file,"lists.erl"},{line,1267}]},
    {escalus_story,start_ready_clients,2,
      [{file,
         "/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
       {line,128}]},
    {lists,flatmap,2,[{file,"lists.erl"},{line,1254}]},
    {escalus_story,story,4,
      [{file,
         "/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
       {line,69}]},
    {mod_global_distrib_SUITE,'-test_component_on_one_host/1-lc$^1/1-0-',3,
      [{file,
         "/home/circleci/app/big_tests/tests/mod_global_distrib_SUITE.erl"},
       {line,547}]},
    {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1783}]}]}}

Report log

mod_global_distrib_SUITE:mod_global_distrib:test_pm_with_disconnection_on_other_server
{error,
  {timeout_when_waiting_for_stanza,
    [{escalus_client,wait_for_stanza,
       [{client,
          <<"alicE_test_pm_with_disconnection_on_other_server_59.120187@localhost/res1">>,
          escalus_tcp,<0.15739.1>,
          [{event_manager,<0.15735.1>},
           {server,<<"localhost">>},
           {username,
             <<"alicE_test_pm_with_disconnection_on_other_server_59.120187">>},
           {resource,<<"res1">>}],
          [{event_client,
             [{event_manager,<0.15735.1>},
            {server,<<"localhost">>},
            {username,
              <<"alicE_test_pm_with_disconnection_on_other_server_59.120187">>},
            {resource,<<"res1">>}]},
           {resource,<<"res1">>},
           {username,
             <<"alicE_test_pm_with_disconnection_on_other_server_59.120187">>},
           {server,<<"localhost">>},
           {host,<<"localhost">>},
           {port,5222},
           {auth,{escalus_auth,auth_plain}},
           {wspath,undefined},
           {username,
             <<"alicE_test_pm_with_disconnection_on_other_server_59.120187">>},
           {server,<<"localhost">>},
           {password,<<"matygrysa">>},
           {stream_id,<<"35a5e573b97e33a4">>}]},
        15000],
       [{file,
          "/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
        {line,136}]},
     {mod_global_distrib_SUITE,
       '-test_pm_with_disconnection_on_other_server/1-fun-0-',2,
       [{file,
          "/home/cir...

Report log

mod_global_distrib_SUITE:mod_global_distrib:test_update_senders_host
{error,
  {timeout_when_waiting_for_stanza,
    [{escalus_client,wait_for_stanza,
       [{client,
          <<"eve_test_update_senders_host_76.807078@localhost/res1">>,
          escalus_tcp,<0.16163.1>,
          [{event_manager,<0.16158.1>},
           {server,<<"localhost">>},
           {username,<<"eve_test_update_senders_host_76.807078">>},
           {resource,<<"res1">>}],
          [{event_client,
             [{event_manager,<0.16158.1>},
            {server,<<"localhost">>},
            {username,
              <<"eve_test_update_senders_host_76.807078">>},
            {resource,<<"res1">>}]},
           {resource,<<"res1">>},
           {username,<<"eve_test_update_senders_host_76.807078">>},
           {server,<<"localhost">>},
           {host,<<"localhost">>},
           {port,5252},
           {auth,{escalus_auth,auth_plain}},
           {wspath,undefined},
           {username,<<"eve_test_update_senders_host_76.807078">>},
           {server,<<"localhost">>},
           {password,<<"password">>},
           {port,5252},
           {stream_id,<<"594e8355efe1817f">>}]},
        5000],
       [{file,
          "/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
        {line,136}]},
     {mod_global_distrib_SUITE,'-test_update_senders_host/1-fun-0-',2,
       [{file,
          "/home/circleci/app/big_tests/tests/mod_global_distrib_SUITE.erl"},
        {line,882}]},
     {escalus_story,story,4,
       [{file,
          "/home/circl...

Report log

mod_global_distrib_SUITE:mod_global_distrib:test_muc_conversation_on_one_host
{error,
  {timeout_when_waiting_for_stanza,
    [{escalus_client,wait_for_stanza,
       [{client,
          <<"alicE_test_muc_conversation_on_one_host_25.428785@localhost/res1">>,
          escalus_tcp,<0.16258.1>,
          [{event_manager,<0.16252.1>},
           {server,<<"localhost">>},
           {username,
             <<"alicE_test_muc_conversation_on_one_host_25.428785">>},
           {resource,<<"res1">>}],
          [{event_client,
             [{event_manager,<0.16252.1>},
            {server,<<"localhost">>},
            {username,
              <<"alicE_test_muc_conversation_on_one_host_25.428785">>},
            {resource,<<"res1">>}]},
           {resource,<<"res1">>},
           {username,
             <<"alicE_test_muc_conversation_on_one_host_25.428785">>},
           {server,<<"localhost">>},
           {host,<<"localhost">>},
           {port,5222},
           {auth,{escalus_auth,auth_plain}},
           {wspath,undefined},
           {username,
             <<"alicE_test_muc_conversation_on_one_host_25.428785">>},
           {server,<<"localhost">>},
           {password,<<"matygrysa">>},
           {stream_id,<<"9de7d4ae53b053ac">>}]},
        5000],
       [{file,
          "/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
        {line,136}]},
     {mod_global_distrib_SUITE,
       '-test_muc_conversation_on_one_host/1-fun-0-',3,
       [{file,
          "/home/circleci/app/big_tests/tests/mod_global_distrib_SUITE.erl"...

Report log

mod_global_distrib_SUITE:mod_global_distrib:test_component_disconnect
{error,
  {timeout_when_waiting_for_stanza,
    [{escalus_client,wait_for_stanza,
       [{client,
          <<"alicE_test_component_disconnect_32.951618@localhost/res1">>,
          escalus_tcp,<0.16532.1>,
          [{event_manager,<0.16528.1>},
           {server,<<"localhost">>},
           {username,<<"alicE_test_component_disconnect_32.951618">>},
           {resource,<<"res1">>}],
          [{event_client,
             [{event_manager,<0.16528.1>},
            {server,<<"localhost">>},
            {username,
              <<"alicE_test_component_disconnect_32.951618">>},
            {resource,<<"res1">>}]},
           {resource,<<"res1">>},
           {username,<<"alicE_test_component_disconnect_32.951618">>},
           {server,<<"localhost">>},
           {host,<<"localhost">>},
           {port,5222},
           {auth,{escalus_auth,auth_plain}},
           {wspath,undefined},
           {username,<<"alicE_test_component_disconnect_32.951618">>},
           {server,<<"localhost">>},
           {password,<<"matygrysa">>},
           {stream_id,<<"ce576a34cc1df3a2">>}]},
        5000],
       [{file,
          "/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
        {line,136}]},
     {mod_global_distrib_SUITE,'-test_component_disconnect/1-fun-0-',2,
       [{file,
          "/home/circleci/app/big_tests/tests/mod_global_distrib_SUITE.erl"},
        {line,598}]},
     {escalus_story,story,4,
       [{file,
          "/home/circleci/app...

Report log

mod_global_distrib_SUITE:mod_global_distrib:test_component_on_one_host
{error,
  {{badmatch,0},
   [{escalus_story,drop_presences,2,
      [{file,
         "/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
       {line,191}]},
    {escalus_story,'-start_ready_clients/2-fun-0-',3,
      [{file,
         "/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
       {line,135}]},
    {lists,foldl,3,[{file,"lists.erl"},{line,1267}]},
    {escalus_story,start_ready_clients,2,
      [{file,
         "/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
       {line,128}]},
    {lists,flatmap,2,[{file,"lists.erl"},{line,1254}]},
    {escalus_story,story,4,
      [{file,
         "/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
       {line,69}]},
    {mod_global_distrib_SUITE,'-test_component_on_one_host/1-lc$^1/1-0-',3,
      [{file,
         "/home/circleci/app/big_tests/tests/mod_global_distrib_SUITE.erl"},
       {line,547}]},
    {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1783}]}]}}

Report log

mod_global_distrib_SUITE:mod_global_distrib:test_pm_with_disconnection_on_other_server
{error,
  {timeout_when_waiting_for_stanza,
    [{escalus_client,wait_for_stanza,
       [{client,
          <<"alicE_test_pm_with_disconnection_on_other_server_64.202628@localhost/res1">>,
          escalus_tcp,<0.16699.1>,
          [{event_manager,<0.16695.1>},
           {server,<<"localhost">>},
           {username,
             <<"alicE_test_pm_with_disconnection_on_other_server_64.202628">>},
           {resource,<<"res1">>}],
          [{event_client,
             [{event_manager,<0.16695.1>},
            {server,<<"localhost">>},
            {username,
              <<"alicE_test_pm_with_disconnection_on_other_server_64.202628">>},
            {resource,<<"res1">>}]},
           {resource,<<"res1">>},
           {username,
             <<"alicE_test_pm_with_disconnection_on_other_server_64.202628">>},
           {server,<<"localhost">>},
           {host,<<"localhost">>},
           {port,5222},
           {auth,{escalus_auth,auth_plain}},
           {wspath,undefined},
           {username,
             <<"alicE_test_pm_with_disconnection_on_other_server_64.202628">>},
           {server,<<"localhost">>},
           {password,<<"matygrysa">>},
           {stream_id,<<"9ac9810f49deb86b">>}]},
        15000],
       [{file,
          "/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
        {line,136}]},
     {mod_global_distrib_SUITE,
       '-test_pm_with_disconnection_on_other_server/1-fun-0-',2,
       [{file,
          "/home/cir...

Report log

mod_global_distrib_SUITE:mod_global_distrib:test_update_senders_host
{error,
  {timeout_when_waiting_for_stanza,
    [{escalus_client,wait_for_stanza,
       [{client,
          <<"eve_test_update_senders_host_81.685335@localhost/res1">>,
          escalus_tcp,<0.17126.1>,
          [{event_manager,<0.17121.1>},
           {server,<<"localhost">>},
           {username,<<"eve_test_update_senders_host_81.685335">>},
           {resource,<<"res1">>}],
          [{event_client,
             [{event_manager,<0.17121.1>},
            {server,<<"localhost">>},
            {username,
              <<"eve_test_update_senders_host_81.685335">>},
            {resource,<<"res1">>}]},
           {resource,<<"res1">>},
           {username,<<"eve_test_update_senders_host_81.685335">>},
           {server,<<"localhost">>},
           {host,<<"localhost">>},
           {port,5252},
           {auth,{escalus_auth,auth_plain}},
           {wspath,undefined},
           {username,<<"eve_test_update_senders_host_81.685335">>},
           {server,<<"localhost">>},
           {password,<<"password">>},
           {port,5252},
           {stream_id,<<"683fdfed8dd266a4">>}]},
        5000],
       [{file,
          "/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
        {line,136}]},
     {mod_global_distrib_SUITE,'-test_update_senders_host/1-fun-0-',2,
       [{file,
          "/home/circleci/app/big_tests/tests/mod_global_distrib_SUITE.erl"},
        {line,882}]},
     {escalus_story,story,4,
       [{file,
          "/home/circl...

Report log

mod_global_distrib_SUITE:multi_connection:test_in_order_messages_on_multiple_connections
{error,
  {timeout_when_waiting_for_stanza,
    [{escalus_client,wait_for_stanza,
       [{client,
          <<"eve_test_in_order_messages_on_multiple_connections_85.806591@localhost/res1">>,
          escalus_tcp,<0.17864.1>,
          [{event_manager,<0.17859.1>},
           {server,<<"localhost">>},
           {username,
             <<"eve_test_in_order_messages_on_multiple_connections_85.806591">>},
           {resource,<<"res1">>}],
          [{event_client,
             [{event_manager,<0.17859.1>},
            {server,<<"localhost">>},
            {username,
              <<"eve_test_in_order_messages_on_multiple_connections_85.806591">>},
            {resource,<<"res1">>}]},
           {resource,<<"res1">>},
           {username,
             <<"eve_test_in_order_messages_on_multiple_connections_85.806591">>},
           {server,<<"localhost">>},
           {host,<<"localhost">>},
           {port,5252},
           {auth,{escalus_auth,auth_plain}},
           {wspath,undefined},
           {username,
             <<"eve_test_in_order_messages_on_multiple_connections_85.806591">>},
           {server,<<"localhost">>},
           {password,<<"password">>},
           {port,5252},
           {stream_id,<<"48d4c30a458d3eef">>}]},
        5000],
       [{file,
          "/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
        {line,136}]},
     {mod_global_distrib_SUITE,
       '-test_in_order_messages_on_multiple_connections/1-fun-1-',2,...

Report log

mod_global_distrib_SUITE:multi_connection:test_in_order_messages_on_multiple_connections_with_bounce
{error,
  {timeout_when_waiting_for_stanza,
    [{escalus_client,wait_for_stanza,
       [{client,
          <<"eve_test_in_order_messages_on_multiple_connections_with_bounce_93.975568@localhost/res1">>,
          escalus_tcp,<0.18329.1>,
          [{event_manager,<0.18324.1>},
           {server,<<"localhost">>},
           {username,
             <<"eve_test_in_order_messages_on_multiple_connections_with_bounce_93.975568">>},
           {resource,<<"res1">>}],
          [{event_client,
             [{event_manager,<0.18324.1>},
            {server,<<"localhost">>},
            {username,
              <<"eve_test_in_order_messages_on_multiple_connections_with_bounce_93.975568">>},
            {resource,<<"res1">>}]},
           {resource,<<"res1">>},
           {username,
             <<"eve_test_in_order_messages_on_multiple_connections_with_bounce_93.975568">>},
           {server,<<"localhost">>},
           {host,<<"localhost">>},
           {port,5252},
           {auth,{escalus_auth,auth_plain}},
           {wspath,undefined},
           {username,
             <<"eve_test_in_order_messages_on_multiple_connections_with_bounce_93.975568">>},
           {server,<<"localhost">>},
           {password,<<"password">>},
           {port,5252},
           {stream_id,<<"52b719360741f54c">>}]},
        5000],
       [{file,
          "/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
        {line,136}]},
     {mod_global_distrib_SUITE,
       '...

Report log

mod_global_distrib_SUITE:multi_connection:test_messages_bounced_in_order
{error,
  {timeout_when_waiting_for_stanza,
    [{escalus_client,wait_for_stanza,
       [{client,
          <<"eve_test_messages_bounced_in_order_3.133338@localhost/res1">>,
          escalus_tcp,<0.19204.1>,
          [{event_manager,<0.19199.1>},
           {server,<<"localhost">>},
           {username,
             <<"eve_test_messages_bounced_in_order_3.133338">>},
           {resource,<<"res1">>}],
          [{event_client,
             [{event_manager,<0.19199.1>},
            {server,<<"localhost">>},
            {username,
              <<"eve_test_messages_bounced_in_order_3.133338">>},
            {resource,<<"res1">>}]},
           {resource,<<"res1">>},
           {username,
             <<"eve_test_messages_bounced_in_order_3.133338">>},
           {server,<<"localhost">>},
           {host,<<"localhost">>},
           {port,5252},
           {auth,{escalus_auth,auth_plain}},
           {wspath,undefined},
           {username,
             <<"eve_test_messages_bounced_in_order_3.133338">>},
           {server,<<"localhost">>},
           {password,<<"password">>},
           {port,5252},
           {stream_id,<<"751773243db89005">>}]},
        5000],
       [{file,
          "/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
        {line,136}]},
     {mod_global_distrib_SUITE,
       '-test_messages_bounced_in_order/1-fun-2-',2,
       [{file,
          "/home/circleci/app/big_tests/tests/mod_global_distrib_SUITE.erl"},
       ...

Report log

mod_global_distrib_SUITE:multi_connection:test_in_order_messages_on_multiple_connections
{error,
  {timeout_when_waiting_for_stanza,
    [{escalus_client,wait_for_stanza,
       [{client,
          <<"eve_test_in_order_messages_on_multiple_connections_20.561796@localhost/res1">>,
          escalus_tcp,<0.21417.1>,
          [{event_manager,<0.21412.1>},
           {server,<<"localhost">>},
           {username,
             <<"eve_test_in_order_messages_on_multiple_connections_20.561796">>},
           {resource,<<"res1">>}],
          [{event_client,
             [{event_manager,<0.21412.1>},
            {server,<<"localhost">>},
            {username,
              <<"eve_test_in_order_messages_on_multiple_connections_20.561796">>},
            {resource,<<"res1">>}]},
           {resource,<<"res1">>},
           {username,
             <<"eve_test_in_order_messages_on_multiple_connections_20.561796">>},
           {server,<<"localhost">>},
           {host,<<"localhost">>},
           {port,5252},
           {auth,{escalus_auth,auth_plain}},
           {wspath,undefined},
           {username,
             <<"eve_test_in_order_messages_on_multiple_connections_20.561796">>},
           {server,<<"localhost">>},
           {password,<<"password">>},
           {port,5252},
           {stream_id,<<"304819007e26ba98">>}]},
        5000],
       [{file,
          "/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
        {line,136}]},
     {mod_global_distrib_SUITE,
       '-test_in_order_messages_on_multiple_connections/1-fun-1-',2,...

Report log

mod_global_distrib_SUITE:multi_connection:test_in_order_messages_on_multiple_connections_with_bounce
{error,
  {timeout_when_waiting_for_stanza,
    [{escalus_client,wait_for_stanza,
       [{client,
          <<"eve_test_in_order_messages_on_multiple_connections_with_bounce_43.963343@localhost/res1">>,
          escalus_tcp,<0.22122.1>,
          [{event_manager,<0.22117.1>},
           {server,<<"localhost">>},
           {username,
             <<"eve_test_in_order_messages_on_multiple_connections_with_bounce_43.963343">>},
           {resource,<<"res1">>}],
          [{event_client,
             [{event_manager,<0.22117.1>},
            {server,<<"localhost">>},
            {username,
              <<"eve_test_in_order_messages_on_multiple_connections_with_bounce_43.963343">>},
            {resource,<<"res1">>}]},
           {resource,<<"res1">>},
           {username,
             <<"eve_test_in_order_messages_on_multiple_connections_with_bounce_43.963343">>},
           {server,<<"localhost">>},
           {host,<<"localhost">>},
           {port,5252},
           {auth,{escalus_auth,auth_plain}},
           {wspath,undefined},
           {username,
             <<"eve_test_in_order_messages_on_multiple_connections_with_bounce_43.963343">>},
           {server,<<"localhost">>},
           {password,<<"password">>},
           {port,5252},
           {stream_id,<<"5d8bebcd2bd34c94">>}]},
        5000],
       [{file,
          "/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
        {line,136}]},
     {mod_global_distrib_SUITE,
       '...

Report log

mod_global_distrib_SUITE:multi_connection:test_messages_bounced_in_order
{error,
  {timeout_when_waiting_for_stanza,
    [{escalus_client,wait_for_stanza,
       [{client,
          <<"eve_test_messages_bounced_in_order_59.991272@localhost/res1">>,
          escalus_tcp,<0.22553.1>,
          [{event_manager,<0.22548.1>},
           {server,<<"localhost">>},
           {username,
             <<"eve_test_messages_bounced_in_order_59.991272">>},
           {resource,<<"res1">>}],
          [{event_client,
             [{event_manager,<0.22548.1>},
            {server,<<"localhost">>},
            {username,
              <<"eve_test_messages_bounced_in_order_59.991272">>},
            {resource,<<"res1">>}]},
           {resource,<<"res1">>},
           {username,
             <<"eve_test_messages_bounced_in_order_59.991272">>},
           {server,<<"localhost">>},
           {host,<<"localhost">>},
           {port,5252},
           {auth,{escalus_auth,auth_plain}},
           {wspath,undefined},
           {username,
             <<"eve_test_messages_bounced_in_order_59.991272">>},
           {server,<<"localhost">>},
           {password,<<"password">>},
           {port,5252},
           {stream_id,<<"eeb48a2465a602f6">>}]},
        5000],
       [{file,
          "/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
        {line,136}]},
     {mod_global_distrib_SUITE,
       '-test_messages_bounced_in_order/1-fun-2-',2,
       [{file,
          "/home/circleci/app/big_tests/tests/mod_global_distrib_SUITE.erl"},
  ...

Report log

mod_global_distrib_SUITE:multi_connection:test_in_order_messages_on_multiple_connections
{error,
  {timeout_when_waiting_for_stanza,
    [{escalus_client,wait_for_stanza,
       [{client,
          <<"eve_test_in_order_messages_on_multiple_connections_71.855677@localhost/res1">>,
          escalus_tcp,<0.23289.1>,
          [{event_manager,<0.23284.1>},
           {server,<<"localhost">>},
           {username,
             <<"eve_test_in_order_messages_on_multiple_connections_71.855677">>},
           {resource,<<"res1">>}],
          [{event_client,
             [{event_manager,<0.23284.1>},
            {server,<<"localhost">>},
            {username,
              <<"eve_test_in_order_messages_on_multiple_connections_71.855677">>},
            {resource,<<"res1">>}]},
           {resource,<<"res1">>},
           {username,
             <<"eve_test_in_order_messages_on_multiple_connections_71.855677">>},
           {server,<<"localhost">>},
           {host,<<"localhost">>},
           {port,5252},
           {auth,{escalus_auth,auth_plain}},
           {wspath,undefined},
           {username,
             <<"eve_test_in_order_messages_on_multiple_connections_71.855677">>},
           {server,<<"localhost">>},
           {password,<<"password">>},
           {port,5252},
           {stream_id,<<"e4072d4056714013">>}]},
        5000],
       [{file,
          "/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
        {line,136}]},
     {mod_global_distrib_SUITE,
       '-test_in_order_messages_on_multiple_connections/1-fun-1-',2,...

Report log

mod_global_distrib_SUITE:multi_connection:test_in_order_messages_on_multiple_connections_with_bounce
{error,
  {timeout_when_waiting_for_stanza,
    [{escalus_client,wait_for_stanza,
       [{client,
          <<"eve_test_in_order_messages_on_multiple_connections_with_bounce_78.528449@localhost/res1">>,
          escalus_tcp,<0.23418.1>,
          [{event_manager,<0.23413.1>},
           {server,<<"localhost">>},
           {username,
             <<"eve_test_in_order_messages_on_multiple_connections_with_bounce_78.528449">>},
           {resource,<<"res1">>}],
          [{event_client,
             [{event_manager,<0.23413.1>},
            {server,<<"localhost">>},
            {username,
              <<"eve_test_in_order_messages_on_multiple_connections_with_bounce_78.528449">>},
            {resource,<<"res1">>}]},
           {resource,<<"res1">>},
           {username,
             <<"eve_test_in_order_messages_on_multiple_connections_with_bounce_78.528449">>},
           {server,<<"localhost">>},
           {host,<<"localhost">>},
           {port,5252},
           {auth,{escalus_auth,auth_plain}},
           {wspath,undefined},
           {username,
             <<"eve_test_in_order_messages_on_multiple_connections_with_bounce_78.528449">>},
           {server,<<"localhost">>},
           {password,<<"password">>},
           {port,5252},
           {stream_id,<<"8d02424ea02a3487">>}]},
        5000],
       [{file,
          "/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
        {line,136}]},
     {mod_global_distrib_SUITE,
       '...

Report log

mod_global_distrib_SUITE:multi_connection:test_messages_bounced_in_order
{error,
  {timeout_when_waiting_for_stanza,
    [{escalus_client,wait_for_stanza,
       [{client,
          <<"eve_test_messages_bounced_in_order_94.397860@localhost/res1">>,
          escalus_tcp,<0.23848.1>,
          [{event_manager,<0.23843.1>},
           {server,<<"localhost">>},
           {username,
             <<"eve_test_messages_bounced_in_order_94.397860">>},
           {resource,<<"res1">>}],
          [{event_client,
             [{event_manager,<0.23843.1>},
            {server,<<"localhost">>},
            {username,
              <<"eve_test_messages_bounced_in_order_94.397860">>},
            {resource,<<"res1">>}]},
           {resource,<<"res1">>},
           {username,
             <<"eve_test_messages_bounced_in_order_94.397860">>},
           {server,<<"localhost">>},
           {host,<<"localhost">>},
           {port,5252},
           {auth,{escalus_auth,auth_plain}},
           {wspath,undefined},
           {username,
             <<"eve_test_messages_bounced_in_order_94.397860">>},
           {server,<<"localhost">>},
           {password,<<"password">>},
           {port,5252},
           {stream_id,<<"46531445c5cc73d6">>}]},
        5000],
       [{file,
          "/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
        {line,136}]},
     {mod_global_distrib_SUITE,
       '-test_messages_bounced_in_order/1-fun-2-',2,
       [{file,
          "/home/circleci/app/big_tests/tests/mod_global_distrib_SUITE.erl"},
  ...

Report log

mod_global_distrib_SUITE:rebalancing:closed_connection_is_removed_from_disabled
{error,
  {{badrpc,timeout},
   [{distributed_helper,rpc,
      [#{node => mongooseim@localhost,timeout => 30000},
       mod_global_distrib_outgoing_conns_sup,get_connection,
       [<<"reg1">>]],
      [{file,"/home/circleci/app/big_tests/tests/distributed_helper.erl"},
       {line,117}]},
    {mongoose_helper,successful_rpc,5,
      [{file,"/home/circleci/app/big_tests/tests/mongoose_helper.erl"},
       {line,282}]},
    {mod_global_distrib_SUITE,closed_connection_is_removed_from_disabled,1,
      [{file,
         "/home/circleci/app/big_tests/tests/mod_global_distrib_SUITE.erl"},
       {line,1007}]},
    {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1783}]},
    {test_server,run_test_case_eval1,6,
      [{file,"test_server.erl"},{line,1292}]},
    {test_server,run_test_case_eval,9,
      [{file,"test_server.erl"},{line,1224}]}]}}

Report log

mod_global_distrib_SUITE:rebalancing:wait_for_connection
{error,
  {{badrpc,
     {'EXIT',
       {timeout,
         {gen_server,call,
           [mod_global_distrib_server_mgr_reg1,force_refresh]}}}},
   [{distributed_helper,rpc,
      [#{node => mongooseim@localhost,timeout => 30000},
       mod_global_distrib_server_mgr,force_refresh,
       [<<"reg1">>]],
      [{file,"/home/circleci/app/big_tests/tests/distributed_helper.erl"},
       {line,117}]},
    {mongoose_helper,successful_rpc,5,
      [{file,"/home/circleci/app/big_tests/tests/mongoose_helper.erl"},
       {line,282}]},
    {mod_global_distrib_SUITE,trigger_rebalance,2,
      [{file,
         "/home/circleci/app/big_tests/tests/mod_global_distrib_SUITE.erl"},
       {line,1240}]},
    {mod_global_distrib_SUITE,wait_for_connection,1,
      [{file,
         "/home/circleci/app/big_tests/tests/mod_global_distrib_SUITE.erl"},
       {line,997}]},
    {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1783}]},
    {test_server,run_test_case_eval1,6,
      [{file,"test_server.erl"},{line,1292}]},
    {test_server,run_test_case_eval,9,
      [{file,"test_server.erl"},{line,1224}]}]}}

Report log

26 errors were truncated


pgsql_mnesia_24 / pgsql_mnesia / 2b1b7f7
Reports root/ big
OK: 3120 / Failed: 1 / User-skipped: 183 / Auto-skipped: 0

service_domain_db_SUITE:db:db_keeps_syncing_after_cluster_join
{error,{test_case_failed,{[<<"example1.com">>,<<"example2.com">>,
               <<"example3.com">>],
              [<<"example1.com">>,<<"example2.com">>,
               <<"example3.com">>,<<"example4.com">>]}}}

Report log


mssql_mnesia_24 / odbc_mssql_mnesia / 2b1b7f7
Reports root/ big
OK: 3121 / Failed: 0 / User-skipped: 183 / Auto-skipped: 0


pgsql_mnesia_24 / pgsql_mnesia / 2b1b7f7
Reports root/ big
OK: 3121 / Failed: 0 / User-skipped: 183 / Auto-skipped: 0

@gustawlippa gustawlippa merged commit 6b7938e into master Nov 17, 2021
@gustawlippa gustawlippa deleted the inbox/time_units_simplification branch November 17, 2021 16:07
@Premwoik Premwoik modified the milestone: 5.1.0 May 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants