You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zeppelin.apache.org by madhuka udantha <ma...@gmail.com> on 2015/08/05 11:35:53 UTC

Zeppelin: Server build FAILURE

 T E S T S
-------------------------------------------------------
Running org.apache.zeppelin.ZeppelinIT
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 59.655
sec <<< FAILURE! - in org.apache.zeppelin.ZeppelinIT
testAngularDisplay(org.apache.zeppelin.ZeppelinIT)  Time elapsed:
59.491 sec  <<< ERROR!
org.openqa.selenium.NoSuchElementException: Unable to locate element:
{"method":"xpath","selector":"//div[@ng-controller=\"ParagraphCtrl\"][1]//div[@id=\"angularTestButton\"]"}
Command duration or timeout: 8 milliseconds
For documentation on this error, please visit:
http://seleniumhq.org/exceptions/no_such_element.html
Build info: version: '2.44.0', revision:
'76d78cf323ce037c5f92db6c1bba601c2ac43ad8', time: '2014-10-23
13:11:40'
System info: host:
'testing-worker-linux-docker-d09a0b39-3217-linux-3', ip: '172.17.4.4',
os.name: 'Linux', os.arch: 'amd64', os.version: '3.13.0-40-generic',
java.version: '1.7.0_76'
Session ID: 072086bc-b235-4aa4-87a0-1c5d1ba5c3e8
Driver info: org.openqa.selenium.firefox.FirefoxDriver
Capabilities [{platform=LINUX, acceptSslCerts=true,
javascriptEnabled=true, cssSelectorsEnabled=true,
databaseEnabled=true, browserName=firefox, handlesAlerts=true,
nativeEvents=false, webStorageEnabled=true, rotatable=false,
locationContextEnabled=true, applicationCacheEnabled=true,
takesScreenshot=true, version=31.0}]
	at sun.reflect.GeneratedConstructorAccessor12.newInstance(Unknown Source)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
	at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:204)
	at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:156)
	at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:599)
	at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:352)
	at org.openqa.selenium.remote.RemoteWebDriver.findElementByXPath(RemoteWebDriver.java:449)
	at org.openqa.selenium.By$ByXPath.findElement(By.java:357)
	at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:344)
	at org.apache.zeppelin.ZeppelinIT.testAngularDisplay(ZeppelinIT.java:229)
Caused by: org.openqa.selenium.NoSuchElementException: Unable to
locate element:
{"method":"xpath","selector":"//div[@ng-controller=\"ParagraphCtrl\"][1]//div[@id=\"angularTestButton\"]"}
For documentation on this error, please visit:
http://seleniumhq.org/exceptions/no_such_element.html
Build info: version: '2.44.0', revision:
'76d78cf323ce037c5f92db6c1bba601c2ac43ad8', time: '2014-10-23
13:11:40'
System info: host:
'testing-worker-linux-docker-d09a0b39-3217-linux-3', ip: '172.17.4.4',
os.name: 'Linux', os.arch: 'amd64', os.version: '3.13.0-40-generic',
java.version: '1.7.0_76'
Driver info: driver.version: unknown
	at <anonymous class>.FirefoxDriver.prototype.findElementInternal_(file:///tmp/anonymous4390479120005767177webdriver-profile/extensions/fxdriver@googlecode.com/components/driver-component.js:9641:133)
	at <anonymous class>.FirefoxDriver.prototype.findElement(file:///tmp/anonymous4390479120005767177webdriver-profile/extensions/fxdriver@googlecode.com/components/driver-component.js:9650:3)
	at <anonymous class>.DelayedCommand.prototype.executeInternal_/h(file:///tmp/anonymous4390479120005767177webdriver-profile/extensions/fxdriver@googlecode.com/components/command-processor.js:11635:16)
	at <anonymous class>.DelayedCommand.prototype.executeInternal_(file:///tmp/anonymous4390479120005767177webdriver-profile/extensions/fxdriver@googlecode.com/components/command-processor.js:11640:7)
	at <anonymous class>.DelayedCommand.prototype.execute/<(file:///tmp/anonymous4390479120005767177webdriver-profile/extensions/fxdriver@googlecode.com/components/command-processor.js:11582:5)


Results :

Tests in error:
  ZeppelinIT.testAngularDisplay:229 » NoSuchElement Unable to locate
element: {"...

Tests run: 1, Failures: 0, Errors: 1, Skipped: 0


[1] https://s3.amazonaws.com/archive.travis-ci.org/jobs/74188795/log.txt

-- 
Cheers,
Madhuka Udantha
http://madhukaudantha.blogspot.com

Re: Zeppelin: Server build FAILURE

Posted by madhuka udantha <ma...@gmail.com>.
Thanks Damien,
I will check xpath.

On Wed, Aug 5, 2015 at 10:47 PM, Corneau Damien <co...@gmail.com>
wrote:

> Check that the xpath selector exist. Xpath generated by tools are pretty
> unreliable. Maybe new elements broke it
> On Aug 5, 2015 11:36 AM, "madhuka udantha" <ma...@gmail.com>
> wrote:
>
> >  T E S T S
> > -------------------------------------------------------
> > Running org.apache.zeppelin.ZeppelinIT
> > Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 59.655
> > sec <<< FAILURE! - in org.apache.zeppelin.ZeppelinIT
> > testAngularDisplay(org.apache.zeppelin.ZeppelinIT)  Time elapsed:
> > 59.491 sec  <<< ERROR!
> > org.openqa.selenium.NoSuchElementException: Unable to locate element:
> >
> >
> {"method":"xpath","selector":"//div[@ng-controller=\"ParagraphCtrl\"][1]//div[@id=\"angularTestButton\"]"}
> > Command duration or timeout: 8 milliseconds
> > For documentation on this error, please visit:
> > http://seleniumhq.org/exceptions/no_such_element.html
> > Build info: version: '2.44.0', revision:
> > '76d78cf323ce037c5f92db6c1bba601c2ac43ad8', time: '2014-10-23
> > 13:11:40'
> > System info: host:
> > 'testing-worker-linux-docker-d09a0b39-3217-linux-3', ip: '172.17.4.4',
> > os.name: 'Linux', os.arch: 'amd64', os.version: '3.13.0-40-generic',
> > java.version: '1.7.0_76'
> > Session ID: 072086bc-b235-4aa4-87a0-1c5d1ba5c3e8
> > Driver info: org.openqa.selenium.firefox.FirefoxDriver
> > Capabilities [{platform=LINUX, acceptSslCerts=true,
> > javascriptEnabled=true, cssSelectorsEnabled=true,
> > databaseEnabled=true, browserName=firefox, handlesAlerts=true,
> > nativeEvents=false, webStorageEnabled=true, rotatable=false,
> > locationContextEnabled=true, applicationCacheEnabled=true,
> > takesScreenshot=true, version=31.0}]
> >         at sun.reflect.GeneratedConstructorAccessor12.newInstance(Unknown
> > Source)
> >         at
> >
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> >         at
> java.lang.reflect.Constructor.newInstance(Constructor.java:526)
> >         at
> >
> org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:204)
> >         at
> >
> org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:156)
> >         at
> >
> org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:599)
> >         at
> >
> org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:352)
> >         at
> >
> org.openqa.selenium.remote.RemoteWebDriver.findElementByXPath(RemoteWebDriver.java:449)
> >         at org.openqa.selenium.By$ByXPath.findElement(By.java:357)
> >         at
> >
> org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:344)
> >         at
> > org.apache.zeppelin.ZeppelinIT.testAngularDisplay(ZeppelinIT.java:229)
> > Caused by: org.openqa.selenium.NoSuchElementException: Unable to
> > locate element:
> >
> >
> {"method":"xpath","selector":"//div[@ng-controller=\"ParagraphCtrl\"][1]//div[@id=\"angularTestButton\"]"}
> > For documentation on this error, please visit:
> > http://seleniumhq.org/exceptions/no_such_element.html
> > Build info: version: '2.44.0', revision:
> > '76d78cf323ce037c5f92db6c1bba601c2ac43ad8', time: '2014-10-23
> > 13:11:40'
> > System info: host:
> > 'testing-worker-linux-docker-d09a0b39-3217-linux-3', ip: '172.17.4.4',
> > os.name: 'Linux', os.arch: 'amd64', os.version: '3.13.0-40-generic',
> > java.version: '1.7.0_76'
> > Driver info: driver.version: unknown
> >         at <anonymous
> >
> class>.FirefoxDriver.prototype.findElementInternal_(file:///tmp/anonymous4390479120005767177webdriver-profile/extensions/
> > fxdriver@googlecode.com/components/driver-component.js:9641:133)
> >         at <anonymous
> >
> class>.FirefoxDriver.prototype.findElement(file:///tmp/anonymous4390479120005767177webdriver-profile/extensions/
> > fxdriver@googlecode.com/components/driver-component.js:9650:3)
> >         at <anonymous
> >
> class>.DelayedCommand.prototype.executeInternal_/h(file:///tmp/anonymous4390479120005767177webdriver-profile/extensions/
> > fxdriver@googlecode.com/components/command-processor.js:11635:16)
> >         at <anonymous
> >
> class>.DelayedCommand.prototype.executeInternal_(file:///tmp/anonymous4390479120005767177webdriver-profile/extensions/
> > fxdriver@googlecode.com/components/command-processor.js:11640:7)
> >         at <anonymous
> >
> class>.DelayedCommand.prototype.execute/<(file:///tmp/anonymous4390479120005767177webdriver-profile/extensions/
> > fxdriver@googlecode.com/components/command-processor.js:11582:5)
> >
> >
> > Results :
> >
> > Tests in error:
> >   ZeppelinIT.testAngularDisplay:229 » NoSuchElement Unable to locate
> > element: {"...
> >
> > Tests run: 1, Failures: 0, Errors: 1, Skipped: 0
> >
> >
> > [1] https://s3.amazonaws.com/archive.travis-ci.org/jobs/74188795/log.txt
> >
> > --
> > Cheers,
> > Madhuka Udantha
> > http://madhukaudantha.blogspot.com
> >
>



-- 
Cheers,
Madhuka Udantha
http://madhukaudantha.blogspot.com

Re: Zeppelin: Server build FAILURE

Posted by Corneau Damien <co...@gmail.com>.
Check that the xpath selector exist. Xpath generated by tools are pretty
unreliable. Maybe new elements broke it
On Aug 5, 2015 11:36 AM, "madhuka udantha" <ma...@gmail.com> wrote:

>  T E S T S
> -------------------------------------------------------
> Running org.apache.zeppelin.ZeppelinIT
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 59.655
> sec <<< FAILURE! - in org.apache.zeppelin.ZeppelinIT
> testAngularDisplay(org.apache.zeppelin.ZeppelinIT)  Time elapsed:
> 59.491 sec  <<< ERROR!
> org.openqa.selenium.NoSuchElementException: Unable to locate element:
>
> {"method":"xpath","selector":"//div[@ng-controller=\"ParagraphCtrl\"][1]//div[@id=\"angularTestButton\"]"}
> Command duration or timeout: 8 milliseconds
> For documentation on this error, please visit:
> http://seleniumhq.org/exceptions/no_such_element.html
> Build info: version: '2.44.0', revision:
> '76d78cf323ce037c5f92db6c1bba601c2ac43ad8', time: '2014-10-23
> 13:11:40'
> System info: host:
> 'testing-worker-linux-docker-d09a0b39-3217-linux-3', ip: '172.17.4.4',
> os.name: 'Linux', os.arch: 'amd64', os.version: '3.13.0-40-generic',
> java.version: '1.7.0_76'
> Session ID: 072086bc-b235-4aa4-87a0-1c5d1ba5c3e8
> Driver info: org.openqa.selenium.firefox.FirefoxDriver
> Capabilities [{platform=LINUX, acceptSslCerts=true,
> javascriptEnabled=true, cssSelectorsEnabled=true,
> databaseEnabled=true, browserName=firefox, handlesAlerts=true,
> nativeEvents=false, webStorageEnabled=true, rotatable=false,
> locationContextEnabled=true, applicationCacheEnabled=true,
> takesScreenshot=true, version=31.0}]
>         at sun.reflect.GeneratedConstructorAccessor12.newInstance(Unknown
> Source)
>         at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
>         at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
>         at
> org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:204)
>         at
> org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:156)
>         at
> org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:599)
>         at
> org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:352)
>         at
> org.openqa.selenium.remote.RemoteWebDriver.findElementByXPath(RemoteWebDriver.java:449)
>         at org.openqa.selenium.By$ByXPath.findElement(By.java:357)
>         at
> org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:344)
>         at
> org.apache.zeppelin.ZeppelinIT.testAngularDisplay(ZeppelinIT.java:229)
> Caused by: org.openqa.selenium.NoSuchElementException: Unable to
> locate element:
>
> {"method":"xpath","selector":"//div[@ng-controller=\"ParagraphCtrl\"][1]//div[@id=\"angularTestButton\"]"}
> For documentation on this error, please visit:
> http://seleniumhq.org/exceptions/no_such_element.html
> Build info: version: '2.44.0', revision:
> '76d78cf323ce037c5f92db6c1bba601c2ac43ad8', time: '2014-10-23
> 13:11:40'
> System info: host:
> 'testing-worker-linux-docker-d09a0b39-3217-linux-3', ip: '172.17.4.4',
> os.name: 'Linux', os.arch: 'amd64', os.version: '3.13.0-40-generic',
> java.version: '1.7.0_76'
> Driver info: driver.version: unknown
>         at <anonymous
> class>.FirefoxDriver.prototype.findElementInternal_(file:///tmp/anonymous4390479120005767177webdriver-profile/extensions/
> fxdriver@googlecode.com/components/driver-component.js:9641:133)
>         at <anonymous
> class>.FirefoxDriver.prototype.findElement(file:///tmp/anonymous4390479120005767177webdriver-profile/extensions/
> fxdriver@googlecode.com/components/driver-component.js:9650:3)
>         at <anonymous
> class>.DelayedCommand.prototype.executeInternal_/h(file:///tmp/anonymous4390479120005767177webdriver-profile/extensions/
> fxdriver@googlecode.com/components/command-processor.js:11635:16)
>         at <anonymous
> class>.DelayedCommand.prototype.executeInternal_(file:///tmp/anonymous4390479120005767177webdriver-profile/extensions/
> fxdriver@googlecode.com/components/command-processor.js:11640:7)
>         at <anonymous
> class>.DelayedCommand.prototype.execute/<(file:///tmp/anonymous4390479120005767177webdriver-profile/extensions/
> fxdriver@googlecode.com/components/command-processor.js:11582:5)
>
>
> Results :
>
> Tests in error:
>   ZeppelinIT.testAngularDisplay:229 » NoSuchElement Unable to locate
> element: {"...
>
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0
>
>
> [1] https://s3.amazonaws.com/archive.travis-ci.org/jobs/74188795/log.txt
>
> --
> Cheers,
> Madhuka Udantha
> http://madhukaudantha.blogspot.com
>

Re: Zeppelin: SVG in InterpreterResult

Posted by Corneau Damien <co...@gmail.com>.
New InterpreterResults needs to be handled both on front and backend.
(Front is doing different actions depending on type with if else). For svg,
its nothing more than an html tag to be added to the page (which is what is
done when result type is HTML), so if you send type HTML instead of SVG, it
should work.
On Aug 5, 2015 7:46 PM, "Amos B. Elberg" <am...@gmail.com> wrote:

> I'm creating a new InterpreterResult with <svg>stuff</svg> as the message,
> SUCCESS as the code, and SVG as the type. The interface is picking up the
> result SUCCESS and showing that the note was properly executed. But no
> result is displayed.
>
> I can try type HTML tonight, although if that's the issue then code SVG
> should probably come out of InterpreterResult. (Am I the only one using
> those codes?)
>
> Saw your other email about xpath and I don't know the answer.
>
> > On Aug 5, 2015, at 1:14 PM, Corneau Damien <co...@gmail.com> wrote:
> >
> > You return something like that?
> >
> > %html <svg>....<svg>
> >> On Aug 5, 2015 4:44 PM, "Amos B. Elberg" <am...@gmail.com> wrote:
> >>
> >> I'm returning a string bracketed in <svg></svg> tags. is this not what I
> >> should be doing?
> >>
> >>>> On Aug 5, 2015, at 9:57 AM, Felix Cheung <fe...@hotmail.com>
> >>> wrote:
> >>>
> >>> Are you wrapping SVG in HTML?
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>> On Wed, Aug 5, 2015 at 6:53 AM -0700, "Amos B. Elberg" <
> >>> amos.elberg@gmail.com> wrote:
> >>> Are other folks able to return images in SVG format, with the SVG type
> >> code, and see the result displayed in the interface?
> >>>
> >>> I'm working on the R interpreter(s) and I have jpgs working, HTML
> >> working, SVG embedded in HTML working, returning data in %table format
> >> working, D3 embedded in HTML mostly works, advanced visualizations with
> >> Google HTML widgets are starting to work, but for SVG returned as its
> own
> >> InterpreterResult, nothing is displayed in the browser.
> >>
>

Re: Zeppelin: SVG in InterpreterResult

Posted by "Amos B. Elberg" <am...@gmail.com>.
I'm creating a new InterpreterResult with <svg>stuff</svg> as the message, SUCCESS as the code, and SVG as the type. The interface is picking up the result SUCCESS and showing that the note was properly executed. But no result is displayed. 

I can try type HTML tonight, although if that's the issue then code SVG should probably come out of InterpreterResult. (Am I the only one using those codes?)

Saw your other email about xpath and I don't know the answer.

> On Aug 5, 2015, at 1:14 PM, Corneau Damien <co...@gmail.com> wrote:
> 
> You return something like that?
> 
> %html <svg>....<svg>
>> On Aug 5, 2015 4:44 PM, "Amos B. Elberg" <am...@gmail.com> wrote:
>> 
>> I'm returning a string bracketed in <svg></svg> tags. is this not what I
>> should be doing?
>> 
>>>> On Aug 5, 2015, at 9:57 AM, Felix Cheung <fe...@hotmail.com>
>>> wrote:
>>> 
>>> Are you wrapping SVG in HTML?
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>>> On Wed, Aug 5, 2015 at 6:53 AM -0700, "Amos B. Elberg" <
>>> amos.elberg@gmail.com> wrote:
>>> Are other folks able to return images in SVG format, with the SVG type
>> code, and see the result displayed in the interface?
>>> 
>>> I'm working on the R interpreter(s) and I have jpgs working, HTML
>> working, SVG embedded in HTML working, returning data in %table format
>> working, D3 embedded in HTML mostly works, advanced visualizations with
>> Google HTML widgets are starting to work, but for SVG returned as its own
>> InterpreterResult, nothing is displayed in the browser.
>> 

Re: Zeppelin: SVG in InterpreterResult

Posted by Corneau Damien <co...@gmail.com>.
You return something like that?

%html <svg>....<svg>
On Aug 5, 2015 4:44 PM, "Amos B. Elberg" <am...@gmail.com> wrote:

> I'm returning a string bracketed in <svg></svg> tags. is this not what I
> should be doing?
>
> > On Aug 5, 2015, at 9:57 AM, Felix Cheung <fe...@hotmail.com>
> wrote:
> >
> > Are you wrapping SVG in HTML?
> >
> >
> >
> >
> >
> >
> > On Wed, Aug 5, 2015 at 6:53 AM -0700, "Amos B. Elberg" <
> amos.elberg@gmail.com> wrote:
> > Are other folks able to return images in SVG format, with the SVG type
> code, and see the result displayed in the interface?
> >
> > I'm working on the R interpreter(s) and I have jpgs working, HTML
> working, SVG embedded in HTML working, returning data in %table format
> working, D3 embedded in HTML mostly works, advanced visualizations with
> Google HTML widgets are starting to work, but for SVG returned as its own
> InterpreterResult, nothing is displayed in the browser.
>

Re: Zeppelin: SVG in InterpreterResult

Posted by "Amos B. Elberg" <am...@gmail.com>.
I'm returning a string bracketed in <svg></svg> tags. is this not what I should be doing? 

> On Aug 5, 2015, at 9:57 AM, Felix Cheung <fe...@hotmail.com> wrote:
> 
> Are you wrapping SVG in HTML?
> 
> 
> 
> 
> 
> 
> On Wed, Aug 5, 2015 at 6:53 AM -0700, "Amos B. Elberg" <am...@gmail.com> wrote:
> Are other folks able to return images in SVG format, with the SVG type code, and see the result displayed in the interface?
> 
> I'm working on the R interpreter(s) and I have jpgs working, HTML working, SVG embedded in HTML working, returning data in %table format working, D3 embedded in HTML mostly works, advanced visualizations with Google HTML widgets are starting to work, but for SVG returned as its own InterpreterResult, nothing is displayed in the browser.

Re: Zeppelin: SVG in InterpreterResult

Posted by Felix Cheung <fe...@hotmail.com>.
Are you wrapping SVG in HTML?






On Wed, Aug 5, 2015 at 6:53 AM -0700, "Amos B. Elberg" <am...@gmail.com> wrote:
Are other folks able to return images in SVG format, with the SVG type code, and see the result displayed in the interface?

I'm working on the R interpreter(s) and I have jpgs working, HTML working, SVG embedded in HTML working, returning data in %table format working, D3 embedded in HTML mostly works, advanced visualizations with Google HTML widgets are starting to work, but for SVG returned as its own InterpreterResult, nothing is displayed in the browser.

Zeppelin: SVG in InterpreterResult

Posted by "Amos B. Elberg" <am...@gmail.com>.
Are other folks able to return images in SVG format, with the SVG type code, and see the result displayed in the interface?

I'm working on the R interpreter(s) and I have jpgs working, HTML working, SVG embedded in HTML working, returning data in %table format working, D3 embedded in HTML mostly works, advanced visualizations with Google HTML widgets are starting to work, but for SVG returned as its own InterpreterResult, nothing is displayed in the browser.