=== Test case: mod_http_upload_SUITE:urls_contain_s3_hostname/1 (click for source code)

=== Config value:

    [{watchdog,<0.28749.0>},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/mod_http_upload_SUITE_data"},
     {preset,"internal_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@a1e626d02594.2022-03-07_08.29.41/big_tests.tests.mod_http_upload_SUITE.logs/run.2022-03-07_08.34.44/mod_http_upload_suite.urls_contain_s3_hostname.html"},
     {tc_group_properties,[{name,mod_http_upload_s3}]},
     {tc_group_path,[]},
     {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/mod_http_upload_SUITE_data/"},
     {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@a1e626d02594.2022-03-07_08.29.41/big_tests.tests.mod_http_upload_SUITE.logs/run.2022-03-07_08.34.44/log_private/"},
     {escalus_users,[{bob,[{username,<<"bOb">>},
                           {server,<<"localhost">>},
                           {password,<<"makrolika">>}]}]}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@a1e626d02594.2022-03-07_08.29.41"

=== Started at 2022-03-07 08:34:44


*** CT 2022-03-07 08:34:44.863 *** View log from node mongooseim@localhost when started mongooseim@localhost_4112.html
*** CT 2022-03-07 08:34:44.864 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_2168.html

*** User 2022-03-07 08:34:44.865 ***
bOb@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-03-07 08:34:44.866 ***
bOb@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5b790c0b9ff0856d' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-07 08:34:44.866 ***
bOb@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-03-07 08:34:44.866 ***
bOb@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYgBtYWtyb2xpa2E=</auth>



*** User 2022-03-07 08:34:44.867 ***
bOb@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-07 08:34:44.867 ***
bOb@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-03-07 08:34:44.867 ***
bOb@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='cc804904c25620d4' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-07 08:34:44.867 ***
bOb@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-03-07 08:34:44.867 ***
bOb@localhost/res1 out
<iq type='set' id='7ee2120ed3550be589f66834c9562b46'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-07 08:34:44.868 ***
bOb@localhost/res1 in
<iq id='7ee2120ed3550be589f66834c9562b46' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-07 08:34:44.868 ***
bOb@localhost/res1 out
<iq type='set' id='08be706c32300b43b668b4a10b97624d'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-07 08:34:44.868 ***
bOb@localhost/res1 in
<iq type='result' id='08be706c32300b43b668b4a10b97624d'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-07 08:34:44.868 ***
bOb@localhost/res1 out
<presence/>



*** User 2022-03-07 08:34:44.869 ***
bOb@localhost/res1 in
<presence from='bOb@localhost/res1' to='bob@localhost/res1' xml:lang='en'/>



*** User 2022-03-07 08:34:44.869 ***
bOb@localhost/res1 out
<iq type='get' to='upload.localhost'>
	<request xmlns='urn:xmpp:http:upload:0' filename='filename.jpg' size='123'/>
</iq>



*** User 2022-03-07 08:34:44.869 ***
bOb@localhost/res1 in
<iq from='upload.localhost' to='bOb@localhost/res1' id='' type='result'>
	<slot xmlns='urn:xmpp:http:upload:0'>
		<put url='http://bucket.s3-eu-east-25.example.com/d30179a833184c05b7823c542e3d0655c9822bc2236f31793e75d302304460c8/filename.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&amp;X-Amz-Credential=AKIAIAOAONIULXQGMOUA%2F20220307%2Feu-east-25%2Fs3%2Faws4_request&amp;X-Amz-Date=20220307T083444Z&amp;X-Amz-Expires=60&amp;X-Amz-Signature=95e9eede72b5697a636aa724ffb7640af66c34075c29ee0a1f1db01678896f27&amp;X-Amz-SignedHeaders=content-length%3Bhost%3Bx-amz-acl'/>
		<get url='http://bucket.s3-eu-east-25.example.com/d30179a833184c05b7823c542e3d0655c9822bc2236f31793e75d302304460c8/filename.jpg'/>
	</slot>
</iq>



*** User 2022-03-07 08:34:44.870 ***
bOb@localhost/res1 out
</stream:stream>

*** User 2022-03-07 08:34:44.870 ***
bOb@localhost/res1 in
</stream:stream>
*** CT 2022-03-07 08:34:44.871 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_2168.html
*** CT 2022-03-07 08:34:44.872 *** View log from node mongooseim@localhost when finished mongooseim@localhost_4112.html



=== Ended at 2022-03-07 08:34:44
=== successfully completed test case
=== === Returned value: ok


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