Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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
kibanamachine opened this issue Aug 19, 2021 · 27 comments · Fixed by #118163
Assignees
Labels
blocker failed-test A test failure on a tracked branch, potentially flaky-test skipped-test Team:Uptime - DEPRECATED Synthetics & RUM sub-team of Application Observability v7.16.0

Comments

@kibanamachine
Copy link
Contributor

kibanamachine commented Aug 19, 2021

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

@kibanamachine kibanamachine added the failed-test A test failure on a tracked branch, potentially flaky-test label Aug 19, 2021
@botelastic botelastic bot added the needs-team Issues missing a team label label Aug 19, 2021
@mistic mistic added the Team:Uptime - DEPRECATED Synthetics & RUM sub-team of Application Observability label Aug 19, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/uptime (Team:uptime)

@botelastic botelastic bot removed the needs-team Issues missing a team label label Aug 19, 2021
@kibanamachine
Copy link
Contributor Author

New failure: Jenkins Build

1 similar comment
@kibanamachine
Copy link
Contributor Author

New failure: Jenkins Build

@kibanamachine
Copy link
Contributor Author

New failure: Jenkins Build

1 similar comment
@kibanamachine
Copy link
Contributor Author

New failure: Jenkins Build

@kibanamachine
Copy link
Contributor Author

New failure: Jenkins Build

1 similar comment
@kibanamachine
Copy link
Contributor Author

New failure: Jenkins Build

@dominiqueclarke dominiqueclarke self-assigned this Aug 19, 2021
mistic added a commit that referenced this issue Aug 19, 2021
mistic added a commit that referenced this issue Aug 19, 2021
mistic added a commit that referenced this issue Aug 19, 2021
mistic added a commit that referenced this issue Aug 19, 2021
@kibanamachine
Copy link
Contributor Author

New failure: Jenkins Build

1 similar comment
@kibanamachine
Copy link
Contributor Author

New failure: Jenkins Build

@mistic
Copy link
Member

mistic commented Aug 19, 2021

This test keeps failing and looks flaky. Skipping for now.

master/8.0: e14f814
7.x/7.16: 6c27feb
7.15: 519fefa
7.14: d6bd6a6

@kibanamachine kibanamachine reopened this Oct 25, 2021
@kibanamachine
Copy link
Contributor Author

New failure: CI Build - 7.16

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - 7.16

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - 7.16

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - 7.16

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - 7.16

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - 7.16

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - 7.16

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - 7.16

mistic added a commit that referenced this issue Oct 26, 2021
@mistic mistic added v7.16.0 and removed v8.0.0 labels Oct 26, 2021
@mistic
Copy link
Member

mistic commented Oct 26, 2021

Looks flaky. Skipping for now.

master/8.0: ebcc007
7.16: 21973b5

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - master

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - master

spalger pushed a commit that referenced this issue Oct 26, 2021
(cherry picked from commit 21973b5)
@spalger
Copy link
Contributor

spalger commented Oct 26, 2021

Skipped in master too ebcc007

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - master

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - master

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - master

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - master

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - master

jloleysens added a commit to jloleysens/kibana that referenced this issue Oct 27, 2021
…-migrate-away-from-injected-css-js

* 'master' of github.com:elastic/kibana: (61 commits)
  [ML] Nodes overview for the Model Management page (elastic#116361)
  [Uptime] Uptime index config using kibana.yml (elastic#115775)
  [Controls] Dashboard Integration (elastic#115991)
  skip flaky suite (elastic#104260)
  Include Files in GitHub UI (elastic#115956)
  skip flaky suite (elastic#116060)
  [Canvas] By-Value Embeddables (elastic#113827)
  Skip failing test (elastic#115366)
  [Osquery] Fix live query search doesn't return relevant results for agents (elastic#116332)
  [Integrations] Added link in old Add Data description and fixed alignment in cards (elastic#116213)
  [Actions] Extended ActionTypeRegistry with connector validation to validate config with secrets (elastic#116079)
  skip flaky suite (elastic#109329)
  Grant access to machine learning features when base privileges are used (elastic#115444)
  Skipping failing test (elastic#84957)
  [RAC][Security Solution] Adds migration to new SecuritySolution rule types (elastic#112113)
  skip flaky suite (elastic#115366)
  [Fleet] Marking API spec as experimental (elastic#116331)
  [Docs] Cleaning up the versions in the upgrade paths. Closes elastic#116223 (elastic#116228)
  [Reporting] Suppress debug logs in the mock logger (elastic#116012)
  [Metrics UI] Clear threshold alert groups state when filterQuery changes (elastic#116205)
  ...

# Conflicts:
#	src/plugins/dashboard/public/application/embeddable/dashboard_container.tsx
#	src/plugins/dashboard/public/types.ts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocker failed-test A test failure on a tracked branch, potentially flaky-test skipped-test Team:Uptime - DEPRECATED Synthetics & RUM sub-team of Application Observability v7.16.0
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants