=== Test case: pubsub_s2s_SUITE:publish_without_node_attr_test/1 (click for source code)
=== Config value:
[{watchdog,<0.9417.1>},
{s2s_opts,{s2s_opts,"priv/ssl/fake_server.pem",optional,
#{ip_address => "0",
ip_tuple => {0,0,0,0},
ip_version => 4,max_stanza_size => 131072,
module => ejabberd_s2s_in,port => 5269,
proto => tcp,shaper => s2s_shaper,
tls => [{dhfile,"priv/ssl/fake_dh_server.pem"}]},
"priv/ssl/fake_server.pem",optional,
#{ip_address => "0",
ip_tuple => {0,0,0,0},
ip_version => 4,max_stanza_size => 131072,
module => ejabberd_s2s_in,port => 5299,
proto => tcp,shaper => s2s_shaper,
tls => [{dhfile,"priv/ssl/fake_dh_server.pem"}]}}},
{escalus_user_db,xmpp},
{mim_data_dir,"/home/circleci/project/big_tests/tests/pubsub_s2s_SUITE_data"},
{preset,"internal_mnesia"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@34a9b6d2516c.2022-01-27_15.25.07/big_tests.tests.pubsub_s2s_SUITE.logs/run.2022-01-27_15.34.49/pubsub_s2s_suite.publish_without_node_attr_test.67714.html"},
{tc_group_properties,[{name,'dag+basic'},
{repeat_until_all_ok,3},
parallel]},
{tc_group_path,[]},
{data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/pubsub_s2s_SUITE_data/"},
{priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@34a9b6d2516c.2022-01-27_15.25.07/big_tests.tests.pubsub_s2s_SUITE.logs/run.2022-01-27_15.34.49/log_private/"},
{escalus_users,[{alice2,[{username,<<"alice">>},
{server,<<"fed1">>},
{host,<<"localhost">>},
{port,5242},
{password,<<"makota2">>}]},
{alice,[{username,<<"alicE">>},
{server,<<"localhost">>},
{password,<<"matygrysa">>}]}]},
{{saved_modules,mongooseim@localhost,<<"localhost">>},
#{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 =>
[{access,register},
{ip_access,[{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}]},
{welcome_message,{[],[]}}],
mod_roster => [],mod_sic => [],mod_stream_management => [],
mod_vcard => [{host,{prefix,<<"vjud.">>}}]}}]
=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@34a9b6d2516c.2022-01-27_15.25.07"
=== Started at 2022-01-27 15:34:50
*** User 2022-01-27 15:34:50.071 ***
alice_publish_without_node_attr_test_1202@fed1 out
<stream:stream to='fed1' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-01-27 15:34:50.071 ***
alice_publish_without_node_attr_test_1202@fed1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='bc0252584b9b036b' from='fed1' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:34:50.071 ***
alice_publish_without_node_attr_test_1202@fed1 in
<stream:features>
<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>SCRAM-SHA-512</mechanism>
<mechanism>SCRAM-SHA-384</mechanism>
<mechanism>SCRAM-SHA-256</mechanism>
<mechanism>SCRAM-SHA-224</mechanism>
<mechanism>SCRAM-SHA-1</mechanism>
<mechanism>PLAIN</mechanism>
</mechanisms>
<register xmlns='http://jabber.org/features/iq-register'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-01-27 15:34:50.071 ***
alice_publish_without_node_attr_test_1202@fed1 out
<iq type='get' id='513e2083acfc5bf80079634f114355e7'>
<query xmlns='jabber:iq:register'/>
</iq>
*** User 2022-01-27 15:34:50.072 ***
alice_publish_without_node_attr_test_1202@fed1 in
<iq from='fed1' id='513e2083acfc5bf80079634f114355e7' type='result'>
<query xmlns='jabber:iq:register'>
<instructions>Choose a username and password to register with this server</instructions>
<username/>
<password/>
</query>
</iq>
*** User 2022-01-27 15:34:50.072 ***
alice_publish_without_node_attr_test_1202@fed1 out
<iq type='set' id='7335d5d05001bf806da261597a7c6c7e'>
<query xmlns='jabber:iq:register'>
<username>alice_publish_without_node_attr_test_1202</username>
<password>makota2</password>
</query>
</iq>
*** User 2022-01-27 15:34:50.091 ***
alice_publish_without_node_attr_test_1202@fed1 in
<iq from='fed1' id='7335d5d05001bf806da261597a7c6c7e' type='result'>
<query xmlns='jabber:iq:register'>
<username>alice_publish_without_node_attr_test_1202</username>
<password>makota2</password>
</query>
</iq>
*** User 2022-01-27 15:34:50.091 ***
alice_publish_without_node_attr_test_1202@fed1 out
</stream:stream>
*** User 2022-01-27 15:34:50.091 ***
alice_publish_without_node_attr_test_1202@fed1 in
</stream:stream>
*** User 2022-01-27 15:34:50.092 ***
alicE_publish_without_node_attr_test_1202@localhost out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-01-27 15:34:50.092 ***
alicE_publish_without_node_attr_test_1202@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='edcd6ee7aad51d8a' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:34:50.093 ***
alicE_publish_without_node_attr_test_1202@localhost 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-01-27 15:34:50.093 ***
alicE_publish_without_node_attr_test_1202@localhost out
<iq type='get' id='ec7a52cdbe13dd261585e4e4a977c262'>
<query xmlns='jabber:iq:register'/>
</iq>
*** User 2022-01-27 15:34:50.093 ***
alicE_publish_without_node_attr_test_1202@localhost in
<iq from='localhost' id='ec7a52cdbe13dd261585e4e4a977c262' type='result'>
<query xmlns='jabber:iq:register'>
<instructions>Choose a username and password to register with this server</instructions>
<username/>
<password/>
</query>
</iq>
*** User 2022-01-27 15:34:50.093 ***
alicE_publish_without_node_attr_test_1202@localhost out
<iq type='set' id='794589545dc1110d227fcc241e45a2d0'>
<query xmlns='jabber:iq:register'>
<username>alicE_publish_without_node_attr_test_1202</username>
<password>matygrysa</password>
</query>
</iq>
*** User 2022-01-27 15:34:50.094 ***
alicE_publish_without_node_attr_test_1202@localhost in
<iq from='localhost' id='794589545dc1110d227fcc241e45a2d0' type='result'>
<query xmlns='jabber:iq:register'>
<username>alicE_publish_without_node_attr_test_1202</username>
<password>matygrysa</password>
</query>
</iq>
*** User 2022-01-27 15:34:50.094 ***
alicE_publish_without_node_attr_test_1202@localhost out
</stream:stream>
*** User 2022-01-27 15:34:50.094 ***
alicE_publish_without_node_attr_test_1202@localhost in
</stream:stream>
*** User 2022-01-27 15:34:50.094 ***
alicE_publish_without_node_attr_test_1202@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-01-27 15:34:50.095 ***
alicE_publish_without_node_attr_test_1202@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d30a95be14657ade' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:34:50.095 ***
alicE_publish_without_node_attr_test_1202@localhost/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-01-27 15:34:50.095 ***
alicE_publish_without_node_attr_test_1202@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3B1Ymxpc2hfd2l0aG91dF9ub2RlX2F0dHJfdGVzdF8xMjAyAG1hdHlncnlzYQ==</auth>
*** User 2022-01-27 15:34:50.095 ***
alicE_publish_without_node_attr_test_1202@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-01-27 15:34:50.095 ***
alicE_publish_without_node_attr_test_1202@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-01-27 15:34:50.095 ***
alicE_publish_without_node_attr_test_1202@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3165b1bc4f738148' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:34:50.096 ***
alicE_publish_without_node_attr_test_1202@localhost/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-01-27 15:34:50.096 ***
alicE_publish_without_node_attr_test_1202@localhost/res1 out
<iq type='set' id='ea2e5c477bfcae667eb7cb20aa969e3f'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-01-27 15:34:50.096 ***
alicE_publish_without_node_attr_test_1202@localhost/res1 in
<iq id='ea2e5c477bfcae667eb7cb20aa969e3f' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alicE_publish_without_node_attr_test_1202@localhost/res1</jid>
</bind>
</iq>
*** User 2022-01-27 15:34:50.096 ***
alicE_publish_without_node_attr_test_1202@localhost/res1 out
<iq type='set' id='f4e3bed08ff3efd530bf2dea16eca21c'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 15:34:50.096 ***
alicE_publish_without_node_attr_test_1202@localhost/res1 in
<iq type='result' id='f4e3bed08ff3efd530bf2dea16eca21c'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 15:34:50.096 ***
alicE_publish_without_node_attr_test_1202@localhost/res1 out
<presence/>
*** User 2022-01-27 15:34:50.097 ***
alicE_publish_without_node_attr_test_1202@localhost/res1 in
<presence from='alicE_publish_without_node_attr_test_1202@localhost/res1' to='alice_publish_without_node_attr_test_1202@localhost/res1' xml:lang='en'/>
*** User 2022-01-27 15:34:50.097 ***
alice_publish_without_node_attr_test_1202@fed1/res1 out
<stream:stream to='fed1' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-01-27 15:34:50.098 ***
alice_publish_without_node_attr_test_1202@fed1/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e4dc5065e6f9d535' from='fed1' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:34:50.098 ***
alice_publish_without_node_attr_test_1202@fed1/res1 in
<stream:features>
<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>SCRAM-SHA-512</mechanism>
<mechanism>SCRAM-SHA-384</mechanism>
<mechanism>SCRAM-SHA-256</mechanism>
<mechanism>SCRAM-SHA-224</mechanism>
<mechanism>SCRAM-SHA-1</mechanism>
<mechanism>PLAIN</mechanism>
</mechanisms>
<register xmlns='http://jabber.org/features/iq-register'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-01-27 15:34:50.098 ***
alice_publish_without_node_attr_test_1202@fed1/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNlX3B1Ymxpc2hfd2l0aG91dF9ub2RlX2F0dHJfdGVzdF8xMjAyAG1ha290YTI=</auth>
*** User 2022-01-27 15:34:50.100 ***
alice_publish_without_node_attr_test_1202@fed1/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-01-27 15:34:50.101 ***
alice_publish_without_node_attr_test_1202@fed1/res1 out
<stream:stream to='fed1' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-01-27 15:34:50.101 ***
alice_publish_without_node_attr_test_1202@fed1/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='870ab58dd90f71c3' from='fed1' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:34:50.101 ***
alice_publish_without_node_attr_test_1202@fed1/res1 in
<stream:features>
<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'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-01-27 15:34:50.101 ***
alice_publish_without_node_attr_test_1202@fed1/res1 out
<iq type='set' id='2d2ab05abd684f8830756d48c3fb06ca'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-01-27 15:34:50.101 ***
alice_publish_without_node_attr_test_1202@fed1/res1 in
<iq id='2d2ab05abd684f8830756d48c3fb06ca' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_publish_without_node_attr_test_1202@fed1/res1</jid>
</bind>
</iq>
*** User 2022-01-27 15:34:50.101 ***
alice_publish_without_node_attr_test_1202@fed1/res1 out
<iq type='set' id='fd6499acaa04938949f3d35a4fa46062'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 15:34:50.102 ***
alice_publish_without_node_attr_test_1202@fed1/res1 in
<iq type='result' id='fd6499acaa04938949f3d35a4fa46062'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 15:34:50.102 ***
alice_publish_without_node_attr_test_1202@fed1/res1 out
<presence/>
*** User 2022-01-27 15:34:50.102 ***
alice_publish_without_node_attr_test_1202@fed1/res1 in
<presence from='alice_publish_without_node_attr_test_1202@fed1/res1' to='alice_publish_without_node_attr_test_1202@fed1/res1' xml:lang='en'/>
*** User 2022-01-27 15:34:50.102 ***
alicE_publish_without_node_attr_test_1202@localhost/res1 out
<iq to='pubsub.localhost' type='set' id='alicE_publish_without_node_attr_test_1202-pubsub.localhost-princely_musings_RG.rprtI5ZU=-create_node' from='alicE_publish_without_node_attr_test_1202@localhost/res1'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<create node='princely_musings_RG.rprtI5ZU='/>
</pubsub>
</iq>
*** User 2022-01-27 15:34:50.108 ***
alicE_publish_without_node_attr_test_1202@localhost/res1 in
<iq from='pubsub.localhost' to='alicE_publish_without_node_attr_test_1202@localhost/res1' id='alicE_publish_without_node_attr_test_1202-pubsub.localhost-princely_musings_RG.rprtI5ZU=-create_node' type='result'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<create node='princely_musings_RG.rprtI5ZU='/>
</pubsub>
</iq>
*** User 2022-01-27 15:34:50.108 ***
alicE_publish_without_node_attr_test_1202@localhost/res1 out
<iq to='pubsub.localhost' type='set' id='alicE_publish_without_node_attr_test_1202-pubsub.localhost-princely_musings_RG.rprtI5ZU=-publish' from='alicE_publish_without_node_attr_test_1202@localhost/res1'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<publish node='princely_musings_RG.rprtI5ZU='>
<item id='item1'>
<entry xmlns='http://www.w3.org/2005/Atom'/>
</item>
</publish>
</pubsub>
</iq>
*** User 2022-01-27 15:34:50.109 ***
alicE_publish_without_node_attr_test_1202@localhost/res1 in
<iq from='pubsub.localhost' to='alicE_publish_without_node_attr_test_1202@localhost/res1' id='alicE_publish_without_node_attr_test_1202-pubsub.localhost-princely_musings_RG.rprtI5ZU=-publish' type='result'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<publish node='princely_musings_RG.rprtI5ZU='>
<item id='item1'/>
</publish>
</pubsub>
</iq>
*** User 2022-01-27 15:34:50.109 ***
alice_publish_without_node_attr_test_1202@fed1/res1 out
<iq to='pubsub.localhost' type='set' id='alice_publish_without_node_attr_test_1202-pubsub.localhost-princely_musings_RG.rprtI5ZU=-publish' from='alice_publish_without_node_attr_test_1202@fed1/res1'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<publish>
<item id='item2'>
<entry xmlns='http://www.w3.org/2005/Atom'/>
</item>
</publish>
</pubsub>
</iq>
*** User 2022-01-27 15:34:50.110 ***
alice_publish_without_node_attr_test_1202@fed1/res1 in
<iq from='pubsub.localhost' to='alice_publish_without_node_attr_test_1202@fed1/res1' type='error' xml:lang='en' id='alice_publish_without_node_attr_test_1202-pubsub.localhost-princely_musings_RG.rprtI5ZU=-publish'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<publish>
<item id='item2'>
<entry xmlns='http://www.w3.org/2005/Atom'/>
</item>
</publish>
</pubsub>
<error code='400' type='modify'>
<bad-request xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
<nodeid-required xmlns='http://jabber.org/protocol/pubsub#errors'/>
</error>
</iq>
*** User 2022-01-27 15:34:50.111 ***
alicE_publish_without_node_attr_test_1202@localhost/res1 out
<iq to='pubsub.localhost' type='set' id='alicE_publish_without_node_attr_test_1202-pubsub.localhost-princely_musings_RG.rprtI5ZU=-delete_node' from='alicE_publish_without_node_attr_test_1202@localhost/res1'>
<pubsub xmlns='http://jabber.org/protocol/pubsub#owner'>
<delete node='princely_musings_RG.rprtI5ZU='/>
</pubsub>
</iq>
*** User 2022-01-27 15:34:50.112 ***
alicE_publish_without_node_attr_test_1202@localhost/res1 in
<iq from='pubsub.localhost' to='alicE_publish_without_node_attr_test_1202@localhost/res1' id='alicE_publish_without_node_attr_test_1202-pubsub.localhost-princely_musings_RG.rprtI5ZU=-delete_node' type='result'/>
*** User 2022-01-27 15:34:50.112 ***
alice_publish_without_node_attr_test_1202@fed1/res1 out
</stream:stream>
*** User 2022-01-27 15:34:50.112 ***
alice_publish_without_node_attr_test_1202@fed1/res1 in
</stream:stream>
*** User 2022-01-27 15:34:50.112 ***
alicE_publish_without_node_attr_test_1202@localhost/res1 out
</stream:stream>
*** User 2022-01-27 15:34:50.140 ***
alicE_publish_without_node_attr_test_1202@localhost/res1 in
</stream:stream>
=== Ended at 2022-01-27 15:34:50
=== successfully completed test case
=== === Returned value: ok