-
Notifications
You must be signed in to change notification settings - Fork 429
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 SM counting #4501
Fix SM counting #4501
Conversation
elasticsearch_and_cassandra_27 / elasticsearch_and_cassandra_mnesia / 4364cdb small_tests_27 / small_tests / 4364cdb small_tests_26 / small_tests / 4364cdb small_tests_27_arm64 / small_tests / 4364cdb ldap_mnesia_26 / ldap_mnesia / 4364cdb ldap_mnesia_27 / ldap_mnesia / 4364cdb dynamic_domains_pgsql_mnesia_26 / pgsql_mnesia / 4364cdb dynamic_domains_pgsql_mnesia_27 / pgsql_mnesia / 4364cdb internal_mnesia_27 / internal_mnesia / 4364cdb pubsub_SUITE:dag+basic:subscribe_unsubscribe_test{error,{{badmatch,false},
[{pubsub_tools,check_response,2,
[{file,"/home/circleci/project/big_tests/tests/pubsub_tools.erl"},
{line,445}]},
{pubsub_tools,receive_response,3,
[{file,"/home/circleci/project/big_tests/tests/pubsub_tools.erl"},
{line,435}]},
{pubsub_tools,receive_and_check_response,4,
[{file,"/home/circleci/project/big_tests/tests/pubsub_tools.erl"},
{line,425}]},
{pubsub_SUITE,'-subscribe_unsubscribe_test/1-fun-0-',2,
[{file,"/home/circleci/project/big_tests/tests/pubsub_SUITE.erl"},
{line,367}]},
{escalus_story,story,4,
[{file,"/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
{line,75}]},
{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}]}]}} dynamic_domains_mysql_redis_27 / mysql_redis / 4364cdb dynamic_domains_mssql_mnesia_27 / odbc_mssql_mnesia / 4364cdb pgsql_cets_27 / pgsql_cets / 4364cdb mysql_redis_27 / mysql_redis / 4364cdb pgsql_mnesia_27 / pgsql_mnesia / 4364cdb pgsql_mnesia_26 / pgsql_mnesia / 4364cdb cockroachdb_cets_27 / cockroachdb_cets / 4364cdb pubsub_SUITE:dag+last_item_cache:send_last_published_item_no_items_test{error,
{timeout_when_waiting_for_stanza,
[{escalus_client,wait_for_stanza,
[{client,
<<"alice_send_last_published_item_no_items_test_3188@localhost/res1">>,
escalus_tcp,<0.109419.0>,
[{event_manager,<0.109408.0>},
{server,<<"localhost">>},
{username,
<<"alicE_send_last_published_item_no_items_test_3188">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.109408.0>},
{server,<<"localhost">>},
{username,
<<"alicE_send_last_published_item_no_items_test_3188">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,
<<"alice_send_last_published_item_no_items_test_3188">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{port,5222},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,
<<"alicE_send_last_published_item_no_items_test_3188">>},
{server,<<"localhost">>},
{password,<<"matygrysa">>},
{stream_id,<<"420ad9ac83e63a9a">>}]},
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,434}]},
{pubsub_tools,receive_and_check... pubsub_SUITE:dag+last_item_cache:send_last_published_item_no_items_test{error,
{timeout_when_waiting_for_stanza,
[{escalus_client,wait_for_stanza,
[{client,
<<"alice_send_last_published_item_no_items_test_3191@localhost/res1">>,
escalus_tcp,<0.109497.0>,
[{event_manager,<0.109485.0>},
{server,<<"localhost">>},
{username,
<<"alicE_send_last_published_item_no_items_test_3191">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.109485.0>},
{server,<<"localhost">>},
{username,
<<"alicE_send_last_published_item_no_items_test_3191">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,
<<"alice_send_last_published_item_no_items_test_3191">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{port,5222},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,
<<"alicE_send_last_published_item_no_items_test_3191">>},
{server,<<"localhost">>},
{password,<<"matygrysa">>},
{stream_id,<<"97ded3ead7721ca7">>}]},
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,434}]},
{pubsub_tools,receive_and_check... pubsub_SUITE:dag+last_item_cache:send_last_published_item_no_items_test{error,
{timeout_when_waiting_for_stanza,
[{escalus_client,wait_for_stanza,
[{client,
<<"alice_send_last_published_item_no_items_test_3195@localhost/res1">>,
escalus_tcp,<0.109572.0>,
[{event_manager,<0.109571.0>},
{server,<<"localhost">>},
{username,
<<"alicE_send_last_published_item_no_items_test_3195">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.109571.0>},
{server,<<"localhost">>},
{username,
<<"alicE_send_last_published_item_no_items_test_3195">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,
<<"alice_send_last_published_item_no_items_test_3195">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{port,5222},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,
<<"alicE_send_last_published_item_no_items_test_3195">>},
{server,<<"localhost">>},
{password,<<"matygrysa">>},
{stream_id,<<"891f6a83f55e8a15">>}]},
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,434}]},
{pubsub_tools,receive_and_check... pubsub_SUITE:dag+last_item_cache:send_last_published_item_no_items_test{error,
{timeout_when_waiting_for_stanza,
[{escalus_client,wait_for_stanza,
[{client,
<<"alice_send_last_published_item_no_items_test_3198@localhost/res1">>,
escalus_tcp,<0.109650.0>,
[{event_manager,<0.109648.0>},
{server,<<"localhost">>},
{username,
<<"alicE_send_last_published_item_no_items_test_3198">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.109648.0>},
{server,<<"localhost">>},
{username,
<<"alicE_send_last_published_item_no_items_test_3198">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,
<<"alice_send_last_published_item_no_items_test_3198">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{port,5222},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,
<<"alicE_send_last_published_item_no_items_test_3198">>},
{server,<<"localhost">>},
{password,<<"matygrysa">>},
{stream_id,<<"2adce565768e9f1b">>}]},
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,434}]},
{pubsub_tools,receive_and_check... pubsub_SUITE:tree+last_item_cache:send_last_published_item_no_items_test{error,
{timeout_when_waiting_for_stanza,
[{escalus_client,wait_for_stanza,
[{client,
<<"alice_send_last_published_item_no_items_test_3252@localhost/res1">>,
escalus_tcp,<0.110934.0>,
[{event_manager,<0.110923.0>},
{server,<<"localhost">>},
{username,
<<"alicE_send_last_published_item_no_items_test_3252">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.110923.0>},
{server,<<"localhost">>},
{username,
<<"alicE_send_last_published_item_no_items_test_3252">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,
<<"alice_send_last_published_item_no_items_test_3252">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{port,5222},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,
<<"alicE_send_last_published_item_no_items_test_3252">>},
{server,<<"localhost">>},
{password,<<"matygrysa">>},
{stream_id,<<"18cff657483c5fbe">>}]},
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,434}]},
{pubsub_tools,receive_and_check... pubsub_SUITE:tree+last_item_cache:send_last_published_item_no_items_test{error,
{timeout_when_waiting_for_stanza,
[{escalus_client,wait_for_stanza,
[{client,
<<"alice_send_last_published_item_no_items_test_3255@localhost/res1">>,
escalus_tcp,<0.111011.0>,
[{event_manager,<0.111000.0>},
{server,<<"localhost">>},
{username,
<<"alicE_send_last_published_item_no_items_test_3255">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.111000.0>},
{server,<<"localhost">>},
{username,
<<"alicE_send_last_published_item_no_items_test_3255">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,
<<"alice_send_last_published_item_no_items_test_3255">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{port,5222},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,
<<"alicE_send_last_published_item_no_items_test_3255">>},
{server,<<"localhost">>},
{password,<<"matygrysa">>},
{stream_id,<<"03c3646432fef440">>}]},
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,434}]},
{pubsub_tools,receive_and_check... pubsub_SUITE:tree+last_item_cache:send_last_published_item_no_items_test{error,
{timeout_when_waiting_for_stanza,
[{escalus_client,wait_for_stanza,
[{client,
<<"alice_send_last_published_item_no_items_test_3259@localhost/res1">>,
escalus_tcp,<0.111088.0>,
[{event_manager,<0.111086.0>},
{server,<<"localhost">>},
{username,
<<"alicE_send_last_published_item_no_items_test_3259">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.111086.0>},
{server,<<"localhost">>},
{username,
<<"alicE_send_last_published_item_no_items_test_3259">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,
<<"alice_send_last_published_item_no_items_test_3259">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{port,5222},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,
<<"alicE_send_last_published_item_no_items_test_3259">>},
{server,<<"localhost">>},
{password,<<"matygrysa">>},
{stream_id,<<"9d877a514cf412e7">>}]},
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,434}]},
{pubsub_tools,receive_and_check... pubsub_SUITE:tree+last_item_cache:send_last_published_item_no_items_test{error,
{timeout_when_waiting_for_stanza,
[{escalus_client,wait_for_stanza,
[{client,
<<"alice_send_last_published_item_no_items_test_3261@localhost/res1">>,
escalus_tcp,<0.111165.0>,
[{event_manager,<0.111154.0>},
{server,<<"localhost">>},
{username,
<<"alicE_send_last_published_item_no_items_test_3261">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.111154.0>},
{server,<<"localhost">>},
{username,
<<"alicE_send_last_published_item_no_items_test_3261">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,
<<"alice_send_last_published_item_no_items_test_3261">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{port,5222},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,
<<"alicE_send_last_published_item_no_items_test_3261">>},
{server,<<"localhost">>},
{password,<<"matygrysa">>},
{stream_id,<<"e0a1b813e6886cb5">>}]},
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,434}]},
{pubsub_tools,receive_and_check... pubsub_SUITE:tree+last_item_cache:send_last_published_item_no_items_test{error,
{timeout_when_waiting_for_stanza,
[{escalus_client,wait_for_stanza,
[{client,
<<"alice_send_last_published_item_no_items_test_3263@localhost/res1">>,
escalus_tcp,<0.111241.0>,
[{event_manager,<0.111222.0>},
{server,<<"localhost">>},
{username,
<<"alicE_send_last_published_item_no_items_test_3263">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.111222.0>},
{server,<<"localhost">>},
{username,
<<"alicE_send_last_published_item_no_items_test_3263">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,
<<"alice_send_last_published_item_no_items_test_3263">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{port,5222},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,
<<"alicE_send_last_published_item_no_items_test_3263">>},
{server,<<"localhost">>},
{password,<<"matygrysa">>},
{stream_id,<<"da89253e56e52f42">>}]},
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,434}]},
{pubsub_tools,receive_and_check... mssql_mnesia_27 / odbc_mssql_mnesia / 4364cdb internal_mnesia_27 / internal_mnesia / 4364cdb cockroachdb_cets_27 / cockroachdb_cets / 4364cdb pubsub_SUITE:dag+basic:publish_test{error,
{timeout_when_waiting_for_stanza,
[{escalus_client,wait_for_stanza,
[{client,<<"alice_publish_test_3138@localhost/res1">>,
escalus_tcp,<0.108557.0>,
[{event_manager,<0.108425.0>},
{server,<<"localhost">>},
{username,<<"alicE_publish_test_3138">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.108425.0>},
{server,<<"localhost">>},
{username,<<"alicE_publish_test_3138">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,<<"alice_publish_test_3138">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{port,5222},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,<<"alicE_publish_test_3138">>},
{server,<<"localhost">>},
{password,<<"matygrysa">>},
{stream_id,<<"93bed70d3b4d08d9">>}]},
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,434}]},
{pubsub_tools,receive_and_check_response,4,
[{file,"/home/circleci/project/big_tests/tests/pubsub_tools.erl"},
{line,425}]},
{pubsub_SUITE,'-publish_test/1-fun-0-',1,
[{file,"/home/circleci/project/big_... 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_3157@localhost/res1">>,
escalus_tcp,<0.109008.0>,
[{event_manager,<0.108878.0>},
{server,<<"localhost">>},
{username,<<"alicE_create_node_errors_test_3157">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.108878.0>},
{server,<<"localhost">>},
{username,<<"alicE_create_node_errors_test_3157">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,<<"alice_create_node_errors_test_3157">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{port,5222},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,<<"alicE_create_node_errors_test_3157">>},
{server,<<"localhost">>},
{password,<<"matygrysa">>},
{stream_id,<<"606c3b799d88ac48">>}]},
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,434}]},
{pubsub_tools,receive_and_check_response,4,
[{file,"/home/circleci/project/big_tests/tests/pubsub_tools.erl"},
{line,425}]},
{escalus_story,sto... pubsub_SUITE:dag+last_item_cache:send_last_published_item_no_items_test{error,
{timeout_when_waiting_for_stanza,
[{escalus_client,wait_for_stanza,
[{client,
<<"alice_send_last_published_item_no_items_test_3237@localhost/res1">>,
escalus_tcp,<0.110659.0>,
[{event_manager,<0.110656.0>},
{server,<<"localhost">>},
{username,
<<"alicE_send_last_published_item_no_items_test_3237">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.110656.0>},
{server,<<"localhost">>},
{username,
<<"alicE_send_last_published_item_no_items_test_3237">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,
<<"alice_send_last_published_item_no_items_test_3237">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{port,5222},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,
<<"alicE_send_last_published_item_no_items_test_3237">>},
{server,<<"localhost">>},
{password,<<"matygrysa">>},
{stream_id,<<"eefcfded526aa2b8">>}]},
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,434}]},
{pubsub_tools,receive_and_check... pubsub_SUITE:tree+last_item_cache:send_last_published_item_no_items_test{error,
{timeout_when_waiting_for_stanza,
[{escalus_client,wait_for_stanza,
[{client,
<<"alice_send_last_published_item_no_items_test_3292@localhost/res1">>,
escalus_tcp,<0.111943.0>,
[{event_manager,<0.111940.0>},
{server,<<"localhost">>},
{username,
<<"alicE_send_last_published_item_no_items_test_3292">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.111940.0>},
{server,<<"localhost">>},
{username,
<<"alicE_send_last_published_item_no_items_test_3292">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,
<<"alice_send_last_published_item_no_items_test_3292">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{port,5222},
{auth,{escalus_auth,auth_plain}},
{wspath,undefined},
{username,
<<"alicE_send_last_published_item_no_items_test_3292">>},
{server,<<"localhost">>},
{password,<<"matygrysa">>},
{stream_id,<<"e165dda2eee98578">>}]},
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,434}]},
{pubsub_tools,receive_and_check... |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #4501 +/- ##
==========================================
+ Coverage 85.25% 85.59% +0.33%
==========================================
Files 559 559
Lines 34048 34052 +4
==========================================
+ Hits 29029 29147 +118
+ Misses 5019 4905 -114 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good 👌
assert_h(User, 1), | ||
%% CSI stanzas are not counted | ||
CsiActive = csi_helper:csi_stanza(<<"active">>), | ||
escalus_client:send(User, CsiActive), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a note that sometimes there is escalus:send
and sometimes escalus_client:send
. It's very minor.
exclude non-stanza elements from counting.