[5.1.0-91~ocata] Automation: Fix test_run_contrail_stats_cli_cmds test case

Bug #1770369 reported by Ankit Jain on 2018-05-10
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R5.0
Fix Committed
High
Ankit Jain
Trunk
In Progress
High
Ankit Jain

Bug Description

UveVMInterfaceAgent.if_stats does not exist now. Changing it to "UveVMInterfaceAgent.raw_if_stats"

output below:

contrail-stats --table UveVMInterfaceAgent.raw_if_stats --select "SUM(raw_if_stats.in_bytes)" name --where name="*" --start-time now-11h --end-time now-10h

{"start_time": 1525906936596645, "sort_fields": [], "end_time": 1525910536596645, "select_fields": ["SUM(raw_if_stats.in_bytes)", "name"], "table": "StatTable.UveVMInterfaceAgent.raw_if_stats", "where": [[{"suffix": null, "value2": null, "name": "name", "value": "", "op": 7}]]}

{u'name': u'default-global-system-config:nodem10:vhost0', u'SUM(raw_if_stats.in_bytes)': 12042337321}
{u'name': u'default-global-system-config:nodem9:vhost0', u'SUM(raw_if_stats.in_bytes)': 11937929527}
{u'name': u'default-global-system-config:nodem8:vhost0', u'SUM(raw_if_stats.in_bytes)': 11701274997}
[root@nodem14 /]#

[root@nodem14 /]# contrail-stats --table UveVMInterfaceAgent.if_stats --select "SUM(if_stats.in_bytes)" name --where name="*" --start-time now-11h --end-time now-10h
usage: contrail-stats [-h] [--admin-user ADMIN_USER]
                      [--admin-password ADMIN_PASSWORD]
                      [--conf-file CONF_FILE]
                      [--analytics-api-ip ANALYTICS_API_IP]
                      [--analytics-api-port ANALYTICS_API_PORT]
                      [--start-time START_TIME] [--end-time END_TIME]
                      [--last LAST]
                      [--table {FieldNames.fields,FieldNames.fieldi,TelemetryStream.enterprise.juniperNetworks.fabricMessageExt.edges.class_stats.transmit_counts,TelemetryStream.enterprise.juniperNetworks.jnpr_firewall_ext.firewall_stats.memory_usage,TelemetryStream.enterprise.juniperNetworks.jnpr_firewall_ext.firewall_stats.counter_stats,TelemetryStream.enterprise.juniperNetworks.jnpr_firewall_ext.firewall_stats.policer_stats.extended_policer_stats,TelemetryStream.enterprise.juniperNetworks.jnpr_firewall_ext.firewall_stats.policer_stats,TelemetryStream.enterprise.juniperNetworks.jnpr_firewall_ext.firewall_stats.hierarchical_policer_stats,TelemetryStream.enterprise.juniperNetworks.jnpr_firewall_ext.firewall_stats,TelemetryStream.enterprise.juniperNetworks.jnpr_firewall_ext,TelemetryStream.enterprise.juniperNetworks.jnpr_optics_ext.Optics_diag.optics_diag_stats.optics_lane_diag_stats,TelemetryStream.enterprise.juniperNetworks.jnpr_optics_ext.Optics_diag.optics_diag_stats,TelemetryStream.enterprise.juniperNetworks.jnpr_optics_ext.Optics_diag,TelemetryStream.enterprise.juniperNetworks.jnpr_optics_ext,TelemetryStream.enterprise.juniperNetworks.cpu_memory_util_ext.utilization.application_utilization,TelemetryStream.enterprise.juniperNetworks.cpu_memory_util_ext.utilization,TelemetryStream.enterprise.juniperNetworks.cpu_memory_util_ext,TelemetryStream.enterprise.juniperNetworks.jnpr_packet_statistics_ext.packet_stats.counter,TelemetryStream.enterprise.juniperNetworks.jnpr_packet_statistics_ext.packet_stats,TelemetryStream.enterprise.juniperNetworks.jnpr_packet_statistics_ext.packet_stats_pfe.packet_stats.counter,TelemetryStream.enterprise.juniperNetworks.jnpr_packet_statistics_ext.packet_stats_pfe.packet_stats,TelemetryStream.enterprise.juniperNetworks.jnpr_packet_statistics_ext.packet_stats_pfe,TelemetryStream.enterprise.juniperNetworks.jnpr_packet_statistics_ext,TelemetryStream.enterprise.juniperNetworks.inline_jflow_stats_ext.npu_stats,TelemetryStream.enterprise.juniperNetworks.inline_jflow_stats_ext,TelemetryStream.enterprise.juniperNetworks.jnpr_lsp_statistics_ext.lsp_stats_records,TelemetryStream.enterprise.juniperNetworks.jnpr_lsp_statistics_ext,TelemetryStream.enterprise.juniperNetworks.jnpr_npu_utilization_ext.npu_util_stats.packets,TelemetryStream.enterprise.juniperNetworks.jnpr_npu_utilization_ext.npu_util_stats.memory,TelemetryStream.enterprise.juniperNetworks.jnpr_npu_utilization_ext.npu_util_stats,TelemetryStream.enterprise.juniperNetworks.jnpr_npu_utilization_ext,TelemetryStream.enterprise.juniperNetworks.jnpr_interface_ext.interface_stats.egress_queue_info,TelemetryStream.enterprise.juniperNetworks.jnpr_interface_ext.interface_stats.ingress_queue_info,TelemetryStream.enterprise.juniperNetworks.jnpr_interface_ext.interface_stats.ingress_stats,TelemetryStream.enterprise.juniperNetworks.jnpr_interface_ext.interface_stats.egress_stats,TelemetryStream.enterprise.juniperNetworks.jnpr_interface_ext.interface_stats.ingress_errors,TelemetryStream.enterprise.juniperNetworks.jnpr_interface_ext.interface_stats,TelemetryStream.enterprise.juniperNetworks.jnpr_interface_ext,TelemetryStream.enterprise.juniperNetworks.jnprLogicalInterfaceExt.interface_info.ingress_stats.if_fc_stats,TelemetryStream.enterprise.juniperNetworks.jnprLogicalInterfaceExt.interface_info.ingress_stats,TelemetryStream.enterprise.juniperNetworks.jnprLogicalInterfaceExt.interface_info.egress_stats,TelemetryStream.enterprise.juniperNetworks.jnprLogicalInterfaceExt.interface_info.op_state,TelemetryStream.enterprise.juniperNetworks.jnprLogicalInterfaceExt.interface_info.ingress_queue_info,TelemetryStream.enterprise.juniperNetworks.jnprLogicalInterfaceExt.interface_info.egress_queue_info,TelemetryStream.enterprise.juniperNetworks.jnprLogicalInterfaceExt.interface_info,TelemetryStream.enterprise.juniperNetworks.jnprLogicalInterfaceExt,TelemetryStream.enterprise.juniperNetworks.npu_memory_ext.memory_stats.summary,TelemetryStream.enterprise.juniperNetworks.npu_memory_ext.memory_stats.partition,TelemetryStream.enterprise.juniperNetworks.npu_memory_ext.memory_stats,TelemetryStream.enterprise.juniperNetworks.npu_memory_ext,UFlowData.flow,NodeStatus.disk_usage_info,NodeStatus.disk_usage_info,NodeStatus.disk_usage_info,NodeStatus.disk_usage_info,NodeStatus.disk_usage_info,NodeStatus.process_mem_cpu_usage,NodeStatus.process_mem_cpu_usage,NodeStatus.process_mem_cpu_usage,NodeStatus.process_mem_cpu_usage,NodeStatus.process_mem_cpu_usage,NodeStatus.system_mem_usage,NodeStatus.system_mem_usage,NodeStatus.system_mem_usage,NodeStatus.system_mem_usage,NodeStatus.system_mem_usage,NodeStatus.system_cpu_usage,NodeStatus.system_cpu_usage,NodeStatus.system_cpu_usage,NodeStatus.system_cpu_usage,NodeStatus.system_cpu_usage,NodeStatus.disk_usage_info,NodeStatus.process_mem_cpu_usage,NodeStatus.system_mem_usage,NodeStatus.system_cpu_usage,VncApiStatsLog.api_stats,VncApiLatencyStatsLog.api_latency_stats,QueryPerfInfo.query_stats,AnalyticsApiStats.api_stats,UserDefinedLogStatistic.count,GenericStats.attrib,PRouterEntry.ifStats,DatabasePurgeInfo.stats,BgpRouterState.output_queue_depth,PeerStatsData.raw_rx_update_stats,PeerStatsData.raw_tx_update_stats,RoutingInstanceStatsData.raw_ipv4_stats,RoutingInstanceStatsData.raw_ipv6_stats,RoutingInstanceStatsData.raw_inetvpn_stats,RoutingInstanceStatsData.raw_inet6vpn_stats,RoutingInstanceStatsData.raw_rtarget_stats,RoutingInstanceStatsData.raw_evpn_stats,RoutingInstanceStatsData.raw_ermvpn_stats,RoutingInstanceStatsData.raw_mvpn_stats,ModuleClientState.msg_type_agg,ModuleClientState.tx_msg_agg,SDWANMetricsRecord.app_metrics_diff_sla_3m,SDWANMetricsRecord.app_metrics_diff_sla_3m.value,SDWANMetricsRecord.app_metrics_diff_sla_1h,SDWANMetricsRecord.app_metrics_diff_sla_1h.value,SDWANMetricsRecord.app_metrics_diff_sla_8h,SDWANMetricsRecord.app_metrics_diff_sla_8h.value,SDWANMetricsRecord.app_metrics_diff_sla_1d,SDWANMetricsRecord.app_metrics_diff_sla_1d.value,SDWANMetricsRecord.app_metrics_dial_sla_3m,SDWANMetricsRecord.app_metrics_dial_sla_3m.value,SDWANMetricsRecord.app_metrics_dial_sla_1h,SDWANMetricsRecord.app_metrics_dial_sla_1h.value,SDWANMetricsRecord.app_metrics_dial_sla_8h,SDWANMetricsRecord.app_metrics_dial_sla_8h.value,SDWANMetricsRecord.app_metrics_dial_sla_1d,SDWANMetricsRecord.app_metrics_dial_sla_1d.value,SDWANMetricsRecord.app_metrics_diff_link_3m,SDWANMetricsRecord.app_metrics_diff_link_3m.value,SDWANMetricsRecord.app_metrics_diff_link_1h,SDWANMetricsRecord.app_metrics_diff_link_1h.value,SDWANMetricsRecord.app_metrics_diff_link_8h,SDWANMetricsRecord.app_metrics_diff_link_8h.value,SDWANMetricsRecord.app_metrics_diff_link_1d,SDWANMetricsRecord.app_metrics_diff_link_1d.value,SDWANMetricsRecord.app_metrics_dial_link_3m,SDWANMetricsRecord.app_metrics_dial_link_3m.value,SDWANMetricsRecord.app_metrics_dial_link_1h,SDWANMetricsRecord.app_metrics_dial_link_1h.value,SDWANMetricsRecord.app_metrics_dial_link_8h,SDWANMetricsRecord.app_metrics_dial_link_8h.value,SDWANMetricsRecord.app_metrics_dial_link_1d,SDWANMetricsRecord.app_metrics_dial_link_1d.value,SDWANMetricsRecord.app_metrics_diff_user_3m,SDWANMetricsRecord.app_metrics_diff_user_3m.value,SDWANMetricsRecord.app_metrics_diff_user_1h,SDWANMetricsRecord.app_metrics_diff_user_1h.value,SDWANMetricsRecord.app_metrics_diff_user_8h,SDWANMetricsRecord.app_metrics_diff_user_8h.value,SDWANMetricsRecord.app_metrics_diff_user_1d,SDWANMetricsRecord.app_metrics_diff_user_1d.value,SDWANMetricsRecord.app_metrics_dial_user_3m,SDWANMetricsRecord.app_metrics_dial_user_3m.value,SDWANMetricsRecord.app_metrics_dial_user_1h,SDWANMetricsRecord.app_metrics_dial_user_1h.value,SDWANMetricsRecord.app_metrics_dial_user_8h,SDWANMetricsRecord.app_metrics_dial_user_8h.value,SDWANMetricsRecord.app_metrics_dial_user_1d,SDWANMetricsRecord.app_metrics_dial_user_1d.value,SDWANMetricsRecord.link_metrics_diff_traffic_type_3m,SDWANMetricsRecord.link_metrics_diff_traffic_type_3m.value,SDWANMetricsRecord.link_metrics_diff_traffic_type_1h,SDWANMetricsRecord.link_metrics_diff_traffic_type_1h.value,SDWANMetricsRecord.link_metrics_diff_traffic_type_8h,SDWANMetricsRecord.link_metrics_diff_traffic_type_8h.value,SDWANMetricsRecord.link_metrics_diff_traffic_type_1d,SDWANMetricsRecord.link_metrics_diff_traffic_type_1d.value,SDWANMetricsRecord.link_metrics_dial_traffic_type_3m,SDWANMetricsRecord.link_metrics_dial_traffic_type_3m.value,SDWANMetricsRecord.link_metrics_dial_traffic_type_1h,SDWANMetricsRecord.link_metrics_dial_traffic_type_1h.value,SDWANMetricsRecord.link_metrics_dial_traffic_type_8h,SDWANMetricsRecord.link_metrics_dial_traffic_type_8h.value,SDWANMetricsRecord.link_metrics_dial_traffic_type_1d,SDWANMetricsRecord.link_metrics_dial_traffic_type_1d.value,SDWANTenantMetricsRecord.tenant_metrics_diff_sla_3m,SDWANTenantMetricsRecord.tenant_metrics_diff_sla_3m.value,SDWANTenantMetricsRecord.tenant_metrics_diff_sla_1h,SDWANTenantMetricsRecord.tenant_metrics_diff_sla_1h.value,SDWANTenantMetricsRecord.tenant_metrics_diff_sla_8h,SDWANTenantMetricsRecord.tenant_metrics_diff_sla_8h.value,SDWANTenantMetricsRecord.tenant_metrics_diff_sla_1d,SDWANTenantMetricsRecord.tenant_metrics_diff_sla_1d.value,SDWANTenantMetricsRecord.tenant_metrics_dial_sla_3m,SDWANTenantMetricsRecord.tenant_metrics_dial_sla_3m.value,SDWANTenantMetricsRecord.tenant_metrics_dial_sla_1h,SDWANTenantMetricsRecord.tenant_metrics_dial_sla_1h.value,SDWANTenantMetricsRecord.tenant_metrics_dial_sla_8h,SDWANTenantMetricsRecord.tenant_metrics_dial_sla_8h.value,SDWANTenantMetricsRecord.tenant_metrics_dial_sla_1d,SDWANTenantMetricsRecord.tenant_metrics_dial_sla_1d.value,CollectorDbStats.table_info,CollectorDbStats.errors,CollectorDbStats.stats_info,CollectorDbStats.cql_stats,CollectorDbStats.cql_stats.stats,CollectorDbStats.cql_stats.errors,CollectorDbStats.session_table_stats,ProtobufCollectorStats.rx_socket_stats,ProtobufCollectorStats.tx_socket_stats,ProtobufCollectorStats.rx_message_stats,ProtobufCollectorStats.db_table_info,ProtobufCollectorStats.db_errors,ProtobufCollectorStats.db_statistics_table_info,SandeshMessageStat.msg_info,AppTrackRecord.sum_app_metrics_sla_3m,AppTrackRecord.sum_app_metrics_sla_3m.value,AppTrackRecord.sum_app_metrics_sla_1h,AppTrackRecord.sum_app_metrics_sla_1h.value,AppTrackRecord.sum_app_metrics_sla_8h,AppTrackRecord.sum_app_metrics_sla_8h.value,AppTrackRecord.sum_app_metrics_sla_1d,AppTrackRecord.sum_app_metrics_sla_1d.value,AppTrackRecord.sum_app_metrics_sla_7d,AppTrackRecord.sum_app_metrics_sla_7d.value,AppTrackRecord.sum_app_metrics_sla_30d,AppTrackRecord.sum_app_metrics_sla_30d.value,AppTrackRecord.avg_app_metrics_sla_3m,AppTrackRecord.avg_app_metrics_sla_3m.value,AppTrackRecord.avg_app_metrics_sla_1h,AppTrackRecord.avg_app_metrics_sla_1h.value,AppTrackRecord.avg_app_metrics_sla_8h,AppTrackRecord.avg_app_metrics_sla_8h.value,AppTrackRecord.avg_app_metrics_sla_1d,AppTrackRecord.avg_app_metrics_sla_1d.value,AppTrackRecord.avg_app_metrics_sla_7d,AppTrackRecord.avg_app_metrics_sla_7d.value,AppTrackRecord.avg_app_metrics_sla_30d,AppTrackRecord.avg_app_metrics_sla_30d.value,AppTrackRecord.sum_app_metrics_link_3m,AppTrackRecord.sum_app_metrics_link_3m.value,AppTrackRecord.sum_app_metrics_link_1h,AppTrackRecord.sum_app_metrics_link_1h.value,AppTrackRecord.sum_app_metrics_link_8h,AppTrackRecord.sum_app_metrics_link_8h.value,AppTrackRecord.sum_app_metrics_link_1d,AppTrackRecord.sum_app_metrics_link_1d.value,AppTrackRecord.sum_app_metrics_link_7d,AppTrackRecord.sum_app_metrics_link_7d.value,AppTrackRecord.sum_app_metrics_link_30d,AppTrackRecord.sum_app_metrics_link_30d.value,AppTrackRecord.avg_app_metrics_link_3m,AppTrackRecord.avg_app_metrics_link_3m.value,AppTrackRecord.avg_app_metrics_link_1h,AppTrackRecord.avg_app_metrics_link_1h.value,AppTrackRecord.avg_app_metrics_link_8h,AppTrackRecord.avg_app_metrics_link_8h.value,AppTrackRecord.avg_app_metrics_link_1d,AppTrackRecord.avg_app_metrics_link_1d.value,AppTrackRecord.avg_app_metrics_link_7d,AppTrackRecord.avg_app_metrics_link_7d.value,AppTrackRecord.avg_app_metrics_link_30d,AppTrackRecord.avg_app_metrics_link_30d.value,AppTrackRecord.sum_app_metrics_user_3m,AppTrackRecord.sum_app_metrics_user_3m.value,AppTrackRecord.sum_app_metrics_user_1h,AppTrackRecord.sum_app_metrics_user_1h.value,AppTrackRecord.sum_app_metrics_user_8h,AppTrackRecord.sum_app_metrics_user_8h.value,AppTrackRecord.sum_app_metrics_user_1d,AppTrackRecord.sum_app_metrics_user_1d.value,AppTrackRecord.sum_app_metrics_user_7d,AppTrackRecord.sum_app_metrics_user_7d.value,AppTrackRecord.sum_app_metrics_user_30d,AppTrackRecord.sum_app_metrics_user_30d.value,AppTrackRecord.avg_app_metrics_user_3m,AppTrackRecord.avg_app_metrics_user_3m.value,AppTrackRecord.avg_app_metrics_user_1h,AppTrackRecord.avg_app_metrics_user_1h.value,AppTrackRecord.avg_app_metrics_user_8h,AppTrackRecord.avg_app_metrics_user_8h.value,AppTrackRecord.avg_app_metrics_user_1d,AppTrackRecord.avg_app_metrics_user_1d.value,AppTrackRecord.avg_app_metrics_user_7d,AppTrackRecord.avg_app_metrics_user_7d.value,AppTrackRecord.avg_app_metrics_user_30d,AppTrackRecord.avg_app_metrics_user_30d.value,UveLoadbalancerStats.listener,UveLoadbalancerStats.pool,UveLoadbalancerStats.member,UveLoadbalancerConfig.listener,UveLoadbalancerConfig.pool,UveVirtualNetworkAgent.vn_stats,UveVirtualNetworkAgent.policy_rule_stats,VrouterAgent.vmi_count,VrouterAgent.vm_count,VrouterStatsAgent.raw_vhost_stats,VrouterStatsAgent.raw_vhost_drop_stats,VrouterStatsAgent.raw_drop_stats,VrouterStatsAgent.flow_rate,VrouterStatsAgent.phy_band_in_bps,VrouterStatsAgent.phy_band_out_bps,VrouterStatsAgent.phy_flow_rate,VrouterStatsAgent.raw_phy_if_stats,VrouterStatsAgent.raw_phy_if_drop_stats,ComputeCpuState.cpu_info,UveVMInterfaceAgent.fip_diff_stats,UveVMInterfaceAgent.raw_if_stats,UveVMInterfaceAgent.sg_rule_stats,UveVMInterfaceAgent.flow_rate,UveVMInterfaceAgent.raw_drop_stats,EndpointSecurityStats.eps,EndpointSecurityStats.eps.client,EndpointSecurityStats.eps.server,VirtualMachineStats.cpu_stats,QEDbStats.table_info,QEDbStats.errors,QEDbStats.stats_info,QEDbStats.cql_stats,QEDbStats.cql_stats.stats,QEDbStats.cql_stats.errors,AlarmgenUpdate.i,AlarmgenUpdate.uve_stats,AlarmgenStatus.counters,AlarmgenStatus.counters.table_stats,DatabaseUsageInfo.database_usage,CassandraStatusData.cassandra_compaction_task,CassandraStatusData.thread_pool_stats}]
                      [--dtable DTABLE] [--select SELECT [SELECT ...]]
                      [--where WHERE [WHERE ...]] [--sort SORT [SORT ...]]
contrail-stats: error: argument --table: invalid choice: 'UveVMInterfaceAgent.if_stats' (choose from 'FieldNames.fields', 'FieldNames.fieldi', 'TelemetryStream.enterprise.juniperNetworks.fabricMessageExt.edges.class_stats.transmit_counts', 'TelemetryStream.enterprise.juniperNetworks.jnpr_firewall_ext.firewall_stats.memory_usage', 'TelemetryStream.enterprise.juniperNetworks.jnpr_firewall_ext.firewall_stats.counter_stats', 'TelemetryStream.enterprise.juniperNetworks.jnpr_firewall_ext.firewall_stats.policer_stats.extended_policer_stats', 'TelemetryStream.enterprise.juniperNetworks.jnpr_firewall_ext.firewall_stats.policer_stats', 'TelemetryStream.enterprise.juniperNetworks.jnpr_firewall_ext.firewall_stats.hierarchical_policer_stats', 'TelemetryStream.enterprise.juniperNetworks.jnpr_firewall_ext.firewall_stats', 'TelemetryStream.enterprise.juniperNetworks.jnpr_firewall_ext', 'TelemetryStream.enterprise.juniperNetworks.jnpr_optics_ext.Optics_diag.optics_diag_stats.optics_lane_diag_stats', 'TelemetryStream.enterprise.juniperNetworks.jnpr_optics_ext.Optics_diag.optics_diag_stats', 'TelemetryStream.enterprise.juniperNetworks.jnpr_optics_ext.Optics_diag', 'TelemetryStream.enterprise.juniperNetworks.jnpr_optics_ext', 'TelemetryStream.enterprise.juniperNetworks.cpu_memory_util_ext.utilization.application_utilization', 'TelemetryStream.enterprise.juniperNetworks.cpu_memory_util_ext.utilization', 'TelemetryStream.enterprise.juniperNetworks.cpu_memory_util_ext', 'TelemetryStream.enterprise.juniperNetworks.jnpr_packet_statistics_ext.packet_stats.counter', 'TelemetryStream.enterprise.juniperNetworks.jnpr_packet_statistics_ext.packet_stats', 'TelemetryStream.enterprise.juniperNetworks.jnpr_packet_statistics_ext.packet_stats_pfe.packet_stats.counter', 'TelemetryStream.enterprise.juniperNetworks.jnpr_packet_statistics_ext.packet_stats_pfe.packet_stats', 'TelemetryStream.enterprise.juniperNetworks.jnpr_packet_statistics_ext.packet_stats_pfe', 'TelemetryStream.enterprise.juniperNetworks.jnpr_packet_statistics_ext', 'TelemetryStream.enterprise.juniperNetworks.inline_jflow_stats_ext.npu_stats', 'TelemetryStream.enterprise.juniperNetworks.inline_jflow_stats_ext', 'TelemetryStream.enterprise.juniperNetworks.jnpr_lsp_statistics_ext.lsp_stats_records', 'TelemetryStream.enterprise.juniperNetworks.jnpr_lsp_statistics_ext', 'TelemetryStream.enterprise.juniperNetworks.jnpr_npu_utilization_ext.npu_util_stats.packets', 'TelemetryStream.enterprise.juniperNetworks.jnpr_npu_utilization_ext.npu_util_stats.memory', 'TelemetryStream.enterprise.juniperNetworks.jnpr_npu_utilization_ext.npu_util_stats', 'TelemetryStream.enterprise.juniperNetworks.jnpr_npu_utilization_ext', 'TelemetryStream.enterprise.juniperNetworks.jnpr_interface_ext.interface_stats.egress_queue_info', 'TelemetryStream.enterprise.juniperNetworks.jnpr_interface_ext.interface_stats.ingress_queue_info', 'TelemetryStream.enterprise.juniperNetworks.jnpr_interface_ext.interface_stats.ingress_stats', 'TelemetryStream.enterprise.juniperNetworks.jnpr_interface_ext.interface_stats.egress_stats', 'TelemetryStream.enterprise.juniperNetworks.jnpr_interface_ext.interface_stats.ingress_errors', 'TelemetryStream.enterprise.juniperNetworks.jnpr_interface_ext.interface_stats', 'TelemetryStream.enterprise.juniperNetworks.jnpr_interface_ext', 'TelemetryStream.enterprise.juniperNetworks.jnprLogicalInterfaceExt.interface_info.ingress_stats.if_fc_stats', 'TelemetryStream.enterprise.juniperNetworks.jnprLogicalInterfaceExt.interface_info.ingress_stats', 'TelemetryStream.enterprise.juniperNetworks.jnprLogicalInterfaceExt.interface_info.egress_stats', 'TelemetryStream.enterprise.juniperNetworks.jnprLogicalInterfaceExt.interface_info.op_state', 'TelemetryStream.enterprise.juniperNetworks.jnprLogicalInterfaceExt.interface_info.ingress_queue_info', 'TelemetryStream.enterprise.juniperNetworks.jnprLogicalInterfaceExt.interface_info.egress_queue_info', 'TelemetryStream.enterprise.juniperNetworks.jnprLogicalInterfaceExt.interface_info', 'TelemetryStream.enterprise.juniperNetworks.jnprLogicalInterfaceExt', 'TelemetryStream.enterprise.juniperNetworks.npu_memory_ext.memory_stats.summary', 'TelemetryStream.enterprise.juniperNetworks.npu_memory_ext.memory_stats.partition', 'TelemetryStream.enterprise.juniperNetworks.npu_memory_ext.memory_stats', 'TelemetryStream.enterprise.juniperNetworks.npu_memory_ext', 'UFlowData.flow', 'NodeStatus.disk_usage_info', 'NodeStatus.disk_usage_info', 'NodeStatus.disk_usage_info', 'NodeStatus.disk_usage_info', 'NodeStatus.disk_usage_info', 'NodeStatus.process_mem_cpu_usage', 'NodeStatus.process_mem_cpu_usage', 'NodeStatus.process_mem_cpu_usage', 'NodeStatus.process_mem_cpu_usage', 'NodeStatus.process_mem_cpu_usage', 'NodeStatus.system_mem_usage', 'NodeStatus.system_mem_usage', 'NodeStatus.system_mem_usage', 'NodeStatus.system_mem_usage', 'NodeStatus.system_mem_usage', 'NodeStatus.system_cpu_usage', 'NodeStatus.system_cpu_usage', 'NodeStatus.system_cpu_usage', 'NodeStatus.system_cpu_usage', 'NodeStatus.system_cpu_usage', 'NodeStatus.disk_usage_info', 'NodeStatus.process_mem_cpu_usage', 'NodeStatus.system_mem_usage', 'NodeStatus.system_cpu_usage', u'VncApiStatsLog.api_stats', u'VncApiLatencyStatsLog.api_latency_stats', u'QueryPerfInfo.query_stats', u'AnalyticsApiStats.api_stats', u'UserDefinedLogStatistic.count', u'GenericStats.attrib', u'PRouterEntry.ifStats', u'DatabasePurgeInfo.stats', u'BgpRouterState.output_queue_depth', u'PeerStatsData.raw_rx_update_stats', u'PeerStatsData.raw_tx_update_stats', u'RoutingInstanceStatsData.raw_ipv4_stats', u'RoutingInstanceStatsData.raw_ipv6_stats', u'RoutingInstanceStatsData.raw_inetvpn_stats', u'RoutingInstanceStatsData.raw_inet6vpn_stats', u'RoutingInstanceStatsData.raw_rtarget_stats', u'RoutingInstanceStatsData.raw_evpn_stats', u'RoutingInstanceStatsData.raw_ermvpn_stats', u'RoutingInstanceStatsData.raw_mvpn_stats', u'ModuleClientState.msg_type_agg', u'ModuleClientState.tx_msg_agg', u'SDWANMetricsRecord.app_metrics_diff_sla_3m', u'SDWANMetricsRecord.app_metrics_diff_sla_3m.value', u'SDWANMetricsRecord.app_metrics_diff_sla_1h', u'SDWANMetricsRecord.app_metrics_diff_sla_1h.value', u'SDWANMetricsRecord.app_metrics_diff_sla_8h', u'SDWANMetricsRecord.app_metrics_diff_sla_8h.value', u'SDWANMetricsRecord.app_metrics_diff_sla_1d', u'SDWANMetricsRecord.app_metrics_diff_sla_1d.value', u'SDWANMetricsRecord.app_metrics_dial_sla_3m', u'SDWANMetricsRecord.app_metrics_dial_sla_3m.value', u'SDWANMetricsRecord.app_metrics_dial_sla_1h', u'SDWANMetricsRecord.app_metrics_dial_sla_1h.value', u'SDWANMetricsRecord.app_metrics_dial_sla_8h', u'SDWANMetricsRecord.app_metrics_dial_sla_8h.value', u'SDWANMetricsRecord.app_metrics_dial_sla_1d', u'SDWANMetricsRecord.app_metrics_dial_sla_1d.value', u'SDWANMetricsRecord.app_metrics_diff_link_3m', u'SDWANMetricsRecord.app_metrics_diff_link_3m.value', u'SDWANMetricsRecord.app_metrics_diff_link_1h', u'SDWANMetricsRecord.app_metrics_diff_link_1h.value', u'SDWANMetricsRecord.app_metrics_diff_link_8h', u'SDWANMetricsRecord.app_metrics_diff_link_8h.value', u'SDWANMetricsRecord.app_metrics_diff_link_1d', u'SDWANMetricsRecord.app_metrics_diff_link_1d.value', u'SDWANMetricsRecord.app_metrics_dial_link_3m', u'SDWANMetricsRecord.app_metrics_dial_link_3m.value', u'SDWANMetricsRecord.app_metrics_dial_link_1h', u'SDWANMetricsRecord.app_metrics_dial_link_1h.value', u'SDWANMetricsRecord.app_metrics_dial_link_8h', u'SDWANMetricsRecord.app_metrics_dial_link_8h.value', u'SDWANMetricsRecord.app_metrics_dial_link_1d', u'SDWANMetricsRecord.app_metrics_dial_link_1d.value', u'SDWANMetricsRecord.app_metrics_diff_user_3m', u'SDWANMetricsRecord.app_metrics_diff_user_3m.value', u'SDWANMetricsRecord.app_metrics_diff_user_1h', u'SDWANMetricsRecord.app_metrics_diff_user_1h.value', u'SDWANMetricsRecord.app_metrics_diff_user_8h', u'SDWANMetricsRecord.app_metrics_diff_user_8h.value', u'SDWANMetricsRecord.app_metrics_diff_user_1d', u'SDWANMetricsRecord.app_metrics_diff_user_1d.value', u'SDWANMetricsRecord.app_metrics_dial_user_3m', u'SDWANMetricsRecord.app_metrics_dial_user_3m.value', u'SDWANMetricsRecord.app_metrics_dial_user_1h', u'SDWANMetricsRecord.app_metrics_dial_user_1h.value', u'SDWANMetricsRecord.app_metrics_dial_user_8h', u'SDWANMetricsRecord.app_metrics_dial_user_8h.value', u'SDWANMetricsRecord.app_metrics_dial_user_1d', u'SDWANMetricsRecord.app_metrics_dial_user_1d.value', u'SDWANMetricsRecord.link_metrics_diff_traffic_type_3m', u'SDWANMetricsRecord.link_metrics_diff_traffic_type_3m.value', u'SDWANMetricsRecord.link_metrics_diff_traffic_type_1h', u'SDWANMetricsRecord.link_metrics_diff_traffic_type_1h.value', u'SDWANMetricsRecord.link_metrics_diff_traffic_type_8h', u'SDWANMetricsRecord.link_metrics_diff_traffic_type_8h.value', u'SDWANMetricsRecord.link_metrics_diff_traffic_type_1d', u'SDWANMetricsRecord.link_metrics_diff_traffic_type_1d.value', u'SDWANMetricsRecord.link_metrics_dial_traffic_type_3m', u'SDWANMetricsRecord.link_metrics_dial_traffic_type_3m.value', u'SDWANMetricsRecord.link_metrics_dial_traffic_type_1h', u'SDWANMetricsRecord.link_metrics_dial_traffic_type_1h.value', u'SDWANMetricsRecord.link_metrics_dial_traffic_type_8h', u'SDWANMetricsRecord.link_metrics_dial_traffic_type_8h.value', u'SDWANMetricsRecord.link_metrics_dial_traffic_type_1d', u'SDWANMetricsRecord.link_metrics_dial_traffic_type_1d.value', u'SDWANTenantMetricsRecord.tenant_metrics_diff_sla_3m', u'SDWANTenantMetricsRecord.tenant_metrics_diff_sla_3m.value', u'SDWANTenantMetricsRecord.tenant_metrics_diff_sla_1h', u'SDWANTenantMetricsRecord.tenant_metrics_diff_sla_1h.value', u'SDWANTenantMetricsRecord.tenant_metrics_diff_sla_8h', u'SDWANTenantMetricsRecord.tenant_metrics_diff_sla_8h.value', u'SDWANTenantMetricsRecord.tenant_metrics_diff_sla_1d', u'SDWANTenantMetricsRecord.tenant_metrics_diff_sla_1d.value', u'SDWANTenantMetricsRecord.tenant_metrics_dial_sla_3m', u'SDWANTenantMetricsRecord.tenant_metrics_dial_sla_3m.value', u'SDWANTenantMetricsRecord.tenant_metrics_dial_sla_1h', u'SDWANTenantMetricsRecord.tenant_metrics_dial_sla_1h.value', u'SDWANTenantMetricsRecord.tenant_metrics_dial_sla_8h', u'SDWANTenantMetricsRecord.tenant_metrics_dial_sla_8h.value', u'SDWANTenantMetricsRecord.tenant_metrics_dial_sla_1d', u'SDWANTenantMetricsRecord.tenant_metrics_dial_sla_1d.value', u'CollectorDbStats.table_info', u'CollectorDbStats.errors', u'CollectorDbStats.stats_info', u'CollectorDbStats.cql_stats', u'CollectorDbStats.cql_stats.stats', u'CollectorDbStats.cql_stats.errors', u'CollectorDbStats.session_table_stats', u'ProtobufCollectorStats.rx_socket_stats', u'ProtobufCollectorStats.tx_socket_stats', u'ProtobufCollectorStats.rx_message_stats', u'ProtobufCollectorStats.db_table_info', u'ProtobufCollectorStats.db_errors', u'ProtobufCollectorStats.db_statistics_table_info', u'SandeshMessageStat.msg_info', u'AppTrackRecord.sum_app_metrics_sla_3m', u'AppTrackRecord.sum_app_metrics_sla_3m.value', u'AppTrackRecord.sum_app_metrics_sla_1h', u'AppTrackRecord.sum_app_metrics_sla_1h.value', u'AppTrackRecord.sum_app_metrics_sla_8h', u'AppTrackRecord.sum_app_metrics_sla_8h.value', u'AppTrackRecord.sum_app_metrics_sla_1d', u'AppTrackRecord.sum_app_metrics_sla_1d.value', u'AppTrackRecord.sum_app_metrics_sla_7d', u'AppTrackRecord.sum_app_metrics_sla_7d.value', u'AppTrackRecord.sum_app_metrics_sla_30d', u'AppTrackRecord.sum_app_metrics_sla_30d.value', u'AppTrackRecord.avg_app_metrics_sla_3m', u'AppTrackRecord.avg_app_metrics_sla_3m.value', u'AppTrackRecord.avg_app_metrics_sla_1h', u'AppTrackRecord.avg_app_metrics_sla_1h.value', u'AppTrackRecord.avg_app_metrics_sla_8h', u'AppTrackRecord.avg_app_metrics_sla_8h.value', u'AppTrackRecord.avg_app_metrics_sla_1d', u'AppTrackRecord.avg_app_metrics_sla_1d.value', u'AppTrackRecord.avg_app_metrics_sla_7d', u'AppTrackRecord.avg_app_metrics_sla_7d.value', u'AppTrackRecord.avg_app_metrics_sla_30d', u'AppTrackRecord.avg_app_metrics_sla_30d.value', u'AppTrackRecord.sum_app_metrics_link_3m', u'AppTrackRecord.sum_app_metrics_link_3m.value', u'AppTrackRecord.sum_app_metrics_link_1h', u'AppTrackRecord.sum_app_metrics_link_1h.value', u'AppTrackRecord.sum_app_metrics_link_8h', u'AppTrackRecord.sum_app_metrics_link_8h.value', u'AppTrackRecord.sum_app_metrics_link_1d', u'AppTrackRecord.sum_app_metrics_link_1d.value', u'AppTrackRecord.sum_app_metrics_link_7d', u'AppTrackRecord.sum_app_metrics_link_7d.value', u'AppTrackRecord.sum_app_metrics_link_30d', u'AppTrackRecord.sum_app_metrics_link_30d.value', u'AppTrackRecord.avg_app_metrics_link_3m', u'AppTrackRecord.avg_app_metrics_link_3m.value', u'AppTrackRecord.avg_app_metrics_link_1h', u'AppTrackRecord.avg_app_metrics_link_1h.value', u'AppTrackRecord.avg_app_metrics_link_8h', u'AppTrackRecord.avg_app_metrics_link_8h.value', u'AppTrackRecord.avg_app_metrics_link_1d', u'AppTrackRecord.avg_app_metrics_link_1d.value', u'AppTrackRecord.avg_app_metrics_link_7d', u'AppTrackRecord.avg_app_metrics_link_7d.value', u'AppTrackRecord.avg_app_metrics_link_30d', u'AppTrackRecord.avg_app_metrics_link_30d.value', u'AppTrackRecord.sum_app_metrics_user_3m', u'AppTrackRecord.sum_app_metrics_user_3m.value', u'AppTrackRecord.sum_app_metrics_user_1h', u'AppTrackRecord.sum_app_metrics_user_1h.value', u'AppTrackRecord.sum_app_metrics_user_8h', u'AppTrackRecord.sum_app_metrics_user_8h.value', u'AppTrackRecord.sum_app_metrics_user_1d', u'AppTrackRecord.sum_app_metrics_user_1d.value', u'AppTrackRecord.sum_app_metrics_user_7d', u'AppTrackRecord.sum_app_metrics_user_7d.value', u'AppTrackRecord.sum_app_metrics_user_30d', u'AppTrackRecord.sum_app_metrics_user_30d.value', u'AppTrackRecord.avg_app_metrics_user_3m', u'AppTrackRecord.avg_app_metrics_user_3m.value', u'AppTrackRecord.avg_app_metrics_user_1h', u'AppTrackRecord.avg_app_metrics_user_1h.value', u'AppTrackRecord.avg_app_metrics_user_8h', u'AppTrackRecord.avg_app_metrics_user_8h.value', u'AppTrackRecord.avg_app_metrics_user_1d', u'AppTrackRecord.avg_app_metrics_user_1d.value', u'AppTrackRecord.avg_app_metrics_user_7d', u'AppTrackRecord.avg_app_metrics_user_7d.value', u'AppTrackRecord.avg_app_metrics_user_30d', u'AppTrackRecord.avg_app_metrics_user_30d.value', u'UveLoadbalancerStats.listener', u'UveLoadbalancerStats.pool', u'UveLoadbalancerStats.member', u'UveLoadbalancerConfig.listener', u'UveLoadbalancerConfig.pool', u'UveVirtualNetworkAgent.vn_stats', u'UveVirtualNetworkAgent.policy_rule_stats', u'VrouterAgent.vmi_count', u'VrouterAgent.vm_count', u'VrouterStatsAgent.raw_vhost_stats', u'VrouterStatsAgent.raw_vhost_drop_stats', u'VrouterStatsAgent.raw_drop_stats', u'VrouterStatsAgent.flow_rate', u'VrouterStatsAgent.phy_band_in_bps', u'VrouterStatsAgent.phy_band_out_bps', u'VrouterStatsAgent.phy_flow_rate', u'VrouterStatsAgent.raw_phy_if_stats', u'VrouterStatsAgent.raw_phy_if_drop_stats', u'ComputeCpuState.cpu_info', u'UveVMInterfaceAgent.fip_diff_stats', u'UveVMInterfaceAgent.raw_if_stats', u'UveVMInterfaceAgent.sg_rule_stats', u'UveVMInterfaceAgent.flow_rate', u'UveVMInterfaceAgent.raw_drop_stats', u'EndpointSecurityStats.eps', u'EndpointSecurityStats.eps.client', u'EndpointSecurityStats.eps.server', u'VirtualMachineStats.cpu_stats', u'QEDbStats.table_info', u'QEDbStats.errors', u'QEDbStats.stats_info', u'QEDbStats.cql_stats', u'QEDbStats.cql_stats.stats', u'QEDbStats.cql_stats.errors', u'AlarmgenUpdate.i', u'AlarmgenUpdate.uve_stats', u'AlarmgenStatus.counters', u'AlarmgenStatus.counters.table_stats', u'DatabaseUsageInfo.database_usage', u'CassandraStatusData.cassandra_compaction_task', u'CassandraStatusData.thread_pool_stats')
[root@nodem14 /]#

Review in progress for https://review.opencontrail.org/42933
Submitter: Ankit Jain (<email address hidden>)

Review in progress for https://review.opencontrail.org/43007
Submitter: Ankit Jain (<email address hidden>)

Reviewed: https://review.opencontrail.org/42933
Committed: http://github.com/Juniper/contrail-test/commit/3b5e37f6785e77b0c65466559cc58fe3e2b1d906
Submitter: Zuul v3 CI (<email address hidden>)
Branch: master

commit 3b5e37f6785e77b0c65466559cc58fe3e2b1d906
Author: ankitja <email address hidden>
Date: Thu May 10 15:41:56 2018 +0530

Fix for test_run_contrail_stats_cli_cmds

Change-Id: I9bd02607326bee1c2cdea6f238ffe0d4d805d545
Closes-bug: #1770369

Review in progress for https://review.opencontrail.org/43516
Submitter: Ankit Jain (<email address hidden>)

Reviewed: https://review.opencontrail.org/43516
Committed: http://github.com/Juniper/contrail-test/commit/754d8868d632ae5167d44351d4f4a04a0c7938cc
Submitter: Zuul v3 CI (<email address hidden>)
Branch: master

commit 754d8868d632ae5167d44351d4f4a04a0c7938cc
Author: ankitja <email address hidden>
Date: Tue Jun 5 12:02:07 2018 +0530

Fix for test_run_contrail_stats_cli_cmds

UveVMInterfaceAgent table being queried in the test case no longer exists due to the changes done as per the bug 1770552.
Query a different table VMIStats instead

Change-Id: I63607127132d280d3304dd677cb77330e5335b6e
Related-bug: #1770369

OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/43007
Committed: http://github.com/Juniper/contrail-test/commit/66c5b7f943e074729381199dec73d7792fb8ebf9
Submitter: Zuul v3 CI (<email address hidden>)
Branch: R5.0

commit 66c5b7f943e074729381199dec73d7792fb8ebf9
Author: ankitja <email address hidden>
Date: Thu May 10 15:41:56 2018 +0530

Fix for test_run_contrail_stats_cli_cmds

Change-Id: I9bd02607326bee1c2cdea6f238ffe0d4d805d545
Closes-bug: #1770369

Review in progress for https://review.opencontrail.org/44040
Submitter: Ankit Jain (<email address hidden>)

Reviewed: https://review.opencontrail.org/44040
Committed: http://github.com/Juniper/contrail-test/commit/dd49a5fdcf3430916fef1dc67f2aa924c15ea546
Submitter: Zuul v3 CI (<email address hidden>)
Branch: R5.0

commit dd49a5fdcf3430916fef1dc67f2aa924c15ea546
Author: ankitja <email address hidden>
Date: Fri Jun 22 11:34:13 2018 +0530

Modifying cmd_args_list

Closes-bug: #1770369

# Please enter the commit message for your changes. Lines starting

Change-Id: I375fda40565254d4dc652999d772d097c594ea2b

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers