Skip to content

Conversation

@IgorGuz2000
Copy link
Contributor

@IgorGuz2000 IgorGuz2000 commented Oct 26, 2020

Summary

This is the fix to Pass enable_APM-ci branch
#80399

Checklist

Delete any items that are not applicable to this PR.

For maintainers

@elasticmachine
Copy link
Contributor

Pinging @elastic/datavis (Team:DataVis)

@tylersmalley
Copy link
Contributor

I will be testing against the changes here once they go into master.

@tylersmalley
Copy link
Contributor

@elasticmachine merge upstream

@tylersmalley
Copy link
Contributor

I opened a draft PR to test these changes with enabling APM collection in Kibana here: #81695

Still seeing the following error (log):

17:02:42               └-> Check Related Events for event.file Node
17:02:42                 └-> "before each" hook: global before each
17:02:54                 └- ✖ fail: endpoint Endpoint Event Resolver Endpoint Resolver Tree Check Related Events for event.file Node
17:02:54                 │      Error: expected '17 authentication' to equal 'Events'
17:02:54                 │       at Assertion.assert (/dev/shm/workspace/parallel/21/kibana/packages/kbn-expect/expect.js:100:11)
17:02:54                 │       at Assertion.equal (/dev/shm/workspace/parallel/21/kibana/packages/kbn-expect/expect.js:227:8)
17:02:54                 │       at Object.runNodeEvents (test/security_solution_endpoint/page_objects/hosts_page.ts:127:30)
17:02:54                 │       at process._tickCallback (internal/process/next_tick.js:68:7)

@markov00
Copy link
Member

markov00 commented Oct 27, 2020

I've removed the DataVis team label as it doesn't seem to belong to our team, @IgorGuz2000 please fix that if I'm wrong

@MindyRS MindyRS added the Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. label Oct 27, 2020
@IgorGuz2000 IgorGuz2000 added the Feature:Resolver Security Solution Resolver feature label Oct 27, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/endpoint-app-team (Feature:Resolver)

@IgorGuz2000 IgorGuz2000 changed the title enable_APM-ci branch fixes [Feature:Resolver] enable_APM-ci branch fixes Oct 28, 2020
Copy link
Contributor

@charlie-pichette charlie-pichette left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would be nice to have an explanation of why this change is needed, but the change is ok.

await pageObjects.hosts.executeQueryAndOpenResolver(
'event.dataset : endpoint.events.library'
);
for (let i = 0; i < 7; i++) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A comment would be nice to explain why we are clicking west 7 times.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

'1 session',
'329 network',
'1 library',
'1 library',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should there be 2 separate library events in this list?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What you mean
Yes this is what it looks like

@IgorGuz2000 IgorGuz2000 merged commit 526de26 into elastic:master Oct 28, 2020
@tylersmalley
Copy link
Contributor

@IgorGuz2000 as mentioned here. I am still seeing the error when APM is enabled suggesting there is still possibly a timing issue.

I opened a new draft to test against the recent changes and still seeing the same:

14:28:10       │1)    endpoint
14:28:10       │       Endpoint Event Resolver
14:28:10       │         Endpoint Resolver Tree
14:28:10       │           Check Related Events for event.file Node:
14:28:10       │
14:28:10       │      Error: expected '17 authentication' to equal 'Events'
14:28:10       │       at Assertion.assert (/dev/shm/workspace/parallel/15/kibana/packages/kbn-expect/expect.js:100:11)
14:28:10       │       at Assertion.equal (/dev/shm/workspace/parallel/15/kibana/packages/kbn-expect/expect.js:227:8)
14:28:10       │       at Object.runNodeEvents (test/security_solution_endpoint/page_objects/hosts_page.ts:127:30)
14:28:10       │       at process._tickCallback (internal/process/next_tick.js:68:7)

@kibanamachine
Copy link
Contributor

Friendly reminder: Looks like this PR hasn’t been backported yet.
To create backports run node scripts/backport --pr 81658 or prevent reminders by adding the backport:skip label.

@kibanamachine kibanamachine added the backport missing Added to PRs automatically when the are determined to be missing a backport. label Oct 30, 2020
@kibanamachine
Copy link
Contributor

Friendly reminder: Looks like this PR hasn’t been backported yet.
To create backports run node scripts/backport --pr 81658 or prevent reminders by adding the backport:skip label.

22 similar comments
@kibanamachine
Copy link
Contributor

Friendly reminder: Looks like this PR hasn’t been backported yet.
To create backports run node scripts/backport --pr 81658 or prevent reminders by adding the backport:skip label.

@kibanamachine
Copy link
Contributor

Friendly reminder: Looks like this PR hasn’t been backported yet.
To create backports run node scripts/backport --pr 81658 or prevent reminders by adding the backport:skip label.

@kibanamachine
Copy link
Contributor

Friendly reminder: Looks like this PR hasn’t been backported yet.
To create backports run node scripts/backport --pr 81658 or prevent reminders by adding the backport:skip label.

@kibanamachine
Copy link
Contributor

Friendly reminder: Looks like this PR hasn’t been backported yet.
To create backports run node scripts/backport --pr 81658 or prevent reminders by adding the backport:skip label.

@kibanamachine
Copy link
Contributor

Friendly reminder: Looks like this PR hasn’t been backported yet.
To create backports run node scripts/backport --pr 81658 or prevent reminders by adding the backport:skip label.

@kibanamachine
Copy link
Contributor

Friendly reminder: Looks like this PR hasn’t been backported yet.
To create backports run node scripts/backport --pr 81658 or prevent reminders by adding the backport:skip label.

@kibanamachine
Copy link
Contributor

Friendly reminder: Looks like this PR hasn’t been backported yet.
To create backports run node scripts/backport --pr 81658 or prevent reminders by adding the backport:skip label.

@kibanamachine
Copy link
Contributor

Friendly reminder: Looks like this PR hasn’t been backported yet.
To create backports run node scripts/backport --pr 81658 or prevent reminders by adding the backport:skip label.

@kibanamachine
Copy link
Contributor

Friendly reminder: Looks like this PR hasn’t been backported yet.
To create backports run node scripts/backport --pr 81658 or prevent reminders by adding the backport:skip label.

@kibanamachine
Copy link
Contributor

Friendly reminder: Looks like this PR hasn’t been backported yet.
To create backports run node scripts/backport --pr 81658 or prevent reminders by adding the backport:skip label.

@kibanamachine
Copy link
Contributor

Friendly reminder: Looks like this PR hasn’t been backported yet.
To create backports run node scripts/backport --pr 81658 or prevent reminders by adding the backport:skip label.

@kibanamachine
Copy link
Contributor

Friendly reminder: Looks like this PR hasn’t been backported yet.
To create backports run node scripts/backport --pr 81658 or prevent reminders by adding the backport:skip label.

@kibanamachine
Copy link
Contributor

Friendly reminder: Looks like this PR hasn’t been backported yet.
To create backports run node scripts/backport --pr 81658 or prevent reminders by adding the backport:skip label.

@kibanamachine
Copy link
Contributor

Friendly reminder: Looks like this PR hasn’t been backported yet.
To create backports run node scripts/backport --pr 81658 or prevent reminders by adding the backport:skip label.

@kibanamachine
Copy link
Contributor

Friendly reminder: Looks like this PR hasn’t been backported yet.
To create backports run node scripts/backport --pr 81658 or prevent reminders by adding the backport:skip label.

@kibanamachine
Copy link
Contributor

Friendly reminder: Looks like this PR hasn’t been backported yet.
To create backports run node scripts/backport --pr 81658 or prevent reminders by adding the backport:skip label.

@kibanamachine
Copy link
Contributor

Friendly reminder: Looks like this PR hasn’t been backported yet.
To create backports run node scripts/backport --pr 81658 or prevent reminders by adding the backport:skip label.

@kibanamachine
Copy link
Contributor

Friendly reminder: Looks like this PR hasn’t been backported yet.
To create backports run node scripts/backport --pr 81658 or prevent reminders by adding the backport:skip label.

@kibanamachine
Copy link
Contributor

Friendly reminder: Looks like this PR hasn’t been backported yet.
To create backports run node scripts/backport --pr 81658 or prevent reminders by adding the backport:skip label.

@kibanamachine
Copy link
Contributor

Friendly reminder: Looks like this PR hasn’t been backported yet.
To create backports run node scripts/backport --pr 81658 or prevent reminders by adding the backport:skip label.

@kibanamachine
Copy link
Contributor

Friendly reminder: Looks like this PR hasn’t been backported yet.
To create backports run node scripts/backport --pr 81658 or prevent reminders by adding the backport:skip label.

@kibanamachine
Copy link
Contributor

Friendly reminder: Looks like this PR hasn’t been backported yet.
To create backports run node scripts/backport --pr 81658 or prevent reminders by adding the backport:skip label.

@IgorGuz2000 IgorGuz2000 added the backport:skip This PR does not require backporting label Dec 3, 2020
@kibanamachine kibanamachine removed the backport missing Added to PRs automatically when the are determined to be missing a backport. label Dec 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:skip This PR does not require backporting Feature:Resolver Security Solution Resolver feature release_note:fix Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. v7.10.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants