=== Test case: amp_big_SUITE:unacceptable_rules_test/1 (click for source code)
=== Config value:
[{offline_storage,none},
{watchdog,<0.2438.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@0f60266fbb42.2024-04-30_06.48.58/big_tests.tests.amp_big_SUITE.logs/run.2024-04-30_06.49.17/amp_big_suite.unacceptable_rules_test.2690.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@0f60266fbb42.2024-04-30_06.48.58/big_tests.tests.amp_big_SUITE.logs/run.2024-04-30_06.49.17/log_private/"},
{{saved_modules,mongooseim@localhost,<<"test type">>},
#{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_amp => #{},
mod_sic => #{iqdisc => one_queue},
mod_disco =>
#{iqdisc => one_queue,server_info => [],extra_domains => [],
users_can_see_hidden_services => false},
mod_presence => #{},
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_cache_users =>
#{strategy => fifo,number_of_segments => 5,time_to_live => 2},
mod_bosh =>
#{backend => mnesia,inactivity => 30,max_pause => 120,
max_wait => infinity,server_acks => false},
mod_carboncopy => #{iqdisc => no_queue}}}]
=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@0f60266fbb42.2024-04-30_06.48.58"
=== Started at 2024-04-30 06:49:17
*** User 2024-04-30 06:49:17.880 ***🔗
alicE_unacceptable_rules_test_88@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 2024-04-30 06:49:17.882 ***🔗
alicE_unacceptable_rules_test_88@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='87e0283c198dc8b5' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-04-30 06:49:17.882 ***🔗
alicE_unacceptable_rules_test_88@domain.example.com/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-30 06:49:17.883 ***🔗
alicE_unacceptable_rules_test_88@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3VuYWNjZXB0YWJsZV9ydWxlc190ZXN0Xzg4AG1hdHlncnlzYQ==</auth>
*** User 2024-04-30 06:49:17.896 ***🔗
alicE_unacceptable_rules_test_88@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-30 06:49:17.903 ***🔗
alicE_unacceptable_rules_test_88@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 2024-04-30 06:49:17.926 ***🔗
alicE_unacceptable_rules_test_88@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5a43536c3459ccef' from='domain.example.com' version='1.0' xml:lang='en' to='alice_unacceptable_rules_test_88@domain.example.com'>
*** User 2024-04-30 06:49:17.926 ***🔗
alicE_unacceptable_rules_test_88@domain.example.com/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-30 06:49:17.927 ***🔗
alicE_unacceptable_rules_test_88@domain.example.com/res1 out
<iq type='set' id='c76e03d151a38ce0864ce94417b738bc'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-30 06:49:17.933 ***🔗
alicE_unacceptable_rules_test_88@domain.example.com/res1 in
<iq id='c76e03d151a38ce0864ce94417b738bc' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_unacceptable_rules_test_88@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-04-30 06:49:17.933 ***🔗
alice_unacceptable_rules_test_88@domain.example.com/res1 out
<iq type='set' id='bf3118c174f61f59aa441d4053e3dfc9'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-30 06:49:17.949 ***🔗
alice_unacceptable_rules_test_88@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_unacceptable_rules_test_88@domain.example.com/res1' id='bf3118c174f61f59aa441d4053e3dfc9' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-30 06:49:17.949 ***🔗
alice_unacceptable_rules_test_88@domain.example.com/res1 out
<presence/>
*** User 2024-04-30 06:49:17.979 ***🔗
alice_unacceptable_rules_test_88@domain.example.com/res1 in
<presence from='alice_unacceptable_rules_test_88@domain.example.com/res1' to='alice_unacceptable_rules_test_88@domain.example.com/res1'/>
*** User 2024-04-30 06:49:17.994 ***🔗
bOb_unacceptable_rules_test_88@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 2024-04-30 06:49:17.999 ***🔗
bOb_unacceptable_rules_test_88@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7d503b57d5d7cb6d' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-04-30 06:49:17.999 ***🔗
bOb_unacceptable_rules_test_88@domain.example.com/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-30 06:49:17.999 ***🔗
bOb_unacceptable_rules_test_88@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bmFjY2VwdGFibGVfcnVsZXNfdGVzdF84OABtYWtyb2xpa2E=</auth>
*** User 2024-04-30 06:49:18.002 ***🔗
bOb_unacceptable_rules_test_88@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-30 06:49:18.003 ***🔗
bOb_unacceptable_rules_test_88@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 2024-04-30 06:49:18.004 ***🔗
bOb_unacceptable_rules_test_88@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='43355b467b15ae1e' from='domain.example.com' version='1.0' xml:lang='en' to='bob_unacceptable_rules_test_88@domain.example.com'>
*** User 2024-04-30 06:49:18.004 ***🔗
bOb_unacceptable_rules_test_88@domain.example.com/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-30 06:49:18.004 ***🔗
bOb_unacceptable_rules_test_88@domain.example.com/res1 out
<iq type='set' id='bbd93f684a8ba0f950519d00de0bfb1f'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-30 06:49:18.011 ***🔗
bOb_unacceptable_rules_test_88@domain.example.com/res1 in
<iq id='bbd93f684a8ba0f950519d00de0bfb1f' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_unacceptable_rules_test_88@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-04-30 06:49:18.011 ***🔗
bob_unacceptable_rules_test_88@domain.example.com/res1 out
<iq type='set' id='090f730b22c35decfe787db24da1e2dc'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-30 06:49:18.028 ***🔗
bob_unacceptable_rules_test_88@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_unacceptable_rules_test_88@domain.example.com/res1' id='090f730b22c35decfe787db24da1e2dc' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-30 06:49:18.031 ***🔗
bob_unacceptable_rules_test_88@domain.example.com/res1 out
<presence/>
*** User 2024-04-30 06:49:18.070 ***🔗
bob_unacceptable_rules_test_88@domain.example.com/res1 in
<presence from='bob_unacceptable_rules_test_88@domain.example.com/res1' to='bob_unacceptable_rules_test_88@domain.example.com/res1'/>
*** User 2024-04-30 06:49:18.071 ***🔗
alice_unacceptable_rules_test_88@domain.example.com/res1 out
<message type='chat' to='bob_unacceptable_rules_test_88@domain.example.com/res1' id='4991ac3df8d14b0ec8c58ba7cf22b841'>
<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-04-30 06:49:18.074 ***🔗
alice_unacceptable_rules_test_88@domain.example.com/res1 in
<message from='domain.example.com' to='alice_unacceptable_rules_test_88@domain.example.com/res1' id='4991ac3df8d14b0ec8c58ba7cf22b841' 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-04-30 06:49:18.075 ***🔗
bob_unacceptable_rules_test_88@domain.example.com/res1 out
</stream:stream>
*** User 2024-04-30 06:49:18.083 ***🔗
bob_unacceptable_rules_test_88@domain.example.com/res1 in
</stream:stream>
*** User 2024-04-30 06:49:18.083 ***🔗
alice_unacceptable_rules_test_88@domain.example.com/res1 out
</stream:stream>
*** User 2024-04-30 06:49:18.088 ***🔗
alice_unacceptable_rules_test_88@domain.example.com/res1 in
</stream:stream>
=== Ended at 2024-04-30 06:49:19
=== successfully completed test case
=== === Returned value: ok