{ Error: expected { pipelines:
[ { id: 'uno',
metrics: [Object],
latestThroughput: null,
latestNodesCount: 1 } ],
clusterStatus:
{ node_count: 1,
events_in_total: 0,
events_out_total: 0,
avg_memory: 1037959168,
avg_memory_used: 203687512,
max_uptime: 863288,
pipeline_count: 1,
queue_types: { memory: 1, persisted: 0 },
versions: [ '8.0.0' ] },
totalPipelineCount: 1 } to sort of equal { pipelines:
[ { id: 'uno',
metrics: [Object],
latestThroughput: 0,
latestNodesCount: 1 } ],
clusterStatus:
{ node_count: 1,
events_in_total: 0,
events_out_total: 0,
avg_memory: 1037959168,
avg_memory_used: 203687512,
max_uptime: 863288,
pipeline_count: 1,
queue_types: { memory: 1, persisted: 0 },
versions: [ '8.0.0' ] },
totalPipelineCount: 1 }
at Assertion.assert (/dev/shm/workspace/kibana/packages/kbn-expect/expect.js:100:11)
at Assertion.eql (/dev/shm/workspace/kibana/packages/kbn-expect/expect.js:244:8)
at Context.it (test/api_integration/apis/monitoring/logstash/multicluster_pipelines.js:40:23)
actual:
'{\n "clusterStatus": {\n "avg_memory": 1037959168\n "avg_memory_used": 203687512\n "events_in_total": 0\n "events_out_total": 0\n "max_uptime": 863288\n "node_count": 1\n "pipeline_count": 1\n "queue_types": {\n "memory": 1\n "persisted": 0\n }\n "versions": [\n "8.0.0"\n ]\n }\n "pipelines": [\n {\n "id": "uno"\n "latestNodesCount": 1\n "latestThroughput": [null]\n "metrics": {\n "nodesCount": {\n "bucket_size": "10 seconds"\n "data": [\n [\n 1573485230000\n 1\n ]\n ]\n "metric": {\n "app": "logstash"\n "description": "Number of nodes on which the Logstash pipeline is running."\n "field": "logstash_stats.logstash.uuid"\n "format": "0,0.[00]"\n "hasCalculation": true\n "isDerivative": false\n "label": "Pipeline Node Count"\n "units": ""\n }\n "timeRange": {\n "max": 1573485425399\n "min": 1573485225266\n }\n }\n "throughput": {\n "bucket_size": "10 seconds"\n "data": [\n [\n 1573485230000\n [null]\n ]\n ]\n "metric": {\n "app": "logstash"\n "description": "Number of events emitted per second by the Logstash pipeline at the outputs stage."\n "field": "logstash_stats.pipelines.events.out"\n "format": "0,0.[00]"\n "hasCalculation": true\n "isDerivative": false\n "label": "Pipeline Throughput"\n "units": "e/s"\n }\n "timeRange": {\n "max": 1573485425399\n "min": 1573485225266\n }\n }\n }\n }\n ]\n "totalPipelineCount": 1\n}',
expected:
'{\n "clusterStatus": {\n "avg_memory": 1037959168\n "avg_memory_used": 203687512\n "events_in_total": 0\n "events_out_total": 0\n "max_uptime": 863288\n "node_count": 1\n "pipeline_count": 1\n "queue_types": {\n "memory": 1\n "persisted": 0\n }\n "versions": [\n "8.0.0"\n ]\n }\n "pipelines": [\n {\n "id": "uno"\n "latestNodesCount": 1\n "latestThroughput": 0\n "metrics": {\n "nodesCount": {\n "bucket_size": "10 seconds"\n "data": [\n [\n 1573485230000\n 1\n ]\n ]\n "metric": {\n "app": "logstash"\n "description": "Number of nodes on which the Logstash pipeline is running."\n "field": "logstash_stats.logstash.uuid"\n "format": "0,0.[00]"\n "hasCalculation": true\n "isDerivative": false\n "label": "Pipeline Node Count"\n "units": ""\n }\n "timeRange": {\n "max": 1573485425399\n "min": 1573485225266\n }\n }\n "throughput": {\n "bucket_size": "10 seconds"\n "data": [\n [\n 1573485230000\n 0\n ]\n ]\n "metric": {\n "app": "logstash"\n "description": "Number of events emitted per second by the Logstash pipeline at the outputs stage."\n "field": "logstash_stats.pipelines.events.out"\n "format": "0,0.[00]"\n "hasCalculation": true\n "isDerivative": false\n "label": "Pipeline Throughput"\n "units": "e/s"\n }\n "timeRange": {\n "max": 1573485425399\n "min": 1573485225266\n }\n }\n }\n }\n ]\n "totalPipelineCount": 1\n}',
showDiff: true }
A test failed on a tracked branch
First failure: Jenkins Build