=== Test case: amp_big_SUITE:unacceptable_rules_test/1 (click for source code)
=== Config value:
[{offline_storage,none},
{watchdog,<0.2483.0>},
{preset,"odbc_mssql_mnesia"},
{mim_data_dir,"/home/circleci/project/big_tests/tests/amp_big_SUITE_data"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@fb43d4252d17.2024-02-22_12.37.44/big_tests.tests.amp_big_SUITE.logs/run.2024-02-22_12.37.59/amp_big_suite.unacceptable_rules_test.261.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@fb43d4252d17.2024-02-22_12.37.44/big_tests.tests.amp_big_SUITE.logs/run.2024-02-22_12.37.59/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_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_presence => #{},
mod_disco =>
#{iqdisc => one_queue,server_info => [],extra_domains => [],
users_can_see_hidden_services => false},
mod_stream_management =>
#{buffer => true,ack => true,backend => mnesia,
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 => 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@fb43d4252d17.2024-02-22_12.37.44"
=== Started at 2024-02-22 12:38:00
*** User 2024-02-22 12:38:00.309 ***🔗
alicE_unacceptable_rules_test_54@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-02-22 12:38:00.310 ***🔗
alicE_unacceptable_rules_test_54@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c4268e6c894e3ca9' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-02-22 12:38:00.310 ***🔗
alicE_unacceptable_rules_test_54@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-02-22 12:38:00.310 ***🔗
alicE_unacceptable_rules_test_54@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3VuYWNjZXB0YWJsZV9ydWxlc190ZXN0XzU0AG1hdHlncnlzYQ==</auth>
*** User 2024-02-22 12:38:00.311 ***🔗
alicE_unacceptable_rules_test_54@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-02-22 12:38:00.312 ***🔗
alicE_unacceptable_rules_test_54@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-02-22 12:38:00.312 ***🔗
alicE_unacceptable_rules_test_54@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='aa3b2caf4ea2297c' from='localhost' version='1.0' xml:lang='en' to='alice_unacceptable_rules_test_54@localhost'>
*** User 2024-02-22 12:38:00.312 ***🔗
alicE_unacceptable_rules_test_54@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-02-22 12:38:00.312 ***🔗
alicE_unacceptable_rules_test_54@localhost/res1 out
<iq type='set' id='2f9e5922d17fa9f532ec61db739fd397'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-02-22 12:38:00.313 ***🔗
alicE_unacceptable_rules_test_54@localhost/res1 in
<iq id='2f9e5922d17fa9f532ec61db739fd397' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_unacceptable_rules_test_54@localhost/res1</jid>
</bind>
</iq>
*** User 2024-02-22 12:38:00.313 ***🔗
alice_unacceptable_rules_test_54@localhost/res1 out
<iq type='set' id='298b39a22f8f47fdb76785290e27663f'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-02-22 12:38:00.318 ***🔗
alice_unacceptable_rules_test_54@localhost/res1 in
<iq from='localhost' to='alice_unacceptable_rules_test_54@localhost/res1' id='298b39a22f8f47fdb76785290e27663f' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-02-22 12:38:00.318 ***🔗
alice_unacceptable_rules_test_54@localhost/res1 out
<presence/>
*** User 2024-02-22 12:38:00.365 ***🔗
alice_unacceptable_rules_test_54@localhost/res1 in
<presence from='alice_unacceptable_rules_test_54@localhost/res1' to='alice_unacceptable_rules_test_54@localhost/res1'/>
*** User 2024-02-22 12:38:00.366 ***🔗
bOb_unacceptable_rules_test_54@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-02-22 12:38:00.366 ***🔗
bOb_unacceptable_rules_test_54@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='649518986493b7e6' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-02-22 12:38:00.367 ***🔗
bOb_unacceptable_rules_test_54@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-02-22 12:38:00.367 ***🔗
bOb_unacceptable_rules_test_54@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bmFjY2VwdGFibGVfcnVsZXNfdGVzdF81NABtYWtyb2xpa2E=</auth>
*** User 2024-02-22 12:38:00.368 ***🔗
bOb_unacceptable_rules_test_54@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-02-22 12:38:00.368 ***🔗
bOb_unacceptable_rules_test_54@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-02-22 12:38:00.368 ***🔗
bOb_unacceptable_rules_test_54@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='77b0fb4314118526' from='localhost' version='1.0' xml:lang='en' to='bob_unacceptable_rules_test_54@localhost'>
*** User 2024-02-22 12:38:00.369 ***🔗
bOb_unacceptable_rules_test_54@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-02-22 12:38:00.369 ***🔗
bOb_unacceptable_rules_test_54@localhost/res1 out
<iq type='set' id='65f48eb98173fe7833194774de32342a'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-02-22 12:38:00.369 ***🔗
bOb_unacceptable_rules_test_54@localhost/res1 in
<iq id='65f48eb98173fe7833194774de32342a' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_unacceptable_rules_test_54@localhost/res1</jid>
</bind>
</iq>
*** User 2024-02-22 12:38:00.369 ***🔗
bob_unacceptable_rules_test_54@localhost/res1 out
<iq type='set' id='ee44d9abed104d2fd1fd2677c3da45ec'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-02-22 12:38:00.371 ***🔗
bob_unacceptable_rules_test_54@localhost/res1 in
<iq from='localhost' to='bob_unacceptable_rules_test_54@localhost/res1' id='ee44d9abed104d2fd1fd2677c3da45ec' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-02-22 12:38:00.372 ***🔗
bob_unacceptable_rules_test_54@localhost/res1 out
<presence/>
*** User 2024-02-22 12:38:00.376 ***🔗
bob_unacceptable_rules_test_54@localhost/res1 in
<presence from='bob_unacceptable_rules_test_54@localhost/res1' to='bob_unacceptable_rules_test_54@localhost/res1'/>
*** User 2024-02-22 12:38:00.376 ***🔗
alice_unacceptable_rules_test_54@localhost/res1 out
<message type='chat' to='bob_unacceptable_rules_test_54@localhost/res1' id='3090efd33f9f44bdfd351625330b4fa8'>
<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 2024-02-22 12:38:00.377 ***🔗
alice_unacceptable_rules_test_54@localhost/res1 in
<message from='localhost' to='alice_unacceptable_rules_test_54@localhost/res1' id='3090efd33f9f44bdfd351625330b4fa8' 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 2024-02-22 12:38:00.377 ***🔗
bob_unacceptable_rules_test_54@localhost/res1 out
</stream:stream>
*** User 2024-02-22 12:38:00.378 ***🔗
bob_unacceptable_rules_test_54@localhost/res1 in
</stream:stream>
*** User 2024-02-22 12:38:00.378 ***🔗
alice_unacceptable_rules_test_54@localhost/res1 out
</stream:stream>
*** User 2024-02-22 12:38:00.379 ***🔗
alice_unacceptable_rules_test_54@localhost/res1 in
</stream:stream>
=== Ended at 2024-02-22 12:38:00
=== successfully completed test case
=== === Returned value: ok