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

E2E happy path tests fail on 'Build application' step #16125

Closed
4 of 23 tasks
dmytro-ndp opened this issue Feb 25, 2020 · 2 comments
Closed
4 of 23 tasks

E2E happy path tests fail on 'Build application' step #16125

dmytro-ndp opened this issue Feb 25, 2020 · 2 comments
Assignees
Labels
area/plugins kind/bug Outline of a bug - must adhere to the bug report template. severity/blocker Causes system to crash and be non-recoverable or prevents Che developers from working on Che code.
Milestone

Comments

@dmytro-ndp
Copy link
Contributor

dmytro-ndp commented Feb 25, 2020

Describe the bug

E2E Happy path tests failed being run against Multiuser Eclipse Che on minikube 1.1.1:
https://codeready-workspaces-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/view/che-pr-tests/view/K8S/job/Multiuser-Che-PR-check-E2E-Happy-path-tests-against-k8s/2163/console

  Validation of workspace build and run
        ▼ TopMenu.selectOption "Terminal"
        ▼ TopMenu.clickOnTopMenuButton "Terminal"
        ▼ Ide.closeAllNotifications
        ▼ NotificationCenter.open
        ▼ NotificationCenter.clickIconOnStatusBar
        ▼ NotificationCenter.waitOpening
        ▼ NotificationCenter.closeAll
        ▼ NotificationCenter.clickCloseAllNotificationsButton
        ▼ NotificationCenter.waitClearNotificationsList
        ▼ TopMenu.clickOnSubmenuItem "Run Task..."
        ▼ QuickOpenContainer.waitContainer
        ▼ QuickOpenContainer.clickOnContainerItem "build-file-output"
        ▼ QuickOpenContainer.waitContainer
        ▼ QuickOpenContainer.waitContainerDisappearance
        ▼ QuickOpenContainer.clickOnContainerItem "Continue without scanning the task output"
        ▼ QuickOpenContainer.waitContainer
        ▼ QuickOpenContainer.waitContainerDisappearance
        ▼ ProjectTree.expandPathAndOpenFile "petclinic" filename: result-build-output.txt
        ▼ ProjectTree.expandPath "petclinic"
        ▼ ProjectTree.expandItem "petclinic"
        ▼ ProjectTree.waitItemExpanded "petclinic"
        ▼ ProjectTree.clickOnItem "petclinic/result-build-output.txt"
    1) Build application


  8 passing (8m)
  1 pending
  1 failing

  1) Validation of workspace build and run
       Build application:
     TimeoutError: Waiting for element to be located By(css selector, div[id='/projects:/projects/petclinic/result-build-output.txt'])
Wait timed out after 220017ms

Che-theia container error:

root ERROR Failed to create terminal widget. Cause:  Error: No matching bindings found for serviceIdentifier: Symbol(TerminalSearchWidgetFactory)
    at http://serveru2zofz1z-jwtproxy-webviews.10.0.101.111.nip.io/vendors.0f7ca0f7f4c382c00635.js:53:54922
    at _ (http://serveru2zofz1z-jwtproxy-webviews.10.0.101.111.nip.io/vendors.0f7ca0f7f4c382c00635.js:53:55219)
    at e (http://serveru2zofz1z-jwtproxy-webviews.10.0.101.111.nip.io/vendors.0f7ca0f7f4c382c00635.js:53:55798)
    at http://serveru2zofz1z-jwtproxy-webviews.10.0.101.111.nip.io/vendors.0f7ca0f7f4c382c00635.js:53:56332
    at Array.forEach (<anonymous>)
    at http://serveru2zofz1z-jwtproxy-webviews.10.0.101.111.nip.io/vendors.0f7ca0f7f4c382c00635.js:53:56311
    at Array.forEach (<anonymous>)
    at e (http://serveru2zofz1z-jwtproxy-webviews.10.0.101.111.nip.io/vendors.0f7ca0f7f4c382c00635.js:53:55858)
    at Object.UvhB.t.plan (http://serveru2zofz1z-jwtproxy-webviews.10.0.101.111.nip.io/vendors.0f7ca0f7f4c382c00635.js:53:56373)
    at http://serveru2zofz1z-jwtproxy-webviews.10.0.101.111.nip.io/vendors.0f7ca0f7f4c382c00635.js:8:559902
root ERROR [hosted-plugin: 48] Promise rejection not handled in one second: Error: Failed to create terminal. Cause: Error: Unable to create new terminal for machine: maven-container , reason: Error: Failed to create terminal. Cause: Error: Unable to create new terminal for machine: maven-container
With stack trace: Error: Failed to create terminal. Cause: Error: Unable to create new terminal for machine: maven-container
    at e.<anonymous> (http://serveru2zofz1z-jwtproxy-webviews.10.0.101.111.nip.io/theia.fce0fbff7c747edc3de8.js:1:1908433)
    at http://serveru2zofz1z-jwtproxy-webviews.10.0.101.111.nip.io/theia.fce0fbff7c747edc3de8.js:1:1906079
    at Object.throw (http://serveru2zofz1z-jwtproxy-webviews.10.0.101.111.nip.io/theia.fce0fbff7c747edc3de8.js:1:1906184)
    at s (http://serveru2zofz1z-jwtproxy-webviews.10.0.101.111.nip.io/theia.fce0fbff7c747edc3de8.js:1:1904978)

Che version

  • latest
  • nightly
  • other: from PR

Steps to reproduce

https://github.com/eclipse/che/blob/master/tests/e2e/tests/e2e_happy_path/HappyPath.spec.ts

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)

Reference

eclipse-theia/theia#5471

Screenshots

screenshot-Build_application (2)

Screencast

https://youtu.be/MFowugpVv5E

Installation method

  • chectl:next with operator installer
  • che-operator
  • minishift-addon
  • I don't know

Environment

  • my computer
    • Windows
    • Linux
    • macOS
  • Cloud
    • Amazon
    • Azure
    • GCE
    • other (please specify)
  • other: CRW CCI

Additional context

Happy path nightly tests passed successfully .

@dmytro-ndp dmytro-ndp added kind/bug Outline of a bug - must adhere to the bug report template. severity/blocker Causes system to crash and be non-recoverable or prevents Che developers from working on Che code. area/qe labels Feb 25, 2020
@dmytro-ndp dmytro-ndp added this to the Backlog - QE milestone Feb 25, 2020
@RomanNikitenko
Copy link
Member

RomanNikitenko commented Feb 25, 2020

The fix eclipse-che/che-theia#635 was merged and happy path tests succeed on the one of the PRs eclipse-che/che-theia#628 (comment), so I think we can close the issue.

@dmytro-ndp wdyt?

@AndrienkoAleksandr
Copy link
Contributor

AndrienkoAleksandr commented Feb 25, 2020

@dmytro-ndp , reopen please, If issue is still actual

@dmytro-ndp dmytro-ndp reopened this Feb 25, 2020
@dmytro-ndp dmytro-ndp modified the milestones: Backlog - QE, 7.10.0 Feb 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/plugins kind/bug Outline of a bug - must adhere to the bug report template. severity/blocker Causes system to crash and be non-recoverable or prevents Che developers from working on Che code.
Projects
None yet
Development

No branches or pull requests

3 participants