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

Flaky Test [Snap] - "Test Snap Signature Insights tests Signature Insights functionality" #24613

Closed
9 tasks
chloeYue opened this issue May 20, 2024 · 1 comment
Closed
9 tasks
Assignees
Labels
flaky tests team-extension-platform team-snaps DEPRECATED: Use "team-snaps-platform" or "team-snaps-ecosystem" instead

Comments

@chloeYue
Copy link
Contributor

chloeYue commented May 20, 2024

What is this about?

Failure:
https://app.circleci.com/pipelines/github/MetaMask/metamask-extension/81100/workflows/2c83f558-0f84-4a87-b71c-648050f10e23/jobs/2872284/tests

https://app.circleci.com/pipelines/github/MetaMask/metamask-extension/81021/workflows/09c31161-ce6c-413c-922b-d1b4f0c829b4/jobs/2868455/tests

Error message
Screenshot 2024-05-20 at 13 32 39

Screenshot 2024-05-20 at 13 37 16

Screenshot
Screenshot 2024-05-20 at 13 32 46

Screenshot 2024-05-20 at 13 37 23

Scenario

No response

Design

No response

Technical Details

No response

Threat Modeling Framework

No response

Acceptance Criteria

No response

Stakeholder review needed before the work gets merged

  • Engineering (needed in most cases)
  • Design
  • Product
  • QA (automation tests are required to pass before merging PRs but not all changes are covered by automation tests - please review if QA is needed beyond automation tests)
  • Security
  • Legal
  • Marketing
  • Management (please specify)
  • Other (please specify)

References

No response

@chloeYue chloeYue changed the title Flaky Test: "Test Snap Signature Insights tests Signature Insights functionality" Flaky Test [Snap]: "Test Snap Signature Insights tests Signature Insights functionality" May 22, 2024
@chloeYue chloeYue changed the title Flaky Test [Snap]: "Test Snap Signature Insights tests Signature Insights functionality" Flaky Test [Snap] - "Test Snap Signature Insights tests Signature Insights functionality" May 22, 2024
@chloeYue chloeYue added team-snaps DEPRECATED: Use "team-snaps-platform" or "team-snaps-ecosystem" instead and removed team-extension-platform labels May 23, 2024
@bowensanders
Copy link
Contributor

Relevant recent failure ( link line 722)
Console log from flake:

Executing testPath: /home/circleci/project/test/e2e/snaps/test-snap-siginsights.spec.js

Running tests on chrome
Starting ChromeDriver 125.0.6422.78 (14db42ec38aded3304a3e624a0a038e02956b87e-refs/branch-heads/6422@{#1088}) on port 41211
Only local connections are allowed.
Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
[1716925397.093][SEVERE]: bind() failed: Cannot assign requested address (99)
ChromeDriver was started successfully.

DevTools listening on ws://127.0.0.1:40789/devtools/browser/47d3a4e7-2c87-4ff6-8bd2-2b1b09b07252

Executing testcase: 'Test Snap Signature Insights tests Signature Insights functionality'

[driver] Called 'navigate' with arguments []
[0528/194318.118774:ERROR:file_io_posix.cc(145)] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq: No such file or directory (2)
[0528/194318.118833:ERROR:file_io_posix.cc(145)] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq: No such file or directory (2)
[driver] Called 'fill' with arguments ["#password","correct horse battery staple"]
[driver] Called 'press' with arguments ["#password",""]
[driver] Called 'assertElementNotPresent' with arguments ["[data-testid=\"unlock-page\"]"]
[driver] Called 'openNewPage' with arguments ["https://metamask.github.io/snaps/test-snaps/2.6.1/"]
[3191:3191:0528/194321.943357:ERROR:gl_utils.cc(424)] [.WebGL-0x26c4000cdb00]GL Driver Message (OpenGL, Performance, GL_CLOSE_PATH_NV, High): GPU stall due to ReadPixels
[3191:3191:0528/194322.058655:ERROR:gl_utils.cc(424)] [.WebGL-0x26c4000cdb00]GL Driver Message (OpenGL, Performance, GL_CLOSE_PATH_NV, High): GPU stall due to ReadPixels
[3191:3191:0528/194322.084228:ERROR:gl_utils.cc(424)] [.WebGL-0x26c4000cdb00]GL Driver Message (OpenGL, Performance, GL_CLOSE_PATH_NV, High): GPU stall due to ReadPixels
[3191:3191:0528/194322.105653:ERROR:gl_utils.cc(424)] [.WebGL-0x26c4000cdb00]GL Driver Message (OpenGL, Performance, GL_CLOSE_PATH_NV, High): GPU stall due to ReadPixels (this message will no longer repeat)
[driver] Called 'delay' with arguments [1000]
[driver] Called 'findElement' with arguments ["#connectsignature-insights"]
[driver] Called 'scrollToElement' with arguments [{"driver_":{"session_":{},"executor_":{"customCommands_":{},"log_":{"name_":"driver.http.Executor","level_":null,"parent_":{"name_":"driver.http","level_":null,"parent_":{"name_":"driver","level_":nu
[driver] Called 'delay' with arguments [1000]
[driver] Called 'clickElement' with arguments ["#connectsignature-insights"]
[driver] Called 'waitUntilXWindowHandles' with arguments [3]
[driver] Called 'switchToWindowWithTitle' with arguments ["MetaMask Dialog",["744E634DDA30BEAB553619DB8EFB3EFA","4F0A42FC7598C1578CD6C8035B5990C6","15C9A02925ECB5BCD78C36CA866EA465","EA6F10EAA64D216BFAC6C1E75B05A494"]]
[driver] Called 'clickElement' with arguments [{"text":"Connect","tag":"button"}]
[driver] Called 'waitForSelector' with arguments [{"text":"Confirm"}]
[driver] Called 'clickElement' with arguments [{"text":"Confirm","tag":"button"}]
[driver] Called 'waitForSelector' with arguments [{"text":"OK"}]
[driver] Called 'clickElement' with arguments [{"text":"OK","tag":"button"}]
[driver] Called 'switchToWindowWithTitle' with arguments ["Test Snaps"]
[driver] Called 'openNewPage' with arguments ["http://127.0.0.1:8080"]
[driver] Called 'switchToWindowWithTitle' with arguments ["E2E Test Dapp"]
[driver] Called 'findElement' with arguments ["#connectButton"]
[driver] Called 'scrollToElement' with arguments [{"driver_":{"session_":{},"executor_":{"customCommands_":{},"log_":{"name_":"driver.http.Executor","level_":null,"parent_":{"name_":"driver.http","level_":null,"parent_":{"name_":"driver","level_":nu
[driver] Called 'clickElement' with arguments ["#connectButton"]
[driver] Called 'waitUntilXWindowHandles' with arguments [4]
[driver] Called 'switchToWindowWithTitle' with arguments ["MetaMask Dialog",["744E634DDA30BEAB553619DB8EFB3EFA","4F0A42FC7598C1578CD6C8035B5990C6","15C9A02925ECB5BCD78C36CA866EA465","7EA828772E72C8DA069B1A78700A8771","741CFDD8AAA95340553CFBA36760CB6E"]]
[driver] Called 'clickElement' with arguments [{"text":"Next","tag":"button"}]
[driver] Called 'delay' with arguments [1000]
[driver] Called 'clickElement' with arguments [{"text":"Confirm","tag":"button"}]
[driver] Called 'switchToWindowWithTitle' with arguments ["E2E Test Dapp"]
[driver] Called 'findElement' with arguments ["#personalSign"]
[driver] Called 'scrollToElement' with arguments [{"driver_":{"session_":{},"executor_":{"customCommands_":{},"log_":{"name_":"driver.http.Executor","level_":null,"parent_":{"name_":"driver.http","level_":null,"parent_":{"name_":"driver","level_":nu
[driver] Called 'clickElement' with arguments ["#personalSign"]
[driver] Called 'waitUntilXWindowHandles' with arguments [4]
[driver] Called 'switchToWindowWithTitle' with arguments ["MetaMask Dialog",["744E634DDA30BEAB553619DB8EFB3EFA","4F0A42FC7598C1578CD6C8035B5990C6","15C9A02925ECB5BCD78C36CA866EA465","7EA828772E72C8DA069B1A78700A8771","741CFDD8AAA95340553CFBA36760CB6E"]]
[driver] Called 'waitForSelector' with arguments [{"text":"Sign","tag":"button"}]
[driver] Called 'clickElement' with arguments [{"text":"Sign","tag":"button"}]
[driver] Called 'waitForSelector' with arguments [{"text":"0x4578616d706c652060706572736f6e616c5f7369676e60206d657373616765","tag":"p"}]
Failure on testcase: 'Test Snap Signature Insights tests Signature Insights functionality', for more information see the artifacts tab in CI

NoSuchWindowError: no such window: target window already closed
from unknown error: web view not found
  (Session info: chrome=125.0.6422.78)

Failed to take screenshot NoSuchWindowError: no such window: target window already closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flaky tests team-extension-platform team-snaps DEPRECATED: Use "team-snaps-platform" or "team-snaps-ecosystem" instead
Projects
None yet
Development

No branches or pull requests

3 participants