[almighty] Testing with Firefox on the CI

Michael Kleinhenz kleinhenz at redhat.com
Tue Oct 18 08:53:41 UTC 2016


Ok, I'll put an issue in the ui tracker.

On Tue, Oct 18, 2016 at 9:33 AM, Max Rydahl Andersen
<manderse at redhat.com> wrote:
>
> My guess is ci centos haven't done much visual testing of their builds yet,
> but xvfb + and the jenkins plugin
> (https://wiki.jenkins-ci.org/display/JENKINS/Xvfb+Plugin) is what I normally
> used. Historically its been hard to ensure it works on all jenkins instances
> due to missing X being available. Especially when docker is involved.
>
> Calling it directly from a makefile I reckon is doable too thus
> I think the fastest way to do this is to simply do a PR and see what
> happens.
> If it works - great, if not - then we got questions and PR for KB and team
> to help out with.
>
> /max
>
>> Hi all,
>>
>> as we had some problems with Firefox and phantomJS is WebKit only, we
>> are currently looking for ways of running Firefox on the Jenkins. The
>> challenge are not the tests itself, they are running fine on Firefox,
>> but the "physical" running of Firefox (which is not available in a
>> "headless" version) on the Jenkins server in a "batch mode".
>>
>> @KB: do you know if that is even a problem? So maybe Jenkins or the
>> setup of our Jenkins already has something in place that enables to
>> run x applications in the background?
>>
>> As an alternative, I used a headless x server before. In that setup,
>> the "headlessness" is delegated to the whole x environment and the
>> Firefox just runs as normal. xorg provides a "virtual framebuffer"
>> version of xorg for that case:
>>
>>   xorg-x11-server-Xvfb.x86_64 : A X Windows System virtual framebuffer X
>> server
>>
>> In an ideal case, something like that should be sufficient before
>> running the tests:
>>
>>   Xvfb :99 &
>>   export DISPLAY=:99
>>   ./run_functional_tests.sh (or something else)
>>
>> What I don't know yet is if this requires root or any other resource
>> that is not available in the docker / Jenkins environment.
>>
>> Anyone has experience with that?
>>
>> -- Michael
>>
>> --
>> Michael Kleinhenz
>> Principal Software Engineer
>>
>> Red Hat Deutschland GmbH
>> Werner-von-Siemens-Ring 14
>> 85630 Grasbrunn
>> Germany
>>
>> RED HAT | TRIED. TESTED. TRUSTED.
>> Red Hat GmbH, www.de.redhat.com,
>> Registered seat: Grasbrunn, Commercial register: Amtsgericht München,
>> HRB 153243,
>> Managing Directors: Paul Argiry, Charles Cachera, Michael Cunningham,
>> Michael O'Neill
>>
>> _______________________________________________
>> almighty-public mailing list
>> almighty-public at redhat.com
>> https://www.redhat.com/mailman/listinfo/almighty-public
>
>
>
> /max
> http://about.me/maxandersen



-- 
Michael Kleinhenz
Principal Software Engineer

Red Hat Deutschland GmbH
Werner-von-Siemens-Ring 14
85630 Grasbrunn
Germany

RED HAT | TRIED. TESTED. TRUSTED.
Red Hat GmbH, www.de.redhat.com,
Registered seat: Grasbrunn, Commercial register: Amtsgericht München,
HRB 153243,
Managing Directors: Paul Argiry, Charles Cachera, Michael Cunningham,
Michael O'Neill




More information about the almighty-public mailing list