Skip to content

Failing test: Chrome X-Pack UI Functional Tests.x-pack/test/functional/apps/uptime/synthetics_integration·ts - Uptime app with generated data When on the Synthetics Integration Policy Create Page create new policy allows saving when user enters a valid integration name and url/host #109329

Closed

Description

A test failed on a tracked branch

Error: expected [ { id: '17e8ce02-d347-42a8-bac4-9d87b5ffec66',
    revision: 1,
    name: 'system-1',
    type: 'logfile',
    data_stream: { namespace: 'default' },
    use_output: 'default',
    streams: [ [Object], [Object] ],
    meta: { package: [Object] } },
  { id: '17e8ce02-d347-42a8-bac4-9d87b5ffec66',
    revision: 1,
    name: 'system-1',
    type: 'winlog',
    data_stream: { namespace: 'default' },
    use_output: 'default',
    streams: [ [Object], [Object], [Object] ],
    meta: { package: [Object] } },
  { id: '17e8ce02-d347-42a8-bac4-9d87b5ffec66',
    revision: 1,
    name: 'system-1',
    type: 'system/metrics',
    data_stream: { namespace: 'default' },
    use_output: 'default',
    streams: 
     [ [Object],
       [Object],
       [Object],
       [Object],
       [Object],
       [Object],
       [Object],
       [Object],
       [Object],
       [Object],
       [Object] ],
    meta: { package: [Object] } },
  { id: 'f032e591-d5cc-4ed8-9c47-96fd957c9bb2',
    revision: 1,
    name: 'Sample Synthetics integration',
    type: 'synthetics/http',
    data_stream: { namespace: 'default' },
    use_output: 'default',
    streams: [ [Object] ],
    meta: { package: [Object] } } ] to sort of equal [ { data_stream: { namespace: 'default' },
    id: '17e8ce02-d347-42a8-bac4-9d87b5ffec66',
    meta: { package: [Object] },
    name: 'Sample Synthetics integration',
    revision: 1,
    streams: [ [Object] ],
    type: 'synthetics/http',
    use_output: 'default' } ]
    at Assertion.assert (/dev/shm/workspace/parallel/2/kibana/node_modules/@kbn/expect/expect.js:100:11)
    at Assertion.eql (/dev/shm/workspace/parallel/2/kibana/node_modules/@kbn/expect/expect.js:244:8)
    at Context.<anonymous> (test/functional/apps/uptime/synthetics_integration.ts:145:43)
    at Object.apply (/dev/shm/workspace/parallel/2/kibana/node_modules/@kbn/test/target_node/functional_test_runner/lib/mocha/wrap_function.js:87:16) {
  actual: '[\n' +
    '  {\n' +
    '    "data_stream": {\n' +
    '      "namespace": "default"\n' +
    '    }\n' +
    '    "id": "17e8ce02-d347-42a8-bac4-9d87b5ffec66"\n' +
    '    "meta": {\n' +
    '      "package": {\n' +
    '        "name": "system"\n' +
    '        "version": "1.1.4"\n' +
    '      }\n' +
    '    }\n' +
    '    "name": "system-1"\n' +
    '    "revision": 1\n' +
    '    "streams": [\n' +
    '      {\n' +
    '        "data_stream": {\n' +
    '          "dataset": "system.auth"\n' +
    '          "type": "logs"\n' +
    '        }\n' +
    '        "exclude_files": [\n' +
    '          ".gz$"\n' +
    '        ]\n' +
    '        "id": "logfile-system.auth-17e8ce02-d347-42a8-bac4-9d87b5ffec66"\n' +
    '        "multiline": {\n' +
    '          "match": "after"\n' +
    '          "pattern": "^\\\\s"\n' +
    '        }\n' +
    '        "paths": [\n' +
    '          "/var/log/auth.log*"\n' +
    '          "/var/log/secure*"\n' +
    '        ]\n' +
    '        "processors": [\n' +
    '          {\n' +
    '            "add_locale": [null]\n' +
    '          }\n' +
    '        ]\n' +
    '      }\n' +
    '      {\n' +
    '        "data_stream": {\n' +
    '          "dataset": "system.syslog"\n' +
    '          "type": "logs"\n' +
    '        }\n' +
    '        "exclude_files": [\n' +
    '          ".gz$"\n' +
    '        ]\n' +
    '        "id": "logfile-system.syslog-17e8ce02-d347-42a8-bac4-9d87b5ffec66"\n' +
    '        "multiline": {\n' +
    '          "match": "after"\n' +
    '          "pattern": "^\\\\s"\n' +
    '        }\n' +
    '        "paths": [\n' +
    '          "/var/log/messages*"\n' +
    '          "/var/log/syslog*"\n' +
    '        ]\n' +
    '        "processors": [\n' +
    '          {\n' +
    '            "add_locale": [null]\n' +
    '          }\n' +
    '        ]\n' +
    '      }\n' +
    '    ]\n' +
    '    "type": "logfile"\n' +
    '    "use_output": "default"\n' +
    '  }\n' +
    '  {\n' +
    '    "data_stream": {\n' +
    '      "namespace": "default"\n' +
    '    }\n' +
    '    "id": "17e8ce02-d347-42a8-bac4-9d87b5ffec66"\n' +
    '    "meta": {\n' +
    '      "package": {\n' +
    '        "name": "system"\n' +
    '        "version": "1.1.4"\n' +
    '      }\n' +
    '    }\n' +
    '    "name": "system-1"\n' +
    '    "revision": 1\n' +
    '    "streams": [\n' +
    '      {\n' +
    '        "condition": "${host.platform} == \'windows\'"\n' +
    '        "data_stream": {\n' +
    '          "dataset": "system.application"\n' +
    '          "type": "logs"\n' +
    '        }\n' +
    '        "id": "winlog-system.application-17e8ce02-d347-42a8-bac4-9d87b5ffec66"\n' +
    '        "ignore_older": "72h"\n' +
    '        "name": "Application"\n' +
    '        "tags": [null]\n' +
    '      }\n' +
    '      {\n' +
    '        "condition": "${host.platform} == \'windows\'"\n' +
    '        "data_stream": {\n' +
    '          "dataset": "system.security"\n' +
    '          "type": "logs"\n' +
    '        }\n' +
    '        "id": "winlog-system.security-17e8ce02-d347-42a8-bac4-9d87b5ffec66"\n' +
    '        "name": "Security"\n' +
    '        "tags": [null]\n' +
    '      }\n' +
    '      {\n' +
    '        "condition": "${host.platform} == \'windows\'"\n' +
    '        "data_stream": {\n' +
    '          "dataset": "system.system"\n' +
    '          "type": "logs"\n' +
    '        }\n' +
    '        "id": "winlog-system.system-17e8ce02-d347-42a8-bac4-9d87b5ffec66"\n' +
    '        "name": "System"\n' +
    '        "tags": [null]\n' +
    '      }\n' +
    '    ]\n' +
    '    "type": "winlog"\n' +
    '    "use_output": "default"\n' +
    '  }\n' +
    '  {\n' +
    '    "data_stream": {\n' +
    '      "namespace": "default"\n' +
    '    }\n' +
    '    "id": "17e8ce02-d347-42a8-bac4-9d87b5ffec66"\n' +
    '    "meta": {\n' +
    '      "package": {\n' +
    '        "name": "system"\n' +
    '        "version": "1.1.4"\n' +
    '      }\n' +
    '    }\n' +
    '    "name": "system-1"\n' +
    '    "revision": 1\n' +
    '    "streams": [\n' +
    '      {\n' +
    '        "cpu.metrics": [\n' +
    '          "percentages"\n' +
    '          "normalized_percentages"\n' +
    '        ]\n' +
    '        "data_stream": {\n' +
    '          "dataset": "system.cpu"\n' +
    '          "type": "metrics"\n' +
    '        }\n' +
    '        "id": "system/metrics-system.cpu-17e8ce02-d347-42a8-bac4-9d87b5ffec66"\n' +
    '        "metricsets": [\n' +
    '          "cpu"\n' +
    '        ]\n' +
    '        "period": "10s"\n' +
    '      }\n' +
    '      {\n' +
    '        "data_stream": {\n' +
    '          "dataset": "system.diskio"\n' +
    '          "type": "metrics"\n' +
    '        }\n' +
    '        "diskio.include_devices": [null]\n' +
    '        "id": "system/metrics-system.diskio-17e8ce02-d347-42a8-bac4-9d87b5ffec66"\n' +
    '        "metricsets": [\n' +
    '          "diskio"\n' +
    '        ]\n' +
    '        "period": "10s"\n' +
    '      }\n' +
    '      {\n' +
    '        "data_stream": {\n' +
    '          "dataset": "system.filesystem"\n' +
    '          "type": "metrics"\n' +
    '        }\n' +
    '        "id": "system/metrics-system.filesystem-17e8ce02-d347-42a8-bac4-9d87b5ffec66"\n' +
    '        "metricsets": [\n' +
    '          "filesystem"\n' +
    '        ]\n' +
    '        "period": "1m"\n' +
    '        "processors": [\n' +
    '          {\n' +
    '            "drop_event.when.regexp": {\n' +
    '              "system.filesystem.mount_point": "^/(sys|cgroup|proc|dev|etc|host|lib|snap)($|/)"\n' +
    '            }\n' +
    '          }\n' +
    '        ]\n' +
    '      }\n' +
    '      {\n' +
    '        "data_stream": {\n' +
    '          "dataset": "system.fsstat"\n' +
    '          "type": "metrics"\n' +
    '        }\n' +
    '        "id": "system/metrics-system.fsstat-17e8ce02-d347-42a8-bac4-9d87b5ffec66"\n' +
    '        "metricsets": [\n' +
    '          "fsstat"\n' +
    '        ]\n' +
    '        "period": "1m"\n' +
    '        "processors": [\n' +
    '          {\n' +
    '            "drop_event.when.regexp": {\n' +
    '              "system.fsstat.mount_point": "^/(sys|cgroup|proc|dev|etc|host|lib|snap)($|/)"\n' +
    '            }\n' +
    '          }\n' +
    '        ]\n' +
    '      }\n' +
    '      {\n' +
    '        "condition": "${host.platform} != \'windows\'"\n' +
    '        "data_stream": {\n' +
    '          "dataset": "system.load"\n' +
    '          "type": "metrics"\n' +
    '        }\n' +
    '        "id": "system/metrics-system.load-17e8ce02-d347-42a8-bac4-9d87b5ffec66"\n' +
    '        "metricsets": [\n' +
    '          "load"\n' +
    '        ]\n' +
    '        "period": "10s"\n' +
    '      }\n' +
    '      {\n' +
    '        "data_stream": {\n' +
    '          "dataset": "system.memory"\n' +
    '          "type": "metrics"\n' +
    '        }\n' +
    '        "id": "system/metrics-system.memory-17e8ce02-d347-42a8-bac4-9d87b5ffec66"\n' +
    '        "metricsets": [\n' +
    '          "memory"\n' +
    '        ]\n' +
    '        "period": "10s"\n' +
    '      }\n' +
    '      {\n' +
    '        "data_stream": {\n' +
    '          "dataset": "system.network"\n' +
    '          "type": "metrics"\n' +
    '        }\n' +
    '        "id": "system/metrics-system.network-17e8ce02-d347-42a8-bac4-9d87b5ffec66"\n' +
    '        "metricsets": [\n' +
    '          "network"\n' +
    '        ]\n' +
    '        "network.interfaces": [null]\n' +
    '        "period": "10s"\n' +
    '      }\n' +
    '      {\n' +
    '        "data_stream": {\n' +
    '          "dataset": "system.process"\n' +
    '          "type": "metrics"\n' +
    '        }\n' +
    '        "id": "system/metrics-system.process-17e8ce02-d347-42a8-bac4-9d87b5ffec66"\n' +
    '        "metricsets": [\n' +
    '          "process"\n' +
    '        ]\n' +
    '        "period": "10s"\n' +
    '        "process.cgroups.enabled": false\n' +
    '        "process.cmdline.cache.enabled": true\n' +
    '        "process.include_cpu_ticks": false\n' +
    '        "process.include_top_n.by_cpu": 5\n' +
    '        "process.include_top_n.by_memory": 5\n' +
    '        "processes": [\n' +
    '          ".*"\n' +
    '        ]\n' +
    '      }\n' +
    '      {\n' +
    '        "data_stream": {\n' +
    '          "dataset": "system.process.summary"\n' +
    '          "type": "metrics"\n' +
    '        }\n' +
    '        "id": "system/metrics-system.process.summary-17e8ce02-d347-42a8-bac4-9d87b5ffec66"\n' +
    '        "metricsets": [\n' +
    '          "process_summary"\n' +
    '        ]\n' +
    '        "period": "10s"\n' +
    '      }\n' +
    '      {\n' +
    '        "data_stream": {\n' +
    '          "dataset": "system.socket_summary"\n' +
    '          "type": "metrics"\n' +
    '        }\n' +
    '        "id": "system/metrics-system.socket_summary-17e8ce02-d347-42a8-bac4-9d87b5ffec66"\n' +
    '        "metricsets": [\n' +
    '          "socket_summary"\n' +
    '        ]\n' +
    '        "period": "10s"\n' +
    '      }\n' +
    '      {\n' +
    '        "data_stream": {\n' +
    '          "dataset": "system.uptime"\n' +
    '          "type": "metrics"\n' +
    '        }\n' +
    '        "id": "system/metrics-system.uptime-17e8ce02-d347-42a8-bac4-9d87b5ffec66"\n' +
    '        "metricsets": [\n' +
    '          "uptime"\n' +
    '        ]\n' +
    '        "period": "10s"\n' +
    '      }\n' +
    '    ]\n' +
    '    "type": "system/metrics"\n' +
    '    "use_output": "default"\n' +
    '  }\n' +
    '  {\n' +
    '    "data_stream": {\n' +
    '      "namespace": "default"\n' +
    '    }\n' +
    '    "id": "f032e591-d5cc-4ed8-9c47-96fd957c9bb2"\n' +
    '    "meta": {\n' +
    '      "package": {\n' +
    '        "name": "synthetics"\n' +
    '        "version": "0.2.1"\n' +
    '      }\n' +
    '    }\n' +
    '    "name": "Sample Synthetics integration"\n' +
    '    "revision": 1\n' +
    '    "streams": [\n' +
    '      {\n' +
    '        "check.request.method": "GET"\n' +
    '        "data_stream": {\n' +
    '          "dataset": "http"\n' +
    '          "type": "synthetics"\n' +
    '        }\n' +
    '        "id": "synthetics/http-http-f032e591-d5cc-4ed8-9c47-96fd957c9bb2"\n' +
    '        "max_redirects": 0\n' +
    '        "name": "Sample Synthetics integration"\n' +
    '        "processors": [\n' +
    '          {\n' +
    '            "add_observer_metadata": {\n' +
    '              "geo": {\n' +
    '                "name": "Fleet managed"\n' +
    '              }\n' +
    '            }\n' +
    '          }\n' +
    '          {\n' +
    '            "add_fields": {\n' +
    '              "fields": {\n' +
    '                "monitor.fleet_managed": true\n' +
    '              }\n' +
    '              "target": ""\n' +
    '            }\n' +
    '          }\n' +
    '        ]\n' +
    '        "response.include_body": "on_error"\n' +
    '        "response.include_headers": true\n' +
    '        "schedule": "@every 3m"\n' +
    '        "service.name": "Sample APM Service"\n' +
    '        "tags": [\n' +
    '          "sample tag"\n' +
    '        ]\n' +
    '        "timeout": "16s"\n' +
    '        "type": "http"\n' +
    '        "urls": "http://elastic.co"\n' +
    '      }\n' +
    '    ]\n' +
    '    "type": "synthetics/http"\n' +
    '    "use_output": "default"\n' +
    '  }\n' +
    ']',
  expected: '[\n' +
    '  {\n' +
    '    "data_stream": {\n' +
    '      "namespace": "default"\n' +
    '    }\n' +
    '    "id": "17e8ce02-d347-42a8-bac4-9d87b5ffec66"\n' +
    '    "meta": {\n' +
    '      "package": {\n' +
    '        "name": "synthetics"\n' +
    '        "version": "0.2.1"\n' +
    '      }\n' +
    '    }\n' +
    '    "name": "Sample Synthetics integration"\n' +
    '    "revision": 1\n' +
    '    "streams": [\n' +
    '      {\n' +
    '        "check.request.method": "GET"\n' +
    '        "data_stream": {\n' +
    '          "dataset": "http"\n' +
    '          "type": "synthetics"\n' +
    '        }\n' +
    '        "id": "logfile-system.auth-17e8ce02-d347-42a8-bac4-9d87b5ffec66"\n' +
    '        "max_redirects": 0\n' +
    '        "name": "Sample Synthetics integration"\n' +
    '        "processors": [\n' +
    '          {\n' +
    '            "add_observer_metadata": {\n' +
    '              "geo": {\n' +
    '                "name": "Fleet managed"\n' +
    '              }\n' +
    '            }\n' +
    '          }\n' +
    '          {\n' +
    '            "add_fields": {\n' +
    '              "fields": {\n' +
    '                "monitor.fleet_managed": true\n' +
    '              }\n' +
    '              "target": ""\n' +
    '            }\n' +
    '          }\n' +
    '        ]\n' +
    '        "response.include_body": "on_error"\n' +
    '        "response.include_headers": true\n' +
    '        "schedule": "@every 3m"\n' +
    '        "service.name": "Sample APM Service"\n' +
    '        "tags": [\n' +
    '          "sample tag"\n' +
    '        ]\n' +
    '        "timeout": "16s"\n' +
    '        "type": "http"\n' +
    '        "urls": "http://elastic.co"\n' +
    '      }\n' +
    '    ]\n' +
    '    "type": "synthetics/http"\n' +
    '    "use_output": "default"\n' +
    '  }\n' +
    ']',
  showDiff: true
}

First failure: Jenkins Build

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions