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

=== Config value:

    [{user,carol},
     {watchdog,<0.8049.0>},
     {escalus_user_db,{module,escalus_ejabberd}},
     {preset,"odbc_mssql_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@9f12fc69b406.2023-11-17_15.10.18/big_tests.tests.bosh_SUITE.logs/run.2023-11-17_15.10.47/bosh_suite.force_retransmission.html"},
     {tc_group_properties,[{shuffle,{1700,233858,17406}},{name,acks}]},
     {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@9f12fc69b406.2023-11-17_15.10.18/big_tests.tests.bosh_SUITE.logs/run.2023-11-17_15.10.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_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,users_can_see_hidden_services => false,
              server_info => [],extra_domains => []},
        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@9f12fc69b406.2023-11-17_15.10.18"

=== Started at 2023-11-17 15:10:58


*** CT 2023-11-17 15:10:58.507 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_105.html

*** User 2023-11-17 15:10:58.508 ***🔗
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-17 15:10:58.520 ***🔗
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-17 15:10:58.521 ***🔗
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-17 15:10:58.521 ***🔗
carol@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGNhcm9sAGppbmdsZWJlbGxz</auth>



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



*** User 2023-11-17 15:10:58.523 ***🔗
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-17 15:10:58.534 ***🔗
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-17 15:10:58.534 ***🔗
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-17 15:10:58.535 ***🔗
carol@domain.example.com/res1 out
<iq type='set' id='6689d4e5f09442038be3cefdcdb2c1ab'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-11-17 15:10:58.535 ***🔗
carol@domain.example.com/res1 in
<iq xmlns='jabber:client' id='6689d4e5f09442038be3cefdcdb2c1ab' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>carol@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2023-11-17 15:10:58.535 ***🔗
carol@domain.example.com/res1 out
<iq type='set' id='21fbc061cc6fe039af79ffaa9d850d29'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-17 15:10:58.536 ***🔗
carol@domain.example.com/res1 in
<iq xmlns='jabber:client' from='domain.example.com' to='carol@domain.example.com/res1' id='21fbc061cc6fe039af79ffaa9d850d29' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-17 15:10:58.536 ***🔗
carol@domain.example.com/res1 out
<presence/>



*** User 2023-11-17 15:10:58.537 ***🔗
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-17 15:10:58.538 ***🔗
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-17 15:10:58.538 ***🔗
geralt@domain.example.com/res1 in
<open xmlns='urn:ietf:params:xml:ns:xmpp-framing' id='aa94c7713edbfd66' from='domain.example.com' version='1.0' xml:lang='en'/>



*** User 2023-11-17 15:10:58.538 ***🔗
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-17 15:10:58.538 ***🔗
geralt@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGdlcmFsdAB3aXRjaGVy</auth>



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



*** User 2023-11-17 15:10:58.539 ***🔗
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-17 15:10:58.539 ***🔗
geralt@domain.example.com/res1 in
<open xmlns='urn:ietf:params:xml:ns:xmpp-framing' id='238c40f069c9dd84' from='domain.example.com' version='1.0' xml:lang='en' to='geralt@domain.example.com'/>



*** User 2023-11-17 15:10:58.540 ***🔗
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-17 15:10:58.540 ***🔗
geralt@domain.example.com/res1 out
<iq type='set' id='3189581bb21b55f69ee72c07c6bae639'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-11-17 15:10:58.540 ***🔗
geralt@domain.example.com/res1 in
<iq id='3189581bb21b55f69ee72c07c6bae639' 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-17 15:10:58.540 ***🔗
geralt@domain.example.com/res1 out
<iq type='set' id='6aef590d31197385fc810d754b3abd9b'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-17 15:10:58.540 ***🔗
geralt@domain.example.com/res1 in
<iq from='domain.example.com' to='geralt@domain.example.com/res1' id='6aef590d31197385fc810d754b3abd9b' type='result' xmlns='jabber:client'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-17 15:10:58.540 ***🔗
geralt@domain.example.com/res1 out
<presence/>



*** User 2023-11-17 15:10:58.541 ***🔗
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-17 15:10:58.542 ***🔗
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>1st msg!</body>
</message>



*** User 2023-11-17 15:10:58.542 ***🔗
geralt@domain.example.com/res1 out
<message type='chat' to='carol@domain.example.com/res1'>
	<body>1st rep!</body>
</message>



*** User 2023-11-17 15:10:58.542 ***🔗
carol@domain.example.com/res1 in
<message from='geralt@domain.example.com/res1' to='carol@domain.example.com/res1' type='chat' xmlns='jabber:client'>
	<body>1st rep!</body>
</message>



*** User 2023-11-17 15:10:58.542 ***🔗
carol@domain.example.com/res1 in
<message from='geralt@domain.example.com/res1' to='carol@domain.example.com/res1' type='chat' xmlns='jabber:client'>
	<body>1st rep!</body>
</message>



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



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



*** User 2023-11-17 15:10:58.587 ***🔗
carol@domain.example.com/res1 out
</stream:stream>

*** System report during bosh_SUITE:force_retransmission/1 in acks 2023-11-17 15:10:58.587 ***🔗
=ERROR REPORT==== 17-Nov-2023::15:10:58.587749 ===
** State machine <0.8074.0> terminating
** Last event = {cast,{ws_send,<0.8073.0>,#Ref<0.1941712091.4127195139.85004>,
                               close}}
** When server state  = {connected,
                            {state,<0.8073.0>,
                                {up,#Ref<0.1941712091.4127195139.85000>},
                                "localhost",5280,<<"http">>,"localhost",5280,
                                [],
                                #{protocols => [http],transport => tcp},
                                undefined,#Port<0.713>,gun_tcp,true,
                                {tcp,tcp_closed,tcp_error},
                                gun_http,
                                {http_state,#Port<0.713>,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}]}]



*** User 2023-11-17 15:10:58.588 ***🔗
carol@domain.example.com/res1 in
</stream:stream>
*** CT 2023-11-17 15:10:58.589 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_105.html



=== Ended at 2023-11-17 15:10:58
=== successfully completed test case
=== === Returned value: ok


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