=== Test case: mod_event_pusher_sns_SUITE:disconnected_user_becomes_unavailable/1 (click for source code)

=== Config value:

    [{watchdog,<0.58911.0>},
     {preset,"pgsql_cets"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/mod_event_pusher_sns_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@c63aed7f6ecc.2024-04-26_12.39.39/big_tests.tests.mod_event_pusher_sns_SUITE.logs/run.2024-04-26_12.48.27/mod_event_pusher_sns_suite.disconnected_user_becomes_unavailable.html"},
     {tc_group_properties,[{name,presence_status_publish},
                           {repeat_until_all_ok,3}]},
     {tc_group_path,[]},
     {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/mod_event_pusher_sns_SUITE_data/"},
     {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@c63aed7f6ecc.2024-04-26_12.39.39/big_tests.tests.mod_event_pusher_sns_SUITE.logs/run.2024-04-26_12.48.27/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"localhost">>},
      #{mod_vcard =>
            #{matches => 30,
              host => {prefix,<<"vjud.">>},
              search => true,iqdisc => parallel,backend => rdbms},
        mod_roster =>
            #{iqdisc => one_queue,backend => rdbms,versioning => false,
              store_current_id => false},
        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_muc =>
            #{access => muc,
              host => {prefix,<<"muc.">>},
              backend => rdbms,online_backend => cets,max_users => 200,
              room_shaper => none,http_auth_pool => none,
              hibernate_timeout => 2000,history_size => 20,
              hibernated_room_check_interval => 1000,
              hibernated_room_timeout => 2000,access_create => muc_create,
              access_admin => none,access_persistent => all,
              default_room =>
                  #{public => true,description => <<>>,title => <<>>,
                    persistent => false,password => <<>>,subject => <<>>,
                    affiliations => [],anonymous => true,
                    allow_change_subj => true,allow_query_users => true,
                    allow_private_messages => true,
                    allow_visitor_status => true,
                    allow_visitor_nickchange => true,public_list => true,
                    moderated => true,members_by_default => true,
                    members_only => false,allow_user_invites => false,
                    allow_multiple_sessions => false,
                    password_protected => false,max_users => 200,
                    maygetmemberlist => [],logging => false,
                    subject_author => <<>>},
              load_permanent_rooms_at_startup => false,
              max_room_id => infinity,min_presence_interval => 0,
              max_users_admin_threshold => 5,user_message_shaper => none,
              user_presence_shaper => none,min_message_interval => 0,
              max_user_conferences => 10,max_room_name => infinity,
              max_room_desc => infinity},
        mod_sic => #{iqdisc => one_queue},
        mod_amp => #{},mod_presence => #{},
        mod_disco =>
            #{iqdisc => one_queue,users_can_see_hidden_services => false,
              server_info => [],extra_domains => []},
        mod_muc_log =>
            #{dirname => room_jid,outdir => "/tmp/muclogs",
              file_format => html,css_file => false,timezone => local,
              spam_prevention => true,
              top_link => {"/","Home"},
              access_log => muc,dirtype => subdirs},
        mod_stream_management =>
            #{buffer => true,ack => true,backend => cets,
              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 => cets,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}}}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@c63aed7f6ecc.2024-04-26_12.39.39"

=== Started at 2024-04-26 12:48:37


*** CT 2024-04-26 12:48:37.920 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_1979.html

*** User 2024-04-26 12:48:38.219 ***🔗
bOb_unnamed_2446@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-26 12:48:38.219 ***🔗
bOb_unnamed_2446@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f74ced11bc072eaf' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-26 12:48:38.220 ***🔗
bOb_unnamed_2446@localhost/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 2024-04-26 12:48:38.220 ***🔗
bOb_unnamed_2446@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bm5hbWVkXzI0NDYAbWFrcm9saWth</auth>



*** User 2024-04-26 12:48:38.221 ***🔗
bOb_unnamed_2446@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-26 12:48:38.221 ***🔗
bOb_unnamed_2446@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-26 12:48:38.221 ***🔗
bOb_unnamed_2446@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9dac5ff7db7d1294' from='localhost' version='1.0' xml:lang='en' to='bob_unnamed_2446@localhost'>

*** User 2024-04-26 12:48:38.221 ***🔗
bOb_unnamed_2446@localhost/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 2024-04-26 12:48:38.221 ***🔗
bOb_unnamed_2446@localhost/res1 out
<iq type='set' id='ba688a22c128bd60eba6d678f8653059'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-26 12:48:38.221 ***🔗
bOb_unnamed_2446@localhost/res1 in
<iq id='ba688a22c128bd60eba6d678f8653059' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_unnamed_2446@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-26 12:48:38.222 ***🔗
bob_unnamed_2446@localhost/res1 out
<iq type='set' id='e06ae8cd015dcb48c1a53860d25b4da0'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-26 12:48:38.222 ***🔗
bob_unnamed_2446@localhost/res1 in
<iq from='localhost' to='bob_unnamed_2446@localhost/res1' id='e06ae8cd015dcb48c1a53860d25b4da0' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-26 12:48:38.222 ***🔗
bob_unnamed_2446@localhost/res1 out
<presence/>



*** User 2024-04-26 12:48:38.223 ***🔗
bob_unnamed_2446@localhost/res1 in
<presence from='bob_unnamed_2446@localhost/res1' to='bob_unnamed_2446@localhost/res1'/>



*** User 2024-04-26 12:48:38.224 ***🔗
alicE_unnamed_2446@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-26 12:48:38.224 ***🔗
alicE_unnamed_2446@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='233819e6e608a95a' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-26 12:48:38.224 ***🔗
alicE_unnamed_2446@localhost/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 2024-04-26 12:48:38.224 ***🔗
alicE_unnamed_2446@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3VubmFtZWRfMjQ0NgBtYXR5Z3J5c2E=</auth>



*** User 2024-04-26 12:48:38.225 ***🔗
alicE_unnamed_2446@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-26 12:48:38.225 ***🔗
alicE_unnamed_2446@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-26 12:48:38.225 ***🔗
alicE_unnamed_2446@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='feb4b72f49397152' from='localhost' version='1.0' xml:lang='en' to='alice_unnamed_2446@localhost'>

*** User 2024-04-26 12:48:38.225 ***🔗
alicE_unnamed_2446@localhost/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 2024-04-26 12:48:38.225 ***🔗
alicE_unnamed_2446@localhost/res1 out
<iq type='set' id='aceaf52bcc5eea9a35bc08f661de8271'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-26 12:48:38.226 ***🔗
alicE_unnamed_2446@localhost/res1 in
<iq id='aceaf52bcc5eea9a35bc08f661de8271' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_unnamed_2446@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-26 12:48:38.226 ***🔗
alice_unnamed_2446@localhost/res1 out
<iq type='set' id='8dde3cd30a3dd259cad11b6b16017606'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-26 12:48:38.226 ***🔗
alice_unnamed_2446@localhost/res1 in
<iq from='localhost' to='alice_unnamed_2446@localhost/res1' id='8dde3cd30a3dd259cad11b6b16017606' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-26 12:48:38.227 ***🔗
alice_unnamed_2446@localhost/res1 out
<presence/>



*** User 2024-04-26 12:48:38.227 ***🔗
alice_unnamed_2446@localhost/res1 in
<presence from='alice_unnamed_2446@localhost/res1' to='alice_unnamed_2446@localhost/res1'/>



*** User 2024-04-26 12:48:38.228 ***🔗
alice_unnamed_2446@localhost/res1 out
</stream:stream>

*** User 2024-04-26 12:48:38.228 ***🔗
alice_unnamed_2446@localhost/res1 in
</stream:stream>

*** User 2024-04-26 12:48:38.228 ***🔗
bob_unnamed_2446@localhost/res1 out
</stream:stream>

*** User 2024-04-26 12:48:38.228 ***🔗
bob_unnamed_2446@localhost/res1 in
</stream:stream>
*** CT 2024-04-26 12:48:38.248 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_1979.html



=== Ended at 2024-04-26 12:48:38
=== successfully completed test case
=== === Returned value: {publish,
                        "arn:aws:sns:eu-west-1:123456789012:user_presence_updated-dev-1",
                        #{user_id => <<"alice_unnamed_2446@localhost">>,
                          present => false},
                        undefined,[],
                        {aws_config,"autoscaling.amazonaws.com","https",
                            "ec2.amazonaws.com",undefined,"iam.amazonaws.com",
                            "sts.amazonaws.com","https://","s3.amazonaws.com",
                            80,false,2,vhost,false,"sdb.amazonaws.com",
                            "cognito-idp.eu-west-1.amazonaws.com","https://",
                            "elasticloadbalancing.amazonaws.com",
                            "rds.us-east-1.amazonaws.com",
                            "email.us-east-1.amazonaws.com",
                            "queue.amazonaws.com",undefined,undefined,
                            "https://",
                            "elasticmapreduce.us-east-1.amazonaws.com",
                            undefined,"https://",
                            "sns.eu-west-1.amazonaws.com",undefined,
                            "mechanicalturk.amazonaws.com",
                            "monitoring.amazonaws.com",undefined,undefined,
                            "https://","dynamodb.us-east-1.amazonaws.com",80,
                            fun erlcloud_ddb_impl:retry/1,"https://",
                            "streams.dynamodb.us-east-1.amazonaws.com",80,
                            "https://","route53.amazonaws.com","80",
                            "https://","lambda.us-east-1.amazonaws.com",443,
                            "https://","states.us-east-1.amazonaws.com",443,
                            "https://","redshift.us-east-1.amazonaws.com",443,
                            "https://","kinesis.us-east-1.amazonaws.com",80,
                            fun erlcloud_kinesis_impl:retry/2,"https://",
                            "glue.us-east-1.amazonaws.com",443,"https://",
                            "athena.us-east-1.amazonaws.com",443,"https://",
                            "kms.us-east-1.amazonaws.com",80,"https://",
                            "inspector.us-west-2.amazonaws.com",80,"https://",
                            "cloudtrail.amazonaws.com",80,"https://",
                            "logs.us-east-1.amazonaws.com",443,
                            "cloudfront.amazonaws.com","https://",
                            "autoscaling.us-east-1.amazonaws.com",80,
                            "https://","autoscaling.us-east-1.amazonaws.com",
                            80,"https://",
                            "directconnect.us-east-1.amazonaws.com",80,
                            "https://","cloudsearch.us-east-1.amazonaws.com",
                            443,"cloudformation.us-east-1.amazonaws.com",
                            "https://","waf.amazonaws.com",443,"https://",
                            "ecs.us-east-1.amazonaws.com",443,"https://",
                            "entitlement.marketplace.us-east-1.amazonaws.com",
                            443,"https://",
                            "metering.marketplace.us-east-1.amazonaws.com",
                            443,"https://",
                            "secretsmanager.us-east-1.amazonaws.com",443,
                            "https://","ssm.us-east-1.amazonaws.com",443,
                            "https://","guardduty.us-east-1.amazonaws.com",
                            443,"https://","cur.us-east-1.amazonaws.com",443,
                            "https://","config.us-east-1.amazonaws.com",443,
                            "https://","workspaces.us-east-1.amazonaws.com",
                            443,"AKIAIH54ALYGMZTESTID",
                            "buRqHOxXCFUQkiuYgdUAy+XoGKt0Ec6DTESTKEY+",
                            undefined,undefined,undefined,false,lhttpc,
                            default,undefined,fun erlcloud_retry:no_retry/1,
                            fun erlcloud_retry:only_http_errors/1,10,
                            {aws_assume_role,undefined,"erlcloud",900,
                                undefined},
                            undefined,undefined,
                            {hackney_client_options,true,undefined,
                                undefined}}}


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