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: Jest Tests.x-pack/plugins/security_solution/public/management/components/artifact_entry_card - when using the ArtifactEntryCard component with trusted apps should display dates in expected format #113892

Closed
kibanamachine opened this issue Oct 5, 2021 · 7 comments · Fixed by #116474
Assignees
Labels
failed-test A test failure on a tracked branch, potentially flaky-test OLM Sprint skipped-test Team:Defend Workflows “EDR Workflows” sub-team of Security Solution Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. v7.16.0

Comments

@kibanamachine
Copy link
Contributor

kibanamachine commented Oct 5, 2021

A test failed on a tracked branch

Error: expect(received).toEqual(expected) // deep equality

Expected: StringMatching /Last updated(\s seconds? ago|now)/
Received: "Last updated1 second ago"
    at Object.<anonymous> (/opt/local-ssd/buildkite/builds/kb-c2-16-c3b391785e01359c/elastic/kibana-hourly/kibana/x-pack/plugins/security_solution/public/management/components/artifact_entry_card/artifact_entry_card.test.tsx:69:77)
    at Promise.then.completed (/opt/local-ssd/buildkite/builds/kb-c2-16-c3b391785e01359c/elastic/kibana-hourly/kibana/node_modules/jest-circus/build/utils.js:276:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (/opt/local-ssd/buildkite/builds/kb-c2-16-c3b391785e01359c/elastic/kibana-hourly/kibana/node_modules/jest-circus/build/utils.js:216:10)
    at _callCircusTest (/opt/local-ssd/buildkite/builds/kb-c2-16-c3b391785e01359c/elastic/kibana-hourly/kibana/node_modules/jest-circus/build/run.js:212:40)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
    at _runTest (/opt/local-ssd/buildkite/builds/kb-c2-16-c3b391785e01359c/elastic/kibana-hourly/kibana/node_modules/jest-circus/build/run.js:149:3)
    at _runTestsForDescribeBlock (/opt/local-ssd/buildkite/builds/kb-c2-16-c3b391785e01359c/elastic/kibana-hourly/kibana/node_modules/jest-circus/build/run.js:63:9)
    at _runTestsForDescribeBlock (/opt/local-ssd/buildkite/builds/kb-c2-16-c3b391785e01359c/elastic/kibana-hourly/kibana/node_modules/jest-circus/build/run.js:57:9)
    at run (/opt/local-ssd/buildkite/builds/kb-c2-16-c3b391785e01359c/elastic/kibana-hourly/kibana/node_modules/jest-circus/build/run.js:25:3)
    at runAndTransformResultsToJestFormat (/opt/local-ssd/buildkite/builds/kb-c2-16-c3b391785e01359c/elastic/kibana-hourly/kibana/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:176:21)
    at jestAdapter (/opt/local-ssd/buildkite/builds/kb-c2-16-c3b391785e01359c/elastic/kibana-hourly/kibana/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:109:19)
    at runTestInternal (/opt/local-ssd/buildkite/builds/kb-c2-16-c3b391785e01359c/elastic/kibana-hourly/kibana/node_modules/jest-runner/build/runTest.js:380:16)
    at runTest (/opt/local-ssd/buildkite/builds/kb-c2-16-c3b391785e01359c/elastic/kibana-hourly/kibana/node_modules/jest-runner/build/runTest.js:472:34)
    at Object.worker (/opt/local-ssd/buildkite/builds/kb-c2-16-c3b391785e01359c/elastic/kibana-hourly/kibana/node_modules/jest-runner/build/testWorker.js:133:12)

First failure: CI Build - master

@kibanamachine kibanamachine added the failed-test A test failure on a tracked branch, potentially flaky-test label Oct 5, 2021
@botelastic botelastic bot added the needs-team Issues missing a team label label Oct 5, 2021
@kibanamachine
Copy link
Contributor Author

New failure: CI Build - 7.x

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - 7.x

jbudz added a commit that referenced this issue Oct 17, 2021
jbudz added a commit that referenced this issue Oct 17, 2021
@jbudz
Copy link
Member

jbudz commented Oct 17, 2021

skipped

main: 845bcf8
7.x: 30c8fb2

@jbudz jbudz added skipped-test Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. labels Oct 17, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/security-solution (Team: SecuritySolution)

@botelastic botelastic bot removed the needs-team Issues missing a team label label Oct 17, 2021
@jbudz jbudz added the v7.16.0 label Oct 17, 2021
@kevinlog kevinlog added the Team:Defend Workflows “EDR Workflows” sub-team of Security Solution label Oct 17, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/security-onboarding-and-lifecycle-mgt (Team:Onboarding and Lifecycle Mgt)

@kevinlog
Copy link
Contributor

@paul-tavares could you take a look?

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

* 'master' of github.com:elastic/kibana: (237 commits)
  [Uptime] Added uptime query inspector panel (elastic#115170)
  [Osquery] Add packs (elastic#107345)
  [App Search] Allow for query parameter to indicate ingestion mechanism for new engines (elastic#115188)
  [Alerting] Active alerts do not recover after re-enabling a rule (elastic#111671)
  skip flaky tests.  elastic#115308, elastic#115313
  [Breaking] Remove deprecated `enabled` settings from plugins. (elastic#113495)
  skip flaky suite.  elastic#107057
  skip flaky tests. elastic#89052, elastic#113418, elastic#115304
  skip flaky test. elastic#113892
  Bump node to 16.11.1 (elastic#110684)
  [Security Solution] Restores Alerts table local storage persistence and the Remove Column action (elastic#114742)
  skip flaky suite.  elastic#115130
  one line remove assert (elastic#115127)
  Fixes migration bug where I was deleting attributes (elastic#115098)
  [Security Solutions] Fixes the newer notification system throttle resets and enabling immediate execution on first detection of a signal  (elastic#114214)
  [build] Dockerfile update (elastic#115237)
  Fixes Cypress flake cypress test (elastic#115270)
  Disable APM e2e tests
  log an invalid type for SO (elastic#115175)
  [Fleet] Don't auto upgrade policies for AUTO_UPDATE packages (elastic#115199)
  ...

# Conflicts:
#	src/plugins/dashboard/public/application/dashboard_app.tsx
#	src/plugins/dashboard/public/types.ts
#	x-pack/plugins/reporting/server/lib/layouts/print_layout.ts
jloleysens added a commit to jloleysens/kibana that referenced this issue Oct 18, 2021
…-link-to-kibana-app

* 'master' of github.com:elastic/kibana: (287 commits)
  [Security Solution][Endpoint] Change `trustedAppByPolicyEnabled` flag to `true` by default (elastic#115264)
  [APM] generator: support error events and application metrics (elastic#115311)
  [kibanaUtils] Don't import full `semver` client side (elastic#114986)
  [RAC] Link inventory alerts to the right inventory view (elastic#113553)
  [Uptime] Added uptime query inspector panel (elastic#115170)
  [Osquery] Add packs (elastic#107345)
  [App Search] Allow for query parameter to indicate ingestion mechanism for new engines (elastic#115188)
  [Alerting] Active alerts do not recover after re-enabling a rule (elastic#111671)
  skip flaky tests.  elastic#115308, elastic#115313
  [Breaking] Remove deprecated `enabled` settings from plugins. (elastic#113495)
  skip flaky suite.  elastic#107057
  skip flaky tests. elastic#89052, elastic#113418, elastic#115304
  skip flaky test. elastic#113892
  Bump node to 16.11.1 (elastic#110684)
  [Security Solution] Restores Alerts table local storage persistence and the Remove Column action (elastic#114742)
  skip flaky suite.  elastic#115130
  one line remove assert (elastic#115127)
  Fixes migration bug where I was deleting attributes (elastic#115098)
  [Security Solutions] Fixes the newer notification system throttle resets and enabling immediate execution on first detection of a signal  (elastic#114214)
  [build] Dockerfile update (elastic#115237)
  ...

# Conflicts:
#	x-pack/plugins/reporting/public/management/__snapshots__/report_listing.test.tsx.snap
@paul-tavares
Copy link
Contributor

PR #116474

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 OLM Sprint skipped-test Team:Defend Workflows “EDR Workflows” sub-team of Security Solution Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. v7.16.0
Projects
None yet
5 participants