=== Test case: last_SUITE:user_not_subscribed_receives_error/1 (click for source code)

=== Config value:

    [{watchdog,<0.24313.0>},
     {backend,rdbms},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/last_SUITE_data"},
     {preset,"pgsql_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@a072b68d2bee.2022-03-18_10.50.04/big_tests.tests.last_SUITE.logs/run.2022-03-18_10.53.37/last_suite.user_not_subscribed_receives_error.html"},
     {tc_group_properties,[{name,invalid_queries},{repeat_until_all_ok,3}]},
     {tc_group_path,[]},
     {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/last_SUITE_data/"},
     {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@a072b68d2bee.2022-03-18_10.50.04/big_tests.tests.last_SUITE.logs/run.2022-03-18_10.53.37/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"test type">>},
      #{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}}}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@a072b68d2bee.2022-03-18_10.50.04"

=== Started at 2022-03-18 10:53:39


*** CT 2022-03-18 10:53:39.469 *** View log from node mongooseim@localhost when started mongooseim@localhost_828.html
*** CT 2022-03-18 10:53:39.469 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_437.html

*** User 2022-03-18 10:53:39.474 ***
alicE_user_not_subscribed_receives_error_1007@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-03-18 10:53:39.474 ***
alicE_user_not_subscribed_receives_error_1007@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4e7c87214c3d16ad' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-18 10:53:39.474 ***
alicE_user_not_subscribed_receives_error_1007@domain.example.com/res1 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-03-18 10:53:39.475 ***
alicE_user_not_subscribed_receives_error_1007@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3VzZXJfbm90X3N1YnNjcmliZWRfcmVjZWl2ZXNfZXJyb3JfMTAwNwBtYXR5Z3J5c2E=</auth>



*** User 2022-03-18 10:53:39.476 ***
alicE_user_not_subscribed_receives_error_1007@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-18 10:53:39.476 ***
alicE_user_not_subscribed_receives_error_1007@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-03-18 10:53:39.476 ***
alicE_user_not_subscribed_receives_error_1007@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='fa91a91154007061' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-18 10:53:39.476 ***
alicE_user_not_subscribed_receives_error_1007@domain.example.com/res1 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-03-18 10:53:39.476 ***
alicE_user_not_subscribed_receives_error_1007@domain.example.com/res1 out
<iq type='set' id='2b2a8915f4f090e129bc8cdbdef9dcc2'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-18 10:53:39.477 ***
alicE_user_not_subscribed_receives_error_1007@domain.example.com/res1 in
<iq id='2b2a8915f4f090e129bc8cdbdef9dcc2' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_user_not_subscribed_receives_error_1007@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-03-18 10:53:39.477 ***
alicE_user_not_subscribed_receives_error_1007@domain.example.com/res1 out
<iq type='set' id='ada03f72a599fbc1175b31ffb7a98b85'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:53:39.477 ***
alicE_user_not_subscribed_receives_error_1007@domain.example.com/res1 in
<iq type='result' id='ada03f72a599fbc1175b31ffb7a98b85'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:53:39.477 ***
alicE_user_not_subscribed_receives_error_1007@domain.example.com/res1 out
<presence/>



*** User 2022-03-18 10:53:39.478 ***
alicE_user_not_subscribed_receives_error_1007@domain.example.com/res1 in
<presence from='alicE_user_not_subscribed_receives_error_1007@domain.example.com/res1' to='alice_user_not_subscribed_receives_error_1007@domain.example.com/res1' xml:lang='en'/>



*** User 2022-03-18 10:53:39.479 ***
bOb_user_not_subscribed_receives_error_1007@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-03-18 10:53:39.479 ***
bOb_user_not_subscribed_receives_error_1007@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c11e0d3356285869' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-18 10:53:39.480 ***
bOb_user_not_subscribed_receives_error_1007@domain.example.com/res1 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-03-18 10:53:39.480 ***
bOb_user_not_subscribed_receives_error_1007@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91c2VyX25vdF9zdWJzY3JpYmVkX3JlY2VpdmVzX2Vycm9yXzEwMDcAbWFrcm9saWth</auth>



*** User 2022-03-18 10:53:39.481 ***
bOb_user_not_subscribed_receives_error_1007@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-18 10:53:39.481 ***
bOb_user_not_subscribed_receives_error_1007@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-03-18 10:53:39.481 ***
bOb_user_not_subscribed_receives_error_1007@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6e0787a99a9daae7' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-18 10:53:39.481 ***
bOb_user_not_subscribed_receives_error_1007@domain.example.com/res1 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-03-18 10:53:39.481 ***
bOb_user_not_subscribed_receives_error_1007@domain.example.com/res1 out
<iq type='set' id='f6ce3e4adac11df729d8692123156a68'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-18 10:53:39.481 ***
bOb_user_not_subscribed_receives_error_1007@domain.example.com/res1 in
<iq id='f6ce3e4adac11df729d8692123156a68' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_user_not_subscribed_receives_error_1007@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-03-18 10:53:39.482 ***
bOb_user_not_subscribed_receives_error_1007@domain.example.com/res1 out
<iq type='set' id='69f4db2b928bb7ae0d3a6cf5d28a2777'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:53:39.482 ***
bOb_user_not_subscribed_receives_error_1007@domain.example.com/res1 in
<iq type='result' id='69f4db2b928bb7ae0d3a6cf5d28a2777'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:53:39.482 ***
bOb_user_not_subscribed_receives_error_1007@domain.example.com/res1 out
<presence/>



*** User 2022-03-18 10:53:39.483 ***
bOb_user_not_subscribed_receives_error_1007@domain.example.com/res1 in
<presence from='bOb_user_not_subscribed_receives_error_1007@domain.example.com/res1' to='bob_user_not_subscribed_receives_error_1007@domain.example.com/res1' xml:lang='en'/>



*** User 2022-03-18 10:53:39.483 ***
alicE_user_not_subscribed_receives_error_1007@domain.example.com/res1 out
<iq type='get' id='421f3bed22f7784ea1c014fbe1f43613' to='bOb_user_not_subscribed_receives_error_1007@domain.example.com'>
	<query xmlns='jabber:iq:last'/>
</iq>



*** User 2022-03-18 10:53:39.485 ***
alicE_user_not_subscribed_receives_error_1007@domain.example.com/res1 in
<iq from='bOb_user_not_subscribed_receives_error_1007@domain.example.com' to='alicE_user_not_subscribed_receives_error_1007@domain.example.com/res1' id='421f3bed22f7784ea1c014fbe1f43613' type='error'>
	<query xmlns='jabber:iq:last'/>
	<error code='403' type='auth'>
		<forbidden xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
	</error>
</iq>



*** User 2022-03-18 10:53:39.485 ***
alicE_user_not_subscribed_receives_error_1007@domain.example.com/res1 out
<iq type='get' id='414ab25fcac09d1ed830ca30e2b3d3a3' to='bOb_user_not_subscribed_receives_error_1007@domain.example.com/res1'>
	<query xmlns='jabber:iq:last'/>
</iq>



*** User 2022-03-18 10:53:39.486 ***
alicE_user_not_subscribed_receives_error_1007@domain.example.com/res1 in
<iq from='bOb_user_not_subscribed_receives_error_1007@domain.example.com/res1' to='alicE_user_not_subscribed_receives_error_1007@domain.example.com/res1' type='error' xml:lang='en' id='414ab25fcac09d1ed830ca30e2b3d3a3'>
	<query xmlns='jabber:iq:last'/>
	<error code='403' type='auth'>
		<forbidden xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
	</error>
</iq>



*** User 2022-03-18 10:53:39.486 ***
bOb_user_not_subscribed_receives_error_1007@domain.example.com/res1 out
</stream:stream>

*** User 2022-03-18 10:53:39.486 ***
bOb_user_not_subscribed_receives_error_1007@domain.example.com/res1 in
</stream:stream>

*** User 2022-03-18 10:53:39.486 ***
alicE_user_not_subscribed_receives_error_1007@domain.example.com/res1 out
</stream:stream>

*** User 2022-03-18 10:53:39.487 ***
alicE_user_not_subscribed_receives_error_1007@domain.example.com/res1 in
</stream:stream>
*** CT 2022-03-18 10:53:39.489 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_437.html
*** CT 2022-03-18 10:53:39.490 *** View log from node mongooseim@localhost when finished mongooseim@localhost_828.html



=== Ended at 2022-03-18 10:53:39
=== successfully completed test case
=== === Returned value: ok


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