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

[test-failed]: X-Pack Endpoint Functional Tests1.x-pack/test/security_solution_endpoint/apps/endpoint/policy_details·ts - endpoint When on the Endpoint Policy Details Page and the save button is clicked should have updated policy data in overall Agent Policy #80241

Closed
liza-mae opened this issue Oct 13, 2020 · 4 comments
Labels
failed-test A test failure on a tracked branch, potentially flaky-test Team:Defend Workflows “EDR Workflows” sub-team of Security Solution Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. test-cloud

Comments

@liza-mae
Copy link
Contributor

Version: 7.10.0
Class: X-Pack Endpoint Functional Tests1.x-pack/test/security_solution_endpoint/apps/endpoint/policy_details·ts
Stack Trace:

{ Error: expected { id: '36488eb0-0c94-11eb-9098-7bf3166851c3',
 outputs: { default: { type: 'elasticsearch', hosts: [Object] } },
 inputs: 
  [ { id: '38b6f6a0-0c94-11eb-9098-7bf3166851c3',
      revision: 2,
      name: 'Protect East Coast',
      type: 'endpoint',
      data_stream: [Object],
      use_output: 'default',
      artifact_manifest: [Object],
      policy: [Object],
      streams: [],
      meta: [Object] } ],
 revision: 3,
 agent: { monitoring: { enabled: false, logs: false, metrics: false } },
 fleet: { kibana: { protocol: 'https', hosts: [Object] } } } to sort of equal { inputs: 
  [ { id: '38b6f6a0-0c94-11eb-9098-7bf3166851c3',
      revision: 2,
      data_stream: [Object],
      name: 'Protect East Coast',
      meta: [Object],
      artifact_manifest: [Object],
      policy: [Object],
      streams: [],
      type: 'endpoint',
      use_output: 'default' } ],
 id: '36488eb0-0c94-11eb-9098-7bf3166851c3',
 outputs: { default: { hosts: [Object], type: 'elasticsearch' } },
 fleet: { kibana: { hosts: [Object], protocol: 'https' } },
 revision: 3,
 agent: { monitoring: { enabled: false, logs: false, metrics: false } } }
   at Assertion.assert (/var/lib/jenkins/workspace/elastic+estf-cloud-kibana-tests/JOB/xpackExtGrp2/TASK/saas_run_kibana_tests/node/linux-immutable/ci/cloud/common/build/kibana/packages/kbn-expect/expect.js:100:11)
   at Assertion.eql (/var/lib/jenkins/workspace/elastic+estf-cloud-kibana-tests/JOB/xpackExtGrp2/TASK/saas_run_kibana_tests/node/linux-immutable/ci/cloud/common/build/kibana/packages/kbn-expect/expect.js:244:8)
   at Context.it (test/security_solution_endpoint/apps/endpoint/policy_details.ts:117:36)
 actual:
  '{\n  "agent": {\n    "monitoring": {\n      "enabled": false\n      "logs": false\n      "metrics": false\n    }\n  }\n  "fleet": {\n    "kibana": {\n      "hosts": [\n        "8968eadf10884afb8998bb4b964fe489.us-east-1.aws.staging.foundit.no"\n      ]\n      "protocol": "https"\n    }\n  }\n  "id": "36488eb0-0c94-11eb-9098-7bf3166851c3"\n  "inputs": [\n    {\n      "artifact_manifest": {\n        "artifacts": {\n          "endpoint-exceptionlist-macos-v1": {\n            "compression_algorithm": "zlib"\n            "decoded_sha256": "d801aa1fb7ddcc330a5e3173372ea6af4a3d08ec58074478e85aa5603e926658"\n            "decoded_size": 14\n            "encoded_sha256": "f8e6afa1d5662f5b37f83337af774b5785b5b7f1daee08b7b00c2d6813874cda"\n            "encoded_size": 22\n            "encryption_algorithm": "none"\n            "relative_url": "/api/endpoint/artifacts/download/endpoint-exceptionlist-macos-v1/d801aa1fb7ddcc330a5e3173372ea6af4a3d08ec58074478e85aa5603e926658"\n          }\n          "endpoint-exceptionlist-windows-v1": {\n            "compression_algorithm": "zlib"\n            "decoded_sha256": "d801aa1fb7ddcc330a5e3173372ea6af4a3d08ec58074478e85aa5603e926658"\n            "decoded_size": 14\n            "encoded_sha256": "f8e6afa1d5662f5b37f83337af774b5785b5b7f1daee08b7b00c2d6813874cda"\n            "encoded_size": 22\n            "encryption_algorithm": "none"\n            "relative_url": "/api/endpoint/artifacts/download/endpoint-exceptionlist-windows-v1/d801aa1fb7ddcc330a5e3173372ea6af4a3d08ec58074478e85aa5603e926658"\n          }\n          "endpoint-trustlist-linux-v1": {\n            "compression_algorithm": "zlib"\n            "decoded_sha256": "d801aa1fb7ddcc330a5e3173372ea6af4a3d08ec58074478e85aa5603e926658"\n            "decoded_size": 14\n            "encoded_sha256": "f8e6afa1d5662f5b37f83337af774b5785b5b7f1daee08b7b00c2d6813874cda"\n            "encoded_size": 22\n            "encryption_algorithm": "none"\n            "relative_url": "/api/endpoint/artifacts/download/endpoint-trustlist-linux-v1/d801aa1fb7ddcc330a5e3173372ea6af4a3d08ec58074478e85aa5603e926658"\n          }\n          "endpoint-trustlist-macos-v1": {\n            "compression_algorithm": "zlib"\n            "decoded_sha256": "d801aa1fb7ddcc330a5e3173372ea6af4a3d08ec58074478e85aa5603e926658"\n            "decoded_size": 14\n            "encoded_sha256": "f8e6afa1d5662f5b37f83337af774b5785b5b7f1daee08b7b00c2d6813874cda"\n            "encoded_size": 22\n            "encryption_algorithm": "none"\n            "relative_url": "/api/endpoint/artifacts/download/endpoint-trustlist-macos-v1/d801aa1fb7ddcc330a5e3173372ea6af4a3d08ec58074478e85aa5603e926658"\n          }\n          "endpoint-trustlist-windows-v1": {\n            "compression_algorithm": "zlib"\n            "decoded_sha256": "d801aa1fb7ddcc330a5e3173372ea6af4a3d08ec58074478e85aa5603e926658"\n            "decoded_size": 14\n            "encoded_sha256": "f8e6afa1d5662f5b37f83337af774b5785b5b7f1daee08b7b00c2d6813874cda"\n            "encoded_size": 22\n            "encryption_algorithm": "none"\n            "relative_url": "/api/endpoint/artifacts/download/endpoint-trustlist-windows-v1/d801aa1fb7ddcc330a5e3173372ea6af4a3d08ec58074478e85aa5603e926658"\n          }\n        }\n        "manifest_version": "1.0.0"\n        "schema_version": "v1"\n      }\n      "data_stream": {\n        "namespace": "default"\n      }\n      "id": "38b6f6a0-0c94-11eb-9098-7bf3166851c3"\n      "meta": {\n        "package": {\n          "name": "endpoint"\n          "version": "0.16.0"\n        }\n      }\n      "name": "Protect East Coast"\n      "policy": {\n        "linux": {\n          "events": {\n            "file": false\n            "network": true\n            "process": true\n          }\n          "logging": {\n            "file": "info"\n          }\n        }\n        "mac": {\n          "events": {\n            "file": false\n            "network": true\n            "process": true\n          }\n          "logging": {\n            "file": "info"\n          }\n          "malware": {\n            "mode": "prevent"\n          }\n        }\n        "windows": {\n          "events": {\n            "dll_and_driver_load": true\n            "dns": true\n            "file": false\n            "network": true\n            "process": true\n            "registry": true\n            "security": true\n          }\n          "logging": {\n            "file": "info"\n          }\n          "malware": {\n            "mode": "prevent"\n          }\n        }\n      }\n      "revision": 2\n      "streams": []\n      "type": "endpoint"\n      "use_output": "default"\n    }\n  ]\n  "outputs": {\n    "default": {\n      "hosts": [\n        "https://7b189bb30fb36734a05a8d5b7c7f6584.us-east-1.aws.staging.foundit.no:443"\n      ]\n      "type": "elasticsearch"\n    }\n  }\n  "revision": 3\n}',
 expected:
  '{\n  "agent": {\n    "monitoring": {\n      "enabled": false\n      "logs": false\n      "metrics": false\n    }\n  }\n  "fleet": {\n    "kibana": {\n      "hosts": [\n        "8968eadf10884afb8998bb4b964fe489.us-east-1.aws.staging.foundit.no:9243"\n      ]\n      "protocol": "https"\n    }\n  }\n  "id": "36488eb0-0c94-11eb-9098-7bf3166851c3"\n  "inputs": [\n    {\n      "artifact_manifest": {\n        "artifacts": {\n          "endpoint-exceptionlist-macos-v1": {\n            "compression_algorithm": "zlib"\n            "decoded_sha256": "d801aa1fb7ddcc330a5e3173372ea6af4a3d08ec58074478e85aa5603e926658"\n            "decoded_size": 14\n            "encoded_sha256": "f8e6afa1d5662f5b37f83337af774b5785b5b7f1daee08b7b00c2d6813874cda"\n            "encoded_size": 22\n            "encryption_algorithm": "none"\n            "relative_url": "/api/endpoint/artifacts/download/endpoint-exceptionlist-macos-v1/d801aa1fb7ddcc330a5e3173372ea6af4a3d08ec58074478e85aa5603e926658"\n          }\n          "endpoint-exceptionlist-windows-v1": {\n            "compression_algorithm": "zlib"\n            "decoded_sha256": "d801aa1fb7ddcc330a5e3173372ea6af4a3d08ec58074478e85aa5603e926658"\n            "decoded_size": 14\n            "encoded_sha256": "f8e6afa1d5662f5b37f83337af774b5785b5b7f1daee08b7b00c2d6813874cda"\n            "encoded_size": 22\n            "encryption_algorithm": "none"\n            "relative_url": "/api/endpoint/artifacts/download/endpoint-exceptionlist-windows-v1/d801aa1fb7ddcc330a5e3173372ea6af4a3d08ec58074478e85aa5603e926658"\n          }\n          "endpoint-trustlist-linux-v1": {\n            "compression_algorithm": "zlib"\n            "decoded_sha256": "d801aa1fb7ddcc330a5e3173372ea6af4a3d08ec58074478e85aa5603e926658"\n            "decoded_size": 14\n            "encoded_sha256": "f8e6afa1d5662f5b37f83337af774b5785b5b7f1daee08b7b00c2d6813874cda"\n            "encoded_size": 22\n            "encryption_algorithm": "none"\n            "relative_url": "/api/endpoint/artifacts/download/endpoint-trustlist-linux-v1/d801aa1fb7ddcc330a5e3173372ea6af4a3d08ec58074478e85aa5603e926658"\n          }\n          "endpoint-trustlist-macos-v1": {\n            "compression_algorithm": "zlib"\n            "decoded_sha256": "d801aa1fb7ddcc330a5e3173372ea6af4a3d08ec58074478e85aa5603e926658"\n            "decoded_size": 14\n            "encoded_sha256": "f8e6afa1d5662f5b37f83337af774b5785b5b7f1daee08b7b00c2d6813874cda"\n            "encoded_size": 22\n            "encryption_algorithm": "none"\n            "relative_url": "/api/endpoint/artifacts/download/endpoint-trustlist-macos-v1/d801aa1fb7ddcc330a5e3173372ea6af4a3d08ec58074478e85aa5603e926658"\n          }\n          "endpoint-trustlist-windows-v1": {\n            "compression_algorithm": "zlib"\n            "decoded_sha256": "d801aa1fb7ddcc330a5e3173372ea6af4a3d08ec58074478e85aa5603e926658"\n            "decoded_size": 14\n            "encoded_sha256": "f8e6afa1d5662f5b37f83337af774b5785b5b7f1daee08b7b00c2d6813874cda"\n            "encoded_size": 22\n            "encryption_algorithm": "none"\n            "relative_url": "/api/endpoint/artifacts/download/endpoint-trustlist-windows-v1/d801aa1fb7ddcc330a5e3173372ea6af4a3d08ec58074478e85aa5603e926658"\n          }\n        }\n        "manifest_version": "1.0.0"\n        "schema_version": "v1"\n      }\n      "data_stream": {\n        "namespace": "default"\n      }\n      "id": "38b6f6a0-0c94-11eb-9098-7bf3166851c3"\n      "meta": {\n        "package": {\n          "name": "endpoint"\n          "version": "0.16.0"\n        }\n      }\n      "name": "Protect East Coast"\n      "policy": {\n        "linux": {\n          "events": {\n            "file": false\n            "network": true\n            "process": true\n          }\n          "logging": {\n            "file": "info"\n          }\n        }\n        "mac": {\n          "events": {\n            "file": false\n            "network": true\n            "process": true\n          }\n          "logging": {\n            "file": "info"\n          }\n          "malware": {\n            "mode": "prevent"\n          }\n        }\n        "windows": {\n          "events": {\n            "dll_and_driver_load": true\n            "dns": true\n            "file": false\n            "network": true\n            "process": true\n            "registry": true\n            "security": true\n          }\n          "logging": {\n            "file": "info"\n          }\n          "malware": {\n            "mode": "prevent"\n          }\n        }\n      }\n      "revision": 2\n      "streams": []\n      "type": "endpoint"\n      "use_output": "default"\n    }\n  ]\n  "outputs": {\n    "default": {\n      "hosts": [\n        "http://localhost:9200"\n      ]\n      "type": "elasticsearch"\n    }\n  }\n  "revision": 3\n}',
 showDiff: true }

Other test failures:

Test Report: https://internal-ci.elastic.co/view/Stack%20Tests/job/elastic+estf-cloud-kibana-tests/845/testReport/

@liza-mae liza-mae added failed-test A test failure on a tracked branch, potentially flaky-test test-cloud labels Oct 13, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-test-triage (failed-test)

@elasticmachine
Copy link
Contributor

Pinging @elastic/endpoint-management (Team:Endpoint Management)

@charlie-pichette charlie-pichette added the Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. label Oct 15, 2020
@MindyRS MindyRS added the Team:Defend Workflows “EDR Workflows” sub-team of Security Solution label Oct 29, 2020
@kevinlog
Copy link
Contributor

closing for now due to the large amount of tests failed with this build - so chalking it up to a build issue, will re-open if things persist

@kevinlog
Copy link
Contributor

This will be fixed when this is merged: #82177

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
failed-test A test failure on a tracked branch, potentially flaky-test Team:Defend Workflows “EDR Workflows” sub-team of Security Solution Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. test-cloud
Projects
None yet
Development

No branches or pull requests

5 participants