Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » RCP Testing Tool » [ERROR] Xlib: extension "RANDR" missing on display (Test Case is not executed due to error)
[ERROR] Xlib: extension "RANDR" missing on display [message #1724364] Tue, 23 February 2016 11:38 Go to next message
Marcus Höpfner is currently offline Marcus HöpfnerFriend
Messages: 56
Registered: February 2014
Member
Hi,

trying to run RCPTT on Jenkins.
Here is my very simple test case:
get-menu "File/New/Java Project" | click
with [get-window "New Java Project"] {
    get-editbox -after [get-label "Project name:"] | set-text test
    get-button Finish | click
}
with [get-view "Project Explorer" | get-tree] {
    get-property "getItems().length" | equals 1 | verify-true
    get-item test | get-property caption | equals test | verify-true
}


The AUT is a JDT Eclipse.

I have installed vncviewer to watch the execution.
The AUT is launched but nothing ins executed.
In the log it says:
[INFO] The execution timeout is set to 3600 seconds
[INFO] Started at Tue Feb 23 12:31:59 CET 2016
[INFO] RCPTT Runner version: 2.0
[INFO] Initializing target platform...
[ERROR] Xlib:  extension "RANDR" missing on display ":14.0".
[INFO] Target platform is valid.
[INFO] Looking for tests...
[INFO] Existing projects in workspace:
[INFO]     <none>
[INFO] Importing projects to workspace:
[INFO] Refreshing projects:
...
[INFO] Testcase Artifacts:1
[INFO] AUT-0:Launching
[INFO] AUT-0:Product: org.eclipse.epp.package.jee.product
[INFO] AUT-0:Application: org.eclipse.ui.ide.workbench
[INFO] AUT-0:Architecture: x86_64
[INFO] 64bit arch is selected because AUT uses launcher library
[INFO] 	"plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.300.v20150602-1417" specified in config file: eclipse.ini
[INFO] /var/lib/jenkins/jobs/myjob/workspace/myplugin/target/aut-ws-0: AUT arguments: -os ${target.os} -arch ${target.arch} -consoleLog
[INFO] /var/lib/jenkins/jobs/myjob/workspace/myplugin/target/aut-ws-0: AUT VM arguments: -Dosgi.requiredJavaVersion=1.7 -XX:MaxPermSize=256m -Xms256m -Xmx1024m
[INFO] Fail 1 (1) processed. 1 failed. spent: 0:11, 0:00 mins remaining. JavaProject. time: 10838ms  Cause: The Menu "[File, New, Java Project]" could not be found.
[INFO] Failed Tests:
[INFO] JavaProject


It also fails with multiple testscases.

What is the problem?

Thanks, Marcus
Re: [ERROR] Xlib: extension "RANDR" missing on display [message #1724639 is a reply to message #1724364] Thu, 25 February 2016 07:26 Go to previous messageGo to next message
Marcus Höpfner is currently offline Marcus HöpfnerFriend
Messages: 56
Registered: February 2014
Member
It was the wrong perspective.
Switching to Java Perspective before the script solved the issue.
Re: [ERROR] Xlib: extension "RANDR" missing on display [message #1727019 is a reply to message #1724639] Fri, 18 March 2016 10:02 Go to previous messageGo to next message
Angelo Luciani is currently offline Angelo LucianiFriend
Messages: 129
Registered: September 2015
Location: Milan
Senior Member

I have the same error, I follow this.

"Ce sont les petits désirs qui rendent un jeune homme hardi."
Giovanni Giacomo Casanova
Re: [ERROR] Xlib: extension "RANDR" missing on display [message #1727222 is a reply to message #1727019] Mon, 21 March 2016 12:13 Go to previous message
Andrey Sobolev is currently offline Andrey SobolevFriend
Messages: 75
Registered: February 2015
Member
Hi,

Could this: http://stackoverflow.com/questions/17944234/xlib-extension-randr-missing-on-display-21-trying-to-run-headless-googl
be related?

It seems you are using Linux with Jenkins xvfb?

Best regards,
Andrey.
Previous Topic:Form not loading when opened via RCPTT
Next Topic:How to launch a RAP application as an AUT
Goto Forum:
  


Current Time: Sat Apr 20 04:17:47 GMT 2024

Powered by FUDForum. Page generated in 0.03078 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top