=== Test case: amp_big_SUITE:unacceptable_rules_test/1 (click for source code)

=== Config value:

    [{offline_storage,none},
     {watchdog,<0.2339.0>},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/amp_big_SUITE_data"},
     {preset,"odbc_mssql_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@88d84ff17c71.2022-03-04_11.16.52/big_tests.tests.amp_big_SUITE.logs/run.2022-03-04_11.17.05/amp_big_suite.unacceptable_rules_test.5250.html"},
     {tc_group_properties,[{name,basic},parallel]},
     {tc_group_path,[]},
     {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/amp_big_SUITE_data/"},
     {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@88d84ff17c71.2022-03-04_11.16.52/big_tests.tests.amp_big_SUITE.logs/run.2022-03-04_11.17.05/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"test type">>},
      #{mod_adhoc => [],mod_amp => [],mod_bosh => [],
        mod_cache_users => [{number_of_segments,5},{time_to_live,2}],
        mod_carboncopy => [],mod_commands => [],
        mod_disco => [{users_can_see_hidden_services,false}],
        mod_muc_commands => [],mod_muc_light_commands => [],
        mod_register =>
            [{welcome_message,{[],[]}},
             {ip_access,[{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}]},
             {access,register},
             {registration_watchers,[]}],
        mod_roster => [{backend,rdbms}],
        mod_sic => [],mod_stream_management => [],
        mod_vcard => [{backend,rdbms},{host,{prefix,<<"vjud.">>}}]}}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@88d84ff17c71.2022-03-04_11.16.52"

=== Started at 2022-03-04 11:17:06


*** CT 2022-03-04 11:17:06.271 *** View log from node mongooseim@localhost when started mongooseim@localhost_40.html
*** CT 2022-03-04 11:17:06.273 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_30.html

*** User 2022-03-04 11:17:06.380 ***
alicE_unacceptable_rules_test_45@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-04 11:17:06.380 ***
alicE_unacceptable_rules_test_45@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='673de88d98adb255' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:17:06.381 ***
alicE_unacceptable_rules_test_45@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-04 11:17:06.381 ***
alicE_unacceptable_rules_test_45@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3VuYWNjZXB0YWJsZV9ydWxlc190ZXN0XzQ1AG1hdHlncnlzYQ==</auth>



*** User 2022-03-04 11:17:06.382 ***
alicE_unacceptable_rules_test_45@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-04 11:17:06.382 ***
alicE_unacceptable_rules_test_45@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-04 11:17:06.383 ***
alicE_unacceptable_rules_test_45@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='98e5ecd5aa49fdc1' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:17:06.383 ***
alicE_unacceptable_rules_test_45@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-04 11:17:06.383 ***
alicE_unacceptable_rules_test_45@domain.example.com/res1 out
<iq type='set' id='8d17f1d41e9836cd3ef57354ee40c1fd'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-04 11:17:06.383 ***
alicE_unacceptable_rules_test_45@domain.example.com/res1 in
<iq id='8d17f1d41e9836cd3ef57354ee40c1fd' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_unacceptable_rules_test_45@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-03-04 11:17:06.384 ***
alicE_unacceptable_rules_test_45@domain.example.com/res1 out
<iq type='set' id='3e74a8c223fdc046003024839241d729'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:17:06.384 ***
alicE_unacceptable_rules_test_45@domain.example.com/res1 in
<iq type='result' id='3e74a8c223fdc046003024839241d729'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:17:06.384 ***
alicE_unacceptable_rules_test_45@domain.example.com/res1 out
<presence/>



*** User 2022-03-04 11:17:06.386 ***
alicE_unacceptable_rules_test_45@domain.example.com/res1 in
<presence from='alicE_unacceptable_rules_test_45@domain.example.com/res1' to='alice_unacceptable_rules_test_45@domain.example.com/res1' xml:lang='en'/>



*** User 2022-03-04 11:17:06.387 ***
bOb_unacceptable_rules_test_45@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-04 11:17:06.389 ***
bOb_unacceptable_rules_test_45@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6eca891a1bc82f70' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:17:06.389 ***
bOb_unacceptable_rules_test_45@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-04 11:17:06.389 ***
bOb_unacceptable_rules_test_45@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bmFjY2VwdGFibGVfcnVsZXNfdGVzdF80NQBtYWtyb2xpa2E=</auth>



*** User 2022-03-04 11:17:06.391 ***
bOb_unacceptable_rules_test_45@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-04 11:17:06.391 ***
bOb_unacceptable_rules_test_45@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-04 11:17:06.391 ***
bOb_unacceptable_rules_test_45@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ef30b7298effb4d6' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:17:06.392 ***
bOb_unacceptable_rules_test_45@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-04 11:17:06.392 ***
bOb_unacceptable_rules_test_45@domain.example.com/res1 out
<iq type='set' id='58ef8dba6858ad8e30c61f2b6bd5d08f'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-04 11:17:06.392 ***
bOb_unacceptable_rules_test_45@domain.example.com/res1 in
<iq id='58ef8dba6858ad8e30c61f2b6bd5d08f' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_unacceptable_rules_test_45@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-03-04 11:17:06.392 ***
bOb_unacceptable_rules_test_45@domain.example.com/res1 out
<iq type='set' id='9284e4fb585fd9e85121b45d7db8adb9'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:17:06.392 ***
bOb_unacceptable_rules_test_45@domain.example.com/res1 in
<iq type='result' id='9284e4fb585fd9e85121b45d7db8adb9'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:17:06.392 ***
bOb_unacceptable_rules_test_45@domain.example.com/res1 out
<presence/>



*** User 2022-03-04 11:17:06.442 ***
bOb_unacceptable_rules_test_45@domain.example.com/res1 in
<presence from='bOb_unacceptable_rules_test_45@domain.example.com/res1' to='bob_unacceptable_rules_test_45@domain.example.com/res1' xml:lang='en'/>



*** User 2022-03-04 11:17:06.442 ***
alicE_unacceptable_rules_test_45@domain.example.com/res1 out
<message to='bOb_unacceptable_rules_test_45@domain.example.com/res1' type='chat' id='2ba36adda657f394aec4f5b2f6f17937'>
	<body>Break all the rules!</body>
	<amp xmlns='http://jabber.org/protocol/amp'>
		<rule condition='broken' value='rule' action='spec'/>
		<rule condition='also_broken' value='rule' action='spec'/>
	</amp>
</message>



*** User 2022-03-04 11:17:06.443 ***
alicE_unacceptable_rules_test_45@domain.example.com/res1 in
<message from='domain.example.com' to='alicE_unacceptable_rules_test_45@domain.example.com/res1' id='2ba36adda657f394aec4f5b2f6f17937' type='error'>
	<error type='modify' code='405'>
		<not-acceptable xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
		<invalid-rules xmlns='http://jabber.org/protocol/amp'>
			<rule condition='broken' value='rule' action='spec'/>
			<rule condition='also_broken' value='rule' action='spec'/>
		</invalid-rules>
	</error>
	<amp xmlns='http://jabber.org/protocol/amp'>
		<rule condition='broken' value='rule' action='spec'/>
		<rule condition='also_broken' value='rule' action='spec'/>
	</amp>
</message>



*** User 2022-03-04 11:17:06.443 ***
bOb_unacceptable_rules_test_45@domain.example.com/res1 out
</stream:stream>

*** User 2022-03-04 11:17:06.443 ***
bOb_unacceptable_rules_test_45@domain.example.com/res1 in
</stream:stream>

*** User 2022-03-04 11:17:06.444 ***
alicE_unacceptable_rules_test_45@domain.example.com/res1 out
</stream:stream>

*** User 2022-03-04 11:17:06.444 ***
alicE_unacceptable_rules_test_45@domain.example.com/res1 in
</stream:stream>
*** CT 2022-03-04 11:17:06.646 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_30.html
*** CT 2022-03-04 11:17:06.647 *** View log from node mongooseim@localhost when finished mongooseim@localhost_40.html



=== Ended at 2022-03-04 11:17:06
=== successfully completed test case
=== === Returned value: ok