=== Test case: pep_SUITE:send_caps_after_login_test/1 (click for source code)

=== Config value:

    [{watchdog,<0.75670.0>},
     {preset,"odbc_mssql_mnesia"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/pep_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@fb43d4252d17.2024-02-22_12.37.44/big_tests.tests.pep_SUITE.logs/run.2024-02-22_12.53.54/pep_suite.send_caps_after_login_test.210690.html"},
     {tc_group_properties,[{name,pep_tests},parallel]},
     {tc_group_path,[]},
     {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/pep_SUITE_data/"},
     {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@fb43d4252d17.2024-02-22_12.37.44/big_tests.tests.pep_SUITE.logs/run.2024-02-22_12.53.54/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"localhost">>},
      #{mod_vcard =>
            #{matches => 30,
              host => {prefix,<<"vjud.">>},
              search => true,iqdisc => parallel,backend => rdbms},
        mod_roster =>
            #{iqdisc => one_queue,backend => rdbms,versioning => false,
              store_current_id => false},
        mod_amp => #{},
        mod_register =>
            #{access => register,iqdisc => one_queue,
              registration_watchers => [],password_strength => 0,
              ip_access => [{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}]},
        mod_sic => #{iqdisc => one_queue},
        mod_presence => #{},
        mod_disco =>
            #{iqdisc => one_queue,server_info => [],extra_domains => [],
              users_can_see_hidden_services => false},
        mod_stream_management =>
            #{buffer => true,ack => true,backend => mnesia,
              stale_h =>
                  #{enabled => false,repeat_after => 1800,geriatric => 3600},
              buffer_max => 100,ack_freq => 1,resume_timeout => 600},
        mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
        mod_bosh =>
            #{backend => mnesia,inactivity => 30,max_pause => 120,
              max_wait => infinity,server_acks => false},
        mod_cache_users =>
            #{strategy => fifo,number_of_segments => 5,time_to_live => 2},
        mod_carboncopy => #{iqdisc => no_queue}}}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@fb43d4252d17.2024-02-22_12.37.44"

=== Started at 2024-02-22 12:53:54


*** CT 2024-02-22 12:53:54.430 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_4698.html

*** User 2024-02-22 12:53:54.516 ***🔗
alicE_send_caps_after_login_test_2896@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-02-22 12:53:54.516 ***🔗
alicE_send_caps_after_login_test_2896@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ae8be40061947898' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-02-22 12:53:54.517 ***🔗
alicE_send_caps_after_login_test_2896@localhost/res1 in
<stream:features>
	<c xmlns='http://jabber.org/protocol/caps' hash='sha-1' node='https://www.erlang-solutions.com/products/mongooseim.html' ver='dqxX/mZCZkRsVzoQiufzBqY3zqI='/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-02-22 12:53:54.517 ***🔗
alicE_send_caps_after_login_test_2896@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3NlbmRfY2Fwc19hZnRlcl9sb2dpbl90ZXN0XzI4OTYAbWF0eWdyeXNh</auth>



*** User 2024-02-22 12:53:54.522 ***🔗
alicE_send_caps_after_login_test_2896@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-02-22 12:53:54.522 ***🔗
alicE_send_caps_after_login_test_2896@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-02-22 12:53:54.562 ***🔗
alicE_send_caps_after_login_test_2896@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='02e0573bc22dd825' from='localhost' version='1.0' xml:lang='en' to='alice_send_caps_after_login_test_2896@localhost'>

*** User 2024-02-22 12:53:54.562 ***🔗
alicE_send_caps_after_login_test_2896@localhost/res1 in
<stream:features>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<c xmlns='http://jabber.org/protocol/caps' hash='sha-1' node='https://www.erlang-solutions.com/products/mongooseim.html' ver='dqxX/mZCZkRsVzoQiufzBqY3zqI='/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-02-22 12:53:54.562 ***🔗
alicE_send_caps_after_login_test_2896@localhost/res1 out
<iq type='set' id='90313a21cb858b615e845b82014bfabe'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-02-22 12:53:54.563 ***🔗
alicE_send_caps_after_login_test_2896@localhost/res1 in
<iq id='90313a21cb858b615e845b82014bfabe' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_send_caps_after_login_test_2896@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-02-22 12:53:54.563 ***🔗
alice_send_caps_after_login_test_2896@localhost/res1 out
<iq type='set' id='80a68da47ac118f7645c4ad23eca52a2'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-22 12:53:54.563 ***🔗
alice_send_caps_after_login_test_2896@localhost/res1 in
<iq from='localhost' to='alice_send_caps_after_login_test_2896@localhost/res1' id='80a68da47ac118f7645c4ad23eca52a2' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-22 12:53:54.564 ***🔗
alice_send_caps_after_login_test_2896@localhost/res1 out
<presence/>



*** User 2024-02-22 12:53:54.565 ***🔗
alice_send_caps_after_login_test_2896@localhost/res1 in
<presence from='alice_send_caps_after_login_test_2896@localhost/res1' to='alice_send_caps_after_login_test_2896@localhost/res1'/>



*** User 2024-02-22 12:53:54.565 ***🔗
bOb_send_caps_after_login_test_2896@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-02-22 12:53:54.566 ***🔗
bOb_send_caps_after_login_test_2896@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2f15f2a72f025f5c' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-02-22 12:53:54.566 ***🔗
bOb_send_caps_after_login_test_2896@localhost/res1 in
<stream:features>
	<c xmlns='http://jabber.org/protocol/caps' hash='sha-1' node='https://www.erlang-solutions.com/products/mongooseim.html' ver='dqxX/mZCZkRsVzoQiufzBqY3zqI='/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-02-22 12:53:54.566 ***🔗
bOb_send_caps_after_login_test_2896@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zZW5kX2NhcHNfYWZ0ZXJfbG9naW5fdGVzdF8yODk2AG1ha3JvbGlrYQ==</auth>



*** User 2024-02-22 12:53:54.571 ***🔗
bOb_send_caps_after_login_test_2896@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-02-22 12:53:54.571 ***🔗
bOb_send_caps_after_login_test_2896@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-02-22 12:53:54.571 ***🔗
bOb_send_caps_after_login_test_2896@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='51d63b32c3a9d8d7' from='localhost' version='1.0' xml:lang='en' to='bob_send_caps_after_login_test_2896@localhost'>

*** User 2024-02-22 12:53:54.572 ***🔗
bOb_send_caps_after_login_test_2896@localhost/res1 in
<stream:features>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<c xmlns='http://jabber.org/protocol/caps' hash='sha-1' node='https://www.erlang-solutions.com/products/mongooseim.html' ver='dqxX/mZCZkRsVzoQiufzBqY3zqI='/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-02-22 12:53:54.572 ***🔗
bOb_send_caps_after_login_test_2896@localhost/res1 out
<iq type='set' id='f645c2c681a36f5db72a7c729e4b53ba'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-02-22 12:53:54.572 ***🔗
bOb_send_caps_after_login_test_2896@localhost/res1 in
<iq id='f645c2c681a36f5db72a7c729e4b53ba' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_send_caps_after_login_test_2896@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-02-22 12:53:54.572 ***🔗
bob_send_caps_after_login_test_2896@localhost/res1 out
<iq type='set' id='943be71dd9462bc02ab7bf2753e21d6c'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-22 12:53:54.573 ***🔗
bob_send_caps_after_login_test_2896@localhost/res1 in
<iq from='localhost' to='bob_send_caps_after_login_test_2896@localhost/res1' id='943be71dd9462bc02ab7bf2753e21d6c' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-22 12:53:54.573 ***🔗
bob_send_caps_after_login_test_2896@localhost/res1 out
<presence/>



*** User 2024-02-22 12:53:54.579 ***🔗
bob_send_caps_after_login_test_2896@localhost/res1 in
<presence from='bob_send_caps_after_login_test_2896@localhost/res1' to='bob_send_caps_after_login_test_2896@localhost/res1'/>



*** User 2024-02-22 12:53:54.580 ***🔗
alice_send_caps_after_login_test_2896@localhost/res1 out
<iq type='set' id='alice_send_caps_after_login_test_2896-pep-7PVE4UU+teVakcue8IopYg==-publish' from='alice_send_caps_after_login_test_2896@localhost/res1'>
	<pubsub xmlns='http://jabber.org/protocol/pubsub'>
		<publish node='7PVE4UU+teVakcue8IopYg=='>
			<item id='item2'>
				<entry xmlns='http://www.w3.org/2005/Atom'/>
			</item>
		</publish>
	</pubsub>
</iq>


*** CT 2024-02-22 12:53:59.581 *** Stanza Log:🔗 send_caps_after_login_test.xml

*** CT Error Notification 2024-02-22 12:53:59.582 ***🔗
escalus_client:wait_for_stanza failed on line 136
Reason: {timeout_when_waiting_for_stanza,[{escalus_client,...},{...}|...]}

Full error description and stacktrace
*** CT 2024-02-22 12:53:59.589 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_4698.html



=== Ended at 2024-02-22 12:53:59
=== Location: [{escalus_client,wait_for_stanza,136},
              {pubsub_tools,receive_response,433},
              {pubsub_tools,receive_and_check_response,424},
              {pep_SUITE,'-send_caps_after_login_test/1-fun-1-',323},
              {escalus_story,story,72},
              {test_server,ts_tc,1793},
              {test_server,run_test_case_eval1,1302},
              {test_server,run_test_case_eval,1234}]
=== === Reason: timeout_when_waiting_for_stanza
  in function  escalus_client:wait_for_stanza/2
     called as escalus_client:wait_for_stanza({client,
                                               <<"alice_send_caps_after_login_test_2896@localhost/res1">>,
                                               escalus_tcp,<0.75823.0>,
                                               [{event_manager,<0.75769.0>},
                                                {server,<<"localhost">>},
                                                {username,
                                                 <<"alicE_send_caps_after_login_test_2896">>},
                                                {resource,<<"res1">>}],
                                               [{event_client,
                                                 [{event_manager,<0.75769.0>},
                                                  {server,<<"localhost">>},
                                                  {username,
                                                   <<"alicE_send_caps_after_login_test_2896">>},
                                                  {resource,<<"res1">>}]},
                                                {resource,<<"res1">>},
                                                {username,
                                                 <<"alice_send_caps_after_login_test_2896">>},
                                                {server,<<"localhost">>},
                                                {host,<<"localhost">>},
                                                {port,5222},
                                                {auth,
                                                 {escalus_auth,auth_plain}},
                                                {wspath,undefined},
                                                {username,
                                                 <<"alicE_send_caps_after_login_test_2896">>},
                                                {server,<<"localhost">>},
                                                {password,<<"matygrysa">>},
                                                {stream_id,
                                                 <<"02e0573bc22dd825">>}]},
                                              5000)
  in call from pubsub_tools:receive_response/3 (/home/circleci/project/big_tests/tests/pubsub_tools.erl, line 433)
  in call from pubsub_tools:receive_and_check_response/4 (/home/circleci/project/big_tests/tests/pubsub_tools.erl, line 424)
  in call from pep_SUITE:'-send_caps_after_login_test/1-fun-1-'/2 (/home/circleci/project/big_tests/tests/pep_SUITE.erl, line 323)
  in call from escalus_story:story/4 (/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_story.erl, line 72)
  in call from test_server:ts_tc/3 (test_server.erl, line 1793)
  in call from test_server:run_test_case_eval1/6 (test_server.erl, line 1302)
  in call from test_server:run_test_case_eval/9 (test_server.erl, line 1234)