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

=== Config value:

    [{watchdog,<0.67158.0>},
     {preset,"pgsql_mnesia"},
     {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@de4ca8ebb296.2024-04-16_12.16.15/big_tests.tests.mod_event_pusher_sns_SUITE.logs/run.2024-04-16_12.27.09/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@de4ca8ebb296.2024-04-16_12.16.15/big_tests.tests.mod_event_pusher_sns_SUITE.logs/run.2024-04-16_12.27.09/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_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_muc =>
            #{access => muc,
              host => {prefix,<<"muc.">>},
              backend => rdbms,max_users => 200,room_shaper => none,
              http_auth_pool => none,hibernate_timeout => 2000,
              online_backend => mnesia,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 => <<>>,affiliations => [],
                    subject => <<>>,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_disco =>
            #{users_can_see_hidden_services => false,iqdisc => one_queue,
              server_info => [],extra_domains => []},
        mod_presence => #{},
        mod_stream_management =>
            #{buffer => true,ack => true,backend => mnesia,buffer_max => 100,
              stale_h =>
                  #{enabled => false,repeat_after => 1800,geriatric => 3600},
              ack_freq => 1,resume_timeout => 600},
        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_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}}}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@de4ca8ebb296.2024-04-16_12.16.15"

=== Started at 2024-04-16 12:27:20


*** CT 2024-04-16 12:27:20.360 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_3401.html

*** User 2024-04-16 12:27:20.656 ***🔗
bOb_unnamed_2712@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-16 12:27:20.657 ***🔗
bOb_unnamed_2712@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c4bd81fafcd9a116' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-16 12:27:20.657 ***🔗
bOb_unnamed_2712@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-16 12:27:20.657 ***🔗
bOb_unnamed_2712@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bm5hbWVkXzI3MTIAbWFrcm9saWth</auth>



*** User 2024-04-16 12:27:20.658 ***🔗
bOb_unnamed_2712@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-16 12:27:20.659 ***🔗
bOb_unnamed_2712@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-16 12:27:20.659 ***🔗
bOb_unnamed_2712@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='823f0cbde95faaad' from='localhost' version='1.0' xml:lang='en' to='bob_unnamed_2712@localhost'>

*** User 2024-04-16 12:27:20.659 ***🔗
bOb_unnamed_2712@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-16 12:27:20.659 ***🔗
bOb_unnamed_2712@localhost/res1 out
<iq type='set' id='5ae28047fc41d8d29b6d1c346b1920cf'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-16 12:27:20.659 ***🔗
bOb_unnamed_2712@localhost/res1 in
<iq id='5ae28047fc41d8d29b6d1c346b1920cf' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_unnamed_2712@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-16 12:27:20.660 ***🔗
bob_unnamed_2712@localhost/res1 out
<iq type='set' id='27c0b3d094d91cd6ff873765ad3bf835'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 12:27:20.660 ***🔗
bob_unnamed_2712@localhost/res1 in
<iq from='localhost' to='bob_unnamed_2712@localhost/res1' id='27c0b3d094d91cd6ff873765ad3bf835' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 12:27:20.660 ***🔗
bob_unnamed_2712@localhost/res1 out
<presence/>



*** User 2024-04-16 12:27:20.661 ***🔗
bob_unnamed_2712@localhost/res1 in
<presence from='bob_unnamed_2712@localhost/res1' to='bob_unnamed_2712@localhost/res1'/>



*** User 2024-04-16 12:27:20.662 ***🔗
alicE_unnamed_2712@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-16 12:27:20.662 ***🔗
alicE_unnamed_2712@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='289d1c2e136642f2' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-16 12:27:20.662 ***🔗
alicE_unnamed_2712@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-16 12:27:20.663 ***🔗
alicE_unnamed_2712@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3VubmFtZWRfMjcxMgBtYXR5Z3J5c2E=</auth>



*** User 2024-04-16 12:27:20.663 ***🔗
alicE_unnamed_2712@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-16 12:27:20.663 ***🔗
alicE_unnamed_2712@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-16 12:27:20.664 ***🔗
alicE_unnamed_2712@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9563ab6a75b7e46a' from='localhost' version='1.0' xml:lang='en' to='alice_unnamed_2712@localhost'>

*** User 2024-04-16 12:27:20.664 ***🔗
alicE_unnamed_2712@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-16 12:27:20.664 ***🔗
alicE_unnamed_2712@localhost/res1 out
<iq type='set' id='9a143e7f1e530fc9a1d5e6ae2d9058f7'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-16 12:27:20.664 ***🔗
alicE_unnamed_2712@localhost/res1 in
<iq id='9a143e7f1e530fc9a1d5e6ae2d9058f7' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_unnamed_2712@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-16 12:27:20.664 ***🔗
alice_unnamed_2712@localhost/res1 out
<iq type='set' id='a7b042dd09de2254c93fb298ed45802e'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 12:27:20.665 ***🔗
alice_unnamed_2712@localhost/res1 in
<iq from='localhost' to='alice_unnamed_2712@localhost/res1' id='a7b042dd09de2254c93fb298ed45802e' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 12:27:20.665 ***🔗
alice_unnamed_2712@localhost/res1 out
<presence/>



*** User 2024-04-16 12:27:20.666 ***🔗
alice_unnamed_2712@localhost/res1 in
<presence from='alice_unnamed_2712@localhost/res1' to='alice_unnamed_2712@localhost/res1'/>



*** User 2024-04-16 12:27:20.666 ***🔗
alice_unnamed_2712@localhost/res1 out
</stream:stream>

*** User 2024-04-16 12:27:20.666 ***🔗
alice_unnamed_2712@localhost/res1 in
</stream:stream>

*** User 2024-04-16 12:27:20.666 ***🔗
bob_unnamed_2712@localhost/res1 out
</stream:stream>

*** User 2024-04-16 12:27:20.667 ***🔗
bob_unnamed_2712@localhost/res1 in
</stream:stream>
*** CT 2024-04-16 12:27:20.693 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_3401.html



=== Ended at 2024-04-16 12:27:20
=== successfully completed test case
=== === Returned value: {publish,
                        "arn:aws:sns:eu-west-1:123456789012:user_presence_updated-dev-1",
                        #{user_id => <<"alice_unnamed_2712@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