=== Test case: sm_SUITE:resume_expired_session_returns_correct_h/1 (click for source code) === Config value: [{watchdog,<0.21284.2>}, {mim_data_dir,"/home/circleci/project/big_tests/tests/sm_SUITE_data"}, {preset,"odbc_mssql_mnesia"}, {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@cb94372a8ea7.2022-04-04_15.02.36/big_tests.tests.sm_SUITE.logs/run.2022-04-04_15.16.32/sm_suite.resume_expired_session_returns_correct_h.html"}, {tc_group_properties,[{name,stale_h}]}, {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@cb94372a8ea7.2022-04-04_15.02.36/big_tests.tests.sm_SUITE.logs/run.2022-04-04_15.16.32/log_private/"}, {{saved_modules,mongooseim@localhost,<<"localhost">>}, #{mod_adhoc => #{iqdisc => one_queue,report_commands_node => false}, mod_amp => [], mod_bosh => #{backend => mnesia,inactivity => 30,max_pause => 120, max_wait => infinity,server_acks => false}, mod_cache_users => #{number_of_segments => 5,strategy => fifo,time_to_live => 2}, mod_carboncopy => [],mod_commands => [], mod_disco => #{extra_domains => [],iqdisc => one_queue,server_info => [], users_can_see_hidden_services => false}, mod_muc_commands => [],mod_muc_light_commands => [], mod_register => [{access,register}, {ip_access,[{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}]}, {welcome_message,{[],[]}}], mod_roster => #{backend => rdbms,iqdisc => one_queue,store_current_id => false, versioning => false}, mod_sic => #{iqdisc => one_queue}, mod_stream_management => #{ack => true,ack_freq => 1,backend => mnesia,buffer => true, buffer_max => 100,resume_timeout => 600, stale_h => #{enabled => false,geriatric => 3600,repeat_after => 1800}}, mod_vcard => #{backend => rdbms, host => {prefix,<<"vjud.">>}, iqdisc => parallel,matches => 30,search => true}}}, {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}]}, {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">>}]}, {hacker,[{username,<<"hacker">>}, {server,<<"localhost">>}, {password,<<"bringdowntheserver">>}, {compression,<<"zlib">>}, {port,5223}]}, {admin,[{username,<<"admin">>}, {server,<<"localhost">>}, {password,<<"bruce_almighty">>}]}, {secure_joe,[{username,<<"secure_joe">>}, {server,<<"localhost">>}, {password,<<"break_me">>}, {compression,<<"zlib">>}, {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@cb94372a8ea7.2022-04-04_15.02.36" === Started at 2022-04-04 15:16:39
*** User 2022-04-04 15:16:39.580 *** bOb_resume_expired_session_returns_correct_h_2549@localhost out <stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-04-04 15:16:39.580 *** bOb_resume_expired_session_returns_correct_h_2549@localhost in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='cf6ae795447ec467' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-04-04 15:16:39.580 *** bOb_resume_expired_session_returns_correct_h_2549@localhost in <stream:features> <starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/> <compression xmlns='http://jabber.org/features/compress'> <method>zlib</method> </compression> <mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'> <mechanism>SCRAM-SHA-256</mechanism> <mechanism>PLAIN</mechanism> </mechanisms> <register xmlns='http://jabber.org/features/iq-register'/> <amp xmlns='http://jabber.org/feature/amp'/> <sm xmlns='urn:xmpp:sm:3'/> </stream:features>
*** User 2022-04-04 15:16:39.580 *** bOb_resume_expired_session_returns_correct_h_2549@localhost out <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9yZXN1bWVfZXhwaXJlZF9zZXNzaW9uX3JldHVybnNfY29ycmVjdF9oXzI1NDkAbWFrcm9saWth</auth>
*** User 2022-04-04 15:16:39.581 *** bOb_resume_expired_session_returns_correct_h_2549@localhost in <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-04-04 15:16:39.581 *** bOb_resume_expired_session_returns_correct_h_2549@localhost out <stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-04-04 15:16:39.581 *** bOb_resume_expired_session_returns_correct_h_2549@localhost in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8b3102ec245320e2' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-04-04 15:16:39.581 *** bOb_resume_expired_session_returns_correct_h_2549@localhost in <stream:features> <compression xmlns='http://jabber.org/features/compress'> <method>zlib</method> </compression> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> <register xmlns='http://jabber.org/features/iq-register'/> <amp xmlns='http://jabber.org/feature/amp'/> <sm xmlns='urn:xmpp:sm:3'/> </stream:features>
*** User 2022-04-04 15:16:39.582 *** bOb_resume_expired_session_returns_correct_h_2549@localhost out <iq type='set' id='80bf846bddbd6ec4353e790bd002ab8f'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <resource>escalus-default-resource</resource> </bind> </iq>
*** User 2022-04-04 15:16:39.582 *** bOb_resume_expired_session_returns_correct_h_2549@localhost in <iq id='80bf846bddbd6ec4353e790bd002ab8f' type='result'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <jid>bOb_resume_expired_session_returns_correct_h_2549@localhost/escalus-default-resource</jid> </bind> </iq>
*** User 2022-04-04 15:16:39.582 *** bOb_resume_expired_session_returns_correct_h_2549@localhost/escalus-default-resource out <iq type='set' id='fad385a6ac231425114dffd0812872dd'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-04-04 15:16:39.582 *** bOb_resume_expired_session_returns_correct_h_2549@localhost/escalus-default-resource in <iq type='result' id='fad385a6ac231425114dffd0812872dd'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-04-04 15:16:39.582 *** bOb_resume_expired_session_returns_correct_h_2549@localhost/escalus-default-resource out <enable xmlns='urn:xmpp:sm:3' resume='true'/>
*** User 2022-04-04 15:16:39.583 *** bOb_resume_expired_session_returns_correct_h_2549@localhost/escalus-default-resource in <enabled xmlns='urn:xmpp:sm:3' id='fij1he9NKi3VY8urdQwEQol/Tn+n' resume='true'/>
*** User 2022-04-04 15:16:39.583 *** bOb_resume_expired_session_returns_correct_h_2549@localhost/escalus-default-resource out <presence/>
*** User 2022-04-04 15:16:39.584 *** bOb_resume_expired_session_returns_correct_h_2549@localhost/escalus-default-resource in <presence from='bOb_resume_expired_session_returns_correct_h_2549@localhost/escalus-default-resource' to='bob_resume_expired_session_returns_correct_h_2549@localhost/escalus-default-resource' xml:lang='en'/>
*** User 2022-04-04 15:16:39.586 *** alicE_resume_expired_session_returns_correct_h_2550@localhost out <stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-04-04 15:16:39.586 *** alicE_resume_expired_session_returns_correct_h_2550@localhost in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c196eeff8b1d2b6c' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-04-04 15:16:39.586 *** alicE_resume_expired_session_returns_correct_h_2550@localhost in <stream:features> <starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/> <compression xmlns='http://jabber.org/features/compress'> <method>zlib</method> </compression> <mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'> <mechanism>SCRAM-SHA-256</mechanism> <mechanism>PLAIN</mechanism> </mechanisms> <register xmlns='http://jabber.org/features/iq-register'/> <amp xmlns='http://jabber.org/feature/amp'/> <sm xmlns='urn:xmpp:sm:3'/> </stream:features>
*** User 2022-04-04 15:16:39.587 *** alicE_resume_expired_session_returns_correct_h_2550@localhost out <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3Jlc3VtZV9leHBpcmVkX3Nlc3Npb25fcmV0dXJuc19jb3JyZWN0X2hfMjU1MABtYXR5Z3J5c2E=</auth>
*** User 2022-04-04 15:16:39.587 *** alicE_resume_expired_session_returns_correct_h_2550@localhost in <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-04-04 15:16:39.587 *** alicE_resume_expired_session_returns_correct_h_2550@localhost out <stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-04-04 15:16:39.588 *** alicE_resume_expired_session_returns_correct_h_2550@localhost in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='38e22aafe17e267e' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-04-04 15:16:39.588 *** alicE_resume_expired_session_returns_correct_h_2550@localhost in <stream:features> <compression xmlns='http://jabber.org/features/compress'> <method>zlib</method> </compression> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> <register xmlns='http://jabber.org/features/iq-register'/> <amp xmlns='http://jabber.org/feature/amp'/> <sm xmlns='urn:xmpp:sm:3'/> </stream:features>
*** User 2022-04-04 15:16:39.588 *** alicE_resume_expired_session_returns_correct_h_2550@localhost out <iq type='set' id='85b2424897d46db10f2b93408828e714'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <resource>escalus-default-resource</resource> </bind> </iq>
*** User 2022-04-04 15:16:39.588 *** alicE_resume_expired_session_returns_correct_h_2550@localhost in <iq id='85b2424897d46db10f2b93408828e714' type='result'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <jid>alicE_resume_expired_session_returns_correct_h_2550@localhost/escalus-default-resource</jid> </bind> </iq>
*** User 2022-04-04 15:16:39.588 *** alicE_resume_expired_session_returns_correct_h_2550@localhost/escalus-default-resource out <iq type='set' id='bbe580a3643f7f98d2595e57c9b307f8'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-04-04 15:16:39.588 *** alicE_resume_expired_session_returns_correct_h_2550@localhost/escalus-default-resource in <iq type='result' id='bbe580a3643f7f98d2595e57c9b307f8'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-04-04 15:16:39.588 *** alicE_resume_expired_session_returns_correct_h_2550@localhost/escalus-default-resource out <enable xmlns='urn:xmpp:sm:3' resume='true'/>
*** User 2022-04-04 15:16:39.589 *** alicE_resume_expired_session_returns_correct_h_2550@localhost/escalus-default-resource in <enabled xmlns='urn:xmpp:sm:3' id='4ao8XFLwV/K+Sh24WjVlBfPbGgxY' resume='true'/>
*** User 2022-04-04 15:16:39.589 *** alicE_resume_expired_session_returns_correct_h_2550@localhost/escalus-default-resource out <presence/>
*** User 2022-04-04 15:16:39.590 *** alicE_resume_expired_session_returns_correct_h_2550@localhost/escalus-default-resource in <presence from='alicE_resume_expired_session_returns_correct_h_2550@localhost/escalus-default-resource' to='alice_resume_expired_session_returns_correct_h_2550@localhost/escalus-default-resource' xml:lang='en'/>
*** User 2022-04-04 15:16:39.590 *** alicE_resume_expired_session_returns_correct_h_2550@localhost/escalus-default-resource in <r xmlns='urn:xmpp:sm:3'/>
*** User 2022-04-04 15:16:39.590 *** bOb_resume_expired_session_returns_correct_h_2549@localhost/escalus-default-resource out <message to='alicE_resume_expired_session_returns_correct_h_2550@localhost' type='chat'> <body>msg-1</body> </message>
*** User 2022-04-04 15:16:39.590 *** alicE_resume_expired_session_returns_correct_h_2550@localhost/escalus-default-resource in <message from='bOb_resume_expired_session_returns_correct_h_2549@localhost/escalus-default-resource' to='alicE_resume_expired_session_returns_correct_h_2550@localhost' xml:lang='en' type='chat'> <body>msg-1</body> </message>
*** User 2022-04-04 15:16:40.594 *** alicE_resume_expired_session_returns_correct_h_2550@localhost out <stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-04-04 15:16:40.594 *** alicE_resume_expired_session_returns_correct_h_2550@localhost in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='bf6f28b60d2a9cd9' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-04-04 15:16:40.594 *** alicE_resume_expired_session_returns_correct_h_2550@localhost in <stream:features> <starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/> <compression xmlns='http://jabber.org/features/compress'> <method>zlib</method> </compression> <mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'> <mechanism>SCRAM-SHA-256</mechanism> <mechanism>PLAIN</mechanism> </mechanisms> <register xmlns='http://jabber.org/features/iq-register'/> <amp xmlns='http://jabber.org/feature/amp'/> <sm xmlns='urn:xmpp:sm:3'/> </stream:features>
*** User 2022-04-04 15:16:40.595 *** alicE_resume_expired_session_returns_correct_h_2550@localhost out <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3Jlc3VtZV9leHBpcmVkX3Nlc3Npb25fcmV0dXJuc19jb3JyZWN0X2hfMjU1MABtYXR5Z3J5c2E=</auth>
*** User 2022-04-04 15:16:40.595 *** alicE_resume_expired_session_returns_correct_h_2550@localhost in <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-04-04 15:16:40.596 *** alicE_resume_expired_session_returns_correct_h_2550@localhost out <stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-04-04 15:16:40.596 *** alicE_resume_expired_session_returns_correct_h_2550@localhost in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e0b4a78b7cecb6d9' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-04-04 15:16:40.596 *** alicE_resume_expired_session_returns_correct_h_2550@localhost in <stream:features> <compression xmlns='http://jabber.org/features/compress'> <method>zlib</method> </compression> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> <register xmlns='http://jabber.org/features/iq-register'/> <amp xmlns='http://jabber.org/feature/amp'/> <sm xmlns='urn:xmpp:sm:3'/> </stream:features>
*** User 2022-04-04 15:16:40.596 *** alicE_resume_expired_session_returns_correct_h_2550@localhost out <resume xmlns='urn:xmpp:sm:3' previd='4ao8XFLwV/K+Sh24WjVlBfPbGgxY' h='0'/>
*** User 2022-04-04 15:16:40.596 *** alicE_resume_expired_session_returns_correct_h_2550@localhost in <failed xmlns='urn:xmpp:sm:3' h='1'> <item-not-found xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/> </failed>
*** User 2022-04-04 15:16:40.596 *** alicE_resume_expired_session_returns_correct_h_2550@localhost out <iq type='set' id='ef4902f8428da3678c2c5516dc0c74fa'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <resource>escalus-default-resource</resource> </bind> </iq>
*** User 2022-04-04 15:16:40.596 *** alicE_resume_expired_session_returns_correct_h_2550@localhost in <iq id='ef4902f8428da3678c2c5516dc0c74fa' type='result'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <jid>alicE_resume_expired_session_returns_correct_h_2550@localhost/escalus-default-resource</jid> </bind> </iq>
*** User 2022-04-04 15:16:40.596 *** alicE_resume_expired_session_returns_correct_h_2550@localhost/escalus-default-resource out <iq type='set' id='d0974b641ef62e8fa60b58969a23f88f'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-04-04 15:16:40.597 *** alicE_resume_expired_session_returns_correct_h_2550@localhost/escalus-default-resource in <iq type='result' id='d0974b641ef62e8fa60b58969a23f88f'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-04-04 15:16:40.597 *** alicE_resume_expired_session_returns_correct_h_2550@localhost out <presence/>
*** User 2022-04-04 15:16:40.598 *** alicE_resume_expired_session_returns_correct_h_2550@localhost in <message from='bOb_resume_expired_session_returns_correct_h_2549@localhost/escalus-default-resource' to='alicE_resume_expired_session_returns_correct_h_2550@localhost' xml:lang='en' type='chat'> <body>msg-1</body> <delay xmlns='urn:xmpp:delay' stamp='2022-04-04T15:16:39.590759Z' from='localhost'>Offline Storage</delay> </message>
*** User 2022-04-04 15:16:40.599 *** alicE_resume_expired_session_returns_correct_h_2550@localhost in <presence from='alicE_resume_expired_session_returns_correct_h_2550@localhost/escalus-default-resource' to='alice_resume_expired_session_returns_correct_h_2550@localhost/escalus-default-resource' xml:lang='en'/>
*** User 2022-04-04 15:16:40.599 *** bOb_resume_expired_session_returns_correct_h_2549@localhost/escalus-default-resource out </stream:stream>
*** User 2022-04-04 15:16:40.599 *** bOb_resume_expired_session_returns_correct_h_2549@localhost/escalus-default-resource in </stream:stream>
*** User 2022-04-04 15:16:40.599 *** alicE_resume_expired_session_returns_correct_h_2550@localhost out </stream:stream>
*** User 2022-04-04 15:16:40.599 *** alicE_resume_expired_session_returns_correct_h_2550@localhost in </stream:stream>
=== Ended at 2022-04-04 15:16:40 === successfully completed test case === === Returned value: already_stopped
Test run history | Top level test index | Latest test result