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

Sometimes Selenium cannot open workspace page after invocation of the straight URL and login. #8468

Closed
Ohrimenko1988 opened this issue Jan 26, 2018 · 3 comments
Assignees
Labels
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. severity/P2 Has a minor but important impact to the usage or development of the system.

Comments

@Ohrimenko1988
Copy link
Contributor

Description

Selenium cannot open workspace page after invocation of the straight URL and login. It looks like something went wrong with user credentials which were used for workspace creation. We need to investigate and

Log:

org.openqa.selenium.TimeoutException: Expected condition failed: waiting for visibility of element located by By.id: gwt-debug-projectTree (tried for 120 second(s) with 500 MILLISECONDS interval)
Build info: version: '3.0.1', revision: '1969d75', time: '2016-10-18 09:49:13 -0700'
System info: host: 'slave6.codenvycorp.com', ip: '127.0.0.1', os.name: 'Linux', os.arch: 'amd64', os.version: '3.10.0-514.16.1.el7.x86_64', java.version: '1.8.0_102'
Driver info: org.eclipse.che.selenium.core.SeleniumWebDriver
	at org.eclipse.che.selenium.editor.autocomplete.FormatterTest.formatterTest(FormatterTest.java:102)
Caused by: org.openqa.selenium.NoSuchElementException: 
no such element: Unable to locate element: {"method":"id","selector":"gwt-debug-projectTree"}
  (Session info: chrome=56.0.2924.87)
  (Driver info: chromedriver=2.27.440175 (9bc1d90b8bfa4dd181fbbf769a5eb5e575574320),platform=Linux 3.10.0-514.16.1.el7.x86_64 x86_64) (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 22 milliseconds
For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html
Build info: version: '3.1.0', revision: '86a5d70', time: '2017-02-16 07:57:44 -0800'
System info: host: '82fc916612ef', ip: '172.18.0.4', os.name: 'Linux', os.arch: 'amd64', os.version: '3.10.0-514.16.1.el7.x86_64', java.version: '1.8.0_121'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Capabilities [{applicationCacheEnabled=false, rotatable=false, mobileEmulationEnabled=false, networkConnectionEnabled=false, chrome={chromedriverVersion=2.27.440175 (9bc1d90b8bfa4dd181fbbf769a5eb5e575574320), userDataDir=/tmp/.org.chromium.Chromium.1tHrW7}, takesHeapSnapshot=true, pageLoadStrategy=normal, databaseEnabled=false, handlesAlerts=true, hasTouchScreen=false, version=56.0.2924.87, platform=LINUX, browserConnectionEnabled=false, nativeEvents=true, acceptSslCerts=true, locationContextEnabled=true, webStorageEnabled=true, browserName=chrome, takesScreenshot=true, javascriptEnabled=true, cssSelectorsEnabled=true, unexpectedAlertBehaviour=}]
Session ID: db9dbd3ed9f9930b8f001fa12b153553
*** Element info: {Using=id, value=gwt-debug-projectTree}
Command duration or timeout: 390 milliseconds
For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html
Build info: version: '3.0.1', revision: '1969d75', time: '2016-10-18 09:49:13 -0700'
System info: host: 'slave6.codenvycorp.com', ip: '127.0.0.1', os.name: 'Linux', os.arch: 'amd64', os.version: '3.10.0-514.16.1.el7.x86_64', java.version: '1.8.0_102'
Driver info: org.openqa.selenium.remote.RemoteWebDriver
Capabilities [{applicationCacheEnabled=false, rotatable=false, mobileEmulationEnabled=false, networkConnectionEnabled=true, chrome={chromedriverVersion=2.27.440175 (9bc1d90b8bfa4dd181fbbf769a5eb5e575574320), userDataDir=/tmp/.org.chromium.Chromium.1tHrW7}, takesHeapSnapshot=true, pageLoadStrategy=normal, databaseEnabled=false, handlesAlerts=true, hasTouchScreen=true, version=56.0.2924.87, platform=LINUX, browserConnectionEnabled=false, nativeEvents=true, acceptSslCerts=true, webdriver.remote.sessionid=3c3ef535-592d-405c-8c96-884c2927cff1, locationContextEnabled=true, webStorageEnabled=true, browserName=chrome, takesScreenshot=true, javascriptEnabled=true, cssSelectorsEnabled=true, unexpectedAlertBehaviour=}]
Session ID: 3c3ef535-592d-405c-8c96-884c2927cff1
*** Element info: {Using=id, value=gwt-debug-projectTree}
	at org.eclipse.che.selenium.editor.autocomplete.FormatterTest.formatterTest(FormatterTest.java:102)

Screenshot:

formattertest

Report with reproduced problem:

https://ci.codenvycorp.com/view/qa/job/che-integration-tests-master-ocp/121/Selenium_tests_report/

Related test:

FormatterTest

@Ohrimenko1988 Ohrimenko1988 added kind/bug Outline of a bug - must adhere to the bug report template. status/info-needed More information is needed before the issue can move into the “analyzing” state for engineering. team/production labels Jan 26, 2018
@Ohrimenko1988 Ohrimenko1988 self-assigned this Jan 26, 2018
@Ohrimenko1988 Ohrimenko1988 added the e2e-test/failure Issues that is related to a test failures reported by our CI platform and our QE. label Feb 8, 2018
@Ohrimenko1988
Copy link
Contributor Author

Ohrimenko1988 commented Feb 19, 2018

Browser logs

[INFO ] [o.e.c.s.c.u.BrowserLogsUtil 49]      - SEVERE http://che-eclipse-che.172.30.3.7.nip.io/_app/8BD013947EC4E9FFA31C03B595699804.cache.js - Failed to load resource: net::ERR_CONTENT_LENGTH_MISMATCH
[INFO ] [o.e.c.s.c.u.BrowserLogsUtil 49]      - SEVERE http://che-eclipse-che.172.30.3.7.nip.io/user1519001862/workspace36hdb9 337:32 "Unable to load IDE JavaScript"
[INFO ] [o.e.c.s.c.u.BrowserLogsUtil 49]      - SEVERE http://che-eclipse-che.172.30.3.7.nip.io/_app/_app.nocache.js - Failed to load resource: net::ERR_CONNECTION_REFUSED

Full tests log:
https://ci.codenvycorp.com/view/qa/job/che-integration-tests-multiuser-master-ocp/122/consoleFull

@Ohrimenko1988
Copy link
Contributor Author

Maybe related with: #8788

@Ohrimenko1988 Ohrimenko1988 removed their assignment Apr 13, 2018
@Ohrimenko1988 Ohrimenko1988 removed the status/info-needed More information is needed before the issue can move into the “analyzing” state for engineering. label Apr 13, 2018
@vzhukovs vzhukovs self-assigned this May 2, 2018
@SkorikSergey SkorikSergey added the severity/P2 Has a minor but important impact to the usage or development of the system. label May 7, 2018
@Ohrimenko1988
Copy link
Contributor Author

No longer reproducing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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. severity/P2 Has a minor but important impact to the usage or development of the system.
Projects
None yet
Development

No branches or pull requests

4 participants