=== Test case: sm_SUITE:ping_timeout/1 (click for source code)

=== Config value:

    [{watchdog,<0.106174.0>},
     {preset,"mysql_redis"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/sm_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@2ccd1e5251fa.2024-04-25_16.16.50/big_tests.tests.sm_SUITE.logs/run.2024-04-25_16.33.33/sm_suite.ping_timeout.255491.html"},
     {tc_group_properties,[{repeat_until_any_fail,439},{name,ping}]},
     {tc_group_path,[]},
     {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/sm_SUITE_data/"},
     {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@2ccd1e5251fa.2024-04-25_16.16.50/big_tests.tests.sm_SUITE.logs/run.2024-04-25_16.33.33/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"localhost">>},
      #{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_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_amp => #{},
        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_cache_users =>
            #{strategy => fifo,number_of_segments => 5,time_to_live => 2},
        mod_bosh =>
            #{backend => mnesia,inactivity => 30,max_pause => 120,
              max_wait => infinity,server_acks => false},
        mod_carboncopy => #{iqdisc => no_queue}}},
     {escalus_users,[{alice,[{username,<<"alicE">>},
                             {server,<<"localhost">>},
                             {password,<<"matygrysa">>},
                             {stream_management,true}]},
                     {alice_bis,[{username,<<"alicE">>},
                                 {server,<<"localhost.bis">>},
                                 {host,<<"localhost">>},
                                 {password,<<"matygrysa">>}]},
                     {bob,[{username,<<"bOb">>},
                           {server,<<"localhost">>},
                           {password,<<"makrolika">>}]},
                     {carol,[{username,<<"carol">>},
                             {server,<<"localhost">>},
                             {password,<<"jinglebells">>},
                             {transport,escalus_bosh},
                             {path,<<"/http-bind">>},
                             {port,5280}]},
                     {carol_s,[{username,<<"carol_s">>},
                               {server,<<"localhost">>},
                               {password,<<"jinglebells_s">>},
                               {transport,escalus_bosh},
                               {ssl,true},
                               {path,<<"/http-bind">>},
                               {port,5285},
                               {ssl_opts,[{verify,verify_none}]}]},
                     {kate,[{username,<<"kate">>},
                            {server,<<"localhost">>},
                            {password,<<"makrowe;p">>}]},
                     {mike,[{username,<<"mike">>},
                            {server,<<"localhost">>},
                            {password,<<"nicniema">>}]},
                     {john,[{username,<<"john">>},
                            {server,<<"localhost">>},
                            {password,<<"cosontuma">>}]},
                     {geralt,[{username,<<"geralt">>},
                              {server,<<"localhost">>},
                              {password,<<"witcher">>},
                              {transport,escalus_ws},
                              {port,5280},
                              {wspath,<<"/ws-xmpp">>}]},
                     {geralt_s,[{username,<<"geralt_s">>},
                                {server,<<"localhost">>},
                                {password,<<"witcher_s">>},
                                {transport,escalus_ws},
                                {ssl,true},
                                {port,5285},
                                {wspath,<<"/ws-xmpp">>},
                                {ssl_opts,[{verify,verify_none}]}]},
                     {hacker,[{username,<<"hacker">>},
                              {server,<<"localhost">>},
                              {password,<<"bringdowntheserver">>},
                              {port,5223}]},
                     {admin,[{username,<<"admin">>},
                             {server,<<"localhost">>},
                             {password,<<"bruce_almighty">>}]},
                     {secure_joe,[{username,<<"secure_joe">>},
                                  {server,<<"localhost">>},
                                  {password,<<"break_me">>},
                                  {starttls,required}]},
                     {astrid,[{username,<<"astrid">>},
                              {server,<<"sogndal">>},
                              {host,<<"localhost">>},
                              {password,<<"doctor">>}]},
                     {alice2,[{username,<<"alice">>},
                              {server,<<"fed1">>},
                              {host,<<"localhost">>},
                              {port,5242},
                              {password,<<"makota2">>}]},
                     {bob2,[{username,<<"bob">>},
                            {server,<<109,105,99,104,97,197,130>>},
                            {host,<<"localhost">>},
                            {port,5242},
                            {password,<<"makota3">>}]},
                     {clusterguy,[{username,<<"clusterguy">>},
                                  {server,<<"localhost">>},
                                  {host,<<"localhost">>},
                                  {password,<<"distributionftw">>},
                                  {port,5232}]},
                     {clusterbuddy,[{username,<<"clusterbuddy">>},
                                    {server,<<"localhost">>},
                                    {host,<<"localhost">>},
                                    {password,<<"wasssssssup">>},
                                    {port,5232}]},
                     {eve,[{username,<<"eve">>},
                           {server,<<"localhost">>},
                           {password,<<"password">>},
                           {port,5252}]},
                     {neustradamus,[{username,<<"neustradamus">>},
                                    {server,<<"localhost">>},
                                    {host,<<"localhost">>},
                                    {password,<<"scramshaplus">>},
                                    {starttls,required},
                                    {tls_module,fast_tls}]},
                     {alice3,[{username,<<"alice">>},
                              {server,<<"example.com">>},
                              {host,<<"localhost">>},
                              {password,<<"makota2">>}]},
                     {bob3,[{username,<<"bob">>},
                            {server,<<"example.org">>},
                            {host,<<"localhost">>},
                            {password,<<"makota3">>},
                            {port,5232}]}]}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@2ccd1e5251fa.2024-04-25_16.16.50"

=== Started at 2024-04-25 16:54:12


*** CT 2024-04-25 16:54:12.751 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_5138.html

*** User 2024-04-25 16:54:12.819 ***🔗
alicE_ping_timeout_3900@localhost out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-25 16:54:12.820 ***🔗
alicE_ping_timeout_3900@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e5acbe3f4afa7d73' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-25 16:54:12.820 ***🔗
alicE_ping_timeout_3900@localhost 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 2024-04-25 16:54:12.820 ***🔗
alicE_ping_timeout_3900@localhost out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3BpbmdfdGltZW91dF8zOTAwAG1hdHlncnlzYQ==</auth>



*** User 2024-04-25 16:54:12.821 ***🔗
alicE_ping_timeout_3900@localhost in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-25 16:54:12.821 ***🔗
alicE_ping_timeout_3900@localhost out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-25 16:54:12.822 ***🔗
alicE_ping_timeout_3900@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='cc11b02b7e30f011' from='localhost' version='1.0' xml:lang='en' to='alice_ping_timeout_3900@localhost'>

*** User 2024-04-25 16:54:12.822 ***🔗
alicE_ping_timeout_3900@localhost 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 2024-04-25 16:54:12.822 ***🔗
alicE_ping_timeout_3900@localhost out
<iq type='set' id='0c32aa4c47a179d7e204b592cf69b62a'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>escalus-default-resource</resource>
	</bind>
</iq>



*** User 2024-04-25 16:54:12.822 ***🔗
alicE_ping_timeout_3900@localhost in
<iq id='0c32aa4c47a179d7e204b592cf69b62a' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_ping_timeout_3900@localhost/escalus-default-resource</jid>
	</bind>
</iq>



*** User 2024-04-25 16:54:12.822 ***🔗
alice_ping_timeout_3900@localhost/escalus-default-resource out
<iq type='set' id='668c1dbbe4f50846fdbe72d8717029e7'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-25 16:54:12.823 ***🔗
alice_ping_timeout_3900@localhost/escalus-default-resource in
<iq from='localhost' to='alice_ping_timeout_3900@localhost/escalus-default-resource' id='668c1dbbe4f50846fdbe72d8717029e7' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-25 16:54:12.823 ***🔗
alice_ping_timeout_3900@localhost/escalus-default-resource out
<enable xmlns='urn:xmpp:sm:3' resume='true'/>



*** User 2024-04-25 16:54:12.823 ***🔗
alice_ping_timeout_3900@localhost/escalus-default-resource in
<enabled xmlns='urn:xmpp:sm:3' id='opo8YuqNdtnSVUlDbRbm10bmyCUW' resume='true'/>



*** User 2024-04-25 16:54:12.833 ***🔗
alice_ping_timeout_3900@localhost/escalus-default-resource in
<iq from='localhost' to='alice_ping_timeout_3900@localhost/escalus-default-resource' type='get' id='ae9cca5f16bead69'>
	<ping xmlns='urn:xmpp:ping'/>
</iq>



*** System report during sm_SUITE:ping_timeout/1 in ping 2024-04-25 16:54:13.712 ***🔗
=INFO REPORT==== 25-Apr-2024::16:54:13.712190 ===
(<0.38294.0>:esip_listener:161) accepted connection: 127.0.0.1:48692 -> 127.0.0.1:12345


*** User 2024-04-25 16:54:13.713 ***🔗
Other call id: <<"e0fdbd7c-7228-4aa8-a1ce-a9529410cb58">>

*** User 2024-04-25 16:54:13.713 ***🔗
Other dialog: {dialog_id,<<"e0fdbd7c-7228-4aa8-a1ce-a9529410cb58">>,
                         <<"1wnz7y">>,<<"3603844679-3364654772">>}

*** User 2024-04-25 16:54:13.713 ***🔗
Other call id: <<"171932178641368">>

*** User 2024-04-25 16:54:13.713 ***🔗
Other dialog: {dialog_id,<<"171932178641368">>,<<"26yrdq">>,<<"1wnz7y">>}

*** User 2024-04-25 16:54:13.817 ***🔗
Other call id: <<"74ced77d-c416-4873-a9c8-eb65d2e2cd2e">>

*** User 2024-04-25 16:54:13.818 ***🔗
Other dialog: {dialog_id,<<"74ced77d-c416-4873-a9c8-eb65d2e2cd2e">>,
                         <<"axppwm">>,<<"3603844679-3658591408">>}

*** User 2024-04-25 16:54:13.818 ***🔗
Other call id: <<"75132578395627">>

*** User 2024-04-25 16:54:13.818 ***🔗
Other dialog: {dialog_id,<<"75132578395627">>,<<"1ahdqg">>,<<"axppwm">>}

*** System report during sm_SUITE:ping_timeout/1 in ping 2024-04-25 16:54:14.719 ***🔗
=ERROR REPORT==== 25-Apr-2024::16:54:14.718652 ===
(<0.106192.0>:esip:594) failed to process callback:
** Function: jingle_sip_translator:dialog_callback/3
** Args: [{sip,request,
               {2,0},
               <<"BYE">>,
               [{via,[{via,<<"SIP">>,
                           {2,0},
                           <<"TCP">>,<<"172.20.0.3">>,5600,
                           [{<<"branch">>,<<"z9hG4bK1ezIzd-1vDYHV">>},
                            {<<"received">>,<<"127.0.0.1">>},
                            {<<"rport">>,<<"48692">>}]}]},
                {from,{<<"alice_jingle_session_is_established_when_calling_a_number_1638">>,
                       {uri,<<"sip">>,
                            <<"alice_jingle_session_is_established_when_calling_a_number_1638">>,
                            <<>>,<<"localhost">>,undefined,[],[]},
                       [{<<"tag">>,<<"4II1Qc">>}]}},
                {to,{<<"+488790">>,
                     {uri,<<"sip">>,<<"+488790">>,<<>>,
                          <<"numbers.localhost">>,undefined,[],[]},
                     [{<<"tag">>,<<"3603844679-1820344007">>}]}},
                {'call-id',<<"bacdbf04-0b41-4034-b81a-78d7aeef8e25">>},
                {cseq,342574783},
                {'max-forwards',70},
                {'content-length',0},
                {contact,[{<<>>,
                           {uri,<<"sip">>,
                                <<"alice_jingle_session_is_established_when_calling_a_number_1638">>,
                                <<>>,<<"localhost">>,5600,
                                [{<<"ob">>,<<>>},{<<"transport">>,<<"tcp">>}],
                                []},
                           [{<<"+sip.instance">>,
                             <<"\"\"">>}]}]},
                {reason,[{<<"SIP">>,
                          [{<<"cause">>,<<"408">>},
                           {<<"text">>,<<"\"Dialog Timeout\"">>}]}]}],
               <<>>,
               {uri,<<"sip">>,<<"+488790">>,<<>>,<<"127.0.0.1">>,12345,
                    [{<<"ob">>,<<>>},{<<"transport">>,<<"tcp">>}],
                    []},
               undefined,undefined},
          {sip_socket,tcp,#Port<0.12113>,
                      {{127,0,0,1},12345},
                      {{127,0,0,1},48692},
                      <0.106183.0>},
          {trid,<0.106192.0>,server}]
** Reason: {'EXIT',
               {{badmatch,[]},
                [{jingle_sip_translator,dialog_callback,3,
                     [{file,
                          "/home/circleci/project/big_tests/tests/jingle_sip_translator.erl"},
                      {line,236}]},
                 {esip,callback,3,
                     [{file,
                          "/home/circleci/project/big_tests/_build/default/lib/esip/src/esip.erl"},
                      {line,589}]},
                 {esip_server_transaction,trying,2,
                     [{file,
                          "/home/circleci/project/big_tests/_build/default/lib/esip/src/esip_server_transaction.erl"},
                      {line,90}]},
                 {p1_fsm,handle_msg,10,
                     [{file,
                          "/home/circleci/project/big_tests/_build/default/lib/p1_utils/src/p1_fsm.erl"},
                      {line,582}]},
                 {proc_lib,init_p_do_apply,3,
                     [{file,"proc_lib.erl"},{line,241}]}]}}


*** User 2024-04-25 16:54:14.844 ***🔗
alice_ping_timeout_3900@localhost out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-25 16:54:14.844 ***🔗
alice_ping_timeout_3900@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='07e00101e2e518ef' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-25 16:54:14.844 ***🔗
alice_ping_timeout_3900@localhost 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 2024-04-25 16:54:14.844 ***🔗
alice_ping_timeout_3900@localhost out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNlX3BpbmdfdGltZW91dF8zOTAwAG1hdHlncnlzYQ==</auth>



*** User 2024-04-25 16:54:14.846 ***🔗
alice_ping_timeout_3900@localhost in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-25 16:54:14.846 ***🔗
alice_ping_timeout_3900@localhost out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-25 16:54:14.846 ***🔗
alice_ping_timeout_3900@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a3402612d26fe0ca' from='localhost' version='1.0' xml:lang='en' to='alice_ping_timeout_3900@localhost'>

*** User 2024-04-25 16:54:14.846 ***🔗
alice_ping_timeout_3900@localhost 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 2024-04-25 16:54:14.846 ***🔗
alice_ping_timeout_3900@localhost out
<resume xmlns='urn:xmpp:sm:3' previd='opo8YuqNdtnSVUlDbRbm10bmyCUW' h='0'/>



*** User 2024-04-25 16:54:14.847 ***🔗
alice_ping_timeout_3900@localhost in
<failed xmlns='urn:xmpp:sm:3'>
	<item-not-found xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
</failed>



*** User 2024-04-25 16:54:14.847 ***🔗
alice_ping_timeout_3900@localhost out
<iq type='set' id='737a686203c609cbc0fc27b4ad00f39d'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>escalus-default-resource</resource>
	</bind>
</iq>



*** User 2024-04-25 16:54:14.848 ***🔗
alice_ping_timeout_3900@localhost in
<iq id='737a686203c609cbc0fc27b4ad00f39d' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_ping_timeout_3900@localhost/escalus-default-resource</jid>
	</bind>
</iq>



*** User 2024-04-25 16:54:14.848 ***🔗
alice_ping_timeout_3900@localhost/escalus-default-resource out
<iq type='set' id='62500550640caca49944f7606a762f03'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-25 16:54:14.849 ***🔗
alice_ping_timeout_3900@localhost/escalus-default-resource in
<iq from='localhost' to='alice_ping_timeout_3900@localhost/escalus-default-resource' id='62500550640caca49944f7606a762f03' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-25 16:54:14.849 ***🔗
alice_ping_timeout_3900@localhost out
<presence/>


*** CT 2024-04-25 16:54:14.872 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_5138.html



=== Ended at 2024-04-25 16:54:14
=== successfully completed test case
=== === Returned value: ok


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