=== Test case: bosh_SUITE:multiple_stanzas/1 (click for source code)

=== Config value:

    [{user,carol},
     {watchdog,<0.7263.0>},
     {escalus_user_db,{module,escalus_ejabberd}},
     {preset,"pgsql_mnesia"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/bosh_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@a2fc54846062.2023-11-14_11.38.11/big_tests.tests.bosh_SUITE.logs/run.2023-11-14_11.38.47/bosh_suite.multiple_stanzas.html"},
     {tc_group_properties,[{shuffle,{1699,961929,49972}},{name,chat}]},
     {tc_group_path,[]},
     {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/bosh_SUITE_data/"},
     {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@a2fc54846062.2023-11-14_11.38.11/big_tests.tests.bosh_SUITE.logs/run.2023-11-14_11.38.47/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"test type">>},
      #{mod_vcard =>
            #{matches => 30,
              host => {prefix,<<"vjud.">>},
              search => true,backend => rdbms,iqdisc => parallel},
        mod_roster =>
            #{backend => rdbms,iqdisc => one_queue,versioning => false,
              store_current_id => false},
        mod_amp => #{},
        mod_sic => #{iqdisc => one_queue},
        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_disco =>
            #{iqdisc => one_queue,users_can_see_hidden_services => false,
              server_info => [],extra_domains => []},
        mod_presence => #{},
        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}}},
     {escalus_users,[{carol,[{username,<<"carol">>},
                             {server,<<"domain.example.com">>},
                             {host,<<"localhost">>},
                             {password,<<"jinglebells">>},
                             {transport,escalus_bosh},
                             {path,<<"/http-bind">>},
                             {port,5280}]},
                     {carol_s,[{username,<<"carol_s">>},
                               {server,<<"domain.example.com">>},
                               {host,<<"localhost">>},
                               {password,<<"jinglebells_s">>},
                               {transport,escalus_bosh},
                               {ssl,true},
                               {path,<<"/http-bind">>},
                               {port,5285},
                               {ssl_opts,[{verify,verify_none}]}]},
                     {geralt,[{username,<<"geralt">>},
                              {server,<<"domain.example.com">>},
                              {host,<<"localhost">>},
                              {password,<<"witcher">>},
                              {transport,escalus_ws},
                              {port,5280},
                              {wspath,<<"/ws-xmpp">>}]},
                     {alice,[{username,<<"alicE">>},
                             {server,<<"domain.example.com">>},
                             {host,<<"localhost">>},
                             {password,<<"matygrysa">>}]}]}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@a2fc54846062.2023-11-14_11.38.11"

=== Started at 2023-11-14 11:38:49


*** CT 2023-11-14 11:38:49.107 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_102.html

*** User 2023-11-14 11:38:49.113 ***🔗
carol@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-11-14 11:38:49.127 ***🔗
carol@domain.example.com/res1 in
<stream:stream from='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-11-14 11:38:49.128 ***🔗
carol@domain.example.com/res1 in
<stream:features>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<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 2023-11-14 11:38:49.128 ***🔗
carol@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGNhcm9sAGppbmdsZWJlbGxz</auth>



*** User 2023-11-14 11:38:49.131 ***🔗
carol@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-11-14 11:38:49.131 ***🔗
carol@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-11-14 11:38:49.144 ***🔗
carol@domain.example.com/res1 in
<stream:stream from='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-11-14 11:38:49.145 ***🔗
carol@domain.example.com/res1 in
<stream:features>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2023-11-14 11:38:49.145 ***🔗
carol@domain.example.com/res1 out
<iq type='set' id='656ffdb1aef6285d6c9b4c1eb010dc8c'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-11-14 11:38:49.148 ***🔗
carol@domain.example.com/res1 in
<iq xmlns='jabber:client' id='656ffdb1aef6285d6c9b4c1eb010dc8c' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>carol@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2023-11-14 11:38:49.148 ***🔗
carol@domain.example.com/res1 out
<iq type='set' id='e053d55f61e89f1059ad508d666ab898'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-14 11:38:49.150 ***🔗
carol@domain.example.com/res1 in
<iq xmlns='jabber:client' from='domain.example.com' to='carol@domain.example.com/res1' id='e053d55f61e89f1059ad508d666ab898' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-14 11:38:49.150 ***🔗
carol@domain.example.com/res1 out
<presence/>



*** User 2023-11-14 11:38:49.154 ***🔗
carol@domain.example.com/res1 in
<presence xmlns='jabber:client' from='carol@domain.example.com/res1' to='carol@domain.example.com/res1'/>



*** User 2023-11-14 11:38:49.185 ***🔗
geralt@domain.example.com/res1 out
<open xmlns='urn:ietf:params:xml:ns:xmpp-framing' to='domain.example.com' version='1.0'/>



*** User 2023-11-14 11:38:49.191 ***🔗
geralt@domain.example.com/res1 in
<open xmlns='urn:ietf:params:xml:ns:xmpp-framing' id='4c36a463afcf6294' from='domain.example.com' version='1.0' xml:lang='en'/>



*** User 2023-11-14 11:38:49.191 ***🔗
geralt@domain.example.com/res1 in
<features xmlns='http://etherx.jabber.org/streams'>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<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'/>
</features>



*** User 2023-11-14 11:38:49.191 ***🔗
geralt@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGdlcmFsdAB3aXRjaGVy</auth>



*** User 2023-11-14 11:38:49.193 ***🔗
geralt@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-11-14 11:38:49.193 ***🔗
geralt@domain.example.com/res1 out
<open xmlns='urn:ietf:params:xml:ns:xmpp-framing' to='domain.example.com' version='1.0'/>



*** User 2023-11-14 11:38:49.193 ***🔗
geralt@domain.example.com/res1 in
<open xmlns='urn:ietf:params:xml:ns:xmpp-framing' id='bd371dc7c10e29b0' from='domain.example.com' version='1.0' xml:lang='en' to='geralt@domain.example.com'/>



*** User 2023-11-14 11:38:49.193 ***🔗
geralt@domain.example.com/res1 in
<features xmlns='http://etherx.jabber.org/streams'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</features>



*** User 2023-11-14 11:38:49.193 ***🔗
geralt@domain.example.com/res1 out
<iq type='set' id='5508fabeb4bf1f629f2f79aafa2b53cf'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-11-14 11:38:49.194 ***🔗
geralt@domain.example.com/res1 in
<iq id='5508fabeb4bf1f629f2f79aafa2b53cf' type='result' xmlns='jabber:client'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>geralt@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2023-11-14 11:38:49.194 ***🔗
geralt@domain.example.com/res1 out
<iq type='set' id='8b5eaa2ff31aba6d6a2578d6e83fa7a3'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-14 11:38:49.194 ***🔗
geralt@domain.example.com/res1 in
<iq from='domain.example.com' to='geralt@domain.example.com/res1' id='8b5eaa2ff31aba6d6a2578d6e83fa7a3' type='result' xmlns='jabber:client'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-14 11:38:49.196 ***🔗
geralt@domain.example.com/res1 out
<presence/>



*** User 2023-11-14 11:38:49.204 ***🔗
geralt@domain.example.com/res1 in
<presence from='geralt@domain.example.com/res1' to='geralt@domain.example.com/res1' xmlns='jabber:client'/>



*** User 2023-11-14 11:38:49.205 ***🔗
alicE@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-11-14 11:38:49.206 ***🔗
alicE@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e3d1b6dd894934bb' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2023-11-14 11:38:49.206 ***🔗
alicE@domain.example.com/res1 in
<stream:features>
	<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 2023-11-14 11:38:49.206 ***🔗
alicE@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFAG1hdHlncnlzYQ==</auth>



*** User 2023-11-14 11:38:49.207 ***🔗
alicE@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-11-14 11:38:49.207 ***🔗
alicE@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-11-14 11:38:49.208 ***🔗
alicE@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1083f1288bc03f39' from='domain.example.com' version='1.0' xml:lang='en' to='alice@domain.example.com'>

*** User 2023-11-14 11:38:49.208 ***🔗
alicE@domain.example.com/res1 in
<stream:features>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2023-11-14 11:38:49.208 ***🔗
alicE@domain.example.com/res1 out
<iq type='set' id='78e6af6d0569981fdab2cdf8ef4b1639'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-11-14 11:38:49.208 ***🔗
alicE@domain.example.com/res1 in
<iq id='78e6af6d0569981fdab2cdf8ef4b1639' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2023-11-14 11:38:49.208 ***🔗
alice@domain.example.com/res1 out
<iq type='set' id='18c065d52d6a957c74429fabcfcee976'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-14 11:38:49.209 ***🔗
alice@domain.example.com/res1 in
<iq from='domain.example.com' to='alice@domain.example.com/res1' id='18c065d52d6a957c74429fabcfcee976' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-14 11:38:49.209 ***🔗
alice@domain.example.com/res1 out
<presence/>



*** User 2023-11-14 11:38:49.210 ***🔗
alice@domain.example.com/res1 in
<presence from='alice@domain.example.com/res1' to='alice@domain.example.com/res1'/>



*** User 2023-11-14 11:38:49.212 ***🔗
geralt@domain.example.com/res1 in
<message from='carol@domain.example.com/res1' to='geralt@domain.example.com/res1' type='chat' xmlns='jabber:client'>
	<body>Hello</body>
</message>



*** User 2023-11-14 11:38:49.212 ***🔗
alice@domain.example.com/res1 in
<message from='carol@domain.example.com/res1' to='alice@domain.example.com/res1' type='chat'>
	<body>Hello</body>
</message>



*** User 2023-11-14 11:38:49.213 ***🔗
geralt@domain.example.com/res1 in
<message from='carol@domain.example.com/res1' to='geralt@domain.example.com/res1' type='chat' xmlns='jabber:client'>
	<body>Hello</body>
</message>



*** User 2023-11-14 11:38:49.213 ***🔗
carol@domain.example.com/res1 in
<iq xmlns='jabber:client' from='domain.example.com' to='carol@domain.example.com/res1' id='777e7a2e94edca86bf4a4a27f2df6e62' type='result'>
	<query xmlns='http://jabber.org/protocol/disco#items'>
		<item jid='vjud.domain.example.com'/>
	</query>
</iq>



*** User 2023-11-14 11:38:49.213 ***🔗
alice@domain.example.com/res1 out
</stream:stream>

*** User 2023-11-14 11:38:49.213 ***🔗
alice@domain.example.com/res1 in
</stream:stream>

*** User 2023-11-14 11:38:49.213 ***🔗
geralt@domain.example.com/res1 out
<close xmlns='urn:ietf:params:xml:ns:xmpp-framing'/>



*** User 2023-11-14 11:38:49.214 ***🔗
geralt@domain.example.com/res1 in
<close xmlns='urn:ietf:params:xml:ns:xmpp-framing'/>



*** User 2023-11-14 11:38:49.214 ***🔗
carol@domain.example.com/res1 out
</stream:stream>

*** User 2023-11-14 11:38:49.216 ***🔗
carol@domain.example.com/res1 in
</stream:stream>

*** System report during bosh_SUITE:multiple_stanzas/1 in chat 2023-11-14 11:38:49.216 ***🔗
=ERROR REPORT==== 14-Nov-2023::11:38:49.216033 ===
** State machine <0.7288.0> terminating
** Last event = {cast,{ws_send,<0.7287.0>,
                               #Ref<0.3885274375.2887778305.235395>,close}}
** When server state  = {connected,
                            {state,<0.7287.0>,
                                {up,#Ref<0.3885274375.2887778306.189561>},
                                "localhost",5280,<<"http">>,"localhost",5280,
                                [],
                                #{protocols => [http],transport => tcp},
                                undefined,#Port<0.642>,gun_tcp,true,
                                {tcp,tcp_closed,tcp_error},
                                gun_http,
                                {http_state,#Port<0.642>,gun_tcp,#{},
                                    'HTTP/1.1',keepalive,<<>>,undefined,[],
                                    head,
                                    {0,0},
                                    head},
                                undefined,gun_default_event_h,undefined}}
** Reason for termination = error:{'function not exported',
                                      {gun_http,ws_send,6}}
** Callback modules = [gun]
** Callback mode = state_functions
** Stacktrace =
**  [{gun,connected,3,
          [{file,"/home/circleci/project/big_tests/_build/default/lib/gun/src/gun.erl"},
           {line,1301}]},
     {gen_statem,loop_state_callback,11,[{file,"gen_statem.erl"},{line,1377}]},
     {proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,241}]}]


*** CT 2023-11-14 11:38:49.219 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_102.html



=== Ended at 2023-11-14 11:38:49
=== successfully completed test case
=== === Returned value: ok


Test run history | Top level test index | Latest test result