Skip to content

Failing test: X-Pack API Integration Tests.x-pack/test/api_integration/apis/synthetics/sync_global_params·ts - Synthetics API Tests SyncGlobalParams added an integration for previously added monitor #162594

Closed
@kibanamachine

Description

A test failed on a tracked branch

Error: expected { type: 'synthetics/http',
  policy_template: 'synthetics',
  enabled: false,
  streams: 
   [ { enabled: false,
       data_stream: [Object],
       vars: [Object],
       id: '' } ] } to sort of equal { type: 'synthetics/http',
  policy_template: 'synthetics',
  enabled: false,
  streams: 
   [ { enabled: false,
       data_stream: [Object],
       vars: [Object],
       id: '' } ] }
    at Assertion.assert (expect.js:100:11)
    at Assertion.eql (expect.js:244:8)
    at comparePolicies (test_policy.ts:553:22)
    at Context.<anonymous> (sync_global_params.ts:131:22)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at Object.apply (wrap_function.js:73:16) {
  actual: '{\n' +
    '  "enabled": false\n' +
    '  "policy_template": "synthetics"\n' +
    '  "streams": [\n' +
    '    {\n' +
    '      "data_stream": {\n' +
    '        "dataset": "http"\n' +
    '        "type": "synthetics"\n' +
    '      }\n' +
    '      "enabled": false\n' +
    '      "id": ""\n' +
    '      "vars": {\n' +
    '        "__ui": {\n' +
    '          "type": "yaml"\n' +
    '        }\n' +
    '        "check.request.body": {\n' +
    '          "type": "yaml"\n' +
    '        }\n' +
    '        "check.request.headers": {\n' +
    '          "type": "yaml"\n' +
    '        }\n' +
    '        "check.request.method": {\n' +
    '          "type": "text"\n' +
    '        }\n' +
    '        "check.response.body.negative": {\n' +
    '          "type": "yaml"\n' +
    '        }\n' +
    '        "check.response.body.positive": {\n' +
    '          "type": "yaml"\n' +
    '        }\n' +
    '        "check.response.headers": {\n' +
    '          "type": "yaml"\n' +
    '        }\n' +
    '        "check.response.json": {\n' +
    '          "type": "yaml"\n' +
    '        }\n' +
    '        "check.response.status": {\n' +
    '          "type": "yaml"\n' +
    '        }\n' +
    '        "config_id": {\n' +
    '          "type": "text"\n' +
    '        }\n' +
    '        "enabled": {\n' +
    '          "type": "bool"\n' +
    '          "value": true\n' +
    '        }\n' +
    '        "id": {\n' +
    '          "type": "text"\n' +
    '        }\n' +
    '        "ipv4": {\n' +
    '          "type": "bool"\n' +
    '          "value": true\n' +
    '        }\n' +
    '        "ipv6": {\n' +
    '          "type": "bool"\n' +
    '          "value": true\n' +
    '        }\n' +
    '        "location_id": {\n' +
    '          "type": "text"\n' +
    '          "value": "fleet_managed"\n' +
    '        }\n' +
    '        "location_name": {\n' +
    '          "type": "text"\n' +
    '          "value": "Fleet managed"\n' +
    '        }\n' +
    '        "max_redirects": {\n' +
    '          "type": "integer"\n' +
    '        }\n' +
    '        "mode": {\n' +
    '          "type": "text"\n' +
    '        }\n' +
    '        "monitor.project.id": {\n' +
    '          "type": "text"\n' +
    '        }\n' +
    '        "monitor.project.name": {\n' +
    '          "type": "text"\n' +
    '        }\n' +
    '        "name": {\n' +
    '          "type": "text"\n' +
    '        }\n' +
    '        "origin": {\n' +
    '          "type": "text"\n' +
    '        }\n' +
    '        "password": {\n' +
    '          "type": "password"\n' +
    '        }\n' +
    '        "proxy_headers": {\n' +
    '          "type": "yaml"\n' +
    '        }\n' +
    '        "proxy_url": {\n' +
    '          "type": "text"\n' +
    '        }\n' +
    '        "response.include_body": {\n' +
    '          "type": "text"\n' +
    '        }\n' +
    '        "response.include_body_max_bytes": {\n' +
    '          "type": "text"\n' +
    '        }\n' +
    '        "response.include_headers": {\n' +
    '          "type": "bool"\n' +
    '        }\n' +
    '        "run_once": {\n' +
    '          "type": "bool"\n' +
    '          "value": false\n' +
    '        }\n' +
    '        "schedule": {\n' +
    '          "type": "text"\n' +
    '          "value": "\\"@every 3m\\""\n' +
    '        }\n' +
    '        "service.name": {\n' +
    '          "type": "text"\n' +
    '        }\n' +
    '        "ssl.certificate": {\n' +
    '          "type": "yaml"\n' +
    '        }\n' +
    '        "ssl.certificate_authorities": {\n' +
    '          "type": "yaml"\n' +
    '        }\n' +
    '        "ssl.key": {\n' +
    '          "type": "yaml"\n' +
    '        }\n' +
    '        "ssl.key_passphrase": {\n' +
    '          "type": "text"\n' +
    '        }\n' +
    '        "ssl.supported_protocols": {\n' +
    '          "type": "yaml"\n' +
    '        }\n' +
    '        "ssl.verification_mode": {\n' +
    '          "type": "text"\n' +
    '        }\n' +
    '        "tags": {\n' +
    '          "type": "yaml"\n' +
    '        }\n' +
    '        "test_run_id": {\n' +
    '          "type": "text"\n' +
    '        }\n' +
    '        "timeout": {\n' +
    '          "type": "text"\n' +
    '        }\n' +
    '        "type": {\n' +
    '          "type": "text"\n' +
    '          "value": "http"\n' +
    '        }\n' +
    '        "urls": {\n' +
    '          "type": "text"\n' +
    '        }\n' +
    '        "username": {\n' +
    '          "type": "text"\n' +
    '        }\n' +
    '      }\n' +
    '    }\n' +
    '  ]\n' +
    '  "type": "synthetics/http"\n' +
    '}',
  expected: '{\n' +
    '  "enabled": false\n' +
    '  "policy_template": "synthetics"\n' +
    '  "streams": [\n' +
    '    {\n' +
    '      "data_stream": {\n' +
    '        "dataset": "http"\n' +
    '        "type": "synthetics"\n' +
    '      }\n' +
    '      "enabled": false\n' +
    '      "id": ""\n' +
    '      "vars": {\n' +
    '        "__ui": {\n' +
    '          "type": "yaml"\n' +
    '        }\n' +
    '        "check.request.body": {\n' +
    '          "type": "yaml"\n' +
    '        }\n' +
    '        "check.request.headers": {\n' +
    '          "type": "yaml"\n' +
    '        }\n' +
    '        "check.request.method": {\n' +
    '          "type": "text"\n' +
    '        }\n' +
    '        "check.response.body.negative": {\n' +
    '          "type": "yaml"\n' +
    '        }\n' +
    '        "check.response.body.positive": {\n' +
    '          "type": "yaml"\n' +
    '        }\n' +
    '        "check.response.headers": {\n' +
    '          "type": "yaml"\n' +
    '        }\n' +
    '        "check.response.json": {\n' +
    '          "type": "yaml"\n' +
    '        }\n' +
    '        "check.response.status": {\n' +
    '          "type": "yaml"\n' +
    '        }\n' +
    '        "config_id": {\n' +
    '          "type": "text"\n' +
    '        }\n' +
    '        "enabled": {\n' +
    '          "type": "bool"\n' +
    '          "value": true\n' +
    '        }\n' +
    '        "id": {\n' +
    '          "type": "text"\n' +
    '        }\n' +
    '        "ipv4": {\n' +
    '          "type": "bool"\n' +
    '          "value": true\n' +
    '        }\n' +
    '        "ipv6": {\n' +
    '          "type": "bool"\n' +
    '          "value": true\n' +
    '        }\n' +
    '        "location_id": {\n' +
    '          "type": "text"\n' +
    '          "value": "fleet_managed"\n' +
    '        }\n' +
    '        "location_name": {\n' +
    '          "type": "text"\n' +
    '          "value": "Fleet managed"\n' +
    '        }\n' +
    '        "max_redirects": {\n' +
    '          "type": "integer"\n' +
    '        }\n' +
    '        "mode": {\n' +
    '          "type": "text"\n' +
    '        }\n' +
    '        "monitor.project.id": {\n' +
    '          "type": "text"\n' +
    '        }\n' +
    '        "monitor.project.name": {\n' +
    '          "type": "text"\n' +
    '        }\n' +
    '        "name": {\n' +
    '          "type": "text"\n' +
    '        }\n' +
    '        "origin": {\n' +
    '          "type": "text"\n' +
    '        }\n' +
    '        "password": {\n' +
    '          "type": "password"\n' +
    '        }\n' +
    '        "proxy_headers": {\n' +
    '        
[report_failure] output truncated to 8192 characters

First failure: CI Build - main

Metadata

Assignees

Labels

Team:Uptime - DEPRECATEDSynthetics & RUM sub-team of Application Observabilityfailed-testA test failure on a tracked branch, potentially flaky-test

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions