[jira] [Updated] (GEODE-2737) PulseAuthTest failures

2017-03-30 Thread Kenneth Howe (JIRA)

 [ 
https://issues.apache.org/jira/browse/GEODE-2737?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kenneth Howe updated GEODE-2737:

Description: 
Tests are failing in the PulseAuthTest (UITest category) with the error:

{code}
org.apache.geode.tools.pulse.tests.ui.PulseAuthTest > testTopologyPopUpData 
FAILED
org.openqa.selenium.TimeoutException: Expected condition failed: waiting 
for org.apache.geode.tools.pulse.tests.rules.WebDriverRule$1@4d7af88e (tried 
for 30 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: 'Kens-MacBook-Pro-2.local', ip: '127.0.0.1', os.name: 
'Mac OS X', os.arch: 'x86_64', os.version: '10.12.3', java.version: '1.8.0_111'
Driver info: org.openqa.selenium.phantomjs.PhantomJSDriver
Capabilities [{applicationCacheEnabled=false, rotatable=false, 
handlesAlerts=false, databaseEnabled=false, version=2.1.1, platform=MAC, 
browserConnectionEnabled=false, proxy={proxyType=direct}, nativeEvents=true, 
acceptSslCerts=false, driverVersion=1.2.0, 
phantomjs.page.settings.userAgent=Mozilla/5.0 (Windows NT 6.1; Win64; x64; 
rv:16.0) Gecko/20121026 Firefox/16.0, locationContextEnabled=false, 
webStorageEnabled=false, browserName=phantomjs, takesScreenshot=true, 
driverName=ghostdriver, javascriptEnabled=true, cssSelectorsEnabled=true}]
Session ID: abd2bc60-1593-11e7-922e-d790ba7a8581

Caused by:
org.openqa.selenium.NoSuchElementException: {"errorMessage":"Unable to 
find element with id 
'userName'","request":{"headers":{"Accept-Encoding":"gzip,deflate","Connection":"Keep-Alive","Content-Length":"33","Content-Type":"application/json;
 charset=utf-8","Host":"localhost:43794","User-Agent":"Apache-HttpClient/4.5.2 
(Java/1.8.0_111)"},"httpVersion":"1.1","method":"POST","post":"{\"using\":\"id\",\"value\":\"userName\"}","url":"/element","urlParsed":{"anchor":"","query":"","file":"element","directory":"/","path":"/element","relative":"/element","port":"","host":"","password":"","user":"","userInfo":"","authority":"","protocol":"","source":"/element","queryKey":{},"chunks":["element"]},"urlOriginal":"/session/abd2bc60-1593-11e7-922e-d790ba7a8581/element"}}
Command duration or timeout: 10.13 seconds
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: 'Kens-MacBook-Pro-2.local', ip: '127.0.0.1', 
os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.12.3', java.version: 
'1.8.0_111'
Driver info: org.openqa.selenium.phantomjs.PhantomJSDriver
Capabilities [{applicationCacheEnabled=false, rotatable=false, 
handlesAlerts=false, databaseEnabled=false, version=2.1.1, platform=MAC, 
browserConnectionEnabled=false, proxy={proxyType=direct}, nativeEvents=true, 
acceptSslCerts=false, driverVersion=1.2.0, 
phantomjs.page.settings.userAgent=Mozilla/5.0 (Windows NT 6.1; Win64; x64; 
rv:16.0) Gecko/20121026 Firefox/16.0, locationContextEnabled=false, 
webStorageEnabled=false, browserName=phantomjs, takesScreenshot=true, 
driverName=ghostdriver, javascriptEnabled=true, cssSelectorsEnabled=true}]
Session ID: abd2bc60-1593-11e7-922e-d790ba7a8581
*** Element info: {Using=id, value=userName}

Caused by:
org.openqa.selenium.remote.ScreenshotException: Screen shot has 
been taken
Build info: version: '3.0.1', revision: '1969d75', time: 
'2016-10-18 09:49:13 -0700'
System info: host: 'Kens-MacBook-Pro-2.local', ip: '127.0.0.1', 
os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.12.3', java.version: 
'1.8.0_111'
Driver info: driver.version: RemoteWebDriver

Caused by:
org.openqa.selenium.NoSuchElementException: 
{"errorMessage":"Unable to find element with id 
'userName'","request":{"headers":{"Accept-Encoding":"gzip,deflate","Connection":"Keep-Alive","Content-Length":"33","Content-Type":"application/json;
 charset=utf-8","Host":"localhost:43794","User-Agent":"Apache-HttpClient/4.5.2 
(Java/1.8.0_111)"},"httpVersion":"1.1","method":"POST","post":"{\"using\":\"id\",\"value\":\"userName\"}","url":"/element","urlParsed":{"anchor":"","query":"","file":"element","directory":"/","path":"/element","relative":"/element","port":"","host":"","password":"","user":"","userInfo":"","authority":"","protocol":"","source":"/element","queryKey":{},"chunks":["element"]},"urlOriginal":"/session/abd2bc60-1593-11e7-922e-d790ba7a8581/element"}}
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: 'Kens-MacBook-Pro-2.local', ip: 

[jira] [Updated] (GEODE-2737) PulseAuthTest failures

2017-03-30 Thread Kenneth Howe (JIRA)

 [ 
https://issues.apache.org/jira/browse/GEODE-2737?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kenneth Howe updated GEODE-2737:

Affects Version/s: 1.1.0

> PulseAuthTest failures
> --
>
> Key: GEODE-2737
> URL: https://issues.apache.org/jira/browse/GEODE-2737
> Project: Geode
>  Issue Type: Bug
>  Components: pulse
>Affects Versions: 1.1.0
>Reporter: Kenneth Howe
>
> Tests are failing in the PulseAuthTest (UITest category) with the error:
> {code}
> java.lang.IllegalStateException: The path to the driver executable must be 
> set by the phantomjs.binary.path capability/system property/PATH variable; 
> for more information, see https://github.com/ariya/phantomjs/wiki. The latest 
> version can be downloaded from http://phantomjs.org/download.html
>   at 
> com.google.common.base.Preconditions.checkState(Preconditions.java:199)
>   at 
> org.openqa.selenium.phantomjs.PhantomJSDriverService.findPhantomJS(PhantomJSDriverService.java:236)
>   at 
> org.openqa.selenium.phantomjs.PhantomJSDriverService.createDefaultService(PhantomJSDriverService.java:181)
>   at 
> org.openqa.selenium.phantomjs.PhantomJSDriver.(PhantomJSDriver.java:105)
>   at 
> org.apache.geode.tools.pulse.tests.rules.WebDriverRule.setUpWebDriver(WebDriverRule.java:98)
>   at 
> org.apache.geode.tools.pulse.tests.rules.WebDriverRule.before(WebDriverRule.java:60)
>   at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:46)
> {code}
> Possibly caused by
> author
> Kevin J. Duling
> author_date   
> 2017-03-21 15:23:05 -0700
> commit
> 6f716278df9803da28a546b102534c8e568eef2d
> committer 
> Kevin J. Duling
> committer_date
> 2017-03-21 15:23:05 -0700
> message   
> GEODE-2704: Remove Pulse's custom StringUtils in favor of Apache Commons 
> StringUtils



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)