=== Test case: metrics_api_SUITE:node_uptime/1 (click for source code) === Config value: [{watchdog,<0.29354.0>}, {preset,"ldap_mnesia"}, {mim_data_dir,"/home/circleci/project/big_tests/tests/metrics_api_SUITE_data"}, {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@4ffc88dbced5.2024-04-10_12.44.04/big_tests.tests.metrics_api_SUITE.logs/run.2024-04-10_12.50.34/metrics_api_suite.node_uptime.html"}, {tc_group_properties,[{name,global}]}, {tc_group_path,[]}, {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/metrics_api_SUITE_data/"}, {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@4ffc88dbced5.2024-04-10_12.44.04/big_tests.tests.metrics_api_SUITE.logs/run.2024-04-10_12.50.34/log_private/"}, {{saved_modules,mongooseim@localhost,<<"localhost">>}, #{mod_vcard => #{matches => 30, host => {prefix,<<"vjud.">>}, search => true, ldap => #{filter => <<"(objectClass=inetOrgPerson)">>, base => <<"ou=Users,dc=esl,dc=com">>,deref => never, pool_tag => default, search_fields => [{<<"User">>,<<"%u">>}, {<<"Full Name">>,<<"displayName">>}, {<<"Given Name">>,<<"givenName">>}, {<<"Middle Name">>,<<"initials">>}, {<<"Family Name">>,<<"sn">>}, {<<"Nickname">>,<<"%u">>}, {<<"Birthday">>,<<"birthDay">>}, {<<"Country">>,<<"c">>}, {<<"City">>,<<"l">>}, {<<"Email">>,<<"mail">>}, {<<"Organization Name">>,<<"o">>}, {<<"Organization Unit">>,<<"ou">>}], uids => [{<<"uid">>,<<"%u">>}], vcard_map => [{<<"NICKNAME">>,<<"%u">>,[]}, {<<"FN">>,<<"%s">>,[<<"displayName">>]}, {<<"FAMILY">>,<<"%s">>,[<<"sn">>]}, {<<"GIVEN">>,<<"%s">>,[<<"givenName">>]}, {<<"MIDDLE">>,<<"%s">>,[<<"initials">>]}, {<<"ORGNAME">>,<<"%s">>,[<<"o">>]}, {<<"ORGUNIT">>,<<"%s">>,[<<"ou">>]}, {<<"CTRY">>,<<"%s">>,[<<"c">>]}, {<<"LOCALITY">>,<<"%s">>,[<<"l">>]}, {<<"STREET">>,<<"%s">>,[<<"street">>]}, {<<"REGION">>,<<"%s">>,[<<"st">>]}, {<<"PCODE">>,<<"%s">>,[<<"postalCode">>]}, {<<"TITLE">>,<<"%s">>,[<<"title">>]}, {<<"URL">>,<<"%s">>,[<<"labeleduri">>]}, {<<"DESC">>,<<"%s">>,[<<"description">>]}, {<<"TEL">>,<<"%s">>,[<<"telephoneNumber">>]}, {<<"EMAIL">>,<<"%s">>,[<<"mail">>]}, {<<"BDAY">>,<<"%s">>,[<<"birthDay">>]}, {<<"ROLE">>,<<"%s">>,[<<"employeeType">>]}, {<<"PHOTO">>,<<"%s">>,[<<"jpegPhoto">>]}], search_reported => [{<<"Full Name">>,<<"FN">>}, {<<"Given Name">>,<<"FIRST">>}, {<<"Middle Name">>,<<"MIDDLE">>}, {<<"Family Name">>,<<"LAST">>}, {<<"Nickname">>,<<"NICK">>}, {<<"Birthday">>,<<"BDAY">>}, {<<"Country">>,<<"CTRY">>}, {<<"City">>,<<"LOCALITY">>}, {<<"Email">>,<<"EMAIL">>}, {<<"Organization Name">>,<<"ORGNAME">>}, {<<"Organization Unit">>,<<"ORGUNIT">>}], search_operator => 'and',binary_search_fields => []}, iqdisc => parallel,backend => ldap}, mod_roster => #{iqdisc => one_queue,backend => mnesia,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_sic => #{iqdisc => one_queue}, mod_amp => #{},mod_presence => #{}, mod_disco => #{iqdisc => one_queue,users_can_see_hidden_services => false, server_info => [],extra_domains => []}, mod_adhoc => #{iqdisc => one_queue,report_commands_node => false}, mod_stream_management => #{buffer => true,ack => true, stale_h => #{enabled => false,repeat_after => 1800,geriatric => 3600}, backend => mnesia,buffer_max => 100,ack_freq => 1, resume_timeout => 600}, 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}}}, {escalus_users,[{alice,[{username,<<"alicE">>}, {server,<<"localhost">>}, {password,<<"matygrysa">>}]}, {bob,[{username,<<"bOb">>}, {server,<<"localhost">>}, {password,<<"makrolika">>}]}]}] === Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@4ffc88dbced5.2024-04-10_12.44.04" === Started at 2024-04-10 12:50:39
*** User 2024-04-10 12:50:39.631 ***🔗 REST request: Code: 200 Req: {<0.29388.0>,<<"/api/metrics/global/nodeUpTime">>,<<"GET">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"f578a63d090c0316">>}], <<>>} Result: {{<<"200">>,<<"OK">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Wed, 10 Apr 2024 12:50:39 GMT">>}, {<<"content-type">>,<<"application/json">>}, {<<"content-length">>,<<"24">>}], <<"{\"metric\":{\"value\":426}}">>,148,524} Params: #{path => <<"/api/metrics/global/nodeUpTime">>, server => #{node => mongooseim@localhost}, method => <<"GET">>,role => admin,body => <<>>,return_maps => true, return_headers => true}
*** User 2024-04-10 12:50:39.637 ***🔗 REST request: Code: 200 Req: {<0.29390.0>,<<"/api/metrics/global/">>,<<"GET">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"f76daba70ccd40b3">>}], <<>>} Result: {{<<"200">>,<<"OK">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Wed, 10 Apr 2024 12:50:39 GMT">>}, {<<"content-type">>,<<"application/json">>}, {<<"content-length">>,<<"4382">>}], <<"{\"metrics\":{\"data.xmpp.sent.component\":{\"one\":0,\"count\":0},\"data.xmpp.sent.c2s.websocket\":{\"one\":0,\"count\":0},\"data.dist\":{\"send_pend\":0,\"send_oct\":12783395,\"send_max\":65585,\"send_cnt\":33335,\"recv_oct\":7840195,\"recv_max\":70262,\"recv_cnt\":24348,\"connections\":2},\"node_cleanup\":{\"one\":1,\"count\":2},\"backends.ejabberd_auth_anonymous.does_anonymous_user_exist\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"backends.mod_roster.roster_subscribe_t\":{\"n\":7,\"min\":20,\"median\":28,\"mean\":28,\"max\":32,\"999\":32,\"99\":32,\"95\":32,\"90\":32,\"75\":31,\"50\":28},\"backends.mod_roster.get_subscription_lists\":{\"n\":40,\"min\":7,\"median\":14,\"mean\":14,\"max\":32,\"999\":32,\"99\":32,\"95\":20,\"90\":19,\"75\":16,\"50\":14},\"data.xmpp.sent.c2s.bosh\":{\"one\":0,\"count\":0},\"backends.mod_last.calls.set_last_info\":{\"one\":11,\"count\":11},\"data.xmpp.received.c2s.bosh\":{\"one\":0,\"count\":0},\"backends.mod_roster.calls.read_roster_version\":{\"one\":0,\"count\":0},\"backends.mod_roster.calls.get_subscription_lists\":{\"one\":65,\"count\":65},\"backends.mod_vcard.search\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"totalSessionCount\":{\"value\":3},\"backends.mod_roster.read_roster_version\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"backends.mod_roster.get_roster\":{\"n\":24,\"min\":5,\"median\":15,\"mean\":18,\"max\":27,\"999\":27,\"99\":27,\"95\":25,\"90\":23,\"75\":19,\"50\":15},\"data.xmpp.received.s2s\":{\"one\":0,\"count\":0},\"backends.mod_roster.calls.del_roster_t\":{\"one\":0,\"count\":0},\"processQueueLengths\":{\"total\":0,\"regular\":0,\"fsm\":0},\"clusterSize\":{\"value\":1},\"backends.mod_roster.calls.roster_subscribe_t\":{\"one\":10,\"count\":10},\"backends.mod_vcard.set_vcard\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"backends.ejabberd_auth_anonymous.calls.does_anonymous_user_exist\":{\"one\":0,\"count\":0},\"backends.mod_roster.calls.write_roster_version\":{\"one\":0,\"count\":0},\"backends.mod_roster.calls.update_roster_t\":{\"one\":0,\"count\":0},\"backends.mod_roster.update_roster_t\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"backends.mod_vcard.get_vcard\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"cache.unique_sessions_number\":{\"value\":2,\"ms_since_reset\":64636},\"erlang.memory\":{\"total\":153296568,\"system\":98131040,\"processes_used\":55652200,\"ets\":15036376,\"binary\":1596080,\"atom_used\":1293121},\"backends.mod_vcard.calls.get_vcard\":{\"one\":0,\"count\":0},\"erlang.system_info\":{\"process_limit\":262144,\"process_count\":2181,\"port_limit\":65536,\"port_count\":45,\"ets_limit\":8192},\"tcpPortsUsed\":{\"value\":41},\"data.xmpp.sent.c2s.tcp\":{\"one\":285227,\"count\":285227},\"uniqueSessionCount\":{\"value\":2},\"backends.mod_last.calls.get_last\":{\"one\":1,\"count\":1},\"backends.mod_roster.get_roster_entry\":{\"n\":13,\"min\":4,\"median\":38,\"mean\":26,\"max\":64,\"999\":64,\"99\":64,\"95\":64,\"90\":64,\"75\":49,\"50\":38},\"data.xmpp.sent.s2s\":{\"one\":0,\"count\":0},\"backends.mod_roster.calls.get_roster\":{\"one\":55,\"count\":55},\"backends.mod_roster.write_roster_version\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"nodeSessionCount\":{\"value\":3},\"backends.mod_last.set_last_info\":{\"n\":9,\"min\":95,\"median\":113,\"mean\":136,\"max\":205,\"999\":205,\"99\":205,\"95\":205,\"90\":205,\"75\":184,\"50\":113},\"data.xmpp.received.c2s.tls\":{\"one\":0,\"count\":0},\"data.xmpp.received.c2s.websocket\":{\"one\":0,\"count\":0},\"data.xmpp.received.component\":{\"one\":0,\"count\":0},\"backends.mod_vcard.calls.set_vcard\":{\"one\":0,\"count\":0},\"backends.mod_roster.del_roster_t\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"data.xmpp.sent.c2s.tls\":{\"one\":0,\"count\":0},\"data.xmpp.received.xml_stanza_size\":{\"n\":174,\"min\":11,\"median\":112,\"mean\":239,\"max\":1460,\"999\":1460,\"99\":1460,\"95\":1460,\"90\":930,\"75\":137,\"50\":112},\"data.xmpp.received.c2s.tcp\":{\"one\":175638,\"count\":175638},\"data.xmpp.sent.xml_stanza_size\":{\"n\":212,\"min\":16,\"median\":173,\"mean\":762,\"max\":8128,\"999\":8128,\"99\":8095,\"95\":2625,\"90\":570,\"75\":231,\"50\":173},\"nodeUpTime\":{\"value\":426},\"backends.mod_vcard.calls.search\":{\"one\":0,\"count\":0},\"routingErrors\":{\"one\":0,\"count\":0},\"backends.mod_last.get_last\":{\"n\":3,\"min\":5,\"median\":5,\"mean\":5,\"max\":5,\"999\":5,\"99\":5,\"95\":5,\"90\":5,\"75\":5,\"50\":5},\"backends.mod_roster.calls.get_roster_entry\":{\"one\":21,\"count\":21}}}">>, 4508,5022} Params: #{path => <<"/api/metrics/global/">>, server => #{node => mongooseim@localhost}, method => <<"GET">>,role => admin,body => <<>>,return_maps => true, return_headers => true}
*** User 2024-04-10 12:50:40.640 ***🔗 REST request: Code: 200 Req: {<0.29392.0>,<<"/api/metrics/global/nodeUpTime">>,<<"GET">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"942b8075c5bbabba">>}], <<>>} Result: {{<<"200">>,<<"OK">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Wed, 10 Apr 2024 12:50:40 GMT">>}, {<<"content-type">>,<<"application/json">>}, {<<"content-length">>,<<"24">>}], <<"{\"metric\":{\"value\":427}}">>,148,574} Params: #{path => <<"/api/metrics/global/nodeUpTime">>, server => #{node => mongooseim@localhost}, method => <<"GET">>,role => admin,body => <<>>,return_maps => true, return_headers => true}
*** User 2024-04-10 12:50:40.645 ***🔗 REST request: Code: 200 Req: {<0.29394.0>,<<"/api/metrics/global/">>,<<"GET">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"88e63bbc818fefa1">>}], <<>>} Result: {{<<"200">>,<<"OK">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Wed, 10 Apr 2024 12:50:40 GMT">>}, {<<"content-type">>,<<"application/json">>}, {<<"content-length">>,<<"4382">>}], <<"{\"metrics\":{\"data.xmpp.sent.component\":{\"one\":0,\"count\":0},\"data.xmpp.sent.c2s.websocket\":{\"one\":0,\"count\":0},\"data.dist\":{\"send_pend\":0,\"send_oct\":12793279,\"send_max\":65585,\"send_cnt\":33343,\"recv_oct\":7840707,\"recv_max\":70262,\"recv_cnt\":24352,\"connections\":2},\"node_cleanup\":{\"one\":1,\"count\":2},\"backends.ejabberd_auth_anonymous.does_anonymous_user_exist\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"backends.mod_roster.roster_subscribe_t\":{\"n\":7,\"min\":20,\"median\":28,\"mean\":28,\"max\":32,\"999\":32,\"99\":32,\"95\":32,\"90\":32,\"75\":31,\"50\":28},\"backends.mod_roster.get_subscription_lists\":{\"n\":40,\"min\":7,\"median\":14,\"mean\":14,\"max\":32,\"999\":32,\"99\":32,\"95\":20,\"90\":19,\"75\":16,\"50\":14},\"data.xmpp.sent.c2s.bosh\":{\"one\":0,\"count\":0},\"backends.mod_last.calls.set_last_info\":{\"one\":11,\"count\":11},\"data.xmpp.received.c2s.bosh\":{\"one\":0,\"count\":0},\"backends.mod_roster.calls.read_roster_version\":{\"one\":0,\"count\":0},\"backends.mod_roster.calls.get_subscription_lists\":{\"one\":65,\"count\":65},\"backends.mod_vcard.search\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"totalSessionCount\":{\"value\":3},\"backends.mod_roster.read_roster_version\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"backends.mod_roster.get_roster\":{\"n\":24,\"min\":5,\"median\":15,\"mean\":18,\"max\":27,\"999\":27,\"99\":27,\"95\":25,\"90\":23,\"75\":19,\"50\":15},\"data.xmpp.received.s2s\":{\"one\":0,\"count\":0},\"backends.mod_roster.calls.del_roster_t\":{\"one\":0,\"count\":0},\"processQueueLengths\":{\"total\":0,\"regular\":0,\"fsm\":0},\"clusterSize\":{\"value\":1},\"backends.mod_roster.calls.roster_subscribe_t\":{\"one\":10,\"count\":10},\"backends.mod_vcard.set_vcard\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"backends.ejabberd_auth_anonymous.calls.does_anonymous_user_exist\":{\"one\":0,\"count\":0},\"backends.mod_roster.calls.write_roster_version\":{\"one\":0,\"count\":0},\"backends.mod_roster.calls.update_roster_t\":{\"one\":0,\"count\":0},\"backends.mod_roster.update_roster_t\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"backends.mod_vcard.get_vcard\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"cache.unique_sessions_number\":{\"value\":2,\"ms_since_reset\":65644},\"erlang.memory\":{\"total\":153370776,\"system\":98125936,\"processes_used\":55739832,\"ets\":15036376,\"binary\":1594456,\"atom_used\":1293121},\"backends.mod_vcard.calls.get_vcard\":{\"one\":0,\"count\":0},\"erlang.system_info\":{\"process_limit\":262144,\"process_count\":2181,\"port_limit\":65536,\"port_count\":45,\"ets_limit\":8192},\"tcpPortsUsed\":{\"value\":41},\"data.xmpp.sent.c2s.tcp\":{\"one\":285227,\"count\":285227},\"uniqueSessionCount\":{\"value\":2},\"backends.mod_last.calls.get_last\":{\"one\":1,\"count\":1},\"backends.mod_roster.get_roster_entry\":{\"n\":13,\"min\":4,\"median\":38,\"mean\":26,\"max\":64,\"999\":64,\"99\":64,\"95\":64,\"90\":64,\"75\":49,\"50\":38},\"data.xmpp.sent.s2s\":{\"one\":0,\"count\":0},\"backends.mod_roster.calls.get_roster\":{\"one\":55,\"count\":55},\"backends.mod_roster.write_roster_version\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"nodeSessionCount\":{\"value\":3},\"backends.mod_last.set_last_info\":{\"n\":9,\"min\":95,\"median\":113,\"mean\":136,\"max\":205,\"999\":205,\"99\":205,\"95\":205,\"90\":205,\"75\":184,\"50\":113},\"data.xmpp.received.c2s.tls\":{\"one\":0,\"count\":0},\"data.xmpp.received.c2s.websocket\":{\"one\":0,\"count\":0},\"data.xmpp.received.component\":{\"one\":0,\"count\":0},\"backends.mod_vcard.calls.set_vcard\":{\"one\":0,\"count\":0},\"backends.mod_roster.del_roster_t\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"data.xmpp.sent.c2s.tls\":{\"one\":0,\"count\":0},\"data.xmpp.received.xml_stanza_size\":{\"n\":174,\"min\":11,\"median\":112,\"mean\":239,\"max\":1460,\"999\":1460,\"99\":1460,\"95\":1460,\"90\":930,\"75\":137,\"50\":112},\"data.xmpp.received.c2s.tcp\":{\"one\":175638,\"count\":175638},\"data.xmpp.sent.xml_stanza_size\":{\"n\":212,\"min\":16,\"median\":173,\"mean\":762,\"max\":8128,\"999\":8128,\"99\":8095,\"95\":2625,\"90\":570,\"75\":231,\"50\":173},\"nodeUpTime\":{\"value\":427},\"backends.mod_vcard.calls.search\":{\"one\":0,\"count\":0},\"routingErrors\":{\"one\":0,\"count\":0},\"backends.mod_last.get_last\":{\"n\":3,\"min\":5,\"median\":5,\"mean\":5,\"max\":5,\"999\":5,\"99\":5,\"95\":5,\"90\":5,\"75\":5,\"50\":5},\"backends.mod_roster.calls.get_roster_entry\":{\"one\":21,\"count\":21}}}">>, 4508,4341} Params: #{path => <<"/api/metrics/global/">>, server => #{node => mongooseim@localhost}, method => <<"GET">>,role => admin,body => <<>>,return_maps => true, return_headers => true}
=== Ended at 2024-04-10 12:50:40 === successfully completed test case === === Returned value: ok
Test run history | Top level test index | Latest test result