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

Happy path test are failing on "Validation of debug functionality" because there is no debug configuration #19887

Closed
4 of 23 tasks
dmytro-ndp opened this issue May 28, 2021 · 10 comments
Assignees
Labels
area/editors area/plugins e2e-test/failure Issues that is related to a test failures reported by our CI platform and our QE. kind/bug Outline of a bug - must adhere to the bug report template. lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. severity/P1 Has a major impact to usage or development of the system. sprint/current

Comments

@dmytro-ndp
Copy link
Contributor

dmytro-ndp commented May 28, 2021

Describe the bug

Happy path test are failing on "Validation of debug functionality" because of there is no debug configuration:
https://main-jenkins-csb-crwqe.apps.ocp4.prod.psi.redhat.com/job/Che/job/e2e/job/minikube/job/basic/job/che-server/37/console

Test error log:

08:19:33            ▼ DebugView.clickOnDebugConfigurationItem "Debug (Attach) - Remote (petclinic)"
08:19:33              ‣ DriverHelper.waitAndClick By(xpath, //select[contains(@class,'debug-configuration')]//option[text()='Debug (Attach) - Remote (petclinic)'])
08:19:33              ‣ DriverHelper.waitVisibility By(xpath, //select[contains(@class,'debug-configuration')]//option[text()='Debug (Attach) - Remote (petclinic)'])
08:19:34              ‣ DriverHelper.waitAndClick - Polling timed out attempt #1, retrying with 1000ms timeout
08:19:34              ‣ DriverHelper.waitVisibility By(xpath, //select[contains(@class,'debug-configuration')]//option[text()='Debug (Attach) - Remote (petclinic)'])
08:19:35              ‣ DriverHelper.waitAndClick - Polling timed out attempt #2, retrying with 1000ms timeout
08:19:35              ‣ DriverHelper.waitVisibility By(xpath, //select[contains(@class,'debug-configuration')]//option[text()='Debug (Attach) - Remote (petclinic)'])
08:19:36              ‣ DriverHelper.waitAndClick - Polling timed out attempt #3, retrying with 1000ms timeout
08:19:36      1) Run debug and check application stop in the breakpoint
08:19:36    [ERROR] CheReporter runner.on.fail: Validation of debug functionality Run debug and check application stop in the breakpoint failed after 11884ms
08:19:36  
08:19:36  
08:19:36    21 passing (13m)
08:19:36    1 pending
08:19:36    1 failing
08:19:36  
08:19:36    1) Validation of debug functionality
08:19:36         Run debug and check application stop in the breakpoint:
08:19:36       TimeoutError: Exceeded maximum clicking attempts, the 'By(xpath, //select[contains(@class,'debug-configuration')]//option[text()='Debug (Attach) - Remote (petclinic)'])' element is not clickable
08:19:36        at DriverHelper.waitAndClick (/tmp/e2e/utils/DriverHelper.ts:301:15)
08:19:36        at process._tickCallback (internal/process/next_tick.js:68:7)
08:19:36  

screenshot-Run_debug_and_check_application_stop_in_the_breakpoint (4)

Screencast:

output.50.mp4

Che version

  • latest
  • nightly
  • other: please specify

Steps to reproduce

Run Happy path tests.

Expected behavior

Runtime

  • kubernetes (include output of kubectl version)
  • Openshift (include output of oc version)
  • minikube 1.1.1
  • minishift (include output of minishift version and oc version)
  • docker-desktop + K8S (include output of docker version and kubectl version)
  • other: (please specify)

Screenshots

Installation method

  • chectl
    • provide a full command that was used to deploy Eclipse Che (including the output)
    • provide an output of chectl version command
  • OperatorHub
  • I don't know

Environment

  • my computer
    • Windows
    • Linux
    • macOS
  • Cloud
    • Amazon
    • Azure
    • GCE
    • other (please specify)
  • Dev Sandbox (workspaces.openshift.com)
  • other: CRW CCI

Eclipse Che Logs

https://main-jenkins-csb-crwqe.apps.ocp4.prod.psi.redhat.com/job/Che/job/e2e/job/minikube/job/basic/job/che-server/37/artifact/logs-and-configs/workspace-logs/

Additional context

@dmytro-ndp dmytro-ndp added kind/bug Outline of a bug - must adhere to the bug report template. e2e-test/failure Issues that is related to a test failures reported by our CI platform and our QE. area/qe labels May 28, 2021
@che-bot che-bot added the status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. label May 28, 2021
@dmytro-ndp dmytro-ndp changed the title Happy path test are failing on "Validation of debug functionality" because of there is no debug configuration Happy path test are failing on "Validation of debug functionality" because there is no debug configuration May 28, 2021
@tsmaeder
Copy link
Contributor

@dmytro-ndp on Firefox,/Windows, it says "video can't be played becuase the file is corrupt" in your screencast above.

@ericwill ericwill added severity/P2 Has a minor but important impact to the usage or development of the system. and removed status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. labels May 31, 2021
@dmytro-ndp
Copy link
Contributor Author

@tsmaeder: thanks for information.
If it's a blocker, I can upload screencast to youtube.

@dmytro-ndp
Copy link
Contributor Author

The issue is reproduced from time to time, e.g. https://main-jenkins-csb-crwqe.apps.ocp4.prod.psi.redhat.com/job/Che/job/e2e/job/minikube/job/pr-check/job/che-tests-pr-check/46/console

It looks like a product flakiness, not the test flakiness.

dmytro-ndp added a commit that referenced this issue Jun 6, 2021
Signed-off-by: Dmytro Nochevnov <dnochevn@redhat.com>
dmytro-ndp added a commit that referenced this issue Jun 6, 2021
Signed-off-by: Dmytro Nochevnov <dnochevn@redhat.com>
dmytro-ndp added a commit that referenced this issue Jun 7, 2021
)

* Move timeout to PreviewWidget.waitContentAvailable() method
* Use eclipse/che 'main' branch instead of 'master' one
* Get rid of timeout and don't click on 'refresh' button
* Run e2e tests from che-e2e:next image
* Increase 'TS_SELENIUM_CLICK_ON_VISIBLE_ITEM' to 5 seconds
* Remove outdated workaround to che#14520
* Increase timeout of waiting on 'SpringApplication.class' file opened
* Add workaround to #19887

Signed-off-by: Dmytro Nochevnov <dnochevn@redhat.com>
@dmytro-ndp dmytro-ndp added severity/blocker Causes system to crash and be non-recoverable or prevents Che developers from working on Che code. and removed severity/P2 Has a minor but important impact to the usage or development of the system. labels Jun 18, 2021
@dmytro-ndp
Copy link
Contributor Author

dmytro-ndp commented Jun 18, 2021

The issue has been reproduced in Eclipse Che 7.33.0-SNAPSHOT nightly tests [1], and is constantly reproducing in Eclipse Che PR check today [2].

[1] https://main-jenkins-csb-crwqe.apps.ocp4.prod.psi.redhat.com/job/Che/job/e2e/job/minikube/job/basic/job/che-server/197/console
[2] #20002 (comment)

@dmytro-ndp dmytro-ndp added status/in-progress This issue has been taken by an engineer and is under active development. sprint/current labels Jul 1, 2021
@dmytro-ndp dmytro-ndp self-assigned this Jul 1, 2021
@dmytro-ndp dmytro-ndp removed the status/in-progress This issue has been taken by an engineer and is under active development. label Jul 1, 2021
@RomanNikitenko
Copy link
Member

@dmytro-ndp
I see on the video for the Happy Path tests No Configurations item and there is no refreshing a page.
Does it mean that the workaround is not working?

Please see the report here

@dmytro-ndp
Copy link
Contributor Author

@RomanNikitenko : thank you for information!

@dmytro-ndp
Copy link
Contributor Author

Second try: #20079

@dmytro-ndp dmytro-ndp reopened this Aug 18, 2021
@dmytro-ndp dmytro-ndp added severity/P1 Has a major impact to usage or development of the system. and removed severity/blocker Causes system to crash and be non-recoverable or prevents Che developers from working on Che code. labels Oct 20, 2021
@nickboldt
Copy link
Contributor

This was set as a blocker several months ago:

image

But it's clearly not blocking us. :)

@dmytro-ndp
Copy link
Contributor Author

dmytro-ndp commented Oct 20, 2021

QE has added workaround into the E2E tests, and developers / users seems don't really care about it.

@che-bot
Copy link
Contributor

che-bot commented Apr 18, 2022

Issues go stale after 180 days of inactivity. lifecycle/stale issues rot after an additional 7 days of inactivity and eventually close.

Mark the issue as fresh with /remove-lifecycle stale in a new comment.

If this issue is safe to close now please do so.

Moderators: Add lifecycle/frozen label to avoid stale mode.

@che-bot che-bot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Apr 18, 2022
@che-bot che-bot closed this as completed Apr 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/editors area/plugins e2e-test/failure Issues that is related to a test failures reported by our CI platform and our QE. kind/bug Outline of a bug - must adhere to the bug report template. lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. severity/P1 Has a major impact to usage or development of the system. sprint/current
Projects
None yet
Development

No branches or pull requests

6 participants