[ https://issues.apache.org/jira/browse/GEODE-2737?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15967907#comment-15967907 ]
ASF subversion and git services commented on GEODE-2737: -------------------------------------------------------- Commit 3a64b57ce433c7ed7ed0923af0d3c5811d0d4169 in geode's branch refs/heads/feature/GEODE-2632 from [~khowe] [ https://git-wip-us.apache.org/repos/asf?p=geode.git;h=3a64b57 ] GEODE-2737: Change Pulse UI tests to use random port for JMX connections Renamed parameter port to jmxPort in Server.java to clarify usage. > 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 > Assignee: Kenneth Howe > Fix For: 1.2.0 > > > 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: > '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: unknown > {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)