Closed
Bug 835135
Opened 12 years ago
Closed 12 years ago
modify buildbot mochitest commandline for ubuntu to add --setpref=webgl.force-enabled=true
Categories
(Release Engineering :: General, defect, P2)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: jmaher, Assigned: rail)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
1.14 KB,
patch
|
mozilla
:
review+
rail
:
checked-in+
|
Details | Diff | Splinter Review |
3.70 KB,
patch
|
Details | Diff | Splinter Review |
Now that the webgl conformance tests have support for llvm and the ubuntu vm image does, we need to launch our instance of firefox with:
LD_LIBRARY_PATH=/usr/lib/libLLVMgold.so
and we will need to add this preference to the pre seeded profile:
user_pref("webgl.force-enabled", true);
We can do this for all platforms if we want, but I would argue for a command line argument which would handle the environment variable and the preference.
Another alternative would be to have the ubuntu VM setup with the LD_LIBRARY_PATH setup already, then we just need to add the preference. That can be done for all platforms (it shouldn't be a problem, except for new platforms it might be confusing to debug) or via the command line.
we already have this option for the mochitest harness: --setenv=NAME=VALUE
for the reftest harness we have: --setpref=PREF=VALUE
I will be afk, for a week, it would be nice to have releng weigh in on what they would be comfortable doing from the command line/env perspective.
Comment 1•12 years ago
|
||
Could you please explain why we would need to have libLLVMgold.so in our library path? Does the llvmpipe driver actually require it to link GLSL programs? (I had no idea!)
Reporter | ||
Comment 2•12 years ago
|
||
It could be this is not needed. I saw on the mesa page (http://www.mesa3d.org/llvmpipe.html), that you need to set the path via LD_LIBRARY_PATH. I will look at it when I get back online with access to the vm.
Comment 3•12 years ago
|
||
Setting LD_LIBRARY_PATH to a filename doesn't really make sense, it's supposed to be a path.
If we need to set an environment variable we should have RelEng set that in the machine's environment, since we don't have a straightforward way of doing that from the test harnesses.
Benoit: can we safely set webgl.force-enabled all the time for Mochitests? Will that break on developer machines where we would otherwise blacklist WebGL?
Comment 4•12 years ago
|
||
(In reply to Ted Mielczarek [:ted.mielczarek] from comment #3)
> Benoit: can we safely set webgl.force-enabled all the time for Mochitests?
> Will that break on developer machines where we would otherwise blacklist
> WebGL?
The only problem with force-enabling WebGL in mochitests is that this loses our ability to test that WebGL is not accidentally blacklisted.
However, we could have a separate mochitest for testing just that (just creating a WebGL context).
Adding bc because this might prove to be a useful work around for the open GL support issues with x86 android emulators running on VMs.
Reporter | ||
Comment 6•12 years ago
|
||
ok, we don't need to ENV variable, we just need the preference set. In order to do this and ensure proper coverage, we should only set the preference on the ubuntu machines, this means we need to adjust the cli by adding this to the line:
--setpref=webgl.force-enabled=true
I might not have the right place for this, but we adjust some preference here for mochitest:
https://hg.mozilla.org/build/buildbotcustom/file/tip/steps/unittest.py#l312
we might need to add something that defined a unique suite or toggles off the platform or machine name to determine if we add this --setpref option.
Reporter | ||
Updated•12 years ago
|
Summary: modify test harnesses to support llvm graphics driver on ubuntu vm → modify buildbot mochitest commandline for ubuntu to add --setpref=webgl.force-enabled=true
Reporter | ||
Updated•12 years ago
|
Component: General → Release Engineering: Automation (General)
Product: Testing → mozilla.org
QA Contact: catlee
Version: unspecified → other
Assignee | ||
Comment 7•12 years ago
|
||
What happens if we set webgl.force-enabled=true on Fedora slaves?
Reporter | ||
Comment 8•12 years ago
|
||
I tested this on try server and it worked just fine. We need to only do this for linux though and ideally only Ubuntu. As long as it is passed in on the commandline it prevents us from setting it as default.
Assignee | ||
Updated•12 years ago
|
Assignee: nobody → rail
Priority: -- → P2
Assignee | ||
Comment 9•12 years ago
|
||
Attachment #711324 -
Flags: review?(aki)
Assignee | ||
Comment 10•12 years ago
|
||
Sad to say, but there is no easy way to use configs here. :/
Needs to be tested.
Comment 11•12 years ago
|
||
Comment on attachment 711324 [details] [diff] [review]
Mozharness configs
This will enable it on Fedora as well as Ubuntu. Is that wanted?
Attachment #711324 -
Flags: review?(aki) → review+
Assignee | ||
Comment 12•12 years ago
|
||
(In reply to Aki Sasaki [:aki] from comment #11)
> Comment on attachment 711324 [details] [diff] [review]
> Mozharness configs
>
> This will enable it on Fedora as well as Ubuntu. Is that wanted?
Yeah, that's ok.
Assignee | ||
Comment 13•12 years ago
|
||
Comment on attachment 711324 [details] [diff] [review]
Mozharness configs
http://hg.mozilla.org/build/mozharness/rev/5e713c054b5e
Attachment #711324 -
Flags: checked-in+
Comment 14•12 years ago
|
||
Merged to production.
Comment 15•12 years ago
|
||
Should this be fixed?(In reply to Aki Sasaki [:aki] from comment #14)
> Merged to production.
Should this be --> FIXED then?
Assignee | ||
Comment 16•12 years ago
|
||
Yes. I left the bug open in case mozharness doesn't stick.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Updated•12 years ago
|
Product: mozilla.org → Release Engineering
Updated•7 years ago
|
Component: General Automation → General
You need to log in
before you can comment on or make changes to this bug.
Description
•