=== Test case: websockets_SUITE:metrics_test/1 (click for source code) === Config value: [{watchdog,<0.28709.1>}, {preset,"ldap_mnesia"}, {mim_data_dir,"/home/circleci/project/big_tests/tests/websockets_SUITE_data"}, {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@94ef96fe7e6f.2023-11-13_20.03.17/big_tests.tests.websockets_SUITE.logs/run.2023-11-13_20.16.50/websockets_suite.metrics_test.html"}, {tc_group_properties,[]}, {tc_group_path,[]}, {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/websockets_SUITE_data/"}, {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@94ef96fe7e6f.2023-11-13_20.03.17/big_tests.tests.websockets_SUITE.logs/run.2023-11-13_20.16.50/log_private/"}, {escalus_users,[{alice,[{username,<<"alicE">>}, {server,<<"localhost">>}, {password,<<"matygrysa">>}]}, {geralt,[{username,<<"geralt">>}, {server,<<"localhost">>}, {password,<<"witcher">>}, {transport,escalus_ws}, {port,5280}, {wspath,<<"/ws-xmpp">>}]}, {geralt_s,[{username,<<"geralt_s">>}, {server,<<"localhost">>}, {password,<<"witcher_s">>}, {transport,escalus_ws}, {ssl,true}, {port,5285}, {wspath,<<"/ws-xmpp">>}, {ssl_opts,[{verify,verify_none}]}]}, {carol,[{username,<<"carol">>}, {server,<<"localhost">>}, {password,<<"jinglebells">>}, {transport,escalus_bosh}, {path,<<"/http-bind">>}, {port,5280}]}]}] === Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@94ef96fe7e6f.2023-11-13_20.03.17" === Started at 2023-11-13 20:16:50
*** User 2023-11-13 20:16:50.582 ***🔗 geralt@localhost/res1 out <open xmlns='urn:ietf:params:xml:ns:xmpp-framing' to='localhost' version='1.0'/>
*** User 2023-11-13 20:16:50.582 ***🔗 geralt@localhost/res1 in <open xmlns='urn:ietf:params:xml:ns:xmpp-framing' id='0c920e4d5c6e2ba3' from='localhost' version='1.0' xml:lang='en'/>
*** User 2023-11-13 20:16:50.582 ***🔗 geralt@localhost/res1 in <features xmlns='http://etherx.jabber.org/streams'> <register xmlns='http://jabber.org/features/iq-register'/> <mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'> <mechanism>PLAIN</mechanism> </mechanisms> <amp xmlns='http://jabber.org/feature/amp'/> <sm xmlns='urn:xmpp:sm:3'/> </features>
*** User 2023-11-13 20:16:50.582 ***🔗 geralt@localhost/res1 out <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGdlcmFsdAB3aXRjaGVy</auth>
*** User 2023-11-13 20:16:50.584 ***🔗 geralt@localhost/res1 in <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2023-11-13 20:16:50.584 ***🔗 geralt@localhost/res1 out <open xmlns='urn:ietf:params:xml:ns:xmpp-framing' to='localhost' version='1.0'/>
*** User 2023-11-13 20:16:50.585 ***🔗 geralt@localhost/res1 in <open xmlns='urn:ietf:params:xml:ns:xmpp-framing' id='fc49e551c9164ad9' from='localhost' version='1.0' xml:lang='en' to='geralt@localhost'/>
*** User 2023-11-13 20:16:50.585 ***🔗 geralt@localhost/res1 in <features xmlns='http://etherx.jabber.org/streams'> <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'/> </features>
*** User 2023-11-13 20:16:50.585 ***🔗 geralt@localhost/res1 out <iq type='set' id='1048d41ef750d593cc6d2933410efb10'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <resource>res1</resource> </bind> </iq>
*** User 2023-11-13 20:16:50.585 ***🔗 geralt@localhost/res1 in <iq id='1048d41ef750d593cc6d2933410efb10' type='result' xmlns='jabber:client'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <jid>geralt@localhost/res1</jid> </bind> </iq>
*** User 2023-11-13 20:16:50.585 ***🔗 geralt@localhost/res1 out <iq type='set' id='b2683de7f892323d77a0346333ec632b'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2023-11-13 20:16:50.586 ***🔗 geralt@localhost/res1 in <iq from='localhost' to='geralt@localhost/res1' id='b2683de7f892323d77a0346333ec632b' type='result' xmlns='jabber:client'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2023-11-13 20:16:50.586 ***🔗 geralt@localhost/res1 out <presence/>
*** User 2023-11-13 20:16:50.587 ***🔗 geralt@localhost/res1 in <presence from='geralt@localhost/res1' to='geralt@localhost/res1' xmlns='jabber:client'/>
*** User 2023-11-13 20:16:50.635 ***🔗 geralt_s@localhost/res1 out <open xmlns='urn:ietf:params:xml:ns:xmpp-framing' to='localhost' version='1.0'/>
*** User 2023-11-13 20:16:50.636 ***🔗 geralt_s@localhost/res1 in <open xmlns='urn:ietf:params:xml:ns:xmpp-framing' id='5e55476e3fb71f07' from='localhost' version='1.0' xml:lang='en'/>
*** User 2023-11-13 20:16:50.636 ***🔗 geralt_s@localhost/res1 in <features xmlns='http://etherx.jabber.org/streams'> <register xmlns='http://jabber.org/features/iq-register'/> <mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'> <mechanism>PLAIN</mechanism> </mechanisms> <amp xmlns='http://jabber.org/feature/amp'/> <sm xmlns='urn:xmpp:sm:3'/> </features>
*** User 2023-11-13 20:16:50.637 ***🔗 geralt_s@localhost/res1 out <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGdlcmFsdF9zAHdpdGNoZXJfcw==</auth>
*** User 2023-11-13 20:16:50.638 ***🔗 geralt_s@localhost/res1 in <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2023-11-13 20:16:50.638 ***🔗 geralt_s@localhost/res1 out <open xmlns='urn:ietf:params:xml:ns:xmpp-framing' to='localhost' version='1.0'/>
*** User 2023-11-13 20:16:50.641 ***🔗 geralt_s@localhost/res1 in <open xmlns='urn:ietf:params:xml:ns:xmpp-framing' id='605b419d2fd8c7ec' from='localhost' version='1.0' xml:lang='en' to='geralt_s@localhost'/>
*** User 2023-11-13 20:16:50.641 ***🔗 geralt_s@localhost/res1 in <features xmlns='http://etherx.jabber.org/streams'> <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'/> </features>
*** User 2023-11-13 20:16:50.641 ***🔗 geralt_s@localhost/res1 out <iq type='set' id='08acc9f7293ed5acd2e61c61260bf327'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <resource>res1</resource> </bind> </iq>
*** User 2023-11-13 20:16:50.642 ***🔗 geralt_s@localhost/res1 in <iq id='08acc9f7293ed5acd2e61c61260bf327' type='result' xmlns='jabber:client'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <jid>geralt_s@localhost/res1</jid> </bind> </iq>
*** User 2023-11-13 20:16:50.643 ***🔗 geralt_s@localhost/res1 out <iq type='set' id='8ae0811f4848d79e9efd5b9051229286'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2023-11-13 20:16:50.643 ***🔗 geralt_s@localhost/res1 in <iq from='localhost' to='geralt_s@localhost/res1' id='8ae0811f4848d79e9efd5b9051229286' type='result' xmlns='jabber:client'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2023-11-13 20:16:50.644 ***🔗 geralt_s@localhost/res1 out <presence/>
*** User 2023-11-13 20:16:50.645 ***🔗 geralt_s@localhost/res1 in <presence from='geralt_s@localhost/res1' to='geralt_s@localhost/res1' xmlns='jabber:client'/>
*** User 2023-11-13 20:16:50.645 ***🔗 geralt_s@localhost/res1 out <message to='geralt@localhost/res1' type='chat'> <body>Hi!</body> </message>
*** User 2023-11-13 20:16:50.646 ***🔗 geralt@localhost/res1 in <message from='geralt_s@localhost/res1' to='geralt@localhost/res1' type='chat' xmlns='jabber:client'> <body>Hi!</body> </message>
*** User 2023-11-13 20:16:50.646 ***🔗 geralt@localhost/res1 out <message to='geralt_s@localhost/res1' type='chat'> <body>Hello!</body> </message>
*** User 2023-11-13 20:16:50.646 ***🔗 geralt_s@localhost/res1 in <message from='geralt@localhost/res1' to='geralt_s@localhost/res1' type='chat' xmlns='jabber:client'> <body>Hello!</body> </message>
*** User 2023-11-13 20:16:50.652 ***🔗 geralt_s@localhost/res1 out <close xmlns='urn:ietf:params:xml:ns:xmpp-framing'/>
*** User 2023-11-13 20:16:50.653 ***🔗 geralt_s@localhost/res1 in <close xmlns='urn:ietf:params:xml:ns:xmpp-framing'/>
*** User 2023-11-13 20:16:50.653 ***🔗 geralt@localhost/res1 out <close xmlns='urn:ietf:params:xml:ns:xmpp-framing'/>
*** User 2023-11-13 20:16:50.690 ***🔗 geralt@localhost/res1 in <close xmlns='urn:ietf:params:xml:ns:xmpp-framing'/>
*** System report during websockets_SUITE:metrics_test/1 2023-11-13 20:16:50.691 ***🔗 =ERROR REPORT==== 13-Nov-2023::20:16:50.691603 === ** State machine <0.28720.1> terminating ** Last event = {cast,{ws_send,<0.28719.1>, #Ref<0.170504076.1401946113.261849>,close}} ** When server state = {connected, {state,<0.28719.1>, {up,#Ref<0.170504076.1401946113.261845>}, "localhost",5280,<<"http">>,"localhost",5280, [], #{protocols => [http],transport => tcp}, undefined,#Port<0.6836>,gun_tcp,true, {tcp,tcp_closed,tcp_error}, gun_http, {http_state,#Port<0.6836>,gun_tcp,#{}, 'HTTP/1.1',keepalive,<<>>,undefined,[], head, {0,0}, head}, undefined,gun_default_event_h,undefined}} ** Reason for termination = error:{'function not exported', {gun_http,ws_send,6}} ** Callback modules = [gun] ** Callback mode = state_functions ** Stacktrace = ** [{gun,connected,3, [{file,"/home/circleci/project/big_tests/_build/default/lib/gun/src/gun.erl"}, {line,1301}]}, {gen_statem,loop_state_callback,11,[{file,"gen_statem.erl"},{line,1426}]}, {proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,240}]}]
*** System report during websockets_SUITE:metrics_test/1 2023-11-13 20:16:50.692 ***🔗 =CRASH REPORT==== 13-Nov-2023::20:16:50.692421 === crasher: initial call: gun:init/1 pid: <0.28720.1> registered_name: [] exception error: undefined function gun_http:ws_send/6 in function gun:connected/3 (/home/circleci/project/big_tests/_build/default/lib/gun/src/gun.erl, line 1301) in call from gen_statem:loop_state_callback/11 (gen_statem.erl, line 1426) ancestors: [gun_conns_sup,gun_sup,<0.1455.0>] message_queue_len: 1 messages: [{'DOWN',#Ref<0.170504076.1401946113.261845>,process, <0.28719.1>,normal}] links: [<0.1457.0>,#Port<0.6836>] dictionary: [] trap_exit: false status: running heap_size: 6772 stack_size: 28 reductions: 17228 neighbours:
*** System report during websockets_SUITE:metrics_test/1 2023-11-13 20:16:50.693 ***🔗 =SUPERVISOR REPORT==== 13-Nov-2023::20:16:50.692997 === supervisor: {local,gun_conns_sup} errorContext: child_terminated reason: {undef, [{gun_http,ws_send, [close, {http_state,#Port<0.6836>,gun_tcp,#{},'HTTP/1.1', keepalive,<<>>,undefined,[],head, {0,0}, head}, #Ref<0.170504076.1401946113.261849>,<0.28719.1>, gun_default_event_h,undefined], []}, {gun,connected,3, [{file, "/home/circleci/project/big_tests/_build/default/lib/gun/src/gun.erl"}, {line,1301}]}, {gen_statem,loop_state_callback,11, [{file,"gen_statem.erl"},{line,1426}]}, {proc_lib,init_p_do_apply,3, [{file,"proc_lib.erl"},{line,240}]}]} offender: [{pid,<0.28720.1>}, {id,gun}, {mfargs,{gun,start_link,undefined}}, {restart_type,temporary}, {significant,false}, {shutdown,5000}, {child_type,worker}]
=== Ended at 2023-11-13 20:16:50 === successfully completed test case === === Returned value: ok
Test run history | Top level test index | Latest test result