=== Test case: sm_SUITE:resume_expired_session_returns_correct_h/1 (click for source code) === Config value: [{watchdog,<0.27580.1>}, {mim_data_dir,"/home/circleci/project/big_tests/tests/sm_SUITE_data"}, {preset,"riak_mnesia"}, {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@22b4515d438b.2022-04-05_07.43.19/big_tests.tests.sm_SUITE.logs/run.2022-04-05_07.59.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@22b4515d438b.2022-04-05_07.43.19/big_tests.tests.sm_SUITE.logs/run.2022-04-05_07.59.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 => riak,iqdisc => one_queue, riak => #{bucket_type => <<"rosters">>, version_bucket_type => <<"roster_versions">>}, 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 => riak, host => {prefix,<<"vjud.">>}, iqdisc => parallel,matches => 30, riak => #{bucket_type => <<"vcard">>,search_index => <<"vcard">>}, 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@22b4515d438b.2022-04-05_07.43.19" === Started at 2022-04-05 07:59:39
*** User 2022-04-05 07:59:39.905 *** bOb_resume_expired_session_returns_correct_h_1821@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-05 07:59:39.905 *** bOb_resume_expired_session_returns_correct_h_1821@localhost in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7f9844ade10abc26' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-04-05 07:59:39.906 *** bOb_resume_expired_session_returns_correct_h_1821@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-05 07:59:39.906 *** bOb_resume_expired_session_returns_correct_h_1821@localhost out <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9yZXN1bWVfZXhwaXJlZF9zZXNzaW9uX3JldHVybnNfY29ycmVjdF9oXzE4MjEAbWFrcm9saWth</auth>
*** User 2022-04-05 07:59:39.908 *** bOb_resume_expired_session_returns_correct_h_1821@localhost in <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-04-05 07:59:39.909 *** bOb_resume_expired_session_returns_correct_h_1821@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-05 07:59:39.909 *** bOb_resume_expired_session_returns_correct_h_1821@localhost in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d8f2b2c77248bd1e' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-04-05 07:59:39.909 *** bOb_resume_expired_session_returns_correct_h_1821@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-05 07:59:39.909 *** bOb_resume_expired_session_returns_correct_h_1821@localhost out <iq type='set' id='f77f03210767ac0472728c8b77d2db80'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <resource>escalus-default-resource</resource> </bind> </iq>
*** User 2022-04-05 07:59:39.910 *** bOb_resume_expired_session_returns_correct_h_1821@localhost in <iq id='f77f03210767ac0472728c8b77d2db80' type='result'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <jid>bOb_resume_expired_session_returns_correct_h_1821@localhost/escalus-default-resource</jid> </bind> </iq>
*** User 2022-04-05 07:59:39.910 *** bOb_resume_expired_session_returns_correct_h_1821@localhost/escalus-default-resource out <iq type='set' id='3e02ae53526e1f5ae0810ef28ddcaa5b'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-04-05 07:59:39.911 *** bOb_resume_expired_session_returns_correct_h_1821@localhost/escalus-default-resource in <iq type='result' id='3e02ae53526e1f5ae0810ef28ddcaa5b'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-04-05 07:59:39.911 *** bOb_resume_expired_session_returns_correct_h_1821@localhost/escalus-default-resource out <enable xmlns='urn:xmpp:sm:3' resume='true'/>
*** User 2022-04-05 07:59:39.912 *** bOb_resume_expired_session_returns_correct_h_1821@localhost/escalus-default-resource in <enabled xmlns='urn:xmpp:sm:3' id='fieHxresRVAoRygYVK/VuH3XcBbW' resume='true'/>
*** User 2022-04-05 07:59:39.912 *** bOb_resume_expired_session_returns_correct_h_1821@localhost/escalus-default-resource out <presence/>
*** User 2022-04-05 07:59:39.914 *** bOb_resume_expired_session_returns_correct_h_1821@localhost/escalus-default-resource in <presence from='bOb_resume_expired_session_returns_correct_h_1821@localhost/escalus-default-resource' to='bob_resume_expired_session_returns_correct_h_1821@localhost/escalus-default-resource' xml:lang='en'/>
*** User 2022-04-05 07:59:39.919 *** alicE_resume_expired_session_returns_correct_h_1822@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-05 07:59:39.919 *** alicE_resume_expired_session_returns_correct_h_1822@localhost in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8bbb1d640bdff12e' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-04-05 07:59:39.920 *** alicE_resume_expired_session_returns_correct_h_1822@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-05 07:59:39.920 *** alicE_resume_expired_session_returns_correct_h_1822@localhost out <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3Jlc3VtZV9leHBpcmVkX3Nlc3Npb25fcmV0dXJuc19jb3JyZWN0X2hfMTgyMgBtYXR5Z3J5c2E=</auth>
*** User 2022-04-05 07:59:39.924 *** alicE_resume_expired_session_returns_correct_h_1822@localhost in <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-04-05 07:59:39.924 *** alicE_resume_expired_session_returns_correct_h_1822@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-05 07:59:39.924 *** alicE_resume_expired_session_returns_correct_h_1822@localhost in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='89c628c2e9eee743' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-04-05 07:59:39.924 *** alicE_resume_expired_session_returns_correct_h_1822@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-05 07:59:39.924 *** alicE_resume_expired_session_returns_correct_h_1822@localhost out <iq type='set' id='ad294ff1d5178bd27caa560fdce600e9'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <resource>escalus-default-resource</resource> </bind> </iq>
*** User 2022-04-05 07:59:39.925 *** alicE_resume_expired_session_returns_correct_h_1822@localhost in <iq id='ad294ff1d5178bd27caa560fdce600e9' type='result'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <jid>alicE_resume_expired_session_returns_correct_h_1822@localhost/escalus-default-resource</jid> </bind> </iq>
*** User 2022-04-05 07:59:39.925 *** alicE_resume_expired_session_returns_correct_h_1822@localhost/escalus-default-resource out <iq type='set' id='863fe260e8ea2fb44158325dbdadc12f'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-04-05 07:59:39.925 *** alicE_resume_expired_session_returns_correct_h_1822@localhost/escalus-default-resource in <iq type='result' id='863fe260e8ea2fb44158325dbdadc12f'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-04-05 07:59:39.925 *** alicE_resume_expired_session_returns_correct_h_1822@localhost/escalus-default-resource out <enable xmlns='urn:xmpp:sm:3' resume='true'/>
*** User 2022-04-05 07:59:39.926 *** alicE_resume_expired_session_returns_correct_h_1822@localhost/escalus-default-resource in <enabled xmlns='urn:xmpp:sm:3' id='DjnUl6r3sPH7JYhAccs+zDRMC6ro' resume='true'/>
*** User 2022-04-05 07:59:39.926 *** alicE_resume_expired_session_returns_correct_h_1822@localhost/escalus-default-resource out <presence/>
*** User 2022-04-05 07:59:39.928 *** alicE_resume_expired_session_returns_correct_h_1822@localhost/escalus-default-resource in <presence from='alicE_resume_expired_session_returns_correct_h_1822@localhost/escalus-default-resource' to='alice_resume_expired_session_returns_correct_h_1822@localhost/escalus-default-resource' xml:lang='en'/>
*** User 2022-04-05 07:59:39.928 *** alicE_resume_expired_session_returns_correct_h_1822@localhost/escalus-default-resource in <r xmlns='urn:xmpp:sm:3'/>
*** User 2022-04-05 07:59:39.928 *** bOb_resume_expired_session_returns_correct_h_1821@localhost/escalus-default-resource out <message to='alicE_resume_expired_session_returns_correct_h_1822@localhost' type='chat'> <body>msg-1</body> </message>
*** User 2022-04-05 07:59:39.929 *** alicE_resume_expired_session_returns_correct_h_1822@localhost/escalus-default-resource in <message from='bOb_resume_expired_session_returns_correct_h_1821@localhost/escalus-default-resource' to='alicE_resume_expired_session_returns_correct_h_1822@localhost' xml:lang='en' type='chat'> <body>msg-1</body> </message>
*** User 2022-04-05 07:59:40.934 *** alicE_resume_expired_session_returns_correct_h_1822@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-05 07:59:40.934 *** alicE_resume_expired_session_returns_correct_h_1822@localhost in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4a111a04799dcc7b' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-04-05 07:59:40.934 *** alicE_resume_expired_session_returns_correct_h_1822@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-05 07:59:40.934 *** alicE_resume_expired_session_returns_correct_h_1822@localhost out <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3Jlc3VtZV9leHBpcmVkX3Nlc3Npb25fcmV0dXJuc19jb3JyZWN0X2hfMTgyMgBtYXR5Z3J5c2E=</auth>
*** User 2022-04-05 07:59:40.937 *** alicE_resume_expired_session_returns_correct_h_1822@localhost in <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-04-05 07:59:40.937 *** alicE_resume_expired_session_returns_correct_h_1822@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-05 07:59:40.937 *** alicE_resume_expired_session_returns_correct_h_1822@localhost in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f39811648d98162d' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-04-05 07:59:40.937 *** alicE_resume_expired_session_returns_correct_h_1822@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-05 07:59:40.938 *** alicE_resume_expired_session_returns_correct_h_1822@localhost out <resume xmlns='urn:xmpp:sm:3' previd='DjnUl6r3sPH7JYhAccs+zDRMC6ro' h='0'/>
*** User 2022-04-05 07:59:40.938 *** alicE_resume_expired_session_returns_correct_h_1822@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-05 07:59:40.938 *** alicE_resume_expired_session_returns_correct_h_1822@localhost out <iq type='set' id='8d5a7a0a473a8ebf0aac9df3531714b4'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <resource>escalus-default-resource</resource> </bind> </iq>
*** User 2022-04-05 07:59:40.938 *** alicE_resume_expired_session_returns_correct_h_1822@localhost in <iq id='8d5a7a0a473a8ebf0aac9df3531714b4' type='result'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <jid>alicE_resume_expired_session_returns_correct_h_1822@localhost/escalus-default-resource</jid> </bind> </iq>
*** User 2022-04-05 07:59:40.938 *** alicE_resume_expired_session_returns_correct_h_1822@localhost/escalus-default-resource out <iq type='set' id='815cd06e413bda130bd6fcbf7d079558'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-04-05 07:59:40.939 *** alicE_resume_expired_session_returns_correct_h_1822@localhost/escalus-default-resource in <iq type='result' id='815cd06e413bda130bd6fcbf7d079558'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-04-05 07:59:40.939 *** alicE_resume_expired_session_returns_correct_h_1822@localhost out <presence/>
*** User 2022-04-05 07:59:40.941 *** alicE_resume_expired_session_returns_correct_h_1822@localhost in <message from='bOb_resume_expired_session_returns_correct_h_1821@localhost/escalus-default-resource' to='alicE_resume_expired_session_returns_correct_h_1822@localhost' xml:lang='en' type='chat'> <body>msg-1</body> <delay xmlns='urn:xmpp:delay' stamp='2022-04-05T07:59:39.929497Z' from='localhost'>Offline Storage</delay> </message>
*** User 2022-04-05 07:59:40.942 *** alicE_resume_expired_session_returns_correct_h_1822@localhost in <presence from='alicE_resume_expired_session_returns_correct_h_1822@localhost/escalus-default-resource' to='alice_resume_expired_session_returns_correct_h_1822@localhost/escalus-default-resource' xml:lang='en'/>
*** User 2022-04-05 07:59:40.942 *** bOb_resume_expired_session_returns_correct_h_1821@localhost/escalus-default-resource out </stream:stream>
*** User 2022-04-05 07:59:40.942 *** bOb_resume_expired_session_returns_correct_h_1821@localhost/escalus-default-resource in </stream:stream>
*** User 2022-04-05 07:59:40.942 *** alicE_resume_expired_session_returns_correct_h_1822@localhost out </stream:stream>
*** User 2022-04-05 07:59:40.942 *** alicE_resume_expired_session_returns_correct_h_1822@localhost in </stream:stream>
=== Ended at 2022-04-05 07:59:40 === successfully completed test case === === Returned value: already_stopped
Test run history | Top level test index | Latest test result