Xvfb PyQt5 Xlib:扩展" RANDR"在显示屏上丢失

时间:2014-08-26 20:35:57

标签: python qt jenkins xvfb pyqt5

我试图在Jenkins上为我的PyQt5应用程序运行unitests。

我已设置作业并使用选项+extension RANDR

配置Xvfb

这是启动Xvfb的输出:

Xvfb starting$ Xvfb -displayfd 2 -screen 0 1280x1024x24 -fbdir /var/lib/jenkins/2014-08-27_00-24-501722001619127938033xvfb +extension RANDR
_XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed
_XSERVTransMakeAllCOTSServerListeners: server already running
Initializing built-in extension Generic Event Extension
Initializing built-in extension SHAPE
Initializing built-in extension MIT-SHM
Initializing built-in extension XInputExtension
Initializing built-in extension XTEST
Initializing built-in extension BIG-REQUESTS
Initializing built-in extension SYNC
Initializing built-in extension XKEYBOARD
Initializing built-in extension XC-MISC
Initializing built-in extension SECURITY
Initializing built-in extension XINERAMA
Initializing built-in extension XFIXES
Initializing built-in extension RENDER
Initializing built-in extension RANDR
Initializing built-in extension COMPOSITE
Initializing built-in extension DAMAGE
Initializing built-in extension MIT-SCREEN-SAVER
Initializing built-in extension DOUBLE-BUFFER
Initializing built-in extension RECORD
Initializing built-in extension DPMS
Initializing built-in extension Present
Initializing built-in extension DRI3
Initializing built-in extension X-Resource
Initializing built-in extension XVideo
Initializing built-in extension XVideo-MotionCompensation
Initializing built-in extension SELinux
Initializing built-in extension GLX
1 

但我的gui测试失败了Xlib: extension "RANDR" missing on display ":1".

我该如何解决这个问题?有没有其他方法可以运行PyQt5 GUI unittest?

我看过this问题,但没有帮助

我正在使用ubuntu 14.04.1 x86_64; python3.4

0 个答案:

没有答案